Re: Please test patch for libtheora1.1beta3

2009-08-27 Thread Brad
On Tue, Aug 25, 2009 at 10:10:59AM -0500, Vladimir T?mara Pati?o wrote:
 Good morning in the Lord
 
 Could you please test the update and a new patch for
 libtheora1.1beta3 (please download the attachment as
 libtheora/patches/patch-lib_x86_mmxencfrag_c
 
Unless the assembler code works properly without causing
the regression tests to fail then its better off to just
disable it until it is fixed fully and properly.

Here is a better diff. I'll see about getting the libcompat
fix pushed upstream.


Index: Makefile
===
RCS file: /cvs/ports/multimedia/libtheora/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- Makefile12 Feb 2009 03:21:56 -  1.10
+++ Makefile28 Aug 2009 03:49:15 -
@@ -2,14 +2,14 @@
 
 COMMENT=   open video codec
 
-DISTNAME=  libtheora-1.0
+DISTNAME=  libtheora-1.1beta3
 CATEGORIES=multimedia
 MASTER_SITES=  http://downloads.xiph.org/releases/theora/
 EXTRACT_SUFX=  .tar.bz2
 
-SHARED_LIBS+=  theora  3.1
-SHARED_LIBS+=  theoradec   1.0
-SHARED_LIBS+=  theoraenc   1.1
+SHARED_LIBS=   theora  3.2 \
+   theoradec   1.1 \
+   theoraenc   1.2
 
 HOMEPAGE=  http://www.theora.org/
 
@@ -26,9 +26,10 @@ LIB_DEPENDS= ogg.=5::audio/libogg
 
 USE_LIBTOOL=   Yes
 SEPARATE_BUILD=concurrent
-CONFIGURE_STYLE=gnu
-CONFIGURE_ARGS=--disable-examples
-CONFIGURE_ENV= ac_cv_prog_HAVE_DOXYGEN=false \
-   ac_cv_prog_HAVE_PDFLATEX=false
+CONFIGURE_STYLE= autoconf
+# Should be 2.63
+AUTOCONF_VERSION= 2.61
+CONFIGURE_ARGS=--disable-asm --disable-examples --disable-spec
+CONFIGURE_ENV= ac_cv_prog_HAVE_DOXYGEN=false
 
 .include bsd.port.mk
Index: distinfo
===
RCS file: /cvs/ports/multimedia/libtheora/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo12 Feb 2009 03:21:56 -  1.6
+++ distinfo28 Aug 2009 02:36:29 -
@@ -1,5 +1,5 @@
-MD5 (libtheora-1.0.tar.bz2) = yWOTcFP0Wnh4lUvtN86xgg==
-RMD160 (libtheora-1.0.tar.bz2) = 9y0KLOhHWoiKtn/Xe3Em1m1TfJs=
-SHA1 (libtheora-1.0.tar.bz2) = AnF3cwAbRPlbxsIxEaiUk6SpP4c=
-SHA256 (libtheora-1.0.tar.bz2) = OunfVuj8df/ibmOhPK4s550HlBYXX7C6/+Di3o3JGm0=
-SIZE (libtheora-1.0.tar.bz2) = 1652987
+MD5 (libtheora-1.1beta3.tar.bz2) = IBKpmX9MciDNpDkRhqB/FQ==
+RMD160 (libtheora-1.1beta3.tar.bz2) = pRtrXNr+ETDuZDnOqOiS83oQtQc=
+SHA1 (libtheora-1.1beta3.tar.bz2) = q8qX5L0sqtiW4cLBNZYmqQM9qLA=
+SHA256 (libtheora-1.1beta3.tar.bz2) = 
2HP0wBgfp1tePPBpQzdAsnd4EML9WAVdTmKqrAwjnV4=
+SIZE (libtheora-1.1beta3.tar.bz2) = 1785382
Index: patches/patch-configure
===
RCS file: patches/patch-configure
diff -N patches/patch-configure
--- patches/patch-configure 25 Jul 2008 14:20:50 -  1.4
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,14 +0,0 @@
-$OpenBSD: patch-configure,v 1.4 2008/07/25 14:20:50 brad Exp $
 configure.orig Thu Jul 24 13:22:04 2008
-+++ configure  Thu Jul 24 13:23:06 2008
-@@ -19970,8 +19970,8 @@ else
- case $host in
- *)
- DEBUG=-g -Wall -Wno-parentheses -DDEBUG -D__NO_MATH_INLINES
--CFLAGS=-Wall -Wno-parentheses -O3 -fforce-addr 
-fomit-frame-pointer -finline-functions -funroll-loops
--PROFILE=-Wall -Wno-parentheses -pg -g -O3 
-fno-inline-functions -DDEBUG;;
-+CFLAGS=-Wall -Wno-parentheses -fforce-addr 
-fomit-frame-pointer -finline-functions -funroll-loops
-+PROFILE=-Wall -Wno-parentheses -pg -g -fno-inline-functions 
-DDEBUG;;
- esac
- fi
- CFLAGS=$CFLAGS $cflags_save
Index: patches/patch-configure_ac
===
RCS file: patches/patch-configure_ac
diff -N patches/patch-configure_ac
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-configure_ac  28 Aug 2009 03:43:11 -
@@ -0,0 +1,24 @@
+$OpenBSD$
+--- configure.ac.orig  Sat Aug 22 13:54:35 2009
 configure.ac   Thu Aug 27 23:43:00 2009
