Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228337 - improved ebuild for media-gfx/gimp
Summary: improved ebuild for media-gfx/gimp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-19 12:36 UTC by Rémi Cardona (RETIRED)
Modified: 2008-06-21 18:50 UTC (History)
1 user (show)

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


Attachments
patch to improve media-gfx/gimp-2.4.6 (patch,3.10 KB, patch)
2008-06-19 12:38 UTC, Rémi Cardona (RETIRED)
Details | Diff
patch to improve media-gfx/gimp-2.4.6 (take 2) (patch,3.27 KB, patch)
2008-06-19 12:55 UTC, Rémi Cardona (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rémi Cardona (RETIRED) gentoo-dev 2008-06-19 12:36:16 UTC
Hi Hanno,

I installed gimp a couple days ago and I noticed that the Gnome menu entry didn't have any icon displayed. Digging a little deeper, I realized that the .desktop entry was 100% valid, that icon was good too, but just that the gimp ebuild did not run gtk-update-icon-cache at the end.

Opening up the ebuild, I just found out that gimp just didn't use the gnome2 eclass. So here's a patch for the 2.4.6 ebuild that "should" (I feel confident about the patch but I may have overlooked something) do _exactly_ what the old ebuild did, but using the gnome2 eclass, thus running the gtk-update-icon-cache at the end.
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2008-06-19 12:38:30 UTC
Created attachment 157607 [details, diff]
patch to improve media-gfx/gimp-2.4.6
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2008-06-19 12:40:16 UTC
Oh and btw, ./configure complains about non supported options, but it did even before I made my changes. There might be some more stuff to clean up in that area.
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2008-06-19 12:55:24 UTC
Created attachment 157613 [details, diff]
patch to improve media-gfx/gimp-2.4.6 (take 2)

An even better patch that removes the handling of USE=doc and debug as they are both taken care of by the eclass.

And for the record, here's what configure says about the wrong options :

configure: WARNING: Unrecognized options: --without-curl, --with-hal, --without-wmf
Comment 4 Hanno Böck gentoo-dev 2008-06-21 18:50:59 UTC
I've applied that. For the unrecognized options, curl was fixable, while for hal and wmf, they seem to be autodetected (bad behaviour).