OBS User unknown 2007-01-15 23:22:37 +00:00 committed by Git OBS Bridge
commit ffbcd50628
10 changed files with 459 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

15
configure.dif Normal file
View File

@ -0,0 +1,15 @@
--- configure.in-dist 2004-09-23 15:30:58.000000000 +0200
+++ configure.in 2005-07-07 15:41:01.000000000 +0200
@@ -45,9 +45,9 @@
else
case $host in
*-*-linux*)
- DEBUG="-g -Wall -fsigned-char"
- CFLAGS="-O20 -ffast-math -fsigned-char"
- PROFILE="-Wall -W -pg -g -O20 -ffast-math -fsigned-char"
+ DEBUG="-g -Wall"
+ CFLAGS="-ffast-math"
+ PROFILE="-Wall -W -pg -g -ffast-math"
;;
sparc-sun-*)
DEBUG="-g -Wall -fsigned-char -mv8"

14
lib64.dif Normal file
View File

@ -0,0 +1,14 @@
--- ogg.m4
+++ ogg.m4 2002/06/10 16:59:51
@@ -17,9 +17,9 @@
if test "x$ogg_libraries" != "x" ; then
OGG_LIBS="-L$ogg_libraries"
elif test "x$ogg_prefix" != "x" ; then
- OGG_LIBS="-L$ogg_prefix/lib"
+ OGG_LIBS="-L$ogg_prefix/lib64"
elif test "x$prefix" != "xNONE" -a "x$prefix" != "x/usr"; then
- OGG_LIBS="-L$prefix/lib"
+ OGG_LIBS="-L$prefix/lib64"
fi
OGG_LIBS="$OGG_LIBS -logg"

3
libogg-1.1.3.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6187104dc19c5ceddb8ebc7e76ffada281e06cc0417276633834a9967f15140e
size 296735

View File

