Update libdv (and tools) to 1.0.0.

2006-09-25  Dan Dennedy <dan@dennedy.org>
* libdv 1.0.0 release.

2006-09-03  Dan Dennedy <dan@dennedy.org>
* libdv/encode.c, libdv/enc_output.c: apply patch (1550898) from Craig
  Lawson to prevent noise when dv_encode_full_audio() is called with
  zero samples.

2006-08-06  Dan Dennedy <dan@dennedy.org>
* libdv/*.S: apply patch from Mike Frysinger <vapier@gentoo.org> to
  cleanup assembly symbols by hiding them and/or setting their type.
* configure.ac, Makefile.am: apply patch from Burkhard Plaum to
  automatically disable GTK-based features (playdv) when GTK+ 1.2
  is not found and to fix dist make target behavior with GTK+ disabled.
* libdv/Makefile.am: bump libtool revision.
* configure.ac: bump project version to 1.0.0.

2006-04-10  Dan Dennedy <dan@dennedy.org>
* playdv/playdv.c: bugfix segfault on exit due to dv_display_exit being
  called twice.

2006-03-06  Dan Dennedy <dan@dennedy.org>
* mmx.h: apply patches from Zan Lynx and Richard Guenther to fix x86
  compilation on gcc 4.1.

2006-01-15  Dan Dennedy <dan@dennedy.org>
* encode.c: apply patch from Burkhard Plaum to use gcc
  destructor attribute to invoke dv_cleanup() when unloading
  libdv after loading dynamically and thereby fixing a
  memory leak.

* playdv.c: bugfix segfault on exit due to dv_display_exit()
  being called twice: once in main() and second in atexit
  handler created by dv_display. Thanks for hint provided
  by Jean-Francois Panisset.

2005-01-31  Dan Dennedy <dan@dennedy.org>
* *.S: apply patch from Nicholas Miell <nmiell@gmail.com>
  to not require execution stack for assembler functions.

2004-12-20  Dan Dennedy <dan@dennedy.org>
* vlc.h, mmx.h: apply patch from Daniel Kobras to improve
  compile compatibillity by making extern inline, static inline.

2004-12-12  Dan Dennedy <dan@dennedy.org>
* *_x86_64.S: apply patch from Dean Kolosiek to fix linker
  compatibility.
This commit is contained in:
obache 2010-03-03 08:44:38 +00:00
parent 6dfe709f1d
commit 6d5e188a76
9 changed files with 33 additions and 119 deletions

View file

@ -1,18 +1,19 @@
# $NetBSD: Makefile,v 1.3 2006/04/06 06:22:25 reed Exp $
# $NetBSD: Makefile,v 1.4 2010/03/03 08:44:39 obache Exp $
.include "../../multimedia/libdv/Makefile.common"
PKGNAME= ${DISTNAME:S/-/-tools-/}
PKGREVISION= 1
COMMENT+= (standalone tools)
CONFIGURE_ARGS:= ${CONFIGURE_ARGS:S/--disable-gtk/--enable-gtk/g}
USE_TOOLS+= pkg-config
BUILD_DIRS= ${WRKSRC}/encodedv ${WRKSRC}/playdv
INSTALL_DIRS= ${WRKSRC}/encodedv ${WRKSRC}/playdv
CONFIGURE_ARGS+= --enable-gtk
BUILDLINK_API_DEPENDS.libdv+= libdv>=0.104nb1
BUILD_DIRS= encodedv playdv
INSTALL_DIRS= encodedv playdv
BUILDLINK_API_DEPENDS.libdv+= libdv>=1.0.0
.include "../../devel/glib/buildlink3.mk"
.include "../../multimedia/libdv/buildlink3.mk"

View file

@ -1,10 +1,8 @@
# $NetBSD: Makefile,v 1.13 2007/12/15 15:30:16 heinz Exp $
PKG_DESTDIR_SUPPORT= user-destdir
# $NetBSD: Makefile,v 1.14 2010/03/03 08:44:38 obache Exp $
.include "Makefile.common"
PKGREVISION= 2
CONFIGURE_ARGS+= --disable-gtk
MAKE_FLAGS+= SUBDIRS=libdv

View file

@ -1,8 +1,8 @@
# $NetBSD: Makefile.common,v 1.10 2010/03/03 07:55:51 obache Exp $
# $NetBSD: Makefile.common,v 1.11 2010/03/03 08:44:38 obache Exp $
#
# used by multimedia/libdv-tools/Makefile
DISTNAME= libdv-0.104
DISTNAME= libdv-1.0.0
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libdv/}
@ -22,8 +22,6 @@ USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE= ${WRKSRC}/libdv.pc.in
PTHREAD_AUTO_VARS= yes
CONFIGURE_ARGS+= --disable-gtk
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == "Darwin") || empty(MACHINE_PLATFORM:M*-*-i386) || (${OPSYS} == "Interix")

View file

@ -1,10 +1,9 @@
$NetBSD: distinfo,v 1.8 2006/06/15 20:16:41 dogcow Exp $
$NetBSD: distinfo,v 1.9 2010/03/03 08:44:38 obache Exp $
SHA1 (libdv-0.104.tar.gz) = 521a079193f4ae8f9995091b0590c87fde130650
RMD160 (libdv-0.104.tar.gz) = a91708ecb75533caf2b9038ca68064c7707dcfdf
Size (libdv-0.104.tar.gz) = 554691 bytes
SHA1 (patch-aa) = 6910450f2c93ac4989e8c132368d208ddd65cf0d
SHA1 (patch-ab) = f204ba8b80f48a5965397beb2239b44b45ca8920
SHA1 (patch-ac) = a8d1fd55c9bf3ee59f34613e285314def3add60b
SHA1 (patch-ad) = 7b65a66a54c49e5bb7e902ba0cfc67f882b344f0
SHA1 (patch-ae) = c4bd957fa444f7142b53c623129cacfcb4d3d227
SHA1 (libdv-1.0.0.tar.gz) = 2e5ba0e95f665d60e72cbebcf1c4989e0d6c92c8
RMD160 (libdv-1.0.0.tar.gz) = a8d3ae083340cec411d5294db7197ea72c8b3c4f
Size (libdv-1.0.0.tar.gz) = 574565 bytes
SHA1 (patch-aa) = bd8c5caebd6a1d3c3276a3a41d47920fcefae7f0
SHA1 (patch-ab) = b0798b112c586b041d29d498221dc772387f1c22
SHA1 (patch-ac) = 8b60cb4ccf3f8cf5d56fd7336830e14c9c704b6d
SHA1 (patch-ad) = f496833eea654934b80ecad5cd3be1f9c8ddd848

View file

@ -1,8 +1,8 @@
$NetBSD: patch-aa,v 1.1 2004/11/28 14:34:28 wiz Exp $
$NetBSD: patch-aa,v 1.2 2010/03/03 08:44:39 obache Exp $
--- libdv/Makefile.in.orig 2004-07-14 17:41:22.000000000 +0200
--- libdv/Makefile.in.orig 2006-09-25 20:11:48.000000000 +0000
+++ libdv/Makefile.in
@@ -55,7 +55,7 @@ CONFIG_CLEAN_FILES =
@@ -61,7 +61,7 @@ am__strip_dir = `echo $$p | sed -e 's|^.
am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgincludedir)"
libLTLIBRARIES_INSTALL = $(INSTALL)
LTLIBRARIES = $(lib_LTLIBRARIES)

View file

@ -1,8 +1,8 @@
$NetBSD: patch-ab,v 1.1 2005/06/03 15:40:31 jmmv Exp $
$NetBSD: patch-ab,v 1.2 2010/03/03 08:44:39 obache Exp $
--- encodedv/Makefile.in.orig 2004-11-30 03:23:42.000000000 +0000
--- encodedv/Makefile.in.orig 2006-09-25 20:11:48.000000000 +0000
+++ encodedv/Makefile.in
@@ -57,19 +57,19 @@ PROGRAMS = $(bin_PROGRAMS) $(noinst_PROG
@@ -55,19 +55,19 @@ PROGRAMS = $(bin_PROGRAMS) $(noinst_PROG
am_dubdv_OBJECTS = insert_audio.$(OBJEXT)
dubdv_OBJECTS = $(am_dubdv_OBJECTS)
am__DEPENDENCIES_1 =
@ -26,7 +26,7 @@ $NetBSD: patch-ab,v 1.1 2005/06/03 15:40:31 jmmv Exp $
am_ppmqscale_OBJECTS = ppmqscale.$(OBJEXT)
ppmqscale_OBJECTS = $(am_ppmqscale_OBJECTS)
ppmqscale_LDADD = $(LDADD)
@@ -232,18 +232,18 @@ EXTRA_DIST = $(man_MANS)
@@ -236,18 +236,18 @@ EXTRA_DIST = $(man_MANS)
MAINTAINERCLEANFILES = Makefile.in $(AUX_DIST)
CLEANFILES =
encodedv_SOURCES = encodedv.c

View file

@ -1,8 +1,8 @@
$NetBSD: patch-ac,v 1.1 2005/06/03 15:40:31 jmmv Exp $
$NetBSD: patch-ac,v 1.2 2010/03/03 08:44:39 obache Exp $
--- playdv/Makefile.in.orig 2004-11-30 03:23:43.000000000 +0000
--- playdv/Makefile.in.orig 2006-09-25 20:11:48.000000000 +0000
+++ playdv/Makefile.in
@@ -58,7 +58,7 @@ am_playdv_OBJECTS = playdv.$(OBJEXT) dis
@@ -56,7 +56,7 @@ am_playdv_OBJECTS = playdv.$(OBJEXT) dis
playdv_OBJECTS = $(am_playdv_OBJECTS)
am__DEPENDENCIES_1 =
playdv_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
@ -11,7 +11,7 @@ $NetBSD: patch-ac,v 1.1 2005/06/03 15:40:31 jmmv Exp $
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
@@ -209,7 +209,7 @@ CLEANFILES =
@@ -213,7 +213,7 @@ CLEANFILES =
AM_CFLAGS = $(SDL_CFLAGS) $(GTK_CFLAGS)
noinst_HEADERS = display.h oss.h
playdv_SOURCES = playdv.c display.c display.h oss.c

View file

@ -1,7 +1,7 @@
$NetBSD: patch-ad,v 1.1 2005/06/05 09:53:07 jmmv Exp $
$NetBSD: patch-ad,v 1.2 2010/03/03 08:44:39 obache Exp $
--- encodedv/dvconnect.c.orig 2005-05-20 19:07:43.000000000 +0200
+++ encodedv/dvconnect.c 2005-05-20 19:08:10.000000000 +0200
--- encodedv/dvconnect.c.orig 2004-05-31 02:05:23.000000000 +0000
+++ encodedv/dvconnect.c
@@ -29,6 +29,9 @@
#define _FILE_OFFSET_BITS 64

View file

@ -1,82 +0,0 @@
$NetBSD: patch-ae,v 1.1 2006/06/15 20:16:41 dogcow Exp $
--- libdv/mmx.h.orig 2001-10-27 20:23:57.000000000 -0700
+++ libdv/mmx.h 2006-06-15 13:11:12.000000000 -0700
@@ -272,15 +272,15 @@ mmx_ok(void)
fprintf(stderr, #op "_m2r(" #mem "=0x%08x%08x, ", \
mmx_trace.d[1], mmx_trace.d[0]); \
__asm__ __volatile__ ("movq %%" #reg ", %0" \
- : "=X" (mmx_trace) \
+ : "=m" (mmx_trace) \
: /* nothing */ ); \
fprintf(stderr, #reg "=0x%08x%08x) => ", \
mmx_trace.d[1], mmx_trace.d[0]); \
__asm__ __volatile__ (#op " %0, %%" #reg \
: /* nothing */ \
- : "X" (mem)); \
+ : "m" (mem)); \
__asm__ __volatile__ ("movq %%" #reg ", %0" \
- : "=X" (mmx_trace) \
+ : "=m" (mmx_trace) \
: /* nothing */ ); \
fprintf(stderr, #reg "=0x%08x%08x\n", \
mmx_trace.d[1], mmx_trace.d[0]); \
@@ -290,7 +290,7 @@ mmx_ok(void)
{ \
mmx_t mmx_trace; \
__asm__ __volatile__ ("movq %%" #reg ", %0" \
- : "=X" (mmx_trace) \
+ : "=m" (mmx_trace) \
: /* nothing */ ); \
fprintf(stderr, #op "_r2m(" #reg "=0x%08x%08x, ", \
mmx_trace.d[1], mmx_trace.d[0]); \
@@ -298,7 +298,7 @@ mmx_ok(void)
fprintf(stderr, #mem "=0x%08x%08x) => ", \
mmx_trace.d[1], mmx_trace.d[0]); \
__asm__ __volatile__ (#op " %%" #reg ", %0" \
- : "=X" (mem) \
+ : "=m" (mem) \
: /* nothing */ ); \
mmx_trace = (mem); \
fprintf(stderr, #mem "=0x%08x%08x\n", \
@@ -338,8 +338,8 @@ mmx_ok(void)
__asm__ __volatile__ ("movq %0, %%mm0\n\t" \
#op " %1, %%mm0\n\t" \
"movq %%mm0, %0" \
- : "=X" (memd) \
- : "X" (mems)); \
+ : "=m" (memd) \
+ : "m" (mems)); \
mmx_trace = (memd); \
fprintf(stderr, #memd "=0x%08x%08x\n", \
mmx_trace.d[1], mmx_trace.d[0]); \
@@ -353,16 +353,16 @@ mmx_ok(void)
#define mmx_i2r(op, imm, reg) \
__asm__ __volatile__ (#op " %0, %%" #reg \
: /* nothing */ \
- : "X" (imm) )
+ : "i" (imm) )
#define mmx_m2r(op, mem, reg) \
__asm__ __volatile__ (#op " %0, %%" #reg \
: /* nothing */ \
- : "X" (mem))
+ : "m" (mem))
#define mmx_r2m(op, reg, mem) \
__asm__ __volatile__ (#op " %%" #reg ", %0" \
- : "=X" (mem) \
+ : "=m" (mem) \
: /* nothing */ )
#define mmx_r2r(op, regs, regd) \
@@ -372,8 +372,8 @@ mmx_ok(void)
__asm__ __volatile__ ("movq %0, %%mm0\n\t" \
#op " %1, %%mm0\n\t" \
"movq %%mm0, %0" \
- : "=X" (memd) \
- : "X" (mems))
+ : "=m" (memd) \
+ : "m" (mems))
#endif