[packages/matchbox-panel] - wireless applet needs libm - rel 2
baggins
baggins at pld-linux.org
Sun Nov 22 00:48:37 CET 2015
commit d2e66b747927c3c0a326872d62b6c9a76b2bebdf
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Nov 22 00:48:22 2015 +0100
- wireless applet needs libm
- rel 2
libm.patch | 11 +++++++++++
matchbox-panel.spec | 9 ++++++++-
2 files changed, 19 insertions(+), 1 deletion(-)
---
diff --git a/matchbox-panel.spec b/matchbox-panel.spec
index 148f050..171cc8f 100644
--- a/matchbox-panel.spec
+++ b/matchbox-panel.spec
@@ -7,13 +7,14 @@ Summary: Matchbox Panel
Summary(pl.UTF-8): Panel dla środowiska Matchbox
Name: matchbox-panel
Version: 0.9.3
-Release: 1
+Release: 2
License: GPL v2+
Group: X11/Applications
Source0: http://projects.o-hand.com/matchbox/sources/matchbox-panel/0.9/%{name}-%{version}.tar.bz2
# Source0-md5: 56d1807636f3919e22e51896ab7ccd2e
Patch0: %{name}-desktop.patch
Patch1: %{name}-gcc4.patch
+Patch2: libm.patch
URL: http://projects.o-hand.com/matchbox/
BuildRequires: gettext-tools
%{?with_wifi:BuildRequires: libiw-devel}
@@ -45,8 +46,14 @@ Siedzący w panelu monitor sieci bezprzewodowej.
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure \
--enable-acpi-linux \
--enable-dnotify \
diff --git a/libm.patch b/libm.patch
new file mode 100644
index 0000000..c42c6e7
--- /dev/null
+++ b/libm.patch
@@ -0,0 +1,11 @@
+--- matchbox-panel-0.9.3/applets/Makefile.am~ 2005-10-03 00:06:58.000000000 +0200
++++ matchbox-panel-0.9.3/applets/Makefile.am 2015-11-22 00:47:12.783853175 +0100
+@@ -38,7 +38,7 @@
+ mb_applet_clock_SOURCES = mb-applet-clock.c
+ mb_applet_menu_launcher_SOURCES = mb-applet-menu-launcher.c
+ mb_applet_wireless_SOURCES = mb-applet-wireless.c
+-mb_applet_wireless_LDADD = $(LIBMB_LIBS) $(SN_LIBS) $(WIRELESS_LIBS)
++mb_applet_wireless_LDADD = $(LIBMB_LIBS) $(SN_LIBS) $(WIRELESS_LIBS) -lm
+ mb_applet_launcher_SOURCES = mb-applet-launcher.c
+ mb_applet_system_monitor_SOURCES = mb-applet-system-monitor.c
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/matchbox-panel.git/commitdiff/d2e66b747927c3c0a326872d62b6c9a76b2bebdf
More information about the pld-cvs-commit
mailing list