Bug 41885 - request: add SMP USE flag to GIMP ebuild
Bug#: 41885 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P5
Resolution: FIXED Assigned To: gnome@gentoo.org Reported By: gentoo@nephros.org
Component: Ebuilds
URL: 
Summary: request: add SMP USE flag to GIMP ebuild
Keywords:  
Status Whiteboard: 
Opened: 2004-02-17 04:05 0000
Description:   Opened: 2004-02-17 04:05 0000
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 From Peter Gantner (a.k.a. nephros) 2004-02-17 04:07:05 0000 -------
Created an attachment (id=25757) [details]
add smp use flag to 2.0_pre3-r1 ebuild

------- Comment #2 From foser (RETIRED) 2004-02-22 06:29:09 0000 -------
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 From Henrik Brix Andersen 2004-09-05 04:40:17 0000 -------
*** Bug 58197 has been marked as a duplicate of this bug. ***

------- Comment #4 From Phill 2005-05-11 15:41:32 0000 -------
Created an attachment (id=58700) [details]
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 From John N. Laliberte (RETIRED) 2005-05-23 18:12:29 0000 -------
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!