+@@ -168,8 +168,8 @@ else
+ case $host in 
+ *)
+ DEBUG=-g -Wall -Wno-parentheses -DDEBUG -D__NO_MATH_INLINES
+-CFLAGS=-Wall -Wno-parentheses -O3 -fforce-addr 
-fomit-frame-pointer -finline-functions -funroll-loops
+-PROFILE=-Wall -Wno-parentheses -pg -g -O3 
-fno-inline-functions -DDEBUG;;
++CFLAGS=-Wall -Wno-parentheses -fforce-addr 
-fomit-frame-pointer -finline-functions -funroll-loops
++PROFILE=-Wall -Wno-parentheses -pg -g -fno-inline-functions 
-DDEBUG;;
+ esac
+ fi
+ CFLAGS=$CFLAGS $cflags_save
+@@ -426,7 +426,8 @@ dnl Check for library functions
+ dnl --
+ 
+ dnl OpenBSD needs -lcompat for ftime() used by dump_video.c
+-AC_SEARCH_LIBS([ftime], [compat])
++AC_CHECK_LIB([compat], 

Please test patch for libtheora1.1beta3

2009-08-25 Thread Vladimir Támara Patiño
Good morning in the Lord

Could you please test the update and a new patch for
libtheora1.1beta3 (please download the attachment as
libtheora/patches/patch-lib_x86_mmxencfrag_c

The patch is for amd64, described at:
http://lists.xiph.org/pipermail/theora/2009-August/002640.html

Best regards
-- 
Dios, gracias por tu amor infinito.
http://www.primarilypublicdomain.org/letter/
--  
  Vladimir Támara Patiño.  
  http://www.geocities.com/v-tamara


Index: Makefile
===
RCS file: /cvs/ports/multimedia/libtheora/Makefile,v
retrieving revision 1.10
diff -u Makefile
--- Makefile12 Feb 2009 03:21:56 -  1.10
+++ Makefile25 Aug 2009 14:46:39 -
@@ -2,14 +2,14 @@
 
 COMMENT=   open video codec
 
-DISTNAME=  libtheora-1.0
+DISTNAME=  libtheora-1.1beta3
 CATEGORIES=multimedia
 MASTER_SITES=  http://downloads.xiph.org/releases/theora/
 EXTRACT_SUFX=  .tar.bz2
 
 SHARED_LIBS+=  theora  3.1
 SHARED_LIBS+=  theoradec   1.0
-SHARED_LIBS+=  theoraenc   1.1
+SHARED_LIBS+=  theoraenc   1.2
 
 HOMEPAGE=  http://www.theora.org/
 
@@ -30,5 +30,8 @@
 CONFIGURE_ARGS=--disable-examples
 CONFIGURE_ENV= ac_cv_prog_HAVE_DOXYGEN=false \
ac_cv_prog_HAVE_PDFLATEX=false
+
+#MODULES+=   gcc4
+#MODGCC4_ARCHES= *
 
 .include bsd.port.mk
Index: distinfo
===
RCS file: /cvs/ports/multimedia/libtheora/distinfo,v
retrieving revision 1.6
diff -u distinfo
--- distinfo12 Feb 2009 03:21:56 -  1.6
+++ distinfo25 Aug 2009 14:46:39 -
@@ -1,5 +1,5 @@
-MD5 (libtheora-1.0.tar.bz2) = yWOTcFP0Wnh4lUvtN86xgg==
-RMD160 (libtheora-1.0.tar.bz2) = 9y0KLOhHWoiKtn/Xe3Em1m1TfJs=
-SHA1 (libtheora-1.0.tar.bz2) = AnF3cwAbRPlbxsIxEaiUk6SpP4c=
-SHA256 (libtheora-1.0.tar.bz2) = OunfVuj8df/ibmOhPK4s550HlBYXX7C6/+Di3o3JGm0=
-SIZE (libtheora-1.0.tar.bz2) = 1652987
+MD5 (libtheora-1.1beta3.tar.bz2) = IBKpmX9MciDNpDkRhqB/FQ==
+RMD160 (libtheora-1.1beta3.tar.bz2) = pRtrXNr+ETDuZDnOqOiS83oQtQc=
+SHA1 (libtheora-1.1beta3.tar.bz2) = q8qX5L0sqtiW4cLBNZYmqQM9qLA=
+SHA256 (libtheora-1.1beta3.tar.bz2) = 
2HP0wBgfp1tePPBpQzdAsnd4EML9WAVdTmKqrAwjnV4=
+SIZE (libtheora-1.1beta3.tar.bz2) = 1785382
Index: patches/patch-configure
===
RCS file: /cvs/ports/multimedia/libtheora/patches/patch-configure,v
retrieving revision 1.4
diff -u patches/patch-configure
--- patches/patch-configure 25 Jul 2008 14:20:50 -  1.4
+++ patches/patch-configure 25 Aug 2009 14:46:39 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-configure,v 1.4 2008/07/25 14:20:50 brad Exp $
 configure.orig Thu Jul 24 13:22:04 2008
-+++ configure  Thu Jul 24 13:23:06 2008
-@@ -19970,8 +19970,8 @@ else
+--- configure.orig Wed Aug 12 11:58:08 2009
 configure  Wed Aug 12 21:42:50 2009
+@@ -11843,8 +11843,8 @@ else
  case $host in
  *)
  DEBUG=-g -Wall -Wno-parentheses -DDEBUG -D__NO_MATH_INLINES
Index: patches/patch-doc_Makefile_in
===
RCS file: /cvs/ports/multimedia/libtheora/patches/patch-doc_Makefile_in,v
retrieving revision 1.3
diff -u patches/patch-doc_Makefile_in
--- patches/patch-doc_Makefile_in   25 Jul 2008 14:20:18 -  1.3
+++ patches/patch-doc_Makefile_in   25 Aug 2009 14:46:39 -
@@ -1,12 +1,12 @@
 $OpenBSD: patch-doc_Makefile_in,v 1.3 2008/07/25 14:20:18 brad Exp $
 doc/Makefile.in.orig   Wed Apr 16 16:26:14 2008
-+++ doc/Makefile.inTue Jul 15 16:54:48 2008
-@@ -187,7 +187,7 @@ build_vendor = @build_vendor@
- builddir = @builddir@
- datadir = @datadir@
- datarootdir = @datarootdir@
+--- doc/Makefile.in.orig   Wed Aug 12 11:58:08 2009
 doc/Makefile.inWed Aug 12 21:44:27 2009
+@@ -161,7 +161,7 @@ sys_symbol_underscore = @sys_symbol_underscore@
+ 
+ SUBDIRS = spec
+ 
 -docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
 +docdir = $(datadir)/doc/$(PACKAGE)
- dvidir = @dvidir@
- exec_prefix = @exec_prefix@
- host = @host@
+ 
+ static_docs = vp3-format.txt color.html \
+   draft-ietf-avt-rtp-theora-00.xml \
Index: patches/patch-doc_spec_Makefile_in
===
RCS file: /cvs/ports/multimedia/libtheora/patches/patch-doc_spec_Makefile_in,v
retrieving revision 1.1
diff -u patches/patch-doc_spec_Makefile_in
--- patches/patch-doc_spec_Makefile_in  25 Jul 2008 14:20:50 -  1.1
+++ patches/patch-doc_spec_Makefile_in  25 Aug 2009 14:46:39 -
@@ -1,12 +1,12 @@
 $OpenBSD: patch-doc_spec_Makefile_in,v 1.1 2008/07/25 14:20:50 brad Exp $
 doc/spec/Makefile.in.orig  Tue Jul 15 17:48:31 2008
-+++ doc/spec/Makefile.in   Tue Jul 15 17:48:40 2008
-@@ -197,7 +197,7 @@ build_vendor = @build_vendor@
- builddir = @builddir@
- datadir = @datadir@
- datarootdir = @datarootdir@
+--- doc/spec/Makefile.in.orig  Wed Aug 12 11:58:08