public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/xpra/files/, x11-wm/xpra/
Date: Tue, 16 May 2023 22:16:15 +0000 (UTC)	[thread overview]
Message-ID: <1684275128.3102cd8d6d3e1e22e1f1f2820fef94a0965c7166.chewi@gentoo> (raw)

commit:     3102cd8d6d3e1e22e1f1f2820fef94a0965c7166
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue May 16 22:12:08 2023 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue May 16 22:12:08 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3102cd8d

x11-wm/xpra: Use setup.py args to avoid sd_listen/service files

I didn't realise I could have done this without a patch.

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 x11-wm/xpra/files/xpra-4.5-no-service.patch | 19 -------------------
 x11-wm/xpra/xpra-4.4.4.ebuild               |  3 ++-
 x11-wm/xpra/xpra-9999.ebuild                |  3 ++-
 3 files changed, 4 insertions(+), 21 deletions(-)

diff --git a/x11-wm/xpra/files/xpra-4.5-no-service.patch b/x11-wm/xpra/files/xpra-4.5-no-service.patch
deleted file mode 100644
index 329c492784ac..000000000000
--- a/x11-wm/xpra/files/xpra-4.5-no-service.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Don't install the service files. Auto-detection is used to determine what files
-to install, and where, which can be unpredictable on Gentoo. The init.d script
-is also not suitable for Gentoo.
-
-diff --git a/setup.py b/setup.py
-index 529b591b1..ad23d6ecc 100755
---- a/setup.py
-+++ b/setup.py
-@@ -187,8 +187,8 @@ rfb_ENABLED = DEFAULT
- quic_ENABLED = DEFAULT
- ssh_ENABLED = DEFAULT
- http_ENABLED = DEFAULT
--service_ENABLED = LINUX and server_ENABLED
--sd_listen_ENABLED = POSIX and pkg_config_ok("--exists", "libsystemd")
-+service_ENABLED = False
-+sd_listen_ENABLED = False
- proxy_ENABLED  = DEFAULT
- client_ENABLED = DEFAULT
- scripts_ENABLED = not WIN32

diff --git a/x11-wm/xpra/xpra-4.4.4.ebuild b/x11-wm/xpra/xpra-4.4.4.ebuild
index e458911550a1..1111ef2fc4e3 100644
--- a/x11-wm/xpra/xpra-4.4.4.ebuild
+++ b/x11-wm/xpra/xpra-4.4.4.ebuild
@@ -115,7 +115,6 @@ BDEPEND="
 RESTRICT="!test? ( test )"
 
 PATCHES=(
-	"${FILESDIR}"/${PN}-4.3-no-service.patch
 	"${FILESDIR}"/${PN}-4.4-xdummy.patch
 )
 
@@ -161,6 +160,8 @@ python_configure_all() {
 		$(use_with jpeg jpeg_encoder)
 		$(use_with jpeg jpeg_decoder)
 		--without-mdns
+		--without-sd_listen
+		--without-service
 		$(use_with opengl)
 		$(use_with server shadow)
 		$(use_with server)

diff --git a/x11-wm/xpra/xpra-9999.ebuild b/x11-wm/xpra/xpra-9999.ebuild
index b2d368301a68..23c923b710aa 100644
--- a/x11-wm/xpra/xpra-9999.ebuild
+++ b/x11-wm/xpra/xpra-9999.ebuild
@@ -115,7 +115,6 @@ BDEPEND="
 RESTRICT="!test? ( test )"
 
 PATCHES=(
-	"${FILESDIR}"/${PN}-4.5-no-service.patch
 	"${FILESDIR}"/${PN}-9999-xdummy.patch
 	"${FILESDIR}"/${PN}-9999-tests.patch
 )
@@ -163,6 +162,8 @@ python_configure_all() {
 		$(use_with jpeg jpeg_encoder)
 		$(use_with jpeg jpeg_decoder)
 		--without-mdns
+		--without-sd_listen
+		--without-service
 		$(use_with opengl)
 		$(use_with server shadow)
 		$(use_with server)


             reply	other threads:[~2023-05-16 22:16 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-16 22:16 James Le Cuirot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-06-27 13:38 [gentoo-commits] repo/gentoo:master commit in: x11-wm/xpra/files/, x11-wm/xpra/ Benda XU
2023-06-12 17:45 Andreas Sturmlechner
2023-05-14 14:54 James Le Cuirot
2023-05-14 14:54 James Le Cuirot
2022-05-22 12:41 James Le Cuirot
2022-04-17 12:52 James Le Cuirot
2022-01-28 13:44 James Le Cuirot
2021-04-07 23:05 James Le Cuirot
2021-01-19 22:38 James Le Cuirot
2021-01-19 22:38 James Le Cuirot
2020-01-27 12:18 Andreas K. Hüttel
2017-03-19 14:41 Michael Weber
2017-02-01 17:33 Michael Weber
2017-01-22 23:23 Michael Weber
2016-07-05  9:41 Michael Weber
2015-09-20 21:28 Michael Weber

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=1684275128.3102cd8d6d3e1e22e1f1f2820fef94a0965c7166.chewi@gentoo \
    --to=chewi@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