From e7daa1f959ba2c720f36a6984f588098e68b15cd Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 24 Oct 2024 04:04:24 +0100 Subject: gentoo auto-resync : 24:10:2024 - 04:04:24 --- app-emacs/rnc-mode/Manifest | 4 ++-- .../rnc-mode/files/rnc-mode-1.0.6-flymake.patch | 16 +++++++++++++++- app-emacs/rnc-mode/rnc-mode-1.0.6-r1.ebuild | 22 ---------------------- app-emacs/rnc-mode/rnc-mode-1.0.6-r2.ebuild | 22 ++++++++++++++++++++++ 4 files changed, 39 insertions(+), 25 deletions(-) delete mode 100644 app-emacs/rnc-mode/rnc-mode-1.0.6-r1.ebuild create mode 100644 app-emacs/rnc-mode/rnc-mode-1.0.6-r2.ebuild (limited to 'app-emacs/rnc-mode') diff --git a/app-emacs/rnc-mode/Manifest b/app-emacs/rnc-mode/Manifest index ae0ce977285b..e25468b054fb 100644 --- a/app-emacs/rnc-mode/Manifest +++ b/app-emacs/rnc-mode/Manifest @@ -1,6 +1,6 @@ AUX 50rnc-mode-gentoo.el 127 BLAKE2B 250c927e7042ce2b1fae586c6b0bb0fee43d2ea6ee8d4a8d2ecd265a750c79a6e92e3017072baf27c234e3b06d4c6d056308dc78a55786b454903956a5619422 SHA512 b64dd174e9fc21accf1d9d1abb8302af72b3c0278f3fa7236ed5079c15668df3f148daed952b9c9a77cf71ff1399e15db6e446046fd4e73f7b76c1b5fdca4893 -AUX rnc-mode-1.0.6-flymake.patch 1246 BLAKE2B 19bc83b8c7090fa1d18ed8be3665ac5e63065dd26024e69fa102246333d6555037b7e4c6581a54598864aec8bdde15a2da3cb878ad4782140326f89918c4a86d SHA512 2c98b5e28f841ace4334f33a4c1877bcd20bbd65d5677f9cd12e9b93156949c276546644ad03f2ec8f584320a88d02fc0b3386eeb167e17026e868505edb6d9b +AUX rnc-mode-1.0.6-flymake.patch 1661 BLAKE2B ab9129bf207fd16229beb858d77950a4606dcd0a42b497bd6c931eb88c57f0703d9507528e19ca95a582ccbb7fcbdafde9c29f60576a86cae114297c2c839420 SHA512 da902bed3f621a458d89edf16f2f42061d2e70b3e8e9e890640b594d10fa09f5a2a2485187bac7fffdc79dc0e69e3a68af7bd4d7f5e525a356dbce7b26f2f730 AUX rnc-mode-1.0.6-font-lock.patch 1393 BLAKE2B 9d59a30ca938b980ea6c4395af0a358978c3cbbc0ddf4eef9f5858c480232bc42b2a0c57e01022e9aba25999c387a89ee820278c14768f33909aa7c89d860834 SHA512 306fe47e5876b93702f320864f1a930edb850544c1b22ab2f7b9a1b117389d66223688def1a97c69a86d372a3526faf9335472704ad9843b96b7835c36b8be20 DIST rnc-mode-1.0.6.tar.gz 5438 BLAKE2B 7c14f7e7c0db9f85a2bfab5d6fe064529416333d421658ded4284ab4513e037b930e89cc0ad74a00371374b4a7a0ceec3a81a121ac5688a18af17ed611b367aa SHA512 18dcf594bb12f8152578be85a36047d55bf407fb8ed086c03d7a7a69028f6616f651a5485e69aa1df30df6fda6fb742de05c8b54bd1b3c5c4e65021a83d63e30 -EBUILD rnc-mode-1.0.6-r1.ebuild 554 BLAKE2B e8694ff6e866f1a5c8ba3a95dfc04f234f9d93104a00bb9410ca3f3ec32176a1204cfd93afbcf5869e126b9ff4cc8ac90839319d5069d1241796d4181e06e387 SHA512 d898f30406ce8d276413a56e7b5008f0f77ef151b25cb7479f971b700451c256a06c87b652d6f2d6766dfdd12cf2509757fd3954dd6a4eec96b7a33129240ea8 +EBUILD rnc-mode-1.0.6-r2.ebuild 554 BLAKE2B e8694ff6e866f1a5c8ba3a95dfc04f234f9d93104a00bb9410ca3f3ec32176a1204cfd93afbcf5869e126b9ff4cc8ac90839319d5069d1241796d4181e06e387 SHA512 d898f30406ce8d276413a56e7b5008f0f77ef151b25cb7479f971b700451c256a06c87b652d6f2d6766dfdd12cf2509757fd3954dd6a4eec96b7a33129240ea8 MISC metadata.xml 362 BLAKE2B d8584a92e600058e6e54a3a928c756afcd08cd95338b76bc131cb2f764f25d32d6f4b779140aa0fb19970d6f56cdedcaade5b94f7967bcff835c2aaa08a71db2 SHA512 aff2146e8adda4a06b2423742c00659482221d9a59a97fecd187b9e3eb1765a1d3eb31d26018b6b3786b4074ecf211b03091045a16fb555382994b95cba70138 diff --git a/app-emacs/rnc-mode/files/rnc-mode-1.0.6-flymake.patch b/app-emacs/rnc-mode/files/rnc-mode-1.0.6-flymake.patch index 6904a063c682..641fc7fb56fb 100644 --- a/app-emacs/rnc-mode/files/rnc-mode-1.0.6-flymake.patch +++ b/app-emacs/rnc-mode/files/rnc-mode-1.0.6-flymake.patch @@ -1,4 +1,5 @@ -Update function and variable names that are obsolete since Emacs 26 +Update function and variable names that are obsolete since Emacs 26. +Don't try to configure flymake without a jing jar file. --- rnc-mode-1.0.6/rnc-mode.el +++ rnc-mode-1.0.6/rnc-mode.el @@ -28,3 +29,16 @@ Update function and variable names that are obsolete since Emacs 26 (message "RNC flymake not enabled because the Jing jar could not be found"))) ;;; Imenu support +@@ -329,8 +329,9 @@ + (modify-syntax-entry ?_ "w " rnc-syntax-table) + (set-syntax-table rnc-syntax-table)) + +- (rnc-configure-flymake) +- (when rnc-enable-flymake +- (flymake-mode)) ++ (when rnc-jing-jar-file ++ (rnc-configure-flymake) ++ (when rnc-enable-flymake ++ (flymake-mode))) + (when rnc-enable-imenu + (rnc-configure-imenu)) diff --git a/app-emacs/rnc-mode/rnc-mode-1.0.6-r1.ebuild b/app-emacs/rnc-mode/rnc-mode-1.0.6-r1.ebuild deleted file mode 100644 index 820aaf70cc00..000000000000 --- a/app-emacs/rnc-mode/rnc-mode-1.0.6-r1.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit elisp - -DESCRIPTION="An Emacs mode for editing Relax NG compact schema files" -HOMEPAGE="https://github.com/TreeRex/rnc-mode - https://www.emacswiki.org/emacs/RELAX_NG" -SRC_URI="https://github.com/TreeRex/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" - -PATCHES=( - "${FILESDIR}/${P}-flymake.patch" - "${FILESDIR}/${P}-font-lock.patch" -) -SITEFILE="50${PN}-gentoo.el" -DOCS="README.md" diff --git a/app-emacs/rnc-mode/rnc-mode-1.0.6-r2.ebuild b/app-emacs/rnc-mode/rnc-mode-1.0.6-r2.ebuild new file mode 100644 index 000000000000..820aaf70cc00 --- /dev/null +++ b/app-emacs/rnc-mode/rnc-mode-1.0.6-r2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="An Emacs mode for editing Relax NG compact schema files" +HOMEPAGE="https://github.com/TreeRex/rnc-mode + https://www.emacswiki.org/emacs/RELAX_NG" +SRC_URI="https://github.com/TreeRex/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +PATCHES=( + "${FILESDIR}/${P}-flymake.patch" + "${FILESDIR}/${P}-font-lock.patch" +) +SITEFILE="50${PN}-gentoo.el" +DOCS="README.md" -- cgit v1.2.3