# ChangeLog for media-libs/netpbm
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/ChangeLog,v 1.137 2006/12/10 01:43:22 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/ChangeLog,v 1.138 2006/12/19 10:22:03 vapier Exp $
+
+*netpbm-10.26.36 (19 Dec 2006)
+
+ 19 Dec 2006; Mike Frysinger <vapier@gentoo.org> +netpbm-10.26.36.ebuild:
+ Version bump.
*netpbm-10.26.35 (10 Dec 2006)
RMD160 426cc33a622b8641bdbff8e60a8418318cdee682 files/netpbm-10.35.0-xml2.patch 850
SHA256 b36d159a7e3ec7377760f30e835b8b2bed6c00a9aa992562d50de5ddb6937847 files/netpbm-10.35.0-xml2.patch 850
DIST netpbm-10.26.35.tgz 2542380 RMD160 59ed667375dd3aafa01ec05eea1d716c4eb2a67f SHA1 bba539d9194e642e6ebea495765a9eee3bd0848a SHA256 90eb3c736cc1b83222aafc8d7e475b47e2a2b8081258acadc91193e6ad9667ae
+DIST netpbm-10.26.36.tgz 2542454 RMD160 e731d964c61787337756f8ec48c22fbd51c0f0dd SHA1 d2341416db1cbfc48dfcfd636707dddaf7eb0151 SHA256 343f0fa5af7e7058df102fe2cc44f6cddece361e97b23f613f739be2b566cf52
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.34.tgz 2507007 RMD160 57a596efa6cacb981135d554a72cbaffc4cfe72c SHA1 530458871f9d3dc763a1bf82f227eeb79098c601 SHA256 b1e0a35be36e763e85c68b47806e7e1abf431f68289dd108923384b77ded785b
MD5 ec1cf9d6a4402c44eeb4c74f2fa1a230 netpbm-10.26.35.ebuild 2804
RMD160 9664aff822be68b50fe45d8771e721333b04f678 netpbm-10.26.35.ebuild 2804
SHA256 5f45a611bdd491866c3ad98f96cc3457c74c1484683cbad9f5cd98b648f7dd9c netpbm-10.26.35.ebuild 2804
+EBUILD netpbm-10.26.36.ebuild 2804 RMD160 f86cbe9d79745c8182d3b2a1010385803374e812 SHA1 3c231dbd76fa1a0db0fcd01c72db08b40f8ab8ce SHA256 5e8f10803041f6479183436f11396c8fcb4ec3b63bb3d8b7415dbaeb68d1ac03
+MD5 ab6ce2ea4dcde7efec15ebcc878dff2e netpbm-10.26.36.ebuild 2804
+RMD160 f86cbe9d79745c8182d3b2a1010385803374e812 netpbm-10.26.36.ebuild 2804
+SHA256 5e8f10803041f6479183436f11396c8fcb4ec3b63bb3d8b7415dbaeb68d1ac03 netpbm-10.26.36.ebuild 2804
EBUILD netpbm-10.34.ebuild 3207 RMD160 c02448c9092821ea29ecb8c045a7906dccf547c5 SHA1 6701bc459db19057cfac64b8707de7d8c27a8d6f SHA256 202b73c0274774c0f69f03d2f4015001c71e942b1f3edcea8bde5bde16f8af9a
MD5 bf474a5af02f5038b9fc6688242ac5fa netpbm-10.34.ebuild 3207
RMD160 c02448c9092821ea29ecb8c045a7906dccf547c5 netpbm-10.34.ebuild 3207
MD5 b87e62654219acbec592fe5464aca988 netpbm-10.36.0.ebuild 3218
RMD160 ccf9085f621c589ab329eafb1aef6be1ae38644c netpbm-10.36.0.ebuild 3218
SHA256 728d5b4e14a55530c87e19427d76c3b57cee56300461b45aa8ffc195370a6785 netpbm-10.36.0.ebuild 3218
-MISC ChangeLog 19625 RMD160 88fce5ef77cdc90820cf6095d8ebfdc7b338c091 SHA1 2c40ce3bdb28824f552d5484acd872dd6f4033f2 SHA256 a789a4673766b31c45566293ad351d5b3f4cdb54cc4a471f0ded6afda0ed9549
-MD5 af25e3f76dd2944a5c1e54c4665c5844 ChangeLog 19625
-RMD160 88fce5ef77cdc90820cf6095d8ebfdc7b338c091 ChangeLog 19625
-SHA256 a789a4673766b31c45566293ad351d5b3f4cdb54cc4a471f0ded6afda0ed9549 ChangeLog 19625
+MISC ChangeLog 19749 RMD160 ea2546cba09ba714923b23f0b2b7586a90a4abc0 SHA1 80229dc49fe90e170d232a9b8239c4684cd2a173 SHA256 ae42aafe6b4f703d97f2b00e61fc504ed49a4473d88abdf46e129af2230c6134
+MD5 51035d4d3569b642e58f2a26d8bfb634 ChangeLog 19749
+RMD160 ea2546cba09ba714923b23f0b2b7586a90a4abc0 ChangeLog 19749
+SHA256 ae42aafe6b4f703d97f2b00e61fc504ed49a4473d88abdf46e129af2230c6134 ChangeLog 19749
MISC metadata.xml 161 RMD160 60f70b15d67f0e6aafc59833b2f0a30e30b51765 SHA1 1c35398222ef7ed670c31965e42cca77fe4b1da6 SHA256 e8daadc5e27e3ef1148993b5b48d96e93bc36d798a1f416693f7f8c84be427e1
MD5 5fc54c5d01402d0610fafa96961bb8e0 metadata.xml 161
RMD160 60f70b15d67f0e6aafc59833b2f0a30e30b51765 metadata.xml 161
MD5 cd7ad40cee553aac08db2242edf708ca files/digest-netpbm-10.26.35 509
RMD160 6ba6d6258cd1b3bdae30009ca315fed5830d6ce9 files/digest-netpbm-10.26.35 509
SHA256 978435375dc6c393760ea0abf48659bf3f6d48dc837dc6545ac7581d4af373a1 files/digest-netpbm-10.26.35 509
+MD5 c72e378efa79632b3e939b7201d362e9 files/digest-netpbm-10.26.36 509
+RMD160 0a24b6652aa79bfdd4123a9f3c84107b69a0e1c1 files/digest-netpbm-10.26.36 509
+SHA256 89b3eba0786cf277389d7f1c7046ded65ccd5fe27db07009d4b6740fc3b45b50 files/digest-netpbm-10.26.36 509
MD5 aa322e4cfbd60cf8ff55e2bdc716b3d3 files/digest-netpbm-10.34 500
RMD160 40829b0750c9d553b14403a2afeb29b89ac310a2 files/digest-netpbm-10.34 500
SHA256 02ab164f86c651741c75c27cf1b7434fbdaa1fa8db3d7caedbd3cbb4c8e51baf files/digest-netpbm-10.34 500
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFFe2ZlamhnQswr0vIRAgePAKCk7jgE6mFEaeEji3qJRJi9l+U9CwCgiRsa
-SqTyZY5Q/Bg2EGEAYlFB4iQ=
-=E+qO
+iD8DBQFFh71dK9sYciBdMQMRAlTkAKCATZKGBYrRYfVb0a5CIBoYoO5qSwCfZ+XN
+V1qXmujNabsBexATys9ydR0=
+=3p67
-----END PGP SIGNATURE-----
--- /dev/null
+MD5 78d63e131160ac6e1ff829088bb74c13 netpbm-10.26.36.tgz 2542454
+RMD160 e731d964c61787337756f8ec48c22fbd51c0f0dd netpbm-10.26.36.tgz 2542454
+SHA256 343f0fa5af7e7058df102fe2cc44f6cddece361e97b23f613f739be2b566cf52 netpbm-10.26.36.tgz 2542454
+MD5 2d90a47369f74692aa24b773dfd6a122 netpbm-10.30-manpages.tar.bz2 233254
+RMD160 6312e1486f473f57332a5dc050a03ac1dfce7f47 netpbm-10.30-manpages.tar.bz2 233254
+SHA256 75eb6ceaebafffb6a2d608d49f2b61c5049e5795976bbfb2d55608de1f858124 netpbm-10.30-manpages.tar.bz2 233254
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/netpbm-10.26.36.ebuild,v 1.1 2006/12/19 10:22:03 vapier Exp $
+
+inherit flag-o-matic toolchain-funcs eutils multilib
+
+MAN_VER=10.30
+DESCRIPTION="A set of utilities for converting to/from the netpbm (and related) formats"
+HOMEPAGE="http://netpbm.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz
+ mirror://gentoo/${PN}-${MAN_VER}-manpages.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 mips s390 sh sparc x86"
+IUSE="svga jpeg tiff png zlib"
+
+DEPEND="jpeg? ( >=media-libs/jpeg-6b )
+ tiff? ( >=media-libs/tiff-3.5.5 )
+ png? ( >=media-libs/libpng-1.2.1 )
+ zlib? ( sys-libs/zlib )
+ svga? ( media-libs/svgalib )
+ media-libs/jbigkit
+ media-libs/jasper
+ media-libs/urt"
+
+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 '-dynamiclib -install_name $(SONAME)';;
+ *) echo '-shared -Wl,-soname,$(SONAME)';;
+ esac
+}
+netpbm_config() {
+ use $1 && echo -l${2:-$1} || echo NONE
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/netpbm-10.30-build.patch
+
+ rm -f configure
+ cp Makefile.config.in Makefile.config
+ cat >> Makefile.config <<-EOF
+ # Gentoo toolchain options
+ CC = $(tc-getCC)
+ CC_FOR_BUILD = $(tc-getBUILD_CC)
+ AR = $(tc-getAR)
+ RANLIB = $(tc-getRANLIB)
+ STRIPFLAG =
+ CFLAGS_SHLIB = -fPIC
+
+ 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)
+
+ # Use system versions instead of bundled
+ JBIGLIB = -ljbig
+ JBIGHDR_DIR =
+ JASPERLIB = -ljasper
+ JASPERHDR_DIR =
+ URTLIB = -lrle
+ URTHDR_DIR =
+ EOF
+
+ # Sparc support ...
+ replace-flags -mcpu=ultrasparc "-mcpu=v8 -mtune=ultrasparc"
+ replace-flags -mcpu=v9 "-mcpu=v8 -mtune=v9"
+}
+
+src_install() {
+ make 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}
+ rm -rf "${D}"/usr/man/web
+ rm -rf "${D}"/usr/link
+ rm -f "${D}"/usr/{README,VERSION,config_template,pkginfo}
+ dodir /usr/share
+ mv "${D}"/usr/man "${D}"/usr/share/
+ mv "${D}"/usr/misc "${D}"/usr/share/netpbm
+
+ dodoc README
+ cd doc
+ GLOBIGNORE='*.html:.*' dodoc *
+ dohtml -r .
+
+ cd "${WORKDIR}"/${PN}-${MAN_VER}-manpages || die
+ doman *.[0-9]
+ dodoc README* gen-netpbm-manpages
+}