[42164] trunk/dports/gnome/gstreamer

blb at macports.org blb at macports.org
Sun Nov 16 01:23:26 PST 2008


Revision: 42164
          http://trac.macports.org/changeset/42164
Author:   blb at macports.org
Date:     2008-11-16 01:23:25 -0800 (Sun, 16 Nov 2008)
Log Message:
-----------
gnome/gstreamer - fix install when gtk-doc is not installed (patch from
Debian gstreamer package, see <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499818>)
ticket #17258

Modified Paths:
--------------
    trunk/dports/gnome/gstreamer/Portfile

Added Paths:
-----------
    trunk/dports/gnome/gstreamer/files/
    trunk/dports/gnome/gstreamer/files/patch-no-gtk-doc.diff

Modified: trunk/dports/gnome/gstreamer/Portfile
===================================================================
--- trunk/dports/gnome/gstreamer/Portfile	2008-11-16 08:51:28 UTC (rev 42163)
+++ trunk/dports/gnome/gstreamer/Portfile	2008-11-16 09:23:25 UTC (rev 42164)
@@ -5,6 +5,7 @@
 
 name		gstreamer
 version		0.10.21
+revision	1
 description	A framework for streaming media.
 long_description	This is GStreamer, a framework for streaming media. \
 			The fundamental design comes from the video pipeline at \
@@ -46,6 +47,8 @@
 
 use_bzip2 	yes
 
+patchfiles	patch-no-gtk-doc.diff
+
 configure.env-append  PERL_PATH=${prefix}/bin/perl
 
 configure.cflags-append -funroll-loops -fstrict-aliasing -fno-common

Added: trunk/dports/gnome/gstreamer/files/patch-no-gtk-doc.diff
===================================================================
--- trunk/dports/gnome/gstreamer/files/patch-no-gtk-doc.diff	                        (rev 0)
+++ trunk/dports/gnome/gstreamer/files/patch-no-gtk-doc.diff	2008-11-16 09:23:25 UTC (rev 42164)
@@ -0,0 +1,39 @@
+--- common/gtk-doc.mak.orig	2008-09-10 03:13:16.000000000 -0600
++++ common/gtk-doc.mak	2008-11-16 02:11:40.000000000 -0700
+@@ -200,8 +200,8 @@
+         	    $(INSTALL_DATA) $(srcdir)/html/$(DOC_MODULE).devhelp2 \
+ 	           $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)- at GST_MAJORMINOR@.devhelp2; \
+ 	  fi; \
+-	  which gtkdoc-rebase >/dev/null && \
+-	    gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) ; \
++	  (which gtkdoc-rebase >/dev/null && \
++	    gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR)) || true ; \
+ 	fi) 
+ uninstall-local:
+ 	(installfiles=`echo ./html/*.html`; \
+--- docs/libs/Makefile.in.orig	2008-10-02 15:54:18.000000000 -0600
++++ docs/libs/Makefile.in	2008-11-16 02:11:40.000000000 -0700
+@@ -810,8 +810,8 @@
+         	    $(INSTALL_DATA) $(srcdir)/html/$(DOC_MODULE).devhelp2 \
+ 	           $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)- at GST_MAJORMINOR@.devhelp2; \
+ 	  fi; \
+-	  which gtkdoc-rebase >/dev/null && \
+-	    gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) ; \
++	  (which gtkdoc-rebase >/dev/null && \
++	    gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR)) || true ; \
+ 	fi) 
+ uninstall-local:
+ 	(installfiles=`echo ./html/*.html`; \
+--- docs/gst/Makefile.in.orig	2008-10-02 15:54:18.000000000 -0600
++++ docs/gst/Makefile.in	2008-11-16 02:11:40.000000000 -0700
+@@ -808,8 +808,8 @@
+         	    $(INSTALL_DATA) $(srcdir)/html/$(DOC_MODULE).devhelp2 \
+ 	           $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)- at GST_MAJORMINOR@.devhelp2; \
+ 	  fi; \
+-	  which gtkdoc-rebase >/dev/null && \
+-	    gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) ; \
++	  (which gtkdoc-rebase >/dev/null && \
++	    gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR)) || true ; \
+ 	fi) 
+ uninstall-local:
+ 	(installfiles=`echo ./html/*.html`; \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081116/8e7b4cf3/attachment.html>


More information about the macports-changes mailing list