Good morning in the Lord

I'm sending un update for the port of multimedia/libtheora to
upgrade it from alpha4 to alpha6. It includes suggestions of
Moritz Grimm, Jakob Mauser and Jonathan Gray
http://archives.neohapsis.com/archives/openbsd/2005-12/1990.html
http://archives.neohapsis.com/archives/openbsd/2006-03/1595.html

I tested it on i386 with current.  mplayer and vlc both play theora.

Please note that with this patch it would be better to remove
from the repository:

patches/patch-Makefile_in
patches/patch-configure

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  Wed May 31 06:40:41 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/
 
@@ -26,6 +24,8 @@ LIB_DEPENDS=  ogg.5::audio/libogg
 USE_LIBTOOL=   Yes
 SEPARATE_BUILD=        concurrent
 CONFIGURE_STYLE=gnu
+
+REGRESS_TARGET=check
 
 post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libtheora
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-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 @@
[EMAIL PROTECTED] $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 Wed May 31 08:18:39 2006
@@ -7,5 +7,11 @@ lib/libtheora.la
 lib/pkgconfig/
 lib/pkgconfig/theora.pc
 share/doc/libtheora/
+share/doc/libtheora-1.0alpha6/
+share/doc/libtheora-1.0alpha6/color.html
+share/doc/libtheora-1.0alpha6/doxygen-build.stamp
+share/doc/libtheora-1.0alpha6/draft-barbato-avt-rtp-theora-00.txt
+share/doc/libtheora-1.0alpha6/draft-barbato-avt-rtp-theora-00.xml
+share/doc/libtheora-1.0alpha6/vp3-format.txt
 share/doc/libtheora/color.html
 Share/doc/libtheora/vp3-format.txt

Reply via email to