Please update the gtkam ebuild to 0.1.13.
reminder to myself to also bump libgphoto2 / gphoto doing this, since they also have revbumps.
- It won't compile with -Wl,--as-needed because it loses -lgphoto2 at the process. - USE="exif" shouldn't be there since it's not --enable-exif or --disable-exif but in fact --use-with-libexif=no and --use-with-libexif-gtk=no. But if you do this, it won't even go thru ./configure process because those are needed. - Also patch fixing .desktop file seems to be allready fixed in this release, haven't checked other patches (except that they don't apply)
Created attachment 102412 [details] gtkam-0.1.13.ebuild - Fixed DOCS, old one had files that are not there and some missing. - Patches are deprecated. Removed them, with src_unpack() and inherit eclass. - Removed USE="exif" as it didn't actually do anything. - Added USE="gimp" to install plug-in.
TODO: - Fix compilation with -Wl,--as-needed
Created attachment 103233 [details, diff] gtkam-0.1.12-asneeded.patch This patch should fix the breakage with --as-needed, but I cannot test as automake fails badly.
Created attachment 103235 [details] gtkam-0.1.13-asneeded.patch Flameeyes patch which fixes as-needed issue.
Created attachment 103238 [details] fix gtk errors with newer releases Simple diff to fix compile issues with latest gtk+-2
Created attachment 103239 [details] ebuild with all patches applied Ebuild with modifications for the new patches.
--as-needed patch works and ebuild that it comes with
(In reply to comment #8) > Created an attachment (id=103239) [edit] > ebuild with all patches applied > > Ebuild with modifications for the new patches. > I believe you need WANT_AUTOCONF="latest" and WANT_AUTOMAKE="latest" before inherit line when using autotools.. eautomake.
Created attachment 105070 [details] media-gfx/gtkam-0.1.14.ebuild New version. Removed gtk patch, as it's no longer needed. Didn't see any warnings, so I assume it has been integrated into this latest version as the developer did with other dependencies of this project.
Created attachment 105071 [details, diff] gtkam-0.1.14-asneeded.patch
Created attachment 105074 [details] gtkam-0.1.14.ebuild
Created attachment 105076 [details, diff] gtkam-asneeded.patch Changed from ${P} to ${PN} because it's been broken in several versions. Let's not duplicate patches.
s/2006/2007 in header of ebuild. Happy new year to everyone! :-)
Created attachment 105077 [details] gtkam-0.1.14.ebuild
use.local.desc: media-gfx/gtkam:gimp - Build a plugin for the GIMP
Still fails for me with --as-needed:( i686-pc-linux-gnu-gcc -O2 -march=pentium-m -g -ggdb -pipe -Wl,--as-needed -Wall -g -Wl,--as-needed -o gtkam-gimp gtkam_gimp-gtkam-gimp.o -pthread -pthread /usr/lib/libgimpui-2.0.so /usr/lib/libgimpwidgets-2.0.so /usr/lib/libgimpmodule-2.0.so /usr/lib/libgimp-2.0.so /usr/lib/libgimpmath-2.0.so /usr/lib/libgimpconfig-2.0.so /usr/lib/libgimpcolor-2.0.so /usr/lib/libgimpbase-2.0.so /usr/lib/libexif-gtk.so /usr/lib/libgphoto2.so /usr/lib/libgphoto2_port.so /usr/lib/libexif.so /usr/lib/libusb.so /usr/lib/libgnomeui-2.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libbonoboui-2.so /usr/lib/libgnomevfs-2.so /usr/lib/libgnome-keyring.so /usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libpopt.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libbonobo-2.so /usr/lib/libbonobo-activation.so /usr/lib/libgconf-2.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libORBit-2.so /usr/lib/libgthread-2.0.so -lrt /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so libgtkam.a libgtkam.a(libgtkam_a-gtkam-list.o): In function `on_view_as_activate': /var/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:496: undefined reference to `CORBA_exception_init' /var/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:497: undefined reference to `bonobo_get_object' /var/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:504: undefined reference to `bonobo_window_new' /var/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:505: undefined reference to `bonobo_widget_new_control_from_objref' /var/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:507: undefined reference to `bonobo_window_get_type' /var/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:507: undefined reference to `bonobo_window_set_contents' /var/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:521: undefined reference to `CORBA_exception_init' /var/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:522: undefined reference to `Bonobo_Unknown_queryInterface' /var/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:534: undefined reference to `CORBA_exception_free' /var/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:499: undefined reference to `CORBA_exception_free' /var/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:527: undefined reference to `bonobo_stream_mem_create' /var/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:529: undefined reference to `bonobo_object_corba_objref' /var/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:529: undefined reference to `Bonobo_PersistStream_load' /var/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:532: undefined reference to `bonobo_object_release_unref' libgtkam.a(libgtkam_a-gtkam-list.o): In function `on_button_press_event': /var/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:606: undefined reference to `CORBA_exception_init' /var/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:610: undefined reference to `bonobo_activation_query' /var/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:612: undefined reference to `CORBA_exception_free' /var/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:622: undefined reference to `bonobo_server_info_prop_lookup' /var/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:645: undefined reference to `CORBA_free' libgtkam.a(libgtkam_a-gtkam-exif.o): In function `gtkam_exif_new': /var/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-exif.c:185: undefined reference to `gtk_exif_browser_new' /var/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-exif.c:186: undefined reference to `gtk_exif_browser_get_type' /var/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-exif.c:186: undefined reference to `gtk_exif_browser_set_data' collect2: ld returned 1 exit status distcc[8694] ERROR: compile (null) on localhost failed make[2]: *** [gtkam-gimp] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14' make: *** [all] Error 2 !!! ERROR: media-gfx/gtkam-0.1.14 failed. Call stack: ebuild.sh, line 1611: Called dyn_compile ebuild.sh, line 968: Called qa_call 'src_compile' environment, line 3618: Called src_compile ebuild.sh, line 1301: Called gnome2_src_compile gnome2.eclass, line 71: Called die !!! compile failure !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/media-gfx/gtkam-0.1.14/temp/build.log'.
*** Bug 164168 has been marked as a duplicate of this bug. ***
bumped in portage