This commit is contained in:
parent
5d8d9c5691
commit
ed84b7b80d
@ -1,12 +0,0 @@
|
|||||||
--- dvdread/ifo_read.c
|
|
||||||
+++ dvdread/ifo_read.c
|
|
||||||
@@ -1369,7 +1369,8 @@
|
|
||||||
|
|
||||||
static int ifoRead_C_ADT_internal(ifo_handle_t *ifofile,
|
|
||||||
c_adt_t *c_adt, unsigned int sector) {
|
|
||||||
- int i, info_length;
|
|
||||||
+ unsigned i;
|
|
||||||
+ int info_length;
|
|
||||||
|
|
||||||
if(!DVDFileSeek_(ifofile->file, sector * DVD_BLOCK_LEN))
|
|
||||||
return 0;
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:78840be7e89be6ad5799872d7647b14da9490935a39e92f4cfcd9500812b1b93
|
|
||||||
size 275202
|
|
3
libdvdread-0.9.7.tar.bz2
Normal file
3
libdvdread-0.9.7.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:846ca37120779240f785240f1dded78be7f909cf5c4aa826b78c5791a381b3b6
|
||||||
|
size 281704
|
11
libdvdread-strict-aliasing.patch
Normal file
11
libdvdread-strict-aliasing.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- dvdread/nav_print.c
|
||||||
|
+++ dvdread/nav_print.c
|
||||||
|
@@ -72,7 +72,7 @@
|
||||||
|
printf("pci_gi:\n");
|
||||||
|
printf("nv_pck_lbn 0x%08x\n", pci_gi->nv_pck_lbn);
|
||||||
|
printf("vobu_cat 0x%04x\n", pci_gi->vobu_cat);
|
||||||
|
- printf("vobu_uop_ctl 0x%08x\n", *(uint32_t*)&pci_gi->vobu_uop_ctl);
|
||||||
|
+ printf("vobu_uop_ctl 0x%08x\n", pci_gi->vobu_uop_ctl);
|
||||||
|
printf("vobu_s_ptm 0x%08x\n", pci_gi->vobu_s_ptm);
|
||||||
|
printf("vobu_e_ptm 0x%08x\n", pci_gi->vobu_e_ptm);
|
||||||
|
printf("vobu_se_e_ptm 0x%08x\n", pci_gi->vobu_se_e_ptm);
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 25 15:28:15 CEST 2007 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Updated to version 0.9.7:
|
||||||
|
* Properly call dvdinput_free().
|
||||||
|
- Name package according to shared library packaging policy.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 12 10:39:31 CEST 2006 - kukuk@suse.de
|
Mon Jun 12 10:39:31 CEST 2006 - kukuk@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libdvdread (Version 0.9.6)
|
# spec file for package libdvdread (Version 0.9.7)
|
||||||
#
|
#
|
||||||
# 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
|
# This file and all modifications and additions to the pristine
|
||||||
# package are under the same license as the package itself.
|
# package are under the same license as the package itself.
|
||||||
#
|
#
|
||||||
@ -12,15 +12,14 @@
|
|||||||
|
|
||||||
Name: libdvdread
|
Name: libdvdread
|
||||||
URL: http://www.dtek.chalmers.se/groups/dvd/
|
URL: http://www.dtek.chalmers.se/groups/dvd/
|
||||||
License: GPL
|
License: GPL v2 or later
|
||||||
Group: Productivity/Multimedia/Other
|
Group: Productivity/Multimedia/Other
|
||||||
Autoreqprov: on
|
Version: 0.9.7
|
||||||
Version: 0.9.6
|
Release: 1
|
||||||
Release: 2
|
Source: libdvdread-%{version}.tar.bz2
|
||||||
Source0: http://www.dtek.chalmers.se/~dvd/libdvdread-%{version}.tar.bz2
|
Patch: libdvdread-strict-aliasing.patch
|
||||||
Patch0: libdvdread-%{version}-gcc.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Summary: A Library for Reading DVD Video Images
|
Summary: Library for Reading DVD Video Images
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains shared libraries for accessing DVD images (this
|
This package contains shared libraries for accessing DVD images (this
|
||||||
@ -28,6 +27,24 @@ package does not contain DeCSS algorithms).
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Björn Englund <d4bjorn@dtek.chalmers.se>
|
||||||
|
Håkan Hjort <d95hjort@dtek.chalmers.se>
|
||||||
|
Billy Biggs <vektor@dumbterm.net>
|
||||||
|
Christian Wolff <scarabaeus@convergence.de>
|
||||||
|
|
||||||
|
%package -n libdvdread3
|
||||||
|
Summary: Library for Reading DVD Video Images
|
||||||
|
Group: Productivity/Multimedia/Other
|
||||||
|
Obsoletes: %{name} <= %{version}
|
||||||
|
|
||||||
|
%description -n libdvdread3
|
||||||
|
This package contains shared libraries for accessing DVD images (this
|
||||||
|
package does not contain DeCSS algorithms).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Björn Englund <d4bjorn@dtek.chalmers.se>
|
Björn Englund <d4bjorn@dtek.chalmers.se>
|
||||||
@ -36,13 +53,13 @@ Authors:
|
|||||||
Christian Wolff <scarabaeus@convergence.de>
|
Christian Wolff <scarabaeus@convergence.de>
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: development environment for libdvdread
|
Summary: Development Environment for libdvdread
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libdvdread
|
Requires: libdvdread3 = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains the include-files and static libraries for
|
This package contains the include-files and static libraries for
|
||||||
libdvdread
|
libdvdread.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -58,28 +75,26 @@ Authors:
|
|||||||
%patch
|
%patch
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{?suse_update_config:%{suse_update_config -f }}
|
autoreconf -f -i
|
||||||
autoreconf --force --install
|
%configure
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
make %{?jobs:-j%jobs}
|
||||||
./configure --libdir=%{_libdir} --includedir=/usr/include
|
|
||||||
make
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%makeinstall
|
||||||
mkdir -p $RPM_BUILD_ROOT
|
ln -sf /usr/share/doc/licenses/md5/$(md5sum COPYING | sed 's/ .*//') COPYING
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -n libdvdread3 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -n libdvdread3 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files -n libdvdread3
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/*.so.*
|
# ChangeLog is empty
|
||||||
%doc AUTHORS COPYING NEWS README
|
%doc AUTHORS COPYING NEWS README
|
||||||
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -88,7 +103,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
%{_libdir}/*.la
|
%{_libdir}/*.la
|
||||||
|
|
||||||
%changelog -n libdvdread
|
%changelog
|
||||||
|
* Wed Jul 25 2007 - sbrabec@suse.cz
|
||||||
|
- Updated to version 0.9.7:
|
||||||
|
* Properly call dvdinput_free().
|
||||||
|
- Name package according to shared library packaging policy.
|
||||||
* Mon Jun 12 2006 - kukuk@suse.de
|
* Mon Jun 12 2006 - kukuk@suse.de
|
||||||
- Cleanup superfluous BuildRequires
|
- Cleanup superfluous BuildRequires
|
||||||
* Mon May 15 2006 - stark@suse.de
|
* Mon May 15 2006 - stark@suse.de
|
||||||
|
Loading…
Reference in New Issue
Block a user