From 26d666c9d9396572aa524a259a730b9b971087c1 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 9 Feb 2007 06:43:06 +0000 Subject: [PATCH] Cleanup tempfile handling #165940 by Andrew Aylett. Package-Manager: portage-2.1.2-r9 --- media-libs/jpeg/ChangeLog | 9 +++-- media-libs/jpeg/Manifest | 24 ++++++++----- media-libs/jpeg/files/digest-jpeg-6b-r8 | 6 ++++ media-libs/jpeg/jpeg-6b-r8.ebuild | 48 +++++++++++++++++++++++++ 4 files changed, 77 insertions(+), 10 deletions(-) create mode 100644 media-libs/jpeg/files/digest-jpeg-6b-r8 create mode 100644 media-libs/jpeg/jpeg-6b-r8.ebuild diff --git a/media-libs/jpeg/ChangeLog b/media-libs/jpeg/ChangeLog index 00958f9ee458..e488cc6ef6b2 100644 --- a/media-libs/jpeg/ChangeLog +++ b/media-libs/jpeg/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/jpeg -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/ChangeLog,v 1.56 2006/09/04 03:59:21 kumba Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/ChangeLog,v 1.57 2007/02/09 06:43:06 vapier Exp $ + +*jpeg-6b-r8 (09 Feb 2007) + + 09 Feb 2007; Mike Frysinger +jpeg-6b-r8.ebuild: + Cleanup tempfile handling #165940 by Andrew Aylett. 04 Sep 2006; Joshua Kinard jpeg-6b-r7.ebuild: Marked stable on mips. diff --git a/media-libs/jpeg/Manifest b/media-libs/jpeg/Manifest index ac592974b8fe..45a753afb8fb 100644 --- a/media-libs/jpeg/Manifest +++ b/media-libs/jpeg/Manifest @@ -2,15 +2,20 @@ Hash: SHA1 DIST jpeg-6b-patches-1.4.tar.bz2 22476 RMD160 b8c5cc7383b07028c7b973305437c89d5bf66aea SHA1 535b1ca416d83efcb33084161cdedf388452599b SHA256 6f0d17a38bf582728f9e35cdeb48ce76a8c2ef8983fa4cea646afb4f4770d70a +DIST jpeg-6b-patches-1.5.tar.bz2 22401 RMD160 9bde530fc870321fd3dcbce1a087bb45affc7318 SHA1 da96bf364e733f773cf47883633dc5d398fd9766 SHA256 b013f4dcf81858e74af4c01bed20adf1bbb83db39cf6d325428eb0dfedb1a4bd DIST jpegsrc.v6b.tar.gz 613261 RMD160 18892206014fbb8cae2a44e281f4ed53feaf7882 SHA1 7079f0d6c42fad0cfba382cf6ad322add1ace8f9 SHA256 75c3ec241e9996504fe02a9ed4d12f16b74ade713972f3db9e65ce95cd27e35d EBUILD jpeg-6b-r7.ebuild 1272 RMD160 cae02758c378a18e7e8385875c356a63724bab45 SHA1 eb85cd4970b5080b0020d6aa40018db3cdf9e984 SHA256 9943366252941923e8f4e87cf5b44efb8d1b9fca3b3a4de270e4c7d6e561c63f MD5 3c67b50c9911d5cd7dd308ceca48d72e jpeg-6b-r7.ebuild 1272 RMD160 cae02758c378a18e7e8385875c356a63724bab45 jpeg-6b-r7.ebuild 1272 SHA256 9943366252941923e8f4e87cf5b44efb8d1b9fca3b3a4de270e4c7d6e561c63f jpeg-6b-r7.ebuild 1272 -MISC ChangeLog 7237 RMD160 386dc981b557849040cdca99597290fec06592fb SHA1 506b02c388f7884dc8b9e294dda170b5fa81a6b9 SHA256 673c26a6170266dac070a43fc4eb6bc8a2c6e402fc0bcea785c661b0f83e9c8a -MD5 591f01d7208c21056c6ea57f280fea18 ChangeLog 7237 -RMD160 386dc981b557849040cdca99597290fec06592fb ChangeLog 7237 -SHA256 673c26a6170266dac070a43fc4eb6bc8a2c6e402fc0bcea785c661b0f83e9c8a ChangeLog 7237 +EBUILD jpeg-6b-r8.ebuild 1302 RMD160 f4aaa8109183bbb13036f63946360a79f69893c8 SHA1 709792b080e18f3bcf21759954d0b2d45229404c SHA256 a76eca87f0ef270bfdb37c8e3793f34e057bd5302e238322bf8dd6e0c87f628a +MD5 e646ffa9caf524b6168b2a12a67e6311 jpeg-6b-r8.ebuild 1302 +RMD160 f4aaa8109183bbb13036f63946360a79f69893c8 jpeg-6b-r8.ebuild 1302 +SHA256 a76eca87f0ef270bfdb37c8e3793f34e057bd5302e238322bf8dd6e0c87f628a jpeg-6b-r8.ebuild 1302 +MISC ChangeLog 7390 RMD160 373d5ae360835c15e6051b06f3a66fc779322afc SHA1 585d505a44f3d681b7af73650aec06fbc531a512 SHA256 9e02cbfc475d56f3eacba3944de9e69106d69f8f5a780c6125f5fd5430388eef +MD5 470911af5985174821938b0414522e13 ChangeLog 7390 +RMD160 373d5ae360835c15e6051b06f3a66fc779322afc ChangeLog 7390 +SHA256 9e02cbfc475d56f3eacba3944de9e69106d69f8f5a780c6125f5fd5430388eef ChangeLog 7390 MISC metadata.xml 224 RMD160 3a7dcbadaed2b7ed12e11152fe1fe2de0193fc29 SHA1 fa5078079869e963f3f51f80124cecf8ea6c1b67 SHA256 806818bba7ae36d62f16c1fe548a1eb2a360caf2d984aa8f47bba7b91ff73434 MD5 3637cbaea842b04f1aa4693a1f68e286 metadata.xml 224 RMD160 3a7dcbadaed2b7ed12e11152fe1fe2de0193fc29 metadata.xml 224 @@ -18,10 +23,13 @@ SHA256 806818bba7ae36d62f16c1fe548a1eb2a360caf2d984aa8f47bba7b91ff73434 metadata MD5 6e59987596124f832e8e44021754ef31 files/digest-jpeg-6b-r7 494 RMD160 7f2b33153f942f4d1c7a977096a8dffcc94e5fe8 files/digest-jpeg-6b-r7 494 SHA256 837b79b93b35b7c0fe0a2db8af5e03575c10bb1e0b2bfd0d3de6145c9d3820e9 files/digest-jpeg-6b-r7 494 +MD5 ecaf7d3c1c4e6d638db394a3b0a49013 files/digest-jpeg-6b-r8 494 +RMD160 35c2a47736e14d1cd8aaa72b06b69b380a036bcd files/digest-jpeg-6b-r8 494 +SHA256 a0d592b4ad0295b3e78d7f87bb468cc076d16d5a20bde5cb937a501ce55891aa files/digest-jpeg-6b-r8 494 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) +Version: GnuPG v2.0.2 (GNU/Linux) -iD8DBQFFVp4kamhnQswr0vIRAjuPAJ9N4TVanSQKOt8+p6XiCNc7R04YsgCguonV -DUSNtH6cL+O0yg/lgIU3i4U= -=9Kp8 +iD8DBQFFzBgF8bi6rjpTunYRAqxFAJ44j87zChibSqBEAehI9xMCX4CxrwCfSAv7 +tVFGhrqVl8wdnm4gDAtYdII= +=qmZF -----END PGP SIGNATURE----- diff --git a/media-libs/jpeg/files/digest-jpeg-6b-r8 b/media-libs/jpeg/files/digest-jpeg-6b-r8 new file mode 100644 index 000000000000..e71eccc3ae07 --- /dev/null +++ b/media-libs/jpeg/files/digest-jpeg-6b-r8 @@ -0,0 +1,6 @@ +MD5 c10d105d6e826c8dad014924df548e5c jpeg-6b-patches-1.5.tar.bz2 22401 +RMD160 9bde530fc870321fd3dcbce1a087bb45affc7318 jpeg-6b-patches-1.5.tar.bz2 22401 +SHA256 b013f4dcf81858e74af4c01bed20adf1bbb83db39cf6d325428eb0dfedb1a4bd jpeg-6b-patches-1.5.tar.bz2 22401 +MD5 dbd5f3b47ed13132f04c685d608a7547 jpegsrc.v6b.tar.gz 613261 +RMD160 18892206014fbb8cae2a44e281f4ed53feaf7882 jpegsrc.v6b.tar.gz 613261 +SHA256 75c3ec241e9996504fe02a9ed4d12f16b74ade713972f3db9e65ce95cd27e35d jpegsrc.v6b.tar.gz 613261 diff --git a/media-libs/jpeg/jpeg-6b-r8.ebuild b/media-libs/jpeg/jpeg-6b-r8.ebuild new file mode 100644 index 000000000000..4d53ae5fbe72 --- /dev/null +++ b/media-libs/jpeg/jpeg-6b-r8.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/jpeg-6b-r8.ebuild,v 1.1 2007/02/09 06:43:06 vapier Exp $ + +inherit libtool eutils toolchain-funcs + +PATCH_VER="1.5" +DESCRIPTION="Library to load, handle and manipulate images in the JPEG format" +HOMEPAGE="http://www.ijg.org/" +SRC_URI="ftp://ftp.uu.net/graphics/jpeg/${PN}src.v${PV}.tar.gz + mirror://gentoo/${P}-patches-${PATCH_VER}.tar.bz2" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND} + >=sys-devel/libtool-1.5.10-r4" + +src_unpack() { + unpack ${A} + cd "${S}" + EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch + elibtoolize +} + +src_compile() { + tc-export CC RANLIB AR + + econf \ + --enable-shared \ + --enable-static \ + --enable-maxmem=64 \ + || die "econf failed" + emake || die "make failed" + emake -C "${WORKDIR}"/extra || die "make extra failed" +} + +src_install() { + emake install DESTDIR="${D}" || die "install" + emake -C "${WORKDIR}"/extra install DESTDIR="${D}" || die "install extra" + + dodoc README install.doc usage.doc wizard.doc change.log \ + libjpeg.doc example.c structure.doc filelist.doc \ + coderules.doc +} -- 2.26.2