This commit is contained in:
parent
a9c1d78a8e
commit
6be3fd4d99
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1ac780303b76bc830b837e6030de60943df0c28d7b9dab3a7229427bb6f4c2ea
|
|
||||||
size 830086
|
|
3
SDL_gfx-2.0.17.tar.gz
Normal file
3
SDL_gfx-2.0.17.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d08d8477ff1c6639bc7193b76a415f996c98604600e9fa4e718fd4e9283f83f4
|
||||||
|
size 844309
|
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 13 10:58:20 CEST 2008 - sndirsch@suse.de
|
||||||
|
|
||||||
|
- update to release 2.0.17
|
||||||
|
* hline/vline clipping and swap-logic fixed
|
||||||
|
* clipping box dimension check added and clipping-checks optimized
|
||||||
|
* TestFonts program updated
|
||||||
|
* Updated documentation on cross-compilation, AMD64
|
||||||
|
* Fixed circleColor overdraw
|
||||||
|
* Added arcColor routine
|
||||||
|
* Added polygonColorMT and polygonTextureMT routines
|
||||||
|
* Updated 32bit alpha blending routine
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Nov 18 13:27:14 CET 2007 - sndirsch@suse.de
|
Sun Nov 18 13:27:14 CET 2007 - sndirsch@suse.de
|
||||||
|
|
||||||
|
41
SDL_gfx.spec
41
SDL_gfx.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package SDL_gfx (Version 2.0.16)
|
# spec file for package SDL_gfx (Version 2.0.17)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2008 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.
|
||||||
#
|
#
|
||||||
@ -10,14 +10,14 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
|
|
||||||
Name: SDL_gfx
|
Name: SDL_gfx
|
||||||
BuildRequires: SDL-devel libstdc++-devel
|
BuildRequires: SDL-devel libstdc++-devel
|
||||||
Url: http://www.ferzkopp.net/Software/SDL_gfx-2.0/
|
Url: http://www.ferzkopp.net/Software/SDL_gfx-2.0/
|
||||||
Summary: SDL Graphics Routines for Primitives and Other Support Functions
|
Summary: SDL Graphics Routines for Primitives and Other Support Functions
|
||||||
Version: 2.0.16
|
Version: 2.0.17
|
||||||
Release: 80
|
Release: 1
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
Patch: random.diff
|
|
||||||
License: LGPL v2.1 or later
|
License: LGPL v2.1 or later
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -47,6 +47,7 @@ Authors:
|
|||||||
Andreas Schiffler <aschiffler@appwares.com>
|
Andreas Schiffler <aschiffler@appwares.com>
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
|
License: LGPL v2.1 or later
|
||||||
Summary: Libraries, includes and more to develop SDL_gfx applications
|
Summary: Libraries, includes and more to develop SDL_gfx applications
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Requires: %{name} = %{version} SDL-devel libstdc++-devel gcc gpm
|
Requires: %{name} = %{version} SDL-devel libstdc++-devel gcc gpm
|
||||||
@ -76,7 +77,6 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%setup
|
||||||
%patch
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{?suse_update_config:%{suse_update_config -f }}
|
%{?suse_update_config:%{suse_update_config -f }}
|
||||||
@ -113,10 +113,21 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{prefix}/%_lib/*a
|
%{prefix}/%_lib/*a
|
||||||
%{prefix}/include/SDL/
|
%{prefix}/include/SDL/
|
||||||
%{prefix}/%_lib/lib*.so
|
%{prefix}/%_lib/lib*.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sun Nov 18 2007 - sndirsch@suse.de
|
* Fri Jun 13 2008 sndirsch@suse.de
|
||||||
|
- update to release 2.0.17
|
||||||
|
* hline/vline clipping and swap-logic fixed
|
||||||
|
* clipping box dimension check added and clipping-checks optimized
|
||||||
|
* TestFonts program updated
|
||||||
|
* Updated documentation on cross-compilation, AMD64
|
||||||
|
* Fixed circleColor overdraw
|
||||||
|
* Added arcColor routine
|
||||||
|
* Added polygonColorMT and polygonTextureMT routines
|
||||||
|
* Updated 32bit alpha blending routine
|
||||||
|
* Sun Nov 18 2007 sndirsch@suse.de
|
||||||
- disable use of MMX on i386 to fix build with gcc 4.3
|
- disable use of MMX on i386 to fix build with gcc 4.3
|
||||||
* Tue Feb 06 2007 - sndirsch@suse.de
|
* Tue Feb 06 2007 sndirsch@suse.de
|
||||||
- updated to release 2.0.16
|
- updated to release 2.0.16
|
||||||
* updated config.sub to newer version
|
* updated config.sub to newer version
|
||||||
* added custom RGBA blitter function that sets/maintains target
|
* added custom RGBA blitter function that sets/maintains target
|
||||||
@ -128,7 +139,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
* Update some text in README and .spec file
|
* Update some text in README and .spec file
|
||||||
* Removed broken Uint filter routines from test program
|
* Removed broken Uint filter routines from test program
|
||||||
* "Cosmetic" changes to test programs and Automake.am
|
* "Cosmetic" changes to test programs and Automake.am
|
||||||
* Sat Dec 23 2006 - sndirsch@suse.de
|
* Sat Dec 23 2006 sndirsch@suse.de
|
||||||
- updated to release 2.0.15
|
- updated to release 2.0.15
|
||||||
* bugfixes in 32bit _putPixelAlpha/filledRectAlpha (thanks CISC)
|
* bugfixes in 32bit _putPixelAlpha/filledRectAlpha (thanks CISC)
|
||||||
* various bugfixes in return value generation and return (thanks CISC)
|
* various bugfixes in return value generation and return (thanks CISC)
|
||||||
@ -140,7 +151,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
* fixed texturePolygon inverted bug
|
* fixed texturePolygon inverted bug
|
||||||
* fixed wrong surface use in test 21 of TestRotozoom
|
* fixed wrong surface use in test 21 of TestRotozoom
|
||||||
* added pitch handling in font surface (thanks CISC)
|
* added pitch handling in font surface (thanks CISC)
|
||||||
* Wed Dec 20 2006 - sndirsch@suse.de
|
* Wed Dec 20 2006 sndirsch@suse.de
|
||||||
- updated to release 2.0.14
|
- updated to release 2.0.14
|
||||||
* added texturedPolygon routine to library (thanks Jees)
|
* added texturedPolygon routine to library (thanks Jees)
|
||||||
* changed iterator condition in aaellipse to add some overdraw
|
* changed iterator condition in aaellipse to add some overdraw
|
||||||
@ -160,13 +171,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
* converted all C++ comments to C comments in SDL_imageFilter
|
* converted all C++ comments to C comments in SDL_imageFilter
|
||||||
- random.diff:
|
- random.diff:
|
||||||
* fixed fatal build warnings for returning random data in a function
|
* fixed fatal build warnings for returning random data in a function
|
||||||
* Thu Sep 14 2006 - nadvornik@suse.cz
|
* Thu Sep 14 2006 nadvornik@suse.cz
|
||||||
- fixed Requires of devel subpackage [#192736]
|
- fixed Requires of devel subpackage [#192736]
|
||||||
* Fri Mar 10 2006 - bk@suse.de
|
* Fri Mar 10 2006 bk@suse.de
|
||||||
- SDL_gfx-devel: add libstdc++, gcc and gpm to Requires (.la check)
|
- SDL_gfx-devel: add libstdc++, gcc and gpm to Requires (.la check)
|
||||||
* Mon Jan 30 2006 - ro@suse.de
|
* Mon Jan 30 2006 ro@suse.de
|
||||||
- added gcc-c++ to BuildRequires
|
- added gcc-c++ to BuildRequires
|
||||||
* Wed Jan 25 2006 - mls@suse.de
|
* Wed Jan 25 2006 mls@suse.de
|
||||||
- converted neededforbuild to BuildRequires
|
- converted neededforbuild to BuildRequires
|
||||||
* Sun Aug 14 2005 - sndirsch@suse.de
|
* Sun Aug 14 2005 sndirsch@suse.de
|
||||||
- created package; useful e.g. for building lincity-ng
|
- created package; useful e.g. for building lincity-ng
|
||||||
|
15
random.diff
15
random.diff
@ -1,15 +0,0 @@
|
|||||||
--- 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;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
Loading…
Reference in New Issue
Block a user