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-wm/ratpoison: ChangeLog ratpoison-1.4.4-r1.ebuild ratpoison-1.4.4.ebuild ratpoison-1.4.1.ebuild ratpoison-1.4.2.ebuild
Date: Fri, 01 May 2009 11:23:55
Message-Id: E1LzqqN-0005mG-OM@stork.gentoo.org
1 jer 09/05/01 11:23:51
2
3 Modified: ChangeLog
4 Added: ratpoison-1.4.4-r1.ebuild
5 Removed: ratpoison-1.4.4.ebuild ratpoison-1.4.1.ebuild
6 ratpoison-1.4.2.ebuild
7 Log:
8 Revision bump to 1.4.4-r1 adding debug USE flag, as well as making libXft support optional (bug #267965 again). Remove old.
9 (Portage version: 2.2_rc31/cvs/Linux i686)
10
11 Revision Changes Path
12 1.66 x11-wm/ratpoison/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/ratpoison/ChangeLog?rev=1.66&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/ratpoison/ChangeLog?rev=1.66&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/ratpoison/ChangeLog?r1=1.65&r2=1.66
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/x11-wm/ratpoison/ChangeLog,v
21 retrieving revision 1.65
22 retrieving revision 1.66
23 diff -u -r1.65 -r1.66
24 --- ChangeLog 30 Apr 2009 12:51:05 -0000 1.65
25 +++ ChangeLog 1 May 2009 11:23:51 -0000 1.66
26 @@ -1,6 +1,14 @@
27 # ChangeLog for x11-wm/ratpoison
28 # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/ratpoison/ChangeLog,v 1.65 2009/04/30 12:51:05 jer Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/ratpoison/ChangeLog,v 1.66 2009/05/01 11:23:51 jer Exp $
31 +
32 +*ratpoison-1.4.4-r1 (01 May 2009)
33 +
34 + 01 May 2009; Jeroen Roovers <jer@g.o> -ratpoison-1.4.1.ebuild,
35 + -ratpoison-1.4.2.ebuild, -ratpoison-1.4.4.ebuild,
36 + +ratpoison-1.4.4-r1.ebuild:
37 + Revision bump to 1.4.4-r1 adding debug USE flag, as well as making libXft
38 + support optional (bug #267965 again). Remove old.
39
40 30 Apr 2009; Jeroen Roovers <jer@g.o> metadata.xml:
41 Version bump. Make building libhistory support a default option.
42
43
44
45 1.1 x11-wm/ratpoison/ratpoison-1.4.4-r1.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/ratpoison/ratpoison-1.4.4-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/ratpoison/ratpoison-1.4.4-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: ratpoison-1.4.4-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2009 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/x11-wm/ratpoison/ratpoison-1.4.4-r1.ebuild,v 1.1 2009/05/01 11:23:51 jer Exp $
55
56 EAPI="2"
57
58 inherit elisp-common eutils autotools
59
60 DESCRIPTION="Ratpoison is an extremely light-weight and barebones wm modelled after screen"
61 HOMEPAGE="http://www.nongnu.org/ratpoison/"
62 SRC_URI="http://savannah.nongnu.org/download/${PN}/${P}.tar.gz"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86 ~x86-fbsd"
67 IUSE="debug emacs +history xft"
68
69 DEPEND="x11-libs/libXinerama
70 x11-libs/libXtst
71 virtual/perl-PodParser
72 emacs? ( virtual/emacs )
73 history? ( sys-libs/readline )
74 xft? ( x11-libs/libXft )"
75 RDEPEND="${DEPEND}"
76
77 SITEFILE=50ratpoison-gentoo.el
78
79 src_prepare() {
80 cd "${S}/contrib"
81 epatch "${FILESDIR}/ratpoison.el-gentoo.patch"
82
83 cd "${S}"
84 eautoreconf
85 }
86
87 src_configure() {
88 local myconf
89 use history || myconf="--disable-history"
90 econf ${myconf} $(use_with xft) $(use_enable debug) || die "econf failed"
91 }
92
93 src_compile() {
94 emake CFLAGS="${CFLAGS} -I/usr/X11R6/include" || die "emake failed"
95 if use emacs; then
96 elisp-compile contrib/ratpoison.el || die "elisp-compile failed"
97 fi
98 }
99
100 src_install() {
101 einstall
102
103 exeinto /etc/X11/Sessions
104 newexe "${FILESDIR}/ratpoison.xsession" ratpoison
105
106 dodoc INSTALL TODO README NEWS AUTHORS ChangeLog
107 docinto example
108 dodoc contrib/{genrpbindings,split.sh} \
109 doc/{ipaq.ratpoisonrc,sample.ratpoisonrc}
110
111 rm -rf "${D}/usr/share/"{doc/ratpoison,ratpoison}
112
113 if use emacs; then
114 elisp-install ${PN} contrib/ratpoison.*
115 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
116 fi
117 }
118
119 pkg_postinst() {
120 use emacs && elisp-site-regen
121 }
122
123 pkg_postrm() {
124 use emacs && elisp-site-regen
125 }