OBS User unknown 2007-07-26 23:53:59 +00:00 committed by Git OBS Bridge
parent 5d8d9c5691
commit ed84b7b80d
6 changed files with 65 additions and 40 deletions

View File

@ -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;

View File

@ -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
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:846ca37120779240f785240f1dded78be7f909cf5c4aa826b78c5791a381b3b6
size 281704

View 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);

View File

@ -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

View File

@ -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
# package are under the same license as the package itself.
#
@ -12,15 +12,14 @@
Name: libdvdread
URL: http://www.dtek.chalmers.se/groups/dvd/
License: GPL
License: GPL v2 or later
Group: Productivity/Multimedia/Other
Autoreqprov: on
Version: 0.9.6
Release: 2
Source0: http://www.dtek.chalmers.se/~dvd/libdvdread-%{version}.tar.bz2
Patch0: libdvdread-%{version}-gcc.patch
Version: 0.9.7
Release: 1
Source: libdvdread-%{version}.tar.bz2
Patch: libdvdread-strict-aliasing.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: A Library for Reading DVD Video Images
Summary: Library for Reading DVD Video Images
%description
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:
--------
Björn Englund <d4bjorn@dtek.chalmers.se>
@ -36,13 +53,13 @@ Authors:
Christian Wolff <scarabaeus@convergence.de>
%package devel
Summary: development environment for libdvdread
Summary: Development Environment for libdvdread
Group: Development/Libraries/C and C++
Requires: libdvdread
Requires: libdvdread3 = %{version}
%description devel
This package contains the include-files and static libraries for
libdvdread
libdvdread.
@ -58,28 +75,26 @@ Authors:
%patch
%build
%{?suse_update_config:%{suse_update_config -f }}
autoreconf --force --install
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
./configure --libdir=%{_libdir} --includedir=/usr/include
make
autoreconf -f -i
%configure
make %{?jobs:-j%jobs}
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%makeinstall
ln -sf /usr/share/doc/licenses/md5/$(md5sum COPYING | sed 's/ .*//') COPYING
%clean
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)
%{_libdir}/*.so.*
# ChangeLog is empty
%doc AUTHORS COPYING NEWS README
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
@ -88,7 +103,11 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.a
%{_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
- Cleanup superfluous BuildRequires
* Mon May 15 2006 - stark@suse.de