<?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>186750</bug_id>
          
          <creation_ts>2007-07-27 06:37 0000</creation_ts>
          <short_desc>mozilla-firefox/xulrunner ebuilds sed substitution of wrong file</short_desc>
          <delta_ts>2007-10-22 14:35:50 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>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>wuno@lsvw.de</reporter>
          <assigned_to>mozilla@gentoo.org</assigned_to>
          <cc>jakub@gentoo.org</cc>
    
    <cc>polynomial-c@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>wuno@lsvw.de</who>
            <bug_when>2007-07-27 06:37:10 0000</bug_when>
            <thetext>type about:buildconfig in mozilla-firefox or epiphany built on xulrunner, you&apos;ll see
-Wno-non-virtual-dtor -Wno-long-long -march=athlon64 -pipe -fPIC -Wno-return-type -w -fshort-wchar -pthread -pipe -DARON_WAS_HERE  &lt;---
same in seamonkey
Wno-non-virtual-dtor -Wno-long-long -march=athlon64 -pipe -fPIC -Wno-return-type -w -fshort-wchar -pthread -pipe -DGENTOO_NSPLUGINS_DIR=\&quot;/usr/lib64/nsplugins\&quot; -DGENTOO_NSBROWSER_PLUGINS_DIR=\&quot;/usr/lib64/nsbrowser/plugins\&quot;  &lt;---

The reason is that we substitute the seamonkey builconfig.html residing in xpfe also in mozilla-firefox and xulrunner ebuilds.
However, there is a second buildconfig.html in toolkit/content that is the correct one for toolkit applications like mozilla-firefox and xulrunner
patch for the ebuild to follow

Reproducible: Always</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wuno@lsvw.de</who>
            <bug_when>2007-07-27 06:38:23 0000</bug_when>
            <thetext>Created an attachment (id=126107)
mozilla-firefox-2.0.0.5.ebuild patch

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wuno@lsvw.de</who>
            <bug_when>2007-07-27 06:39:00 0000</bug_when>
            <thetext>Created an attachment (id=126108)
xulrunner-1.8.1.5 patch

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-07-27 06:47:48 0000</bug_when>
            <thetext>Hmmm? What&apos;s exactly wrong with that?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wuno@lsvw.de</who>
            <bug_when>2007-07-27 15:40:58 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; Hmmm? What&apos;s exactly wrong with that?
&gt; 
For some problems with econf the define -DGENTOO_NSPLUGINS_DIR=\&quot;/usr/lib64/nsplugins\&quot; cannot be used during configuring, therefor the placeholder -DARON_WAS_HERE is used, that becomes substituted by sed during compile time. In case of mozilla-firefox and xulrunner we have to do the substition in buildconfig.html in the toolkit/content directory and not in the xpfe/global directory. The latter is for seamonkey. When we do the substitution in the correct file, we see also in mozilla-firefox or xulrunner embedded browsers in about:buildconfig -DGENTOO_NSPLUGINS_DIR=\&quot;/usr/lib64/nsplugins\&quot;
-DGENTOO_NSBROWSER_PLUGINS_DIR=\&quot;/usr/lib64/nsbrowser/plugins\&quot; and not -DARON_WAS_HERE
Of course, this is only cosmetics, therefore of only minor severity but its easy to fix.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wuno@lsvw.de</who>
            <bug_when>2007-09-20 06:50:48 0000</bug_when>
            <thetext>changing Summary to be more precise</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>armin76@gentoo.org</who>
            <bug_when>2007-10-21 20:53:10 0000</bug_when>
            <thetext>Fixed on firefox, seamonkey, and xulrunner, i&apos;ll leave this bug open so i don&apos;t forget about thunderbird

