summaryrefslogtreecommitdiff
path: root/app-emacs/emacs-common-gentoo
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-03-09 16:53:27 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-03-09 16:53:27 +0000
commit80208fb578cf92cc308906660ca6d7860c6b2a1f (patch)
tree6f06818031b553c506fc10dfe9908a835df288aa /app-emacs/emacs-common-gentoo
parent06a7b5647e11a8ddf69b1c3d3ded6a8ba28b923e (diff)
gentoo resync : 09.03.2018
Diffstat (limited to 'app-emacs/emacs-common-gentoo')
-rw-r--r--app-emacs/emacs-common-gentoo/Manifest3
-rw-r--r--app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.6-r1.ebuild2
-rw-r--r--app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.6.ebuild113
3 files changed, 2 insertions, 116 deletions
diff --git a/app-emacs/emacs-common-gentoo/Manifest b/app-emacs/emacs-common-gentoo/Manifest
index 167aa6fe2dba..9372090b8b9b 100644
--- a/app-emacs/emacs-common-gentoo/Manifest
+++ b/app-emacs/emacs-common-gentoo/Manifest
@@ -1,4 +1,3 @@
DIST emacs-common-gentoo-1.6.tar.xz 61224 BLAKE2B 70e4f30c26c9098fdb02a53cab5d60cb611143d8bac6947707f3c7596b5a81ceb513b5a0809ee90f351472824f1d4216720c02cadb51d25b3dfce5e436e02bdf SHA512 a7daed2241d778ab283482ecc016801e25084eed10fcbbc50e187d5f842df5a0d278a77f94ae950b086c8651e8ca1a18f89c11dffdde9cf9168755288aae926a
-EBUILD emacs-common-gentoo-1.6-r1.ebuild 2887 BLAKE2B cbbc4e8f0ef4e20dea5e990e55fd555061d81b8842b56d8122369f1eaf98588c16bff9d49ade3d9508d7a72ee23ea42b9d17aae3d1a1cde4e06d74b733c82859 SHA512 8dec173d096f8a6d654cfd964b04a31b3a48bd47037bba82c328cecae0ed3efceac2833f52b89d686a823f188e44427be27108e037a29f137ee941d702fe21dd
-EBUILD emacs-common-gentoo-1.6.ebuild 3150 BLAKE2B e98543f1db21c3f9aba5bf02e3363c2e935ab2b4b829d07abc77a39e1660b6da55c2d3ea2d1e6f0ea810bf443ffc50476a4a69b40f3be98e1a5cc280af36c96e SHA512 690be3a0a5daf9ba2d812e36db2be905c53d292e4cc9f8cefb9d31b03e49961b68603ee8ae1a3cb4e230697825dd2c3f40b3e2ab9c92f21f6a1984b34e4d1af1
+EBUILD emacs-common-gentoo-1.6-r1.ebuild 2881 BLAKE2B a0ea2ea78f87e85ab93c384e3b907ff1e83e88475963e234285d7f2e4ff3151f2216a987c5e826bb9ada3e7283f1777f99fe8349e2905e5c3c28aa33980af0ec SHA512 66e6abf850ffce638f54e93442840e787932614f7b2424adeb70034a134d2fd548284a0093bd5c90a20aaaa010f84d9d34bb8ba5706901932fbfdb022d71bbab
MISC metadata.xml 337 BLAKE2B 4eb067768aa32943a1e7c0cf4fe8444a64c41b05ce7397d088a2f38d60fc2a484d7df5d8b78761a836d647ad005babc7ee8404ea112f7884b8918863eea2b8c4 SHA512 4fca91d99b7d069ef8a7b1ca182f8eef738817b3ee9a2540549642f21574fefc70eee2f3e0e000c3ee860983a651470b5aecf1e126b2cc7465defd708e608ebd
diff --git a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.6-r1.ebuild b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.6-r1.ebuild
index 5aa9b9586051..cd5609e84a74 100644
--- a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.6-r1.ebuild
+++ b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.6-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="games X"
PDEPEND="virtual/emacs"
diff --git a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.6.ebuild b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.6.ebuild
deleted file mode 100644
index e795561fea8c..000000000000
--- a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.6.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit elisp-common eutils fdo-mime gnome2-utils readme.gentoo-r1 user
-
-DESCRIPTION="Common files needed by all GNU Emacs versions"
-HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
-SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
-IUSE="games X"
-
-PDEPEND="virtual/emacs"
-
-pkg_setup() {
- use games && enewgroup gamestat 36
-}
-
-src_install() {
- insinto "${SITELISP}"
- doins subdirs.el
- newins site-gentoo.el{,.orig}
-
- keepdir /etc/emacs
- insinto /etc/emacs
- doins site-start.el
-
- if use games; then
- keepdir /var/games/emacs
- fowners 0:gamestat /var/games/emacs
- fperms g+w /var/games/emacs
- fi
-
- if use X; then
- local i
- domenu emacs.desktop emacsclient.desktop || die
-
- pushd icons || die
- newicon sink.png emacs-sink.png
- newicon emacs25_48.png emacs.png
- for i in 16 24 32 48 128; do
- [[ ${i} -le 48 ]] && newicon -s ${i} emacs22_${i}.png emacs22.png
- newicon -s ${i} emacs23_${i}.png emacs23.png
- newicon -s ${i} emacs25_${i}.png emacs.png
- done
- doicon -s scalable emacs23.svg
- newicon -s scalable emacs25.svg emacs.svg
- popd
-
- gnome2_icon_savelist
- fi
-
- DOC_CONTENTS="All site initialisation for Gentoo-installed packages is
- added to ${SITELISP}/site-gentoo.el. In order for this site
- initialisation to be loaded for all users automatically, a default
- site startup file /etc/emacs/site-start.el is installed. You are
- responsible for maintenance of this file.
- \n\nAlternatively, individual users can add the following command:
- \n\n(require 'site-gentoo)
- \n\nto their ~/.emacs initialisation files, or, for greater
- flexibility, users may load single package-specific initialisation
- files from the ${SITELISP}/site-gentoo.d/ directory."
- readme.gentoo_create_doc
-}
-
-pkg_preinst() {
- # make sure that site-gentoo.el exists since site-start.el requires it
- if [[ ! -f ${ED}${SITELISP}/site-gentoo.el ]]; then #554518
- mv "${ED}${SITELISP}"/site-gentoo.el{.orig,} || die
- fi
- if [[ -d ${EROOT}${SITELISP} ]]; then
- elisp-site-regen
- cp "${EROOT}${SITELISP}/site-gentoo.el" "${ED}${SITELISP}/" || die
- fi
-
- if use games; then
- local f
- for f in /var/games/emacs/{snake,tetris}-scores; do
- if [[ -e ${EROOT}${f} ]]; then
- cp "${EROOT}${f}" "${ED}${f}" || die
- fi
- touch "${ED}${f}" || die
- chgrp gamestat "${ED}${f}" || die
- chmod g+w "${ED}${f}" || die
- done
-
- if has 1.4-r1 ${REPLACING_VERSIONS} \
- && [[ -d ${EROOT}/var/games/emacs ]]; then
- elog "Updating owner and permissions of score file directory."
- chown 0:gamestat "${EROOT}"/var/games/emacs || die
- chmod 775 "${EROOT}"/var/games/emacs || die
- fi
- fi
-}
-
-pkg_postinst() {
- if use X; then
- fdo-mime_desktop_database_update
- gnome2_icon_cache_update
- fi
- readme.gentoo_print_elog
-}
-
-pkg_postrm() {
- if use X; then
- fdo-mime_desktop_database_update
- gnome2_icon_cache_update
- fi
-}