Bug#536480: gnome-*-icon-theme overrides my start-here icon (Debian swirl)

2009-07-26 Thread Benjamin Drung
tags 536480 pending
thanks

The bug is fixed in the Bazaar branch. It will be uploaded after the
next upstream release. Thanks for your patch.

Cheers,
Benjamin


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Bug#536480: gnome-*-icon-theme overrides my start-here icon (Debian swirl)

2009-07-17 Thread Fabian Greffrath

Benjamin Drung schrieb:

An other solution would be, to remove the start-here link/icon. Maybe
upstream can provide an unbranded install target. Because
gnome-colors-common depends on gnome, the start-here icons from gnome


I hope it only depends on gnome-icon-theme.


are used. gnome-colors-common has only to register the gnome-colors
start-here icon. What do you think?


Yes, I am also for the second solution. gnome-colors-common should not 
provide a start-here icon itself but rely on and fall back to 
gnome-icon-theme. The renamed gnome-colors icon could still be 
registered as an alternative for the start-here icon, though.


Fabian


--
Dipl.-Phys. Fabian Greffrath

Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum

Telefon: +49 (0)234 / 32-26334
Fax: +49 (0)234 / 32-14227
E-Mail:  greffr...@leat.ruhr-uni-bochum.de



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#536480: gnome-*-icon-theme overrides my start-here icon (Debian swirl)

2009-07-16 Thread Benjamin Drung
Thanks for reporting this issue and providing a patch.

The next upstream release will have the start-here icon renamed to
gnome-colors and start-here will link to it. So the Debian package has
only to overwrite the start-here link.

An other solution would be, to remove the start-here link/icon. Maybe
upstream can provide an unbranded install target. Because
gnome-colors-common depends on gnome, the start-here icons from gnome
are used. gnome-colors-common has only to register the gnome-colors
start-here icon. What do you think?

Cheers,
Benjamin


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Bug#536480: gnome-*-icon-theme overrides my start-here icon (Debian swirl)

2009-07-13 Thread Fabian Greffrath

tags 536480 + patch
thanks

Please find attached a minimal patch based on gnome-icon-theme 
(2.24.0-4) against the package found at mentors.debian.org. I have 
tested it and it successfully changed my start-here icon back to the 
default, i.e. the Debian swirl icon, while retaining the gnome-colors 
icon as an alternative.


Cheers,
Fabian

--
Dipl.-Phys. Fabian Greffrath

Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum

Telefon: +49 (0)234 / 32-26334
Fax: +49 (0)234 / 32-14227
E-Mail:  greffr...@leat.ruhr-uni-bochum.de
diff -u gnome-colors-5.1.1/debian/rules gnome-colors-5.1.1/debian/rules
--- gnome-colors-5.1.1/debian/rules
+++ gnome-colors-5.1.1/debian/rules
@@ -9,0 +10,6 @@
+
+binary-install/gnome-colors-common ::
+	for ICON in `find debian/gnome-colors-common -type f -name 'start-here.*'`; \
+		do mv -f $$ICON `echo $$ICON | sed 's:start-here:gnome-colors:'`; \
+		ln -sf `echo $$ICON | sed 's:^.*/usr/share/icons/gnome-colors-common/:/usr/share/icons/gnome/:'` $$ICON; \
+	done
diff -u gnome-colors-5.1.1/debian/control gnome-colors-5.1.1/debian/control
--- gnome-colors-5.1.1/debian/control
+++ gnome-colors-5.1.1/debian/control
@@ -39,7 +39,7 @@
 
 Package: gnome-colors-common
 Architecture: all
-Depends: gnome-icon-theme,
+Depends: gnome-icon-theme (= 2.24.0-4),
  ${misc:Depends}
 Description: common icons for all GNOME-Colors icon themes
  GNOME-Colors is a set of GNOME icon themes, with some inspiration from
diff -u gnome-colors-5.1.1/debian/changelog gnome-colors-5.1.1/debian/changelog
--- gnome-colors-5.1.1/debian/changelog
+++ gnome-colors-5.1.1/debian/changelog
@@ -1,3 +1,16 @@
+gnome-colors (5.1.1-1.1) unstable; urgency=low
+
+  * debian/control:
++ Make gnome-colors-common depend on gnome-icon-theme (= 2.24.0-4).
+  * debian/rules:
++ Rename all start-here icons in gnome-colors-common to gnome-colors.
++ Symlink all start-here icons to the ones in gnome-icon-theme,
+  which are managed by update-alternatives (Closes: #536480).
+  * debian/gnome-colors-common.{prerm,postinst}:
++ Register gnome-colors as an alternative for the start-here icon.
+
+ -- Fabian Greffrath fab...@debian-unofficial.org  Mon, 13 Jul 2009 10:32:27 +0200
+
 gnome-colors (5.1.1-1) unstable; urgency=low
 
   * New upstream release.
only in patch2:
unchanged:
--- gnome-colors-5.1.1.orig/debian/gnome-colors-common.postinst
+++ gnome-colors-5.1.1/debian/gnome-colors-common.postinst
@@ -0,0 +1,16 @@
+#! /bin/sh
+set -e
+
+SIZES=$(ls /usr/share/icons/gnome-colors-common/*/places | sed -rn 's,^.*/([0-9]+)x[0-9]+/.*$,\1,p')
+
+( while read name prio; do
+command=update-alternatives --install /usr/share/icons/gnome/scalable/places/start-here.svg start-here.svg /usr/share/icons/gnome-colors-common/scalable/places/$name.svg $prio
+for s in $SIZES; do
+  command=$command --slave /usr/share/icons/gnome/${s}x${s}/places/start-here.png start-here-${s}.png /usr/share/icons/gnome-colors-common/${s}x${s}/places/$name.png
+done
+$command
+  done )  EOF
+gnome-colors 20
+EOF
+
+#DEBHELPER#
only in patch2:
unchanged:
--- gnome-colors-5.1.1.orig/debian/gnome-colors-common.prerm
+++ gnome-colors-5.1.1/debian/gnome-colors-common.prerm
@@ -0,0 +1,11 @@
+#! /bin/sh
+set -e
+
+if [ $1 = remove ] || [ $1 = deconfigure ] ; then
+  for name in gnome-colors; do
+update-alternatives --remove start-here.svg /usr/share/icons/gnome-colors-common/scalable/places/$name.svg
+  done
+  rm -f /usr/share/icons/gnome-colors-common/icon-theme.cache
+fi
+
+#DEBHELPER#


Bug#536480: gnome-*-icon-theme overrides my start-here icon (Debian swirl)

2009-07-10 Thread Fabian Greffrath

Package: gnome-colors
Version: 3.8.7-1
Severity: minor

Hi,

first of all: Thank you for introducing this fantastic piece of 
desktop artwork into Debian!


However, since I installed gnome-wise-icon-theme, the start-here icon 
(the one in the top-left corner of the GNOME panel next to the 
Applications menu) has changed from the Debian swirl to a colorful 
propeller. I believe this happens because in Debian GNOME the 
start-here icon is managed via the update-alternatives mechanism, 
please see the upload of gnome-icon-theme (2.24.0-4), which the 
gnome-colors packages currently ignore.


Please consider also using the update-alternatives mechanism for the 
gnome-*-icon-theme packages, introducing the start-here icon with a 
priority slightly lower than the one of the Debian swirl (e.g. 25).


Cheers,
Fabian

--
Dipl.-Phys. Fabian Greffrath

Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum

Telefon: +49 (0)234 / 32-26334
Fax: +49 (0)234 / 32-14227
E-Mail:  greffr...@leat.ruhr-uni-bochum.de



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org