summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-03-06 22:18:45 +0000
committerMike Frysinger <vapier@gentoo.org>2010-03-06 22:18:45 +0000
commitc6f8857606c0be96f0cc2a5622f2735cde58b0e4 (patch)
treea16f98b7628c517b92c7193e387ac75bed4c57a0 /media-libs
parentVersion bump. (diff)
downloadhistorical-c6f8857606c0be96f0cc2a5622f2735cde58b0e4.tar.gz
historical-c6f8857606c0be96f0cc2a5622f2735cde58b0e4.tar.bz2
historical-c6f8857606c0be96f0cc2a5622f2735cde58b0e4.zip
Version bump #308025 by Stefan Behte.
Package-Manager: portage-2.2_rc65/cvs/Linux x86_64
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/netpbm/ChangeLog10
-rw-r--r--media-libs/netpbm/Manifest23
-rw-r--r--media-libs/netpbm/netpbm-10.49.00.ebuild161
3 files changed, 186 insertions, 8 deletions
diff --git a/media-libs/netpbm/ChangeLog b/media-libs/netpbm/ChangeLog
index 537bacf8cbbc..8ca519990af3 100644
--- a/media-libs/netpbm/ChangeLog
+++ b/media-libs/netpbm/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-libs/netpbm
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/ChangeLog,v 1.234 2010/03/06 22:18:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/ChangeLog,v 1.235 2010/03/06 22:18:45 vapier Exp $
+
+ 06 Mar 2010; Mike Frysinger <vapier@gentoo.org> +netpbm-10.49.00.ebuild:
+ Version bump #308025 by Stefan Behte.
+
+*netpbm-10.49.00 (06 Mar 2010)
+
+ 06 Mar 2010; Mike Frysinger <vapier@gentoo.org> +netpbm-10.49.00.ebuild:
+ Version bump #308025 by Stefan Behte.
*netpbm-10.35.73 (06 Mar 2010)
diff --git a/media-libs/netpbm/Manifest b/media-libs/netpbm/Manifest
index bbbbb296a26c..40b5d51db573 100644
--- a/media-libs/netpbm/Manifest
+++ b/media-libs/netpbm/Manifest
@@ -1,5 +1,6 @@
-AUX netpbm-10.26.64-min_DCT_v_scaled_size.patch 1056 RMD160 abc0ef32a608823033bada6bbccc01243499c575 SHA1 5e9857abe0decbae37648cc3b51d05f3d08d1132 SHA256 30652e72c0b234f2ed0d9390a3f5ab76d9e9ae2a6311e5b965aa543c9ad2c72a
-AUX netpbm-10.30-build.patch 2276 RMD160 aa69ccc2d3e332b4fa50e33621ead91f95a124ed SHA1 d14b5144c310c9182c45cefb629f2b4e77be0058 SHA256 aa7c4dcad0fe5aa71cce357236aa859b14c3794c92c5a5b848cc31618194b174
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX netpbm-10.31-build.patch 1629 RMD160 4226692b199871b3bfb27a9e6fec97d8ac1a4bf6 SHA1 574bd4443c6dbd8a2508bc2d2e3096cfcc815710 SHA256 eaf363941337718390856c318c8e69114c8fb9dbcea8b07755350dbdabce6323
AUX netpbm-10.35.0-pnmtopng-zlib.patch 412 RMD160 fbef74327c74badad288454090b79627e2fde0d6 SHA1 08fd7b8e17c0f272cf628582b22f9ecde0d35cc9 SHA256 577a6b5a49c8773ca29adb045132ee71034e3b6f4abf29ff92126adb1ba83a17
AUX netpbm-10.35.0-xml2.patch 850 RMD160 426cc33a622b8641bdbff8e60a8418318cdee682 SHA1 ce767bd1a0fe861cc9d1a47fa0bb53b12b4a58cc SHA256 b36d159a7e3ec7377760f30e835b8b2bed6c00a9aa992562d50de5ddb6937847
@@ -7,15 +8,23 @@ AUX netpbm-10.42.0-gcc43.patch 541 RMD160 4162fc8f0020941d9072ce595a4586a8a9f215
AUX netpbm-10.46.00-min_DCT_v_scaled_size.patch 1022 RMD160 8b3370958c504c9330dc47c77ab579e021bc03f8 SHA1 71cf92f4143c7831a42de7c503045b7a23bc5997 SHA256 42c21d97f73523c9668ed8700ec33fd4d44e445429d61bd65218711d8ca02135
AUX netpbm-10.48.00-pngx.patch 1149 RMD160 387a1f7df51b457eb2a87c32b7ac60a499249c82 SHA1 0823541f93d804f17d6e7512c5f7e9facc4558d6 SHA256 86ffe862542e882db61d4e32ae49c78e1f6056df42eaa44ffe8e43867c27ce74
AUX netpbm-10.48.00-pnmtopng-zlib.patch 419 RMD160 d4e51baf414ee3ca3ed2c1e8ba186bfa3be7a9dd SHA1 0cc0892bde1384b34d37fe1085866e4b919c0cb3 SHA256 29031875887a03adc503a2f6d5965a8b4eb1e82a1def98d9e3a6fb4250285897
-DIST netpbm-10.26.64.tgz 2545993 RMD160 c3e922aaec320a5692fb0d71b5e34303d9dc2f9f SHA1 1518d6268a35a208b1df557d6e193236d2ec56f8 SHA256 1cf89173f141e2e8f46c54b9537f344c874f8e3ffd1d41a95d41de02d927257b
-DIST netpbm-10.30-manpages.tar.bz2 233254 RMD160 6312e1486f473f57332a5dc050a03ac1dfce7f47 SHA1 a1893e67380029ddbb76a1451833a134f4d42818 SHA256 75eb6ceaebafffb6a2d608d49f2b61c5049e5795976bbfb2d55608de1f858124
DIST netpbm-10.33-manpages.tar.bz2 236722 RMD160 5e43836a5f4d16f1ba5ece21e9996dbe60b252ae SHA1 6c0372f540ad040771beae15a8c2015252679e5f SHA256 aa18adee4a187ad5df243cb1a7c51097dc6a7d6a8072cf6da09972b74ac5454a
DIST netpbm-10.35.71.tgz 2544654 RMD160 36379f1df33810cdfc3f6b3da3eaf5355f3ab8ef SHA1 3a20e4ebebc1a78830fe0da05b56545325ffba0f SHA256 73e0ca8f1adc23eeb438fb099d5a4e55899e6dd95aaddee9907a08dfa1891906
+DIST netpbm-10.35.73.tgz 2548185 RMD160 b4507ac7897227bf0fb8addceb9a14c9f4601ee8 SHA1 e498fcedbc88c618e69163cdb9fa782178a1645e SHA256 cf35edf16444dbd8e8bccf6a8b4265c1451ed4edfdd3bae45650b48c1083ba6d
DIST netpbm-10.46.00.tar.lzma 1897731 RMD160 79230ebe58c90f9f6f7d5de13f215ac22c581c18 SHA1 0dee5f49bf1ebd5d08675db21a621f3d7ceea3d0 SHA256 598350fc2b65f268666a711ae50952573c606157727a1fe5295de9bff4e1fd3a
DIST netpbm-10.48.00.tar.lzma 1908122 RMD160 597c1f2c7a276bf2200cc65e25218a92ef316000 SHA1 fc62507988d59b27b59b5ddc87ef441fa247ab44 SHA256 8847d09c3275528cedaf51fbb1c42b494bd53ec97d6f4681a5c297dcd5c405a7
-EBUILD netpbm-10.26.64.ebuild 2961 RMD160 6ab18916af77364406e3658d2e1a75958f90b706 SHA1 1fb24e2d444532819558c2bab768903697ab0595 SHA256 42d3fe669df8fe3b516403c3b8eee534443c655c0dd3b37f6382f497a8b1119f
-EBUILD netpbm-10.35.71.ebuild 4366 RMD160 38a25118a1beb5f420c532feae705135026f052b SHA1 5a2c0afe3c6e9f7a00b0d88bef0317d9fd4e1013 SHA256 22470fe59548b9afaabef2d9f2443ffea847cc86f11d3efb3dc60d9714f23bce
+DIST netpbm-10.49.00.tar.lzma 1917909 RMD160 26ce43d25a1e7319627d82bfa9a8e73d3c87d1fa SHA1 72db0cff9f805a3f84766dd8add82eaa30685ed3 SHA256 4414fe9b64c695e5d750670aa6e2b03828877d653bc8806e778c1352553c7c8e
+EBUILD netpbm-10.35.71.ebuild 4357 RMD160 b314454ddf4c7d3a5dfbe59c4d6ace22a6301399 SHA1 688caaf0156a06aed0531415f0e515ca2296d5f0 SHA256 feac44588c9f767acefbb2810fbed4eea4eff1c1602439463c309ab34312b784
+EBUILD netpbm-10.35.73.ebuild 4366 RMD160 6f33358bf43bc24e2faf46488ed334dc91766821 SHA1 2db292c001c4c04f42c9be4abe0ca143d48d40cd SHA256 6f81e2d6e5c7c18959255ba353cf01ade3a4ed7f47e80a565e61cdc510f737c4
EBUILD netpbm-10.46.00-r1.ebuild 4424 RMD160 6db996e17abba307a10df72eaacdb578788e86d6 SHA1 82c5cb191af8a3e4694597905035287fac25e812 SHA256 dbdf3237971b26b2a5e5a9a832f3670972b6f3beff51b41fa27308dc83354c9c
EBUILD netpbm-10.48.00-r1.ebuild 4339 RMD160 3c4708c48f06ca3c1dd2c49cd290bf1ae29b74a8 SHA1 8acaec1188fa0b25d793379a9582b9490decb3bc SHA256 eb17822e7b266d63831efc54a2972297f1b2da54309a4a9e81f52ec04df4028a
-MISC ChangeLog 31787 RMD160 7d3158a0d080efa6262795ec29d4fd1ef8c7e007 SHA1 c446200d0507989a5f9ed0bbc03fde10cb615450 SHA256 54f8217ae86a191312371321530ba0c84f7092a71070db9fe25f8972ca5aefcc
+EBUILD netpbm-10.49.00.ebuild 4276 RMD160 276f0dc4b96e774b06765757e5c63c61e650a293 SHA1 2a7adb36ef3891fe7c2d18c413c36d3d5ce7dda1 SHA256 ed7b666bc99f4d9d7cc724c07ef972b2a3c75d974526ee38ec020b71353aa267
+MISC ChangeLog 32260 RMD160 cfb86fdf5e0269cbf35699a03f2a5251496df828 SHA1 7e9ad97e6c8d4b1c434d472d3572806a44823696 SHA256 303c28187645145337f4803d4b3be8f57e3c7b3a3ec12debafedf4783dda8c27
MISC metadata.xml 266 RMD160 de6149ba44458a170c3f6f6d5c015a3b4e5fe3bd SHA1 bb0d212119622779ede27328c6df989b362deac3 SHA256 4db3c087a1641cf4b8ae3750db0fb27bf8ff9a4dcbe496d1c173a9f9c04df75d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iF4EAREIAAYFAkuS1MsACgkQTwhj9JtAlp4J1wEAlO9L6CyGfA/Li3dPfGe4K+vf
+wc5HszMFJaWHO5LbejcBAMEJ8lEDB1oAf+B6NJaYOknI4BwxekeZ+IRZGasATkiu
+=WTOn
+-----END PGP SIGNATURE-----
diff --git a/media-libs/netpbm/netpbm-10.49.00.ebuild b/media-libs/netpbm/netpbm-10.49.00.ebuild
new file mode 100644
index 000000000000..55c2f3197cdc
--- /dev/null
+++ b/media-libs/netpbm/netpbm-10.49.00.ebuild
@@ -0,0 +1,161 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/netpbm-10.49.00.ebuild,v 1.1 2010/03/06 22:18:45 vapier Exp $
+
+EAPI=1
+inherit 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 X xml zlib"
+
+RDEPEND="jpeg? ( >=media-libs/jpeg-7:0 )
+ 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 )
+ X? ( x11-libs/libX11 )"
+DEPEND="${RDEPEND}
+ sys-devel/flex
+ app-arch/xz-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.48.00-pnmtopng-zlib.patch #291987
+
+ # avoid ugly depend.mk warnings
+ touch $(find . -name Makefile | sed s:Makefile:depend.mk:g)
+
+ cat config.mk.in /dev/stdin >> config.mk <<-EOF
+ # Misc crap
+ BUILD_FIASCO = N
+ SYMLINK = ln -sf
+
+ # Toolchain options
+ CC = $(tc-getCC) -Wall
+ LD = \$(CC)
+ CC_FOR_BUILD = $(tc-getBUILD_CC)
+ LD_FOR_BUILD = \$(CC_FOR_BUILD)
+ AR = $(tc-getAR)
+ RANLIB = $(tc-getRANLIB)
+
+ STRIPFLAG =
+ CFLAGS_SHLIB = -fPIC
+
+ LDRELOC = \$(LD) -r
+ LDSHLIB = $(netpbm_ldshlib)
+ LINKER_CAN_DO_EXPLICIT_LIBRARY = N # we can, but dont want to
+ LINKERISCOMPILER = Y
+ NETPBMLIBSUFFIX = $(netpbm_libsuffix)
+ NETPBMLIBTYPE = $(netpbm_libtype)
+
+ # 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 =
+ X11LIB = $(netpbm_config X X11)
+ X11HDR_DIR =
+ EOF
+ # cannot chain the die with the heredoc above as bash-3
+ # has a parser bug in that setup #282902
+ [ $? -eq 0 ] || die "writing config.mk failed"
+}
+
+src_compile() {
+ 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
+}