<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>41885</bug_id>
          
          <creation_ts>2004-02-17 04:05 0000</creation_ts>
          <short_desc>request: add SMP USE flag to GIMP ebuild</short_desc>
          <delta_ts>2005-05-23 18:12:29 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P5</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>gentoo@nephros.org</reporter>
          <assigned_to>gnome@gentoo.org</assigned_to>
          <cc>centic@gentoo.org</cc>
    
    <cc>sgtphou@fire-eyes.org</cc>

      

      
          <long_desc isprivate="0">
            <who>gentoo@nephros.org</who>
            <bug_when>2004-02-17 04:05:56 0000</bug_when>
            <thetext>The Gimp has a compile-time option to enable some optimisations for SMP systems.
(configure --with-mp)
I&apos;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 &quot;smp&quot; local flag, or the existing &quot;threads&quot; 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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@nephros.org</who>
            <bug_when>2004-02-17 04:07:05 0000</bug_when>
            <thetext>Created an attachment (id=25757)
add smp use flag to 2.0_pre3-r1 ebuild
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2004-02-22 06:29:09 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>henrik@brixandersen.dk</who>
            <bug_when>2004-09-05 04:40:17 0000</bug_when>
            <thetext>*** Bug 58197 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hoertp@yahoo.com</who>
            <bug_when>2005-05-11 15:41:32 0000</bug_when>
            <thetext>Created an attachment (id=58700)
adds local &quot;smp&quot; USE flag 2.2.6-r1

This one works with the 2.2.6-r1 ebuild.  I don&apos;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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>allanonjl@gentoo.org</who>
            <bug_when>2005-05-23 18:12:29 0000</bug_when>
            <thetext>I&apos;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!</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>25757</attachid>
            <date>2004-02-17 04:07 0000</date>
            <desc>add smp use flag to 2.0_pre3-r1 ebuild</desc>
            <filename>gimp_smp.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGdpbXAtMi4wX3ByZTMtcjEuZWJ1aWxkLm9yaWcJMjAwNC0wMi0xNyAxMzowMToyMy44Mjcz
NjMzNTAgKzAxMDAKKysrIGdpbXAtMi4wX3ByZTMtcjEuZWJ1aWxkCTIwMDQtMDItMTcgMTI6NDQ6
NDguNDg4MDMyOTA2ICswMTAwCkBAIC0xNSw3ICsxNSw3IEBACiBTTE9UPSIyIgogTElDRU5TRT0i
R1BMLTIiCiBLRVlXT1JEUz0ifng4NiB+cHBjIH5ocHBhIH5zcGFyYyIKLUlVU0U9ImRvYyBweXRo
b24gYWFsaWIgcG5nIGpwZWcgdGlmZiB3bWYgZ2ltcHByaW50IGd0a2h0bWwgbW14IHNzZSBYIGFs
dGl2ZWMiCitJVVNFPSJkb2MgcHl0aG9uIGFhbGliIHBuZyBqcGVnIHRpZmYgd21mIGdpbXBwcmlu
dCBndGtodG1sIG1teCBzc2UgWCBhbHRpdmVjIHNtcCIKIAogIyBGSVhNRSA6IHNvbWUgbW9yZSB0
aGluZ3MgY2FuIGJlIChsb2NhbCkgVVNFIGZsYWdnZWQKIApAQCAtOTAsNiArOTAsNyBAQAogCQlg
dXNlX3dpdGgganBlZyBsaWJleGlmYCBcCiAJCWB1c2Vfd2l0aCB0aWZmIGxpYnRpZmZgIFwKIAkJ
YHVzZV93aXRoIGFhbGliIGFhYCBcCisJCWB1c2Vfd2l0aCBzbXAgbXBgIFwKIAkJLS1lbmFibGUt
ZGVidWcgfHwgZGllCiAKIAllbWFrZSB8fCBkaWUK
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>58700</attachid>
            <date>2005-05-11 15:41 0000</date>
            <desc>adds local &quot;smp&quot; USE flag 2.2.6-r1</desc>
            <filename>gimp-2.2.6-r1.ebuild.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGdpbXAtMi4yLjYtcjEuZWJ1aWxkLm9yaWcJMjAwNS0wNS0xMSAxMjoxMDo0MS4wMDAwMDAw
MDAgLTA1MDAKKysrIGdpbXAtMi4yLjYtcjEuZWJ1aWxkCTIwMDUtMDUtMTEgMTI6MTA6MDYuMDAw
MDAwMDAwIC0wNTAwCkBAIC0xNiw3ICsxNiw3IEBACiBTTE9UPSIyIgogS0VZV09SRFM9Ing4NiB+
cHBjIH5ocHBhIHNwYXJjIH5hbWQ2NCB+bWlwcyB+cHBjNjQgfmFsc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