Hello community,
here is the log from the commit of package libdv
checked in at Mon Aug 6 23:10:44 CEST 2007.
--------
--- libdv/libdv.changes 2006-09-20 16:26:58.000000000 +0200
+++ /mounts/work_src_done/STABLE/libdv/libdv.changes 2007-08-06 16:42:26.000000000 +0200
@@ -1,0 +2,8 @@
+Mon Aug 6 16:39:35 CEST 2007 - olh@suse.de
+
+- update to version 1.0.0
+ split libdv4 package which contains only libraries
+ remove unused update-desktop-files
+ build parallel
+
+-------------------------------------------------------------------
Old:
----
libdv-0.104.tar.bz2
libdv-cvsfixes.patch
libdv.patch
libdv-warnings.patch
non_x86-reorder_block.patch
omit-excessive-warnings.patch
New:
----
libdv-1.0.0.tar.bz2
libdv.non_x86-reorder_block.patch
libdv.omit-excessive-warnings.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libdv.spec ++++++
--- /var/tmp/diff_new_pack.Zx1999/_old 2007-08-06 23:09:41.000000000 +0200
+++ /var/tmp/diff_new_pack.Zx1999/_new 2007-08-06 23:09:41.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package libdv (Version 0.104)
+# spec file for package libdv (Version 1.0.0)
#
-# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -11,22 +11,19 @@
# norootforbuild
Name: libdv
-BuildRequires: SDL-devel gtk1-compat-devel libstdc++-devel popt-devel update-desktop-files
+BuildRequires: SDL-devel gtk1-compat-devel libstdc++-devel popt-devel
URL: http://libdv.sourceforge.net/
-License: GPL
+License: GPL v2 or later
Group: Development/Libraries/Other
Autoreqprov: on
-Version: 0.104
-Release: 27
+Version: 1.0.0
+Release: 1
Summary: The Quasar DV Codec
Source: %name-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Patch: libdv.patch
-Patch1: libdv-cvsfixes.patch
-Patch2: omit-excessive-warnings.patch
-Patch3: non_x86-reorder_block.patch
+Patch2: libdv.omit-excessive-warnings.patch
+Patch3: libdv.non_x86-reorder_block.patch
Patch4: libdv-filesizecheck.patch
-Patch5: libdv-warnings.patch
%description
The Quasar DV codec (libdv) is a software codec for DV video, the
@@ -45,10 +42,31 @@
Erik Walthinsen
Charles 'Buck' Krasic
+%package -n libdv4
+Group: Development/Libraries/Other
+Summary: The Quasar DV Codec
+
+%description -n libdv4
+The Quasar DV codec (libdv) is a software codec for DV video, the
+encoding format used by most digital camcorders, typically those that
+support the IEEE 1394 (FireWire or i.Link) interface. Libdv was
+developed according to the official standards for DV video: IEC 61834
+and SMPTE 314M.
+
+There are two sample applications included with libdv: playdv and
+encode.
+
+
+
+Authors:
+--------
+ Erik Walthinsen
+ Charles 'Buck' Krasic
+
%package devel
Group: Development/Libraries/Other
Summary: The Quasar DV codec
-Requires: libdv = %{version}
+Requires: libdv4 = %{version}
Requires: glibc-devel
%description devel
@@ -69,22 +87,20 @@
Charles 'Buck' Krasic
%prep
-%setup
-%patch
-%patch1 -p1
+%setup -q
%patch2 -p1
%patch3 -p1
%patch4 -p1
-%patch5
%build
+autoreconf -fi
CFLAGS="${RPM_OPT_FLAGS/O2/O3} -fomit-frame-pointer" \
./configure \
--prefix=/usr \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--enable-sdl
-make
+make %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
@@ -92,18 +108,19 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-%run_ldconfig
+%post -n libdv4 -p /sbin/ldconfig
-%postun
-%run_ldconfig
+%postun -n libdv4 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/*
-%{_libdir}/libdv.so.*
%doc %{_mandir}/man1/*.1.gz
+%files -n libdv4
+%defattr(-,root,root)
+%{_libdir}/libdv.so.*
+
%files devel
%defattr(-,root,root)
/usr/include/libdv
@@ -112,7 +129,12 @@
%{_libdir}/libdv.la
%{_libdir}/pkgconfig/libdv.pc
-%changelog -n libdv
+%changelog
+* Mon Aug 06 2007 - olh@suse.de
+- update to version 1.0.0
+ split libdv4 package which contains only libraries
+ remove unused update-desktop-files
+ build parallel
* Wed Sep 20 2006 - anosek@suse.cz
- fixed compiler warnings [#136823] (warnings.patch)
* Tue Mar 21 2006 - bk@suse.de
++++++ libdv-0.104.tar.bz2 -> libdv-1.0.0.tar.bz2 ++++++
++++ 35481 lines of diff (skipped)
++++++ libdv.non_x86-reorder_block.patch ++++++
This patch simply restores the older reorder_block() inner loop
-------------------------------------------------------------------
https://bugzilla.novell.com/show_bug.cgi?id=155889
Brent Casavant :
I submitted the following patch to libdv-dev@lists.sourceforge.net, and it is
currently pending acceptance.
Subject: [libdv-dev] [PATCH] Fix reorder_block() zigzag on non-x86
The reorder_block() zigzag behaves incorrectly in the !ARCH_X86 &&
!ARCH_X86_64 case. The current code fails to take into account the
effects of _dv_prepare_reorder_tables(), which changes the indexes
contained in the reorder_88[] and reorder_248[] arrays.
---
Restore older, known good, reorder_block() inner loop.
encode.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff -ru libdv-0.104-orig/libdv/encode.c libdv-0.104-fixed/libdv/encode.c
--- libdv-0.104-orig/libdv/encode.c 2004-11-16 21:36:30.000000000 -0600
+++ libdv-0.104-fixed/libdv/encode.c 2006-03-07 14:07:22.000000000 -0600
@@ -512,10 +512,9 @@
_dv_reorder_block_mmx_x86_64(bl->coeffs, reorder);
emms();
#else
- for (i = 0; i < 64; i++) {
- // *(unsigned short*) ((char*) zigzag + reorder[i])=bl->coeffs[i];
- zigzag[reorder[i] - 1] = bl->coeffs[i];
- }
+ for (i = 0; i < 64; i++)
+ *(unsigned short*) ((char*) zigzag + reorder[i])=bl->coeffs[i];
+
memcpy(bl->coeffs, zigzag, 64 * sizeof(dv_coeff_t));
#endif
}
++++++ libdv.omit-excessive-warnings.patch ++++++
# --- libdv-2006-01-15/ChangeLog 2006-01-15 22:23:15.000000000 +0100
# +++ libdv-2006-01-15-bk/ChangeLog 2006-02-13 20:36:58.000000000 +0100
# @@ -1,3 +1,7 @@
# +2006-02-13 Bernhard Kaindl
# + * audio.c: reduced excessive warning messages which caused
# + interrupted play on many streams due to excessive output
# +
# 2006-01-15 Dan Dennedy
# * encode.c: apply patch from Burkhard Plaum to use gcc
# destructor attribute to invoke dv_cleanup() when unloading
--- libdv-2006-01-15/libdv/audio.c 2006-02-13 18:45:35.000000000 +0100
+++ libdv-2006-01-15-bk/libdv/audio.c 2006-02-13 20:35:21.000000000 +0100
@@ -613,7 +613,7 @@ dv_decode_audio_block(dv_audio_t *dv_aud
* check if some or all samples in block failed
*/
if (full_failure) {
- if (dv_audio -> error_log) {
+ if (dv_audio -> error_log && full_failure != 1) {
if (dv_get_timestamp (dv_audio -> dv_decoder, err_msg1) &&
dv_get_recording_datetime (dv_audio -> dv_decoder, err_msg2)) {
fprintf (dv_audio -> error_log,
--- libdv-2006-01-15/libdv/dv.c 2004-10-20 05:49:24.000000000 +0200
+++ libdv-2006-01-15-bk/libdv/dv.c 2006-02-13 20:35:45.000000000 +0100
@@ -569,7 +569,7 @@ dv_decode_full_audio(dv_decoder_t *dv, c
} /* for */
if (dv -> audio -> sample_failure) {
- if (dv -> audio -> error_log) {
+ if (dv -> audio -> error_log && dv -> audio -> block_failure) {
fprintf (dv -> audio -> error_log,
"# audio block/sample failure for %d blocks, %d samples of %d\n",
dv -> audio -> block_failure,
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org