# 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.24 2007/02/04 18:29:22 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gtkwave/ChangeLog,v 1.25 2007/02/27 11:48:51 calchan Exp $
+
+*gtkwave-3.0.22 (27 Feb 2007)
+
+ 27 Feb 2007; Denis Dupeyron <calchan@gentoo.org> +gtkwave-3.0.22.ebuild:
+ Version bump. Thanks to the author, Tony Bybell, for numbering the source
+ tarballs at my request.
*gtkwave-3.0.21 (04 Feb 2007)
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.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
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
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 2796 RMD160 2ad054cc6c7a61d8490d6e75f9c31522861737f7 SHA1 a4b9428c46197c9bcfcc23fc2b168d02d24969c8 SHA256 37f61e08b2862e38863bf30075a28716eea0e38686e23436e7de5403870d68d7
+MD5 0e76287d60118f724bbb061295717fa2 gtkwave-3.0.22.ebuild 2796
+RMD160 2ad054cc6c7a61d8490d6e75f9c31522861737f7 gtkwave-3.0.22.ebuild 2796
+SHA256 37f61e08b2862e38863bf30075a28716eea0e38686e23436e7de5403870d68d7 gtkwave-3.0.22.ebuild 2796
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 4584 RMD160 5b2f3e4e11029240fc2cc5de1ff9710418bd704c SHA1 f6e869462d31ca9d66a192db3390c59170b1beb6 SHA256 9d972524c2db4459ca8ab51985d152d2bddbab1a900ada38ab7a27f3519ed9d8
-MD5 be3b54f0fcf995baefb4fdd3eaa210bd ChangeLog 4584
-RMD160 5b2f3e4e11029240fc2cc5de1ff9710418bd704c ChangeLog 4584
-SHA256 9d972524c2db4459ca8ab51985d152d2bddbab1a900ada38ab7a27f3519ed9d8 ChangeLog 4584
+MISC ChangeLog 4793 RMD160 bafdaea32d3068d5e7b64398e8760290f68eaa26 SHA1 dbef100f59f75efdf4cadb7212fed7be97de9a49 SHA256 cfd79abd4ddcbb5aa2e8c8516a62208391b77b8dc12ac9e9fba6d802751c1f74
+MD5 a8ccadf5b00f1071f95028d6dc0c6a69 ChangeLog 4793
+RMD160 bafdaea32d3068d5e7b64398e8760290f68eaa26 ChangeLog 4793
+SHA256 cfd79abd4ddcbb5aa2e8c8516a62208391b77b8dc12ac9e9fba6d802751c1f74 ChangeLog 4793
MISC metadata.xml 398 RMD160 ed5d95f3d46ea95d76ad67a84c73e5f03ee6a408 SHA1 fb07f3ea260f8f895d8766e91c4fe792801da4e9 SHA256 1ba9f8e7fc293d8a29e8e5cf5309e8be9ec624d0ee834068bb490958414e6d7f
MD5 b46fe02c1b34c27e79787cbc2fac8709 metadata.xml 398
RMD160 ed5d95f3d46ea95d76ad67a84c73e5f03ee6a408 metadata.xml 398
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 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
--- /dev/null
+MD5 084af7d77aca234ce101f8afc37430ab gtkwave-3.0.22.tar.gz 2504775
+RMD160 c23a9ada20b5582ccedde49dd51650d7adb29c68 gtkwave-3.0.22.tar.gz 2504775
+SHA256 6901e3235730809134646caff6a49ee29a6ff35411fa39dc5df61f8e61279145 gtkwave-3.0.22.tar.gz 2504775
+MD5 250aeb79f1936d6f898ea5c3ba71ce0f gtkwave-doc-3.0.22.tar.gz 1212713
+RMD160 db4261fc14cd528fd8ca899f0ea1b60a89260d91 gtkwave-doc-3.0.22.tar.gz 1212713
+SHA256 50915a213331a5fd0e969bd483df134af1a1546e64badb898fcfff302e636903 gtkwave-doc-3.0.22.tar.gz 1212713
--- /dev/null
+# 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.22.ebuild,v 1.1 2007/02/27 11:48:51 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="http://home.nc.rr.com/gtkwave/${P}.tar.gz
+ doc? ( http://home.nc.rr.com/gtkwave/${PN}-doc-${PV}.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 '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}
+ doins "${WORKDIR}/${PN}.pdf" || die "Failed to install documentation."
+ fi
+ if use examples ; then
+ insinto /usr/share/${PF}
+ doins -r examples || die "Failed to install examples."
+ fi
+}