diff options
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/Manifest.gz | bin | 76617 -> 76627 bytes | |||
-rw-r--r-- | app-emacs/cask/Manifest | 7 | ||||
-rw-r--r-- | app-emacs/cask/cask-0.8.8.ebuild | 48 | ||||
-rw-r--r-- | app-emacs/cask/cask-0.9.0.ebuild | 68 | ||||
-rw-r--r-- | app-emacs/cask/files/cask-0.9.0-bin-launcher-fix.patch | 26 | ||||
-rw-r--r-- | app-emacs/cask/files/cask-0.9.0-home-dir.patch | 13 | ||||
-rw-r--r-- | app-emacs/cask/files/cask-bin-launcher-fix.patch | 24 | ||||
-rw-r--r-- | app-emacs/semi/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/semi/semi-1.14.7_p20230811-r1.ebuild | 51 |
9 files changed, 163 insertions, 75 deletions
diff --git a/app-emacs/Manifest.gz b/app-emacs/Manifest.gz Binary files differindex 3f5a82329d6f..40e9e2c411ab 100644 --- a/app-emacs/Manifest.gz +++ b/app-emacs/Manifest.gz diff --git a/app-emacs/cask/Manifest b/app-emacs/cask/Manifest index ece4430ca38d..86e3fee35081 100644 --- a/app-emacs/cask/Manifest +++ b/app-emacs/cask/Manifest @@ -1,5 +1,6 @@ -AUX cask-bin-launcher-fix.patch 729 BLAKE2B ae3ad72b09509db432cc55f787f6945ae99ce86800541411a9060654005da3195a2e11b175015bc0a0ac078c520b4a06caad0e8e0ca5fb4a677f844a0956be91 SHA512 bee4d324b6714b0ed7aa790417d92ede19a75bd7ae7138fde92759d4d1f40beb816ecc6e067aa43bc50ab5ecebc81907695721681dd09203178315189192de0a +AUX cask-0.9.0-bin-launcher-fix.patch 847 BLAKE2B 55b15c2b861b147aa2582b6d3a74b8cf95fe105bfc605f37d37c2f4cd93e5a97a19221a2850a3c3b72988e6a03133dab1e17ce81775c3827d32338759974b1dd SHA512 cd9923f9d6a2cec34a6b83d525a5a11658f731960430aacaa39d704b4507d70e905d2ae08f292a68a4152129aea921a3cb2523bb65401a07b031ba7abbef7a9b +AUX cask-0.9.0-home-dir.patch 721 BLAKE2B fcc2cd3c40084e69ca330503f978e30d78ca8eb16f35aeeb43fdce7f0ff026bb8e8b471d97df7e7b0be3663d75b5ad38ca23a27e7c6a4c5219cbb639cdd9180b SHA512 91e17491e373cd6def4bd1a2a75b673526ab2c92fadeaab7322d202eb68168f47539f17867de5d7dcb773f2085aa448d6c2e6d22b14f794ce05522486403ac8d AUX cask-no-bootstrap.patch 1379 BLAKE2B 1d664cbd60145931964622c380d682e46ac2c1ee7762422cba0129b67b1c36c8c8f8a5b84bd11ec2cdca4efdb4a9bddd7efb8006ed6de60059ba9d2288f61f49 SHA512 73216e7f7b0e9ca2f6722c0065d725e2071c0cb831f05381e64082f2de9957633d1ab3bdaed990786f1f9142c7f599fa03b2b8602fa7936a715d4460d6133109 -DIST cask-0.8.8.tar.gz 348574 BLAKE2B 9eb2b18b6082a3500642660eebb471bff3bcbb00656a8a3c66bede3cf756e738b1cb8affbdeed97373bbdc0031d093a6ad5c7e4659e14732fbc531a416c78b99 SHA512 2708fa431dc17cb5d4fe56f0c73c3089a213d8ff0bca19091ab4ebf26c4e416c0a500a980daa424bf16b54d0e72b004762f5260329189eb4f8e803de38bc0ace -EBUILD cask-0.8.8.ebuild 955 BLAKE2B c959338134527e46b43b141efbc62bab1e2993d8f05f38be70fd6e02b71ea5de3cebc128dc054cc7f268bb5ff66330ffb0be42a3f54daba816f2ffac7827ae0a SHA512 43306a4fae0dcb248db13f41e4254950c96bbe7242107e422f588788e06650276d96b5c81b486f3e9b3486ce83bf90ed15e3c4f1bf81c25e02b02b33de942a0f +DIST cask-0.9.0.gh.tar.gz 280606 BLAKE2B 17d216ac354c4b34d1663a23a0f7961c68acf544d64e911e54fac29a454a1b4737718903db637097c17dd28d083f91519ea7543a8ee57f2188d20d67cd604e3c SHA512 9e1e9eb0146504fc3ff2dc5358edc59b8157948df4698c7fbec14c28720458cd28b0b9ef9dc34b23a615e5b0a8ef843f9a9bdd9f7030aef797fa3df7864ae46a +EBUILD cask-0.9.0.ebuild 1248 BLAKE2B df6522d6464a1b8f9a01b67b7124bac1ea59383405055ad3d2516e16e2fe82cf8c855dd644a28508e890c9cbae376f9760c4397fe5e5ac4f91efa8407eb6c821 SHA512 6f313228781cbce15d098c69cebdd610256bf85db69b3f768401a09793c0e920e8659581bce29472a1273ea37575cd0be7654bdc92301500806a4fe1c7f7f2e5 MISC metadata.xml 407 BLAKE2B 32b050dc6363c12a4acab60daf2bc6d197531c6f4d6e34fa2505e9044d38b3bbf4072e3a49509471770571a593a1b977fc47a77068185a5d6db5e15cbdd778a8 SHA512 795657b75bcec2758afcd4215b9281c0cc14c78fd834ac871e4cc18fe3ca91c92f721a084802db5e443ec1800f0def755d5ed5314318123fb948a9de8ba5c855 diff --git a/app-emacs/cask/cask-0.8.8.ebuild b/app-emacs/cask/cask-0.8.8.ebuild deleted file mode 100644 index abf6cb9e8c5b..000000000000 --- a/app-emacs/cask/cask-0.8.8.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit elisp - -DESCRIPTION="Project management for Emacs package development" -HOMEPAGE="https://github.com/cask/cask/" -SRC_URI="https://github.com/cask/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64" -RESTRICT="test" # Most tests fail - -RDEPEND=" - app-emacs/ansi - app-emacs/commander - app-emacs/epl - app-emacs/f - app-emacs/package-build - app-emacs/s - app-emacs/shut-up -" -BDEPEND="${RDEPEND}" - -DOCS=( README.org cask_small.png ) -PATCHES=( - "${FILESDIR}"/${PN}-bin-launcher-fix.patch - "${FILESDIR}"/${PN}-no-bootstrap.patch -) - -ELISP_REMOVE="${PN}-bootstrap.el - package-build-legacy.el package-recipe-legacy.el" -SITEFILE="50${PN}-gentoo.el" - -src_prepare() { - elisp_src_prepare - - sed "s|@SITELISP@|${EPREFIX}${SITELISP}/${PN}|" -i bin/${PN} || die -} - -src_install() { - elisp_src_install - - dobin bin/${PN} -} diff --git a/app-emacs/cask/cask-0.9.0.ebuild b/app-emacs/cask/cask-0.9.0.ebuild new file mode 100644 index 000000000000..20490171fab5 --- /dev/null +++ b/app-emacs/cask/cask-0.9.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp optfeature + +DESCRIPTION="Project management for Emacs package development" +HOMEPAGE="https://github.com/cask/cask/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/cask/${PN}" +else + SRC_URI="https://github.com/cask/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" +RESTRICT="test" # Most tests fail. + +RDEPEND=" + app-emacs/ansi + app-emacs/commander + app-emacs/epl + app-emacs/f + app-emacs/package-build + app-emacs/s + app-emacs/shut-up +" +BDEPEND=" + ${RDEPEND} +" + +PATCHES=( + "${FILESDIR}/cask-0.9.0-bin-launcher-fix.patch" + "${FILESDIR}/cask-0.9.0-home-dir.patch" + "${FILESDIR}/cask-no-bootstrap.patch" +) +ELISP_REMOVE=" + ${PN}-bootstrap.el +" + +DOCS=( README.org cask_small.png ) +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + elisp_src_prepare + + sed "s|@SITELISP@|${EPREFIX}${SITELISP}/${PN}|" -i "./bin/${PN}" || die +} + +src_install() { + elisp_src_install + + exeinto /usr/bin + doexe "./bin/${PN}" +} + +pkg_postinst() { + elisp_pkg_postinst + optfeature "using ELPA archives via SSL" \ + "net-libs/gnutls[tools] app-editors/emacs[ssl]" +} diff --git a/app-emacs/cask/files/cask-0.9.0-bin-launcher-fix.patch b/app-emacs/cask/files/cask-0.9.0-bin-launcher-fix.patch new file mode 100644 index 000000000000..c4d949ab1141 --- /dev/null +++ b/app-emacs/cask/files/cask-0.9.0-bin-launcher-fix.patch @@ -0,0 +1,26 @@ +--- a/bin/cask ++++ b/bin/cask +@@ -41,11 +41,13 @@ if [ -z "$SRCDIR__" ]; then + SRCDIR__=$(python -c "import os, sys; print(os.path.realpath(sys.argv[1]))" "$CASK") + fi + SRCDIR_=$(dirname "$SRCDIR__") +-SRCDIR=$(dirname "$SRCDIR_") ++# SRCDIR=$(dirname "$SRCDIR_") ++SRCDIR="@SITELISP@" ++ + case $subcommand in + emacs) + EMACS="$EMACS" \ +- "$EMACS" -Q -L "$SRCDIR" -l "$SRCDIR/cask" \ ++ "$EMACS" -q -L "$SRCDIR" -l "$SRCDIR/cask" \ + --eval "(cask--initialize (expand-file-name default-directory))" \ + "$@" + ;; +@@ -53,6 +55,6 @@ case $subcommand in + EMACSLOADPATH="$($CASK load-path)" PATH="$($CASK path)" EMACS="$EMACS" "$@" + ;; + *) +- "$EMACS" -Q --script "$SRCDIR/cask-cli.el" -- $subcommand "$@" ++ "$EMACS" -q --script "$SRCDIR/cask-cli.el" -- $subcommand "$@" + ;; + esac diff --git a/app-emacs/cask/files/cask-0.9.0-home-dir.patch b/app-emacs/cask/files/cask-0.9.0-home-dir.patch new file mode 100644 index 000000000000..c6c102ecb57c --- /dev/null +++ b/app-emacs/cask/files/cask-0.9.0-home-dir.patch @@ -0,0 +1,13 @@ +--- a/cask.el ++++ b/cask.el +@@ -345,9 +345,7 @@ Evaluate BODY in the package context of BUNDLE. Then restore package context." + (package-load-list + (eval (car (get 'package-load-list 'standard-value)))) + (package-user-dir (cask-elpa-path ,bundle)) +- (,@(if (special-variable-p 'package-gnupghome-dir) +- (cons 'package-gnupghome-dir (list (expand-file-name "gnupg" package-user-dir))) +- (list '_package-gnupghome-dir)))) ++ (package-gnupghome-dir (expand-file-name "gnupg" package-user-dir))) + (cask--use-environment ,bundle ,refresh ,no-activate) + ;; following will evaluate keys e.g., `:activate t` as separate s-exprs + ;; which ought to be no-ops diff --git a/app-emacs/cask/files/cask-bin-launcher-fix.patch b/app-emacs/cask/files/cask-bin-launcher-fix.patch deleted file mode 100644 index 704d284a13dc..000000000000 --- a/app-emacs/cask/files/cask-bin-launcher-fix.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/bin/cask b/bin/cask -index 55d4d86..37a5c9c 100755 ---- a/bin/cask -+++ b/bin/cask -@@ -39,17 +39,7 @@ case $subcommand in - *) - WHICH=${WHICH:-which} - READLINK=$($WHICH readlink || true) -- if [ "$(uname || true)" == "Darwin" ] ; then -- READLINK= -- fi -- READLINK=${READLINK:-$($WHICH greadlink || true)} -- if [ ! -z "$READLINK" ] ; then -- SRCDIR__=$($READLINK -f "$CASK") -- else -- SRCDIR__=$(python -c "import os, sys; print(os.path.realpath(sys.argv[1]))" "$CASK") -- fi -- SRCDIR_=$(dirname "$SRCDIR__") -- SRCDIR=$(dirname "$SRCDIR_") -- "$EMACS" -Q --script "$SRCDIR/cask-cli.el" -- $subcommand "$@" -+ SRCDIR="@SITELISP@" -+ "$EMACS" -q --script "$SRCDIR/cask-cli.el" -- $subcommand "$@" - ;; - esac diff --git a/app-emacs/semi/Manifest b/app-emacs/semi/Manifest index 15ff9d66d499..d90679f9a125 100644 --- a/app-emacs/semi/Manifest +++ b/app-emacs/semi/Manifest @@ -1,5 +1,6 @@ AUX 65semi-gentoo.el 60 BLAKE2B 19bc99330e4583e19060bba3722f73da5a5e232e0e60673ba21c3b02dd3429098685313380f788bbce5a23c98618f2adc22115a1b47abe2969c25db3d8b6716a SHA512 a8441acdfac8f82dfa65e796e39dd77ce5ff7569e0deb930d31c7c90ce7ccd4be138f51a4866a1036ea6234c6419e548a5df74fc932cb5b588dd99acc2c2d314 AUX semi-1.14.7_p20210613-info.patch 624 BLAKE2B 031ea810144a2e64ad5488cc4e417e72fbc1a0ea3621ea79b91396a6746135c7d08663a22726f690b03ee64abfdfd9d3a7627d6b3ce778693e9f548fb5278d93 SHA512 4ae846151448a6d3a77b1f38707beb62f7507a60e4497d8e927c7f5c350c33adb112317b10618bbcde2478a2144c8cc8d1e843707230a4db7932f61704ef6fba DIST semi-1.14.7_p20230811.tar.gz 150833 BLAKE2B b621cff7e987a7841175f68e0188f6c4d0b82b66b091d6a325a64aa0ce13d7fddac958f71ab211661a5f13740e406fe4ad038b7cc4e315742aa36905c311fca2 SHA512 09d9d8f4a6d0d046edf8738af8d0f479515f5164e663759e6dcd8451727e2905be6fcc403a974a2c39066221e9672a7408e66bc9dc3e4b0d81e365c9de5d6a49 +EBUILD semi-1.14.7_p20230811-r1.ebuild 1315 BLAKE2B 9d56cbe9ac6a1e83fd8a9ca649d733f17c26fba31500dc35a4cb5b1b8392f503d131c9fe7aba185022c9e7dcaf1c0d6b0628fe27cb6411b06683f80a963305c0 SHA512 9b07882dd28e450bbcfb944a975c609c3ecedf56af3e723db84763d52af9445403f6f1e1a9b297bd7852fca0cfbd46b52408aee3c39842c6ab0bfeef6f8a7dc0 EBUILD semi-1.14.7_p20230811.ebuild 1326 BLAKE2B fc25e81e20be53dcc34003d82a5aef52e3c288f03c0d34a8b6f90ded26c239e82348c3d89a769e1b47dcf10bb27d143f429c2347b111da2fa7d71656564ec10e SHA512 c989f70069427f417797276c3f1a3ca7c4d9acfb4711df04638c9c97cb9324967294ef8aa6bf43bbe42c5e7e79e1a6ac1601996840609f1c0368ff48316cd922 MISC metadata.xml 361 BLAKE2B 6746cdfd31694082de5ec5e14f87122c3d73fb513bd3a7322089b7e5a0c3002903ce99bd698495709a3b9200c55cdd8b15fa3d75d2bdd4e3a96efeac5f8f65f4 SHA512 963adb57c0ef536e86456295a738e651a1efc199a18c046f0ef7005b6f3f991f1fd16af918173e83d4f70734295dd6a870a7b2181cc8fa3e209ad2fcc07a7d24 diff --git a/app-emacs/semi/semi-1.14.7_p20230811-r1.ebuild b/app-emacs/semi/semi-1.14.7_p20230811-r1.ebuild new file mode 100644 index 000000000000..09656ccf40b8 --- /dev/null +++ b/app-emacs/semi/semi-1.14.7_p20230811-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="A library to provide MIME feature for GNU Emacs" +HOMEPAGE="https://github.com/wanderlust/semi" +GITHUB_SHA1="9370961ddcee78e389e44b36d38c3d93f8351619" +SRC_URI="https://github.com/wanderlust/${PN}/archive/${GITHUB_SHA1}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${GITHUB_SHA1}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="l10n_ja" + +RDEPEND=">=app-emacs/apel-10.8 + >=app-emacs/flim-1.14.9" +DEPEND="${RDEPEND}" + +PATCHES="${FILESDIR}/${PN}-1.14.7_p20210613-info.patch" +SITEFILE="50${PN}-gentoo.el" + +src_compile() { + emake PACKAGE_LISPDIR="NONE" + + ${EMACS} ${EMACSFLAGS} --visit mime-ui-en.texi -f texi2info || die + if use l10n_ja; then + ${EMACS} ${EMACSFLAGS} \ + --eval "(set-default-coding-systems 'iso-2022-jp)" \ + --visit mime-ui-ja.texi -f texi2info || die + fi +} + +src_install() { + emake PREFIX="${ED}/usr" \ + LISPDIR="${ED}/${SITELISP}" \ + PACKAGE_LISPDIR="NONE" \ + VERSION_SPECIFIC_LISPDIR="${ED}/${SITELISP}" install + + elisp-make-site-file "${SITEFILE}" + + doinfo mime-ui-en.info + dodoc README.en ChangeLog* VERSION NEWS + if use l10n_ja; then + doinfo mime-ui-ja.info + dodoc README.ja + fi +} |