Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/xli: ChangeLog xli-1.17.0-r4.ebuild
Date: Sat, 05 Sep 2009 22:11:48
Message-Id: E1Mk3U1-0005zp-Sn@stork.gentoo.org
1 robbat2 09/09/05 22:11:45
2
3 Modified: ChangeLog
4 Added: xli-1.17.0-r4.ebuild
5 Log:
6 Fix bug 282979: Broken -zoom in jpeg-7, so that we can stop restricting the jpeg-6 version.
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.43 media-gfx/xli/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/xli/ChangeLog?rev=1.43&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/xli/ChangeLog?rev=1.43&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/xli/ChangeLog?r1=1.42&r2=1.43
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-gfx/xli/ChangeLog,v
19 retrieving revision 1.42
20 retrieving revision 1.43
21 diff -p -w -b -B -u -u -r1.42 -r1.43
22 --- ChangeLog 21 Apr 2008 17:34:38 -0000 1.42
23 +++ ChangeLog 5 Sep 2009 22:11:45 -0000 1.43
24 @@ -1,6 +1,17 @@
25 # ChangeLog for media-gfx/xli
26 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/xli/ChangeLog,v 1.42 2008/04/21 17:34:38 phreak Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/xli/ChangeLog,v 1.43 2009/09/05 22:11:45 robbat2 Exp $
30 +
31 + 05 Sep 2009; Robin H. Johnson <robbat2@g.o> +xli-1.17.0-r4.ebuild,
32 + +files/xli-1.17.0-fix-scale-zoom.patch:
33 + Fix bug 282979: Broken -zoom in jpeg-7, so that we can stop restricting
34 + the jpeg-6 version.
35 +
36 +*xli-1.17.0-r4 (05 Sep 2009)
37 +
38 + 05 Sep 2009; Robin H. Johnson <robbat2@g.o> +xli-1.17.0-r4.ebuild:
39 + Xli works fine with media-libs/jpeg-7, revbump to remove it from being a
40 + blocker on anybodies systems for the upgrade.
41
42 21 Apr 2008; Christian Heim <phreak@g.o> metadata.xml:
43 Fix up metadata.xml. If there's no maintainer for the package, the metadata
44
45
46
47 1.1 media-gfx/xli/xli-1.17.0-r4.ebuild
48
49 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/xli/xli-1.17.0-r4.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/xli/xli-1.17.0-r4.ebuild?rev=1.1&content-type=text/plain
51
52 Index: xli-1.17.0-r4.ebuild
53 ===================================================================
54 # Copyright 1999-2009 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/media-gfx/xli/xli-1.17.0-r4.ebuild,v 1.1 2009/09/05 22:11:45 robbat2 Exp $
57
58 inherit eutils
59
60 SNAPSHOT="2005-02-27"
61 DESCRIPTION="X Load Image: view images or load them to root window"
62 HOMEPAGE="http://pantransit.reptiles.org/prog/"
63 SRC_URI="http://pantransit.reptiles.org/prog/xli/xli-${SNAPSHOT}.tar.gz"
64
65 LICENSE="X11"
66 SLOT="0"
67 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
68 IUSE=""
69
70 RDEPEND="x11-libs/libXext
71 >=sys-libs/zlib-1.1.4
72 >=media-libs/libpng-1.0.5
73 >=media-libs/jpeg-6b
74 app-arch/bzip2"
75 DEPEND="${RDEPEND}
76 x11-proto/xextproto
77 x11-misc/imake
78 app-text/rman
79 !media-gfx/xloadimage
80 !<media-gfx/xli-1.17.0-r3"
81
82 S=${WORKDIR}/${PN}-${SNAPSHOT}
83
84 src_unpack() {
85 unpack ${A}
86 cd "${S}"
87
88 sed -i Imakefile \
89 -e '/^DEFINES =/s/$/ -DHAVE_GUNZIP -DHAVE_BUNZIP2 /' \
90 -e '/CCOPTIONS =/s/=.*/=/'
91
92 # This is a hack to avoid a parse error on /usr/include/string.h
93 # when _BSD_SOURCE is defined. This may be a bug in that header.
94 sed -i png.c \
95 -e '/^#include "xli.h"/i#undef _BSD_SOURCE'
96
97 # This hack will allow xli to compile using gcc-3.3
98 sed -i rlelib.c \
99 -e 's/#include <varargs.h>//'
100
101 # fix potential security issues.
102 EPATCH_OPTS="-F3 -l" epatch "${FILESDIR}"/xli-security-gentoo.diff
103
104 # Fix scale per bug 282979
105 epatch "${FILESDIR}"/${P}-fix-scale-zoom.patch
106 }
107
108 src_compile() {
109 xmkmf || die
110 emake CDEBUGFLAGS="${CFLAGS}" || die
111 }
112
113 src_install() {
114 dobin xli xlito || die
115
116 dosym xli /usr/bin/xsetbg || die
117 dosym xli /usr/bin/xview || die
118
119 dodoc README README.xloadimage ABOUTGAMMA TODO chkgamma.jpg
120 newman xli.man xli.1
121 newman xliguide.man xliguide.1
122 newman xlito.man xlito.1
123
124 insinto /etc/X11/app-defaults
125 newins "${FILESDIR}"/Xli.ad Xli
126 fperms a+r /etc/X11/app-defaults/Xli
127 }