From 6d4f6a5efa24c0ac87c84422553b8e20735326ed3b46b85327007c19b4f58eed Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 8 Jul 2008 19:36:24 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdvdnav?expand=0&rev=2 --- libdvdnav-0.1.10.tar.bz2 | 3 -- libdvdnav-4.1.2.tar.bz2 | 3 ++ libdvdnav-strncat_overflow.patch | 11 ------ libdvdnav.changes | 18 +++++++++ libdvdnav.spec | 68 +++++++++++++++++++------------- 5 files changed, 62 insertions(+), 41 deletions(-) delete mode 100644 libdvdnav-0.1.10.tar.bz2 create mode 100644 libdvdnav-4.1.2.tar.bz2 delete mode 100644 libdvdnav-strncat_overflow.patch diff --git a/libdvdnav-0.1.10.tar.bz2 b/libdvdnav-0.1.10.tar.bz2 deleted file mode 100644 index f4d8d1c..0000000 --- a/libdvdnav-0.1.10.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:10526f4ead1e067519675771a0a8c38d3eb1ec4a5f5bf7f30213acc9db186fcf -size 396800 diff --git a/libdvdnav-4.1.2.tar.bz2 b/libdvdnav-4.1.2.tar.bz2 new file mode 100644 index 0000000..d58005c --- /dev/null +++ b/libdvdnav-4.1.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f97c21cff640c62550291e0c65472171bd3af498dd0ba226a4a8b076af37814e +size 157063 diff --git a/libdvdnav-strncat_overflow.patch b/libdvdnav-strncat_overflow.patch deleted file mode 100644 index 6191c90..0000000 --- a/libdvdnav-strncat_overflow.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- src/remap.c -+++ src/remap.c -@@ -192,7 +192,7 @@ - home = getenv("HOME"); assert(home); - strncpy(fname, home, sizeof(fname)); - strncat(fname, "/.dvdnav/", sizeof(fname)); -- strncat(fname, title, sizeof(fname)); -+ strncat(fname, title, sizeof(fname)-strlen(fname)-1); - strncat(fname, ".map", sizeof(fname)); - - /* Open the map file */ diff --git a/libdvdnav.changes b/libdvdnav.changes index 40e4f26..b79e5e1 100644 --- a/libdvdnav.changes +++ b/libdvdnav.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Tue Jul 1 13:47:30 CEST 2008 - hvogel@suse.de + +- update to version 4.1.2, switching to version from mplayerhq + * multiple build system fixes + * added dvdnav_describe_title_chapters(title) to get title + and chapters duration + * added dvdnav_audio_stream_channels() to return number + of channels + * fixed dvdnav_time_search() in multi-angle dvds (but it still + needs improvements) + * added dvdnav_audio_stream_format() to identify the codec used + in audio streams + * starting DVD playback at specific title/part positions with + dvdnav_{title,part}_play() works again + * fixed error "Expected NAV packet but none found." occuring + sometimes on resume from menu + ------------------------------------------------------------------- Wed Jan 10 13:50:43 CET 2007 - hvogel@suse.de diff --git a/libdvdnav.spec b/libdvdnav.spec index 91063c7..91d730e 100644 --- a/libdvdnav.spec +++ b/libdvdnav.spec @@ -1,7 +1,7 @@ # -# spec file for package libdvdnav (Version 0.1.10) +# spec file for package libdvdnav (Version 4.1.2) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2008 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. # @@ -10,20 +10,20 @@ # norootforbuild +Url: http://dvd.sourceforge.net/ + Name: libdvdnav -BuildRequires: libdvdread-devel -URL: http://dvd.sourceforge.net/ -License: GNU General Public License (GPL) +License: GPL v2 or later Group: Productivity/Multimedia/Other -Autoreqprov: on -Version: 0.1.10 -Release: 35 -Source0: %name-%version.tar.bz2 -Patch: %name.diff +AutoReqProv: on +Version: 4.1.2 +Release: 1 +Source0: http://www1.mplayerhq.hu/MPlayer/releases/dvdnav/%name-%version.tar.bz2 +Patch: libdvdnav.diff Patch1: libdvdnav-strict-aliasing.patch -Patch2: libdvdnav-strncat_overflow.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: A DVD Navigation Library +BuildRequires: libdvdread-devel %description This library contains functions to display DVD video menus. @@ -38,6 +38,7 @@ Authors: Kees Cook %package devel +License: GPL v2 or later Summary: DVD navigation library Group: Productivity/Multimedia/Other Requires: libdvdnav libdvdread-devel @@ -58,11 +59,9 @@ Authors: %setup -q %patch %patch1 -%patch2 %build -%{?suse_update_config:%{suse_update_config -f }} -autoreconf --force --install +./autogen.sh export CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir} --includedir=/usr/include make @@ -94,28 +93,43 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/*.so %{_libdir}/*.la -%changelog -n libdvdnav -* Wed Jan 10 2007 - hvogel@suse.de +%changelog +* Tue Jul 01 2008 hvogel@suse.de +- update to version 4.1.2, switching to version from mplayerhq + * multiple build system fixes + * added dvdnav_describe_title_chapters(title) to get title + and chapters duration + * added dvdnav_audio_stream_channels() to return number + of channels + * fixed dvdnav_time_search() in multi-angle dvds (but it still + needs improvements) + * added dvdnav_audio_stream_format() to identify the codec used + in audio streams + * starting DVD playback at specific title/part positions with + dvdnav_{title,part}_play() works again + * fixed error "Expected NAV packet but none found." occuring + sometimes on resume from menu +* Wed Jan 10 2007 hvogel@suse.de - fix possible strncat overflow -* Wed Jan 25 2006 - mls@suse.de +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Wed Nov 02 2005 - hvogel@suse.de +* Wed Nov 02 2005 hvogel@suse.de - add -fno-strict-aliasing to CFLAGS -* Fri Sep 03 2004 - hvogel@suse.de +* Fri Sep 03 2004 hvogel@suse.de - update to version 0.1.10 -* Mon Jan 12 2004 - adrian@suse.de +* Mon Jan 12 2004 adrian@suse.de - fix build -* Sun Jan 11 2004 - adrian@suse.de +* Sun Jan 11 2004 adrian@suse.de - add %%defattr and %%run_ldconfig -* Thu Oct 23 2003 - stepan@suse.de +* Thu Oct 23 2003 stepan@suse.de - update to 0.1.9, needed by gnome 2.4 -* Sun Jun 01 2003 - ro@suse.de +* Sun Jun 01 2003 ro@suse.de - add aclocal file to devel filelist -* Fri Feb 14 2003 - stepan@suse.de +* Fri Feb 14 2003 stepan@suse.de - update to v0.1.4, needed by vdr-plugins -* Sun Feb 02 2003 - adrian@suse.de +* Sun Feb 02 2003 adrian@suse.de - fix requires -* Sat Nov 02 2002 - stepan@suse.de +* Sun Nov 03 2002 stepan@suse.de - include dvdnavconfig (needed by MPlayer et al) -* Mon Oct 21 2002 - stepan@suse.de +* Mon Oct 21 2002 stepan@suse.de - initial release