summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-08-16 01:40:39 +0000
committerMike Frysinger <vapier@gentoo.org>2008-08-16 01:40:39 +0000
commit6c25765601c7c9015a93fdef12d767e9a230e101 (patch)
treecbef0ce17eb913e16b9865c4474d2cd392133c7d /media-libs/netpbm
parentold (diff)
downloadhistorical-6c25765601c7c9015a93fdef12d767e9a230e101.tar.gz
historical-6c25765601c7c9015a93fdef12d767e9a230e101.tar.bz2
historical-6c25765601c7c9015a93fdef12d767e9a230e101.zip
Version bump.
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.26.1 x86_64 RepoMan-Options: --force
Diffstat (limited to 'media-libs/netpbm')
-rw-r--r--media-libs/netpbm/ChangeLog7
-rw-r--r--media-libs/netpbm/Manifest10
-rw-r--r--media-libs/netpbm/netpbm-10.43.00.ebuild148
3 files changed, 160 insertions, 5 deletions
diff --git a/media-libs/netpbm/ChangeLog b/media-libs/netpbm/ChangeLog
index 23e3aad769d3..cd0d151a92b7 100644
--- a/media-libs/netpbm/ChangeLog
+++ b/media-libs/netpbm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/netpbm
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/ChangeLog,v 1.191 2008/08/16 01:28:36 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/ChangeLog,v 1.192 2008/08/16 01:40:39 vapier Exp $
+
+*netpbm-10.43.00 (16 Aug 2008)
+
+ 16 Aug 2008; Mike Frysinger <vapier@gentoo.org> +netpbm-10.43.00.ebuild:
+ Version bump.
*netpbm-10.26.56 (16 Aug 2008)
diff --git a/media-libs/netpbm/Manifest b/media-libs/netpbm/Manifest
index c2d3b5cba8a2..05b63983f94e 100644
--- a/media-libs/netpbm/Manifest
+++ b/media-libs/netpbm/Manifest
@@ -12,17 +12,19 @@ DIST netpbm-10.33-manpages.tar.bz2 236722 RMD160 5e43836a5f4d16f1ba5ece21e9996db
DIST netpbm-10.40.0.tar.bz2 2126805 RMD160 17057c1bb90c90080a83726a60cc69fa0084022b SHA1 2b4c1346e142d7310f266918702121198d10f5dd SHA256 b30e71386211d6e144706c673ede113dcf11f5b481abd5836285b021800e33c7
DIST netpbm-10.41.0.tar.lzma 1859778 RMD160 13ce996b6edbcd8602fc830a1796138cfc46cdb5 SHA1 51b1abb41059b342c4a6db2224728aaf5aa20c19 SHA256 88974be8cb7fe2df15e742663855239ab8d9a7476c864b6b6a2d5a8fcf08a92d
DIST netpbm-10.42.0.tar.lzma 1867436 RMD160 2cbf2122893aa101004aed1551e13514d7da0489 SHA1 40133c85d38e66917c790a7c2fddecd93e5d0303 SHA256 7f48b4892369de75609c15a09b1f186f9e23bf242124901ede41ab07d3883c0a
+DIST netpbm-10.43.00.tar.lzma 1870919 RMD160 ab7efe1f7239a8dba1609767e959016da9143b2f SHA1 961828c75ba6cc2afbb42a1ba12383df412daee9 SHA256 35dfd184e405bd2aa723a7ace17d70931b103c17f2aba84fd0ef614c33fe66b6
EBUILD netpbm-10.26.55.ebuild 2895 RMD160 7831359a8d9bfd4ee4440c4095a8d34fda8eb4c4 SHA1 16d838762df6579aef3bb59be44d25a595ed5005 SHA256 b4110a55ecea1a4b00bf35c2b9b53d83dae79b92c51d2e82d5b9bb090c97172e
EBUILD netpbm-10.26.56.ebuild 2895 RMD160 ca3f8a08b4be208241136016c442ed502fd19970 SHA1 976eec9802de5e2486fe963a68658d3eee2df872 SHA256 7f5b71fb6c4c9c78ef707eaaa83fbb5c9ad956fdbb8a2bacdab30e354744c2b8
EBUILD netpbm-10.40.0.ebuild 3177 RMD160 bab89a0465962ff1485d289a662ce1307d5c2a43 SHA1 f2de6fe36b480558fc353ef478687a867b90f39d SHA256 a46e59de1e8c73ebd5772ddb9853af9b35ef4ca58c2235e7f0bf86b48cf80dad
EBUILD netpbm-10.41.0.ebuild 3910 RMD160 afb96830be2f4cde04262ad4090c1da24900efea SHA1 30241615209e93cc6e0800921a15b3c9a530a56b SHA256 d8ed0c8ea88e9b41bce0a50fcf6f88f2cd762ff7680aa6fe3423f09a2999f4ae
EBUILD netpbm-10.42.0.ebuild 3994 RMD160 50a1c101b1b62b82ec0012e2f4985d90e7b36a6a SHA1 416633d607286a574308685bca8ebfad92ab8a4f SHA256 c34a4fa0cd5e2a576d05985262c3cf41779a61683e92953c01d2aefb21757354
-MISC ChangeLog 25959 RMD160 a90cf989188227e7328aebd821c3aa00f7ca2fd4 SHA1 bbe9d8cdb7d957c2d649b08f9efbf4336f3fb392 SHA256 9b638a432b3318fc13b9a034fa77167f7818cd01e417662463e5a4e4d097bfb9
+EBUILD netpbm-10.43.00.ebuild 3938 RMD160 f08fd80ebe48d4b10b5235d1eb610a550ee496e7 SHA1 3a978728af76155ae60f9e65c0f17a0b49f224d5 SHA256 c06397f85b73be95821683f6a6efcc28b111b602c41dc15222cdc0a092f8383b
+MISC ChangeLog 26083 RMD160 f7c59b6d35aa1a897bcda8fbefee6edc2cf360a7 SHA1 5eb66ee93d0e4de1b3855b122dc57dc7f865e262 SHA256 481fa51eaa53dd1473bd597129ca6998b2d53a357f5207ef0f14a2ed22b2d8f9
MISC metadata.xml 161 RMD160 60f70b15d67f0e6aafc59833b2f0a30e30b51765 SHA1 1c35398222ef7ed670c31965e42cca77fe4b1da6 SHA256 e8daadc5e27e3ef1148993b5b48d96e93bc36d798a1f416693f7f8c84be427e1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkimLUoACgkQ67wieSYcaxddjQCg0XrgJ3qG4Wk5FiVJJL8rZMPn
-TsoAoNdOP0Sf3xzi3y9SE7gpSF8c/2XG
-=EDM+
+iEYEARECAAYFAkimMB0ACgkQ67wieSYcaxfJfgCgvw/XDzn4y9e+SnuhhEk3EdJ8
+Aq8AoKV4d7Nvzr5hsAFzcOi8ezAWOA7g
+=v2bp
-----END PGP SIGNATURE-----
diff --git a/media-libs/netpbm/netpbm-10.43.00.ebuild b/media-libs/netpbm/netpbm-10.43.00.ebuild
new file mode 100644
index 000000000000..ac836d5c3063
--- /dev/null
+++ b/media-libs/netpbm/netpbm-10.43.00.ebuild
@@ -0,0 +1,148 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/netpbm-10.43.00.ebuild,v 1.1 2008/08/16 01:40:39 vapier Exp $
+
+inherit flag-o-matic toolchain-funcs eutils multilib
+
+MAN_VER=10.33
+DESCRIPTION="A set of utilities for converting to/from the netpbm (and related) formats"
+HOMEPAGE="http://netpbm.sourceforge.net/"
+SRC_URI="mirror://gentoo/${P}.tar.lzma
+ mirror://gentoo/${PN}-${MAN_VER}-manpages.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="jbig jpeg jpeg2k png rle svga tiff xml zlib"
+
+RDEPEND="jpeg? ( >=media-libs/jpeg-6b )
+ jpeg2k? ( media-libs/jasper )
+ tiff? ( >=media-libs/tiff-3.5.5 )
+ png? ( >=media-libs/libpng-1.2.1 )
+ xml? ( dev-libs/libxml2 )
+ zlib? ( sys-libs/zlib )
+ svga? ( media-libs/svgalib )
+ jbig? ( media-libs/jbigkit )
+ rle? ( media-libs/urt )"
+DEPEND="${RDEPEND}
+ app-arch/lzma-utils"
+
+maint_pkg_create() {
+ local base="/usr/local/src"
+ local srcdir="${base}/netpbm/release_number"
+ if [[ -d ${srcdir} ]] ; then
+ cd "${T}" || die
+
+ ebegin "Exporting ${srcdir}/${PV} to netpbm-${PV}"
+ svn export -q ${srcdir}/${PV} netpbm-${PV}
+ eend $? || return 1
+
+ ebegin "Creating netpbm-${PV}.tar.lzma"
+ tar cf - netpbm-${PV} | lzma > netpbm-${PV}.tar.lzma
+ eend $?
+
+ einfo "Tarball now ready at: ${T}/netpbm-${PV}.tar.lzma"
+ else
+ einfo "You need to run:"
+ einfo " cd ${base}"
+ einfo " svn co https://netpbm.svn.sourceforge.net/svnroot/netpbm"
+ die "need svn checkout dir"
+ fi
+}
+pkg_setup() { [[ -n ${VAPIER_LOVES_YOU} && ! -e ${DISTDIR}/${P}.tar.lzma ]] && maint_pkg_create ; }
+
+netpbm_libtype() {
+ case ${CHOST} in
+ *-darwin*) echo dylib;;
+ *) echo unixshared;;
+ esac
+}
+netpbm_libsuffix() {
+ local suffix=$(get_libname)
+ echo ${suffix//\.}
+}
+netpbm_ldshlib() {
+ case ${CHOST} in
+ *-darwin*) echo '$(LDFLAGS) -dynamiclib -install_name $(SONAME)';;
+ *) echo '$(LDFLAGS) -shared -Wl,-soname,$(SONAME)';;
+ esac
+}
+netpbm_config() {
+ if use $1 ; then
+ [[ $2 != "!" ]] && echo -l${2:-$1}
+ else
+ echo NONE
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/netpbm-10.31-build.patch
+ epatch "${FILESDIR}"/netpbm-10.35.0-xml2.patch #137871
+
+ rm -f configure
+ cp Makefile.config.in Makefile.config
+ cat >> Makefile.config <<-EOF
+ # Gentoo toolchain options
+ CC = $(tc-getCC) -Wall
+ CC_FOR_BUILD = $(tc-getBUILD_CC)
+ AR = $(tc-getAR)
+ RANLIB = $(tc-getRANLIB)
+ STRIPFLAG =
+ CFLAGS_SHLIB = -fPIC
+
+ # workaround parallel build issues
+ SYMLINK = ln -sf
+
+ NETPBMLIBTYPE = $(netpbm_libtype)
+ NETPBMLIBSUFFIX = $(netpbm_libsuffix)
+ LDSHLIB = $(netpbm_ldshlib)
+
+ # Gentoo build options
+ TIFFLIB = $(netpbm_config tiff)
+ JPEGLIB = $(netpbm_config jpeg)
+ PNGLIB = $(netpbm_config png)
+ ZLIB = $(netpbm_config zlib z)
+ LINUXSVGALIB = $(netpbm_config svga vga)
+ XML2_LIBS = $(netpbm_config xml xml2)
+ JBIGLIB = -ljbig
+ JBIGHDR_DIR = $(netpbm_config jbig "!")
+ JASPERLIB = -ljasper
+ JASPERHDR_DIR = $(netpbm_config jpeg2k "!")
+ URTLIB = $(netpbm_config rle)
+ URTHDR_DIR =
+ EOF
+}
+
+src_compile() {
+ replace-flags -mcpu=ultrasparc "-mcpu=v8 -mtune=ultrasparc"
+ replace-flags -mcpu=v9 "-mcpu=v8 -mtune=v9"
+
+ emake -j1 || die
+}
+
+src_install() {
+ emake -j1 package pkgdir="${D}"/usr || die "make package failed"
+
+ [[ $(get_libdir) != "lib" ]] && mv "${D}"/usr/lib "${D}"/usr/$(get_libdir)
+
+ # Remove cruft that we don't need, and move around stuff we want
+ rm -f "${D}"/usr/bin/{doc.url,manweb} || die
+ rm -r "${D}"/usr/man/web || die
+ rm -r "${D}"/usr/link || die
+ rm -f "${D}"/usr/{README,VERSION,config_template,pkginfo} || die
+ dodir /usr/share
+ mv "${D}"/usr/man "${D}"/usr/share/ || die
+ mv "${D}"/usr/misc "${D}"/usr/share/netpbm || die
+
+ dodoc README
+ cd doc
+ GLOBIGNORE='*.html:.*' dodoc *
+ dohtml -r .
+
+ cd "${WORKDIR}"/${PN}-${MAN_VER}-manpages || die
+ doman *.[0-9]
+ dodoc README* gen-netpbm-manpages
+}