diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2008-01-15 16:13:35 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2008-01-15 16:13:35 +0000 |
commit | a1626e9f28b07e28f540aafe54cd6acb5a4f2c0e (patch) | |
tree | 6bbdbe74f9687db66af782153be1ffb913fdbde1 /dev-libs | |
parent | update to newer trunk revision (diff) | |
download | gentoo-2-a1626e9f28b07e28f540aafe54cd6acb5a4f2c0e.tar.gz gentoo-2-a1626e9f28b07e28f540aafe54cd6acb5a4f2c0e.tar.bz2 gentoo-2-a1626e9f28b07e28f540aafe54cd6acb5a4f2c0e.zip |
0.52.2 marked stable on x86 and amd64, version bump, updated patches.
(Portage version: 2.1.3.9)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/newt/ChangeLog | 12 | ||||
-rw-r--r-- | dev-libs/newt/files/digest-newt-0.50.35-r2 | 3 | ||||
-rw-r--r-- | dev-libs/newt/files/digest-newt-0.50.35-r3 | 3 | ||||
-rw-r--r-- | dev-libs/newt/files/digest-newt-0.50.35-r4 | 3 | ||||
-rw-r--r-- | dev-libs/newt/files/digest-newt-0.51.6 | 3 | ||||
-rw-r--r-- | dev-libs/newt/files/digest-newt-0.52.7 | 3 | ||||
-rw-r--r-- | dev-libs/newt/files/newt-0.52.7-DESTDIR.patch | 45 | ||||
-rw-r--r-- | dev-libs/newt/files/newt-0.52.7-notcl.patch | 35 | ||||
-rw-r--r-- | dev-libs/newt/newt-0.50.35-r2.ebuild | 32 | ||||
-rw-r--r-- | dev-libs/newt/newt-0.50.35-r3.ebuild | 33 | ||||
-rw-r--r-- | dev-libs/newt/newt-0.50.35-r4.ebuild | 50 | ||||
-rw-r--r-- | dev-libs/newt/newt-0.51.6-r1.ebuild | 4 | ||||
-rw-r--r-- | dev-libs/newt/newt-0.51.6-r2.ebuild | 4 | ||||
-rw-r--r-- | dev-libs/newt/newt-0.51.6.ebuild | 66 | ||||
-rw-r--r-- | dev-libs/newt/newt-0.52.2.ebuild | 6 | ||||
-rw-r--r-- | dev-libs/newt/newt-0.52.7.ebuild | 72 |
16 files changed, 172 insertions, 202 deletions
diff --git a/dev-libs/newt/ChangeLog b/dev-libs/newt/ChangeLog index e57034104eff..1031161d18b3 100644 --- a/dev-libs/newt/ChangeLog +++ b/dev-libs/newt/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-libs/newt -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/ChangeLog,v 1.31 2006/12/31 17:05:34 xmerlin Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/ChangeLog,v 1.32 2008/01/15 16:13:35 xmerlin Exp $ + +*newt-0.52.7 (15 Jan 2008) + + 15 Jan 2008; Christian Zoffoli <xmerlin@gentoo.org> + +files/newt-0.52.7-DESTDIR.patch, +files/newt-0.52.7-notcl.patch, + newt-0.52.2.ebuild, +newt-0.52.7.ebuild: + 0.52.2 marked stable on x86 and amd64, version bump, updated patches, + ebuild cleanup. 31 Dec 2006; Christian Zoffoli <xmerlin@gentoo.org> newt-0.50.35-r2.ebuild, newt-0.50.35-r3.ebuild, newt-0.50.35-r4.ebuild, diff --git a/dev-libs/newt/files/digest-newt-0.50.35-r2 b/dev-libs/newt/files/digest-newt-0.50.35-r2 deleted file mode 100644 index 0542c3ab93c0..000000000000 --- a/dev-libs/newt/files/digest-newt-0.50.35-r2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 87a0555f83473a67a848a11c99dd7755 newt-0.50.35.tar.gz 106345 -RMD160 a6ad589d38695285ded724b8cd282bf1d685ca5d newt-0.50.35.tar.gz 106345 -SHA256 714c9540920975672fe97e439b3e1cf5386abc41aa4c408343464b1aad2a50af newt-0.50.35.tar.gz 106345 diff --git a/dev-libs/newt/files/digest-newt-0.50.35-r3 b/dev-libs/newt/files/digest-newt-0.50.35-r3 deleted file mode 100644 index 0542c3ab93c0..000000000000 --- a/dev-libs/newt/files/digest-newt-0.50.35-r3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 87a0555f83473a67a848a11c99dd7755 newt-0.50.35.tar.gz 106345 -RMD160 a6ad589d38695285ded724b8cd282bf1d685ca5d newt-0.50.35.tar.gz 106345 -SHA256 714c9540920975672fe97e439b3e1cf5386abc41aa4c408343464b1aad2a50af newt-0.50.35.tar.gz 106345 diff --git a/dev-libs/newt/files/digest-newt-0.50.35-r4 b/dev-libs/newt/files/digest-newt-0.50.35-r4 deleted file mode 100644 index 0542c3ab93c0..000000000000 --- a/dev-libs/newt/files/digest-newt-0.50.35-r4 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 87a0555f83473a67a848a11c99dd7755 newt-0.50.35.tar.gz 106345 -RMD160 a6ad589d38695285ded724b8cd282bf1d685ca5d newt-0.50.35.tar.gz 106345 -SHA256 714c9540920975672fe97e439b3e1cf5386abc41aa4c408343464b1aad2a50af newt-0.50.35.tar.gz 106345 diff --git a/dev-libs/newt/files/digest-newt-0.51.6 b/dev-libs/newt/files/digest-newt-0.51.6 deleted file mode 100644 index 9a5463fb111f..000000000000 --- a/dev-libs/newt/files/digest-newt-0.51.6 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 76ebfb749d3bbe9a0d55915faef4ac5e newt-0.51.6.tar.gz 155739 -RMD160 88832ca74fa06ef30739c33e5c75b232b2b149e2 newt-0.51.6.tar.gz 155739 -SHA256 b80f265cd204e03fe9f793ab5750269eec71caf9253d2df04792425d22a49375 newt-0.51.6.tar.gz 155739 diff --git a/dev-libs/newt/files/digest-newt-0.52.7 b/dev-libs/newt/files/digest-newt-0.52.7 new file mode 100644 index 000000000000..4eab5e93f322 --- /dev/null +++ b/dev-libs/newt/files/digest-newt-0.52.7 @@ -0,0 +1,3 @@ +MD5 635c6eb55033b6e0671fd2e3fc59fedc newt-0.52.7.tar.gz 167996 +RMD160 7f028bdedd0244a9e5f490c6c03e58fdd5825b6f newt-0.52.7.tar.gz 167996 +SHA256 e93be06b8833b53c954287e8e084ff38682492bcb94143219e31e41cdd37a930 newt-0.52.7.tar.gz 167996 diff --git a/dev-libs/newt/files/newt-0.52.7-DESTDIR.patch b/dev-libs/newt/files/newt-0.52.7-DESTDIR.patch new file mode 100644 index 000000000000..6fd268871ef2 --- /dev/null +++ b/dev-libs/newt/files/newt-0.52.7-DESTDIR.patch @@ -0,0 +1,45 @@ +diff -uNr newt-0.52.7.orig/Makefile.in newt-0.52.7/Makefile.in +--- newt-0.52.7.orig/Makefile.in 2008-01-15 17:04:32.000000000 +0100 ++++ newt-0.52.7/Makefile.in 2008-01-15 17:04:58.000000000 +0100 +@@ -107,25 +107,25 @@ + $(CC) $(SHCFLAGS) -c $(CFLAGS) $(CPPFLAGS) -o $@ $< + + install: $(LIBNEWT) install-sh whiptail +- [ -d $(instroot)/$(bindir) ] || install -m 755 -d $(instroot)/$(bindir) +- [ -d $(instroot)/$(libdir) ] || install -m 755 -d $(instroot)/$(libdir) +- [ -d $(instroot)/$(includedir) ] || install -m 755 -d $(instroot)/$(includedir) +- [ -d $(instroot)/$(man1dir) ] || install -m 755 -d $(instroot)/$(man1dir) +- install -m 644 newt.h $(instroot)/$(includedir) +- install -m 644 $(LIBNEWT) $(instroot)/$(libdir) +- install -m 755 whiptail $(instroot)/$(bindir) +- install -m 644 whiptail.1 $(instroot)/$(man1dir) +- make -C po datadir=$(instroot)/$(datadir) install ++ [ -d $(DESTDIR)/$(bindir) ] || install -m 755 -d $(DESTDIR)/$(bindir) ++ [ -d $(DESTDIR)/$(libdir) ] || install -m 755 -d $(DESTDIR)/$(libdir) ++ [ -d $(DESTDIR)/$(includedir) ] || install -m 755 -d $(DESTDIR)/$(includedir) ++ [ -d $(DESTDIR)/$(man1dir) ] || install -m 755 -d $(DESTDIR)/$(man1dir) ++ install -m 644 newt.h $(DESTDIR)/$(includedir) ++ install -m 644 $(LIBNEWT) $(DESTDIR)/$(libdir) ++ install -m 755 whiptail $(DESTDIR)/$(bindir) ++ install -m 644 whiptail.1 $(DESTDIR)/$(man1dir) ++ make -C po datadir=$(DESTDIR)/$(datadir) install + + install-sh: sharedlib _snackmodule.so +- [ -d $(instroot)/$(libdir) ] || install -m 755 -d $(instroot)/$(libdir) +- install -m 755 $(LIBNEWTSH) $(instroot)/$(libdir) +- ln -sf $(LIBNEWTSONAME) $(instroot)/$(libdir)/libnewt.so +- ln -sf $(LIBNEWTSH) $(instroot)/$(libdir)/$(LIBNEWTSONAME) ++ [ -d $(DESTDIR)/$(libdir) ] || install -m 755 -d $(DESTDIR)/$(libdir) ++ install -m 755 $(LIBNEWTSH) $(DESTDIR)/$(libdir) ++ ln -sf $(LIBNEWTSONAME) $(DESTDIR)/$(libdir)/libnewt.so ++ ln -sf $(LIBNEWTSH) $(DESTDIR)/$(libdir)/$(LIBNEWTSONAME) + for ver in $(PYTHONVERS) ; do \ +- [ -d $(instroot)/$(libdir)/$$ver/site-packages ] || install -m 755 -d $(instroot)/$(libdir)/$$ver/site-packages ;\ +- install -m 755 $$ver/_snackmodule.so $(instroot)/$(libdir)/$$ver/site-packages ;\ +- install -m 644 snack.py $(instroot)/$(libdir)/$$ver/site-packages ;\ ++ [ -d $(DESTDIR)/$(libdir)/$$ver/site-packages ] || install -m 755 -d $(DESTDIR)/$(libdir)/$$ver/site-packages ;\ ++ install -m 755 $$ver/_snackmodule.so $(DESTDIR)/$(libdir)/$$ver/site-packages ;\ ++ install -m 644 snack.py $(DESTDIR)/$(libdir)/$$ver/site-packages ;\ + done + + configure: configure.ac newt.spec diff --git a/dev-libs/newt/files/newt-0.52.7-notcl.patch b/dev-libs/newt/files/newt-0.52.7-notcl.patch new file mode 100644 index 000000000000..b9f86e6b6054 --- /dev/null +++ b/dev-libs/newt/files/newt-0.52.7-notcl.patch @@ -0,0 +1,35 @@ +--- newt-0.52.7/Makefile.in.orig 2008-01-15 16:57:12.000000000 +0100 ++++ newt-0.52.7/Makefile.in 2008-01-15 16:58:38.000000000 +0100 +@@ -15,7 +15,7 @@ + PYTHONVERS = @PYTHONVERS@ + WHIPTCLSO = @WHIPTCLSO@ + +-PROGS = test whiptail $(WHIPTCLSO) testgrid testtree showchars showkey ++PROGS = test whiptail testgrid testtree showchars showkey + TESTOBJS = test.o testgrid.o testtree.o showchars.o showkey.o + NDIALOGOBJS = whiptail.o dialogboxes.o + WHIPTCLOBJS = shared/whiptcl.o shared/dialogboxes.o +@@ -78,9 +78,6 @@ + whiptail: $(NDIALOGOBJS) $(LIBNEWTSH) + $(CC) -g -o whiptail $(NDIALOGOBJS) -L . -lnewt $(LIBS) -lpopt + +-whiptcl.so: $(WHIPTCLOBJS) $(LIBNEWTSH) +- $(CC) -shared $(SHCFLAGS) -o whiptcl.so $(WHIPTCLOBJS) -L . -lnewt $(LIBTCL) -lslang -lpopt -lm +- + $(LIBNEWT): $(LIBOBJS) + ar rv $@ $^ + +@@ -120,12 +117,11 @@ + install -m 644 whiptail.1 $(instroot)/$(man1dir) + make -C po datadir=$(instroot)/$(datadir) install + +-install-sh: sharedlib $(WHIPTCLSO) _snackmodule.so ++install-sh: sharedlib _snackmodule.so + [ -d $(instroot)/$(libdir) ] || install -m 755 -d $(instroot)/$(libdir) + install -m 755 $(LIBNEWTSH) $(instroot)/$(libdir) + ln -sf $(LIBNEWTSONAME) $(instroot)/$(libdir)/libnewt.so + ln -sf $(LIBNEWTSH) $(instroot)/$(libdir)/$(LIBNEWTSONAME) +- [ -n "$(WHIPTCLSO)" ] && install -m 755 whiptcl.so $(instroot)/$(libdir) || : + for ver in $(PYTHONVERS) ; do \ + [ -d $(instroot)/$(libdir)/$$ver/site-packages ] || install -m 755 -d $(instroot)/$(libdir)/$$ver/site-packages ;\ + install -m 755 $$ver/_snackmodule.so $(instroot)/$(libdir)/$$ver/site-packages ;\ diff --git a/dev-libs/newt/newt-0.50.35-r2.ebuild b/dev-libs/newt/newt-0.50.35-r2.ebuild deleted file mode 100644 index 8df636abe5a3..000000000000 --- a/dev-libs/newt/newt-0.50.35-r2.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.50.35-r2.ebuild,v 1.14 2006/12/31 17:05:34 xmerlin Exp $ - -inherit python - -DESCRIPTION="redhat's newt windowing toolkit development files" -SRC_URI="http://koto.mynetix.de/gentoo/${P}.tar.gz" -HOMEPAGE="http://www.redhat.com" - -SLOT="0" -LICENSE="LGPL-2" -KEYWORDS="x86 ppc sparc hppa amd64 alpha" -IUSE="" - -DEPEND="=sys-libs/slang-1* - >=dev-libs/popt-1.6 - dev-lang/python" - -RDEPEND="" - -src_compile() { - python_version - econf || die - make PYTHONVERS=python${PYVER} || die "make failure" -} - -src_install () { - make prefix=${D}/usr PYTHONVERS=python${PYVER} install || die "make install failed" - dodoc CHANGES COPYING peanuts.py popcorn.py tutorial.sgml - dosym libnewt.so.${PV} /usr/lib/libnewt.so.0.50 -} diff --git a/dev-libs/newt/newt-0.50.35-r3.ebuild b/dev-libs/newt/newt-0.50.35-r3.ebuild deleted file mode 100644 index d00a25544884..000000000000 --- a/dev-libs/newt/newt-0.50.35-r3.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.50.35-r3.ebuild,v 1.6 2006/12/31 17:05:34 xmerlin Exp $ - -inherit python - -DESCRIPTION="redhat's newt windowing toolkit development files" -SRC_URI="http://koto.mynetix.de/gentoo/${P}.tar.gz" -HOMEPAGE="http://www.redhat.com" - -SLOT="0" -LICENSE="LGPL-2" -KEYWORDS="~x86 ~ppc ~sparc ~hppa ~amd64 ~alpha" -IUSE="" - -DEPEND="=sys-libs/slang-1* - >=dev-libs/popt-1.6 - dev-lang/python" - -RDEPEND="" - -src_compile() { - python_version - export RPM_OPT_FLAGS="${CFLAGS}" - econf || die - make PYTHONVERS=python${PYVER} || die "make failure" -} - -src_install () { - make prefix=${D}/usr PYTHONVERS=python${PYVER} install || die "make install failed" - dodoc CHANGES COPYING peanuts.py popcorn.py tutorial.sgml - dosym libnewt.so.${PV} /usr/lib/libnewt.so.0.50 -} diff --git a/dev-libs/newt/newt-0.50.35-r4.ebuild b/dev-libs/newt/newt-0.50.35-r4.ebuild deleted file mode 100644 index c2c0019e8681..000000000000 --- a/dev-libs/newt/newt-0.50.35-r4.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.50.35-r4.ebuild,v 1.8 2007/06/26 01:54:41 mr_bones_ Exp $ - -inherit python toolchain-funcs - -DESCRIPTION="Redhat's Newt windowing toolkit development files" -SRC_URI="http://koto.mynetix.de/gentoo/${P}.tar.gz" -HOMEPAGE="http://www.redhat.com" -SLOT="0" -LICENSE="LGPL-2" -KEYWORDS="~x86 ~ppc ~sparc ~hppa ~amd64 ~alpha ppc64" -IUSE="" -DEPEND="=sys-libs/slang-1* - >=dev-libs/popt-1.6 - dev-lang/python - elibc_uclibc? ( sys-libs/ncurses )" - -src_unpack() { - unpack ${A} - # bug 73850 - if use elibc_uclibc; then - sed -i -e 's:-lslang:-lslang -lncurses:g' ${S}/Makefile.in - fi - - # use the correct compiler... - sed -i -e 's:gcc:$(CC):g' ${S}/Makefile.in - - # avoid make cleaning up some intermediate files - # as it would rebuild them during install :-( - echo >>${S}/Makefile.in - echo '$(LIBNEWT): $(LIBOBJS)' >>${S}/Makefile.in -} - -src_compile() { - python_version - econf || die - # not parallel safe - emake -j1 PYTHONVERS="python${PYVER}" RPM_OPT_FLAGS="${CFLAGS}" CC="$(tc-getCC)" || die "make failure" -} - -src_install () { - python_version - # the RPM_OPT_FLAGS="ERROR" is there to catch a build error - # if it fails, that means something in src_compile() didn't build properly - # not parallel safe - emake -j1 prefix="${D}/usr" PYTHONVERS="python${PYVER}" RPM_OPT_FLAGS="ERROR" install || die "make install failed" - dodoc CHANGES COPYING peanuts.py popcorn.py tutorial.sgml - dosym libnewt.so.${PV} /usr/lib/libnewt.so.0.50 -} diff --git a/dev-libs/newt/newt-0.51.6-r1.ebuild b/dev-libs/newt/newt-0.51.6-r1.ebuild index 3efc4a7b0048..bb3f8b0d66b1 100644 --- a/dev-libs/newt/newt-0.51.6-r1.ebuild +++ b/dev-libs/newt/newt-0.51.6-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.51.6-r1.ebuild,v 1.5 2007/06/26 01:54:41 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.51.6-r1.ebuild,v 1.6 2008/01/15 16:13:35 xmerlin Exp $ inherit python toolchain-funcs eutils flag-o-matic diff --git a/dev-libs/newt/newt-0.51.6-r2.ebuild b/dev-libs/newt/newt-0.51.6-r2.ebuild index f69a8ce0ff8b..8def055a8132 100644 --- a/dev-libs/newt/newt-0.51.6-r2.ebuild +++ b/dev-libs/newt/newt-0.51.6-r2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.51.6-r2.ebuild,v 1.3 2007/06/26 01:54:41 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.51.6-r2.ebuild,v 1.4 2008/01/15 16:13:35 xmerlin Exp $ inherit python toolchain-funcs eutils flag-o-matic diff --git a/dev-libs/newt/newt-0.51.6.ebuild b/dev-libs/newt/newt-0.51.6.ebuild deleted file mode 100644 index 4bf0113f99b3..000000000000 --- a/dev-libs/newt/newt-0.51.6.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.51.6.ebuild,v 1.12 2007/06/26 01:54:41 mr_bones_ Exp $ - -inherit python toolchain-funcs eutils flag-o-matic - -DESCRIPTION="Redhat's Newt windowing toolkit development files" -HOMEPAGE="http://www.redhat.com/" -SRC_URI="mirror://gentoo/${P}.tar.gz - http://dev.gentoo.org/~xmerlin/misc/${P}.tar.gz" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86" -IUSE="gpm" - -DEPEND="=sys-libs/slang-1* - >=dev-libs/popt-1.6 - dev-lang/python - elibc_uclibc? ( sys-libs/ncurses ) - gpm? ( sys-libs/gpm )" - -src_unpack() { - unpack ${A} - cd ${S} - - epatch ${FILESDIR}/newt-gpm-fix.diff || die - epatch ${FILESDIR}/newt-0.51.4-fix-wstrlen-for-non-utf8-strings.patch || die - - # bug 73850 - if use elibc_uclibc; then - sed -i -e 's:-lslang:-lslang -lncurses:g' ${S}/Makefile.in - fi - - # use the correct compiler... - sed -i \ - -e 's:gcc:$(CC):g' \ - -e "s:\(libdir =\).*:\1 \$(prefix)/$(get_libdir):g" \ - ${S}/Makefile.in || die "sed failed" - - # avoid make cleaning up some intermediate files - # as it would rebuild them during install :-( - echo >>${S}/Makefile.in - echo '$(LIBNEWT): $(LIBOBJS)' >>${S}/Makefile.in -} - -src_compile() { - python_version - - econf \ - $(use_with gpm gpm-support) \ - || die - - # not parallel safe - emake -j1 PYTHONVERS="python${PYVER}" RPM_OPT_FLAGS="${CFLAGS}" CC="$(tc-getCC)" || die "make failure" -} - -src_install () { - python_version - # the RPM_OPT_FLAGS="ERROR" is there to catch a build error - # if it fails, that means something in src_compile() didn't build properly - # not parallel safe - emake -j1 prefix="${D}/usr" PYTHONVERS="python${PYVER}" RPM_OPT_FLAGS="ERROR" install || die "make install failed" - dodoc CHANGES COPYING peanuts.py popcorn.py tutorial.sgml - dosym libnewt.so.${PV} /usr/$(get_libdir)/libnewt.so.0.51 -} diff --git a/dev-libs/newt/newt-0.52.2.ebuild b/dev-libs/newt/newt-0.52.2.ebuild index 7c114e5be583..453c1995e74b 100644 --- a/dev-libs/newt/newt-0.52.2.ebuild +++ b/dev-libs/newt/newt-0.52.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.2.ebuild,v 1.4 2007/06/26 01:54:41 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.2.ebuild,v 1.5 2008/01/15 16:13:35 xmerlin Exp $ inherit python toolchain-funcs eutils rpm @@ -14,7 +14,7 @@ SRC_URI="mirror://fedora/development/source/SRPMS/${P}-${RPMREV}.src.rpm" LICENSE="LGPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86" IUSE="gpm tcl" RDEPEND="=sys-libs/slang-1* diff --git a/dev-libs/newt/newt-0.52.7.ebuild b/dev-libs/newt/newt-0.52.7.ebuild new file mode 100644 index 000000000000..0daaac231fc6 --- /dev/null +++ b/dev-libs/newt/newt-0.52.7.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.7.ebuild,v 1.1 2008/01/15 16:13:35 xmerlin Exp $ + +inherit python toolchain-funcs eutils rpm + + +DESCRIPTION="Redhat's Newt windowing toolkit development files" +HOMEPAGE="http://www.redhat.com/" +SRC_URI="mirror://gentoo/${P}.tar.gz + http://dev.gentoo.org/~xmerlin/misc/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="gpm tcl" + +RDEPEND="=sys-libs/slang-1* + >=dev-libs/popt-1.6 + dev-lang/python + elibc_uclibc? ( sys-libs/ncurses ) + gpm? ( sys-libs/gpm ) + tcl? ( =dev-lang/tcl-8.4* )" +DEPEND="${RDEPEND}" + +src_unpack() { + rpm_src_unpack + cd "${S}" + + # bug 73850 + if use elibc_uclibc; then + sed -i -e 's:-lslang:-lslang -lncurses:g' ${S}/Makefile.in + fi + + if ! use tcl; then + epatch "${FILESDIR}"/${P}-notcl.patch || die + fi + + epatch "${FILESDIR}"/${P}-DESTDIR.patch || die +} + +src_compile() { + python_version + + econf \ + $(use_with gpm gpm-support) + + # not parallel safe + emake \ + PYTHONVERS="python${PYVER}" \ + RPM_OPT_FLAGS="${CFLAGS}" \ + || die "emake failed" +} + +src_install () { + python_version + # the RPM_OPT_FLAGS="ERROR" is there to catch a build error + # if it fails, that means something in src_compile() didn't build properly + # not parallel safe + emake \ + DESTDIR="${D}" \ + prefix="/usr" \ + libdir="/usr/$(get_libdir)" \ + PYTHONVERS="python${PYVER}" \ + RPM_OPT_FLAGS="ERROR" \ + install || die "make install failed" + dodoc peanuts.py popcorn.py tutorial.sgml + doman whiptail.1 + + # Don't know if it's needed but it was here before so leaving /peper + dosym libnewt.so.0.52.1 /usr/$(get_libdir)/libnewt.so.0.52 +} |