Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64587 - Updated ebuild for swig-1.3.22
Summary: Updated ebuild for swig-1.3.22
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-18 20:28 UTC by Kevin Smith
Modified: 2004-09-27 14:40 UTC (History)
2 users (show)

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


Attachments
swig-1.3.22.ebuild (swig-1.3.22.ebuild,1.80 KB, text/plain)
2004-09-18 20:30 UTC, Kevin Smith
Details
Diff file from swig-1.3.21.ebuild to swig-1.3.22.ebuild (swig-1.3.22.diff,145 bytes, patch)
2004-09-21 08:29 UTC, Kevin Smith
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Smith 2004-09-18 20:28:33 UTC
Swig 1.3.22 includes *many* changes and enhancements over 1.3.21.

I know almost nothing about ebuilds, but was able to modify the 1.3.21 ebuild to successfully build 1.3.22. I had to modify the SRC_URI to point to a specific sourceforge mirror, which I'm sure is a bad thing to do. But I couldn't get it working otherwise.

The other two changes were to remove the build and install of the 'runtime' components, as these are now (apparently) deprecated by swig. (See the swig changelog entry "07/08/2004: wsfulton").

Kevin


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Kevin Smith 2004-09-18 20:30:47 UTC
Created attachment 39888 [details]
swig-1.3.22.ebuild

As I mentioned, this has a hard-coded sourceforge mirror, which is probably a
bad thing.
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2004-09-21 06:15:14 UTC
hardcoded mirrors aren't good, why did you do that?

please attach a patch instead of the complete ebuild
Comment 3 Kevin Smith 2004-09-21 08:29:48 UTC
Created attachment 40095 [details, diff]
Diff file from swig-1.3.21.ebuild to swig-1.3.22.ebuild

Here is a patch against the 1.3.21 ebuild. Now, the only change is the removal
of the deprecated runtime stuff.

The first time I tried the original SF mirror, it failed. That's why I used a
hard-coded mirror. Today, it worked with the original SRC_URI, so I removed
that change.

I have only tried emerging on x86, and have only tested the resulting swig
executable for a ruby-based project.
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2004-09-25 08:09:32 UTC
i got many bugreports after removing the runtime stuff, so i think it should remain for now
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2004-09-25 08:20:39 UTC
ok, i see that runtime is no longer provided, so i removed it and commited swig-1.3.22
Comment 6 Scott Taylor (RETIRED) gentoo-dev 2004-09-27 14:40:36 UTC
if the now-missing runtime bit is breaking things, how about package masking this
build? or perhaps a depend line in here to prevent it from installing if any of
the packages wanting runtime (like subversion) are already there? By not doing
this, 1.3.22 gets installed, then on the next emerge world, subversion's
requirement of 1.3.21 gets applied and swig is rolled back, then the cycle
repeats...