osc copypac from project:games package:SDL_gfx revision:15
OBS-URL: https://build.opensuse.org/package/show/games/SDL2_gfx?expand=0&rev=1
This commit is contained in:
commit
9229e79cbd
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
SDL_gfx-2.0.23.tar.gz
Normal file
3
SDL_gfx-2.0.23.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:41bd601d65bba19eeac80a62570ce120098414ece22de402a8ee81b10e07faea
|
||||||
|
size 1707852
|
182
SDL_gfx.changes
Normal file
182
SDL_gfx.changes
Normal file
@ -0,0 +1,182 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 22 17:16:10 UTC 2012 - jreidinger@suse.com
|
||||||
|
|
||||||
|
- update to version 2.0.23
|
||||||
|
* Updated sources to resolve some splint (static code analysis)
|
||||||
|
issues
|
||||||
|
* Updates for OpenSDK (WinCE6/ARM) build target (patch contributed
|
||||||
|
itsnotabigtruck)
|
||||||
|
* Added OSX Xcode3+ template files to Other Builds collection
|
||||||
|
(contributed by Vasyl)
|
||||||
|
* Added various fixes and improvements contributed by folks on
|
||||||
|
sourceforge (thanks contributors).
|
||||||
|
* Switched library and test code to zlib license.
|
||||||
|
- fix self obsoletion
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 16 18:21:15 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Add libSDL_gfx-devel to baselibs
|
||||||
|
- Remove redundant tags/sections
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 2 14:51:35 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Use %_smp_mflags for parallel building
|
||||||
|
- Strip %clean section (not needed on BS)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 21 16:30:00 CET 2011 - tzotsos@opensuse.org
|
||||||
|
|
||||||
|
- Updated to version 2.0.22
|
||||||
|
* Fixed line width calculation for normal and textured polygons
|
||||||
|
(patch contributed by Daniel (SupSuper)
|
||||||
|
* Fixed version setup in configure.in
|
||||||
|
* Added rounded rectangle and rounded box primitives
|
||||||
|
* Updated test program for roundedbox + left/right-click support
|
||||||
|
* Fixed pie calculation (line-case detection, end-angle clipping)
|
||||||
|
* Updated DLL_EXPORT handling and added WIN64 test
|
||||||
|
(patch contributed by tigerfishdaisy)
|
||||||
|
* Added thick line primitive based on Murphy's algorithm
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 27 02:38:07 CET 2010 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- package baselibs.conf
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 7 14:52:23 CEST 2009 - prusnak@suse.cz
|
||||||
|
|
||||||
|
- fix provides and obsoletes [bnc#544957]
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 20 15:55:09 CEST 2009 - prusnak@suse.cz
|
||||||
|
|
||||||
|
- follow Shared Library Policy
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 19 13:29:53 CEST 2009 - prusnak@suse.cz
|
||||||
|
|
||||||
|
- updated to 2.0.19
|
||||||
|
* gcc43 compiler patch for asm code in image filters
|
||||||
|
* off-by-one hline patch for 1byte indexed surfaces
|
||||||
|
* update acinclude.m4 from SDL-1.2 and moved # serial in file
|
||||||
|
* applied patch to add pkg-config support for SDL_gfx
|
||||||
|
* changed configure.in INTERFACE_AGE and BINARY_AGE
|
||||||
|
* fixed zoom XY-flip code and made it available for all modes
|
||||||
|
in zoom and rotations
|
||||||
|
* fixed edge issue on interpolated rotozoom modes
|
||||||
|
* updated TestRotozoom custom test mode, added delay parameter
|
||||||
|
* added tests which include flipping, included negative rotation
|
||||||
|
* update libtool files
|
||||||
|
* updated Makefile.mingw
|
||||||
|
|
||||||
|
- updated to 2.0.18
|
||||||
|
* libtool update for dependencies
|
||||||
|
* fix uninitialised variables in _putPixelAlpha()
|
||||||
|
* reverted to original alpha routine in _putPixelAlpha()
|
||||||
|
* added colorkey handling patch to rotozoom
|
||||||
|
* downgraded optimization to -O for asm compatibility with gcc4
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 25 15:56:44 CET 2009 - crrodriguez@suse.de
|
||||||
|
|
||||||
|
- remove static libraries and "la" files
|
||||||
|
- correct -devel package dependencies
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
|
||||||
|
- disable use of MMX on i386 to fix build with gcc 4.3
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 6 17:12:51 CET 2007 - sndirsch@suse.de
|
||||||
|
|
||||||
|
- updated to release 2.0.16
|
||||||
|
* updated config.sub to newer version
|
||||||
|
* added custom RGBA blitter function that sets/maintains target
|
||||||
|
alpha
|
||||||
|
* added setAlpha function that sets alpha values in 32bit
|
||||||
|
surfaces
|
||||||
|
* added TextGfxBlit testprogram for new functions
|
||||||
|
* Fixed C++ type in .h files (thanks Olivier)
|
||||||
|
* Update some text in README and .spec file
|
||||||
|
* Removed broken Uint filter routines from test program
|
||||||
|
* "Cosmetic" changes to test programs and Automake.am
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 23 10:49:43 CET 2006 - sndirsch@suse.de
|
||||||
|
|
||||||
|
- updated to release 2.0.15
|
||||||
|
* bugfixes in 32bit _putPixelAlpha/filledRectAlpha (thanks CISC)
|
||||||
|
* various bugfixes in return value generation and return (thanks CISC)
|
||||||
|
* lock font-surface before using it (thanks CISC)
|
||||||
|
* fix some breakage in non-MMX filter routines (thanks CISC)
|
||||||
|
* fix typo in TestABGR (thanks CISC)
|
||||||
|
* fix double buffer flipping in Tets programs (thanks CISC)
|
||||||
|
* fixed microversion in .h
|
||||||
|
* fixed texturePolygon inverted bug
|
||||||
|
* fixed wrong surface use in test 21 of TestRotozoom
|
||||||
|
* added pitch handling in font surface (thanks CISC)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
|
122
SDL_gfx.spec
Normal file
122
SDL_gfx.spec
Normal file
@ -0,0 +1,122 @@
|
|||||||
|
#
|
||||||
|
# spec file for package SDL_gfx
|
||||||
|
#
|
||||||
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Name: SDL_gfx
|
||||||
|
BuildRequires: libSDL-devel
|
||||||
|
Url: http://www.ferzkopp.net/Software/SDL_gfx-2.0/
|
||||||
|
Summary: SDL Graphics Routines for Primitives and Other Support Functions
|
||||||
|
Version: 2.0.23
|
||||||
|
Release: 1
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
Source1: baselibs.conf
|
||||||
|
License: Zlib
|
||||||
|
Group: System/Libraries
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%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.
|
||||||
|
|
||||||
|
%package -n libSDL_gfx13
|
||||||
|
Summary: SDL Graphics Routines for Primitives and Other Support Functions
|
||||||
|
Group: System/Libraries
|
||||||
|
Provides: SDL_gfx = %{version}
|
||||||
|
Obsoletes: SDL_gfx < %{version}
|
||||||
|
|
||||||
|
%description -n libSDL_gfx13
|
||||||
|
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.
|
||||||
|
|
||||||
|
%package -n libSDL_gfx-devel
|
||||||
|
Summary: Libraries, includes and more to develop SDL_gfx applications
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: libSDL_gfx13 = %{version} libSDL-devel pkgconfig
|
||||||
|
Provides: SDL_gfx-devel = %{version}
|
||||||
|
Obsoletes: SDL_gfx-devel < %{version}
|
||||||
|
|
||||||
|
%description -n libSDL_gfx-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.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --disable-static --with-pic --disable-mmx
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
||||||
|
|
||||||
|
%post -n libSDL_gfx13 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libSDL_gfx13 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -n libSDL_gfx13
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc AUTHORS COPYING ChangeLog LICENSE NEWS README
|
||||||
|
%{_libdir}/lib*.so.*
|
||||||
|
|
||||||
|
%files -n libSDL_gfx-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/SDL/*
|
||||||
|
%{_libdir}/lib*.so
|
||||||
|
%{_libdir}/pkgconfig/SDL_gfx.pc
|
||||||
|
|
||||||
|
%changelog
|
6
baselibs.conf
Normal file
6
baselibs.conf
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
libSDL_gfx13
|
||||||
|
provides "SDL_gfx-<targettype> = <version>"
|
||||||
|
obsoletes "SDL_gfx-<targettype> <= <version>"
|
||||||
|
libSDL_gfx-devel
|
||||||
|
requires -libSDL_gfx-<targettype>
|
||||||
|
requires "libSDL_gfx13-<targettype> = <version>"
|
Loading…
Reference in New Issue
Block a user