Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/jpeg: ChangeLog jpeg-7.ebuild
Date: Sun, 23 Aug 2009 01:59:59
Message-Id: E1Mf2NB-0008Is-D9@stork.gentoo.org
1 vapier 09/08/23 01:59:57
2
3 Modified: ChangeLog jpeg-7.ebuild
4 Log:
5 Move from custom jpeg extras to Debian extras since ours is just a copy.
6 (Portage version: 2.2_rc38/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.74 media-libs/jpeg/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/jpeg/ChangeLog?rev=1.74&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/jpeg/ChangeLog?rev=1.74&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/jpeg/ChangeLog?r1=1.73&r2=1.74
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/media-libs/jpeg/ChangeLog,v
18 retrieving revision 1.73
19 retrieving revision 1.74
20 diff -u -r1.73 -r1.74
21 --- ChangeLog 23 Aug 2009 00:52:55 -0000 1.73
22 +++ ChangeLog 23 Aug 2009 01:59:57 -0000 1.74
23 @@ -1,6 +1,10 @@
24 # ChangeLog for media-libs/jpeg
25 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/ChangeLog,v 1.73 2009/08/23 00:52:55 vapier Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/ChangeLog,v 1.74 2009/08/23 01:59:57 vapier Exp $
28 +
29 + 23 Aug 2009; Mike Frysinger <vapier@g.o> jpeg-7.ebuild,
30 + +files/Makefile.extra, +files/Makefile.in.extra:
31 + Move from custom jpeg extras to Debian extras since ours is just a copy.
32
33 23 Aug 2009; Mike Frysinger <vapier@g.o> jpeg-7.ebuild:
34 Hook the extra subdir into the normal jpeg dir so we can re-use the
35
36
37
38 1.5 media-libs/jpeg/jpeg-7.ebuild
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/jpeg/jpeg-7.ebuild?rev=1.5&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/jpeg/jpeg-7.ebuild?rev=1.5&content-type=text/plain
42 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/jpeg/jpeg-7.ebuild?r1=1.4&r2=1.5
43
44 Index: jpeg-7.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/media-libs/jpeg/jpeg-7.ebuild,v
47 retrieving revision 1.4
48 retrieving revision 1.5
49 diff -u -r1.4 -r1.5
50 --- jpeg-7.ebuild 23 Aug 2009 00:52:55 -0000 1.4
51 +++ jpeg-7.ebuild 23 Aug 2009 01:59:57 -0000 1.5
52 @@ -1,32 +1,38 @@
53 # Copyright 1999-2009 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/jpeg-7.ebuild,v 1.4 2009/08/23 00:52:55 vapier Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/jpeg-7.ebuild,v 1.5 2009/08/23 01:59:57 vapier Exp $
57
58 EAPI="2"
59 +
60 +DEB_PV="7-1"
61 +DEB_PN="libjpeg${PV}"
62 +DEB="${DEB_PN}_${DEB_PV}"
63 +
64 inherit eutils libtool
65
66 DESCRIPTION="Library to load, handle and manipulate images in the JPEG format"
67 HOMEPAGE="http://www.ijg.org/"
68 SRC_URI="http://www.ijg.org/files/${PN}src.v${PV}.tar.gz
69 - mirror://gentoo/${P}-extra.tar.bz2"
70 + mirror://debian/pool/main/libj/${DEB_PN}/${DEB}.diff.gz"
71
72 LICENSE="as-is"
73 SLOT="0"
74 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
75 IUSE=""
76
77 +src_unpack() {
78 + unpack ${A}
79 + cd "${S}"
80 + epatch "${WORKDIR}"/${DEB}.diff
81 + cp "${FILESDIR}"/Makefile.extra debian/extra/Makefile
82 + cp "${FILESDIR}"/Makefile.in.extra debian/extra/Makefile.in
83 +}
84 +
85 src_prepare() {
86 epatch "${FILESDIR}"/${P}-maxmem_sysconf.patch
87 elibtoolize
88 -
89 - # hook the extra dir into the normal jpeg build env
90 - mv ../${P}-extra extra
91 - sed -i '/all:/s:$:\n\t$(MAKE) -C extra $@:' Makefile.in
92 - # newer extra tarball has this integrated
93 - cd extra
94 - sed -e 's:mandir:man1dir:' Makefile > Makefile.in
95 - grep ' = @' ../Makefile.in >> Makefile.in
96 - printf 'all %%:\n\t../config.status --file=Makefile:Makefile.in\n\t$(MAKE) $@' > Makefile
97 + # hook the Debian extra dir into the normal jpeg build env
98 + sed -i '/all:/s:$:\n\t$(MAKE) -C debian/extra $@:' Makefile.in
99 }
100
101 src_configure() {