public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/emacs:master commit in: app-emacs/emacs-common/
Date: Mon, 24 Jul 2023 18:07:20 +0000 (UTC)	[thread overview]
Message-ID: <1690222030.2d27ac8b848a4d4cd46be0c24b8c1f38b5e37941.ulm@gentoo> (raw)

commit:     2d27ac8b848a4d4cd46be0c24b8c1f38b5e37941
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 24 18:07:10 2023 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Jul 24 18:07:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/emacs.git/commit/?id=2d27ac8b

app-emacs/emacs-common: Sync from Gentoo repository

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-emacs/emacs-common/emacs-common-9999.ebuild | 24 ++++++++++++++++--------
 app-emacs/emacs-common/metadata.xml             |  8 +++++++-
 2 files changed, 23 insertions(+), 9 deletions(-)

diff --git a/app-emacs/emacs-common/emacs-common-9999.ebuild b/app-emacs/emacs-common/emacs-common-9999.ebuild
index bb0b926..61306a4 100644
--- a/app-emacs/emacs-common/emacs-common-9999.ebuild
+++ b/app-emacs/emacs-common/emacs-common-9999.ebuild
@@ -1,27 +1,28 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/emacs-tools.git"
 EGIT_BRANCH="${PN}"
 EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}"
 
-inherit elisp-common desktop xdg-utils readme.gentoo-r1 git-r3
+inherit elisp-common desktop gnome2-utils xdg-utils readme.gentoo-r1 git-r3
 
 DESCRIPTION="Common files needed by all GNU Emacs versions"
 HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
+S="${WORKDIR}/${PN}"
 
 LICENSE="GPL-3+"
 SLOT="0"
-IUSE="games gui"
+IUSE="games gsettings gui"
 
-RDEPEND="games? ( acct-group/gamestat )"
-DEPEND="${RDEPEND}"
+DEPEND="games? ( acct-group/gamestat )"
+RDEPEND="!=app-editors/emacs-29.1_rc1-r0
+	${DEPEND}
+	gui? ( gsettings? ( dev-libs/glib ) )"
 PDEPEND=">=app-editors/emacs-23.1:*"
 
-S="${WORKDIR}/${PN}"
-
 src_install() {
 	insinto "${SITELISP}"
 	sed -e "s:@libdir@:$(get_libdir):g" subdirs.el.in | newins - subdirs.el
@@ -53,6 +54,11 @@ src_install() {
 		doicon -s scalable emacs23.svg
 		newicon -s scalable emacs25.svg emacs.svg
 		popd
+
+		if use gsettings; then
+			insinto /usr/share/glib-2.0/schemas
+			doins org.gnu.emacs.defaults.gschema.xml
+		fi
 	fi
 
 	DOC_CONTENTS="All site initialisation for Gentoo-installed packages is
@@ -95,6 +101,7 @@ pkg_postinst() {
 	if use gui; then
 		xdg_desktop_database_update
 		xdg_icon_cache_update
+		use gsettings && gnome2_schemas_update
 	fi
 	readme.gentoo_print_elog
 }
@@ -103,5 +110,6 @@ pkg_postrm() {
 	if use gui; then
 		xdg_desktop_database_update
 		xdg_icon_cache_update
+		use gsettings && gnome2_schemas_update
 	fi
 }

diff --git a/app-emacs/emacs-common/metadata.xml b/app-emacs/emacs-common/metadata.xml
index 57ea14e..8c804e6 100644
--- a/app-emacs/emacs-common/metadata.xml
+++ b/app-emacs/emacs-common/metadata.xml
@@ -5,7 +5,13 @@
   <email>gnu-emacs@gentoo.org</email>
   <name>Gentoo GNU Emacs project</name>
 </maintainer>
+<stabilize-allarches/>
 <use>
-  <flag name='games'>Support shared score files for games</flag>
+  <flag name="games">Support shared score files for games</flag>
+  <flag name="gsettings">Install schema file for gsettings
+  (<pkg>dev-libs/glib</pkg>)</flag>
 </use>
+<upstream>
+  <remote-id type="gentoo">proj/emacs-tools</remote-id>
+</upstream>
 </pkgmetadata>


             reply	other threads:[~2023-07-24 18:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-24 18:07 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-14 17:47 [gentoo-commits] repo/proj/emacs:master commit in: app-emacs/emacs-common/ Ulrich Müller
2025-03-07 18:36 Ulrich Müller
2025-03-08  6:32 Ulrich Müller
2025-03-08  7:43 Ulrich Müller
2025-03-08  7:43 Ulrich Müller
2025-03-09 20:51 Ulrich Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1690222030.2d27ac8b848a4d4cd46be0c24b8c1f38b5e37941.ulm@gentoo \
    --to=ulm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox