This commit is contained in:
commit
be9a08f697
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
libdvdnav-0.1.10.tar.bz2
Normal file
3
libdvdnav-0.1.10.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:10526f4ead1e067519675771a0a8c38d3eb1ec4a5f5bf7f30213acc9db186fcf
|
||||
size 396800
|
11
libdvdnav-strict-aliasing.patch
Normal file
11
libdvdnav-strict-aliasing.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/dvdread/Makefile.am
|
||||
+++ src/dvdread/Makefile.am
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
includedir = ${prefix}/include/dvdnav
|
||||
|
||||
-AM_CPPFLAGS = -DDVDNAV_COMPILE -I$(top_srcdir)/src/vm
|
||||
+AM_CPPFLAGS = -DDVDNAV_COMPILE -fno-strict-aliasing -I$(top_srcdir)/src/vm
|
||||
|
||||
noinst_LTLIBRARIES = libdvdread.la
|
||||
|
11
libdvdnav-strncat_overflow.patch
Normal file
11
libdvdnav-strncat_overflow.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- 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 */
|
60
libdvdnav.changes
Normal file
60
libdvdnav.changes
Normal file
@ -0,0 +1,60 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 13:50:43 CET 2007 - hvogel@suse.de
|
||||
|
||||
- fix possible strncat overflow
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:37:26 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 2 16:44:17 CET 2005 - hvogel@suse.de
|
||||
|
||||
- add -fno-strict-aliasing to CFLAGS
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 3 14:05:50 CEST 2004 - hvogel@suse.de
|
||||
|
||||
- update to version 0.1.10
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 12 12:16:47 CET 2004 - adrian@suse.de
|
||||
|
||||
- fix build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 11 10:01:01 CET 2004 - adrian@suse.de
|
||||
|
||||
- add %defattr and %run_ldconfig
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 23 14:41:41 CEST 2003 - stepan@suse.de
|
||||
|
||||
- update to 0.1.9, needed by gnome 2.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 1 16:24:28 CEST 2003 - ro@suse.de
|
||||
|
||||
- add aclocal file to devel filelist
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 14 13:29:56 CET 2003 - stepan@suse.de
|
||||
|
||||
- update to v0.1.4, needed by vdr-plugins
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 2 19:17:40 CET 2003 - adrian@suse.de
|
||||
|
||||
- fix requires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 2 23:50:35 CET 2002 - stepan@suse.de
|
||||
|
||||
- include dvdnavconfig (needed by MPlayer et al)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 21 16:24:26 CEST 2002 - stepan@suse.de
|
||||
|
||||
- initial release
|
||||
|
25
libdvdnav.diff
Normal file
25
libdvdnav.diff
Normal file
@ -0,0 +1,25 @@
|
||||
--- configure.ac
|
||||
+++ configure.ac 2004/01/12 11:14:06
|
||||
@@ -158,21 +158,17 @@
|
||||
dnl ---------------------------------------------
|
||||
dnl Get where .m4 should be installed.
|
||||
dnl ---------------------------------------------
|
||||
-case "`id`" in
|
||||
- uid=0\(* )
|
||||
AC_MSG_CHECKING(for aclocal directory)
|
||||
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
|
||||
ACLOCAL_DIR="`eval $ACLOCAL --print-ac-dir`"
|
||||
AC_MSG_RESULT($ACLOCAL_DIR)
|
||||
else
|
||||
- ACLOCAL_DIR="/usr/local/share/aclocal"
|
||||
+ ACLOCAL_DIR="/usr/share/aclocal"
|
||||
AC_MSG_RESULT(none - will be installed in $ACLOCAL_DIR)
|
||||
fi
|
||||
escapedprefix="`echo $prefix | sed -e 's/\\//\\\\\//g'`"
|
||||
ACLOCAL_DIR="`echo $ACLOCAL_DIR|sed -e 's/^'$escapedprefix/'\${prefix}'/`"
|
||||
AC_SUBST(ACLOCAL_DIR)
|
||||
- ;;
|
||||
-esac
|
||||
AM_CONDITIONAL(INSTALL_M4, test x"$ACLOCAL_DIR" != "x")
|
||||
|
||||
dnl ---------------------------------------------
|
121
libdvdnav.spec
Normal file
121
libdvdnav.spec
Normal file
@ -0,0 +1,121 @@
|
||||
#
|
||||
# spec file for package libdvdnav (Version 0.1.10)
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: libdvdnav
|
||||
BuildRequires: libdvdread-devel
|
||||
URL: http://dvd.sourceforge.net/
|
||||
License: GNU General Public License (GPL)
|
||||
Group: Productivity/Multimedia/Other
|
||||
Autoreqprov: on
|
||||
Version: 0.1.10
|
||||
Release: 35
|
||||
Source0: %name-%version.tar.bz2
|
||||
Patch: %name.diff
|
||||
Patch1: libdvdnav-strict-aliasing.patch
|
||||
Patch2: libdvdnav-strncat_overflow.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: A DVD Navigation Library
|
||||
|
||||
%description
|
||||
This library contains functions to display DVD video menus.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Daniel Caujolle-Bert <segfault@club-internet.fr>
|
||||
Thomas Vander Stichele <thomas@apestaart.org>
|
||||
Rich Wareham <richwareham@users.sourceforge.net>
|
||||
Kees Cook <kees@outflux.net>
|
||||
|
||||
%package devel
|
||||
Summary: DVD navigation library
|
||||
Group: Productivity/Multimedia/Other
|
||||
Requires: libdvdnav libdvdread-devel
|
||||
|
||||
%description devel
|
||||
This library contains functions to display DVD video menus.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Daniel Caujolle-Bert <segfault@club-internet.fr>
|
||||
Thomas Vander Stichele <thomas@apestaart.org>
|
||||
Rich Wareham <richwareham@users.sourceforge.net>
|
||||
Kees Cook <kees@outflux.net>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch
|
||||
%patch1
|
||||
%patch2
|
||||
|
||||
%build
|
||||
%{?suse_update_config:%{suse_update_config -f }}
|
||||
autoreconf --force --install
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
./configure --prefix=/usr --libdir=%{_libdir} --includedir=/usr/include
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
%run_ldconfig
|
||||
|
||||
%postun
|
||||
%run_ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/*.so.*
|
||||
%doc AUTHORS COPYING NEWS README
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
/usr/bin/*
|
||||
/usr/include/*
|
||||
/usr/share/aclocal/*.m4
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/*.la
|
||||
|
||||
%changelog -n libdvdnav
|
||||
* Wed Jan 10 2007 - hvogel@suse.de
|
||||
- fix possible strncat overflow
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Wed Nov 02 2005 - hvogel@suse.de
|
||||
- add -fno-strict-aliasing to CFLAGS
|
||||
* Fri Sep 03 2004 - hvogel@suse.de
|
||||
- update to version 0.1.10
|
||||
* Mon Jan 12 2004 - adrian@suse.de
|
||||
- fix build
|
||||
* Sun Jan 11 2004 - adrian@suse.de
|
||||
- add %%defattr and %%run_ldconfig
|
||||
* Thu Oct 23 2003 - stepan@suse.de
|
||||
- update to 0.1.9, needed by gnome 2.4
|
||||
* Sun Jun 01 2003 - ro@suse.de
|
||||
- add aclocal file to devel filelist
|
||||
* Fri Feb 14 2003 - stepan@suse.de
|
||||
- update to v0.1.4, needed by vdr-plugins
|
||||
* Sun Feb 02 2003 - adrian@suse.de
|
||||
- fix requires
|
||||
* Sat Nov 02 2002 - stepan@suse.de
|
||||
- include dvdnavconfig (needed by MPlayer et al)
|
||||
* Mon Oct 21 2002 - stepan@suse.de
|
||||
- initial release
|
Loading…
Reference in New Issue
Block a user