Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124338 - media-gfx/gimmage ebuild requires higher gtkmm dependency.
Summary: media-gfx/gimmage ebuild requires higher gtkmm dependency.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Karol Pasternak (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-27 18:41 UTC by Jesse Hallam
Modified: 2006-02-28 17:28 UTC (History)
1 user (show)

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


Attachments
A diff output of the needed changes to the ebuild. (gimmage-dependency-update.patch,66 bytes, patch)
2006-02-27 18:43 UTC, Jesse Hallam
Details | Diff
An updated update to the diff patch required to correct the ebuild. (diff,66 bytes, patch)
2006-02-28 16:35 UTC, Jesse Hallam
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Hallam 2006-02-27 18:41:20 UTC
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 Jesse Hallam 2006-02-27 18:43:58 UTC
Created attachment 80876 [details, diff]
A diff output of the needed changes to the ebuild.
Comment 2 Marcelo Goes (RETIRED) gentoo-dev 2006-02-28 15:41:26 UTC
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 Jesse Hallam 2006-02-28 16:33:10 UTC
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 Jesse Hallam 2006-02-28 16:35:08 UTC
Created attachment 81002 [details, diff]
An updated update to the diff patch required to correct the ebuild.
Comment 5 Marcelo Goes (RETIRED) gentoo-dev 2006-02-28 17:28:04 UTC
Hi,

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

Cheers