From: Denis Dupeyron Date: Wed, 11 Apr 2007 06:25:42 +0000 (+0000) Subject: Post-stabilization cleanup. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ef21fcd280e6e9ac03704d36dca031f42b7860de;p=gentoo.git Post-stabilization cleanup. Package-Manager: portage-2.1.2.3 --- diff --git a/sci-electronics/gtkwave/ChangeLog b/sci-electronics/gtkwave/ChangeLog index 53384e80435d..614fcc980503 100644 --- a/sci-electronics/gtkwave/ChangeLog +++ b/sci-electronics/gtkwave/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-electronics/gtkwave # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gtkwave/ChangeLog,v 1.31 2007/04/10 18:01:45 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gtkwave/ChangeLog,v 1.32 2007/04/11 06:25:42 calchan Exp $ + + 11 Apr 2007; Denis Dupeyron -gtkwave-3.0.5.ebuild, + -gtkwave-3.0.13.ebuild, -gtkwave-3.0.21.ebuild: + Post-stabilization cleanup. 10 Apr 2007; Gustavo Zacarias gtkwave-3.0.22.ebuild: Stable on sparc wrt #173793 diff --git a/sci-electronics/gtkwave/Manifest b/sci-electronics/gtkwave/Manifest index 4b7d2a07a2ef..65811903e447 100644 --- a/sci-electronics/gtkwave/Manifest +++ b/sci-electronics/gtkwave/Manifest @@ -1,23 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -DIST gtkwave-3.0.13.tar.gz 2479243 RMD160 4ef1b30914066c81f78055499c2f74e3c28fcc26 SHA1 51603cad29e9d7e0e72c6215416f600f0c0e1e60 SHA256 cab729e509ba174a009bec608338cd82b31aafc31f1a44588a85c33dd8aa316a -DIST gtkwave-3.0.21.tar.gz 2502119 RMD160 e6100f346aded1c47afe0856613399f419495101 SHA1 6964c9f34e3ff15b86b25de634bfcef1c5cdf895 SHA256 0058a134e113cfef1e245fe6539ebda6cd12e3706efdd1c36780da35f09adadc DIST gtkwave-3.0.22.tar.gz 2504775 RMD160 c23a9ada20b5582ccedde49dd51650d7adb29c68 SHA1 d462103b5ba63baceeef849d0afc655104272948 SHA256 6901e3235730809134646caff6a49ee29a6ff35411fa39dc5df61f8e61279145 DIST gtkwave-3.0.23.tar.gz 2506904 RMD160 df44282200d87a3172ec9e0b8aaeeca06087dcb1 SHA1 472a9bbd463a9f9ee776c8c45091b8de57c58fcf SHA256 b67a32b50394790979853e6c79e76fbbe890c381642ebd39483a73692631fbd6 -DIST gtkwave-3.0.5.tar.gz 2379892 RMD160 531999cc249e86dace0892bfc517ba86aad515d8 SHA1 7a8e5743fbf0eaea2ee97c8de4054b279f497f4c SHA256 740571f6ddfe6475a17a7c4f086dd295631ad2b4172c9cb2b891191d866a2fea -DIST gtkwave-doc-3.0.13.bz2 1107039 RMD160 f2f99b375b3af0fb3dfd77c2a9feefb3cf482b1c SHA1 10388bcf404a876cedb70d518cf9f7b917736470 SHA256 31b18b19b9393755c58d5c758a1bf80b0b4b163bfe71a738e71ab4b1bfe7319f -DIST gtkwave-doc-3.0.21.bz2 1185632 RMD160 16a4f5d0fd4c2ca220c30d85ad61b32601528e77 SHA1 4ef54e9f7651f08708b9a5e1fd677b52b21af71d SHA256 9c4d6ded84e68cc7e477cd5f8aa545971b69f7f5b74a06a52a840cc075e8e504 DIST gtkwave-doc-3.0.22.tar.gz 1212713 RMD160 db4261fc14cd528fd8ca899f0ea1b60a89260d91 SHA1 70ae18948f51fa33b526fbeaa5b71b898f19b42d SHA256 50915a213331a5fd0e969bd483df134af1a1546e64badb898fcfff302e636903 DIST gtkwave-doc-3.0.23.tar.gz 1213018 RMD160 8bf5d0ced3b437a54751d3413adf880d6ce7529e SHA1 09520de13feb157218c59fd0cc6ccdb516ea8a28 SHA256 e4b1110d8e9220f43d1fba5099feb046eec8f3f31bb96d5f9c40dc469f2d41fb -EBUILD gtkwave-3.0.13.ebuild 2703 RMD160 a55d9a24f3ba6a684b1a7eda2e30949d9bbd7562 SHA1 1123986d9cf1fc2b38df689d7fd7c2f5d7125870 SHA256 aedec439c2077f417879b3076569d3440d1884418796fa089eec41b3599c8a2a -MD5 e339dea91cc5c6387d776512b5d91a01 gtkwave-3.0.13.ebuild 2703 -RMD160 a55d9a24f3ba6a684b1a7eda2e30949d9bbd7562 gtkwave-3.0.13.ebuild 2703 -SHA256 aedec439c2077f417879b3076569d3440d1884418796fa089eec41b3599c8a2a gtkwave-3.0.13.ebuild 2703 -EBUILD gtkwave-3.0.21.ebuild 2703 RMD160 5deedcf34b14d21946bc93edab4554bfcc5f35af SHA1 ac1e8ea9b1aa9545e0b3e3afc85468715a0e8990 SHA256 1cea5e331542cb564f87d04122bda92e0911802b14a5ceb019938e9d9e3d51e7 -MD5 0ccda0e8eab2af258e846f1e5c9401b5 gtkwave-3.0.21.ebuild 2703 -RMD160 5deedcf34b14d21946bc93edab4554bfcc5f35af gtkwave-3.0.21.ebuild 2703 -SHA256 1cea5e331542cb564f87d04122bda92e0911802b14a5ceb019938e9d9e3d51e7 gtkwave-3.0.21.ebuild 2703 EBUILD gtkwave-3.0.22.ebuild 2797 RMD160 c773c9006226a4b2ae3aa75cf1e02540e7ee064e SHA1 d39ddc8e4a1f9a2c8404285f9377948af7794ce0 SHA256 13fd4bd95e72ee7c44b5385d8e52d551753728952c7875b3a3c426bee9c38707 MD5 473ab21329aee79f138286b1738bbede gtkwave-3.0.22.ebuild 2797 RMD160 c773c9006226a4b2ae3aa75cf1e02540e7ee064e gtkwave-3.0.22.ebuild 2797 @@ -26,37 +10,17 @@ EBUILD gtkwave-3.0.23.ebuild 2800 RMD160 1d09a472bde26ef68d44f390d7f4554714cbc9b MD5 184ddb757b8168d79d0d8de171fbd454 gtkwave-3.0.23.ebuild 2800 RMD160 1d09a472bde26ef68d44f390d7f4554714cbc9b4 gtkwave-3.0.23.ebuild 2800 SHA256 477342fe5e695acecb02a9060f68f8fd6ebeecd4cd51f665537dac5fdff7f7d6 gtkwave-3.0.23.ebuild 2800 -EBUILD gtkwave-3.0.5.ebuild 2642 RMD160 7730fce731803339009e9011298aa891f0008bf7 SHA1 2f5507a4bc8c166c92b2fba74ab449a9562bea34 SHA256 fa2425f7e1e7818de77be1bff3efeda70e7943d6d1cd29489c3a5748a170dba0 -MD5 27d38da08159d7929aced73fa9e550a7 gtkwave-3.0.5.ebuild 2642 -RMD160 7730fce731803339009e9011298aa891f0008bf7 gtkwave-3.0.5.ebuild 2642 -SHA256 fa2425f7e1e7818de77be1bff3efeda70e7943d6d1cd29489c3a5748a170dba0 gtkwave-3.0.5.ebuild 2642 -MISC ChangeLog 5471 RMD160 219b53ef761e5bde7c2f2fb072145562f657029b SHA1 309021c2447aeb55eff6f53103eb636a733d8f26 SHA256 1add413413f3176e80a33be81876d3de27d5e56c38f01477f35150af809f58ea -MD5 2a16e9f48abaac885f340280cc409c7f ChangeLog 5471 -RMD160 219b53ef761e5bde7c2f2fb072145562f657029b ChangeLog 5471 -SHA256 1add413413f3176e80a33be81876d3de27d5e56c38f01477f35150af809f58ea ChangeLog 5471 +MISC ChangeLog 5625 RMD160 6c2d2b23fc489a3b616f6d1168cde2b6ffc629e7 SHA1 350fa1022fe4f9a0103c54ef53d49ef1167e75c2 SHA256 efdd0257ab8feb9c73fda0d1efe244e6e6796dd14c3a769499121df11c720866 +MD5 18fd0a4a4bd64a33d2c1e81f1b8ac00c ChangeLog 5625 +RMD160 6c2d2b23fc489a3b616f6d1168cde2b6ffc629e7 ChangeLog 5625 +SHA256 efdd0257ab8feb9c73fda0d1efe244e6e6796dd14c3a769499121df11c720866 ChangeLog 5625 MISC metadata.xml 398 RMD160 ed5d95f3d46ea95d76ad67a84c73e5f03ee6a408 SHA1 fb07f3ea260f8f895d8766e91c4fe792801da4e9 SHA256 1ba9f8e7fc293d8a29e8e5cf5309e8be9ec624d0ee834068bb490958414e6d7f MD5 b46fe02c1b34c27e79787cbc2fac8709 metadata.xml 398 RMD160 ed5d95f3d46ea95d76ad67a84c73e5f03ee6a408 metadata.xml 398 SHA256 1ba9f8e7fc293d8a29e8e5cf5309e8be9ec624d0ee834068bb490958414e6d7f metadata.xml 398 -MD5 612dbe0251ce73cd616324cc1de99faa files/digest-gtkwave-3.0.13 497 -RMD160 8ac492dbc0a6841db7039918c14e68630d3671ab files/digest-gtkwave-3.0.13 497 -SHA256 79dedbe83ef939c3f04f575a94d431d77c5037972b8c0e74248d1c1817581883 files/digest-gtkwave-3.0.13 497 -MD5 f13960a3e7428bc869f45b84881e15f0 files/digest-gtkwave-3.0.21 497 -RMD160 8759546ebc990da8b6f3b602ab0046c59480c271 files/digest-gtkwave-3.0.21 497 -SHA256 18da5e28e290e2097089de4e28b55cc80838b8a99fa7bd7dccf130f96e693093 files/digest-gtkwave-3.0.21 497 MD5 8664d1620c648b6500ec708dd2b63e94 files/digest-gtkwave-3.0.22 506 RMD160 1c065b89d2b2fd32e3e6be12c32881ad0d3207af files/digest-gtkwave-3.0.22 506 SHA256 55ab21c799020df38015e78dcabd604c5578448ea8c3b981310b03d6d296fc6e files/digest-gtkwave-3.0.22 506 MD5 eea8c7e9923daffca2929a8bfddcba2d files/digest-gtkwave-3.0.23 506 RMD160 97963df5829c2d18bf2137ade9b80288b6ef134f files/digest-gtkwave-3.0.23 506 SHA256 d8974ae427273241e20e3c8af6bae190d46043f1793175f45c2ce943ed6aec4d files/digest-gtkwave-3.0.23 506 -MD5 338eb22104358fe450d0571b95b27258 files/digest-gtkwave-3.0.5 244 -RMD160 95622007ce452f2b6d80e569cf48c7f9fc2bb4f9 files/digest-gtkwave-3.0.5 244 -SHA256 2bcc598823aaf1ab65ce9e3d35e69c49a89c48930f57f4bb172a7ead2118d282 files/digest-gtkwave-3.0.5 244 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.6-ecc01.6 (GNU/Linux) - -iD8DBQFGG9EQKRy60XGEcJIRAkQJAJ9VFI9LuIxbyUKwFbrh4tYMHQ467gCePOuZ -ddNk1KxrixF6r1dKxPIeDy4= -=Q5Md ------END PGP SIGNATURE----- diff --git a/sci-electronics/gtkwave/files/digest-gtkwave-3.0.13 b/sci-electronics/gtkwave/files/digest-gtkwave-3.0.13 deleted file mode 100644 index 98882d215c0a..000000000000 --- a/sci-electronics/gtkwave/files/digest-gtkwave-3.0.13 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 e194d13f3afe816873b76ea1e5cd81e8 gtkwave-3.0.13.tar.gz 2479243 -RMD160 4ef1b30914066c81f78055499c2f74e3c28fcc26 gtkwave-3.0.13.tar.gz 2479243 -SHA256 cab729e509ba174a009bec608338cd82b31aafc31f1a44588a85c33dd8aa316a gtkwave-3.0.13.tar.gz 2479243 -MD5 c0831c10a721e36a59a3630254dd3ecd gtkwave-doc-3.0.13.bz2 1107039 -RMD160 f2f99b375b3af0fb3dfd77c2a9feefb3cf482b1c gtkwave-doc-3.0.13.bz2 1107039 -SHA256 31b18b19b9393755c58d5c758a1bf80b0b4b163bfe71a738e71ab4b1bfe7319f gtkwave-doc-3.0.13.bz2 1107039 diff --git a/sci-electronics/gtkwave/files/digest-gtkwave-3.0.21 b/sci-electronics/gtkwave/files/digest-gtkwave-3.0.21 deleted file mode 100644 index bb4b3a02ca32..000000000000 --- a/sci-electronics/gtkwave/files/digest-gtkwave-3.0.21 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 2fc49079acf649e081de1487a8cc6beb gtkwave-3.0.21.tar.gz 2502119 -RMD160 e6100f346aded1c47afe0856613399f419495101 gtkwave-3.0.21.tar.gz 2502119 -SHA256 0058a134e113cfef1e245fe6539ebda6cd12e3706efdd1c36780da35f09adadc gtkwave-3.0.21.tar.gz 2502119 -MD5 fb72b39a388900bef3f106427bce1e1b gtkwave-doc-3.0.21.bz2 1185632 -RMD160 16a4f5d0fd4c2ca220c30d85ad61b32601528e77 gtkwave-doc-3.0.21.bz2 1185632 -SHA256 9c4d6ded84e68cc7e477cd5f8aa545971b69f7f5b74a06a52a840cc075e8e504 gtkwave-doc-3.0.21.bz2 1185632 diff --git a/sci-electronics/gtkwave/files/digest-gtkwave-3.0.5 b/sci-electronics/gtkwave/files/digest-gtkwave-3.0.5 deleted file mode 100644 index fedd0ea939f8..000000000000 --- a/sci-electronics/gtkwave/files/digest-gtkwave-3.0.5 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 dfecf65f69a70767e11acc2168d7db02 gtkwave-3.0.5.tar.gz 2379892 -RMD160 531999cc249e86dace0892bfc517ba86aad515d8 gtkwave-3.0.5.tar.gz 2379892 -SHA256 740571f6ddfe6475a17a7c4f086dd295631ad2b4172c9cb2b891191d866a2fea gtkwave-3.0.5.tar.gz 2379892 diff --git a/sci-electronics/gtkwave/gtkwave-3.0.13.ebuild b/sci-electronics/gtkwave/gtkwave-3.0.13.ebuild deleted file mode 100644 index 379dc0bf531c..000000000000 --- a/sci-electronics/gtkwave/gtkwave-3.0.13.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gtkwave/gtkwave-3.0.13.ebuild,v 1.2 2007/01/28 14:06:59 calchan Exp $ - -DESCRIPTION="A wave viewer for LXT, LXT2, VZT, GHW and standard Verilog VCD/EVCD files" -HOMEPAGE="http://home.nc.rr.com/gtkwave/" -SRC_URI="mirror://gentoo/${P}.tar.gz - doc? ( mirror://gentoo/${PN}-doc-${PV}.bz2 )" - -IUSE="doc examples" -LICENSE="GPL-2 MIT" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" - -DEPEND=">=x11-libs/gtk+-2 - dev-util/pkgconfig" - -src_unpack() { - unpack ${A} - cd ${S} - - # Using sed below, because equivalent patch is much bigger - - # configure must not be interactive, force GTK2 - sed -i \ - -e 's:echo "Build GTKWave for GTK+-1.x or 2.x?:# Build for GTK2:' \ - -e 's:read X:X="2":' \ - configure \ - || die "sed failed" - - # Fix command substitution - sed -i \ - -e 's:`pkg-config gtk+-2.0 --libs`:$(shell pkg-config gtk+-2.0 --libs):' \ - -e 's:`pkg-config gtk+-2.0 --cflags`:$(shell pkg-config gtk+-2.0 --cflags):' \ - src/Makefile_GTK2.in \ - contrib/rtlbrowse/Makefile_GTK2.in \ - || die "sed failed" - - # Comply with DESTDIR - sed -i \ - -e 's:$(bindir):$(DESTDIR)/$(bindir):' \ - -e 's:$(mandir):$(DESTDIR)/$(mandir):' \ - Makefile.in \ - || die "sed failed" - - # CFLAGS fixes - sed -i \ - -e 's:CFLAGS = -O2:CFLAGS +=:' \ - src/Makefile_GTK2.in \ - */*/Makefile*.in \ - || die "sed failed" - sed -i \ - -e 's:=$(COPT): +=:' \ - contrib/pccts/*/*/Makefile.in \ - || die "sed failed" - sed -i \ - -e 's:= $(COPT):+=:' \ - contrib/pccts/*/Makefile.in \ - || die "sed failed" - - # LDFLAGS fixes - sed -i \ - -e 's:$(CFLAGS) $(OBJS):$(CFLAGS) $(LDFLAGS) $(OBJS):' \ - src/Makefile_GTK2.in \ - || die "sed failed" - sed -i \ - -e 's:LDFLAGS=:LDFLAGS+=:' \ - contrib/rtlbrowse/Makefile_GTK2.in \ - || die "sed failed" - sed -i \ - -e 's:$(CC) $(CFLAGS) -o:$(CC) $(CFLAGS) $(LDFLAGS) -o:' \ - contrib/pccts/*/Makefile.in \ - src/helpers/Makefile.in \ - || die "sed failed" - sed -i \ - -e 's:$(CC) -o:$(CC) $(LDFLAGS) -o:' \ - contrib/vertex/Makefile.in \ - contrib/pccts/sorcerer/Makefile.in \ - contrib/pccts/support/genmk/Makefile.in \ - || die "sed failed" - sed -i \ - -e 's:-o ghwdump:$(LDFLAGS) -o ghwdump:' \ - src/helpers/Makefile.in \ - || die "sed failed" -} - -src_compile() { - econf || die 'Configuration failed' - - # Bug #142871 - emake -j1 || die 'Compilation failed' -} - -src_install() { - emake DESTDIR=${D} install || die "Installation failed" - dodoc ANALOG_README.TXT CHANGELOG.TXT - if use doc ; then - insinto /usr/share/doc/${PF} - newins "${WORKDIR}/${PN}-doc-${PV}" ${PN}.pdf - fi - if use examples ; then - insinto /usr/share/${PF} - doins -r examples - fi -} diff --git a/sci-electronics/gtkwave/gtkwave-3.0.21.ebuild b/sci-electronics/gtkwave/gtkwave-3.0.21.ebuild deleted file mode 100644 index 3022de1a76d9..000000000000 --- a/sci-electronics/gtkwave/gtkwave-3.0.21.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gtkwave/gtkwave-3.0.21.ebuild,v 1.1 2007/02/04 18:29:22 calchan Exp $ - -DESCRIPTION="A wave viewer for LXT, LXT2, VZT, GHW and standard Verilog VCD/EVCD files" -HOMEPAGE="http://home.nc.rr.com/gtkwave/" -SRC_URI="mirror://gentoo/${P}.tar.gz - doc? ( mirror://gentoo/${PN}-doc-${PV}.bz2 )" - -IUSE="doc examples" -LICENSE="GPL-2 MIT" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" - -DEPEND=">=x11-libs/gtk+-2 - dev-util/pkgconfig" - -src_unpack() { - unpack ${A} - cd ${S} - - # Using sed below, because equivalent patch is much bigger - - # configure must not be interactive, force GTK2 - sed -i \ - -e 's:echo "Build GTKWave for GTK+-1.x or 2.x?:# Build for GTK2:' \ - -e 's:read X:X="2":' \ - configure \ - || die "sed failed" - - # Fix command substitution - sed -i \ - -e 's:`pkg-config gtk+-2.0 --libs`:$(shell pkg-config gtk+-2.0 --libs):' \ - -e 's:`pkg-config gtk+-2.0 --cflags`:$(shell pkg-config gtk+-2.0 --cflags):' \ - src/Makefile_GTK2.in \ - contrib/rtlbrowse/Makefile_GTK2.in \ - || die "sed failed" - - # Comply with DESTDIR - sed -i \ - -e 's:$(bindir):$(DESTDIR)/$(bindir):' \ - -e 's:$(mandir):$(DESTDIR)/$(mandir):' \ - Makefile.in \ - || die "sed failed" - - # CFLAGS fixes - sed -i \ - -e 's:CFLAGS = -O2:CFLAGS +=:' \ - src/Makefile_GTK2.in \ - */*/Makefile*.in \ - || die "sed failed" - sed -i \ - -e 's:=$(COPT): +=:' \ - contrib/pccts/*/*/Makefile.in \ - || die "sed failed" - sed -i \ - -e 's:= $(COPT):+=:' \ - contrib/pccts/*/Makefile.in \ - || die "sed failed" - - # LDFLAGS fixes - sed -i \ - -e 's:$(CFLAGS) $(OBJS):$(CFLAGS) $(LDFLAGS) $(OBJS):' \ - src/Makefile_GTK2.in \ - || die "sed failed" - sed -i \ - -e 's:LDFLAGS=:LDFLAGS+=:' \ - contrib/rtlbrowse/Makefile_GTK2.in \ - || die "sed failed" - sed -i \ - -e 's:$(CC) $(CFLAGS) -o:$(CC) $(CFLAGS) $(LDFLAGS) -o:' \ - contrib/pccts/*/Makefile.in \ - src/helpers/Makefile.in \ - || die "sed failed" - sed -i \ - -e 's:$(CC) -o:$(CC) $(LDFLAGS) -o:' \ - contrib/vertex/Makefile.in \ - contrib/pccts/sorcerer/Makefile.in \ - contrib/pccts/support/genmk/Makefile.in \ - || die "sed failed" - sed -i \ - -e 's:-o ghwdump:$(LDFLAGS) -o ghwdump:' \ - src/helpers/Makefile.in \ - || die "sed failed" -} - -src_compile() { - econf || die 'Configuration failed' - - # Bug #142871 - emake -j1 || die 'Compilation failed' -} - -src_install() { - emake DESTDIR=${D} install || die "Installation failed" - dodoc ANALOG_README.TXT CHANGELOG.TXT - if use doc ; then - insinto /usr/share/doc/${PF} - newins "${WORKDIR}/${PN}-doc-${PV}" ${PN}.pdf - fi - if use examples ; then - insinto /usr/share/${PF} - doins -r examples - fi -} diff --git a/sci-electronics/gtkwave/gtkwave-3.0.5.ebuild b/sci-electronics/gtkwave/gtkwave-3.0.5.ebuild deleted file mode 100644 index 7d6ae6b5478d..000000000000 --- a/sci-electronics/gtkwave/gtkwave-3.0.5.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gtkwave/gtkwave-3.0.5.ebuild,v 1.6 2007/01/28 14:06:59 calchan Exp $ - -inherit eutils - -DESCRIPTION="A wave viewer for LXT, LXT2, VZT, GHW and standard Verilog VCD/EVCD files" -HOMEPAGE="http://home.nc.rr.com/gtkwave/" -SRC_URI="mirror://gentoo/${P}.tar.gz" - -IUSE="doc examples" -LICENSE="GPL-2 MIT" -SLOT="0" -KEYWORDS="~amd64 ppc sparc x86" - -DEPEND=">=x11-libs/gtk+-2 - dev-util/pkgconfig" - -src_unpack() { - unpack ${A} - cd ${S} - - # Using sed below, because equivalent patch is much bigger - - # configure must not be interactive, force GTK2 - sed -i \ - -e 's:echo "Build GTKWave for GTK+-1.x or 2.x?:# Build for GTK2:' \ - -e 's:read X:X="2":' \ - configure \ - || die "sed failed" - - # Fix command substitution - sed -i \ - -e 's:`pkg-config gtk+-2.0 --libs`:$(shell pkg-config gtk+-2.0 --libs):' \ - -e 's:`pkg-config gtk+-2.0 --cflags`:$(shell pkg-config gtk+-2.0 --cflags):' \ - src/Makefile_GTK2.in \ - contrib/rtlbrowse/Makefile_GTK2.in \ - || die "sed failed" - - # Comply with DESTDIR - sed -i \ - -e 's:$(bindir):$(DESTDIR)/$(bindir):' \ - -e 's:$(mandir):$(DESTDIR)/$(mandir):' \ - Makefile.in \ - || die "sed failed" - - # CFLAGS fixes - sed -i \ - -e 's:CFLAGS = -O2:CFLAGS +=:' \ - src/Makefile_GTK2.in \ - */*/Makefile*.in \ - || die "sed failed" - sed -i \ - -e 's:=$(COPT): +=:' \ - contrib/pccts/*/*/Makefile.in \ - || die "sed failed" - sed -i \ - -e 's:= $(COPT):+=:' \ - contrib/pccts/*/Makefile.in \ - || die "sed failed" - - # LDFLAGS fixes - sed -i \ - -e 's:$(CFLAGS) $(OBJS):$(CFLAGS) $(LDFLAGS) $(OBJS):' \ - src/Makefile_GTK2.in \ - || die "sed failed" - sed -i \ - -e 's:LDFLAGS=:LDFLAGS+=:' \ - contrib/rtlbrowse/Makefile_GTK2.in \ - || die "sed failed" - sed -i \ - -e 's:$(CC) $(CFLAGS) -o:$(CC) $(CFLAGS) $(LDFLAGS) -o:' \ - contrib/pccts/*/Makefile.in \ - src/helpers/Makefile.in \ - || die "sed failed" - sed -i \ - -e 's:$(CC) -o:$(CC) $(LDFLAGS) -o:' \ - contrib/vertex/Makefile.in \ - contrib/pccts/sorcerer/Makefile.in \ - contrib/pccts/support/genmk/Makefile.in \ - || die "sed failed" - sed -i \ - -e 's:-o ghwdump:$(LDFLAGS) -o ghwdump:' \ - src/helpers/Makefile.in \ - || die "sed failed" -} - -src_compile() { - econf || die 'econf failed!' - - # Bug #142871 - emake -j1 || die 'emake failed!' -} - -src_install() { - make DESTDIR=${D} install || die - dodoc ANALOG_README.TXT CHANGELOG.TXT - if use doc ; then - dohtml doc/LXT_Explained.html - insinto /usr/share/doc/${PF} - doins doc/gtkwave.pdf - fi - if use examples ; then - insinto /usr/share/${PF} - doins -r examples - fi -}