Excellent. I currently use ImageMagick to pop up image views, but I've been looking for a method that uses a less "70's, Xerox" looking GUI and allows me to have a more minimal and aesthetic interface matching my carefully selected themes and already installed libraries, so gtkimageview caught my eye. Yes, it may be that few are interested, but those who are, are very interested. Thanks for locating and solving some potential "gotchas."
On Fri, Aug 12, 2016 at 12:00 PM, < [email protected]> wrote: > Send blfs-support mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.linuxfromscratch.org/listinfo/blfs-support > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of blfs-support digest..." > > > Today's Topics: > > 1. gtkimageview-1.6.4, gold, binutils-2.27 and glibc-2.24 > (Ken Moffat) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 12 Aug 2016 00:23:05 +0100 > From: Ken Moffat <[email protected]> > To: [email protected] > Subject: [blfs-support] gtkimageview-1.6.4, gold, binutils-2.27 and > glibc-2.24 > Message-ID: <[email protected]> > Content-Type: text/plain; charset=utf-8 > > I imagine few people here will care about gtkimageview, but I need > it for ufraw. And I've gone back to using the gold linker "because > everything seemed to be too easy". I'm documenting this here so > that google can find it the next time somebody hits this. > > When I first used gold in the early part of this year, I had to use > two seds : the first is because a function in gdk_pixbuf is now > deprecated - > > sed -i -e '/CFLAGS/s/-Werror //g' configure.in > > The second, which worked with e.g. binutils-2.26 and glibc-2.23, is > because gold doesn't go out of its way to find symbols in another > library used by a library you link to (see e.g. > https://wiki.debian.org/ToolChain/DSOLinking) - > > sed -e '/libtest.la/s:$: -lm:g' -i tests/Makefile.in > > (That was based on the rather more complex fix used by gentoo, which > needed old versions of autotools if my memory serves) > > But with gold from 2.27 and glibc 2.24 I was back to: > > mkdir .libs > gcc -O2 -Wall -std=c99 -Wmissing-prototypes -o .libs/ex-abssize > ex-abssize.o ../src/.libs/libgtkimageview.so > ./testlib/.libs/libtest.a -lgtk-x11-2.0 -lgdk-x11-2.0 > -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 > -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig > -lfreetype -lm -Wl,--rpath -Wl,/usr/lib > ../src/.libs/libgtkimageview.so: error: undefined reference to > 'ceil' > collect2: error: ld returned 1 exit status > > In the end, changing the sed fixed this but it took me ages to > figure it out (the order of libraries is important), I'm now using > > sed -e 's%\(./testlib/libtest.la\)%-lm \1%' -i tests/Makefile.in > > to put libm earlier in the link. > > ĸen > -- > `I shall take my mountains', said Lu-Tze. `The climate will be good > for them.' -- Small Gods > > > ------------------------------ > > Subject: Digest Footer > > -- > http://lists.linuxfromscratch.org/listinfo/blfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page > > > ------------------------------ > > End of blfs-support Digest, Vol 612, Issue 1 > ******************************************** >
-- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
