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/emacs-xwidget/
Date: Sun, 31 Jan 2016 08:26:28
Message-Id: 1454228737.5d84596579238bc4d8c2023757c51a85acadee73.ulm@gentoo
1 commit: 5d84596579238bc4d8c2023757c51a85acadee73
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 31 08:25:37 2016 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 31 08:25:37 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/emacs.git/commit/?id=5d845965
7
8 app-editors/emacs-xwidget: Remove package, xwidget merged to emacs-25.
9
10 app-editors/emacs-xwidget/ChangeLog | 97 ------
11 .../emacs-xwidget/emacs-xwidget-25.0.9999.ebuild | 375 ---------------------
12 app-editors/emacs-xwidget/metadata.xml | 52 ---
13 3 files changed, 524 deletions(-)
14
15 diff --git a/app-editors/emacs-xwidget/ChangeLog b/app-editors/emacs-xwidget/ChangeLog
16 deleted file mode 100644
17 index 0b4cc55..0000000
18 --- a/app-editors/emacs-xwidget/ChangeLog
19 +++ /dev/null
20 @@ -1,97 +0,0 @@
21 -# ChangeLog for app-editors/emacs-xwidget
22 -# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
23 -# $Id$
24 -
25 - 31 Mar 2015; Ulrich Müller <ulm@g.o> emacs-xwidget-25.0.9999.ebuild:
26 - Update dependency after package move of eselect modules to app-eselect.
27 -
28 - 21 Feb 2015; Ulrich Müller <ulm@g.o> emacs-xwidget-25.0.9999.ebuild:
29 - Merge changes from emacs-vcs.
30 -
31 - 01 Feb 2015; Ulrich Müller <ulm@g.o> emacs-xwidget-25.0.9999.ebuild,
32 - metadata.xml:
33 - Merge changes from emacs-vcs.
34 -
35 - 29 Dec 2014; Ulrich Müller <ulm@g.o> emacs-xwidget-25.0.9999.ebuild:
36 - Set a fake version number to avoid collisions with emacs-vcs.
37 -
38 -*emacs-xwidget-25.0.9999 (29 Dec 2014)
39 -
40 - 29 Dec 2014; Ulrich Müller <ulm@g.o> -emacs-xwidget-24.4.9999.ebuild,
41 - +emacs-xwidget-25.0.9999.ebuild:
42 - Upstream version number has changed. Merge changes from emacs-vcs.
43 -
44 - 13 Nov 2014; Ulrich Müller <ulm@g.o> emacs-xwidget-24.4.9999.ebuild:
45 - Merge changes from emacs-vcs.
46 -
47 -*emacs-xwidget-24.4.9999 (07 Jun 2014)
48 -
49 - 07 Jun 2014; Ulrich Müller <ulm@g.o> -emacs-xwidget-24.3.9999.ebuild,
50 - +emacs-xwidget-24.4.9999.ebuild:
51 - Upstream version number has changed.
52 -
53 - 06 May 2014; Ulrich Müller <ulm@g.o> emacs-xwidget-24.3.9999.ebuild:
54 - Merge changes from emacs-vcs.
55 -
56 - 13 Mar 2014; Ulrich Müller <ulm@g.o> emacs-xwidget-24.3.9999.ebuild:
57 - Merge changes from emacs-vcs.
58 -
59 - 19 Feb 2014; Ulrich Müller <ulm@g.o> emacs-xwidget-24.3.9999.ebuild:
60 - Merge changes from emacs-vcs.
61 -
62 - 19 Jan 2014; Ulrich Müller <ulm@g.o> emacs-xwidget-24.3.9999.ebuild:
63 - Merge changes from emacs-vcs.
64 -
65 - 19 Jan 2014; Ulrich Müller <ulm@g.o> emacs-xwidget-24.3.9999.ebuild:
66 - Switch from package.mask to empty KEYWORDS.
67 -
68 - 16 Jul 2013; Ulrich Müller <ulm@g.o> emacs-xwidget-24.3.9999.ebuild:
69 - Install README.xwidget.
70 -
71 - 14 Jul 2013; Ulrich Müller <ulm@g.o> emacs-xwidget-24.3.9999.ebuild:
72 - Merge changes from emacs-vcs.
73 -
74 - 15 Jun 2013; Ulrich Müller <ulm@g.o> emacs-xwidget-24.3.9999.ebuild,
75 - metadata.xml:
76 - Merge changes from emacs-vcs.
77 -
78 - 08 Jun 2013; Ulrich Müller <ulm@g.o> emacs-xwidget-24.3.9999.ebuild:
79 - Merge some changes from emacs-vcs.
80 -
81 - 31 Mar 2013; Ulrich Müller <ulm@g.o> emacs-xwidget-24.3.9999.ebuild:
82 - Merge changes from Portage tree.
83 -
84 - 27 Mar 2013; Ulrich Müller <ulm@g.o> emacs-xwidget-24.3.9999.ebuild,
85 - metadata.xml:
86 - Merge changes from emacs-vcs.
87 -
88 - 21 Mar 2013; Ulrich Müller <ulm@g.o> emacs-xwidget-24.3.9999.ebuild,
89 - metadata.xml:
90 - Merge changes from emacs-vcs.
91 -
92 -*emacs-xwidget-24.3.9999 (17 Nov 2012)
93 -
94 - 17 Nov 2012; Ulrich Müller <ulm@g.o> -emacs-xwidget-24.2.9999.ebuild,
95 - +emacs-xwidget-24.3.9999.ebuild:
96 - Version number has changed upstream.
97 -
98 - 24 Oct 2012; Ulrich Müller <ulm@g.o> emacs-xwidget-24.2.9999.ebuild:
99 - Update dependency after package move from x11-libs/openmotif to
100 - x11-libs/motif.
101 -
102 - 05 Oct 2012; Ulrich Müller <ulm@g.o> emacs-xwidget-24.2.9999.ebuild:
103 - With USE=xwidgets, add webkit-gtk as dependency and enable gtk3. Drop ~hppa
104 - and ~sh keywords.
105 -
106 -*emacs-xwidget-24.2.9999 (04 Oct 2012)
107 -
108 - 04 Oct 2012; Ulrich Müller <ulm@g.o> -emacs-xwidget-24.0.9999.ebuild,
109 - +emacs-xwidget-24.2.9999.ebuild, metadata.xml:
110 - Update from emacs-vcs ebuild.
111 -
112 -*emacs-xwidget-24.0.9999 (30 Sep 2011)
113 -
114 - 30 Sep 2011; Ulrich Mueller <ulm@g.o> +emacs-xwidget-24.0.9999.ebuild,
115 - +metadata.xml:
116 - Emacs xwidget branch.
117 -
118
119 diff --git a/app-editors/emacs-xwidget/emacs-xwidget-25.0.9999.ebuild b/app-editors/emacs-xwidget/emacs-xwidget-25.0.9999.ebuild
120 deleted file mode 100644
121 index 039b383..0000000
122 --- a/app-editors/emacs-xwidget/emacs-xwidget-25.0.9999.ebuild
123 +++ /dev/null
124 @@ -1,375 +0,0 @@
125 -# Copyright 1999-2015 Gentoo Foundation
126 -# Distributed under the terms of the GNU General Public License v2
127 -# $Id$
128 -
129 -EAPI=5
130 -
131 -inherit autotools elisp-common eutils flag-o-matic multilib readme.gentoo
132 -
133 -if [[ ${PV##*.} = 9999 ]]; then
134 - inherit git-r3
135 - EGIT_REPO_URI="git://git.sv.gnu.org/emacs.git"
136 - EGIT_BRANCH="xwidget"
137 - EGIT_CHECKOUT_DIR="${WORKDIR}/emacs"
138 - S="${EGIT_CHECKOUT_DIR}"
139 -else
140 - SRC_URI="http://dev.gentoo.org/~ulm/distfiles/emacs-${PV}.tar.xz
141 - mirror://gnu-alpha/emacs/pretest/emacs-${PV}.tar.xz"
142 - # FULL_VERSION keeps the full version number, which is needed in
143 - # order to determine some path information correctly for copy/move
144 - # operations later on
145 - FULL_VERSION="${PV%%_*}"
146 - S="${WORKDIR}/emacs-${FULL_VERSION}"
147 -fi
148 -
149 -DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
150 -HOMEPAGE="http://www.gnu.org/software/emacs/
151 - http://www.emacswiki.org/emacs/EmacsXembed"
152 -
153 -LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
154 -SLOT="25"
155 -IUSE="acl alsa aqua athena dbus games gconf gfile gif gnutls gpm gsettings gtk gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
156 -REQUIRED_USE="?? ( aqua X )"
157 -
158 -RDEPEND="sys-libs/ncurses
159 - >=app-eselect/eselect-emacs-1.16
160 - >=app-emacs/emacs-common-gentoo-1.4-r2[games?,X?]
161 - net-libs/liblockfile
162 - acl? ( virtual/acl )
163 - alsa? ( media-libs/alsa-lib )
164 - dbus? ( sys-apps/dbus )
165 - gfile? ( >=dev-libs/glib-2.28.6 )
166 - gnutls? ( net-libs/gnutls )
167 - gpm? ( sys-libs/gpm )
168 - hesiod? ( net-dns/hesiod )
169 - kerberos? ( virtual/krb5 )
170 - libxml2? ( >=dev-libs/libxml2-2.2.0 )
171 - selinux? ( sys-libs/libselinux )
172 - zlib? ( sys-libs/zlib )
173 - X? (
174 - x11-libs/libXmu
175 - x11-libs/libXt
176 - x11-misc/xbitmaps
177 - gconf? ( >=gnome-base/gconf-2.26.2 )
178 - gsettings? ( >=dev-libs/glib-2.28.6 )
179 - gif? ( media-libs/giflib )
180 - jpeg? ( virtual/jpeg:0= )
181 - png? ( >=media-libs/libpng-1.4:0= )
182 - svg? ( >=gnome-base/librsvg-2.0 )
183 - tiff? ( media-libs/tiff:0 )
184 - xpm? ( x11-libs/libXpm )
185 - imagemagick? ( >=media-gfx/imagemagick-6.6.2 )
186 - xft? (
187 - media-libs/fontconfig
188 - media-libs/freetype
189 - x11-libs/libXft
190 - m17n-lib? (
191 - >=dev-libs/libotf-0.9.4
192 - >=dev-libs/m17n-lib-1.5.1
193 - )
194 - )
195 - gtk3? (
196 - x11-libs/gtk+:3
197 - xwidgets? (
198 - >=dev-libs/gobject-introspection-1.32.1
199 - net-libs/webkit-gtk:3
200 - )
201 - )
202 - !gtk3? (
203 - gtk? ( x11-libs/gtk+:2 )
204 - !gtk? (
205 - motif? ( >=x11-libs/motif-2.3:0 )
206 - !motif? (
207 - Xaw3d? ( x11-libs/libXaw3d )
208 - !Xaw3d? ( athena? ( x11-libs/libXaw ) )
209 - )
210 - )
211 - )
212 - )"
213 -
214 -DEPEND="${RDEPEND}
215 - virtual/pkgconfig
216 - gzip-el? ( app-arch/gzip )
217 - pax_kernel? (
218 - sys-apps/attr
219 - sys-apps/paxctl
220 - )"
221 -
222 -if [[ ${PV##*.} = 9999 ]]; then
223 - DEPEND="${DEPEND}
224 - sys-apps/texinfo"
225 -fi
226 -
227 -EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
228 -SITEFILE="20${PN}-${SLOT}-gentoo.el"
229 -
230 -src_prepare() {
231 - # set a fake version number to avoid collisions with emacs-vcs
232 - sed -i -e "/AC_INIT/s/\(25\.[0-9]*\)\.[0-9]*/\1.60/" configure.ac
233 -
234 - if [[ ${PV##*.} = 9999 ]]; then
235 - FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[ \t]*\([^ \t,)]*\).*/\1/p' \
236 - configure.ac)
237 - [[ ${FULL_VERSION} ]] || die "Cannot determine current Emacs version"
238 - einfo "Emacs branch: ${EGIT_BRANCH}"
239 - einfo "Commit: ${EGIT_VERSION}"
240 - einfo "Emacs version number: ${FULL_VERSION}"
241 - [[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \
242 - || die "Upstream version number changed to ${FULL_VERSION}"
243 - fi
244 -
245 - epatch_user
246 -
247 - # Fix filename reference in redirected man page
248 - sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 \
249 - || die "unable to sed ctags.1"
250 -
251 - AT_M4DIR=m4 eautoreconf
252 -}
253 -
254 -src_configure() {
255 - strip-flags
256 - filter-flags -pie #526948
257 -
258 - if use sh; then
259 - replace-flags "-O[1-9]" -O0 #262359
260 - elif use ia64; then
261 - replace-flags "-O[2-9]" -O1 #325373
262 - else
263 - replace-flags "-O[3-9]" -O2
264 - fi
265 -
266 - local myconf
267 -
268 - if use alsa; then
269 - use sound || ewarn \
270 - "USE flag \"alsa\" overrides \"-sound\"; enabling sound support."
271 - myconf+=" --with-sound=alsa"
272 - else
273 - myconf+=" --with-sound=$(usex sound oss)"
274 - fi
275 -
276 - if use X; then
277 - myconf+=" --with-x --without-ns"
278 - myconf+=" $(use_with gconf)"
279 - myconf+=" $(use_with gsettings)"
280 - myconf+=" $(use_with toolkit-scroll-bars)"
281 - myconf+=" $(use_with gif)"
282 - myconf+=" $(use_with jpeg)"
283 - myconf+=" $(use_with png)"
284 - myconf+=" $(use_with svg rsvg)"
285 - myconf+=" $(use_with tiff)"
286 - myconf+=" $(use_with xpm)"
287 - myconf+=" $(use_with imagemagick)"
288 -
289 - if use xft; then
290 - myconf+=" --with-xft"
291 - myconf+=" $(use_with m17n-lib libotf)"
292 - myconf+=" $(use_with m17n-lib m17n-flt)"
293 - else
294 - myconf+=" --without-xft"
295 - myconf+=" --without-libotf --without-m17n-flt"
296 - use m17n-lib && ewarn \
297 - "USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
298 - fi
299 -
300 - if use gtk3; then
301 - einfo "Configuring to build with GIMP Toolkit (GTK+) version 3"
302 - myconf+=" --with-x-toolkit=gtk3 $(use_with xwidgets)"
303 - elif use gtk; then
304 - einfo "Configuring to build with GIMP Toolkit (GTK+) version 2"
305 - myconf+=" --with-x-toolkit=gtk2"
306 - elif use motif; then
307 - einfo "Configuring to build with Motif toolkit"
308 - myconf+=" --with-x-toolkit=motif"
309 - elif use athena || use Xaw3d; then
310 - einfo "Configuring to build with Athena/Lucid toolkit"
311 - myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
312 - else
313 - einfo "Configuring to build with no toolkit"
314 - myconf+=" --with-x-toolkit=no"
315 - fi
316 -
317 - local f tk
318 - for f in gtk3 gtk motif Xaw3d athena; do
319 - use ${f} || continue
320 - [[ ${tk} = gtk* || ${tk} = motif ]] \
321 - && ewarn "USE flag \"${f}\" ignored (superseded by \"${tk}\")"
322 - : ${tk:=${f}}
323 - done
324 - ! use gtk3 && use xwidgets && ewarn \
325 - "USE flag \"xwidgets\" has no effect if \"gtk3\" is not set."
326 - elif use aqua; then
327 - einfo "Configuring to build with Nextstep (Cocoa) support"
328 - myconf+=" --with-ns --disable-ns-self-contained"
329 - myconf+=" --without-x"
330 - else
331 - myconf+=" --without-x --without-ns"
332 - fi
333 -
334 - # Save version information in the Emacs binary. It will be available
335 - # in variable "system-configuration-options".
336 - myconf+=" GENTOO_PACKAGE=${CATEGORY}/${PF}"
337 - if [[ ${PV##*.} = 9999 ]]; then
338 - myconf+=" EGIT_BRANCH=${EGIT_BRANCH} EGIT_VERSION=${EGIT_VERSION}"
339 - fi
340 -
341 - econf \
342 - --program-suffix="-${EMACS_SUFFIX}" \
343 - --infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
344 - --localstatedir="${EPREFIX}"/var \
345 - --enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
346 - --with-gameuser=":gamestat" \
347 - --without-compress-install \
348 - --with-file-notification=$(usev gfile || usev inotify || echo no) \
349 - $(use_enable acl) \
350 - $(use_with dbus) \
351 - $(use_with gnutls) \
352 - $(use_with gpm) \
353 - $(use_with hesiod) \
354 - $(use_with kerberos) $(use_with kerberos kerberos5) \
355 - $(use_with libxml2 xml2) \
356 - $(use_with selinux) \
357 - $(use_with wide-int) \
358 - $(use_with zlib) \
359 - ${myconf}
360 -}
361 -
362 -src_compile() {
363 - export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
364 - emake
365 -}
366 -
367 -src_install () {
368 - emake DESTDIR="${D}" NO_BIN_LINK=t install
369 -
370 - mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} \
371 - || die "moving emacs executable failed"
372 - mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 \
373 - || die "moving emacs man page failed"
374 -
375 - # move info dir to avoid collisions with the dir file generated by portage
376 - mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
377 - || die "moving info dir failed"
378 - touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
379 - docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
380 -
381 - # avoid collision between slots, see bug #169033 e.g.
382 - rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
383 - rm -rf "${ED}"/usr/share/{appdata,applications,icons}
384 - rm -rf "${ED}"/var
385 -
386 - # remove unused <version>/site-lisp dir
387 - rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
388 -
389 - # remove COPYING file (except for etc/COPYING used by describe-copying)
390 - rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
391 -
392 - if use gzip-el; then
393 - # compress .el files when a corresponding .elc exists
394 - find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \
395 - -name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n
396 - assert "gzip .el failed"
397 - fi
398 -
399 - local cdir
400 - if use source; then
401 - cdir="/usr/share/emacs/${FULL_VERSION}/src"
402 - insinto "${cdir}"
403 - # This is not meant to install all the source -- just the
404 - # C source you might find via find-function
405 - doins src/*.{c,h,m}
406 - elif has installsources ${FEATURES}; then
407 - cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
408 - fi
409 -
410 - sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF
411 - X
412 - ;;; ${PN}-${SLOT} site-lisp configuration
413 - X
414 - (when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
415 - Y (setq find-function-C-source-directory
416 - Y "${EPREFIX}${cdir}")
417 - X (let ((path (getenv "INFOPATH"))
418 - X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
419 - X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
420 - X (and path
421 - X ;; move Emacs Info dir before anything else in /usr/share/info
422 - X (let* ((p (cons nil (split-string path ":" t))) (q p))
423 - X (while (and (cdr q) (not (string-match re (cadr q))))
424 - X (setq q (cdr q)))
425 - X (setcdr q (cons dir (delete dir (cdr q))))
426 - X (setq Info-directory-list (prune-directory-list (cdr p)))))))
427 - EOF
428 - elisp-site-file-install "${T}/${SITEFILE}" || die
429 -
430 - dodoc README BUGS CONTRIBUTE
431 -
432 - if use aqua; then
433 - dodir /Applications/Gentoo
434 - rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
435 - mv nextstep/Emacs.app \
436 - "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
437 - fi
438 -
439 - DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs
440 - through the Emacs eselect module, which also redirects man and info
441 - pages. Therefore, several Emacs versions can be installed at the
442 - same time. \"man emacs.eselect\" for details.
443 - \\n\\nIf you upgrade from Emacs version 24.2 or earlier, then it is
444 - strongly recommended that you use app-admin/emacs-updater to rebuild
445 - all byte-compiled elisp files of the installed Emacs packages."
446 - use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
447 - Installing media-fonts/font-adobe-{75,100}dpi on the X server's
448 - machine would satisfy basic Emacs requirements under X11.
449 - See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
450 - for how to enable anti-aliased fonts."
451 - use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in
452 - \"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink
453 - it into /Applications by yourself."
454 - readme.gentoo_create_doc
455 -}
456 -
457 -pkg_preinst() {
458 - # move Info dir file to correct name
459 - local infodir=/usr/share/info/${EMACS_SUFFIX} f
460 - if [[ -f ${ED}${infodir}/dir.orig ]]; then
461 - mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
462 - elif [[ -d "${ED}"${infodir} ]]; then
463 - # this should not happen in EAPI 4
464 - ewarn "Regenerating Info directory index in ${infodir} ..."
465 - rm -f "${ED}"${infodir}/dir{,.*}
466 - for f in "${ED}"${infodir}/*; do
467 - if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
468 - install-info --info-dir="${ED}"${infodir} "${f}" \
469 - || die "install-info failed"
470 - fi
471 - done
472 - fi
473 -}
474 -
475 -pkg_postinst() {
476 - elisp-site-regen
477 -
478 - local pvr
479 - for pvr in ${REPLACING_VERSIONS}; do
480 - [[ ${pvr%%[-_]*} = 24.[12] ]] && FORCE_PRINT_ELOG=1
481 - done
482 - readme.gentoo_print_elog
483 -
484 - if use livecd; then
485 - # force an update of the emacs symlink for the livecd/dvd,
486 - # because some microemacs packages set it with USE=livecd
487 - eselect emacs update
488 - elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
489 - # refresh symlinks in case any installed files have changed
490 - eselect emacs set ${EMACS_SUFFIX}
491 - else
492 - eselect emacs update ifunset
493 - fi
494 -}
495 -
496 -pkg_postrm() {
497 - elisp-site-regen
498 - eselect emacs update ifunset
499 -}
500
501 diff --git a/app-editors/emacs-xwidget/metadata.xml b/app-editors/emacs-xwidget/metadata.xml
502 deleted file mode 100644
503 index efe2017..0000000
504 --- a/app-editors/emacs-xwidget/metadata.xml
505 +++ /dev/null
506 @@ -1,52 +0,0 @@
507 -<?xml version="1.0" encoding="UTF-8"?>
508 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
509 -<pkgmetadata>
510 -<maintainer type="project">
511 - <email>gnu-emacs@g.o</email>
512 - <name>Gentoo GNU Emacs project</name>
513 -</maintainer>
514 -<longdescription>
515 - GNU Emacs is an extensible, customizable text editor - and more. At its core
516 - is an interpreter for Emacs Lisp, a dialect of the Lisp programming language
517 - with extensions to support text editing. The features of GNU Emacs include:
518 - * Content-sensitive editing modes, including syntax coloring, for a variety
519 - of file types including plain text, source code, and HTML.
520 - * Complete built-in documentation, including a tutorial for new users.
521 - * Full Unicode support for nearly all human languages and their scripts.
522 - * Highly customizable, using Emacs Lisp code or a graphical interface.
523 - * A large number of extensions that add other functionality, including a
524 - project planner, mail and news reader, debugger interface, calendar, and
525 - more. Many of these extensions are distributed with GNU Emacs; others are
526 - available separately.
527 -</longdescription>
528 -<use>
529 - <flag name='athena'>Enable the MIT Athena widget set
530 - (<pkg>x11-libs/libXaw</pkg>)</flag>
531 - <flag name='games'>Support shared score files for games</flag>
532 - <flag name='gconf'>Use <pkg>gnome-base/gconf</pkg> to read the system
533 - font name</flag>
534 - <flag name='gfile'>Use gfile (<pkg>dev-libs/glib</pkg>) for file
535 - notification</flag>
536 - <flag name='gsettings'>Use gsettings (<pkg>dev-libs/glib</pkg>) to read the
537 - system font name</flag>
538 - <flag name='gtk'>Add support for <pkg>x11-libs/gtk+</pkg>
539 - (the GIMP Toolkit) version 2</flag>
540 - <flag name='gtk3'>Add support for <pkg>x11-libs/gtk+</pkg>
541 - (the GIMP Toolkit) version 3</flag>
542 - <flag name='gzip-el'>Compress bundled Emacs Lisp source</flag>
543 - <flag name='hesiod'>Enable support for <pkg>net-dns/hesiod</pkg></flag>
544 - <flag name='imagemagick'>Use <pkg>media-gfx/imagemagick</pkg> for image
545 - processing</flag>
546 - <flag name='libxml2'>Use <pkg>dev-libs/libxml2</pkg> to parse XML instead
547 - of the internal Lisp implementations</flag>
548 - <flag name='pax_kernel'>Enable building under a PaX enabled kernel</flag>
549 - <flag name='source'>Install C source files and make them available for
550 - find-function</flag>
551 - <flag name='toolkit-scroll-bars'>Use the selected toolkit's scrollbars in
552 - preference to Emacs' own scrollbars</flag>
553 - <flag name='wide-int'>Prefer wide Emacs integers (typically 62-bit).
554 - This option has an effect only on architectures where "long" and
555 - "long long" types have different size.</flag>
556 - <flag name='xwidgets'>Enable use of some gtk widgets in Emacs buffers</flag>
557 -</use>
558 -</pkgmetadata>