LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-20-2017, 07:46 PM   #1
zakame
Member
 
Registered: Apr 2012
Distribution: Debian, Ubuntu, Slackware
Posts: 237

Rep: Reputation: 141Reputation: 141
gdk-pixbuf and multilib -current


Just putting up attention once more to

https://www.linuxquestions.org/quest...ml#post5718848

Quote:
The update-gdk-query-pixbuf loaders (from gdk-pixbuf{,-compat32} package) may need some update, apparently gtk+2.0 no longer ships config for multilib (e.g. /etc/gtk-2.0/i?86*.) Related to https://www.linuxquestions.org/quest...ml#post5297526. Ran into this while investigating why my Steam tray icon suddenly became missing earlier...

Also, it would seem that the update-pango-querymodules script is gone now in pango-1.40?
especially requesting to apply the patch from SeB:

https://www.linuxquestions.org/quest...ml#post5297625

Code:
--- /usr/bin/update-gdk-pixbuf-loaders.bak      2015-01-08 14:41:25.004142561 +0100
+++ /usr/bin/update-gdk-pixbuf-loaders  2015-01-08 14:45:06.497152444 +0100
@@ -20,18 +20,12 @@
      fi
      /usr/bin/gdk-pixbuf-query-loaders-64 --update-cache
      # Check for x86_64 multilib:
-     if ls -d /etc/gtk-2.0/i?86* 1> /dev/null 2> /dev/null ; then
-       for d in $(ls -d /etc/pango/i?86*); do
-         mlhost=$(basename $d)
-         break
-       done
-       if [ -x /usr/bin/gdk-pixbuf-query-loaders-32 ]; then
-         if [ "$1" = "--verbose" ]; then
-           echo "Updating gdk-pixbuf.loaders for ${mlhost}:"
-           echo "  /usr/bin/gdk-pixbuf-query-loaders-32 --update-cache"
-         fi
-         /usr/bin/gdk-pixbuf-query-loaders-32 --update-cache
+     if [ -x /usr/bin/gdk-pixbuf-query-loaders-32 ]; then
+       if [ "$1" = "--verbose" ]; then
+         echo "Updating gdk-pixbuf.loaders for 32-bit:"
+         echo "  /usr/bin/gdk-pixbuf-query-loaders-32 --update-cache"
        fi
+       /usr/bin/gdk-pixbuf-query-loaders-32 --update-cache
      fi
    else
      if [ "$1" = "--verbose" ]; then
Thanks!
 
Old 07-22-2017, 06:50 AM   #2
Nille_kungen
Member
 
Registered: Jul 2005
Posts: 459

Rep: Reputation: 147Reputation: 147
+1 from me.
I had problems with pixbuf on multilib as well.
http://www.linuxquestions.org/questi...og-4175597415/
 
Old 07-23-2017, 06:39 PM   #3
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.2 Slackware 14.2, Slackware{32,64}-current
Posts: 834
Blog Entries: 5

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
Not just in -current. In my Slackware64-14.2 multilib /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache went missing recently due to an update (I handn't noticed the earlier posts on LQ). I only noticed because of Steam kicked an error and was missing the system tray icon.

also, '--update-cache' didn't work since loaders.cache was missing. We may need top add logic to test for the existence of 'loaders.cache' before trying to update and do a
Code:
# gdk-pixbuf-query-loaders-32 > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
if missing, for example.
 
Old 07-24-2017, 11:04 PM   #4
zakame
Member
 
Registered: Apr 2012
Distribution: Debian, Ubuntu, Slackware
Posts: 237

Original Poster
Rep: Reputation: 141Reputation: 141
Saw the update on -current:

Code:
l/gdk-pixbuf2-2.36.7-x86_64-2.txz: Rebuilt.
       Restored greyscale support. Thanks to brobr.
       Fixed handling cache updates on multilib. Thanks to SeB.
Thanks Slackware Team, and thanks SeB for the original patch!

Quote:
Originally Posted by kingbeowulf View Post
Not just in -current. In my Slackware64-14.2 multilib /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache went missing recently due to an update (I handn't noticed the earlier posts on LQ). I only noticed because of Steam kicked an error and was missing the system tray icon.

also, '--update-cache' didn't work since loaders.cache was missing. We may need top add logic to test for the existence of 'loaders.cache' before trying to update and do a
Code:
# gdk-pixbuf-query-loaders-32 > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
if missing, for example.
Yes, this should be a good improvement. Thanks!
 
Old 07-30-2017, 05:55 PM   #5
USUARIONUEVO
Member
 
Registered: Apr 2015
Posts: 878

Rep: Reputation: 270Reputation: 270Reputation: 270
14.2-stable , have the same problem.

If some one is on 14.2 + multilib , can replace /usr/bin/update-gdk-pixbuf-loaders , with the current script
http://slackware.cs.utah.edu/pub/sla...pixbuf-loaders


I hope offcial fix in 14.2 , but probably not, cause is a little problem , only for multilib users , and stable releases normally only get security fixes.
 
  


Reply

Tags
current, gdk_pixbuf, multilib


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 14.1 multilib Pcsxr gdk-pixbuf GreenFireFly Slackware 3 01-01-2014 12:48 AM
how to do unsharp masking in Gdk::Pixbuf gitanshu Programming 1 06-03-2009 09:21 AM
how to use gdk-pixbuf-csource?? sumitshining Programming 4 11-05-2008 08:18 AM
what package contains gdk-pixbuf-2.0 behmjose Linux - General 1 04-03-2004 06:20 PM
gdk-pixbuf update windsok Slackware 4 09-09-2003 02:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration