# ChangeLog for media-libs/netpbm
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/ChangeLog,v 1.147 2007/01/10 14:09:34 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/ChangeLog,v 1.148 2007/01/16 02:43:32 vapier Exp $
+
+*netpbm-10.26.38 (16 Jan 2007)
+
+ 16 Jan 2007; Mike Frysinger <vapier@gentoo.org> +netpbm-10.26.38.ebuild:
+ Version bump.
10 Jan 2007; Mike Frysinger <vapier@gentoo.org> netpbm-10.26.37.ebuild,
netpbm-10.36.0.ebuild, netpbm-10.37.0.ebuild:
RMD160 426cc33a622b8641bdbff8e60a8418318cdee682 files/netpbm-10.35.0-xml2.patch 850
SHA256 b36d159a7e3ec7377760f30e835b8b2bed6c00a9aa992562d50de5ddb6937847 files/netpbm-10.35.0-xml2.patch 850
DIST netpbm-10.26.37.tgz 2544792 RMD160 6a436b834a2bd24f2ecac96ce8c120155a6c25ba SHA1 0603b83b65a70cf9e63cdf5a6a49ec42701404bf SHA256 7abcc46381d70f3a99b1eb1aa255daa4215f2f0239eb49249028e36126e88f5e
+DIST netpbm-10.26.38.tgz 2542564 RMD160 cdafa3545093200032a1efb56dde269316cca6d6 SHA1 e6aa1d7d0cd4ad9d01e2ec5870a800876ab1db59 SHA256 6ba6c59b6a3c5d5b12a3cb9f12cdbf1ff2a5ecdcc04c14449263bb50a4a5b43e
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 dc1b69b12d938a663777107328acd28f netpbm-10.26.37.ebuild 2888
RMD160 9fdc9f75785f79991900f2dedf9f335ecd444199 netpbm-10.26.37.ebuild 2888
SHA256 3d9529ee370caf20365562f9a8b14153edbfb723cf60b5963db3e29bd06e120a netpbm-10.26.37.ebuild 2888
+EBUILD netpbm-10.26.38.ebuild 2888 RMD160 72502520a3ac6c9765c20fb7a9ecd12ae669293e SHA1 8d4eee9102754d397b7fecfdc186d1abeb5efa64 SHA256 474f82a7f9bf5062d3bfcd0391a6bbde2cdfee24bb6e75539c1c00618e479074
+MD5 4fb12cbbaf65b7a5aa353da8f180e466 netpbm-10.26.38.ebuild 2888
+RMD160 72502520a3ac6c9765c20fb7a9ecd12ae669293e netpbm-10.26.38.ebuild 2888
+SHA256 474f82a7f9bf5062d3bfcd0391a6bbde2cdfee24bb6e75539c1c00618e479074 netpbm-10.26.38.ebuild 2888
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 125aa6d9fd00f9d6280b85b9c0df82f2 netpbm-10.37.0.ebuild 3191
RMD160 2b38556c293a0f167c5be16a9ce90c3f9da9a1e7 netpbm-10.37.0.ebuild 3191
SHA256 2a2ca8da2a6dee517fd7e44eecd209b5455dd8eb1013fe5c15fb439b619d459c netpbm-10.37.0.ebuild 3191
-MISC ChangeLog 20958 RMD160 a76b28883659799318787654f4ef97b55dfa9990 SHA1 fb9d5a51112c82e09115988de450fef4e144f6c1 SHA256 42915c6b7f51d6e91f0816ce03f0ced2c1ae9d0fc86ad7dd34957ec74285c814
-MD5 efbf9e0eab5ef4a3f5af2d84932dd7da ChangeLog 20958
-RMD160 a76b28883659799318787654f4ef97b55dfa9990 ChangeLog 20958
-SHA256 42915c6b7f51d6e91f0816ce03f0ced2c1ae9d0fc86ad7dd34957ec74285c814 ChangeLog 20958
+MISC ChangeLog 21082 RMD160 74f525cfea5cb881d869012b88ad2b5d0b95807f SHA1 dec5091a3ba7fd669775cbeb3d8e142cb01be474 SHA256 69a80a9ac260fb8fccda778bc9ec6baa476b10e6e711d28f08b65e17fd20100f
+MD5 c482fe5fc69c57c5820b42e280c7ac86 ChangeLog 21082
+RMD160 74f525cfea5cb881d869012b88ad2b5d0b95807f ChangeLog 21082
+SHA256 69a80a9ac260fb8fccda778bc9ec6baa476b10e6e711d28f08b65e17fd20100f ChangeLog 21082
MISC metadata.xml 161 RMD160 60f70b15d67f0e6aafc59833b2f0a30e30b51765 SHA1 1c35398222ef7ed670c31965e42cca77fe4b1da6 SHA256 e8daadc5e27e3ef1148993b5b48d96e93bc36d798a1f416693f7f8c84be427e1
MD5 5fc54c5d01402d0610fafa96961bb8e0 metadata.xml 161
RMD160 60f70b15d67f0e6aafc59833b2f0a30e30b51765 metadata.xml 161
MD5 a7a4f8fc3e38eda51f6e7c87592f288f files/digest-netpbm-10.26.37 509
RMD160 6a56014ab2693bd3c020636bdef2524c37d6a9dd files/digest-netpbm-10.26.37 509
SHA256 43d25f6390cf2a50a08693cd1d28aae85415dbb958c001de46d4ac8b8bd54b5c files/digest-netpbm-10.26.37 509
+MD5 79a48d0c98af1902da47173b3bdf812e files/digest-netpbm-10.26.38 509
+RMD160 e0aaa0078caabd706844c98c22ecc002a170db65 files/digest-netpbm-10.26.38 509
+SHA256 779da78fcdb6691677262f520cfc621ddf2695e64931baba9db86326198c23f4 files/digest-netpbm-10.26.38 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 v2.0.1 (GNU/Linux)
-iD8DBQFFp91d8bi6rjpTunYRAmnQAJ4hqaAQhnMro2e/wPcongh6jB4RDACaA8zF
-KrhfmX07b0H2t0GBxzgnHY4=
-=7hdj
+iD8DBQFFrDv18bi6rjpTunYRAqyuAJ9h39YzEw71sRzLUumhWhcQyltHhwCfb7Rp
+Pn+Ml7pnJYnQVzWoW/XFx8w=
+=BBQU
-----END PGP SIGNATURE-----
--- /dev/null
+MD5 602959d72b1c342362c0b659407ede9a netpbm-10.26.38.tgz 2542564
+RMD160 cdafa3545093200032a1efb56dde269316cca6d6 netpbm-10.26.38.tgz 2542564
+SHA256 6ba6c59b6a3c5d5b12a3cb9f12cdbf1ff2a5ecdcc04c14449263bb50a4a5b43e netpbm-10.26.38.tgz 2542564
+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-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/netpbm-10.26.38.ebuild,v 1.1 2007/01/16 02:43:32 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
+ epatch "${FILESDIR}"/netpbm-10.26.37-headers.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 "${D}"/usr/include/shhopt.h
+ 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
+}