<?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>12081</bug_id>
          
          <creation_ts>2002-12-13 07:18 0000</creation_ts>
          <short_desc>xmlada-0.7.1.ebuild (New Ada package)</short_desc>
          <delta_ts>2003-09-30 18:40:55 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>
          
          
          <keywords>EBUILD</keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>Alexis.Muller@lifl.fr</reporter>
          <assigned_to>george@gentoo.org</assigned_to>
          <cc>dholm@gentoo.org</cc>
    
    <cc>timo.warns@informatik.uni-oldenburg.de</cc>

      

      
          <long_desc isprivate="0">
            <who>Alexis.Muller@lifl.fr</who>
            <bug_when>2002-12-13 07:18:02 0000</bug_when>
            <thetext>Hi !

This new library provides Ada95 XML support.

Package requires either compiled Ada language support in the gcc-3.2 or
separate gnat compiler.

For more information:
http://libre.act-europe.fr/xmlada</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Alexis.Muller@lifl.fr</who>
            <bug_when>2002-12-13 07:19:16 0000</bug_when>
            <thetext>Created an attachment (id=6466)
xmlada-0.7.1.ebuild
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Alexis.Muller@lifl.fr</who>
            <bug_when>2002-12-13 07:23:05 0000</bug_when>
            <thetext>Created an attachment (id=6467)
Patch to increase the stack size
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Alexis.Muller@lifl.fr</who>
            <bug_when>2002-12-13 07:23:31 0000</bug_when>
            <thetext>Created an attachment (id=6468)
the first ChangeLog
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>karltk@gentoo.org</who>
            <bug_when>2003-05-03 08:46:55 0000</bug_when>
            <thetext>Can&apos;t get around to this anytime soon, I&apos;m afraid.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>george@gentoo.org</who>
            <bug_when>2003-07-22 00:55:52 0000</bug_when>
            <thetext>Hi Alexis.

Thanks a lot for the submission!
I have cleaned up the ebuild and committed it. Please test.
Few notes:
1. I added all the necessary formatting requisites. Issue of note: please make sure your ebuilds have a proper header (other staff wasn&apos;t defined at the time of submission, but now ebuilds also need to have KEYWORDS, SLOT and bunch of other stuff as in skel.ebuild..)

2. I used gnat.eclass in order to do some common stuff and strip inappropriate flags.

3. I removed the patch and replaced it with a simple sed instruction

4. !!The docs could not be built - tex was reporting some problems and aborting. I have removed a target for building dvi. All other forms are getting installed, although you might look into the issue if you would like to get dvi built.

5. doc installation has been redone, please take a look at the ebuild.

George</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dholm@gentoo.org</who>
            <bug_when>2003-07-22 09:26:11 0000</bug_when>
            <thetext>src_install() has to be changed to look like this in order for the package to follow the GNAE standard:

