handbrake 0.10 large icons

On the newest handbrake version (0.10) on openSUSE 13.2 the icons are really big as you can see here:http://paste.opensuse.org/12055177
I found the same issue on arch linux forums: https://bbs.archlinux.org/viewtopic.php?id=190310
and their solution is to replace this line

gtk-update-icon-cache -q -t -f usr/share/icons/hicolor

with this

gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor

in the install script.

So I downloaded the src.rpm from packman but I didn’t find anything like this in the .spec file
and my skills on building rpms are really limited.

Any solution?

On Wed 21 Jan 2015 02:26:02 PM CST, ntasos wrote:

On the newest handbrake version (0.10) on openSUSE 13.2 the icons are
really big as you can see here:SUSE Paste
I found the same issue on arch linux forums:
[SOLVED] KDE4: new handbrake version(0.10.0.1) big icons. / Applications & Desktop Environments / Arch Linux Forums
and their solution is to replace this line

Code:

gtk-update-icon-cache -q -t -f usr/share/icons/hicolor

with this

Code:

gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor

in the install script.

So I downloaded the src.rpm from packman but I didn’t find anything like
this in the .spec file
and my skills on building rpms are really limited.

Any solution?

Hi
Normally it’s done via an rpm macro;
https://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros#.25icon_theme_cache_post_.2F_.25icon_theme_cache_postun

If you look at the spec file the cache file is removed and not run
because gtk may not be present. I’m guessing your on KDE? Just run the
command manually?


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.32-33-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Yes I’m on KDE and there is a line in the spec to remove the cache

%__rm -f "%{buildroot}%{_datadir}/icons"/*/*.cache

But running the command didn’t make any difference :X

sudo gtk-update-icon-cache  -t -f /usr/share/icons/hicolor
root's password:
gtk-update-icon-cache: Cache file created successfully.

On Wed 21 Jan 2015 03:36:02 PM CST, ntasos wrote:

malcolmlewis;2690499 Wrote:
> Hi
> Normally it’s done via an rpm macro;
> openSUSE:Packaging Conventions RPM Macros - openSUSE Wiki
>
> If you look at the spec file the cache file is removed and not run
> because gtk may not be present. I’m guessing your on KDE? Just run the
> command manually?

Yes I’m on KDE and there is a line in the spec to remove the cache

Code:

%__rm -f “%{buildroot}%{_datadir}/icons”//.cache

But running the command didn’t make any difference :X

Code:

sudo gtk-update-icon-cache -t -f /usr/share/icons/hicolor
root’s password:
gtk-update-icon-cache: Cache file created successfully.

Hi
Well those icons and sizes (64x64) are compiled into handbrake, it’s
only the hb-icon.svg that gets resized and installed
in /usr/share/icons/hicolor.

Seems it’s as designed, I don’t see the error either that you linked to
when run through gdb.

You could ask the folks at packman or upstream if they can modify then
to something smaller?


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.32-33-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

That’s what I thought after looking into the rpms
But a google search for handrake 0.10 shows pictures with normal sized icons.

I should probably ask the handbrake devs.
Thanks