cowbell r45 - in trunk: . gui resources resources/images



Author: btaylor
Date: Wed Jun 11 05:05:55 2008
New Revision: 45
URL: http://svn.gnome.org/viewvc/cowbell?rev=45&view=rev

Log:
2008-06-10  Brad Taylor  <brad getcoded net>
	
	* gui/Makefile.am:
	* configure.ac:
	* resources/default-cover.png:
	* resources/cowbell.svg:
	* resources/images:
	* resources/images/default-cover.png:
	* resources/images/icon-theme-installer:
	* resources/images/cowbell.svg:
	* resources/images/Makefile.am:
	* resources/images/cowbell-22.png:
	* resources/images/cowbell-32.png:
	* resources/images/gnome-mime-audio.png:
	* resources/images/loading-cover.png:
	* resources/images/cowbell-24.png:
	* resources/images/cowbell-16.png:
	* resources/Makefile.am:
	* resources/cowbell.png:
	* resources/gnome-mime-audio.png:
	* resources/loading-cover.png: Patch from Michael Montreal to use the
	  App icon in the about dialog, move images to resource/images, adapt
	  build system, add new image installation script, and add missing
	  sizes of application icon by Andreas Nilsson. [Fixes #446931]


Added:
   trunk/resources/images/   (props changed)
   trunk/resources/images/Makefile.am
   trunk/resources/images/cowbell-16.png   (contents, props changed)
   trunk/resources/images/cowbell-22.png   (contents, props changed)
   trunk/resources/images/cowbell-24.png   (contents, props changed)
   trunk/resources/images/cowbell-32.png   (contents, props changed)
   trunk/resources/images/cowbell.svg
   trunk/resources/images/default-cover.png
      - copied unchanged from r42, /trunk/resources/default-cover.png
   trunk/resources/images/gnome-mime-audio.png
      - copied unchanged from r42, /trunk/resources/gnome-mime-audio.png
   trunk/resources/images/icon-theme-installer   (contents, props changed)
   trunk/resources/images/loading-cover.png
      - copied unchanged from r42, /trunk/resources/loading-cover.png
Removed:
   trunk/resources/cowbell.png
   trunk/resources/cowbell.svg
   trunk/resources/default-cover.png
   trunk/resources/gnome-mime-audio.png
   trunk/resources/loading-cover.png
Modified:
   trunk/ChangeLog
   trunk/configure.ac
   trunk/gui/Makefile.am
   trunk/resources/Makefile.am

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Wed Jun 11 05:05:55 2008
@@ -57,6 +57,7 @@
 AC_OUTPUT([
 musicbrainz-sharp/Makefile
 resources/Makefile
+resources/images/Makefile
 base/Globals.cs
 base/Makefile
 gui/Makefile

Modified: trunk/gui/Makefile.am
==============================================================================
--- trunk/gui/Makefile.am	(original)
+++ trunk/gui/Makefile.am	Wed Jun 11 05:05:55 2008
@@ -2,9 +2,9 @@
 ASSEMBLY = $(WRAPPER).exe
 
 RESOURCES = \
-$(top_srcdir)/resources/default-cover.png \
-$(top_srcdir)/resources/loading-cover.png \
-$(top_srcdir)/resources/gnome-mime-audio.png \
+$(top_srcdir)/resources/images/default-cover.png \
+$(top_srcdir)/resources/images/loading-cover.png \
+$(top_srcdir)/resources/images/gnome-mime-audio.png \
 $(top_srcdir)/resources/MainWindow.glade \
 $(top_srcdir)/resources/SaveChangesDialog.glade \
 $(top_srcdir)/resources/MetadataProxyProgressDialog.glade \

Modified: trunk/resources/Makefile.am
==============================================================================
--- trunk/resources/Makefile.am	(original)
+++ trunk/resources/Makefile.am	Wed Jun 11 05:05:55 2008
@@ -1,18 +1,4 @@
-icondir = $(datadir)/icons/hicolor/48x48/apps
-icon_DATA = cowbell.png
-svgicondir = $(datadir)/icons/hicolor/scalable/apps
-svgicon_DATA = cowbell.svg
-
-gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
-
-install-data-hook:
-	@-if test -z "$(DESTDIR)"; then \
-		echo "Updating Gtk icon cache."; \
-		$(gtk_update_icon_cache); \
-	else \
-		echo "*** Icon cache not updated.  After install, run this:"; \
-		echo "***   $(gtk_update_icon_cache)"; \
-	fi
+SUBDIRS = images
 
 @INTLTOOL_DESKTOP_RULE@
 desktop_in_files = cowbell.desktop.in
@@ -23,11 +9,6 @@
 
 EXTRA_DIST = \
 $(desktop_in_files) \
-$(icon_DATA) \
-$(svgicon_DATA) \
-default-cover.png \
-gnome-mime-audio.png \
-loading-cover.png \
 MainWindow.glade \
 PreferencesWindow.glade \
 ProgressDialog.glade \

Added: trunk/resources/images/Makefile.am
==============================================================================
--- (empty file)
+++ trunk/resources/images/Makefile.am	Wed Jun 11 05:05:55 2008
@@ -0,0 +1,27 @@
+theme = hicolor
+themedir = $(datadir)/icons/$(theme)
+theme_icons = \
+	apps,cowbell.svg \
+	apps,cowbell-16.png \
+	apps,cowbell-22.png \
+	apps,cowbell-24.png \
+	apps,cowbell-32.png
+
+install_icon_exec = $(top_srcdir)/resources/images/icon-theme-installer \
+	-t "$(theme)" \
+	-s "$(srcdir)" \
+	-d "x$(DESTDIR)" \
+	-b "$(themedir)" \
+	-m "$(mkinstalldirs)" \
+	-x "$(INSTALL_DATA)"
+
+install-data-local:
+	@-$(install_icon_exec) -i $(theme_icons)
+
+uninstall-hook: 
+	@-$(install_icon_exec) -u $(theme_icons)
+	
+EXTRA_DIST = $(wildcard *.svg *.png)
+
+MAINTAINERCLEANFILES = Makefile.in
+

Added: trunk/resources/images/cowbell-16.png
==============================================================================
Binary file. No diff available.

Added: trunk/resources/images/cowbell-22.png
==============================================================================
Binary file. No diff available.

Added: trunk/resources/images/cowbell-24.png
==============================================================================
Binary file. No diff available.

Added: trunk/resources/images/cowbell-32.png
==============================================================================
Binary file. No diff available.

Added: trunk/resources/images/cowbell.svg
==============================================================================
--- (empty file)
+++ trunk/resources/images/cowbell.svg	Wed Jun 11 05:05:55 2008
@@ -0,0 +1,674 @@
+<?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:xlink="http://www.w3.org/1999/xlink";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   width="48px"
+   height="48px"
+   id="svg1306"
+   sodipodi:version="0.32"
+   inkscape:version="0.44"
+   sodipodi:docbase="/home/andreas/project/application icons/scalable"
+   sodipodi:docname="cowbell.svg">
+  <defs
+     id="defs1308">
+    <linearGradient
+       id="linearGradient10894">
+      <stop
+         id="stop10896"
+         offset="0.0000000"
+         style="stop-color:#2c2c2c;stop-opacity:0.65979379;" />
+      <stop
+         id="stop10898"
+         offset="1.0000000"
+         style="stop-color:#ffffff;stop-opacity:0.0000000;" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient10143">
+      <stop
+         id="stop10145"
+         offset="0"
+         style="stop-color:#000000;stop-opacity:1;" />
+      <stop
+         id="stop10147"
+         offset="1.0000000"
+         style="stop-color:#8f5802;stop-opacity:1.0000000;" />
+    </linearGradient>
+    <linearGradient
+       inkscape:collect="always"
+       id="linearGradient10125">
+      <stop
+         style="stop-color:#ffffff;stop-opacity:1;"
+         offset="0"
+         id="stop10127" />
+      <stop
+         style="stop-color:#ffffff;stop-opacity:0;"
+         offset="1"
+         id="stop10129" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient4991">
+      <stop
+         style="stop-color:#000000;stop-opacity:1;"
+         offset="0"
+         id="stop4993" />
+      <stop
+         style="stop-color:#b56102;stop-opacity:0.34020618;"
+         offset="1.0000000"
+         id="stop4995" />
+    </linearGradient>
+    <linearGradient
+       inkscape:collect="always"
+       id="linearGradient4253">
+      <stop
+         style="stop-color:#ffffff;stop-opacity:1;"
+         offset="0"
+         id="stop4255" />
+      <stop
+         style="stop-color:#ffffff;stop-opacity:0;"
+         offset="1"
+         id="stop4257" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient3517">
+      <stop
+         style="stop-color:#ffffff;stop-opacity:1.0000000;"
+         offset="0.0000000"
+         id="stop3519" />
+      <stop
+         style="stop-color:#ffffff;stop-opacity:0.0000000;"
+         offset="1.0000000"
+         id="stop3521" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient3507">
+      <stop
+         style="stop-color:#e9b96e;stop-opacity:1;"
+         offset="0"
+         id="stop3509" />
+      <stop
+         id="stop7929"
+         offset="0.42857143"
+         style="stop-color:#bc8938;stop-opacity:0.49803922;" />
+      <stop
+         style="stop-color:#8f5902;stop-opacity:0.0000000;"
+         offset="1.0000000"
+         id="stop3511" />
+    </linearGradient>
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient3507"
+       id="linearGradient3513"
+       x1="22.405676"
+       y1="43.575035"
+       x2="0.72764850"
+       y2="22.567726"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1.057981,0.000000,0.000000,1.057981,-0.149584,-4.454001)" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient3517"
+       id="linearGradient3523"
+       x1="33.933525"
+       y1="35.350452"
+       x2="25.528704"
+       y2="18.045321"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1.057981,0.000000,0.000000,1.057981,-0.733301,-2.867029)" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient4253"
+       id="linearGradient4259"
+       x1="31.932709"
+       y1="32.675480"
+       x2="19.493200"
+       y2="4.8526516"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1.057981,0.000000,0.000000,1.057981,-0.733301,-2.867029)" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient4991"
+       id="linearGradient4997"
+       x1="30.312500"
+       y1="49.282871"
+       x2="15.513890"
+       y2="-7.3472204"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1.057981,0.000000,0.000000,1.057981,-1.159998,-2.386995)" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient4991"
+       id="linearGradient8661"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1.057981,0.000000,0.000000,1.057981,-0.149584,-4.454001)"
+       x1="34.096455"
+       y1="40.818508"
+       x2="28.207340"
+       y2="43.468575" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient10143"
+       id="linearGradient10141"
+       x1="27.782408"
+       y1="14.701389"
+       x2="30.035648"
+       y2="6.5023155"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1.057981,0.000000,0.000000,1.057981,-0.733301,-2.867029)" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient10125"
+       id="linearGradient10156"
+       gradientUnits="userSpaceOnUse"
+       x1="22.887997"
+       y1="37.789700"
+       x2="21.652853"
+       y2="33.907814" />
+    <radialGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient10894"
+       id="radialGradient10892"
+       cx="35.375294"
+       cy="42.008862"
+       fx="35.375294"
+       fy="42.008862"
+       r="18.732559"
+       gradientTransform="matrix(-0.740014,-4.378545e-3,3.339861e-3,-6.695424e-2,50.27131,44.87974)"
+       gradientUnits="userSpaceOnUse" />
+    <radialGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient10894"
+       id="radialGradient2919"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(-1.014600,-2.031293e-7,-1.415153e-3,-9.143772e-2,59.69957,45.74522)"
+       cx="37.433578"
+       cy="42.816711"
+       fx="37.433578"
+       fy="42.816711"
+       r="18.732559" />
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="14.407301"
+     inkscape:cx="30.392975"
+     inkscape:cy="24.84163"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     inkscape:grid-bbox="true"
+     inkscape:document-units="px"
+     fill="#edd400"
+     inkscape:window-width="1680"
+     inkscape:window-height="975"
+     inkscape:window-x="0"
+     inkscape:window-y="25"
+     showguides="true"
+     inkscape:guide-bbox="true"
+     gridspacingx="0.5px"
+     gridspacingy="0.5px" />
+  <metadata
+     id="metadata1311">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <cc:license
+           rdf:resource="http://creativecommons.org/licenses/GPL/2.0/"; />
+        <dc:title>Cowbell Application icon</dc:title>
+      </cc:Work>
+      <cc:License
+         rdf:about="http://creativecommons.org/licenses/GPL/2.0/";>
+        <cc:permits
+           rdf:resource="http://web.resource.org/cc/Reproduction"; />
+        <cc:permits
+           rdf:resource="http://web.resource.org/cc/Distribution"; />
+        <cc:requires
+           rdf:resource="http://web.resource.org/cc/Notice"; />
+        <cc:permits
+           rdf:resource="http://web.resource.org/cc/DerivativeWorks"; />
+        <cc:requires
+           rdf:resource="http://web.resource.org/cc/ShareAlike"; />
+        <cc:requires
+           rdf:resource="http://web.resource.org/cc/SourceCode"; />
+      </cc:License>
+    </rdf:RDF>
+  </metadata>
+  <g
+     id="layer1"
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer">
+    <path
+       transform="matrix(1.290804,-4.792540e-7,1.910279e-7,3.170813,-6.319413,-89.55197)"
+       d="M 42.965950 41.830151 A 18.732559 2.0070601 0 1 1  5.5008316,41.830151 A 18.732559 2.0070601 0 1 1  42.965950 41.830151 z"
+       sodipodi:ry="2.0070601"
+       sodipodi:rx="18.732559"
+       sodipodi:cy="41.830151"
+       sodipodi:cx="24.233391"
+       id="path2917"
+       style="opacity:0.73626375;fill:url(#radialGradient2919);fill-opacity:1.0000000;stroke:none;stroke-width:0.88400000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:3.5000000;stroke-dasharray:none;stroke-opacity:1.0000000"
+       sodipodi:type="arc" />
+    <path
+       sodipodi:type="arc"
+       style="opacity:0.45604393;fill:url(#radialGradient10892);fill-opacity:1.0000000;stroke:none;stroke-width:0.88400000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:3.5000000;stroke-dasharray:none;stroke-opacity:1.0000000"
+       id="path10158"
+       sodipodi:cx="24.233391"
+       sodipodi:cy="41.830151"
+       sodipodi:rx="18.732559"
+       sodipodi:ry="2.0070601"
+       d="M 42.965950 41.830151 A 18.732559 2.0070601 0 1 1  5.5008316,41.830151 A 18.732559 2.0070601 0 1 1  42.965950 41.830151 z"
+       transform="matrix(0.913820,0.000000,0.000000,3.170813,9.878030,-89.55197)" />
+    <path
+       style="fill:url(#linearGradient4997);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"
+       d="M 4.9233935,31.104721 L 8.7967800,28.294458 L 34.811361,35.700326 L 35.869342,42.048213 L 33.731868,43.951710 C 33.731868,43.951710 8.0669900,36.880313 6.1548496,34.933124 C 4.2691915,33.012903 4.9233935,31.104721 4.9233935,31.104721 z "
+       id="path4263"
+       sodipodi:nodetypes="ccccczc" />
+    <path
+       style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:url(#linearGradient3513);stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1.0000000;stroke-miterlimit:4;stroke-dasharray:none"
+       d="M 5.4173115,31.385110 C 5.4173115,31.385110 5.0776769,33.148163 6.6344250,34.647664 C 8.1532370,36.110624 30.636304,42.660199 32.974986,43.372123 C 35.379772,44.104171 36.346809,42.030671 36.346809,42.030671"
+       id="path3497"
+       sodipodi:nodetypes="czzc" />
+    <path
+       sodipodi:nodetypes="cc"
+       id="path7933"
+       d="M 32.974986,43.372123 C 35.379772,44.104171 36.313559,42.063920 36.313559,42.063920"
+       style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:url(#linearGradient8661);stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1.0000000;stroke-miterlimit:4;stroke-dasharray:none" />
+    <g
+       id="g10149"
+       transform="matrix(1.057981,0.000000,0.000000,1.057981,-1.791282,-3.354252)">
+      <path
+         transform="translate(23.29200,19.10741)"
+         d="M 1.1407408 16.415741 A 2.4953704 2.4953704 0 1 1  -3.8500000,16.415741 A 2.4953704 2.4953704 0 1 1  1.1407408 16.415741 z"
+         sodipodi:ry="2.4953704"
+         sodipodi:rx="2.4953704"
+         sodipodi:cy="16.415741"
+         sodipodi:cx="-1.3546296"
+         id="path10117"
+         style="opacity:1.0000000;fill:#edd400;fill-opacity:1.0000000;stroke:#c4a000;stroke-width:0.88400000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:3.5000000;stroke-dasharray:none;stroke-opacity:1.0000000"
+         sodipodi:type="arc" />
+      <path
+         sodipodi:nodetypes="csczc"
+         id="path10123"
+         d="M 20.644571,36.226863 C 20.644571,36.226863 21.050414,35.120644 22.050414,35.673754 C 23.050414,36.226863 23.644210,35.226863 23.644210,35.226863 C 23.644210,35.226863 23.102809,37.102898 22.000000,37.000000 C 20.924274,36.899629 20.644571,36.226863 20.644571,36.226863 z "
+         style="opacity:0.65384614;fill:url(#linearGradient10156);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000" />
+      <path
+         sodipodi:type="arc"
+         style="opacity:0.34615383;fill:none;fill-opacity:1.0000000;stroke:#ffffff;stroke-width:0.88400000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:3.5000000;stroke-dasharray:none;stroke-opacity:1.0000000"
+         id="path10119"
+         sodipodi:cx="-1.3546296"
+         sodipodi:cy="16.415741"
+         sodipodi:rx="2.4953704"
+         sodipodi:ry="2.4953704"
+         d="M 1.1407408 16.415741 A 2.4953704 2.4953704 0 1 1  -3.8500000,16.415741 A 2.4953704 2.4953704 0 1 1  1.1407408 16.415741 z"
+         transform="matrix(0.702202,0.000000,0.000000,0.702202,22.88860,23.99598)" />
+    </g>
+    <path
+       style="fill:url(#linearGradient10141);fill-opacity:1.0000000;fill-rule:evenodd;stroke:#583500;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1.0000000;stroke-miterlimit:4;stroke-dasharray:none"
+       d="M 27.303200,5.5253086 L 30.022603,2.1221354 L 34.784498,3.4064070 L 34.709068,7.7127831 L 27.303200,5.5253086 z "
+       id="path10133"
+       sodipodi:nodetypes="ccccc" />
+    <path
+       style="opacity:1.0000000;fill:#8f5802;fill-opacity:1.0000000;fill-rule:evenodd;stroke:#593600;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1.0000000;stroke-miterlimit:4;stroke-dasharray:none"
+       d="M 5.3852118,31.386688 C 5.3852118,31.386688 5.9764976,30.089177 8.6256410,30.197389 C 11.349032,30.308632 21.662255,33.665355 21.662255,33.665355 C 21.662255,33.665355 33.257302,37.074447 34.836894,38.603237 C 36.453416,40.167770 35.757083,41.452907 36.391083,41.900375 L 41.056954,9.1483990 L 21.490754,3.8584932 L 5.3852118,31.386688 z "
+       id="path2041"
+       sodipodi:nodetypes="czczcccc" />
+    <path
+       sodipodi:nodetypes="czzzcccc"
+       id="path3525"
+       d="M 7.7831673,29.257000 C 7.7831673,29.257000 8.5467450,29.146125 9.9545550,29.375873 C 11.297917,29.595103 15.517537,30.707289 21.414316,32.530026 C 27.311094,34.352762 31.818583,35.809873 33.541669,36.666820 C 35.253970,37.518402 35.621686,37.828382 35.879126,38.263589 L 39.964420,9.8865238 L 21.950549,4.9859644 L 7.7831673,29.257000 z "
+       style="opacity:0.39560440;fill:none;fill-opacity:1.0000000;fill-rule:evenodd;stroke:url(#linearGradient4259);stroke-width:1;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:3.5;stroke-dasharray:none;stroke-opacity:1.0000000" />
+    <path
+       style="opacity:0.54945058;fill:url(#linearGradient3523);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"
+       d="M 9.4437710,29.717578 C 9.4437710,29.717578 15.795015,19.769885 26.014029,21.170694 C 36.476288,22.604846 39.788303,14.487902 39.788303,14.487902 L 36.166126,39.602128 C 36.166126,39.602128 35.651984,38.170481 33.857354,37.325743 C 32.080425,36.489338 26.941339,34.734381 21.080771,32.885651 C 15.220203,31.036922 9.4437710,29.717578 9.4437710,29.717578 z "
+       id="path3515"
+       sodipodi:nodetypes="czcczsc" />
+  </g>
+</svg>
+<?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:xlink="http://www.w3.org/1999/xlink";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   width="48px"
+   height="48px"
+   id="svg1306"
+   sodipodi:version="0.32"
+   inkscape:version="0.44"
+   sodipodi:docbase="/home/andreas/project/application icons/scalable"
+   sodipodi:docname="cowbell.svg">
+  <defs
+     id="defs1308">
+    <linearGradient
+       id="linearGradient10894">
+      <stop
+         id="stop10896"
+         offset="0.0000000"
+         style="stop-color:#2c2c2c;stop-opacity:0.65979379;" />
+      <stop
+         id="stop10898"
+         offset="1.0000000"
+         style="stop-color:#ffffff;stop-opacity:0.0000000;" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient10143">
+      <stop
+         id="stop10145"
+         offset="0"
+         style="stop-color:#000000;stop-opacity:1;" />
+      <stop
+         id="stop10147"
+         offset="1.0000000"
+         style="stop-color:#8f5802;stop-opacity:1.0000000;" />
+    </linearGradient>
+    <linearGradient
+       inkscape:collect="always"
+       id="linearGradient10125">
+      <stop
+         style="stop-color:#ffffff;stop-opacity:1;"
+         offset="0"
+         id="stop10127" />
+      <stop
+         style="stop-color:#ffffff;stop-opacity:0;"
+         offset="1"
+         id="stop10129" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient4991">
+      <stop
+         style="stop-color:#000000;stop-opacity:1;"
+         offset="0"
+         id="stop4993" />
+      <stop
+         style="stop-color:#b56102;stop-opacity:0.34020618;"
+         offset="1.0000000"
+         id="stop4995" />
+    </linearGradient>
+    <linearGradient
+       inkscape:collect="always"
+       id="linearGradient4253">
+      <stop
+         style="stop-color:#ffffff;stop-opacity:1;"
+         offset="0"
+         id="stop4255" />
+      <stop
+         style="stop-color:#ffffff;stop-opacity:0;"
+         offset="1"
+         id="stop4257" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient3517">
+      <stop
+         style="stop-color:#ffffff;stop-opacity:1.0000000;"
+         offset="0.0000000"
+         id="stop3519" />
+      <stop
+         style="stop-color:#ffffff;stop-opacity:0.0000000;"
+         offset="1.0000000"
+         id="stop3521" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient3507">
+      <stop
+         style="stop-color:#e9b96e;stop-opacity:1;"
+         offset="0"
+         id="stop3509" />
+      <stop
+         id="stop7929"
+         offset="0.42857143"
+         style="stop-color:#bc8938;stop-opacity:0.49803922;" />
+      <stop
+         style="stop-color:#8f5902;stop-opacity:0.0000000;"
+         offset="1.0000000"
+         id="stop3511" />
+    </linearGradient>
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient3507"
+       id="linearGradient3513"
+       x1="22.405676"
+       y1="43.575035"
+       x2="0.72764850"
+       y2="22.567726"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1.057981,0.000000,0.000000,1.057981,-0.149584,-4.454001)" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient3517"
+       id="linearGradient3523"
+       x1="33.933525"
+       y1="35.350452"
+       x2="25.528704"
+       y2="18.045321"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1.057981,0.000000,0.000000,1.057981,-0.733301,-2.867029)" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient4253"
+       id="linearGradient4259"
+       x1="31.932709"
+       y1="32.675480"
+       x2="19.493200"
+       y2="4.8526516"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1.057981,0.000000,0.000000,1.057981,-0.733301,-2.867029)" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient4991"
+       id="linearGradient4997"
+       x1="30.312500"
+       y1="49.282871"
+       x2="15.513890"
+       y2="-7.3472204"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1.057981,0.000000,0.000000,1.057981,-1.159998,-2.386995)" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient4991"
+       id="linearGradient8661"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1.057981,0.000000,0.000000,1.057981,-0.149584,-4.454001)"
+       x1="34.096455"
+       y1="40.818508"
+       x2="28.207340"
+       y2="43.468575" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient10143"
+       id="linearGradient10141"
+       x1="27.782408"
+       y1="14.701389"
+       x2="30.035648"
+       y2="6.5023155"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1.057981,0.000000,0.000000,1.057981,-0.733301,-2.867029)" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient10125"
+       id="linearGradient10156"
+       gradientUnits="userSpaceOnUse"
+       x1="22.887997"
+       y1="37.789700"
+       x2="21.652853"
+       y2="33.907814" />
+    <radialGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient10894"
+       id="radialGradient10892"
+       cx="35.375294"
+       cy="42.008862"
+       fx="35.375294"
+       fy="42.008862"
+       r="18.732559"
+       gradientTransform="matrix(-0.740014,-4.378545e-3,3.339861e-3,-6.695424e-2,50.27131,44.87974)"
+       gradientUnits="userSpaceOnUse" />
+    <radialGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient10894"
+       id="radialGradient2919"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(-1.014600,-2.031293e-7,-1.415153e-3,-9.143772e-2,59.69957,45.74522)"
+       cx="37.433578"
+       cy="42.816711"
+       fx="37.433578"
+       fy="42.816711"
+       r="18.732559" />
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="14.407301"
+     inkscape:cx="30.392975"
+     inkscape:cy="24.84163"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     inkscape:grid-bbox="true"
+     inkscape:document-units="px"
+     fill="#edd400"
+     inkscape:window-width="1680"
+     inkscape:window-height="975"
+     inkscape:window-x="0"
+     inkscape:window-y="25"
+     showguides="true"
+     inkscape:guide-bbox="true"
+     gridspacingx="0.5px"
+     gridspacingy="0.5px" />
+  <metadata
+     id="metadata1311">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <cc:license
+           rdf:resource="http://creativecommons.org/licenses/GPL/2.0/"; />
+        <dc:title>Cowbell Application icon</dc:title>
+      </cc:Work>
+      <cc:License
+         rdf:about="http://creativecommons.org/licenses/GPL/2.0/";>
+        <cc:permits
+           rdf:resource="http://web.resource.org/cc/Reproduction"; />
+        <cc:permits
+           rdf:resource="http://web.resource.org/cc/Distribution"; />
+        <cc:requires
+           rdf:resource="http://web.resource.org/cc/Notice"; />
+        <cc:permits
+           rdf:resource="http://web.resource.org/cc/DerivativeWorks"; />
+        <cc:requires
+           rdf:resource="http://web.resource.org/cc/ShareAlike"; />
+        <cc:requires
+           rdf:resource="http://web.resource.org/cc/SourceCode"; />
+      </cc:License>
+    </rdf:RDF>
+  </metadata>
+  <g
+     id="layer1"
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer">
+    <path
+       transform="matrix(1.290804,-4.792540e-7,1.910279e-7,3.170813,-6.319413,-89.55197)"
+       d="M 42.965950 41.830151 A 18.732559 2.0070601 0 1 1  5.5008316,41.830151 A 18.732559 2.0070601 0 1 1  42.965950 41.830151 z"
+       sodipodi:ry="2.0070601"
+       sodipodi:rx="18.732559"
+       sodipodi:cy="41.830151"
+       sodipodi:cx="24.233391"
+       id="path2917"
+       style="opacity:0.73626375;fill:url(#radialGradient2919);fill-opacity:1.0000000;stroke:none;stroke-width:0.88400000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:3.5000000;stroke-dasharray:none;stroke-opacity:1.0000000"
+       sodipodi:type="arc" />
+    <path
+       sodipodi:type="arc"
+       style="opacity:0.45604393;fill:url(#radialGradient10892);fill-opacity:1.0000000;stroke:none;stroke-width:0.88400000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:3.5000000;stroke-dasharray:none;stroke-opacity:1.0000000"
+       id="path10158"
+       sodipodi:cx="24.233391"
+       sodipodi:cy="41.830151"
+       sodipodi:rx="18.732559"
+       sodipodi:ry="2.0070601"
+       d="M 42.965950 41.830151 A 18.732559 2.0070601 0 1 1  5.5008316,41.830151 A 18.732559 2.0070601 0 1 1  42.965950 41.830151 z"
+       transform="matrix(0.913820,0.000000,0.000000,3.170813,9.878030,-89.55197)" />
+    <path
+       style="fill:url(#linearGradient4997);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"
+       d="M 4.9233935,31.104721 L 8.7967800,28.294458 L 34.811361,35.700326 L 35.869342,42.048213 L 33.731868,43.951710 C 33.731868,43.951710 8.0669900,36.880313 6.1548496,34.933124 C 4.2691915,33.012903 4.9233935,31.104721 4.9233935,31.104721 z "
+       id="path4263"
+       sodipodi:nodetypes="ccccczc" />
+    <path
+       style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:url(#linearGradient3513);stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1.0000000;stroke-miterlimit:4;stroke-dasharray:none"
+       d="M 5.4173115,31.385110 C 5.4173115,31.385110 5.0776769,33.148163 6.6344250,34.647664 C 8.1532370,36.110624 30.636304,42.660199 32.974986,43.372123 C 35.379772,44.104171 36.346809,42.030671 36.346809,42.030671"
+       id="path3497"
+       sodipodi:nodetypes="czzc" />
+    <path
+       sodipodi:nodetypes="cc"
+       id="path7933"
+       d="M 32.974986,43.372123 C 35.379772,44.104171 36.313559,42.063920 36.313559,42.063920"
+       style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:url(#linearGradient8661);stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1.0000000;stroke-miterlimit:4;stroke-dasharray:none" />
+    <g
+       id="g10149"
+       transform="matrix(1.057981,0.000000,0.000000,1.057981,-1.791282,-3.354252)">
+      <path
+         transform="translate(23.29200,19.10741)"
+         d="M 1.1407408 16.415741 A 2.4953704 2.4953704 0 1 1  -3.8500000,16.415741 A 2.4953704 2.4953704 0 1 1  1.1407408 16.415741 z"
+         sodipodi:ry="2.4953704"
+         sodipodi:rx="2.4953704"
+         sodipodi:cy="16.415741"
+         sodipodi:cx="-1.3546296"
+         id="path10117"
+         style="opacity:1.0000000;fill:#edd400;fill-opacity:1.0000000;stroke:#c4a000;stroke-width:0.88400000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:3.5000000;stroke-dasharray:none;stroke-opacity:1.0000000"
+         sodipodi:type="arc" />
+      <path
+         sodipodi:nodetypes="csczc"
+         id="path10123"
+         d="M 20.644571,36.226863 C 20.644571,36.226863 21.050414,35.120644 22.050414,35.673754 C 23.050414,36.226863 23.644210,35.226863 23.644210,35.226863 C 23.644210,35.226863 23.102809,37.102898 22.000000,37.000000 C 20.924274,36.899629 20.644571,36.226863 20.644571,36.226863 z "
+         style="opacity:0.65384614;fill:url(#linearGradient10156);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000" />
+      <path
+         sodipodi:type="arc"
+         style="opacity:0.34615383;fill:none;fill-opacity:1.0000000;stroke:#ffffff;stroke-width:0.88400000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:3.5000000;stroke-dasharray:none;stroke-opacity:1.0000000"
+         id="path10119"
+         sodipodi:cx="-1.3546296"
+         sodipodi:cy="16.415741"
+         sodipodi:rx="2.4953704"
+         sodipodi:ry="2.4953704"
+         d="M 1.1407408 16.415741 A 2.4953704 2.4953704 0 1 1  -3.8500000,16.415741 A 2.4953704 2.4953704 0 1 1  1.1407408 16.415741 z"
+         transform="matrix(0.702202,0.000000,0.000000,0.702202,22.88860,23.99598)" />
+    </g>
+    <path
+       style="fill:url(#linearGradient10141);fill-opacity:1.0000000;fill-rule:evenodd;stroke:#583500;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1.0000000;stroke-miterlimit:4;stroke-dasharray:none"
+       d="M 27.303200,5.5253086 L 30.022603,2.1221354 L 34.784498,3.4064070 L 34.709068,7.7127831 L 27.303200,5.5253086 z "
+       id="path10133"
+       sodipodi:nodetypes="ccccc" />
+    <path
+       style="opacity:1.0000000;fill:#8f5802;fill-opacity:1.0000000;fill-rule:evenodd;stroke:#593600;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1.0000000;stroke-miterlimit:4;stroke-dasharray:none"
+       d="M 5.3852118,31.386688 C 5.3852118,31.386688 5.9764976,30.089177 8.6256410,30.197389 C 11.349032,30.308632 21.662255,33.665355 21.662255,33.665355 C 21.662255,33.665355 33.257302,37.074447 34.836894,38.603237 C 36.453416,40.167770 35.757083,41.452907 36.391083,41.900375 L 41.056954,9.1483990 L 21.490754,3.8584932 L 5.3852118,31.386688 z "
+       id="path2041"
+       sodipodi:nodetypes="czczcccc" />
+    <path
+       sodipodi:nodetypes="czzzcccc"
+       id="path3525"
+       d="M 7.7831673,29.257000 C 7.7831673,29.257000 8.5467450,29.146125 9.9545550,29.375873 C 11.297917,29.595103 15.517537,30.707289 21.414316,32.530026 C 27.311094,34.352762 31.818583,35.809873 33.541669,36.666820 C 35.253970,37.518402 35.621686,37.828382 35.879126,38.263589 L 39.964420,9.8865238 L 21.950549,4.9859644 L 7.7831673,29.257000 z "
+       style="opacity:0.39560440;fill:none;fill-opacity:1.0000000;fill-rule:evenodd;stroke:url(#linearGradient4259);stroke-width:1;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:3.5;stroke-dasharray:none;stroke-opacity:1.0000000" />
+    <path
+       style="opacity:0.54945058;fill:url(#linearGradient3523);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"
+       d="M 9.4437710,29.717578 C 9.4437710,29.717578 15.795015,19.769885 26.014029,21.170694 C 36.476288,22.604846 39.788303,14.487902 39.788303,14.487902 L 36.166126,39.602128 C 36.166126,39.602128 35.651984,38.170481 33.857354,37.325743 C 32.080425,36.489338 26.941339,34.734381 21.080771,32.885651 C 15.220203,31.036922 9.4437710,29.717578 9.4437710,29.717578 z "
+       id="path3515"
+       sodipodi:nodetypes="czcczsc" />
+  </g>
+</svg>

Added: trunk/resources/images/icon-theme-installer
==============================================================================
--- (empty file)
+++ trunk/resources/images/icon-theme-installer	Wed Jun 11 05:05:55 2008
@@ -0,0 +1,178 @@
+#!/bin/bash
+
+# icon-theme-installer
+# Copyright (C) 2006 Novell, Inc.
+# Written by Aaron Bockover <abock gnome org>
+# Licensed under the MIT/X11 license
+#
+# This script is meant to be invoked from within a Makefile/Makefile.am
+# in the install-data-local and uninstall-data sections. It handles the
+# task of properly installing icons into the icon theme. It requires a
+# few arguments to set up its environment, and a list of files to be
+# installed. The format of the file list is critical:
+#
+# <category>,<local-src-file-name>
+#
+#   apps,music-player-banshee.svg
+#   apps,music-player-banshee-16.png
+#   apps,music-player-banshee-22.png
+#
+# <category> is the icon theme category, for instance, apps, devices,
+# actions, emblems...
+#
+# <local-src-file-name> must have a basename in the form of:
+#
+#   proper-theme-name[-<SIZE>].<EXTENSION>
+#
+# Where <SIZE> should be either nothing, which will default to scalable
+# or \-[0-9]{2}, which will expand to <SIZE>x<SIZE>. For example:
+#
+#   music-player-banshee-16.png
+#
+# The <SIZE> here is -16 and will expand to 16x16 per the icon theme spec
+#
+# What follows is an example Makefile.am for icon theme installation:
+#
+# ---------------
+# theme=hicolor
+# themedir=$(datadir)/icons/$(theme)
+# theme_icons = \
+#	apps,music-player-banshee.svg \
+#	apps,music-player-banshee-16.png \
+#	apps,music-player-banshee-22.png \
+#	apps,music-player-banshee-24.png \
+#	apps,music-player-banshee-32.png
+#
+# install_icon_exec = $(top_srcdir)/build/icon-theme-installer -t $(theme) -s $(srcdir) -d "x$(DESTDIR)" -b $(themedir) -m "$(mkinstalldirs)" -x "$(INSTALL_DATA)"
+# install-data-local:
+#	$(install_icon_exec) -i $(theme_icons)
+#
+#	uninstall-hook:
+#		$(install_icon_exec) -u $(theme_icons)
+#
+#	MAINTAINERCLEANFILES = Makefile.in
+#	EXTRA_DIST = $(wildcard *.svg *.png)
+# ---------------
+#
+# Arguments to this program:
+#
+# -i         : Install
+# -u         : Uninstall
+# -t <theme> : Theme name (hicolor)
+# -b <dir>   : Theme installation dest directory [x$(DESTDIR)] - Always prefix
+#              this argument with x; it will be stripped but will act as a
+#              placeholder for zero $DESTDIRs (only set by packagers)
+# -d <dir>   : Theme installation directory [$(hicolordir)]
+# -s <dir>   : Source directory [$(srcdir)]
+# -m <exec>  : Command to exec for directory creation [$(mkinstalldirs)]
+# -x <exec>  : Command to exec for single file installation [$(INSTALL_DATA)]
+# <remainging> : All remainging should be category,filename pairs
+
+while getopts "iut:b:d:s:m:x:" flag; do
+	case "$flag" in
+		i) INSTALL=yes ;;
+		u) UNINSTALL=yes ;;
+		t) THEME_NAME=$OPTARG ;;
+		d) INSTALL_DEST_DIR=${OPTARG##x} ;;
+		b) INSTALL_BASE_DIR=$OPTARG ;;
+		s) SRC_DIR=$OPTARG ;;
+		m) MKINSTALLDIRS_EXEC=$OPTARG ;;
+		x) INSTALL_DATA_EXEC=$OPTARG ;;
+	esac
+done
+
+shift $(($OPTIND - 1))
+
+if test "x$INSTALL" = "xyes" -a "x$UNINSTALL" = "xyes"; then
+	echo "Cannot pass both -i and -u"
+	exit 1
+elif test "x$INSTALL" = "x" -a "x$UNINSTALL" = "x"; then
+	echo "Must path either -i or -u"
+	exit 1
+fi
+
+if test -z "$THEME_NAME"; then
+	echo "Theme name required (-t hicolor)"
+	exit 1
+fi
+
+if test -z "$INSTALL_BASE_DIR"; then
+	echo "Base theme directory required [-d \$(hicolordir)]"
+	exit 1
+fi
+
+if test ! -x $(echo "$MKINSTALLDIRS_EXEC" | cut -f1 -d' '); then
+	echo "Cannot find '$MKINSTALLDIRS_EXEC'; You probably want to pass -m \$(mkinstalldirs)"
+	exit 1
+fi
+
+if test ! -x $(echo "$INSTALL_DATA_EXEC" | cut -f1 -d' '); then
+	echo "Cannot find '$INSTALL_DATA_EXEC'; You probably want to pass -x \$(INSTALL_DATA)"
+	exit 1
+fi
+
+if test -z "$SRC_DIR"; then
+	SRC_DIR=.
+fi
+
+for icon in $@; do
+	size=$(echo $icon | sed s/[^0-9]*//g)
+	category=$(echo $icon | cut -d, -f1)
+	build_name=$(echo $icon | cut -d, -f2)
+	install_name=$(echo $build_name | sed "s/[0-9]//g; s/-\././")
+	install_name=$(basename $install_name)
+
+	if test -z $size; then 
+		size=scalable;
+	else
+		size=${size}x${size};
+	fi
+	
+	install_dir=${INSTALL_DEST_DIR}${INSTALL_BASE_DIR}/$size/$category
+	install_path=$install_dir/$install_name
+	
+	if test "x$INSTALL" = "xyes"; then
+		echo "Installing $size $install_name into $THEME_NAME icon theme"
+		
+		$($MKINSTALLDIRS_EXEC $install_dir) || {
+			echo "Failed to create directory $install_dir"
+			exit 1
+		}
+		
+		$($INSTALL_DATA_EXEC $SRC_DIR/$build_name $install_path) || {
+			echo "Failed to install $SRC_DIR/$build_name into $install_path"
+			exit 1
+		}
+
+		if test ! -e $install_path; then
+			echo "Failed to install $SRC_DIR/$build_name into $install_path"
+			exit 1
+		fi
+	else
+		if test -e $install_path; then
+			echo "Removing $size $install_name from $THEME_NAME icon theme"
+
+			rm $install_path || { 
+				echo "Failed to remove $install_path"
+				exit 1
+			}
+		fi
+	fi
+done
+
+if test "x$INSTALL" = "xyes"; then
+	gtk_update_icon_cache_bin="$((which gtk-update-icon-cache || echo /opt/gnome/bin/gtk-update-icon-cache)2>/dev/null)"
+	gtk_update_icon_cache="$gtk_update_icon_cache_bin -f -t $INSTALL_BASE_DIR"
+
+	if test -z "$INSTALL_DEST_DIR"; then 
+		if test -x $gtk_update_icon_cache_bin; then 
+			echo "Updating GTK icon cache"
+			$gtk_update_icon_cache
+		else
+			echo "*** Icon cache not updated. Could not execute $gtk_update_icon_cache_bin"
+		fi
+	else
+		echo "*** Icon cache not updated. After install, run this:"
+		echo "***   $gtk_update_icon_cache"
+	fi
+fi



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]