Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118311 - media-gfx/gtkam-0.1.14 version bump and --as-needed patch
Summary: media-gfx/gtkam-0.1.14 version bump and --as-needed patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://prdownloads.sourceforge.net/gp...
Whiteboard:
Keywords:
: 164168 (view as bug list)
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2006-01-08 11:03 UTC by Max
Modified: 2007-01-29 04:32 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gtkam-0.1.13.ebuild (gtkam-0.1.13-r1.ebuild,927 bytes, text/plain)
2006-11-20 09:31 UTC, Samuli Suominen (RETIRED)
Details
gtkam-0.1.12-asneeded.patch (gtkam-0.1.12-asneeded.patch,678 bytes, patch)
2006-12-02 12:05 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff
gtkam-0.1.13-asneeded.patch (gtkam-0.1.13-asneeded.patch,489 bytes, text/plain)
2006-12-02 12:59 UTC, Jory A. Pratt
Details
fix gtk errors with newer releases (gtkam-0.1.13-gtk.patch,880 bytes, text/plain)
2006-12-02 13:24 UTC, Jory A. Pratt
Details
ebuild with all patches applied (gtkam-0.1.13.ebuild,1.04 KB, text/plain)
2006-12-02 13:24 UTC, Jory A. Pratt
Details
media-gfx/gtkam-0.1.14.ebuild (gtkam-0.1.14.ebuild,1.01 KB, text/plain)
2007-01-01 02:18 UTC, Kalidarn
Details
gtkam-0.1.14-asneeded.patch (gtkam-0.1.14-asneeded.patch,489 bytes, patch)
2007-01-01 02:18 UTC, Kalidarn
Details | Diff
gtkam-0.1.14.ebuild (gtkam-0.1.14.ebuild,1.05 KB, text/plain)
2007-01-01 03:13 UTC, Samuli Suominen (RETIRED)
Details
gtkam-asneeded.patch (gtkam-asneeded.patch,489 bytes, patch)
2007-01-01 03:14 UTC, Samuli Suominen (RETIRED)
Details | Diff
gtkam-0.1.14.ebuild (gtkam-0.1.14.ebuild,1.06 KB, text/plain)
2007-01-01 03:21 UTC, Samuli Suominen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Max 2006-01-08 11:03:11 UTC
Please update the gtkam ebuild to 0.1.13.
Comment 1 John N. Laliberte (RETIRED) gentoo-dev 2006-01-15 05:21:12 UTC
reminder to myself to also bump libgphoto2 / gphoto doing this, since they also have revbumps.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2006-11-19 11:00:33 UTC
- 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)
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2006-11-20 09:31:04 UTC
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.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2006-11-20 09:32:24 UTC
TODO:

- Fix compilation with -Wl,--as-needed
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-02 12:05:56 UTC
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.
Comment 6 Jory A. Pratt 2006-12-02 12:59:13 UTC
Created attachment 103235 [details]
gtkam-0.1.13-asneeded.patch

Flameeyes patch which fixes as-needed issue.
Comment 7 Jory A. Pratt 2006-12-02 13:24:06 UTC
Created attachment 103238 [details]
fix gtk errors with newer releases

Simple diff to fix compile issues with latest gtk+-2
Comment 8 Jory A. Pratt 2006-12-02 13:24:54 UTC
Created attachment 103239 [details]
ebuild with all patches applied

Ebuild with modifications for the new patches.
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2006-12-02 20:33:23 UTC
--as-needed patch works and ebuild that it comes with
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2006-12-07 10:38:34 UTC
(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.
Comment 11 Kalidarn 2007-01-01 02:18:03 UTC
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.
Comment 12 Kalidarn 2007-01-01 02:18:52 UTC
Created attachment 105071 [details, diff]
gtkam-0.1.14-asneeded.patch
Comment 13 Samuli Suominen (RETIRED) gentoo-dev 2007-01-01 03:13:27 UTC
Created attachment 105074 [details]
gtkam-0.1.14.ebuild
Comment 14 Samuli Suominen (RETIRED) gentoo-dev 2007-01-01 03:14:29 UTC
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.
Comment 15 Samuli Suominen (RETIRED) gentoo-dev 2007-01-01 03:17:44 UTC
s/2006/2007 in header of ebuild. Happy new year to everyone! :-)
Comment 16 Samuli Suominen (RETIRED) gentoo-dev 2007-01-01 03:21:25 UTC
Created attachment 105077 [details]
gtkam-0.1.14.ebuild
Comment 17 Samuli Suominen (RETIRED) gentoo-dev 2007-01-01 03:28:04 UTC
use.local.desc:

media-gfx/gtkam:gimp - Build a plugin for the GIMP
Comment 18 Priit Laes (IRC: plaes) 2007-01-27 19:18:18 UTC
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'.
Comment 19 Jakub Moc (RETIRED) gentoo-dev 2007-01-28 08:37:41 UTC
*** Bug 164168 has been marked as a duplicate of this bug. ***
Comment 20 Saleem Abdulrasool (RETIRED) gentoo-dev 2007-01-29 04:32:32 UTC
bumped in portage