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