GNOME Bugzilla – Bug 672792
Also try gdk-pixbuf-query-loaders-64 when searching for query-loaders
Last modified: 2013-11-12 03:09:34 UTC
Created attachment 210556 [details] [review] Also try gdk-pixbuf-query-loaders-64 when searching for query-loaders On some distro's the -64 suffix is added on x86_64.
Please commit to master. (Build fix only, so not affected by freeze.)
Committed. In future, please attach patchs in git format-patch format which makes applying them much easier.
This patch sometimes finds the wrong query-loader. If you are on say centos (which has the -64 in /usr/bin), and are building your own version of librsvg, with also newer version of gdk-pixbuf (which doesn't build the -64), then it always finds the -64 which is the wrong one. So then wrong query loader configures the wrong loaders. Cameron
Would reordering the list so that the unsuffixed one is looked for first fix this?
For me it would, but I can also imagine that the reverse is true for someone else. Option a: Look along the path... PATH=/home/rsvg/bin:/usr/bin LOADERS=gdk-pixbuf-query-loaders-64,gdk-pixbuf-query-loaders-32,gdk-pixbuf-query-loaders look in this order: /home/rsvg/bin/gdk-pixbuf-query-loaders-64 /home/rsvg/bin/gdk-pixbuf-query-loaders-32 /home/rsvg/bin/gdk-pixbuf-query-loaders /usr/bin/gdk-pixbuf-query-loaders-64 /usr/bin/gdk-pixbuf-query-loaders-32 /usr/bin/gdk-pixbuf-query-loaders Option b: probably much better. Only look in the directory specified in lib/pgkconfig/gdk-pixbuf-2.0.pc ${exec_prefix}/bin/gdk-pixbuf-query-loaders-64 ${exec_prefix}/bin/gdk-pixbuf-query-loaders-32 ${exec_prefix}/bin/gdk-pixbuf-query-loaders Cameron