]> git.pld-linux.org Git - packages/wayland.git/commitdiff
- added man patch (fix .so link generation) auto/th/wayland-1.0.6-1
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 29 Mar 2013 09:55:07 +0000 (10:55 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 29 Mar 2013 09:55:07 +0000 (10:55 +0100)
wayland-man.patch [new file with mode: 0644]
wayland.spec

diff --git a/wayland-man.patch b/wayland-man.patch
new file mode 100644 (file)
index 0000000..d3f2434
--- /dev/null
@@ -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)
index 09695c795325d143ba7cb3177bb971e11a998eb7..b95b334c64c832d5ab828741b4c9eeecf471f76a 100644 (file)
@@ -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
This page took 0.139264 seconds and 4 git commands to generate.