Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] emacs-x11: enable DBus support
Date: Sun, 29 Dec 2019 12:43:47 +0100	[thread overview]
Message-ID: <20191229114347.ByqksPYg2RMnSMMGcYl1rC598r_Kh0qtmQkJpodMYO0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17861@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 329 bytes --]

There is an updated pull request by egorenar against master on the void-packages repository

https://github.com/egorenar/void-packages emacs-x11-dbus
https://github.com/void-linux/void-packages/pull/17861

emacs-x11: enable DBus support


A patch file from https://github.com/void-linux/void-packages/pull/17861.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-emacs-x11-dbus-17861.patch --]
[-- Type: text/x-diff, Size: 2012 bytes --]

From c35ce1ab62771c169ad5572670285fe3865a6a5d Mon Sep 17 00:00:00 2001
From: Alexander Egorenkov <egorenar-dev@posteo.net>
Date: Sun, 29 Dec 2019 11:44:13 +0100
Subject: [PATCH] emacs: Add emacs-x11-dbus package

---
 srcpkgs/emacs-x11-dbus |  1 +
 srcpkgs/emacs/template | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+)
 create mode 120000 srcpkgs/emacs-x11-dbus

diff --git a/srcpkgs/emacs-x11-dbus b/srcpkgs/emacs-x11-dbus
new file mode 120000
index 00000000000..a7642dd168d
--- /dev/null
+++ b/srcpkgs/emacs-x11-dbus
@@ -0,0 +1 @@
+emacs
\ No newline at end of file
diff --git a/srcpkgs/emacs/template b/srcpkgs/emacs/template
index be1dd6da5b0..69a65006282 100644
--- a/srcpkgs/emacs/template
+++ b/srcpkgs/emacs/template
@@ -39,6 +39,7 @@ pre_configure() {
 	mkdir -p nox
 	mv * nox || true
 	cp -a nox x11
+	cp -a nox x11-dbus
 	cp -a nox gtk2
 	cp -a nox gtk3
 }
@@ -52,6 +53,11 @@ do_configure() {
 		--without-dbus --without-gconf --without-gsettings \
 		${configure_args}
 
+	cd $wrksrc/x11-dbus
+	./configure --with-x-toolkit=athena --without-toolkit-scroll-bars \
+		--with-dbus --without-gconf --without-gsettings \
+		${configure_args}
+
 	cd $wrksrc/gtk2
 	./configure --with-x-toolkit=gtk2 ${configure_args}
 
@@ -62,6 +68,7 @@ do_configure() {
 do_build() {
 	make ${makejobs} -C nox
 	make ${makejobs} -C x11
+	make ${makejobs} -C x11-dbus
 	make ${makejobs} -C gtk2
 	make ${makejobs} -C gtk3
 }
@@ -100,6 +107,19 @@ emacs-x11_package() {
 	}
 }
 
+emacs-x11-dbus_package() {
+	depends="emacs-common-${version}_${revision}"
+	provides="emacs-${version}_${revision}"
+	replaces="emacs>=0"
+	short_desc+=" - X11 version with DBus support"
+	pkg_install() {
+		make DESTDIR=${PKGDESTDIR} -C ${wrksrc}/x11-dbus install
+		rm -f ${PKGDESTDIR}/usr/bin/ctags
+		rm -rf ${PKGDESTDIR}/usr/share
+		rm -rf ${PKGDESTDIR}/usr/lib
+	}
+}
+
 emacs-gtk2_package() {
 	depends="emacs-common-${version}_${revision} desktop-file-utils hicolor-icon-theme"
 	provides="emacs-${version}_${revision}"

  parent reply	other threads:[~2019-12-29 11:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-29 10:54 [PR PATCH] " voidlinux-github
2019-12-29 11:04 ` voidlinux-github
2019-12-29 11:43 ` voidlinux-github [this message]
2019-12-29 13:04 ` voidlinux-github
2019-12-29 13:21 ` voidlinux-github
2019-12-29 13:30 ` voidlinux-github
2019-12-29 13:33 ` voidlinux-github
2019-12-29 13:46 ` voidlinux-github
2019-12-29 14:58 ` [PR PATCH] [Closed]: " voidlinux-github
2019-12-29 15:00 ` voidlinux-github

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=20191229114347.ByqksPYg2RMnSMMGcYl1rC598r_Kh0qtmQkJpodMYO0@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).