Thanks</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wuno@lsvw.de</who>
            <bug_when>2007-10-21 21:13:30 0000</bug_when>
            <thetext>(In reply to comment #6)
&gt; Fixed on firefox, seamonkey, and xulrunner, i&apos;ll leave this bug open so i don&apos;t
&gt; forget about thunderbird
&gt; 
&gt; Thanks
&gt; 

Thanks for fixing this, however I didn&apos;t post a patch for Seamonkey as in this particular case 
${S}/xpfe/global/buildconfig.html
was correct.
For thunderbird we won&apos;t need a fix as we don&apos;t support plugins.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>polynomial-c@gentoo.org</who>
            <bug_when>2007-10-22 07:26:43 0000</bug_when>
            <thetext>Yes, this change should be reverted in seamonkey ebuilds until seamonkey-2.0 is out which will use toolkit as well...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>armin76@gentoo.org</who>
            <bug_when>2007-10-22 09:38:45 0000</bug_when>
            <thetext>Okay, all done then.

Thanks</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wuno@lsvw.de</who>
            <bug_when>2007-10-22 14:22:36 0000</bug_when>
            <thetext>(In reply to comment #9)
&gt; Okay, all done then.
&gt; 
&gt; Thanks
&gt; 

Sorry to bother again, the correct substitution for firefox and xulrunner is /toolkit/content/ not /toolkit/global/ as it&apos;s now in the new ebuilds.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>armin76@gentoo.org</who>
            <bug_when>2007-10-22 14:35:50 0000</bug_when>
            <thetext>Fixed again, thanks, sorry for making mistakes, my head fails a bit :)</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>126107</attachid>
            <date>2007-07-27 06:38 0000</date>
            <desc>mozilla-firefox-2.0.0.5.ebuild patch</desc>
            <filename>ffebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIG1vemlsbGEtZmlyZWZveC0yLjAuMC41LmVidWlsZAkyMDA3LTA3LTI2IDE4OjM2OjExLjAw
MDAwMDAwMCArMDIwMAorKysgbW96aWxsYS1maXJlZm94LTIuMC4wLjUuZWJ1aWxkCTIwMDctMDct
MjcgMDg6MjY6MzMuMDAwMDAwMDAwICswMjAwCkBAIC0xODUsNyArMTg1LDcgQEAKIAlzZWQgLWkg
LWUgXAogCQknc3wtREFST05fV0FTX0hFUkV8LURHRU5UT09fTlNQTFVHSU5TX0RJUj1cXFwiL3Vz
ci8nIiQoZ2V0X2xpYmRpcikiJy9uc3BsdWdpbnNcXFwiIC1ER0VOVE9PX05TQlJPV1NFUl9QTFVH
SU5TX0RJUj1cXFwiL3Vzci8nIiQoZ2V0X2xpYmRpcikiJy9uc2Jyb3dzZXIvcGx1Z2luc1xcXCJ8
JyBcCiAJCSR7U30vY29uZmlnL2F1dG9jb25mLm1rIFwKLQkJJHtTfS94cGZlL2dsb2JhbC9idWls
ZGNvbmZpZy5odG1sCisJCSR7U30vdG9vbGtpdC9jb250ZW50L2J1aWxkY29uZmlnLmh0bWwKIAog
CSMgVGhpcyByZW1vdmVzIGV4dHJhbmVvdXMgQ0ZMQUdTIGZyb20gdGhlIE1ha2VmaWxlcyB0byBy
ZWR1Y2UgUkFNCiAJIyByZXF1aXJlbWVudHMgd2hpbGUgY29tcGlsaW5nCg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>126108</attachid>
            <date>2007-07-27 06:39 0000</date>
            <desc>xulrunner-1.8.1.5 patch</desc>
            <filename>xulrebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHh1bHJ1bm5lci0xLjguMS41LmVidWlsZAkyMDA3LTA3LTI0IDE4OjA1OjU5LjAwMDAwMDAw
MCArMDIwMAorKysgeHVscnVubmVyLTEuOC4xLjUuZWJ1aWxkCTIwMDctMDctMjcgMDg6Mjc6MTIu
MDAwMDAwMDAwICswMjAwCkBAIC0xMDcsNyArMTA3LDcgQEAKIAlzZWQgLWkgLWUgXAogCQknc3wt
REFST05fV0FTX0hFUkV8LURHRU5UT09fTlNQTFVHSU5TX0RJUj1cXFwiL3Vzci8nIiQoZ2V0X2xp
YmRpcikiJy9uc3BsdWdpbnNcXFwiIC1ER0VOVE9PX05TQlJPV1NFUl9QTFVHSU5TX0RJUj1cXFwi
L3Vzci8nIiQoZ2V0X2xpYmRpcikiJy9uc2Jyb3dzZXIvcGx1Z2luc1xcXCJ8JyBcCiAJCSR7U30v
Y29uZmlnL2F1dG9jb25mLm1rIFwKLQkJJHtTfS94cGZlL2dsb2JhbC9idWlsZGNvbmZpZy5odG1s
CisJCSR7U30vdG9vbGtpdC9jb250ZW50L2J1aWxkY29uZmlnLmh0bWwKIAogCSMgVGhpcyByZW1v
dmVzIGV4dHJhbmVvdXMgQ0ZMQUdTIGZyb20gdGhlIE1ha2VmaWxlcyB0byByZWR1Y2UgUkFNCiAJ
IyByZXF1aXJlbWVudHMgd2hpbGUgY29tcGlsaW5nCg==
</data>        

          </attachment>
    </bug>

</bugzilla>