# 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.32 2007/04/11 06:25:42 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gtkwave/ChangeLog,v 1.33 2007/04/30 21:23:06 calchan Exp $
+
+*gtkwave-3.0.28 (30 Apr 2007)
+
+ 30 Apr 2007; Denis Dupeyron <calchan@gentoo.org> +gtkwave-3.0.28.ebuild:
+ Version bump.
11 Apr 2007; Denis Dupeyron <calchan@gentoo.org> -gtkwave-3.0.5.ebuild,
-gtkwave-3.0.13.ebuild, -gtkwave-3.0.21.ebuild:
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.28.tar.gz 2491886 RMD160 a6abda49f456cc66d5c03e8a66b5a0fe7402a531 SHA1 bcf2b6887728e61ae39d57ce8b50a5099a8b2ae2 SHA256 c55fc3531a5b4c822ab610812de95ffd21b8fa13b3988126f4389bec3a955aa0
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
+DIST gtkwave-doc-3.0.27.tar.gz 1213938 RMD160 f452f6703390d66be984dd1a2811aec563a1c3c5 SHA1 b80970bbe0503dd6a78d4f215c3bab64179221bc SHA256 9ed3a38349201466c08cf61ae1f38c9b8838912f4e9429ba5940b61e0a97000a
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
MD5 184ddb757b8168d79d0d8de171fbd454 gtkwave-3.0.23.ebuild 2800
RMD160 1d09a472bde26ef68d44f390d7f4554714cbc9b4 gtkwave-3.0.23.ebuild 2800
SHA256 477342fe5e695acecb02a9060f68f8fd6ebeecd4cd51f665537dac5fdff7f7d6 gtkwave-3.0.23.ebuild 2800
-MISC ChangeLog 5625 RMD160 6c2d2b23fc489a3b616f6d1168cde2b6ffc629e7 SHA1 350fa1022fe4f9a0103c54ef53d49ef1167e75c2 SHA256 efdd0257ab8feb9c73fda0d1efe244e6e6796dd14c3a769499121df11c720866
-MD5 18fd0a4a4bd64a33d2c1e81f1b8ac00c ChangeLog 5625
-RMD160 6c2d2b23fc489a3b616f6d1168cde2b6ffc629e7 ChangeLog 5625
-SHA256 efdd0257ab8feb9c73fda0d1efe244e6e6796dd14c3a769499121df11c720866 ChangeLog 5625
+EBUILD gtkwave-3.0.28.ebuild 2854 RMD160 49e6f315bf446a5570e3eac71fb1cbfeb7b638b5 SHA1 f88087f4a338f7fb99dffb28eb5a467f9f6effdc SHA256 528bd5265e5be8862dc066d67dc6fdf3fcaab01ef6896f1a502db285a5deb337
+MD5 2f2d89add6cb84749cfa9249279084eb gtkwave-3.0.28.ebuild 2854
+RMD160 49e6f315bf446a5570e3eac71fb1cbfeb7b638b5 gtkwave-3.0.28.ebuild 2854
+SHA256 528bd5265e5be8862dc066d67dc6fdf3fcaab01ef6896f1a502db285a5deb337 gtkwave-3.0.28.ebuild 2854
+MISC ChangeLog 5748 RMD160 2b0a5556e7de9ce8c4d51ad4c15ed968ee36f1fc SHA1 c4407caf4e661940d0e4ca2afd0814788d3a2744 SHA256 fa06a6190a59c085ca39d5bcbb0d734ba9c6e6955fee6040d31ed4593312b651
+MD5 21c9eea0514cfd1591d76e0a608088c2 ChangeLog 5748
+RMD160 2b0a5556e7de9ce8c4d51ad4c15ed968ee36f1fc ChangeLog 5748
+SHA256 fa06a6190a59c085ca39d5bcbb0d734ba9c6e6955fee6040d31ed4593312b651 ChangeLog 5748
MISC metadata.xml 398 RMD160 ed5d95f3d46ea95d76ad67a84c73e5f03ee6a408 SHA1 fb07f3ea260f8f895d8766e91c4fe792801da4e9 SHA256 1ba9f8e7fc293d8a29e8e5cf5309e8be9ec624d0ee834068bb490958414e6d7f
MD5 b46fe02c1b34c27e79787cbc2fac8709 metadata.xml 398
RMD160 ed5d95f3d46ea95d76ad67a84c73e5f03ee6a408 metadata.xml 398
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 00e6beef60b911f3aa46fb1581a76624 files/digest-gtkwave-3.0.28 506
+RMD160 a018a6c8a24173038fc8586afe9ef5c6db6bc33a files/digest-gtkwave-3.0.28 506
+SHA256 1e8f009f75a6b8d9a3fe4b9576b6c05da0fc64848ac321eadbe0623ad904c2b1 files/digest-gtkwave-3.0.28 506
--- /dev/null
+MD5 fda04d744ce240d581ffc3de17326eaa gtkwave-3.0.28.tar.gz 2491886
+RMD160 a6abda49f456cc66d5c03e8a66b5a0fe7402a531 gtkwave-3.0.28.tar.gz 2491886
+SHA256 c55fc3531a5b4c822ab610812de95ffd21b8fa13b3988126f4389bec3a955aa0 gtkwave-3.0.28.tar.gz 2491886
+MD5 867d08b2a24eb0ca2bac653a11a6e0c3 gtkwave-doc-3.0.27.tar.gz 1213938
+RMD160 f452f6703390d66be984dd1a2811aec563a1c3c5 gtkwave-doc-3.0.27.tar.gz 1213938
+SHA256 9ed3a38349201466c08cf61ae1f38c9b8838912f4e9429ba5940b61e0a97000a gtkwave-doc-3.0.27.tar.gz 1213938
--- /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.28.ebuild,v 1.1 2007/04/30 21:23:06 calchan Exp $
+
+DOC_VERSION="3.0.27"
+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-${DOC_VERSION}.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 1 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 2 failed"
+
+ # Comply with DESTDIR
+ sed -i \
+ -e 's:$(bindir):$(DESTDIR)/$(bindir):' \
+ -e 's:$(mandir):$(DESTDIR)/$(mandir):' \
+ Makefile.in \
+ || die "sed 3 failed"
+
+ # CFLAGS fixes
+ sed -i \
+ -e 's:CFLAGS = -O2:CFLAGS +=:' \
+ src/Makefile_GTK2.in \
+ */*/Makefile*.in \
+ || die "sed 4 failed"
+ sed -i \
+ -e 's:=$(COPT): +=:' \
+ contrib/pccts/*/*/Makefile.in \
+ || die "sed 5 failed"
+ sed -i \
+ -e 's:= $(COPT):+=:' \
+ contrib/pccts/*/Makefile.in \
+ || die "sed 6 failed"
+
+ # LDFLAGS fixes
+ sed -i \
+ -e 's:$(CFLAGS) $(OBJS):$(CFLAGS) $(LDFLAGS) $(OBJS):' \
+ src/Makefile_GTK2.in \
+ || die "sed 7 failed"
+ sed -i \
+ -e 's:LDFLAGS=:LDFLAGS+=:' \
+ contrib/rtlbrowse/Makefile_GTK2.in \
+ || die "sed 8 failed"
+ sed -i \
+ -e 's:$(CC) $(CFLAGS) -o:$(CC) $(CFLAGS) $(LDFLAGS) -o:' \
+ contrib/pccts/*/Makefile.in \
+ src/helpers/Makefile.in \
+ || die "sed 9 failed"
+ sed -i \
+ -e 's:$(CC) -o:$(CC) $(LDFLAGS) -o:' \
+ contrib/vermin/Makefile.in \
+ contrib/pccts/sorcerer/Makefile.in \
+ contrib/pccts/support/genmk/Makefile.in \
+ || die "sed 10 failed"
+ sed -i \
+ -e 's:-o ghwdump:$(LDFLAGS) -o ghwdump:' \
+ src/helpers/Makefile.in \
+ || die "sed 11 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/doc/${PF}
+ doins -r examples || die "Failed to install examples."
+ fi
+}