diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-05-08 01:06:47 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-05-08 01:06:47 +0000 |
commit | 3224d0f9c617cf97f3bb0e47facb7b1c41139095 (patch) | |
tree | 437b5925431dd0687d19ae353a8d511611b4fda7 /media-libs | |
parent | QA fixes on 4.1-r1 and 4.1.2. Version bump in bug #50416 (diff) | |
download | historical-3224d0f9c617cf97f3bb0e47facb7b1c41139095.tar.gz historical-3224d0f9c617cf97f3bb0e47facb7b1c41139095.tar.bz2 historical-3224d0f9c617cf97f3bb0e47facb7b1c41139095.zip |
clean pdflib-4 ebuilds
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/pdflib/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/pdflib/Manifest | 6 | ||||
-rw-r--r-- | media-libs/pdflib/files/digest-pdflib-4.0.1-r3 | 1 | ||||
-rw-r--r-- | media-libs/pdflib/files/digest-pdflib-4.0.3-r1 | 2 | ||||
-rw-r--r-- | media-libs/pdflib/pdflib-4.0.1-r3.ebuild | 123 | ||||
-rw-r--r-- | media-libs/pdflib/pdflib-4.0.3-r1.ebuild | 120 |
6 files changed, 6 insertions, 252 deletions
diff --git a/media-libs/pdflib/ChangeLog b/media-libs/pdflib/ChangeLog index b4d0f5a42cc3..26b9a16064e2 100644 --- a/media-libs/pdflib/ChangeLog +++ b/media-libs/pdflib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/pdflib # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/ChangeLog,v 1.33 2004/01/24 12:08:40 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/ChangeLog,v 1.34 2004/05/08 01:06:47 mr_bones_ Exp $ + + 07 May 2004; Michael Sterrett <mr_bones_@gentoo.org> pdflib-4.0.1-r3.ebuild, + pdflib-4.0.3-r1.ebuild: + clean pdflib-4 ebuilds 24 Jan 2004; <gustavoz@gentoo.org> pdflib-5.0.2.ebuild: marked stable on sparc diff --git a/media-libs/pdflib/Manifest b/media-libs/pdflib/Manifest index 64947128e837..2b7114abd023 100644 --- a/media-libs/pdflib/Manifest +++ b/media-libs/pdflib/Manifest @@ -1,7 +1,3 @@ -MD5 de5d7246e369014a1a060a9898a00b6a ChangeLog 4916 -MD5 e9752060f9cb836456c2e641e48ff422 pdflib-4.0.1-r3.ebuild 4037 -MD5 091df2c1440fde61b37fd23de55a76a1 pdflib-4.0.3-r1.ebuild 4040 +MD5 0aef785a6040fec66431a0cfd9c90687 ChangeLog 5048 MD5 712bb16bc97cd2561531d82f93e4b6a9 pdflib-5.0.2.ebuild 3632 -MD5 bfb0654912705b63e78b9fd7ed5a3396 files/digest-pdflib-4.0.1-r3 65 -MD5 06a604efce1169f681d387a88d3529b8 files/digest-pdflib-4.0.3-r1 114 MD5 9892461f8babed0732b85ef46b5a163b files/digest-pdflib-5.0.2 79 diff --git a/media-libs/pdflib/files/digest-pdflib-4.0.1-r3 b/media-libs/pdflib/files/digest-pdflib-4.0.1-r3 deleted file mode 100644 index 0dd6e45f6a66..000000000000 --- a/media-libs/pdflib/files/digest-pdflib-4.0.1-r3 +++ /dev/null @@ -1 +0,0 @@ -MD5 92cb24075945c2151b7524bc7e8ef8c3 pdflib-4.0.1.tar.gz 2715296 diff --git a/media-libs/pdflib/files/digest-pdflib-4.0.3-r1 b/media-libs/pdflib/files/digest-pdflib-4.0.3-r1 deleted file mode 100644 index 21c33c47084b..000000000000 --- a/media-libs/pdflib/files/digest-pdflib-4.0.3-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 1b9e0d16f3e695902301aa26b6e92513 pdflib-4.0.3.tar.gz 2373817 -MD5 cd6ff4da6ca9d3001a0ed4c0211f5996 pdf.c 82725 diff --git a/media-libs/pdflib/pdflib-4.0.1-r3.ebuild b/media-libs/pdflib/pdflib-4.0.1-r3.ebuild deleted file mode 100644 index 09b71702c6e2..000000000000 --- a/media-libs/pdflib/pdflib-4.0.1-r3.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/pdflib-4.0.1-r3.ebuild,v 1.18 2004/01/14 04:42:26 seemant Exp $ - -DESCRIPTION="A library for generating PDF on the fly" -HOMEPAGE="http://www.pdflib.com/" -SRC_URI="http://www.pdflib.com/pdflib/download/${P}.tar.gz" - -LICENSE="Aladdin" -SLOT="4" -KEYWORDS="x86 ppc sparc ~alpha" -IUSE="python tcltk java perl" - -DEPEND="tcltk? ( >=dev-lang/tk-8.2 ) - perl? ( >=dev-lang/perl-5.1 ) - python? ( >=dev-lang/python-2.0 ) - java? ( >=virtual/jdk-1.3 ) - media-libs/libpng - sys-libs/zlib" - -src_compile() { - # fix sandbox violations - # NOTE: the basic theory is to not compile pdflib.java during - # src_compile() or src_install(), but rather in pkg_postinstall(), - # and then install it where it can be found. - cp ${S}/bind/java/Makefile.in ${S}/bind/java/Makefile.in.orig - sed -e "s/all:\t\$(SWIG_LIB) pdflib.jar/all:\t\$(SWIG_LIB)/" \ - -e "s/install: \$(SWIG_LIB) pdflib.jar/install: \$(SWIG_LIB)/" \ - ${S}/bind/java/Makefile.in.orig > ${S}/bind/java/Makefile.in - - local myconf - use tcltk || myconf="--with-tcl=no" - - use perl || myconf="${myconf} --with-perl=no" - - use python && ( \ - if [ -x /usr/bin/python ] - then - local pyver="`/usr/bin/python -V 2>&1 \ - |cut -d ' ' -f 2 |cut -d '.' -f 1,2`" - myconf="${myconf} --with-pyincl=/usr/include/python${pyver}" - fi - ) || ( \ - myconf="${myconf} --with-py=no" - ) - - use java \ - && myconf="${myconf} --with-java=${JAVA_HOME}" \ - || myconf="${myconf} --with-java=no" - - # libpng-1.2.5 needs to be linked against stdc++ and zlib - cp configure configure.old - sed -e 's:-lpng:-lpng -lz -lstdc++:' configure.old > configure - - econf \ - --enable-cxx \ - --disable-php \ - --with-pnglib \ - --with-zlib \ - ${myconf} || die - - emake || die -} - -src_install() { - # fix sandbox violations - # NB: do this *after* build, otherwise we will get linker problems. - # all we basically do here is modify the install path for Makefiles that - # needs it. - cp ${S}/bind/java/Makefile ${S}/bind/java/Makefile.orig - sed -e "s:LANG_LIBDIR \t\= :LANG_LIBDIR\t\= ${D}:" \ - ${S}/bind/java/Makefile.orig > ${S}/bind/java/Makefile - cp ${S}/bind/perl/Makefile ${S}/bind/perl/Makefile.orig - sed -e "s:LANG_LIBDIR \t\= :LANG_LIBDIR\t\= ${D}:" \ - ${S}/bind/perl/Makefile.orig > ${S}/bind/perl/Makefile - cp ${S}/bind/python/Makefile ${S}/bind/python/Makefile.orig - sed -e "s:LANG_LIBDIR \t\= :LANG_LIBDIR\t\= ${D}:" \ - ${S}/bind/python/Makefile.orig > ${S}/bind/python/Makefile - cp ${S}/bind/tcl/Makefile ${S}/bind/tcl/Makefile.orig - sed -e "s:LANG_LIBDIR \t\= :LANG_LIBDIR\t\= ${D}:" \ - ${S}/bind/tcl/Makefile.orig > ${S}/bind/tcl/Makefile - - # ok, this should create the correct lib dirs for perl and python. - # yes, i know it is messy, but as i see it, a ebuild should be generic - # ... ie. you should be able to just use cp to update it - if [ -n "`use perl`" ] && [ -x /usr/bin/perl ] ; then - local perlmajver="`/usr/bin/perl -v |grep 'This is perl' \ - |cut -d ' ' -f 4 |cut -d '.' -f 1`" - local perlver="`/usr/bin/perl -v |grep 'This is perl' \ - |cut -d ' ' -f 4`" - local perlarch="`/usr/bin/perl -v |grep 'This is perl' \ - |cut -d ' ' -f 7`" - dodir /usr/lib/perl${perlmajver/v/}/site_perl/${perlver/v/}/${perlarch} - fi - if [ -n "`use python`" ] && [ -x /usr/bin/python ] ; then - local pyver="`/usr/bin/python -V 2>&1 \ - |cut -d ' ' -f 2 |cut -d '.' -f 1,2`" - dodir /usr/lib/python${pyver}/lib-dynload - fi - #next line required for proper install - dodir /usr/bin - make prefix=${D}/usr \ - install || die - - dodoc readme.txt doc/* - - # karltk: This is definitely NOT how it should be done! - # we need this to create pdflib.jar (we will not have the source when - # this is a binary package ...) - if [ "`use java`" ] - then - insinto /usr/share/pdflib - doins ${S}/bind/java/pdflib.java - - mkdir -p com/pdflib - mv ${S}/bind/java/pdflib.java com/pdflib - javac com/pdflib/pdflib.java - - jar cf pdflib.jar com/pdflib/*.class - - dojar pdflib.jar - fi -} diff --git a/media-libs/pdflib/pdflib-4.0.3-r1.ebuild b/media-libs/pdflib/pdflib-4.0.3-r1.ebuild deleted file mode 100644 index de79e56bb9d7..000000000000 --- a/media-libs/pdflib/pdflib-4.0.3-r1.ebuild +++ /dev/null @@ -1,120 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/pdflib-4.0.3-r1.ebuild,v 1.14 2004/01/26 19:05:16 scandium Exp $ - -PYVER="$(/usr/bin/python -V 2>&1 | cut -d ' ' -f 2 | cut -d '.' -f 1,2)" -DESCRIPTION="A library for generating PDF on the fly" -HOMEPAGE="http://www.pdflib.com/" -SRC_URI="http://www.pdflib.com/pdflib/download/${P}.tar.gz - http://www.pdflib.com/pdflib/download/PHP-4.3.0/pdf.c" - -LICENSE="Aladdin" -SLOT="4" -KEYWORDS="x86 ~ppc sparc hppa alpha amd64 ia64" -IUSE="tcltk perl python java" - -DEPEND="tcltk? ( >=dev-lang/tk-8.2 ) - perl? ( >=dev-lang/perl-5.1 ) - python? ( >=dev-lang/python-2.2 ) - java? ( >=virtual/jdk-1.3 )" - -src_unpack() { - unpack ${P}.tar.gz - cd ${S} - # updated file for compatibility with php-4.3.0 - cp ${DISTDIR}/pdf.c ${S}/bind/php/ext/pdf/ -} - -src_compile() { - - # fix sandbox violations - # NOTE: the basic theory is to not compile pdflib.java during - # src_compile() or src_install(), but rather in pkg_postinstall(), - # and then install it where it can be found. - cp ${S}/bind/java/Makefile.in ${S}/bind/java/Makefile.in.orig - sed -e "s/all:\t\$(SWIG_LIB) pdflib.jar/all:\t\$(SWIG_LIB)/" \ - -e "s/install: \$(SWIG_LIB) pdflib.jar/install: \$(SWIG_LIB)/" \ - ${S}/bind/java/Makefile.in.orig > ${S}/bind/java/Makefile.in - - local myconf= - use tcltk || myconf="--with-tcl=no" - - use perl || myconf="${myconf} --with-perl=no" - - use python \ - && myconf="${myconf} --with-py=/usr --with-pyincl=/usr/include/python${PYVER}" \ - || myconf="${myconf} --with-py=no" - - use java \ - && myconf="${myconf} --with-java=${JAVA_HOME}" \ - || myconf="${myconf} --with-java=no" - - # libpng-1.2.5 needs to be linked against stdc++ and zlib - cp configure configure.old - sed -e 's:-lpng:-lpng -lz -lstdc++:' configure.old > configure - - econf \ - --enable-cxx \ - ${myconf} || die - - emake || die -} - -src_install() { - - # fix sandbox violations - # NB: do this *after* build, otherwise we will get linker problems. - # all we basically do here is modify the install path for Makefiles that - # needs it. - cp ${S}/bind/java/Makefile ${S}/bind/java/Makefile.orig - sed -e "s:LANG_LIBDIR \t\= :LANG_LIBDIR\t\= ${D}:" \ - ${S}/bind/java/Makefile.orig > ${S}/bind/java/Makefile - cp ${S}/bind/perl/Makefile ${S}/bind/perl/Makefile.orig - sed -e "s:LANG_LIBDIR \t\= :LANG_LIBDIR\t\= ${D}:" \ - ${S}/bind/perl/Makefile.orig > ${S}/bind/perl/Makefile - cp ${S}/bind/python/Makefile ${S}/bind/python/Makefile.orig - sed -e "s:LANG_LIBDIR \t\= :LANG_LIBDIR\t\= ${D}:" \ - ${S}/bind/python/Makefile.orig > ${S}/bind/python/Makefile - cp ${S}/bind/tcl/Makefile ${S}/bind/tcl/Makefile.orig - sed -e "s:LANG_LIBDIR \t\= :LANG_LIBDIR\t\= ${D}:" \ - ${S}/bind/tcl/Makefile.orig > ${S}/bind/tcl/Makefile - - # ok, this should create the correct lib dirs for perl and python. - # yes, i know it is messy, but as i see it, a ebuild should be generic - # ... ie. you should be able to just use cp to update it - if [ ! -z "`use perl`" ] && [ -x /usr/bin/perl ] ; then - local perlmajver="`/usr/bin/perl -v |grep 'This is perl' \ - |cut -d ' ' -f 4 |cut -d '.' -f 1`" - local perlver="`/usr/bin/perl -v |grep 'This is perl' \ - |cut -d ' ' -f 4`" - local perlarch="`/usr/bin/perl -v |grep 'This is perl' \ - |cut -d ' ' -f 7`" - dodir /usr/lib/perl${perlmajver/v/}/site_perl/${perlver/v/}/${perlarch} - fi - if [ ! -z "`use python`" ] && [ -x /usr/bin/python ] ; then - dodir /usr/lib/python${PYVER}/lib-dynload - fi - #next line required for proper install - dodir /usr/bin - make prefix=${D}/usr \ - install || die - - dodoc readme.txt doc/* - - # karltk: This is definitely NOT how it should be done! - # we need this to create pdflib.jar (we will not have the source when - # this is a binary package ...) - if [ "`use java`" ] - then - insinto /usr/share/pdflib - doins ${S}/bind/java/pdflib.java - - mkdir -p com/pdflib - mv ${S}/bind/java/pdflib.java com/pdflib - javac com/pdflib/pdflib.java - - jar cf pdflib.jar com/pdflib/*.class - - dojar pdflib.jar - fi -} |