Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41885 - request: add SMP USE flag to GIMP ebuild
Summary: request: add SMP USE flag to GIMP ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Lowest enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 58197 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-17 04:05 UTC by Peter Gantner (a.k.a. nephros)
Modified: 2005-05-23 18:12 UTC (History)
2 users (show)

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


Attachments
add smp use flag to 2.0_pre3-r1 ebuild (gimp_smp.patch,600 bytes, patch)
2004-02-17 04:07 UTC, Peter Gantner (a.k.a. nephros)
Details | Diff
adds local "smp" USE flag 2.2.6-r1 (gimp-2.2.6-r1.ebuild.diff,825 bytes, patch)
2005-05-11 15:41 UTC, Phill
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Gantner (a.k.a. nephros) 2004-02-17 04:05:56 UTC
The Gimp has a compile-time option to enable some optimisations for SMP systems.
(configure --with-mp)
I've been running gimp versions 1.3through 2.0preX with this enabled without any problems.
Would it be possible to add this as a USE flag? The ebuild even has a FIXME suggesting such additions. I suggest either a new "smp" local flag, or the existing "threads" USE flag for this.

Attached a small patch which does this for the 2.0pre3-r1 ebuild

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Peter Gantner (a.k.a. nephros) 2004-02-17 04:07:05 UTC
Created attachment 25757 [details, diff]
add smp use flag to 2.0_pre3-r1 ebuild
Comment 2 foser (RETIRED) gentoo-dev 2004-02-22 06:29:09 UTC
I think this came up before and some devs argued that this should be detected at compile time, this should be re-discussed. Using the threads flag is a bad idea i think.
Comment 3 Henrik Brix Andersen 2004-09-05 04:40:17 UTC
*** Bug 58197 has been marked as a duplicate of this bug. ***
Comment 4 Phill 2005-05-11 15:41:32 UTC
Created attachment 58700 [details, diff]
adds local "smp" USE flag 2.2.6-r1

This one works with the 2.2.6-r1 ebuild.  I don't think the --enable-mp option
is auto-detected.  I used EXTRA_CONF for this before.  This would be a usefull
flag to have on the gimp or even as a global now with the advent of dual core
cpus.
Comment 5 John N. Laliberte (RETIRED) gentoo-dev 2005-05-23 18:12:29 UTC
I'm closing 9 bugs at once, since these bugs should be fixed in my 2.2.7 ebuild
of the gimp.  ( just committed to the unstable tree ) If you find that your bug
was not fixed in the 2.2.7 ebuild, please open a new bug with what it is or is
not still doing.

Thanks for the attachments and comment, they helped!