Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/emacs-common/
Date: Fri, 02 Apr 2021 09:01:33
Message-Id: 1617354085.5b8e8a8670eef38e45a9798cdd6b493f5cd785b5.ulm@gentoo
1 commit: 5b8e8a8670eef38e45a9798cdd6b493f5cd785b5
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 2 09:01:25 2021 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 2 09:01:25 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b8e8a86
7
8 app-emacs/emacs-common: Remove old
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
12
13 app-emacs/emacs-common/Manifest | 1 -
14 app-emacs/emacs-common/emacs-common-1.6-r4.ebuild | 104 ----------------------
15 2 files changed, 105 deletions(-)
16
17 diff --git a/app-emacs/emacs-common/Manifest b/app-emacs/emacs-common/Manifest
18 index 822ee959302..2ff6aaecae2 100644
19 --- a/app-emacs/emacs-common/Manifest
20 +++ b/app-emacs/emacs-common/Manifest
21 @@ -1,2 +1 @@
22 DIST emacs-common-1.8.tar.xz 61352 BLAKE2B 084cf06c03db231c92d0074a2e633d209257941b2840c2c745462050e694756f97679c7078357d9eab7b2fcfb85b00ab390d65254ddd106d0ef1a1fd723b2c4c SHA512 85c4b826c0691fd24f260750f4c3f9ecc3b59d11b4dafcae608e1a2546c064b240084974962b0727ac8183b8f5b0891cf47add901461f77ee275a129341b2b13
23 -DIST emacs-common-gentoo-1.6.tar.xz 61224 BLAKE2B 70e4f30c26c9098fdb02a53cab5d60cb611143d8bac6947707f3c7596b5a81ceb513b5a0809ee90f351472824f1d4216720c02cadb51d25b3dfce5e436e02bdf SHA512 a7daed2241d778ab283482ecc016801e25084eed10fcbbc50e187d5f842df5a0d278a77f94ae950b086c8651e8ca1a18f89c11dffdde9cf9168755288aae926a
24
25 diff --git a/app-emacs/emacs-common/emacs-common-1.6-r4.ebuild b/app-emacs/emacs-common/emacs-common-1.6-r4.ebuild
26 deleted file mode 100644
27 index ebc8a1b9774..00000000000
28 --- a/app-emacs/emacs-common/emacs-common-1.6-r4.ebuild
29 +++ /dev/null
30 @@ -1,104 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -inherit elisp-common desktop xdg-utils readme.gentoo-r1
37 -
38 -MY_P="emacs-common-gentoo-${PV}"
39 -DESCRIPTION="Common files needed by all GNU Emacs versions"
40 -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
41 -SRC_URI="https://dev.gentoo.org/~ulm/emacs/${MY_P}.tar.xz"
42 -S="${WORKDIR}/${MY_P}"
43 -
44 -LICENSE="GPL-3+"
45 -SLOT="0"
46 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
47 -IUSE="games gui"
48 -
49 -RDEPEND="games? ( acct-group/gamestat )"
50 -DEPEND="${RDEPEND}"
51 -PDEPEND=">=app-editors/emacs-23.1:*"
52 -
53 -src_install() {
54 - insinto "${SITELISP}"
55 - doins subdirs.el
56 - newins site-gentoo.el{,.orig}
57 -
58 - keepdir /etc/emacs
59 - insinto /etc/emacs
60 - doins site-start.el
61 -
62 - if use games; then
63 - keepdir /var/games/emacs
64 - fowners 0:gamestat /var/games/emacs
65 - fperms g+w /var/games/emacs
66 - fi
67 -
68 - if use gui; then
69 - local i
70 - domenu emacs.desktop emacsclient.desktop
71 -
72 - pushd icons || die
73 - newicon sink.png emacs-sink.png
74 - newicon emacs25_48.png emacs.png
75 - for i in 16 24 32 48 128; do
76 - [[ ${i} -le 48 ]] && newicon -s ${i} emacs22_${i}.png emacs22.png
77 - newicon -s ${i} emacs23_${i}.png emacs23.png
78 - newicon -s ${i} emacs25_${i}.png emacs.png
79 - done
80 - doicon -s scalable emacs23.svg
81 - newicon -s scalable emacs25.svg emacs.svg
82 - popd
83 - fi
84 -
85 - DOC_CONTENTS="All site initialisation for Gentoo-installed packages is
86 - added to ${SITELISP}/site-gentoo.el. In order for this site
87 - initialisation to be loaded for all users automatically, a default
88 - site startup file /etc/emacs/site-start.el is installed. You are
89 - responsible for maintenance of this file.
90 - \n\nAlternatively, individual users can add the following command:
91 - \n\n(require 'site-gentoo)
92 - \n\nto their ~/.emacs initialisation files, or, for greater
93 - flexibility, users may load single package-specific initialisation
94 - files from the ${SITELISP}/site-gentoo.d/ directory."
95 - readme.gentoo_create_doc
96 -}
97 -
98 -pkg_preinst() {
99 - # make sure that site-gentoo.el exists since site-start.el requires it
100 - if [[ ! -f ${ED}${SITELISP}/site-gentoo.el ]]; then #554518
101 - mv "${ED}${SITELISP}"/site-gentoo.el{.orig,} || die
102 - fi
103 - if [[ -d ${EROOT}${SITELISP} ]]; then
104 - elisp-site-regen
105 - cp "${EROOT}${SITELISP}/site-gentoo.el" "${ED}${SITELISP}/" || die
106 - fi
107 -
108 - if use games; then
109 - local f
110 - for f in /var/games/emacs/{snake,tetris}-scores; do
111 - if [[ -e ${EROOT}${f} ]]; then
112 - cp "${EROOT}${f}" "${ED}${f}" || die
113 - fi
114 - touch "${ED}${f}" || die
115 - chgrp gamestat "${ED}${f}" || die
116 - chmod g+w "${ED}${f}" || die
117 - done
118 - fi
119 -}
120 -
121 -pkg_postinst() {
122 - if use gui; then
123 - xdg_desktop_database_update
124 - xdg_icon_cache_update
125 - fi
126 - readme.gentoo_print_elog
127 -}
128 -
129 -pkg_postrm() {
130 - if use gui; then
131 - xdg_desktop_database_update
132 - xdg_icon_cache_update
133 - fi
134 -}