public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/files/, net-p2p/transmission/
Date: Wed, 16 Mar 2016 17:06:54 +0000 (UTC)	[thread overview]
Message-ID: <1458147959.5d45c75941a5fd40b933e9f9d04d9dc9f25dcaf6.floppym@gentoo> (raw)

commit:     5d45c75941a5fd40b933e9f9d04d9dc9f25dcaf6
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 16 17:03:24 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Mar 16 17:05:59 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d45c759

net-p2p/transmission: Fix building against recent libsystemd

Package-Manager: portage-2.2.28_p60

 net-p2p/transmission/files/libsystemd.patch   | 11 +++++++++++
 net-p2p/transmission/transmission-2.92.ebuild |  8 ++++++--
 2 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/net-p2p/transmission/files/libsystemd.patch b/net-p2p/transmission/files/libsystemd.patch
new file mode 100644
index 0000000..5db47ef
--- /dev/null
+++ b/net-p2p/transmission/files/libsystemd.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -245,7 +245,7 @@
+             [Add support for systemd startup notification (default is autodetected)]),
+             [USE_SYSTEMD_DAEMON=$withval], [USE_SYSTEMD_DAEMON=auto])
+ AS_IF([test "x$USE_SYSTEMD_DAEMON" != "xno"], [
+-    PKG_CHECK_MODULES([SYSTEMD_DAEMON], [libsystemd-daemon],
++    PKG_CHECK_MODULES([SYSTEMD_DAEMON], [libsystemd],
+         [AC_DEFINE(USE_SYSTEMD_DAEMON,1,[Use systemd startup notification])],
+         [AS_IF([test "x$USE_SYSTEMD_DAEMON" = "xyes"],
+             [AC_MSG_ERROR([systemd startup notification support requested, but libsystemd-daemon not found.])]

diff --git a/net-p2p/transmission/transmission-2.92.ebuild b/net-p2p/transmission/transmission-2.92.ebuild
index 96c12ef..68a80b3 100644
--- a/net-p2p/transmission/transmission-2.92.ebuild
+++ b/net-p2p/transmission/transmission-2.92.ebuild
@@ -30,7 +30,7 @@ RDEPEND=">=dev-libs/libevent-2.0.10:=
 		>=x11-libs/gtk+-3.4:3=
 		ayatana? ( >=dev-libs/libappindicator-0.4.90:3= )
 		)
-	systemd? ( sys-apps/systemd:= )
+	systemd? ( >=sys-apps/systemd-209:= )
 	qt4? (
 		dev-qt/qtcore:4
 		dev-qt/qtgui:4
@@ -56,6 +56,10 @@ REQUIRED_USE="ayatana? ( gtk ) ?? ( qt4 qt5 )"
 
 DOCS="AUTHORS NEWS qt/README.txt"
 
+PATCHES=(
+	"${FILESDIR}"/libsystemd.patch
+)
+
 src_prepare() {
 	sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac || die
 
@@ -68,7 +72,7 @@ src_prepare() {
 	# http://trac.transmissionbt.com/ticket/4324
 	sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' libtransmission/Makefile.am || die
 
-	eapply_user
+	default
 	eautoreconf
 }
 


             reply	other threads:[~2016-03-16 17:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-16 17:06 Mike Gilbert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-07-02 17:23 [gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/files/, net-p2p/transmission/ Mike Gilbert
2025-06-17 16:31 Mike Gilbert
2024-06-10 20:15 Mike Gilbert
2022-10-24 15:26 Mike Gilbert
2020-07-18 13:19 Mike Gilbert
2018-06-20  2:24 Mike Gilbert
2018-03-10 18:21 Mike Gilbert
2016-04-24  3:27 Mike Gilbert
2016-03-04  2:41 Mike Gilbert
2015-10-03 18:57 Mike Gilbert

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=1458147959.5d45c75941a5fd40b933e9f9d04d9dc9f25dcaf6.floppym@gentoo \
    --to=floppym@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