Bug 124338 - media-gfx/gimmage ebuild requires higher gtkmm dependency.
Bug#: 124338 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: reb@gentoo.org Reported By: bugs.gentoo.org@fentrax.com
Component: Ebuilds
URL: 
Summary: media-gfx/gimmage ebuild requires higher gtkmm dependency.
Keywords:  
Status Whiteboard: 
Opened: 2006-02-27 18:41 0000
Description:   Opened: 2006-02-27 18:41 0000
The ebuild for gimmage, as it currently stands, does not specify the needed
version of gtkmm to compile succesfully. 

Stable ebuilds for gtkmm prior to 2.8.1 do not include and build the iconview
functionality needed by gimmage.

The DEPEND line of gimmage should be updated to reflect the minimum required
version of gtkmm -- I upgraded to 2.8.1, and compiled and ran gimmage
succesfully, so am suggesting the following modification:

DEPEND=">=dev-cpp/gtkmm-2.8.1
        net-misc/curl
        sys-apps/file"

------- Comment #1 From Jesse Hallam 2006-02-27 18:43:58 0000 -------
Created an attachment (id=80876) [details]
A diff output of the needed changes to the ebuild.

------- Comment #2 From Marcelo Goes 2006-02-28 15:41:26 0000 -------
Well, I just tested with =gtkmm-2.8.0 and =gtkmm-2.6.5 and both times gimmage
compiled fine. Can you point out a specific version that is known to be broken
with gimmage?

------- Comment #3 From Jesse Hallam 2006-02-28 16:33:10 0000 -------
This being my first bug report, I must admit I haven't explained or researched
quite as thoroughly as I should.

The only stable version prior to gtkmm-2.8.1 is gtkmm-2.4.11 -- attempting to
compile gimmage from this version produces the error:

>>> Compiling source in /var/tmp/portage/gimmage-0.1.8/work/gimmage-0.1.8 ...
g++ -O2 -lcurl -lmagic `pkg-config gtkmm-2.4 --libs --cflags` \
       -march=athlon64 -O2 -pipe AppWindow.cpp ImageEventBox.cpp main.cpp \
        FileManager.cpp SaveDialog.cpp SaveErrorDialog.cpp -o gimmage
In file included from AppWindow.cpp:31:
AppWindow.h:35:28: gtkmm/iconview.h: No such file or directory

Upgrading to the latest stable version, gtkmm-2.8.1, resolves this problem. It
did not occur to me to suggest requiring the 'least' working gtkmm, stable or
not. As you were successfully able to compile gimmage from gtkmm-2.6.5, I
further tested and determined that the functionality of iconview was introduced
in the branch to gtkmm-2.6.

Also, the above error dissappears after upgrading from gtkmm-2.4.11 to
gtkm-2.6.2.

See updated, recommended diff attachment.

------- Comment #4 From Jesse Hallam 2006-02-28 16:35:08 0000 -------
Created an attachment (id=81002) [details]
An updated update to the diff patch required to correct the ebuild.

------- Comment #5 From Marcelo Goes 2006-02-28 17:28:04 0000 -------
Hi,

Cool, same thing here. Your fix is in cvs, thanks!
Karol: simple fix, I hope you don't mind.

Cheers