[packages/xfce4-mixer] - fix build - rel 6
baggins
baggins at pld-linux.org
Sun Jun 10 22:58:09 CEST 2018
commit 2867c233d1f1bfef7786b9a5533a7812167f0f3c
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Jun 10 20:57:48 2018 +0000
- fix build
- rel 6
dbus-glib.patch | 36 ++++++++++++++++++++++++++++++++++++
xfce4-mixer.spec | 9 ++++++++-
2 files changed, 44 insertions(+), 1 deletion(-)
---
diff --git a/xfce4-mixer.spec b/xfce4-mixer.spec
index d2a79bf..671a9d1 100644
--- a/xfce4-mixer.spec
+++ b/xfce4-mixer.spec
@@ -3,11 +3,12 @@ Summary: Volume control plugin for the Xfce panel
Summary(pl.UTF-8): Wtyczka sterująca głośnością dla panelu Xfce
Name: xfce4-mixer
Version: 4.11.0
-Release: 5
+Release: 6
License: GPL v2
Group: X11/Applications/Sound
Source0: http://archive.xfce.org/src/apps/xfce4-mixer/4.11/%{name}-%{version}.tar.bz2
# Source0-md5: 1b3753b91224867a3a2dfddda239c28d
+Patch0: dbus-glib.patch
URL: http://www.xfce.org/projects/xfce4-mixer/
BuildRequires: autoconf >= 2.50
BuildRequires: automake
@@ -34,8 +35,14 @@ prosty mikser dźwięku.
%prep
%setup -q
+%patch0 -p1
%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoheader}
+%{__automake}
+%{__autoconf}
%configure
%{__make}
diff --git a/dbus-glib.patch b/dbus-glib.patch
new file mode 100644
index 0000000..8544538
--- /dev/null
+++ b/dbus-glib.patch
@@ -0,0 +1,36 @@
+--- xfce4-mixer-4.11.0/panel-plugin/Makefile.am~ 2014-04-09 19:07:46.000000000 +0000
++++ xfce4-mixer-4.11.0/panel-plugin/Makefile.am 2018-06-10 20:54:10.332489213 +0000
+@@ -22,6 +22,7 @@
+ libmixer_la_CFLAGS = \
+ $(PLATFORM_CFLAGS) \
+ $(GLIB_CFLAGS) \
++ $(DBUS_GLIB_CFLAGS) \
+ $(GTK_CFLAGS) \
+ $(LIBXFCE4UTIL_CFLAGS) \
+ $(LIBXFCE4UI_CFLAGS) \
+@@ -42,6 +43,7 @@
+ $(PLATFORM_LDFLAGS)
+
+ libmixer_la_LIBADD = \
++ $(DBUS_GLIB_LIBS) \
+ $(GLIB_LIBS) \
+ $(GTK_LIBS) \
+ $(LIBXFCE4UTIL_LIBS) \
+--- xfce4-mixer-4.11.0/xfce4-mixer/Makefile.am~ 2014-04-09 19:07:46.000000000 +0000
++++ xfce4-mixer-4.11.0/xfce4-mixer/Makefile.am 2018-06-10 20:56:41.439687277 +0000
+@@ -27,6 +27,7 @@
+ -DG_LOG_DOMAIN=\"xfce4-mixer\"
+
+ xfce4_mixer_CFLAGS = \
++ $(DBUS_GLIB_CFLAGS) \
+ $(GLIB_CFLAGS) \
+ $(GTK_CFLAGS) \
+ $(UNIQUE_CFLAGS) \
+@@ -41,6 +42,7 @@
+ xfce4_mixer_LDFLAGS = \
+ $(top_builddir)/libxfce4mixer/libxfce4mixer.la \
+ $(GLIB_LIBS) \
++ $(DBUS_GLIB_LIBS) \
+ $(GTHREAD_LIBS) \
+ $(GTK_LIBS) \
+ $(UNIQUE_LIBS) \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xfce4-mixer.git/commitdiff/2867c233d1f1bfef7786b9a5533a7812167f0f3c
More information about the pld-cvs-commit
mailing list