OBS User unknown 2006-12-20 19:33:08 +00:00 committed by Git OBS Bridge
commit 679981d396
7 changed files with 239 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

3
SDL_gfx-2.0.14.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:224c772f1a65d4707596d12f83712e195463d3c10940c11f5ed332abb58f85bf
size 1022160

48
SDL_gfx.changes Normal file
View File

@ -0,0 +1,48 @@
-------------------------------------------------------------------
Wed Dec 20 11:12:52 CET 2006 - sndirsch@suse.de
- updated to release 2.0.14
* added texturedPolygon routine to library (thanks Jees)
* changed iterator condition in aaellipse to add some overdraw
to smooth circle
* added ShrinkImage routine to rotozoom code
* added TestABGR Test program (bug in SDL_gfx or SDL??)
* improved TestImageFilter program (bug in Uint filters)
* changed .so versioning from .so.13.0.0 to .so.0.0.14
(best is to remove all old libs before installing)
* added updated MacOSX ProjectBuilder file (thanks Brian)
* added info on MacOSX 10.3 build
* added mingw (on cygwin) makefile (thanks Brian)
* added Dev-Cpp makefile (thanks Sebastian)
* removed some unused variables from gfx and rotozoom code
(thanks Thi)
* fixed a non-critical typecast mistake (thanks Thi)
* converted all C++ comments to C comments in SDL_imageFilter
- random.diff:
* fixed fatal build warnings for returning random data in a function
-------------------------------------------------------------------
Thu Sep 14 16:13:30 CEST 2006 - nadvornik@suse.cz
- fixed Requires of devel subpackage [#192736]
-------------------------------------------------------------------
Fri Mar 10 14:15:41 CET 2006 - bk@suse.de
- SDL_gfx-devel: add libstdc++, gcc and gpm to Requires (.la check)
-------------------------------------------------------------------
Mon Jan 30 12:18:15 CET 2006 - ro@suse.de
- added gcc-c++ to BuildRequires
-------------------------------------------------------------------
Wed Jan 25 21:33:56 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Sun Aug 14 13:42:34 CEST 2005 - sndirsch@suse.de
- created package; useful e.g. for building lincity-ng

149
SDL_gfx.spec Normal file
View File

@ -0,0 +1,149 @@
#
# spec file for package SDL_gfx (Version 2.0.14)
#
# 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: SDL_gfx
BuildRequires: SDL-devel libstdc++-devel
URL: http://www.ferzkopp.net/mambo/index.php?option=com_content&task=view&id=14&Itemid=29
Summary: SDL Graphics Routines for Primitives and Other Support Functions
Version: 2.0.14
Release: 1
Source0: %{name}-%{version}.tar.gz
Patch: random.diff
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
Group: System/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Prefix: %{_prefix}
%description
The SDL_gfx library evolved out of the SDL_gfxPrimitives code which
provided basic drawing routines such as lines, circles or polygons and
SDL_rotozoom which implemented a interpolating rotozoomer for SDL
surfaces. The current components of the SDL_gfx library are:
- Graphic Primitives (SDL_gfxPrimitives.h)
- Rotozoomer (SDL_rotozoom.h)
- Framerate control (SDL_framerate.h)
- MMX image filters (SDL_imageFilter.h)
The library is backwards compatible to the above mentioned code. It is
written in plain C and can be used in C++ code.
Authors:
--------
Andreas Schiffler <aschiffler@appwares.com>
%package devel
Summary: Libraries, includes and more to develop SDL_gfx applications
Group: System/Libraries
Requires: %{name} = %{version} SDL-devel libstdc++-devel gcc gpm
%description devel
The SDL_gfx library evolved out of the SDL_gfxPrimitives code which
provided basic drawing routines such as lines, circles or polygons and
SDL_rotozoom which implemented a interpolating rotozoomer for SDL
surfaces. The current components of the SDL_gfx library are:
- Graphic Primitives (SDL_gfxPrimitves.h)
- Rotozoomer (SDL_rotozoom.h)
- Framerate control (SDL_framerate.h)
- MMX image filters (SDL_imageFilter.h)
The library is backwards compatible to the above mentioned code. It is
written in plain C and can be used in C++ code.
Authors:
--------
Andreas Schiffler <aschiffler@appwares.com>
%prep
%setup
%patch
%build
%{?suse_update_config:%{suse_update_config -f }}
rm acinclude.m4 ; touch acinclude.m4 # Only contains SDL.m4 and libtool.m4
libtoolize --copy --force
aclocal
autoconf
CFLAGS="$RPM_OPT_FLAGS" ./configure \
%ifnarch %ix86
--disable-mmx \
%endif
--prefix=%{prefix} \
--libdir=%{prefix}/%_lib
make
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%post
%run_ldconfig
%postun
%run_ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README
%{prefix}/%_lib/lib*.so.*
%files devel
%defattr(-,root,root)
%{prefix}/%_lib/*a
%{prefix}/include/SDL/
%{prefix}/%_lib/lib*.so
%changelog -n SDL_gfx
* Wed Dec 20 2006 - sndirsch@suse.de
- updated to release 2.0.14
* added texturedPolygon routine to library (thanks Jees)
* changed iterator condition in aaellipse to add some overdraw
to smooth circle
* added ShrinkImage routine to rotozoom code
* added TestABGR Test program (bug in SDL_gfx or SDL??)
* improved TestImageFilter program (bug in Uint filters)
* changed .so versioning from .so.13.0.0 to .so.0.0.14
(best is to remove all old libs before installing)
* added updated MacOSX ProjectBuilder file (thanks Brian)
* added info on MacOSX 10.3 build
* added mingw (on cygwin) makefile (thanks Brian)
* added Dev-Cpp makefile (thanks Sebastian)
* removed some unused variables from gfx and rotozoom code
(thanks Thi)
* fixed a non-critical typecast mistake (thanks Thi)
* converted all C++ comments to C comments in SDL_imageFilter
- random.diff:
* fixed fatal build warnings for returning random data in a function
* Thu Sep 14 2006 - nadvornik@suse.cz
- fixed Requires of devel subpackage [#192736]
* Fri Mar 10 2006 - bk@suse.de
- SDL_gfx-devel: add libstdc++, gcc and gpm to Requires (.la check)
* Mon Jan 30 2006 - ro@suse.de
- added gcc-c++ to BuildRequires
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Aug 14 2005 - sndirsch@suse.de
- created package; useful e.g. for building lincity-ng

15
random.diff Normal file
View File

@ -0,0 +1,15 @@
--- SDL_gfxPrimitives.c.orig 2006-12-20 18:14:28.810409662 +0100
+++ SDL_gfxPrimitives.c 2006-12-20 18:19:52.144403556 +0100
@@ -3565,10 +3565,10 @@
}
}
if (maxx <0 || minx > dst->w){
- return;
+ return -1;
}
if (maxy <0 || miny > dst->h){
- return;
+ return -1;
}
/*

0
ready Normal file
View File