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.11.ebuild xsnap-1.5.9.ebuild
Date: Tue, 04 Jun 2013 01:37:46
Message-Id: 20130604013740.0E3FE2171D@flycatcher.gentoo.org
1 jer 13/06/04 01:37:39
2
3 Modified: ChangeLog
4 Added: xsnap-1.5.11.ebuild
5 Removed: xsnap-1.5.9.ebuild
6 Log:
7 Version bump. Replace SHAREDIR as it does not mean /usr/share.
8
9 (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key A792A613)
10
11 Revision Changes Path
12 1.48 x11-misc/xsnap/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xsnap/ChangeLog?rev=1.48&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xsnap/ChangeLog?rev=1.48&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xsnap/ChangeLog?r1=1.47&r2=1.48
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/x11-misc/xsnap/ChangeLog,v
21 retrieving revision 1.47
22 retrieving revision 1.48
23 diff -u -r1.47 -r1.48
24 --- ChangeLog 10 Dec 2012 21:03:47 -0000 1.47
25 +++ ChangeLog 4 Jun 2013 01:37:39 -0000 1.48
26 @@ -1,6 +1,12 @@
27 # ChangeLog for x11-misc/xsnap
28 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xsnap/ChangeLog,v 1.47 2012/12/10 21:03:47 hasufell Exp $
30 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xsnap/ChangeLog,v 1.48 2013/06/04 01:37:39 jer Exp $
32 +
33 +*xsnap-1.5.11 (04 Jun 2013)
34 +
35 + 04 Jun 2013; Jeroen Roovers <jer@g.o> -xsnap-1.5.9.ebuild,
36 + +xsnap-1.5.11.ebuild, files/xsnap-1.5.10-prefix.patch:
37 + Version bump. Replace SHAREDIR as it does not mean /usr/share.
38
39 10 Dec 2012; Julian Ospald <hasufell@g.o> -xsnap-1.5.6.ebuild,
40 -files/xsnap-1.5.6-gentoo.patch, xsnap-1.5.9.ebuild, xsnap-1.5.10.ebuild:
41
42
43
44 1.1 x11-misc/xsnap/xsnap-1.5.11.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xsnap/xsnap-1.5.11.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xsnap/xsnap-1.5.11.ebuild?rev=1.1&content-type=text/plain
48
49 Index: xsnap-1.5.11.ebuild
50 ===================================================================
51 # Copyright 1999-2013 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/x11-misc/xsnap/xsnap-1.5.11.ebuild,v 1.1 2013/06/04 01:37:39 jer Exp $
54
55 EAPI=5
56 inherit eutils toolchain-funcs
57
58 DESCRIPTION="Program to interactively take a 'snapshot' of a region of the screen"
59 HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/"
60 SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2"
61
62 LICENSE="GPL-3+"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
65 IUSE=""
66
67 COMMON_DEPEND="
68 media-libs/libpng
69 virtual/jpeg
70 x11-libs/libX11
71 x11-libs/libXft
72 x11-libs/libXpm
73 "
74 RDEPEND="
75 ${COMMON_DEPEND}
76 media-fonts/font-misc-misc
77 "
78 DEPEND="
79 ${COMMON_DEPEND}
80 app-text/rman
81 dev-lang/perl
82 x11-misc/imake
83 x11-proto/xproto
84 "
85
86 DOCS=( AUTHORS Changelog README )
87
88 src_prepare() {
89 # epatch "${FILESDIR}"/${P}-prefix.patch
90 sed -i \
91 -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
92 -e 's|/usr/share/man/man1|$(MANDIR)|g' \
93 -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) install|' \
94 -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
95 Imakefile || die
96 sed -i \
97 -e '/^LOCALEDIR=/d' \
98 po/Makefile || die
99
100 xmkmf || die
101
102 sed -i \
103 -e '/ CC = /d' \
104 -e '/ LD = /d' \
105 -e '/ CDEBUGFLAGS = /d' \
106 -e '/ CCOPTIONS = /d' \
107 -e 's|CPP = cpp|CPP = $(CC)|g' \
108 Makefile || die
109 }
110
111 src_compile() {
112 tc-export CC
113 emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
114 }
115
116 src_install() {
117 # dodir /usr/share/man/man1
118 default
119 }