[Pkg-chromium-maint] Bug#764828: No more application icon under GNOME

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Sun Oct 12 23:30:18 UTC 2014


Control: tag -1 patch

Hi,

On 12.10.2014 13:31, Santiago Vila wrote:
> The icons should be named "chromium.png", not product_logo_etc_etc.png.

Indeed, I'm sorry about my broken patch for #764373.
I didn't notice this when testing that patch, because the chromium.svg 
image worked fine, but it was not added again to the uploaded package.

Michael, why don't you want to have the chromium.svg file?

> The following patch (untested) might fix this bug:
>
> diff --git a/debian/chromium.install b/debian/chromium.install
> index 8dd3de4..820ccb7 100644
> --- a/debian/chromium.install
> +++ b/debian/chromium.install
> @@ -17,9 +17,9 @@ debian/chromium.xml usr/share/gnome-control-center/default-apps
>   debian/chromium.desktop usr/share/applications
>
>   chrome/app/theme/chromium/product_logo_48.png usr/share/pixmaps/chromium.png
> -chrome/app/theme/chromium/product_logo_22.png usr/share/icons/hicolor/22x22/apps
> -chrome/app/theme/chromium/product_logo_24.png usr/share/icons/hicolor/24x24/apps
> -chrome/app/theme/chromium/product_logo_48.png usr/share/icons/hicolor/48x48/apps
> -chrome/app/theme/chromium/product_logo_64.png usr/share/icons/hicolor/64x64/apps
> -chrome/app/theme/chromium/product_logo_128.png usr/share/icons/hicolor/128x128/apps
> -chrome/app/theme/chromium/product_logo_256.png usr/share/icons/hicolor/256x256/apps
> +chrome/app/theme/chromium/product_logo_22.png usr/share/icons/hicolor/22x22/apps/chromium.png
> +chrome/app/theme/chromium/product_logo_24.png usr/share/icons/hicolor/24x24/apps/chromium.png
> +chrome/app/theme/chromium/product_logo_48.png usr/share/icons/hicolor/48x48/apps/chromium.png
> +chrome/app/theme/chromium/product_logo_64.png usr/share/icons/hicolor/64x64/apps/chromium.png
> +chrome/app/theme/chromium/product_logo_128.png usr/share/icons/hicolor/128x128/apps/chromium.png
> +chrome/app/theme/chromium/product_logo_256.png usr/share/icons/hicolor/256x256/apps/chromium.png

Unfortunately this does not work, because dh_install can't rename files 
and thus the first line leads to:
/usr/share/pixmaps/chromium.png/product_logo_48.png

Attached patch uses dh-exec to rename the files and fixes this issue 
properly. For this to work, debian/chromium.install has to be made 
executable.

Best regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chromium-browser_fix-icons.patch
Type: text/x-diff
Size: 1961 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-chromium-maint/attachments/20141013/9fd0d1a1/attachment-0001.patch>


More information about the Pkg-chromium-maint mailing list