[packages/wayland] - added man patch (fix .so link generation)
qboosh
qboosh at pld-linux.org
Fri Mar 29 10:54:56 CET 2013
commit a0e72c2c9628a928ffda30f3587d1ac9228df865
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Mar 29 10:55:07 2013 +0100
- added man patch (fix .so link generation)
wayland-man.patch | 11 +++++++++++
wayland.spec | 6 ++++++
2 files changed, 17 insertions(+)
---
diff --git a/wayland.spec b/wayland.spec
index 09695c7..b95b334 100644
--- a/wayland.spec
+++ b/wayland.spec
@@ -13,6 +13,7 @@ Group: Libraries
Source0: http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
# Source0-md5: 936a2590aea69fa3c0cf234d54b9137c
Patch0: %{name}-publican.patch
+Patch1: %{name}-man.patch
URL: http://wayland.freedesktop.org/
BuildRequires: autoconf >= 2.64
BuildRequires: automake >= 1:1.11
@@ -87,6 +88,10 @@ Dokumentacja API biblioteki oraz protokołu Wayland.
test ! -f doc/Wayland/en_US/Revision_History.xml
%patch0 -p1
+%patch1 -p1
+
+# force regeneration (.so link is broken, double man3/)
+%{__rm} doc/man/*.3
%build
%{__libtoolize}
@@ -97,6 +102,7 @@ test ! -f doc/Wayland/en_US/Revision_History.xml
%configure \
--disable-silent-rules \
%{!?with_static_libs:--disable-static}
+
%{__make}
%install
diff --git a/wayland-man.patch b/wayland-man.patch
new file mode 100644
index 0000000..d3f2434
--- /dev/null
+++ b/wayland-man.patch
@@ -0,0 +1,11 @@
+--- wayland-1.0.6/doc/man/Makefile.am.orig 2013-02-14 20:47:25.000000000 +0100
++++ wayland-1.0.6/doc/man/Makefile.am 2013-03-29 10:29:29.977545252 +0100
+@@ -31,7 +31,7 @@
+ XSLTPROC_PROCESS_MAN = \
+ $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
+ $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(MANPAGES_STYLESHEET) $< && \
+- $(SED) -i -e 's/^\.so \(.*\)\.\(.\)$$/\.so man\2\/\1\.\2/' $(MANPAGES_ALIASES)
++ $(SED) -i -e 's/^\.so \([^/]*\)\.\(.\)$$/\.so man\2\/\1\.\2/' $(MANPAGES_ALIASES)
+
+ %.1: %.xml
+ $(XSLTPROC_PROCESS_MAN)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/wayland.git/commitdiff/a0e72c2c9628a928ffda30f3587d1ac9228df865
More information about the pld-cvs-commit
mailing list