Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/xsnap: ChangeLog xsnap-1.5.6.ebuild
Date: Mon, 08 Feb 2010 12:21:09
Message-Id: E1NeSbx-0003gc-Iv@stork.gentoo.org
1 jer 10/02/08 12:21:05
2
3 Modified: ChangeLog
4 Added: xsnap-1.5.6.ebuild
5 Log:
6 Version bump thanks to Jean-Pierre Demailly (bug #286053). Respect CC, LDFLAGS, CFLAGS. Use pkg-config.
7 (Portage version: 2.2_rc62/cvs/Linux i686)
8
9 Revision Changes Path
10 1.33 x11-misc/xsnap/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xsnap/ChangeLog?rev=1.33&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xsnap/ChangeLog?rev=1.33&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xsnap/ChangeLog?r1=1.32&r2=1.33
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-misc/xsnap/ChangeLog,v
19 retrieving revision 1.32
20 retrieving revision 1.33
21 diff -u -r1.32 -r1.33
22 --- ChangeLog 16 May 2009 19:48:58 -0000 1.32
23 +++ ChangeLog 8 Feb 2010 12:21:04 -0000 1.33
24 @@ -1,6 +1,13 @@
25 # ChangeLog for x11-misc/xsnap
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xsnap/ChangeLog,v 1.32 2009/05/16 19:48:58 nelchael Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xsnap/ChangeLog,v 1.33 2010/02/08 12:21:04 jer Exp $
30 +
31 +*xsnap-1.5.6 (08 Feb 2010)
32 +
33 + 08 Feb 2010; Jeroen Roovers <jer@g.o> +xsnap-1.5.6.ebuild,
34 + +files/xsnap-1.5.6-gentoo.patch:
35 + Version bump thanks to Jean-Pierre Demailly (bug #286053). Respect CC,
36 + LDFLAGS, CFLAGS. Use pkg-config.
37
38 *xsnap-1.5.5 (16 May 2009)
39
40
41
42
43 1.1 x11-misc/xsnap/xsnap-1.5.6.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xsnap/xsnap-1.5.6.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xsnap/xsnap-1.5.6.ebuild?rev=1.1&content-type=text/plain
47
48 Index: xsnap-1.5.6.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/x11-misc/xsnap/xsnap-1.5.6.ebuild,v 1.1 2010/02/08 12:21:04 jer Exp $
53
54 inherit eutils toolchain-funcs
55
56 DESCRIPTION="Program to interactively take a 'snapshot' of a region of the screen"
57 SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2"
58 HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/"
59
60 SLOT="0"
61 LICENSE="as-is"
62 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
63 IUSE=""
64
65 RDEPEND="x11-libs/libX11
66 x11-libs/libXext
67 x11-libs/libXpm
68 media-libs/libpng
69 media-libs/jpeg"
70 DEPEND="${RDEPEND}
71 x11-proto/xproto
72 app-text/rman
73 x11-misc/imake"
74
75 src_unpack() {
76 unpack ${A}
77 cd "${S}"
78
79 epatch "${FILESDIR}"/${P}-gentoo.patch
80 xmkmf || die "xmkmf failed"
81 sed -i Makefile \
82 -e '/ CC = /d' \
83 -e '/ LD = /d' \
84 -e '/ CDEBUGFLAGS = /d' \
85 -e '/ CCOPTIONS = /d' \
86 -e 's|CPP = cpp|CPP = $(CC)|g' \
87 || die "sed failed"
88 }
89
90 src_compile() {
91 tc-export CC
92 emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}" || die "make failed"
93 }
94
95 src_install() {
96 make DESTDIR="${D}" install || die "make install failed"
97 make DESTDIR="${D}" install.man || die "make install.man failed"
98 dodoc README AUTHORS
99 }