summaryrefslogtreecommitdiff
path: root/icon-themes/industrial
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-03-02 13:52:36 +0100
committerMichael Stahl <mstahl@redhat.com>2015-03-02 14:06:04 +0100
commit89a4c0e15b4933f36fd0b2c39d83871bffb3405a (patch)
tree4ff24fb7aa0283a676ed53382955cdcb4c695e90 /icon-themes/industrial
parent1586b91e196f4ede945964d01d906718d5c0a194 (diff)
remove unused frobnicate-icons.php before the PHP plague spreads
Change-Id: Idb77df08d25887a96cc1cf3b07fa0fd6e0239464
Diffstat (limited to 'icon-themes/industrial')
-rwxr-xr-xicon-themes/industrial/cmd/frobnicate-icons.php41
1 files changed, 0 insertions, 41 deletions
diff --git a/icon-themes/industrial/cmd/frobnicate-icons.php b/icon-themes/industrial/cmd/frobnicate-icons.php
deleted file mode 100755
index 27ac7a2295a3..000000000000
--- a/icon-themes/industrial/cmd/frobnicate-icons.php
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/usr/bin/php4
-<?php
-#$renderer = "rsvg";
-$renderer = "inkscape";
-
-/*
-
-If you're a hacker, please look away
-
-*/
-
-$render_sizes = array("16"=>"sc_","24"=>"lc_");
-$render_dpis = array("16"=>"60", "24"=>"90");
-
-$svgs = `find . -name "*.svg"`;
-$svgs = explode("\n",$svgs);
-
-echo "* rendering PNGs\n\n";
-foreach ($svgs as $line) {
- if ($line) {
- $file = eregi_replace("^./lc_(.*)\.svg","\\1",$line);
- //echo "\n" . $file . "\n\n";
- foreach ($render_sizes as $size => $prefix) {
- $SVG = "lc_$file.svg";
- $PNG = "$prefix$file.png";
- //delete older version
- if (file_exists($PNG)) unlink($PNG);
- echo "$SVG => $PNG\n";
- if ($renderer == "inkscape") {
- $exec = "inkscape -z -e $PNG -f $SVG ";
- $exec .="-w $size -h $size";
- exec($exec);
- } else {
- exec("rsvg -w $size -h $size $SVG $PNG\n");
- }
- }
- }
-}
-
-exit;
-?>