[flush] check for dbus-c++-glib-1 library
Lubomir Rintel
lkundrak at fedoraproject.org
Thu Sep 18 09:55:20 UTC 2014
commit 322e2b083c7fef19a4d0485cab552fcfe997522d
Author: Marcin Juszkiewicz <mjuszkiewicz at redhat.com>
Date: Fri Sep 5 12:39:54 2014 +0200
check for dbus-c++-glib-1 library
flush-dbus3.patch | 17 +++++++++++++++++
flush.spec | 9 +++++++--
2 files changed, 24 insertions(+), 2 deletions(-)
---
diff --git a/flush-dbus3.patch b/flush-dbus3.patch
new file mode 100644
index 0000000..2baef8f
--- /dev/null
+++ b/flush-dbus3.patch
@@ -0,0 +1,17 @@
+Index: flush-0.9.12/configure.ac
+===================================================================
+--- flush-0.9.12.orig/configure.ac
++++ flush-0.9.12/configure.ac
+@@ -209,6 +209,12 @@ dnl Compiler flags -->
+ AC_SUBST([DBUSXX_XML2CPP], [['dbusxx-xml2cpp']])
+ dnl dbus-c++ <--
+
++ dnl dbus-c++-glib -->
++ PKG_CHECK_MODULES([dbus_cxx_glib], [dbus-c++-glib-1])
++ APP_CPPFLAGS="$APP_CPPFLAGS $dbus_cxx_glib_CFLAGS"
++ APP_LDADD="$APP_LDADD $dbus_cxx_glib_LIBS"
++ dnl dbus-c++-glib <--
++
+ dnl Gettext
+ APP_LDADD="$APP_LDADD $LIBINTL"
+
diff --git a/flush.spec b/flush.spec
index 9c2780d..4d01f25 100644
--- a/flush.spec
+++ b/flush.spec
@@ -1,6 +1,6 @@
Name: flush
Version: 0.9.12
-Release: 11%{?dist}
+Release: 12%{?dist}
Summary: GTK-based BitTorrent client
License: GPLv3+
@@ -10,7 +10,8 @@ Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{
Source1: %{name}.desktop
Patch0: %{name}-dbus1.patch
Patch1: %{name}-dbus2.patch
-Patch2: %{name}-aarch64.patch
+Patch2: %{name}-dbus3.patch
+Patch3: %{name}-aarch64.patch
BuildRequires: bison-devel
BuildRequires: flex
@@ -49,6 +50,7 @@ Features:
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
autoconf
@@ -93,6 +95,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_mandir}/ru/man?/*
%changelog
+* Fri Sep 05 2014 Marcin Juszkiewicz <mjuszkiewicz at redhat.com> - 0.9.12-12
+- check for dbus-c++-glib-1 library
+
* Fri Sep 05 2014 Marcin Juszkiewicz <mjuszkiewicz at redhat.com> - 0.9.12-11
- handle AArch64 as 64-bit
More information about the scm-commits
mailing list