Gentoo Archives: gentoo-commits

From: "José María Alonso" <nimiux@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/lisp:master commit in: x11-wm/stumpwm/
Date: Wed, 02 Mar 2016 13:53:38
Message-Id: 1456927046.c8410e9a812bff5e2a8b73d453f686e95578f466.nimiux@gentoo
1 commit: c8410e9a812bff5e2a8b73d453f686e95578f466
2 Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 2 13:57:26 2016 +0000
4 Commit: José María Alonso <nimiux <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 2 13:57:26 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=c8410e9a
7
8 x11-wm/stumpwm: Drop old
9
10 x11-wm/stumpwm/stumpwm-0.9.7.ebuild | 98 -------------------------------------
11 x11-wm/stumpwm/stumpwm-0.9.8.ebuild | 84 -------------------------------
12 2 files changed, 182 deletions(-)
13
14 diff --git a/x11-wm/stumpwm/stumpwm-0.9.7.ebuild b/x11-wm/stumpwm/stumpwm-0.9.7.ebuild
15 deleted file mode 100644
16 index 9c2380c..0000000
17 --- a/x11-wm/stumpwm/stumpwm-0.9.7.ebuild
18 +++ /dev/null
19 @@ -1,98 +0,0 @@
20 -# Copyright 1999-2010 Gentoo Foundation
21 -# Distributed under the terms of the GNU General Public License v2
22 -# $Header: $
23 -
24 -EAPI=2
25 -inherit common-lisp-3 glo-utils eutils elisp-common autotools
26 -
27 -DESCRIPTION="Stumpwm is a tiling, keyboard driven X11 Window Manager written entirely in Common Lisp."
28 -HOMEPAGE="http://www.nongnu.org/stumpwm/"
29 -SRC_URI="http://download.savannah.nongnu.org/releases/stumpwm/${P}.tgz"
30 -
31 -LICENSE="GPL-2"
32 -SLOT="0"
33 -KEYWORDS="~amd64 ~ppc ~sparc ~x86"
34 -IUSE="doc clisp ecl +sbcl emacs"
35 -
36 -RESTRICT="strip mirror"
37 -
38 -RDEPEND="dev-lisp/cl-ppcre
39 - sbcl? ( >=dev-lisp/clx-0.7.3_p20081030 )
40 - >=dev-lisp/cl-launch-2.11-r1
41 - !sbcl? ( !clisp? ( !ecl? ( >=dev-lisp/sbcl-1.0.32 ) ) )
42 - !sbcl? ( !clisp? ( ecl? ( >=dev-lisp/ecls-10.4.1 ) ) )
43 - !sbcl? ( clisp? ( >=dev-lisp/clisp-2.44[X,new-clx] ) )
44 - sbcl? ( >=dev-lisp/sbcl-1.0.32 )
45 - emacs? ( virtual/emacs app-emacs/slime )"
46 -DEPEND="${RDEPEND}
47 - sys-apps/texinfo
48 - doc? ( virtual/texi2dvi )"
49 -
50 -SITEFILE=70${PN}-gentoo.el
51 -
52 -src_prepare() {
53 - rm sample-stumpwmrc.lisp
54 - epatch "${FILESDIR}"/${PV}-gentoo-fix-asd-deps.patch
55 - epatch "${FILESDIR}"/${PV}-gentoo-fix-configure.ac.patch
56 - eautoreconf
57 -}
58 -
59 -src_configure() {
60 - econf --with-lisp=$(glo_best_flag sbcl clisp ecl) \
61 - --with-contrib-dir="${CLSOURCEROOT}/${PN}/contrib"
62 -}
63 -
64 -src_compile() {
65 - addwrite /var/cache/cl-launch
66 - LISP_FASL_CACHE=/var/cache/cl-launch \
67 - cl-launch.sh \
68 - --lisp $(glo_best_flag sbcl clisp) \
69 - --wrap '
70 -SBCL_OPTIONS="--noinform --userinit /dev/null"
71 -CLISP_OPTIONS="-ansi -K full -norc --quiet"' \
72 - --path "${CLSOURCEROOT}/clx" \
73 - --path "${CLSOURCEROOT}/cl-ppcre" \
74 - --path-current \
75 - --system stumpwm --dump stumpwm.bin \
76 - || die "Cannot create stumpwm binary"
77 - if use emacs ; then
78 - elisp-compile contrib/*.el || die "Cannot compile contrib Elisp files"
79 - fi
80 - makeinfo ${PN}.texi || die "Cannot build info focs"
81 - if use doc ; then
82 - VARTEXFONTS="${T}"/fonts \
83 - texi2pdf ${PN}.texi || die "Cannot build PDF docs"
84 - fi
85 -}
86 -
87 -src_install() {
88 - common-lisp-export-impl-args $(glo_best_flag sbcl clisp ecl)
89 - dobin stumpwm.bin contrib/stumpish
90 - make_wrapper stumpwm "/usr/bin/stumpwm.bin ${CL_NORC} ${CL_EVAL} '(stumpwm:stumpwm \":0\")'"
91 - make_session_desktop StumpWM /usr/bin/stumpwm
92 -
93 - if use emacs; then
94 - elisp-install ${PN} contrib/*.el{,c} || die "Cannot install contrib Elisp files"
95 - elisp-site-file-install "${FILESDIR}"/${SITEFILE} \
96 - || die "elisp-site-file-install failed"
97 - fi
98 -
99 - cp "${FILESDIR}"/README.Gentoo . && sed -i "s:@VERSION@:${PV}:" README.Gentoo
100 - dodoc README NEWS ChangeLog README.Gentoo
101 - doinfo ${PN}.info
102 - use doc && dodoc ${PN}.pdf
103 -
104 - docinto examples ; dodoc sample-stumpwmrc.lisp
105 -
106 - # No point in installing only contribs
107 - common-lisp-install-sources *.lisp contrib/
108 - common-lisp-install-asdf ${PN}.asd
109 -}
110 -
111 -pkg_postinst() {
112 - use emacs && elisp-site-regen
113 -}
114 -
115 -pkg_postrm() {
116 - use emacs && elisp-site-regen
117 -}
118
119 diff --git a/x11-wm/stumpwm/stumpwm-0.9.8.ebuild b/x11-wm/stumpwm/stumpwm-0.9.8.ebuild
120 deleted file mode 100644
121 index 5d13023..0000000
122 --- a/x11-wm/stumpwm/stumpwm-0.9.8.ebuild
123 +++ /dev/null
124 @@ -1,84 +0,0 @@
125 -# Copyright 1999-2014 Gentoo Foundation
126 -# Distributed under the terms of the GNU General Public License v2
127 -# $Header: $
128 -
129 -EAPI=5
130 -
131 -inherit common-lisp-3 glo-utils eutils elisp-common autotools
132 -
133 -DESCRIPTION="Stumpwm is a tiling, keyboard driven X11 Window Manager written entirely in Common Lisp."
134 -HOMEPAGE="http://www.nongnu.org/stumpwm/"
135 -SRC_URI="http://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
136 -
137 -LICENSE="GPL-2"
138 -SLOT="0"
139 -KEYWORDS="~amd64 ~ppc ~sparc ~x86"
140 -IUSE="doc clisp ecl +sbcl emacs"
141 -
142 -RESTRICT="strip mirror"
143 -
144 -RDEPEND="dev-lisp/cl-ppcre
145 - sbcl? ( >=dev-lisp/clx-0.7.3_p20081030 )
146 - !sbcl? ( !clisp? ( !ecl? ( >=dev-lisp/sbcl-1.0.32 ) ) )
147 - !sbcl? ( !clisp? ( ecl? ( >=dev-lisp/ecls-10.4.1 ) ) )
148 - !sbcl? ( clisp? ( >=dev-lisp/clisp-2.44[X,new-clx] ) )
149 - sbcl? ( >=dev-lisp/sbcl-1.0.32 )
150 - emacs? ( virtual/emacs app-emacs/slime )"
151 -DEPEND="${RDEPEND}
152 - sys-apps/texinfo
153 - doc? ( virtual/texi2dvi )"
154 -
155 -SITEFILE=70${PN}-gentoo.el
156 -
157 -do_doc() {
158 - local pdffile="${PN}.pdf"
159 -
160 - texi2pdf -o "${pdffile}" "${PN}.texi.in" && dodoc "${pdffile}" || die
161 - cp "${FILESDIR}"/README.Gentoo . && sed -i "s:@VERSION@:${PV}:" README.Gentoo
162 - dodoc AUTHORS NEWS README.md README.Gentoo
163 - doinfo ${PN}.info
164 - docinto examples ; dodoc sample-stumpwmrc.lisp
165 -}
166 -
167 -src_prepare() {
168 - # Upstream did not change version before packaging:
169 - # https://github.com/stumpwm/stumpwm/issues/103
170 - sed -i "${S}/${PN}.asd" -e 's/:version "0.9.7"/:version "0.9.8"/' || die
171 -}
172 -
173 -src_configure() {
174 - eautoreconf
175 - econf --with-lisp=$(glo_best_flag sbcl clisp ecl) \
176 - --with-contrib-dir="${CLSOURCEROOT}/${PN}/contrib"
177 -}
178 -
179 -src_compile() {
180 - emake -j1
181 - if use emacs ; then
182 - elisp-compile contrib/*.el || die "Cannot compile contrib Elisp files"
183 - fi
184 -}
185 -
186 -src_install() {
187 - common-lisp-export-impl-args $(glo_best_flag sbcl clisp ecl)
188 - dobin stumpwm contrib/stumpish
189 - make_session_desktop StumpWM /usr/bin/stumpwm
190 -
191 - if use emacs; then
192 - elisp-install ${PN} contrib/*.el{,c} || die "Cannot install contrib Elisp files"
193 - elisp-site-file-install "${FILESDIR}"/${SITEFILE} \
194 - || die "elisp-site-file-install failed"
195 - fi
196 -
197 - common-lisp-install-sources *.lisp contrib/
198 - common-lisp-install-asdf ${PN}.asd
199 - use doc && do_doc
200 -}
201 -
202 -pkg_postinst() {
203 - use emacs && elisp-site-regen
204 -}
205 -
206 -pkg_postrm() {
207 - use emacs && elisp-site-regen
208 -}