Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/emacs:master commit in: app-editors/sxemacs/
Date: Wed, 01 Apr 2015 01:17:15
Message-Id: 1427850994.4c301ee1f265fbad872e1eadcd5c902d94af5379.ulm@gentoo
1 commit: 4c301ee1f265fbad872e1eadcd5c902d94af5379
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 1 01:16:34 2015 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 1 01:16:34 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/emacs.git/commit/?id=4c301ee1
7
8 app-editors/sxemacs: Remove package from overlay, fatal repoman errors.
9
10 app-editors/sxemacs/ChangeLog | 47 ----
11 app-editors/sxemacs/Manifest | 22 --
12 app-editors/sxemacs/metadata.xml | 26 ---
13 app-editors/sxemacs/sxemacs-22.1.15.ebuild | 361 -----------------------------
14 4 files changed, 456 deletions(-)
15
16 diff --git a/app-editors/sxemacs/ChangeLog b/app-editors/sxemacs/ChangeLog
17 deleted file mode 100644
18 index 74d6cb5..0000000
19 --- a/app-editors/sxemacs/ChangeLog
20 +++ /dev/null
21 @@ -1,47 +0,0 @@
22 -# ChangeLog for app-editors/sxemacs
23 -# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
24 -# $Header: $
25 -
26 - 31 Mar 2015; Ulrich Müller <ulm@g.o> sxemacs-22.1.15.ebuild:
27 - Update blocker after package move of eselect modules to app-eselect.
28 -
29 - 09 Aug 2013; Ulrich Müller <ulm@g.o> sxemacs-22.1.15.ebuild:
30 - Non-maintainer commit: Drop dependency on media-sound/alsa-headers because
31 - that package has been masked for removal; also it is not clear why it was
32 - needed as a dependency, in the first place. Depend on media-libs/alsa-lib,
33 - otherwise the configure phase will fail with USE=alsa.
34 -
35 - 24 Oct 2012; Ulrich Müller <ulm@g.o> sxemacs-22.1.15.ebuild:
36 - Update dependency after package move from x11-libs/openmotif to
37 - x11-libs/motif.
38 -
39 - 24 Oct 2012; Hans de Graaff <graaff@g.o> sxemacs-22.1.15.ebuild,
40 - metadata.xml:
41 - Fix all repoman warnings and errors, bug 439448.
42 -
43 -*sxemacs-22.1.15 (23 Jul 2012)
44 -
45 - 23 Jul 2012; Hans de Graaff <graaff@g.o> +sxemacs-22.1.15.ebuild:
46 - Update from Horst Günther Burkhardt III
47 -
48 -*sxemacs-22.1.14 (18 Mar 2011)
49 -
50 - 18 Mar 2011; Hans de Graaff <graaff@g.o> +sxemacs-22.1.14.ebuild:
51 - Update from Horst Günther Burkhardt III
52 -
53 -*sxemacs-22.1.12 (28 Feb 2011)
54 -
55 - 28 Feb 2011; Hans de Graaff <graaff@g.o> -sxemacs-22.1.9.ebuild,
56 - +sxemacs-22.1.12.ebuild:
57 - Version bump from bug 356657.
58 -
59 - 22 Jul 2008; Hans de Graaff <graaff@g.o> ChangeLog:
60 - Change postgres dependency to the new base virtual.
61 -
62 - 14 Jun 2008; Ulrich Mueller <ulm@g.o> sxemacs-22.1.9.ebuild:
63 - Change to new syntax of eselect-emacs and add missing dependency.
64 -
65 - 08 Jun 2008; Hans de Graaff <graaff@g.o> ChangeLog:
66 - Initial import of sxemacs ebuild. I'm proxying this for Horst Günther
67 - Burkhardt III, from the sxemacs dev team.
68 -
69
70 diff --git a/app-editors/sxemacs/Manifest b/app-editors/sxemacs/Manifest
71 deleted file mode 100644
72 index 084f99a..0000000
73 --- a/app-editors/sxemacs/Manifest
74 +++ /dev/null
75 @@ -1,22 +0,0 @@
76 ------BEGIN PGP SIGNED MESSAGE-----
77 -Hash: SHA256
78 -
79 -DIST NeXT_XEmacs.tar.gz 39571 SHA256 35a0d988fd4ee801572639a99798571aa9fad140ddbed1455565ae9d5e0086c7 SHA512 611ddbbf5be3d2274e7f76be7f8200c6c7f3cba917efcc24e73685aa5f61c94237e6e48ce66f2d59ee4b74862e686f3ea7a29cf006717d5d0674db24d243d566 WHIRLPOOL d47aafa6fe7a11de94196dffb752c683722b8ead23979a7f4344c61964ebcd052a4f0ad6b9ab42a5d41f5551c0a543f46af59656fc8a79340257626272c1faae
80 -DIST sxemacs-22.1.15.tar.xz 6964448 SHA256 3303817fdf27518f11671c016420156f6702a9a9f895e1099b3e70127ad5eabe SHA512 23a822c5dcd10c36b68dabda16aa79b3f4f2f05c1ec1b161fc942dadcd17b804bf845755e853206ca6645b1decbbcbafbaefcce11dbeb886d096106282f337e4 WHIRLPOOL 6a4604dd06e8d9c4f58eb94f02129437c1e0f5f0c0f63ba49e9fde23f60e1de3aed71b6d1c490abc26273fc63a044c170bc43b47995ffae4105818f80f9d575c
81 ------BEGIN PGP SIGNATURE-----
82 -Version: GnuPG v2.0.19 (GNU/Linux)
83 -
84 -iQIcBAEBCAAGBQJQiBgYAAoJEDxpGckxwJCBs5wP+wZV+5dGPH/2EH+MeYluTgd0
85 -0N8UfOUj25KRDy6BLm1e45pHgWO3QMOA4NOt1DIi307N8bzrMAilPRTj89DMxmly
86 -uTjYcXVSStCw2OMhqXbNMAK1H3wv5Dg9IQaGZIHXbYZ3npJVFFvo88UGJYpKK4JJ
87 -nq2mr8mNYhsQo0+JzQ4kHfiMoV/9YHkyPkSuK16LXIAz4E0hrMYg1zgKO0hMzLaR
88 -LrjwkqkCqdJUEUt953lUn0S4dbQUVYxA4PWwemh5GFJbSjkRhqihLcL4XGtYNgXo
89 -TnQ+NbKDLkYa18OJOFIKYoQdyCUxRcCtaAxSAhXaEhpcIN/uODuG4UikKxLyfaY3
90 -w7Tz11vye4B6GII7thqlYli5d0fbZHFSjqS9A/RnuA+LYmewvLaWem4iijHJlxUB
91 -plBxOfRPXaVT/LJlG8+SlLEjqI/DU6cgrDg8QzM5SAT3OqXryJVp66vvUmZliu/R
92 -4vebvADCkP+4Oe1VlaNJoavO7+B3utwsYR6ge7qowpYJ2r+mD3uNZfCLZpRxjDBx
93 -Z+XWv2skuNm/9lb/bIjCc+1p6dnH37cFxZg16fLdwjJCbYRpTLDj8Q5Fta63IfnA
94 -KcAc1JFfjIvMp6o04pKcClbnN81vtnlP3NYll7g/5QH+xjG/fa4UajhDx2jFCYKy
95 -uZ+judwvdR6aa7JprGQG
96 -=Wt1R
97 ------END PGP SIGNATURE-----
98
99 diff --git a/app-editors/sxemacs/metadata.xml b/app-editors/sxemacs/metadata.xml
100 deleted file mode 100644
101 index e041910..0000000
102 --- a/app-editors/sxemacs/metadata.xml
103 +++ /dev/null
104 @@ -1,26 +0,0 @@
105 -<?xml version="1.0" encoding="UTF-8"?>
106 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
107 -<pkgmetadata>
108 - <maintainer>
109 - <email>horst@×××××××.org</email>
110 - <description>Primary Maintainer</description>
111 - </maintainer>
112 - <herd>xemacs</herd>
113 - <longdescription></longdescription>
114 - <use>
115 - <flag name='bdwgc'>?</flag>
116 - <flag name='tls'>?</flag>
117 - <flag name='pop'>?</flag>
118 - <flag name='hesiod'>Enable support for <pkg>net-dns/hesiod</pkg></flag>
119 - <flag name='postgresql'>?</flag>
120 - <flag name='mpfr'>?</flag>
121 - <flag name='magic'>?</flag>
122 - <flag name='athena'>Enable the MIT Athena widget set
123 - (<pkg>x11-libs/libXaw</pkg>)</flag>
124 - <flag name='xim'>?</flag>
125 - <flag name='tty'>?</flag>
126 - <flag name='socks'>?</flag>
127 - <flag name='omgoptimize'>?</flag>
128 - <flag name='warnfull'>?</flag>
129 - </use>
130 -</pkgmetadata>
131
132 diff --git a/app-editors/sxemacs/sxemacs-22.1.15.ebuild b/app-editors/sxemacs/sxemacs-22.1.15.ebuild
133 deleted file mode 100644
134 index 1b46a14..0000000
135 --- a/app-editors/sxemacs/sxemacs-22.1.15.ebuild
136 +++ /dev/null
137 @@ -1,361 +0,0 @@
138 -# Copyright 1999-2015 Gentoo Foundation
139 -# Distributed under the terms of the GNU General Public License v2
140 -# $Header: $
141 -
142 -# Note: Although this ebuild has the approval of the SXEmacs Project,
143 -# it is not an official subset of the project and thus only limited
144 -# support can be offered for this ebuild.
145 -
146 -EAPI="4"
147 -
148 -inherit eutils flag-o-matic
149 -
150 -DESCRIPTION="Text editing and development environment based on XEmacs aimed at stability, features, innovation"
151 -HOMEPAGE="http://www.sxemacs.org/"
152 -SRC_URI="http://downloads.sxemacs.org/releases/${P}.tar.xz
153 - http://www.malfunction.de/afterstep/files/NeXT_XEmacs.tar.gz"
154 -
155 -LICENSE="GPL-3"
156 -SLOT="0"
157 -KEYWORDS="~amd64 ~x86"
158 -
159 -IUSE="X alsa jack pulseaudio oss nas ao gif png jpeg xface tiff ffmpeg mad bdwgc \
160 - sndfile sox ssl tls ipv6 pop kerberos hesiod postgresql libffi gmp mpfr magic xpm \
161 - athena neXt motif xim canna freewnn gdbm berkdb tty gpm ncurses mule socks \
162 - omgoptimize warnfull"
163 -
164 -X_DEPEND="x11-libs/libXt x11-libs/libXmu x11-libs/libXext x11-misc/xbitmaps"
165 -
166 -# The blockers at the end are because sxemacs has file conflicts with all of
167 -# those packages and blockers are the easiest solution.
168 -DEPEND="virtual/libc
169 - sys-libs/zlib
170 - >=media-libs/audiofile-0.2.3
171 - X? ( $X_DEPEND !neXt? ( x11-libs/libXaw ) )
172 - alsa? ( media-libs/alsa-lib )
173 - jack? ( media-sound/jack )
174 - pulseaudio? ( media-sound/pulseaudio )
175 - nas? ( media-libs/nas )
176 - ao? ( >=media-libs/libao-0.8.5 )
177 - png? ( media-libs/libpng )
178 - jpeg? ( virtual/jpeg )
179 - xface? ( media-libs/compface )
180 - tiff? ( media-libs/tiff )
181 - ffmpeg? ( media-video/ffmpeg )
182 - mad? ( media-libs/libmad media-sound/madplay )
183 - bdwgc? ( dev-libs/boehm-gc )
184 - sndfile? ( media-libs/libsndfile )
185 - sox? ( media-sound/sox )
186 - ssl? ( >=dev-libs/openssl-0.9.8 )
187 - tls? ( >=net-libs/gnutls-2.0.4 )
188 - kerberos? ( app-crypt/mit-krb5 )
189 - hesiod? ( net-dns/hesiod )
190 - postgresql? ( dev-db/postgresql-base )
191 - libffi? ( dev-libs/libffi )
192 - gmp? ( dev-libs/gmp )
193 - mpfr? ( dev-libs/mpfr )
194 - athena? ( x11-libs/libXaw )
195 - neXt? ( x11-libs/neXtaw )
196 - motif? ( >=x11-libs/motif-2.3:0 )
197 - canna? ( app-i18n/canna )
198 - freewnn? ( app-i18n/freewnn )
199 - gdbm? ( >=sys-libs/gdbm-1.8.3 )
200 - berkdb? ( sys-libs/db )
201 - gpm? ( sys-libs/gpm )
202 - ncurses? ( >=sys-libs/ncurses-5.2 )
203 - magic? ( sys-apps/file )
204 - !app-eselect/eselect-ctags
205 - !app-editors/emacs
206 - !app-editors/emacs-vcs
207 - !app-editors/xemacs
208 - !dev-util/ctags"
209 -
210 -# app-xemacs/xemacs-base should probably be here but it causes
211 -# app-editors/xemacs to be installed which causes file conflicts
212 -PDEPEND="mule? ( app-xemacs/mule-base )"
213 -
214 -pkg_setup() {
215 - if use libffi ;
216 - then
217 - elog "You've elected to build SXEmacs with FFI support."
218 - elog "This will allow you to view in SXEmacs any image type"
219 - elog "supported by ImageMagick's libWand."
220 - elog "It will also allow you to download the initial XE packages"
221 - elog "from within SXEmacs itself. To do this, use"
222 - elog " M-x pui-bootstrap RET"
223 - fi
224 -
225 - if use bdwgc ;
226 - then
227 - ewarn "You've elected to compile SXEmacs with support for the"
228 - ewarn "Boehm-Demers-Weiser Garbage Collector, or Boehm-GC."
229 - ewarn "The BDWGC code is still in its infancy, and is known to"
230 - ewarn "consume larger-than-average amounts of memory in an SXEmacs"
231 - ewarn "session. You have been warned."
232 - fi
233 -
234 - ewarn "Note: Although this ebuild has the approval of the SXEmacs Project,"
235 - ewarn "it is not an official subset of the project and thus only limited"
236 - ewarn "support can be offered for this ebuild. "
237 -}
238 -
239 -src_unpack() {
240 - unpack ${P}.tar.xz
241 - use neXt && unpack NeXT_XEmacs.tar.gz
242 -}
243 -
244 -src_prepare() {
245 - use neXt && cp "${WORKDIR}"/NeXT.XEmacs/xemacs-icons/* "${S}"/etc/toolbar/
246 -}
247 -
248 -src_configure() {
249 -
250 - #####################################
251 - # Allow SXEmacs to decide on CFLAGS #
252 - #####################################
253 - # Don't know why a higher value won't work on some Gentoo systems, but to be
254 - # safe and ensure that users don't whinge too much, we'll arbitrate -O2 as
255 - # the optimisation level.
256 - # Also work around hardened compiler bugs.
257 - if use omgoptimize ; then
258 - echo ""
259 - else
260 - replace-flags -O* -O2
261 - fi
262 - filter-flags -fomit-frame-pointer -fPIE
263 - is-flag -nopie && append-flags -nopie
264 -
265 - #################
266 - # Configuration #
267 - #################
268 - local myconf=""
269 -
270 - #######################
271 - # Configuration for X #
272 - #######################
273 - if use X ; then
274 - myconf="${myconf} --with-widgets=athena"
275 - myconf="${myconf} --with-dialogs=athena"
276 - myconf="${myconf} --with-menubars=lucid"
277 - myconf="${myconf} --with-scrollbars=lucid"
278 - if use motif ; then
279 - myconf="--with-widgets=motif"
280 - myconf="${myconf} --with-dialogs=motif"
281 - myconf="${myconf} --with-scrollbars=motif"
282 - myconf="${myconf} --with-menubars=lucid"
283 - fi
284 - if use athena ; then
285 - myconf="--with-scrollbars=athena"
286 - fi
287 - if use neXt ; then
288 - myconf="${myconf} --with-athena=next"
289 - else
290 - myconf="${myconf} --with-athena=xaw"
291 - fi
292 -
293 - else
294 - myconf="${myconf} --without-x"
295 - fi
296 -
297 - #########################
298 - # Configuration for TTY #
299 - #########################
300 - local ttyconf=""
301 - if use tty ; then
302 - ttyconf="${ttyconf} --with-tty"
303 - if use tty ; then
304 - if use ncurses ; then
305 - ttyconf="${ttyconf} --with-ncurses"
306 - else
307 - ttyconf="${ttyconf} --without-ncurses"
308 - fi
309 - if use gpm ; then
310 - ttyconf="${ttyconf} --with-gpm"
311 - else
312 - ttyconf="${ttyconf} --without-gpm"
313 - fi
314 - fi
315 - else
316 - ttyconf="${ttyconf} --without-tty"
317 - fi
318 - myconf="${myconf} ${ttyconf}"
319 -
320 - ######################
321 - # MULE Configuration #
322 - ######################
323 - if use mule ; then
324 - myconf="${myconf} --with-mule"
325 - if use xim ; then
326 - if use motif ; then
327 - myconf="${myconf} --with-xim=motif"
328 - else
329 - myconf="${myconf} --with-xim=xlib"
330 - fi
331 - else
332 - myconf="${myconf} --with-xim=no"
333 - fi
334 - use canna && myconf="${myconf} --with-canna"
335 - use freewnn && myconf="${myconf} --with-wnn"
336 - else
337 - myconf="${myconf} --without-mule"
338 - fi
339 -
340 - #######################
341 - # Sound Configuration #
342 - #######################
343 - local soundconf="none"
344 - # Define what sound outputs we use
345 - use alsa && soundconf="${soundconf},alsa"
346 - use jack && soundconf="${soundconf},jack"
347 - use oss && soundconf="${soundconf},oss"
348 - use nas && soundconf="${soundconf},nas"
349 - use arts && soundconf="${soundconf},arts"
350 - use ao && soundconf="${soundconf},ao"
351 - use esd && soundconf="${soundconf},esd"
352 - # And make them work
353 - myconf="${myconf} --with-sound=${soundconf}"
354 - use pulseaudio && myconf="${myconf} --with-pulseaudio"
355 -
356 - ########################
357 - # Images Configuration #
358 - ########################
359 - local imageconf="none"
360 - # Define Image Types to support
361 - use gif && imageconf="${imageconf},gif"
362 - use png && imageconf="${imageconf},png"
363 - use jpeg && imageconf="${imageconf},jpeg"
364 - use xface && imageconf="${imageconf},xface"
365 - use tiff && imageconf="${imageconf},tiff"
366 - use xpm && imageconf="${imageconf},xpm"
367 - # And make them work
368 - myconf="${myconf} --with-image=${imageconf}"
369 - # Note - If FFI useflag is set, and ImageMagick is installed, SXEmacs
370 - # will make use of libWand and can thus display many more types of
371 - # image.
372 -
373 - ##########################
374 - # Database Configuration #
375 - ##########################
376 - local mydb="none"
377 - use gdbm && mydb="${mydb},gdbm"
378 - use berkdb && mydb="${mydb},berkdb"
379 - myconf="${myconf} --with-database=${mydb}"
380 - # and add support for postgre here
381 - use postgresql && myconf="${myconf} --with-postgresql" || myconf="${myconf} --without-postgresql"
382 -
383 - #######################
384 - # Media Configuration #
385 - #######################
386 - local mediaconf="none,internal"
387 - # Define Media Types to support
388 - use ffmpeg && mediaconf="${mediaconf},ffmpeg"
389 - use mad && mediaconf="${mediaconf},mad"
390 - use sndfile && mediaconf="${mediaconf},sndfile"
391 - use magic && mediaconf="${mediaconf},magic"
392 - use sox && mediaconf="${mediaconf},sox"
393 - # And make them work
394 - myconf="${myconf} --with-media=${mediaconf}"
395 -
396 - ########################
397 - # Cryptography Options #
398 - ########################
399 - local crypto=""
400 - use ssl && crypto="${crypto} --with-openssl"
401 - use tls && crypto="${crypto} --with-gnutls"
402 - myconf="${myconf} ${crypto}"
403 -
404 - ############################
405 - # Networking Configuration #
406 - ############################
407 - local netconf=""
408 - use pop && netconf="${netconf} --with-pop" || netconf="${netconf} --without-pop"
409 - use kerberos && netconf="${netconf} --with-kerberos" || netconf="${netconf} --without-kerberos"
410 - use hesiod && netconf="${netconf} --with-hesiod"
411 - use socks && netconf="${netconf} --with-socks"
412 - myconf="${myconf} ${netconf}"
413 -
414 - #######
415 - # FFI #
416 - #######
417 - use libffi && myconf="${myconf} --with-ffi"
418 -
419 - #########################################
420 - # Boehm-Demers-Weiser Garbage Collector #
421 - #########################################
422 - use bdwgc && myconf="${myconf} --with-experimental-features=all"
423 -
424 - ############################
425 - # Aggressive Optimisations #
426 - ############################
427 - use omgoptimize && myconf="${myconf} --with-ridiculously-aggressive-optimisations"
428 -
429 - ##########################
430 - # Maximum Warning Output #
431 - ##########################
432 - use warnfull && myconf="${myconf} --with-maximum-warning-output"
433 -
434 - ####################
435 - # Neat Math Tricks #
436 - ####################
437 - # I'm going to let SXEmacs do the deciding here.
438 - # The useflags will simply be for dependencies.
439 - myconf="${myconf} --with-ent=all --with-ase=all"
440 -
441 - ##################
442 - # Module Support #
443 - ##################
444 - myconf="${myconf} --with-module-support"
445 - myconf="${myconf} --with-modules=all"
446 -
447 - ########################
448 - # End of Configuration #
449 - ########################
450 -
451 - ###############
452 - # ./configure #
453 - ###############
454 -
455 - econf ${myconf}
456 -}
457 -
458 -src_compile()
459 -{
460 - #################
461 - # Build SXEmacs #
462 - #################
463 -
464 - emake build-report
465 -
466 -}
467 -
468 -src_install() {
469 - ###################
470 - # Install SXEmacs #
471 - ###################
472 - default
473 -
474 - dodir /usr/share/sxemacs-22.1.15/
475 - dodir /usr/share/sxemacs/xemacs-packages/
476 - dodir /usr/share/sxemacs/sxemacs-packages/
477 - dodir /usr/share/sxemacs/site-packages/
478 -
479 - if use mule;
480 - then
481 - dodir /usr/share/sxemacs/mule-packages
482 - fi
483 -
484 - insinto /usr/share/pixmaps
485 - newins "${S}"/etc/${PN}-icon3.xpm ${PN}.xpm
486 -
487 - insinto /usr/share/applications
488 - doins "${S}"/etc/${PN}.desktop
489 -
490 -}
491 -
492 -pkg_postinst() {
493 - eselect emacs update --if-unset
494 -}
495 -
496 -pkg_postrm() {
497 - eselect emacs update --if-unset
498 -}