# 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.158 2007/03/18 21:09:10 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/ChangeLog,v 1.159 2007/03/29 22:25:43 vapier Exp $
+
+*netpbm-10.26.42 (29 Mar 2007)
+
+ 29 Mar 2007; Mike Frysinger <vapier@gentoo.org> +netpbm-10.26.42.ebuild:
+ Version bump.
*netpbm-10.26.41 (18 Mar 2007)
SHA256 b36d159a7e3ec7377760f30e835b8b2bed6c00a9aa992562d50de5ddb6937847 files/netpbm-10.35.0-xml2.patch 850
DIST netpbm-10.26.40.tgz 2541903 RMD160 7f14ab9ca45ba529503910f091b53f5abe75b186 SHA1 2c22a46c07d7c14334aa27053d9baaa6d6a10440 SHA256 fb893e5bba8769cf7f6469bd4fcba8b4c2e69de21da7604f393414238d19f086
DIST netpbm-10.26.41.tgz 2542579 RMD160 be771ef9a4891a2b5c6ea0ffb8052d9726a18158 SHA1 80e39a0434c37160bd7ac3101c29d5b12fa5b5cb SHA256 8b5f56412328c892281c7e6cb07fee919e301c3c10767fd51445650a99968dba
+DIST netpbm-10.26.42.tgz 2550998 RMD160 25f7d38e21aaf3ac5567701f19f71e5095f539fa SHA1 9543c4672b0add5c196324141c8e5a5ab89ffd90 SHA256 fd5a0d6f06104301bf3fc042b9a80904d37d87ba9ec4ca814a367b3d5edbb963
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 f8ebdaf199b7d7529ef746e1a2d2629f netpbm-10.26.41.ebuild 2888
RMD160 dd736d927657c40cecb34d009abca00afc8a61d4 netpbm-10.26.41.ebuild 2888
SHA256 c89228aa1797274c269b0885205d46a315827ca218791ea1c3628bb7693e575c netpbm-10.26.41.ebuild 2888
+EBUILD netpbm-10.26.42.ebuild 2888 RMD160 0458661292ec7abe91405d27f4d332bdcfb2f21d SHA1 7bb059dff8f25d6ff80c82e6e854dcb2ddf52e8b SHA256 45a480d920add31564256d8cad1ed8f86adc9f918e6a2bc006070a43b451ca85
+MD5 2873541264efb63a6a6f5751580bf424 netpbm-10.26.42.ebuild 2888
+RMD160 0458661292ec7abe91405d27f4d332bdcfb2f21d netpbm-10.26.42.ebuild 2888
+SHA256 45a480d920add31564256d8cad1ed8f86adc9f918e6a2bc006070a43b451ca85 netpbm-10.26.42.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 a8b1533dd238d9807950d8ff66dbec4b netpbm-10.37.0.ebuild 3180
RMD160 04eb0fe5b32772a4122cfa20fa9bd139b197c886 netpbm-10.37.0.ebuild 3180
SHA256 b8292c0a717e4b0a87c023e2aae691b29fbf30b45992f43895f44e1815292cc0 netpbm-10.37.0.ebuild 3180
-MISC ChangeLog 22273 RMD160 096befd32631a2e53106e55d82cf44daee1b4a7a SHA1 ed182b00fd784fde56ee4f94ee2e96a417a639ea SHA256 034985dd6a2db45bb5bb9fbdbfe5f88af3e2a0770598b01f9149fc5e1a27f059
-MD5 f55af63ceb8eef6bb40a945b0af31991 ChangeLog 22273
-RMD160 096befd32631a2e53106e55d82cf44daee1b4a7a ChangeLog 22273
-SHA256 034985dd6a2db45bb5bb9fbdbfe5f88af3e2a0770598b01f9149fc5e1a27f059 ChangeLog 22273
+MISC ChangeLog 22397 RMD160 29060352d88d7d204d27f70cadb0a565b9b5faf6 SHA1 e4f5ab6fa6fddcc7e804e084cea1c771b650f8a3 SHA256 0e3b286b22ba8f0088d4d8e9b03430cfb5232dba22bb5c9db8806a418bf4dfa9
+MD5 ef586fa54dc778afac7804e3928136c8 ChangeLog 22397
+RMD160 29060352d88d7d204d27f70cadb0a565b9b5faf6 ChangeLog 22397
+SHA256 0e3b286b22ba8f0088d4d8e9b03430cfb5232dba22bb5c9db8806a418bf4dfa9 ChangeLog 22397
MISC metadata.xml 161 RMD160 60f70b15d67f0e6aafc59833b2f0a30e30b51765 SHA1 1c35398222ef7ed670c31965e42cca77fe4b1da6 SHA256 e8daadc5e27e3ef1148993b5b48d96e93bc36d798a1f416693f7f8c84be427e1
MD5 5fc54c5d01402d0610fafa96961bb8e0 metadata.xml 161
RMD160 60f70b15d67f0e6aafc59833b2f0a30e30b51765 metadata.xml 161
MD5 b28f51eb06d8953982ef8b0b22c307bf files/digest-netpbm-10.26.41 509
RMD160 22dcaaf4bf462a80765955ab8d3738f2b5c0c3e7 files/digest-netpbm-10.26.41 509
SHA256 d9fd74f2204ef894f3b58c8a8f33e39ebeab501e640cdd6db46a5fccfa19f175 files/digest-netpbm-10.26.41 509
+MD5 6f61e20a4a5f2684516b1eddc98e719f files/digest-netpbm-10.26.42 509
+RMD160 006f0d1f66faf6536eb2e167b104aa968d2ab4d1 files/digest-netpbm-10.26.42 509
+SHA256 b10b1bcb53c0c66abf38fc52f0bfcffcc7f03c47137f301d2ef11cb4a5ee1767 files/digest-netpbm-10.26.42 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.3 (GNU/Linux)
-iD8DBQFF/aqA8bi6rjpTunYRAmmQAKDDZN73QCyAkdG+mDqAxeYeI8N2NQCg1RTX
-S9HOtJi0fHLGfNTHfhw5ZzY=
-=3yo4
+iD8DBQFGDDz98bi6rjpTunYRAj81AKC8XhhSDwVLQEJxts7Qj38zLxEJFgCgqijz
+6VVTPVYgB7T0l2ytf4yxrkk=
+=WucO
-----END PGP SIGNATURE-----
--- /dev/null
+MD5 d8eefe1e7cc7f02d7f0d41a51432f8f2 netpbm-10.26.42.tgz 2550998
+RMD160 25f7d38e21aaf3ac5567701f19f71e5095f539fa netpbm-10.26.42.tgz 2550998
+SHA256 fd5a0d6f06104301bf3fc042b9a80904d37d87ba9ec4ca814a367b3d5edbb963 netpbm-10.26.42.tgz 2550998
+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.42.ebuild,v 1.1 2007/03/29 22:25:43 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
+}