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-9999.ebuild
Date: Wed, 29 Jan 2014 12:21:54
Message-Id: 20140129122149.3AF9C2004C@flycatcher.gentoo.org
1 jer 14/01/29 12:21:49
2
3 Modified: ChangeLog
4 Added: ratpoison-9999.ebuild
5 Log:
6 Add live ebuild.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A792A613)
9
10 Revision Changes Path
11 1.95 x11-wm/ratpoison/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/ratpoison/ChangeLog?rev=1.95&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/ratpoison/ChangeLog?rev=1.95&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/ratpoison/ChangeLog?r1=1.94&r2=1.95
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-wm/ratpoison/ChangeLog,v
20 retrieving revision 1.94
21 retrieving revision 1.95
22 diff -u -r1.94 -r1.95
23 --- ChangeLog 19 Oct 2013 15:29:24 -0000 1.94
24 +++ ChangeLog 29 Jan 2014 12:21:49 -0000 1.95
25 @@ -1,6 +1,11 @@
26 # ChangeLog for x11-wm/ratpoison
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/ratpoison/ChangeLog,v 1.94 2013/10/19 15:29:24 pacho Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/ratpoison/ChangeLog,v 1.95 2014/01/29 12:21:49 jer Exp $
31 +
32 +*ratpoison-9999 (29 Jan 2014)
33 +
34 + 29 Jan 2014; Jeroen Roovers <jer@g.o> +ratpoison-9999.ebuild:
35 + Add live ebuild.
36
37 19 Oct 2013; Pacho Ramos <pacho@g.o> metadata.xml:
38 Cleanup due desktop-wm removal
39
40
41
42 1.1 x11-wm/ratpoison/ratpoison-9999.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/ratpoison/ratpoison-9999.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/ratpoison/ratpoison-9999.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ratpoison-9999.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/x11-wm/ratpoison/ratpoison-9999.ebuild,v 1.1 2014/01/29 12:21:49 jer Exp $
52
53 EAPI=5
54
55 inherit autotools elisp-common eutils git-r3
56
57 DESCRIPTION="Ratpoison is an extremely light-weight and barebones wm modelled after screen"
58 HOMEPAGE="http://www.nongnu.org/ratpoison/"
59 EGIT_REPO_URI="git://git.savannah.nongnu.org/ratpoison.git"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS=""
64 IUSE="debug emacs +history +xft"
65
66 RDEPEND="
67 emacs? ( virtual/emacs )
68 history? ( sys-libs/readline )
69 virtual/perl-PodParser
70 x11-libs/libXinerama
71 x11-libs/libXtst
72 xft? ( x11-libs/libXft )
73 "
74 DEPEND="
75 ${RDEPEND}
76 app-arch/xz-utils
77 "
78
79 SITEFILE=50ratpoison-gentoo.el
80 DOCS=( AUTHORS ChangeLog NEWS README TODO )
81
82 src_prepare() {
83 epatch "${FILESDIR}/ratpoison.el-gentoo.patch"
84 eautoreconf
85 }
86
87 src_configure() {
88 econf \
89 --without-electric-fence \
90 $(use_enable debug) \
91 $(use_with xft) \
92 $(usex history '' --disable-history)
93 }
94
95 src_compile() {
96 emake CFLAGS="${CFLAGS}"
97 if use emacs; then
98 elisp-compile contrib/ratpoison.el || die "elisp-compile failed"
99 fi
100 }
101
102 src_install() {
103 default
104
105 exeinto /etc/X11/Sessions
106 newexe "${FILESDIR}"/ratpoison.xsession ratpoison
107
108 insinto /usr/share/xsessions
109 doins "${FILESDIR}"/${PN}.desktop || die
110
111 docinto example
112 dodoc contrib/{genrpbindings,split.sh} \
113 doc/{ipaq.ratpoisonrc,sample.ratpoisonrc}
114
115 rm -rf "${ED}/usr/share/"{doc/ratpoison,ratpoison}
116
117 if use emacs; then
118 elisp-install ${PN} contrib/ratpoison.*
119 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
120 fi
121 }
122
123 pkg_postinst() {
124 use emacs && elisp-site-regen
125 }
126
127 pkg_postrm() {
128 use emacs && elisp-site-regen
129 }