On Wed, May 31, 2006 at 05:52:33PM +0200, steven mestdagh
wrote:> please make it install the docs under share/doc/libtheora.
Thank you. Updated patch below.
A copy of this email goes to the list of theora. The following patch
for the port of libtheora-alpha6 for OpenBSD includes (among other things):
* a patch for examples/Makefile.in that doesn't link player_example
since it requires OSS.
* a patch for doc/Makefile.in that installs at
$datadir/doc/libtheora instead of
$datadir/doc/libtheora-alpha6
Best regards. God illuminate us.
--
Dios, por favor, ayudanos a hacer Tu voluntad que es felicidad desbordante.
http://www.primarilypublicdomain.org/letter/
--
Vladimir T?mara Pati?o.
http://www.geocities.com/v-tamara
diff -pruN --exclude=CVS ../libtheora.orig/Makefile ./Makefile
--- ../libtheora.orig/Makefile Wed May 31 08:29:37 2006
+++ ./Makefile Fri Jun 2 08:18:32 2006
@@ -1,11 +1,9 @@
# $OpenBSD: Makefile,v 1.3 2005/12/30 05:35:56 jakemsr Exp $
COMMENT= "open video codec"
-DISTNAME= libtheora-1.0alpha4
-PKGNAME= ${DISTNAME}p0
+DISTNAME= libtheora-1.0alpha6
CATEGORIES= multimedia
SHARED_LIBS= theora 1.0
-MODGNU_SHARED_LIBS= theora ''
MASTER_SITES= http://downloads.xiph.org/releases/theora/
@@ -27,9 +25,6 @@ USE_LIBTOOL= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE=gnu
-post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libtheora
- ${INSTALL_DATA} ${WRKSRC}/doc/{color.html,vp3-format.txt} \
- ${PREFIX}/share/doc/libtheora
-
+REGRESS_TARGET=check
+
.include <bsd.port.mk>
diff -pruN --exclude=CVS ../libtheora.orig/distinfo ./distinfo
--- ../libtheora.orig/distinfo Wed May 31 08:29:37 2006
+++ ./distinfo Wed May 31 06:42:00 2006
@@ -1,4 +1,4 @@
-MD5 (libtheora-1.0alpha4.tar.gz) = 75f436a980b80f8b8102ee182ddb8748
-RMD160 (libtheora-1.0alpha4.tar.gz) = 1eca6dba519c8af94fa27c4112d3d3ec41aa54d3
-SHA1 (libtheora-1.0alpha4.tar.gz) = 524416a44bcc159bfe53893bb37983046b97522c
-SIZE (libtheora-1.0alpha4.tar.gz) = 2045695
+MD5 (libtheora-1.0alpha6.tar.gz) = 0309b6e6da4b3a5e5d27adfc8558a73d
+RMD160 (libtheora-1.0alpha6.tar.gz) = e03f232416f0c4160bd5034bb0bc7234020b6892
+SHA1 (libtheora-1.0alpha6.tar.gz) = 93ec6eaccc841581a723c251db06138fd9e783f4
+SIZE (libtheora-1.0alpha6.tar.gz) = 1863054
diff -pruN --exclude=CVS ../libtheora.orig/patches/patch-Makefile_in
./patches/patch-Makefile_in
--- ../libtheora.orig/patches/patch-Makefile_in Wed May 31 08:29:37 2006
+++ ./patches/patch-Makefile_in Wed Dec 31 19:00:00 1969
@@ -1,12 +0,0 @@
-$OpenBSD: patch-Makefile_in,v 1.1.1.1 2005/07/09 00:35:02 jolan Exp $
---- Makefile.in.orig Wed Dec 15 14:06:17 2004
-+++ Makefile.in Fri Jul 8 19:03:16 2005
-@@ -206,7 +206,7 @@ target_cpu = @target_cpu@
- target_os = @target_os@
- target_vendor = @target_vendor@
- AUTOMAKE_OPTIONS = foreign 1.6 dist-zip dist-bzip2
--SUBDIRS = lib include doc examples debian
-+SUBDIRS = lib include
- EXTRA_DIST = COPYING autogen.sh win32 libtheora.spec libtheora.spec.in \
- theora-uninstalled.pc.in
-
diff -pruN --exclude=CVS ../libtheora.orig/patches/patch-configure
./patches/patch-configure
--- ../libtheora.orig/patches/patch-configure Wed May 31 08:29:37 2006
+++ ./patches/patch-configure Wed Dec 31 19:00:00 1969
@@ -1,20 +0,0 @@
-$OpenBSD: patch-configure,v 1.2 2005/12/30 05:35:56 jakemsr Exp $
---- configure.orig Wed Dec 15 12:06:19 2004
-+++ configure Thu Dec 29 20:56:15 2005
-@@ -19863,6 +19863,7 @@ fi
-
- HAVE_VORBIS=no
-
-+if false ; then
-
- if test "x$HAVE_PKG_CONFIG" = "xyes"
- then
-@@ -20632,7 +20633,7 @@ echo "$as_me: WARNING: OSS audio support
- fi
-
- done
--
-+fi
-
- if test x$HAVE_SDL = xyes -a x$HAVE_OSS = xyes; then
- BUILDABLE_EXAMPLES="$BUILDABLE_EXAMPLES player_example"
diff -pruN --exclude=CVS ../libtheora.orig/patches/patch-doc_Makefile_in
./patches/patch-doc_Makefile_in
--- ../libtheora.orig/patches/patch-doc_Makefile_in Wed Dec 31 19:00:00 1969
+++ ./patches/patch-doc_Makefile_in Fri Jun 2 05:17:36 2006
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- doc/Makefile.in.orig Fri Jun 2 05:16:45 2006
++++ doc/Makefile.in Fri Jun 2 05:16:58 2006
+@@ -120,7 +120,7 @@ install_sh = @install_sh@
+
+ SUBDIRS = #python
+
+-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
++docdir = $(datadir)/doc/$(PACKAGE)
+
+ built_docs =
+
diff -pruN --exclude=CVS ../libtheora.orig/patches/patch-examples_Makefile_in
./patches/patch-examples_Makefile_in
--- ../libtheora.orig/patches/patch-examples_Makefile_in Wed Dec 31 19:00:00
1969
+++ ./patches/patch-examples_Makefile_in Wed May 31 07:24:15 2006
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- examples/Makefile.in.orig Tue May 30 17:47:41 2006
++++ examples/Makefile.in Wed May 31 07:24:09 2006
+@@ -216,7 +216,7 @@ encoder_example$(EXEEXT): $(encoder_exam
+ player_example-player_example.$(OBJEXT): player_example.c
+ player_example$(EXEEXT): $(player_example_OBJECTS)
$(player_example_DEPENDENCIES)
+ @rm -f player_example$(EXEEXT)
+- $(LINK) $(player_example_LDFLAGS) $(player_example_OBJECTS)
$(player_example_LDADD) $(LIBS)
++ #$(LINK) $(player_example_LDFLAGS) $(player_example_OBJECTS)
$(player_example_LDADD) $(LIBS)
+
+ mostlyclean-compile:
+ -rm -f *.$(OBJEXT) core *.core
diff -pruN --exclude=CVS ../libtheora.orig/pkg/PFRAG.shared ./pkg/PFRAG.shared
--- ../libtheora.orig/pkg/PFRAG.shared Wed May 31 08:29:37 2006
+++ ./pkg/PFRAG.shared Thu May 25 07:17:45 2006
@@ -1,2 +1,3 @@
+@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2005/07/09 00:35:02 jolan Exp $
@comment $OpenBSD: PFRAG.shared,v 1.2 2005/12/30 05:35:56 jakemsr Exp $
@lib lib/libtheora.so.${LIBtheora_VERSION}
diff -pruN --exclude=CVS ../libtheora.orig/pkg/PLIST ./pkg/PLIST
--- ../libtheora.orig/pkg/PLIST Wed May 31 08:29:37 2006
+++ ./pkg/PLIST Fri Jun 2 05:37:59 2006
@@ -8,4 +8,7 @@ lib/pkgconfig/
lib/pkgconfig/theora.pc
share/doc/libtheora/
share/doc/libtheora/color.html
+share/doc/libtheora/doxygen-build.stamp
+share/doc/libtheora/draft-barbato-avt-rtp-theora-00.txt
+share/doc/libtheora/draft-barbato-avt-rtp-theora-00.xml
share/doc/libtheora/vp3-format.txt