# 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.138 2006/12/19 10:22:03 vapier Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/ChangeLog,v 1.139 2007/01/03 03:19:36 vapier Exp $
+
+*netpbm-10.26.37 (03 Jan 2007)
+
+ 03 Jan 2007; Mike Frysinger <vapier@gentoo.org> +netpbm-10.26.37.ebuild:
+ Version bump.
*netpbm-10.26.36 (19 Dec 2006)
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.26.37.tgz 2544792 RMD160 6a436b834a2bd24f2ecac96ce8c120155a6c25ba SHA1 0603b83b65a70cf9e63cdf5a6a49ec42701404bf SHA256 7abcc46381d70f3a99b1eb1aa255daa4215f2f0239eb49249028e36126e88f5e
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 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.26.37.ebuild 2804 RMD160 637efbeab5caface7c72c49df78308a42367a328 SHA1 cbd763886eb1f21c14c74ca11c40113756aae893 SHA256 d23c47bc8679f496dcb8cd27fe8b9ffd878826c90152452df7cf456077431d01
+MD5 fbdaea915b8e884bc171738c4048fae0 netpbm-10.26.37.ebuild 2804
+RMD160 637efbeab5caface7c72c49df78308a42367a328 netpbm-10.26.37.ebuild 2804
+SHA256 d23c47bc8679f496dcb8cd27fe8b9ffd878826c90152452df7cf456077431d01 netpbm-10.26.37.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 19749 RMD160 ea2546cba09ba714923b23f0b2b7586a90a4abc0 SHA1 80229dc49fe90e170d232a9b8239c4684cd2a173 SHA256 ae42aafe6b4f703d97f2b00e61fc504ed49a4473d88abdf46e129af2230c6134
-MD5 51035d4d3569b642e58f2a26d8bfb634 ChangeLog 19749
-RMD160 ea2546cba09ba714923b23f0b2b7586a90a4abc0 ChangeLog 19749
-SHA256 ae42aafe6b4f703d97f2b00e61fc504ed49a4473d88abdf46e129af2230c6134 ChangeLog 19749
+MISC ChangeLog 19873 RMD160 610edee3be94bc655997a2700d63cfddb58c2d8b SHA1 9e09b03b63a56bf0897aca3feba8f871bd183625 SHA256 c62b88ade6391899fc4eda41039fbbc8f19efc27fe623113f4f16b06e2f38211
+MD5 1d58c46db384723d62b05ecec3bb633e ChangeLog 19873
+RMD160 610edee3be94bc655997a2700d63cfddb58c2d8b ChangeLog 19873
+SHA256 c62b88ade6391899fc4eda41039fbbc8f19efc27fe623113f4f16b06e2f38211 ChangeLog 19873
MISC metadata.xml 161 RMD160 60f70b15d67f0e6aafc59833b2f0a30e30b51765 SHA1 1c35398222ef7ed670c31965e42cca77fe4b1da6 SHA256 e8daadc5e27e3ef1148993b5b48d96e93bc36d798a1f416693f7f8c84be427e1
MD5 5fc54c5d01402d0610fafa96961bb8e0 metadata.xml 161
RMD160 60f70b15d67f0e6aafc59833b2f0a30e30b51765 metadata.xml 161
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 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 aa322e4cfbd60cf8ff55e2bdc716b3d3 files/digest-netpbm-10.34 500
RMD160 40829b0750c9d553b14403a2afeb29b89ac310a2 files/digest-netpbm-10.34 500
SHA256 02ab164f86c651741c75c27cf1b7434fbdaa1fa8db3d7caedbd3cbb4c8e51baf files/digest-netpbm-10.34 500
RMD160 4f94f4fc05f5be1561ad2edf0f597127cce57810 files/digest-netpbm-10.36.0 518
SHA256 602a4f958a7818b28e7d08cc5cfffea28512524b89fb499233aaedff9bc9af86 files/digest-netpbm-10.36.0 518
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
+Version: GnuPG v2.0.1 (GNU/Linux)
-iD8DBQFFh71dK9sYciBdMQMRAlTkAKCATZKGBYrRYfVb0a5CIBoYoO5qSwCfZ+XN
-V1qXmujNabsBexATys9ydR0=
-=3p67
+iD8DBQFFmyEY8bi6rjpTunYRApOIAJ428QkVeJ30HRZ3UoSEengxp/gXVgCfcpWZ
+nyMNQSZzBU694x7uihxemBY=
+=9AJa
-----END PGP SIGNATURE-----
--- /dev/null
+MD5 be354d278252737b77b196f88c7cc6e6 netpbm-10.26.37.tgz 2544792
+RMD160 6a436b834a2bd24f2ecac96ce8c120155a6c25ba netpbm-10.26.37.tgz 2544792
+SHA256 7abcc46381d70f3a99b1eb1aa255daa4215f2f0239eb49249028e36126e88f5e netpbm-10.26.37.tgz 2544792
+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.37.ebuild,v 1.1 2007/01/03 03:19:36 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
+}