[packages/rygel] - fix hardcoded gtk-doc path

baggins baggins at pld-linux.org
Wed Oct 9 19:09:07 CEST 2013


commit d42cd4fdb4974759851a2e3bd95bc7627e0bae80
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Oct 9 19:08:56 2013 +0200

    - fix hardcoded gtk-doc path

 gtk-doc.patch | 11 +++++++++++
 rygel.spec    |  5 +++--
 2 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/rygel.spec b/rygel.spec
index 7418f23..770552e 100644
--- a/rygel.spec
+++ b/rygel.spec
@@ -7,6 +7,7 @@ Group:		X11/Applications
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/rygel/0.20/%{name}-%{version}.tar.xz
 # Source0-md5:	7583935dd8e60b5db0d73db99f2258a6
 Source1:	git-version-gen
+Patch0:		gtk-doc.patch
 URL:		http://live.gnome.org/Rygel
 BuildRequires:	autoconf >= 2.64
 BuildRequires:	automake >= 1.11.1
@@ -54,6 +55,7 @@ Pliki nagłówkowe rygel.
 
 %prep
 %setup -q
+%patch0 -p1
 #install -m755 %{SOURCE1} build-aux/git-version-gen
 
 %build
@@ -66,8 +68,7 @@ Pliki nagłówkowe rygel.
 %configure \
 	--enable-gst-launch-plugin \
 	--enable-mediathek-plugin \
-	--disable-silent-rules \
-	--with-html-dir=%{_gtkdocdir}
+	--disable-silent-rules
 
 %{__make}
 
diff --git a/gtk-doc.patch b/gtk-doc.patch
new file mode 100644
index 0000000..c1668c8
--- /dev/null
+++ b/gtk-doc.patch
@@ -0,0 +1,11 @@
+--- rygel-0.20.0/doc/reference/doc-build.am~	2013-05-12 17:15:55.000000000 +0200
++++ rygel-0.20.0/doc/reference/doc-build.am	2013-10-09 19:07:46.751738394 +0200
+@@ -77,7 +77,7 @@
+ 
+ endif
+ 
+-RYGEL_GTKDOC_INSTALL_DIR = $(DESTDIR)$(datadir)/gtk-doc/html/lib$(RYGEL_DOCBUILD_MODULE)
++RYGEL_GTKDOC_INSTALL_DIR = $(DESTDIR)$(datadir)/doc/gtk-doc/html/lib$(RYGEL_DOCBUILD_MODULE)
+ 
+ uninstall-hook:
+ 	rm -rf $(RYGEL_GTKDOC_INSTALL_DIR)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rygel.git/commitdiff/d42cd4fdb4974759851a2e3bd95bc7627e0bae80



More information about the pld-cvs-commit mailing list