[electric] 10/11: Install ElectricIcon64x64.png icon. Drop debian/icons directory.
Markus Koschany
apo-guest at moszumanska.debian.org
Sat Jun 27 15:16:59 UTC 2015
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository electric.
commit d362a14c89271d72a0e3d5a1f96ef42dfc9d2aeb
Author: Markus Koschany <apo at gambaru.de>
Date: Sat Jun 27 15:44:27 2015 +0200
Install ElectricIcon64x64.png icon. Drop debian/icons directory.
Convert ElectricIcon64x64.png with imagemagick to electric.xpm at build-time.
---
debian/clean | 2 +
debian/control | 1 +
debian/icons/electric.svg | 103 ----------------------------------------------
debian/icons/electric.xpm | 81 ------------------------------------
debian/install | 4 +-
debian/rules | 4 ++
6 files changed, 9 insertions(+), 186 deletions(-)
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..63e381d
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,2 @@
+debian/electric.png
+debian/electric.xpm
diff --git a/debian/control b/debian/control
index b4aee8b..c5e4efe 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,7 @@ Build-Depends:
bsh,
debhelper (>= 9),
default-jdk,
+ imagemagick,
javahelper,
jython,
libjava3d-java,
diff --git a/debian/icons/electric.svg b/debian/icons/electric.svg
deleted file mode 100644
index 121f697..0000000
--- a/debian/icons/electric.svg
+++ /dev/null
@@ -1,103 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-<svg
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://web.resource.org/cc/"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="490"
- height="490"
- id="svg2"
- sodipodi:version="0.32"
- inkscape:version="0.43"
- version="1.0"
- sodipodi:docbase="/home/phil/programming/ubuntu"
- sodipodi:docname="electric_icon.svg">
- <defs
- id="defs4" />
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="0.0"
- inkscape:pageshadow="2"
- inkscape:zoom="0.70710678"
- inkscape:cx="309.85939"
- inkscape:cy="286.49377"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- inkscape:window-width="872"
- inkscape:window-height="587"
- inkscape:window-x="229"
- inkscape:window-y="68" />
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <g
- id="g3981"
- transform="translate(-2.828427,24.04163)">
- <g
- transform="translate(-156.9777,-282.8427)"
- style="fill:none;fill-opacity:1"
- id="g3086">
- <path
- style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
- d="M 508.60066,293.71334 C 587.84982,330.45927 642.85714,410.74023 642.85714,503.79076 L 642.85716,503.79076 C 642.85715,596.83988 587.85148,677.11982 508.60424,713.86651"
- id="path1320" />
- <path
- style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
- d="M 302.82433,713.86651 C 223.57709,677.11982 168.57143,596.83987 168.57143,503.79075 C 168.57143,410.74022 223.57875,330.45926 302.82791,293.71333"
- id="path1316" />
- <path
- style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
- d="M 508.64337,293.71731 L 303.07733,293.71731"
- id="path1322"
- sodipodi:nodetypes="cc" />
- <path
- style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
- d="M 508.40524,713.85827 L 302.8392,713.85827"
- id="path2201"
- sodipodi:nodetypes="cc" />
- </g>
- <rect
- rx="4.1999998"
- ry="4.1999998"
- y="87.51947"
- x="133.23659"
- height="120"
- width="58"
- id="rect3092"
- style="fill:#515151;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
- <rect
- rx="4.1999998"
- ry="4.1999998"
- y="87.51947"
- x="306.2366"
- height="120"
- width="58"
- id="rect3094"
- style="fill:#515151;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
- <path
- sodipodi:nodetypes="cccccc"
- id="rect3099"
- d="M 216.36159,297.01947 L 248.73659,279.76947 L 281.11159,297.01947 L 281.11159,359.01947 L 216.36159,359.01947 L 216.36159,297.01947 z "
- style="fill:#515151;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1" />
- </g>
- </g>
-</svg>
diff --git a/debian/icons/electric.xpm b/debian/icons/electric.xpm
deleted file mode 100644
index ba1c294..0000000
--- a/debian/icons/electric.xpm
+++ /dev/null
@@ -1,81 +0,0 @@
-/* XPM */
-static char *electric[] = {
-/* columns rows colors chars-per-pixel */
-"32 32 43 1 ",
-" c black",
-". c #020202",
-"X c #030303",
-"o c #040404",
-"O c #050505",
-"+ c #070707",
-"@ c #090909",
-"# c #0A0A0A",
-"$ c #0C0C0C",
-"% c #101010",
-"& c #111111",
-"* c #121212",
-"= c #161616",
-"- c #181818",
-"; c #191919",
-": c #1C1C1C",
-"> c #1D1D1D",
-", c #1F1F1F",
-"< c #232323",
-"1 c #242424",
-"2 c #262626",
-"3 c #292929",
-"4 c #2D2D2D",
-"5 c #323232",
-"6 c #333333",
-"7 c #343434",
-"8 c #353535",
-"9 c #383838",
-"0 c #3B3B3B",
-"q c #3C3C3C",
-"w c #414141",
-"e c #424242",
-"r c #434343",
-"t c #494949",
-"y c #4A4A4A",
-"u c #4B4B4B",
-"i c #4D4D4D",
-"p c #4E4E4E",
-"a c #4F4F4F",
-"s c #515151",
-"d c #525252",
-"f c #545454",
-"g c None",
-/* pixels */
-"gggggggggggggggggggggggggggggggg",
-"gggggggggggggggggggggggggggggggg",
-"gggggggg gggggggg",
-"ggggggg gggggggggggggggg gggggg",
-"ggggg gggggggggggggggggggg ggggg",
-"gggg gggggggggggggggggggggg gggg",
-"ggg gggggggggggggggggggggggg ggg",
-"ggg ggggo;<;oggggggg;,,$gggg ggg",
-"gg ggggg&yswoggggggo9si;ggggg gg",
-"gggggggg&ysw$ggggggoqsi;gggggggg",
-"g gggggg&ysw$ggggggoqsi;gggggg g",
-"g gggggg&yfw$ggggggoqfi=gggggg g",
-"gggggggg&yfw$gggggg$qfi;ggggggg ",
-" ggggggg&ifr$ggggggoqfs;ggggggg ",
-" ggggggg$794ogggggg 397&ggggggg ",
-" gggggggg o gggggggg o gggggggg ",
-" gggggggggggggggggggggggggggggg ",
-" gggggggggggggggggggggggggggggg ",
-" gggggggggggggggggggggggggggggg ",
-"ggggggggggggggggggggggggggggggg ",
-"g gggggggggggg$<3$gggggggggggg g",
-"g gggggggggggg4ss7oggggggggggg g",
-"gggggggggggggg7ssqoggggggggggggg",
-"gg ggggggggggg7ffqogggggggggg gg",
-"ggg gggggggggg,551oggggggggg ggg",
-"ggg gggggggggggggggggggggggg ggg",
-"gggg gggggggggggggggggggggg gggg",
-"ggggg ggggggggggggggggggg ggggg",
-"ggggggg gggggggggggggggg gggggg",
-"gggggggg gggggggg",
-"gggggggggggggggggggggggggggggggg",
-"gggggggggggggggggggggggggggggggg"
-};
diff --git a/debian/install b/debian/install
index 236b267..60e9eae 100644
--- a/debian/install
+++ b/debian/install
@@ -1,5 +1,5 @@
debian/bin/electric usr/bin
debian/electric.desktop usr/share/applications
-debian/icons/electric.svg usr/share/icons/hicolor/scalable/apps
-debian/icons/electric.xpm usr/share/pixmaps
+debian/electric.png usr/share/icons/hicolor/64x64/apps
+debian/electric.xpm usr/share/pixmaps
electric.jar usr/share/java
diff --git a/debian/rules b/debian/rules
index 53a3e62..e4600ce 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,10 @@ export CLASSPATH=/usr/share/java/bsh.jar:/usr/share/java/j3dcore.jar:/usr/share/
%:
dh $@ --parallel --with javahelper
+override_dh_auto_build:
+ dh_auto_build
+ convert -monitor -resize 32x32 ElectricIcon64x64.png debian/electric.xpm
+ cp ElectricIcon64x64.png debian/electric.png
get-orig-source::
uscan --verbose --repack --compression xz --force-download --download-current-version
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/electric.git
More information about the pkg-java-commits
mailing list