@ -0,0 +1,49 @@
--- src/framing.c-dist 2005-07-07 16:04:38.000000000 +0200
+++ src/framing.c 2005-07-07 16:04:49.000000000 +0200
@@ -1294,7 +1294,7 @@ void test_pack(const int *pl, const int
if(ret<0)continue;
/* got a page. Happy happy. Verify that it's good. */
- fprintf(stderr,"(%ld), ",pageout);
+ fprintf(stderr,"(%ld), ",(long)pageout);
check_page(data+deptr,headers[pageout],&og_de);
deptr+=og_de.body_len;
--- src/bitwise.c-dist 2005-07-07 16:03:37.000000000 +0200
+++ src/bitwise.c 2005-07-07 16:04:17.000000000 +0200
@@ -654,7 +654,7 @@ int main(void){
fprintf(stderr,"ok.");
fprintf(stderr,"\nTesting read past end (LSb): ");
- oggpack_readinit(&r,"\0\0\0\0\0\0\0\0",8);
+ oggpack_readinit(&r,(unsigned char *)"\0\0\0\0\0\0\0\0",8);
for(i=0;i<64;i++){
if(oggpack_read(&r,1)!=0){
fprintf(stderr,"failed; got -1 prematurely.\n");
@@ -666,7 +666,7 @@ int main(void){
fprintf(stderr,"failed; read past end without -1.\n");
exit(1);
}
- oggpack_readinit(&r,"\0\0\0\0\0\0\0\0",8);
+ oggpack_readinit(&r,(unsigned char *)"\0\0\0\0\0\0\0\0",8);
if(oggpack_read(&r,30)!=0 || oggpack_read(&r,16)!=0){
fprintf(stderr,"failed 2; got -1 prematurely.\n");
exit(1);
@@ -740,7 +740,7 @@ int main(void){
fprintf(stderr,"ok.");
fprintf(stderr,"\nTesting read past end (MSb): ");
- oggpackB_readinit(&r,"\0\0\0\0\0\0\0\0",8);
+ oggpackB_readinit(&r,(unsigned char *)"\0\0\0\0\0\0\0\0",8);
for(i=0;i<64;i++){
if(oggpackB_read(&r,1)!=0){
fprintf(stderr,"failed; got -1 prematurely.\n");
@@ -752,7 +752,7 @@ int main(void){
fprintf(stderr,"failed; read past end without -1.\n");
exit(1);
}
- oggpackB_readinit(&r,"\0\0\0\0\0\0\0\0",8);
+ oggpackB_readinit(&r,(unsigned char *)"\0\0\0\0\0\0\0\0",8);
if(oggpackB_read(&r,30)!=0 || oggpackB_read(&r,16)!=0){
fprintf(stderr,"failed 2; got -1 prematurely.\n");
exit(1);

154
libogg.changes Normal file
View File

@ -0,0 +1,154 @@
-------------------------------------------------------------------
Wed Jan 25 21:37:36 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Wed Jan 11 16:47:15 CET 2006 - tiwai@suse.de
- compile with -fstack-protector.
-------------------------------------------------------------------
Fri Dec 2 16:06:15 CET 2005 - tiwai@suse.de
- updated to version 1.1.3.
-------------------------------------------------------------------
Sun Sep 4 06:42:49 CEST 2005 - aj@suse.de
- Revert last patch, wrong package.
-------------------------------------------------------------------
Sat Sep 3 16:36:22 CEST 2005 - aj@suse.de
- compile with -fno-strict-aliasing (#115135).
-------------------------------------------------------------------
Thu Jul 7 15:50:28 CEST 2005 - tiwai@suse.de
- remove -fsigned-char option (#93878).
- fix misc compile warnings.
-------------------------------------------------------------------
Wed Nov 24 17:27:57 CET 2004 - tiwai@suse.de
- updated to version 1.1.2.
-------------------------------------------------------------------
Sat Aug 21 19:21:12 CEST 2004 - schwab@suse.de
- Fix 64bit bugs.
-------------------------------------------------------------------
Wed Jan 21 18:34:21 CET 2004 - tiwai@suse.de
- fixed quoting in m4 files.
-------------------------------------------------------------------
Fri Jan 9 17:47:41 CET 2004 - adrian@suse.de
- add %run_ldconfig to %postun
-------------------------------------------------------------------
Fri Jan 9 16:54:18 CET 2004 - tiwai@suse.de
- updated to version 1.1.
- added pkgconfig to neededforbuild.
-------------------------------------------------------------------
Thu Jan 9 18:35:03 CET 2003 - kukuk@suse.de
- Add *.la files to -devel filelist
-------------------------------------------------------------------
Thu Sep 19 15:09:38 CEST 2002 - tiwai@suse.de
- fixed the conflict between the last ogg.m4 fix and 64bit
fix patches.
- moved devel documents under %{_docdir}/libogg-devel.
-------------------------------------------------------------------
Tue Sep 17 17:25:34 CEST 2002 - pthomas@suse.de
- ogg.m4:
- If prefix is /usr, don't add -I$prefix/include to OGG_CFLAGS
and don't add -L$prefix/lib to OGG_LIBS. While the latter is
just unnecessary, the former can be dangerous and will make
gcc warn.
- Fix test for prefix.
-------------------------------------------------------------------
Mon Aug 12 13:40:40 CEST 2002 - tiwai@suse.de
- added Requires %{name} = %{version} to devel package.
-------------------------------------------------------------------
Tue Jul 23 16:49:01 CEST 2002 - tiwai@suse.de
- provides the backward compatible m4 file.
-------------------------------------------------------------------
Mon Jul 22 10:45:56 CEST 2002 - tiwai@suse.de
- updated to version 1.0.
- clean up the spec file.
- added %run_ldconfig.
-------------------------------------------------------------------
Mon Jun 10 19:01:10 CEST 2002 - adrian@suse.de
- fix ogg.m4 for lib64 systems
-------------------------------------------------------------------
Thu Apr 18 11:54:55 CEST 2002 - kukuk@suse.de
- Add --libdir to configure to compile on x86_64
-------------------------------------------------------------------
Thu Feb 7 11:08:39 CET 2002 - tiwai@suse.de
- fixed compile on s390x.
-------------------------------------------------------------------
Fri Jan 4 11:43:55 CET 2002 - tiwai@suse.de
- updated to RC3.
sync with cvs 2002.01.04.
-------------------------------------------------------------------
Tue Dec 4 11:23:28 CET 2001 - tiwai@suse.de
- sync with cvs 2001.12.04.
-------------------------------------------------------------------
Wed Oct 24 17:39:09 CEST 2001 - tiwai@suse.de
- sync with cvs 20011024.
+ fixed documents
- removed Requires to libogg from devel.
-------------------------------------------------------------------
Mon Aug 13 16:56:55 CEST 2001 - tiwai@suse.de
- updated to 1.0rc2 from cvs 20010813.
-------------------------------------------------------------------
Thu Jun 7 10:22:13 CEST 2001 - tiwai@suse.de
- fixed build with the recent libtool.
-------------------------------------------------------------------
Mon Mar 12 15:21:41 CET 2001 - tiwai@suse.de
- corrected copyright in spec file.
-------------------------------------------------------------------
Mon Feb 26 17:07:36 CET 2001 - tiwai@suse.de
- Updated to 1.0beta4.
-------------------------------------------------------------------
Wed Jan 31 12:22:39 CET 2001 - tiwai@suse.de
- Initial version: 1.0beta3.

171
libogg.spec Normal file
View File

@ -0,0 +1,171 @@
#
# spec file for package libogg (Version 1.1.3)
#
# Copyright (c) 2006 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: libogg
BuildRequires: pkgconfig
Summary: Ogg Bitstream Library
Version: 1.1.3
Release: 2
Group: System/Libraries
License: BSD
URL: http://www.vorbis.com/
Source: %{name}-%{version}.tar.bz2
Patch: configure.dif
Patch1: lib64.dif
Patch2: m4.diff
Patch3: libogg-compile-warning-fix.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Libogg is a library for manipulating ogg bitstreams. It handles both
making ogg bitstreams and getting packets from ogg bitstreams.
Authors:
--------
Monty <monty@xiph.org>
Xiphophorus Company <team@xiph.org>
%package devel
Summary: Include Files and Libraries mandatory for Development.
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
Authors:
--------
Monty <monty@xiph.org>
Xiphophorus Company <team@xiph.org>
%prep
%setup
%patch
%patch2
%patch3
if [ "%_lib" == "lib64" ]; then
%patch1
fi
%build
%{?suse_update_config:%{suse_update_config -f}}
autoreconf --force --install
CFLAGS="$RPM_OPT_FLAGS -g -fstack-protector" \
./configure --prefix=%{_prefix} --libdir=%{_libdir}
make
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT docdir=%{_docdir}/%{name}-devel install
# create an old compatible m4 file
sed -e s/XIPH_PATH_OGG/AM_PATH_OGG/g < $RPM_BUILD_ROOT%{_datadir}/aclocal/ogg.m4 > $RPM_BUILD_ROOT%{_datadir}/aclocal/ogg-old.m4
%post
%run_ldconfig
%postun
%run_ldconfig
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS CHANGES COPYING README
%{_libdir}/lib*.so.*
%files devel
%defattr(-,root,root)
%doc %{_docdir}/%{name}-devel
%{_includedir}/ogg
%{_libdir}/lib*.a
%{_libdir}/lib*.so
%{_libdir}/lib*.la
%{_datadir}/aclocal/*.m4
%{_libdir}/pkgconfig/*.pc
%changelog -n libogg
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jan 11 2006 - tiwai@suse.de
- compile with -fstack-protector.
* Fri Dec 02 2005 - tiwai@suse.de
- updated to version 1.1.3.
* Sun Sep 04 2005 - aj@suse.de
- Revert last patch, wrong package.
* Sat Sep 03 2005 - aj@suse.de
- compile with -fno-strict-aliasing (#115135).
* Thu Jul 07 2005 - tiwai@suse.de
- remove -fsigned-char option (#93878).
- fix misc compile warnings.
* Wed Nov 24 2004 - tiwai@suse.de
- updated to version 1.1.2.
* Sat Aug 21 2004 - schwab@suse.de
- Fix 64bit bugs.
* Wed Jan 21 2004 - tiwai@suse.de
- fixed quoting in m4 files.
* Fri Jan 09 2004 - adrian@suse.de
- add %%run_ldconfig to %%postun
* Fri Jan 09 2004 - tiwai@suse.de
- updated to version 1.1.
- added pkgconfig to neededforbuild.
* Thu Jan 09 2003 - kukuk@suse.de
- Add *.la files to -devel filelist
* Thu Sep 19 2002 - tiwai@suse.de
- fixed the conflict between the last ogg.m4 fix and 64bit
fix patches.
- moved devel documents under %%{_docdir}/libogg-devel.
* Tue Sep 17 2002 - pthomas@suse.de
- ogg.m4:
- If prefix is /usr, don't add -I$prefix/include to OGG_CFLAGS
and don't add -L$prefix/lib to OGG_LIBS. While the latter is
just unnecessary, the former can be dangerous and will make
gcc warn.
- Fix test for prefix.
* Mon Aug 12 2002 - tiwai@suse.de
- added Requires %%{name} = %%{version} to devel package.
* Tue Jul 23 2002 - tiwai@suse.de
- provides the backward compatible m4 file.
* Mon Jul 22 2002 - tiwai@suse.de
- updated to version 1.0.
- clean up the spec file.
- added %%run_ldconfig.
* Mon Jun 10 2002 - adrian@suse.de
- fix ogg.m4 for lib64 systems
* Thu Apr 18 2002 - kukuk@suse.de
- Add --libdir to configure to compile on x86_64
* Thu Feb 07 2002 - tiwai@suse.de
- fixed compile on s390x.
* Fri Jan 04 2002 - tiwai@suse.de
- updated to RC3.
sync with cvs 2002.01.04.
* Tue Dec 04 2001 - tiwai@suse.de
- sync with cvs 2001.12.04.
* Wed Oct 24 2001 - tiwai@suse.de
- sync with cvs 20011024.
+ fixed documents
- removed Requires to libogg from devel.
* Mon Aug 13 2001 - tiwai@suse.de
- updated to 1.0rc2 from cvs 20010813.
* Thu Jun 07 2001 - tiwai@suse.de
- fixed build with the recent libtool.
* Mon Mar 12 2001 - tiwai@suse.de
- corrected copyright in spec file.
* Mon Feb 26 2001 - tiwai@suse.de
- Updated to 1.0beta4.
* Wed Jan 31 2001 - tiwai@suse.de
- Initial version: 1.0beta3.

29
m4.diff Normal file
View File

@ -0,0 +1,29 @@
--- ogg.m4-dist 2003-03-08 03:44:29.000000000 +0100
+++ ogg.m4 2004-01-09 16:50:52.000000000 +0100
@@ -18,7 +18,7 @@
OGG_LIBS="-L$ogg_libraries"
elif test "x$ogg_prefix" != "x" ; then
OGG_LIBS="-L$ogg_prefix/lib"
- elif test "x$prefix" != "xNONE" ; then
+ elif test "x$prefix" != "xNONE" -a "x$prefix" != "x/usr"; then
OGG_LIBS="-L$prefix/lib"
fi
@@ -28,7 +28,7 @@
OGG_CFLAGS="-I$ogg_includes"
elif test "x$ogg_prefix" != "x" ; then
OGG_CFLAGS="-I$ogg_prefix/include"
- elif test "x$prefix" != "xNONE"; then
+ elif test "x$prefix" != "xNONE" -a "x$prefix" != "x/usr"; then
OGG_CFLAGS="-I$prefix/include"
fi
@@ -51,7 +51,7 @@
#include <string.h>
#include <ogg/ogg.h>
-int main ()
+int main (void)
{
system("touch conf.oggtest");
return 0;

0
ready Normal file
View File