src_install ()
{
    dodoc docs/*.{html,ps,txt}
    doinfo docs/*.info

    make prefix=${D}/usr \
        libdir=${D}/usr/lib/ada/adalib \
        incdir=${D}/usr/lib/ada/adainclude/xmlada \
        alidir=${D}/usr/lib/ada/adainclude/xmlada install \
        || die &quot;install failed&quot;
}
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>george@gentoo.org</who>
            <bug_when>2003-07-22 17:46:57 0000</bug_when>
            <thetext>*** Bug 25065 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>george@gentoo.org</who>
            <bug_when>2003-07-22 18:31:56 0000</bug_when>
            <thetext>Hi David.

Thanks for taking a look at this one, I suspected something like that.
Unfortunately the fix you propose results i sandbox violations:

cd obj; cp -p -f *.ali /usr/include/xmlada
ACCESS DENIED  open_wr:   /usr/include/xmlada/unicode.ali
ACCESS DENIED  unlink:    /usr/include/xmlada/unicode.ali
...

and the whole bunch like that..
Instead I just moved the files around manually in the -r1 version of ebuild.
Please check (the ebuild is committed).

George</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Alexis.Muller@lifl.fr</who>
            <bug_when>2003-07-23 01:01:23 0000</bug_when>
            <thetext>Hello,

The src_unpack() has to be changed by adding these lines :

sed -i -e &quot;s#${prefix}/lib#${prefix}/lib/ada/adalib/xmlada#&quot; xmlada-config.in
sed -i -e &quot;s#${prefix}/include/xmlada#${prefix}/lib/ada/adainclude/xmlada#&quot; xmlada-config.in

To adapt xmlada-config script with the GNAE installation.

Alexis</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>george@gentoo.org</who>
            <bug_when>2003-07-23 17:45:23 0000</bug_when>
            <thetext>Hi guys.

Thanks for the fix and suggestions!
Alexis: I added these lines to src_unpack
David:  I fixed where ali&apos;s are out, sorry for improper positioning of them originally - I was trying to model it after other stuff which you already GNAE-ceaned, but apparently missed this one.

The ebuild is updated, please test.

George</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dholm@gentoo.org</who>
            <bug_when>2003-07-24 05:20:27 0000</bug_when>
            <thetext>It&apos;s probably my fault, some of my initial ebuilds installed the alis in adainclude. Luckily none of those were commited. Also in the src_install() sample I posted here the alis are installed in adainclude which is probably why I hadn&apos;t posted it yet.
Your new xmlada seems perfect now though.
We really need to add some policy stuff regarding Ada ebuilds if we want users to create GNAE-compatible ebuilds from the start, the question is where?

-m3dnow should probably be added to the stripped flags as well. What about if a user uses -mfpmath=sse,387 or -mfpmath=387? Is it possible to add something like -mfpmath=* to filter-flags or would you have to add one entry for every case?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dholm@gentoo.org</who>
            <bug_when>2003-08-17 15:48:55 0000</bug_when>
            <thetext>Please direct any testreports to the -r2 bugreport. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>george@gentoo.org</who>
            <bug_when>2003-09-30 18:40:55 0000</bug_when>
            <thetext>Tested -r2, seems fine.
Closing the bug (once again :)).

George</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>6466</attachid>
            <date>2002-12-13 07:19 0000</date>
            <desc>xmlada-0.7.1.ebuild</desc>
            <filename>xmlada-0.7.1.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">SVVTRT0iIgoKQT0iWG1sQWRhLTAuNy4xIgoKREVTQ1JJUFRJT049IlhNTCBsaWJyYXJ5IGZvciBB
ZGEiCkhPTUVQQUdFPSJodHRwOi8vbGlicmUuYWN0LWV1cm9wZS5mci94bWxhZGEvIgpTUkNfVVJJ
PSJodHRwOi8vbGlicmUuYWN0LWV1cm9wZS5mci94bWxhZGEvJHtBfS50Z3oiCkxJQ0VOU0U9IkdQ
TC0yIgoKUz0iJHtXT1JLRElSfS8ke1B9IgoKc3JjX3VucGFjaygpCnsKCXVucGFjayAke0F9LnRn
egoJcGF0Y2ggLXAwIDwgL3Vzci9wb3J0YWdlL2Rldi1hZGEveG1sYWRhL2ZpbGVzLyR7UEZ9LWdl
bnRvby5kaWZmCn0KCnNyY19jb21waWxlKCkKewoJJHtTfS9jb25maWd1cmUgLS1wcmVmaXg9L3Vz
ciBcCgkJLS1tYW5kaXI9L3Vzci9zaGFyZS9tYW4gXAoJCS0taW5mb2Rpcj0vdXNyL3NoYXJlL2lu
Zm8gXAoJCS0tZW5hYmxlLXNoYXJlZCBcCgkJLS1ob3N0PSR7Q0hPU1R9IFwKCQktLWJ1aWxkPSR7
Q0hPU1R9IFwKCQktLXRhcmdldD0ke0NIT1NUfSBcCgkJLS13aXRoLXN5c3RlbS16bGliIHx8IGRp
ZQoKCWV4cG9ydCBDT01QSUxFUj1nbmF0bWFrZQoJZW1ha2UgfHwgZGllICJtYWtlIGZhaWxlZCIK
fQoKc3JjX2luc3RhbGwgKCkKewoJbWFrZSBQUkVGSVg9JHtEfS91c3IgaW5zdGFsbCB8fCBkaWUg
Imluc3RhbGwgZmFpbGVkIgoKCW1rZGlyICR7RH0vdXNyL3NoYXJlL2RvYy94bWxhZGEKCW12IGRv
Y3MvKiAke0R9L3Vzci9zaGFyZS94bWxhZGEvCn0K
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>6467</attachid>
            <date>2002-12-13 07:23 0000</date>
            <desc>Patch to increase the stack size</desc>
            <filename>xmlada-0.7.1-gentoo.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC92YXIvdG1wL3BvcnRhZ2UveG1sYWRhLTAuNy4xL3dvcmsveG1sYWRhLTAuNy4xL3NheC9z
YXgtcmVhZGVycy5hZGIJMjAwMS0xMi0yMCAxNDo1MTo1Mi4wMDAwMDAwMDAgKzAxMDAKKysrIC4v
c2F4L3NheC1yZWFkZXJzLmFkYgkyMDAyLTExLTEwIDIxOjA4OjQ4LjAwMDAwMDAwMCArMDEwMApA
QCAtMjA0Myw3ICsyMDQzLDcgQEAKICAgICAgIE9wZW5fV2FzX1JlYWQgOiBCb29sZWFuKQogICAg
aXMKICAgICAgIC0tICA/Pz8gV291bGQgYmUgbmljZSB0byBnZXQgcmlkIG9mIHRoaXMgaGFyZC1j
b2RlZCBsaW1pdGF0aW9uIGluIHN0YWNrcwotICAgICAgU3RhY2tfU2l6ZSA6IGNvbnN0YW50IE5h
dHVyYWwgOj0gNjQ7CisgICAgICBTdGFja19TaXplIDogY29uc3RhbnQgTmF0dXJhbCA6PSAxMjg7
CiAgICAgICBPcGVyYW5kX1N0YWNrIDogRWxlbWVudF9Nb2RlbF9BcnJheSAoMSAuLiBTdGFja19T
aXplKTsKICAgICAgIE9wZXJhbmRfSW5kZXggOiBOYXR1cmFsIDo9IE9wZXJhbmRfU3RhY2snRmly
c3Q7CiAgICAgICBPcGVyYXRvcl9TdGFjayA6IGFycmF5ICgxIC4uIFN0YWNrX1NpemUpIG9mIFVu
aWNvZGVfQ2hhcjsK
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>6468</attachid>
            <date>2002-12-13 07:23 0000</date>
            <desc>the first ChangeLog</desc>
            <filename>ChangeLog</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDaGFuZ2VMb2cgZm9yIGRldi1hZGEveG1sYWRhCiMgQ29weXJpZ2h0IDIwMDIgR2VudG9vIFRl
Y2hub2xvZ2llcywgSW5jLjsgRGlzdHJpYnV0ZWQgdW5kZXIgdGhlIEdQTCB2MgojICRIZWFkZXI6
ICQKCipYbWxBZGEtMC43LjEgKDIwIE5vdiAyMDAyKQoKICAyMCBOb3YgMjAwMjsgQWxleGlzIE11
bGxlciA8QWxleGlzLk11bGxlckBsaWZsLmZyPiB4bWxhZGEtMC43LjEuZWJ1aWxkIDoKCiAgRmly
c3QgcmVhbGFzZSBvZiBYbWxBZGEgZWJ1aWxkIGFuZCBDaGFuZ2VMb2cuCiAgCiAgMjAgTm92IDIw
MDI7IEFsZXhpcyBNdWxsZXIgPEFsZXhpcy5NdWxsZXJAbGlmbC5mcj4gZmlsZXMveG1sYWRhLTAu
Ny4xLWdlbnRvby5kaWZmIDoKCQogIFBhdGNoIHRvIHVwZ3JhZGUgdGhlIHN0YWNrIHNpemUgZnJv
bSA2NCBlbGVtZW50cyB0byAxMjguCg==
</data>        

          </attachment>
    </bug>

</bugzilla>