# 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.116 2006/06/09 13:43:14 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/ChangeLog,v 1.117 2006/06/20 19:24:15 vapier Exp $
+
+*netpbm-10.34 (20 Jun 2006)
+
+ 20 Jun 2006; Mike Frysinger <vapier@gentoo.org> +netpbm-10.34.ebuild:
+ Version bump #137344 by Raphael Marichez.
*netpbm-10.26.29 (09 Jun 2006)
MD5 9d15cf1f501ff1763968008a2111703a files/netpbm-10.33-memmem.patch 967
RMD160 8f29108edbc1bae5ce699f8768f9be322509c75c files/netpbm-10.33-memmem.patch 967
SHA256 f59badd541cb5880f933bbf4c479ae429d186970b5a9c6fb43c707b38d87c17f files/netpbm-10.33-memmem.patch 967
-DIST netpbm-10.26.28.tgz 2540748 RMD160 06a06c85951b74f6184c58a7c588ba5696445ccd SHA256 b442a26fcd7691120b062ca8807b44a3877056577e923654a5474a389c4f87ad
DIST netpbm-10.26.29.tgz 2540954 RMD160 6cf2dbd2c78cc1271ef24705bd8dba97224dd537 SHA1 9c0431c64500018c6f51af6e85d9f7574391c0d8 SHA256 bca1c7867705f0d6feaab3807442394dddebfb3fa8fcce9ade8b6df50594138e
DIST netpbm-10.29.tgz 2359729 RMD160 c88d01b1106c7eb1f087d98a5570c0c61200d083 SHA256 b0e4e0d7a21809a606d55ad7f30d0715b080e35609791257ab3f075b7449f964
DIST netpbm-10.30-manpages.tar.bz2 233254 RMD160 6312e1486f473f57332a5dc050a03ac1dfce7f47 SHA256 75eb6ceaebafffb6a2d608d49f2b61c5049e5795976bbfb2d55608de1f858124
DIST netpbm-10.32.tgz 2390874 RMD160 9050c6b2b9891745c07d0694a0188cd905c5b9f4 SHA256 081a72f2201cceadb87e122b178e7abaee55a703943307748b346ba54dbfd625
DIST netpbm-10.33-manpages.tar.bz2 236722 RMD160 5e43836a5f4d16f1ba5ece21e9996dbe60b252ae SHA256 aa18adee4a187ad5df243cb1a7c51097dc6a7d6a8072cf6da09972b74ac5454a
DIST netpbm-10.33.tgz 2456707 RMD160 7721314f9ef27f22a6bb034ca9e3577cff2984e5 SHA256 5e00e5e5390fdc7e2e5117761c853e6ea8de783bf7f21be63c611fc75d764eb8
-EBUILD netpbm-10.26.28.ebuild 2803 RMD160 a17c524a29277c046e8bb19c05a834021e804c35 SHA1 38a22974a1cb190bcfdd343e8e2c727910abeec3 SHA256 3e8c1f3b594de9bf653c8c656e31541084fbaebd1aa4bcf32901eec4d72100ba
-MD5 67aecac4b4f0d6e44ba370cd2b4d3c09 netpbm-10.26.28.ebuild 2803
-RMD160 a17c524a29277c046e8bb19c05a834021e804c35 netpbm-10.26.28.ebuild 2803
-SHA256 3e8c1f3b594de9bf653c8c656e31541084fbaebd1aa4bcf32901eec4d72100ba netpbm-10.26.28.ebuild 2803
+DIST netpbm-10.34.tgz 2507007 RMD160 57a596efa6cacb981135d554a72cbaffc4cfe72c SHA1 530458871f9d3dc763a1bf82f227eeb79098c601 SHA256 b1e0a35be36e763e85c68b47806e7e1abf431f68289dd108923384b77ded785b
EBUILD netpbm-10.26.29.ebuild 2803 RMD160 5fa22b3a7aa079146f64377ab374adf3ca2661f9 SHA1 417d2164d8195897292ae7a4751e9d348e5ce4b0 SHA256 db7f61dd9268f3ff0b86cd52cdc08ef64992879c9649dc997566719f69f7c0fd
MD5 77f7da79d633a4a753b21d953921d66c netpbm-10.26.29.ebuild 2803
RMD160 5fa22b3a7aa079146f64377ab374adf3ca2661f9 netpbm-10.26.29.ebuild 2803
MD5 54bec4bbc45bad5ad2a25ef984fe42c2 netpbm-10.33.ebuild 2960
RMD160 74d33736f17c6443b5a02bfe4c17e0d3d52812dc netpbm-10.33.ebuild 2960
SHA256 34e640cd6e51f38c8c2e9b37e0ebe07cbdcf7324836e43e725f39f8a19e00bfa netpbm-10.33.ebuild 2960
-MISC ChangeLog 16864 RMD160 566510835672e25396bccd7ffad9cacb13709fef SHA1 c7af2f9b5a9dfec54db3bacb6a76bba74ee783df SHA256 013af64bbc5e1d1580722d809ab28a3de45b81cf65b03bbf4abe6afa99fc9312
-MD5 126d086cf891b6ba645f08feca2290dd ChangeLog 16864
-RMD160 566510835672e25396bccd7ffad9cacb13709fef ChangeLog 16864
-SHA256 013af64bbc5e1d1580722d809ab28a3de45b81cf65b03bbf4abe6afa99fc9312 ChangeLog 16864
+EBUILD netpbm-10.34.ebuild 2970 RMD160 4d80ff95b11bfa017ecad49f8280908106b29990 SHA1 57e73e3306212bfc648e1ad91cc30a5f817e3307 SHA256 198a8c9589322557caed8163e9a40a2572c5f35c04e29b37dba444939a98a9cb
+MD5 4ce10b022a7614ccd516aaeacd250dc2 netpbm-10.34.ebuild 2970
+RMD160 4d80ff95b11bfa017ecad49f8280908106b29990 netpbm-10.34.ebuild 2970
+SHA256 198a8c9589322557caed8163e9a40a2572c5f35c04e29b37dba444939a98a9cb netpbm-10.34.ebuild 2970
+MISC ChangeLog 17010 RMD160 a8fcd20af7e5489f605f3dd4dc1a5674b5f808ef SHA1 90b59d53561db8cab68afd1b07cf572dd9f1e7a3 SHA256 0f54dd5b976c84093c9f24af790e1dfd9078dd8b95f711428a4469391dab631f
+MD5 d0ed1262681df0b45aee65e917b2878d ChangeLog 17010
+RMD160 a8fcd20af7e5489f605f3dd4dc1a5674b5f808ef ChangeLog 17010
+SHA256 0f54dd5b976c84093c9f24af790e1dfd9078dd8b95f711428a4469391dab631f ChangeLog 17010
MISC metadata.xml 224 RMD160 b7bf7da46cd75283f29d006f5d6854890a3d8aab SHA1 222093833f902db8f97b1e4b00ad402caf7f9c78 SHA256 06e3a779a82014f8783ebfc67e1b11107bcb670aacdf1f81faa361642046ba23
MD5 e1f6c302199a36c1be4ecf1654be9bac metadata.xml 224
RMD160 b7bf7da46cd75283f29d006f5d6854890a3d8aab metadata.xml 224
SHA256 06e3a779a82014f8783ebfc67e1b11107bcb670aacdf1f81faa361642046ba23 metadata.xml 224
-MD5 5aaa93f8b35c15ad2a207519bf0c416d files/digest-netpbm-10.26.28 509
-RMD160 06e68b1f3bd9ae4e2390b76e1d2635fda24d7d13 files/digest-netpbm-10.26.28 509
-SHA256 e579f489a9ca04212850ea3b222ebced894cf4e722a71acaf93fa738374671b4 files/digest-netpbm-10.26.28 509
MD5 a6219895543c38fdaf23811febcadfc4 files/digest-netpbm-10.26.29 509
RMD160 111be1088a061f305b319b2b324a0469e9bbacc7 files/digest-netpbm-10.26.29 509
SHA256 70112510281033590c7d9c5d1c9a3e4eae10f608058e0e16dcc726e3db8d8369 files/digest-netpbm-10.26.29 509
MD5 0407f9ab8962e489fade0d58dc8c456f files/digest-netpbm-10.33 500
RMD160 ef6fdeb300b6999e5a50f59446e6314011fbc967 files/digest-netpbm-10.33 500
SHA256 b983e4e062abf2034aaa4e7db47fd20d446dc86f92f070ee20e979bdc82c1d20 files/digest-netpbm-10.33 500
+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.3 (GNU/Linux)
-iD8DBQFEiXvs2+ySkm8kpY0RAquVAJ4+Im02bcbS2klgAoFnBmvbCa0XPQCgnqDL
-Aht49lYlqN9B9Tp6jXqMjMU=
-=/MvK
+iD8DBQFEmEyQamhnQswr0vIRAlOMAJwM+Bniy5U0DnouoN23pShpg0zBxACgoiwE
+4l/njbGms6Xhk131lPf77tI=
+=h9V6
-----END PGP SIGNATURE-----
--- /dev/null
+MD5 61a2d777a3eb0ce803bf021c7b99076f netpbm-10.33-manpages.tar.bz2 236722
+RMD160 5e43836a5f4d16f1ba5ece21e9996dbe60b252ae netpbm-10.33-manpages.tar.bz2 236722
+SHA256 aa18adee4a187ad5df243cb1a7c51097dc6a7d6a8072cf6da09972b74ac5454a netpbm-10.33-manpages.tar.bz2 236722
+MD5 851137b746e9a08c46e6580743c036c4 netpbm-10.34.tgz 2507007
+RMD160 57a596efa6cacb981135d554a72cbaffc4cfe72c netpbm-10.34.tgz 2507007
+SHA256 b1e0a35be36e763e85c68b47806e7e1abf431f68289dd108923384b77ded785b netpbm-10.34.tgz 2507007
--- /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.34.ebuild,v 1.1 2006/06/20 19:24:15 vapier Exp $
+
+inherit flag-o-matic 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://sourceforge/${PN}/${P}.tgz
+ mirror://gentoo/${PN}-${MAN_VER}-manpages.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+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 '$(LDFLAGS) -dynamiclib -install_name $(SONAME)';;
+ *) echo '$(LDFLAGS) -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.31-build.patch
+ epatch "${FILESDIR}"/netpbm-10.33-memmem.patch
+
+ rm -f configure
+ cp Makefile.config.in Makefile.config
+ cat >> Makefile.config <<-EOF
+ # Gentoo toolchain options
+ CC = $(tc-getCC) -Wall
+ CC_FOR_BUILD = $(tc-getBUILD_CC)
+ AR = $(tc-getAR)
+ RANLIB = $(tc-getRANLIB)
+ STRIPFLAG =
+ CFLAGS_SHLIB = -fPIC
+
+ # workaround parallel build issues
+ SYMLINK = ln -sf
+
+ 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
+}
+
+src_compile() {
+ replace-flags -mcpu=ultrasparc "-mcpu=v8 -mtune=ultrasparc"
+ replace-flags -mcpu=v9 "-mcpu=v8 -mtune=v9"
+
+ emake || die
+}
+
+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
+}