Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123013 - ebuild for sci-electronics/magic-7.4.2 (version bump)
Summary: ebuild for sci-electronics/magic-7.4.2 (version bump)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Science Related Packages
URL: http://www.opencircuitdesign.com/magi...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-16 03:15 UTC by Denis Dupeyron (RETIRED)
Modified: 2006-04-25 12:29 UTC (History)
0 users

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


Attachments
sci-electronics/magic-7.4.2.ebuild (magic-7.4.2.ebuild,2.16 KB, text/plain)
2006-02-16 03:19 UTC, Denis Dupeyron (RETIRED)
Details
sci-electronics/magic/files/magic-7.4-ppc-endian.patch (magic-7.4-ppc-endian.patch,778 bytes, text/plain)
2006-02-16 03:21 UTC, Denis Dupeyron (RETIRED)
Details
sci-electronics/magic-7.4.3.ebuild (magic-7.4.3.ebuild,2.19 KB, text/plain)
2006-02-19 11:12 UTC, Denis Dupeyron (RETIRED)
Details
magic-7.4.6.ebuild (magic-7.4.6.ebuild,1.27 KB, text/plain)
2006-02-25 00:02 UTC, Denis Dupeyron (RETIRED)
Details
magic-7.4.6.ebuild (magic-7.4.6.ebuild,1.24 KB, text/plain)
2006-02-25 05:30 UTC, Denis Dupeyron (RETIRED)
Details
magic-7.4.8.ebuild (magic-7.4.8.ebuild,1.27 KB, text/plain)
2006-03-19 06:49 UTC, Denis Dupeyron (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Dupeyron (RETIRED) gentoo-dev 2006-02-16 03:15:55 UTC
Magic VLSI 7.1 is now deprecated. The new stable branch is 7.4. You will find attached an ebuild for release 7.4.2.

This was a rather tricky one that took me quite some time. Please, comment.

I have made a lot of cleanups, but mainly :
* changed the source tarball link to new official site
* suppressed no longer needed gcc-related patches
* cleaner and more future proof way to fix FHS compliance (my opinion, but yours can differ)
* I included the most recent MOSIS tech files, as you won't go anywhere without them

I retained the ppc patch, although I had to adapt it, but this definitely needs testing.

Regards,
Denis.
Comment 1 Denis Dupeyron (RETIRED) gentoo-dev 2006-02-16 03:19:14 UTC
Created attachment 79920 [details]
sci-electronics/magic-7.4.2.ebuild

The ebuild in question...
Comment 2 Denis Dupeyron (RETIRED) gentoo-dev 2006-02-16 03:21:46 UTC
Created attachment 79921 [details]
sci-electronics/magic/files/magic-7.4-ppc-endian.patch

... and this is the modified ppc patch that goes with the ebuild.
Comment 3 Denis Dupeyron (RETIRED) gentoo-dev 2006-02-19 11:12:38 UTC
Created attachment 80212 [details]
sci-electronics/magic-7.4.3.ebuild

New ebuild, since :
- I read somewhere (bug #81248, comment from Mr. Bones) that I shouldn't use 'mv' in src_install, so I replaced with 'cp -a' (used for installation of MOSIS tech files)
- Version bumped to 7.4.3
- Directory fix for the patch in src_unpack

Enjoy,
Denis.
Comment 4 Denis Dupeyron (RETIRED) gentoo-dev 2006-02-25 00:02:49 UTC
Created attachment 80675 [details]
magic-7.4.6.ebuild

After exchanging some e-mails with him, Tim Edwards, the (very nice) maintainer of Magic, agreed and did make some changes to his code. Thus, there's a new stable version of magic that allows a greatly simplified ebuild (attached). Note that you do not need anymore the ppc patch above.

Ebuild changelog :
* FHS compliance now easy to implement thanks to upstream fixes in the compilation and installation process
* Above point also fixes previous hardcoded link fix in src_install()
* Endianness now handled by autoconf, so magic-7.4-ppc-endian.patch isn't needed anymore
* ~amd64 added since there are reports of magic working very well on this platform
* No need to delete included readline distribution. It is only used for non-tcltk installations which is neither default nor advised today (i.e. not really maintained).
* DESTDIR variable now supported so no more double ./configure to be able to install into sandbox.
* man pages names changed upstream so no more collisions with others anymore

Tim has been very cooperative on this, we should thank him. As far as I'm concerned I'm done with this ebuild, but I will continue to track magic updates on this bug report (until being told to stop...).
Comment 5 Denis Dupeyron (RETIRED) gentoo-dev 2006-02-25 05:30:25 UTC
Created attachment 80688 [details]
magic-7.4.6.ebuild

The previous ebuild works, but I forgot to include some cleanups. Sorry.
Comment 6 Denis Dupeyron (RETIRED) gentoo-dev 2006-03-19 06:49:51 UTC
Created attachment 82550 [details]
magic-7.4.8.ebuild

New ebuild. Changelog :
* Updated to release 7.4.8 (bugfix release, see http://www.opencircuitdesign.com/magic/history.html).
* Switched x86 back to ~x86 (Ooops...).
* Added documentation : README, README.Tcl, TODO (TODO contains a warning about a not yet fully implemented feature, so I figured users may be interested in being able to read it).
Comment 7 Denis Dupeyron (RETIRED) gentoo-dev 2006-04-25 12:29:54 UTC
magic-7.4.14 is now in Portage.