debian/0000755000000000000000000000000012110265551007164 5ustar debian/libsdl-gfx1.2-dev.install0000644000000000000000000000013611706564026013615 0ustar usr/include/SDL usr/lib/*/libSDL_gfx.a usr/lib/*/libSDL_gfx.so usr/lib/*/pkgconfig/SDL_gfx.pc debian/source/0000755000000000000000000000000011706564026010475 5ustar debian/source/format0000644000000000000000000000001411706564026011703 0ustar 3.0 (quilt) debian/source/lintian-overrides0000644000000000000000000000010111706564026014046 0ustar sdlgfx source: package-needs-versioned-debhelper-build-depends 9 debian/changelog0000644000000000000000000002175112110264437011046 0ustar sdlgfx (2.0.23-3) unstable; urgency=low * Add libsdl-gfx1.2-dev.preinst to remove /usr/share/doc/libsdl-gfx1.2-dev symlink to libsdl-gfx1.2-4, if existing from previous versions of the package (it was like that in Squeeze). Otherwise, when -dev is removed, it removes files from the libsdl-gfx1.2-4. Thanks to Andreas Beckmann for the report (Closes: #700785). -- Manuel A. Fernandez Montecelo Sun, 17 Feb 2013 23:32:26 +0000 sdlgfx (2.0.23-2) unstable; urgency=high [ Steve Langasek ] * High-urgency upload for RC bugfix. * debian/patches/wrong_cpuid_mmx_detection.diff: fix mmx cpuid detection. Closes: #663514, LP: #1029981. -- Felix Geyer Fri, 03 Aug 2012 17:28:49 +0200 sdlgfx (2.0.23-1) unstable; urgency=low [ Felix Geyer ] * New upstream release. - Update copyright file. * Switch to source format 3.0 (quilt). * Switch to dh(1) debian/rules. * Don't install README and AUTHORS since the html docs contain both. * Don't install the .la file. * Move the pkg-config file to the -dev package. * Drop ancient Conflicts/Replaces. * Switch to debhelper compat level v9. - Exports build flags. - Build for multiarch. * Bump Standards-Version to 3.9.2, no further changes needed. * Add myself as uploader and drop all previous uploaders as they haven't touched the package in more than 2 years. * Enable parallel building. * Use dh-autoreconf to fix ancient-libtool lintian warning. * Move the documentation into a new package. * Update Vcs control fields to the new git repository. * Override package-name-doesnt-match-sonames lintian warning. * Add a symbols file. [ Dominique Dumont ] * control: added Multi-Arch: same in dev package * override lintian source warning about versioned debhelper * control: allow DM uploads -- Felix Geyer Fri, 30 Dec 2011 20:55:51 +0100 sdlgfx (2.0.22-1) unstable; urgency=low * Team upload. * New upstream release. (Closes: #616409, #627051; LP: #676799) - Adapt 010_primitives_spell.diff * Bump shlibs to 2.0.22. * Clear out dependency_libs in libSDL_gfx.la. (Closes: #550644) -- Felix Geyer Mon, 30 May 2011 15:27:57 +0200 sdlgfx (2.0.20-1.1) unstable; urgency=high * Non-maintainer upload. * Bump shlibs to 2.0.19 for the SONAME change (closes: #549110). -- Julien Cristau Tue, 31 Aug 2010 19:31:18 +0200 sdlgfx (2.0.20-1) unstable; urgency=low [ Barry deFreese ] * New upstream release. (Closes: #549250). * Add ${misc:Depends} for debhelper package. * Add README.source for quilt patch system. * Improve -dev package description. * Fix watch file. * Bump Standards Version to 3.8.3. (No changes needed). -- Barry deFreese Tue, 06 Oct 2009 15:11:11 -0400 sdlgfx (2.0.19-2) unstable; urgency=low * Fix symlink for .so.4. (Closes: #526184, #526363). + Was pointing to .so.13.5.0 instead of .so.13.5.1. * 010_primitives_spell.diff. (Closes: #513760). + Fix misspelling of SDL_Primitives.h. -- Barry deFreese Thu, 30 Apr 2009 14:34:05 -0400 sdlgfx (2.0.19-1) unstable; urgency=low [ Barry deFreese ] * Add myself to uploaders. * New upstream release. (Closes: #444966, #484164). + Drop existing patches. + 100_rotozoom_allocation_checks.diff used -p0. (Closes: #484958). + Keep -4 binary package name since ABI has not changed. * Symlink libSDL_gfx.so.13.5.0 to libSDL_gfx.so.4 to ease transition. + SONAME is now .so.13 but is ABI compatible. * Remove quilt .pc dir on clean. * Add watch file. * Remove duplicate libs section from binary package. * Bump debhelper build-dep and compat to 5. * Bump Standards Version to 3.8.1. -- Barry deFreese Fri, 03 Apr 2009 15:27:37 -0400 sdlgfx (2.0.13-4) unstable; urgency=low [ Aurelien Jarno ] * debian/control: + Make the package binNMU safe. + Set policy 3.7.3. * debian/patches/020_gcc4.3.diff: + Fix build with gcc-4.3 (Closes: #389256, #474889). * debian/rules: + Don't ignore make distclean errors. * debian/copyright: + Add copyright entry. -- Aurelien Jarno Tue, 22 Apr 2008 21:22:39 +0200 sdlgfx (2.0.13-3) unstable; urgency=high * debian/control: + Set policy 3.7.2. + Added XS-Vcs-Svn field. * debian/rules: + Add missing binary-indep target (Closes: #395744). * debian/patches/100_rotozoom_allocation_checks.diff: + Check for return values in the rotozoom routines, patch courtesy of Kevin Locke (Closes: #405154). -- Sam Hocevar (Debian packages) Fri, 9 Feb 2007 22:51:50 +0100 sdlgfx (2.0.13-2) unstable; urgency=low * Moved development to the pkg-sdl Alioth project. * debian/rules: + Use quilt for patch management. * debian/control: + Build-depend on quilt. + Set the SDL team as the maintainer and added its members to the uploaders field. * debian/patches/000_am_maintainer_mode.diff: * debian/patches/010_test_am_maintainer_mode.diff: + Set AM_MAINTAINER_MODE. * debian/patches/000_binary_age.diff: * debian/patches/005_headers.diff: + Imported old patches. * debian/patches/000_remove_acinclude.diff: * debian/patches/001_rebootstrap.diff: * debian/patches/010_test_remove_acinclude.diff: * debian/patches/011_test_rebootstrap.diff: + Get rid of acinclude.m4 and properly rebootstrap directories. -- Sam Hocevar (Debian packages) Wed, 1 Mar 2006 20:05:46 +0100 sdlgfx (2.0.13-1) unstable; urgency=low * New upstream release (Closes: #283742). * Re-ran the autogen.sh process. * debian/control: + Set policy to 3.6.2.1. + Changed library package name to reflect soname change. -- Sam Hocevar (Debian packages) Sun, 16 Oct 2005 18:17:55 +0200 sdlgfx (2.0.9-6) unstable; urgency=low *sigh*, forgot the conflict/replaces on file move. -- Sam Hocevar (Debian packages) Sun, 16 Oct 2005 18:05:44 +0200 sdlgfx (2.0.9-5) unstable; urgency=low * Removed acinclude.m4 and reboostrapped (Closes: #319954, #320008). * debian/rules: + Moved .la file to the -dev package. -- Sam Hocevar (Debian packages) Sun, 16 Oct 2005 17:47:35 +0200 sdlgfx (2.0.9-4) unstable; urgency=low * debian/control: + Set policy to 3.6.1.1. * *.h: + Removed extra ';' in extern "C" constructs (Closes: #260582). -- Sam Hocevar (Debian packages) Tue, 27 Jul 2004 18:41:13 +0200 sdlgfx (2.0.9-3) unstable; urgency=low * Makefile.am: + Moved headers to /usr/include/SDL (was /usr/include) (Closes: #222395). -- Sam Hocevar (Debian packages) Sat, 31 Jan 2004 04:12:47 +0100 sdlgfx (2.0.9-2) unstable; urgency=low * configure.in: + Fixed binary age to keep our SONAME (Closes: #218215). -- Sam Hocevar (Debian packages) Thu, 30 Oct 2003 11:40:53 +0100 sdlgfx (2.0.9-1) unstable; urgency=low * New upstream release. * debian/control: + Set policy to 3.6.1.0. + Changed debhelper build-dependency to (>= 4.0). * debian/rules: + Include documentation and examples with the -dev package. -- Sam Hocevar (Debian packages) Mon, 27 Oct 2003 21:56:52 +0100 sdlgfx (2.0.8-1) unstable; urgency=low * New upstream release, fixes a few minor bugs. * configure.in: + Set BINARY_AGE to 8 so that we don't get a .so.8 library. + Re-ran autogen.sh. * debian/control: + Set policy to 3.6.0. No changes required. + Updated debhelper build-dependency to (>= 3.4.4) because we now use debian/compat. -- Sam Hocevar (Debian packages) Thu, 17 Jul 2003 01:53:33 +0200 sdlgfx (2.0.3-6) unstable; urgency=low * debian/control: + Build-depend on libsdl1.2-dev (>= 1.2.5-8) because 1.2.5-7 had a broken shlibs file. + Removed libc6-dev from the -dev package's dependencies. -- Sam Hocevar (Debian packages) Thu, 12 Jun 2003 13:29:29 +0200 sdlgfx (2.0.3-5) unstable; urgency=low * Set policy to 3.5.10. * Removed the leading "a" in the package description. -- Sam Hocevar (Debian packages) Mon, 9 Jun 2003 23:36:35 -0400 sdlgfx (2.0.3-4) unstable; urgency=low * Updated config.guess and config.sub in the Test directory. * Updated standards version to 3.5.9.0. * Changed libsdl-gfx1.2-dev's section to libdevel. -- Samuel Hocevar Sat, 12 Apr 2003 00:49:40 +0200 sdlgfx (2.0.3-3) unstable; urgency=low * Updated config.guess and config.sub. * debian/control is now in sync with the override file. -- Samuel Hocevar Wed, 12 Mar 2003 02:21:16 +0100 sdlgfx (2.0.3-2) unstable; urgency=low * Re-run autogen.sh (Closes: #181723). * Disabled MMX on non-x86 architectures. -- Samuel Hocevar Tue, 11 Mar 2003 15:01:19 -0500 sdlgfx (2.0.3-1) unstable; urgency=low * Initial Release (Closes: #180581). -- Samuel Hocevar Tue, 11 Feb 2003 14:07:15 +0100 debian/watch0000644000000000000000000000017711706564026010233 0ustar version=3 http://www.ferzkopp.net/joomla/content/view/19/14/ \ /joomla/\.\./Software/SDL_gfx\-2\.0/SDL_gfx\-([\d.]+)\.tar\.gz debian/control0000644000000000000000000000424011753036024010572 0ustar Source: sdlgfx Maintainer: Debian SDL packages maintainers Uploaders: Felix Geyer , Manuel A. Fernandez Montecelo DM-Upload-Allowed: yes Section: libs Priority: optional Standards-Version: 3.9.2 Build-Depends: debhelper (>= 9~), libsdl1.2-dev (>= 1.2.5-8), dh-autoreconf Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-sdl/packages/sdlgfx.git Vcs-Git: git://anonscm.debian.org/pkg-sdl/packages/sdlgfx.git Homepage: http://www.ferzkopp.net/joomla/content/view/19/14/ Package: libsdl-gfx1.2-4 Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends} Pre-Depends: ${misc:Pre-Depends} Description: drawing and graphical effects extension for SDL The SDL_gfx library is an extension to the SDL library which provides basic antialiased drawing routines such as lines, circles or polygons, an interpolating rotozoomer for SDL surfaces, framerate control and MMX image filters. . This package contains the SDL_gfx runtime library. Package: libsdl-gfx1.2-dev Architecture: any Multi-Arch: same Section: libdevel Depends: ${misc:Depends}, libsdl-gfx1.2-4 (= ${binary:Version}), libsdl1.2-dev (>= 1.2.5-3) Suggests: libsdl-gfx1.2-doc Description: development files for SDL_gfx The SDL_gfx library is an extension to the SDL library which provides basic antialiased drawing routines such as lines, circles or polygons, an interpolating rotozoomer for SDL surfaces, framerate control and MMX image filters. . This package contains the header files and static library needed to compile applications that use SDL_gfx. Package: libsdl-gfx1.2-doc Architecture: all Section: doc Priority: extra Depends: ${misc:Depends} Recommends: libsdl-gfx1.2-dev (= ${binary:Version}) Description: documentation files for SDL_gfx The SDL_gfx library is an extension to the SDL library which provides basic antialiased drawing routines such as lines, circles or polygons, an interpolating rotozoomer for SDL surfaces, framerate control and MMX image filters. . This package contains the documentation to program with the SDL_gfx library. debian/libsdl-gfx1.2-4.lintian-overrides0000644000000000000000000000010011706564026015161 0ustar libsdl-gfx1.2-4: package-name-doesnt-match-sonames libSDL-gfx13 debian/libsdl-gfx1.2-4.symbols0000644000000000000000000001400611706564026013225 0ustar libSDL_gfx.so.13 libsdl-gfx1.2-4 #MINVER# SDL_framerateDelay@Base 2.0.22 SDL_getFramecount@Base 2.0.22 SDL_getFramerate@Base 2.0.22 SDL_gfxBlitRGBA@Base 2.0.22 SDL_gfxMultiplyAlpha@Base 2.0.22 SDL_gfxSetAlpha@Base 2.0.22 SDL_imageFilterAbsDiff@Base 2.0.22 SDL_imageFilterAbsDiffMMX@Base 2.0.22 SDL_imageFilterAdd@Base 2.0.22 SDL_imageFilterAddByte@Base 2.0.22 SDL_imageFilterAddByteMMX@Base 2.0.22 SDL_imageFilterAddByteToHalf@Base 2.0.22 SDL_imageFilterAddByteToHalfMMX@Base 2.0.22 SDL_imageFilterAddMMX@Base 2.0.22 SDL_imageFilterAddUint@Base 2.0.22 SDL_imageFilterAddUintMMX@Base 2.0.22 SDL_imageFilterAlignStack@Base 2.0.22 SDL_imageFilterBinarizeUsingThreshold@Base 2.0.22 SDL_imageFilterBinarizeUsingThresholdMMX@Base 2.0.22 SDL_imageFilterBitAnd@Base 2.0.22 SDL_imageFilterBitAndMMX@Base 2.0.22 SDL_imageFilterBitNegation@Base 2.0.22 SDL_imageFilterBitNegationMMX@Base 2.0.22 SDL_imageFilterBitOr@Base 2.0.22 SDL_imageFilterBitOrMMX@Base 2.0.22 SDL_imageFilterClipToRange@Base 2.0.22 SDL_imageFilterClipToRangeMMX@Base 2.0.22 SDL_imageFilterConvolveKernel3x3Divide@Base 2.0.22 SDL_imageFilterConvolveKernel3x3ShiftRight@Base 2.0.22 SDL_imageFilterConvolveKernel5x5Divide@Base 2.0.22 SDL_imageFilterConvolveKernel5x5ShiftRight@Base 2.0.22 SDL_imageFilterConvolveKernel7x7Divide@Base 2.0.22 SDL_imageFilterConvolveKernel7x7ShiftRight@Base 2.0.22 SDL_imageFilterConvolveKernel9x9Divide@Base 2.0.22 SDL_imageFilterConvolveKernel9x9ShiftRight@Base 2.0.22 SDL_imageFilterDiv@Base 2.0.22 SDL_imageFilterDivASM@Base 2.0.22 SDL_imageFilterMMXdetect@Base 2.0.22 SDL_imageFilterMMXoff@Base 2.0.22 SDL_imageFilterMMXon@Base 2.0.22 SDL_imageFilterMean@Base 2.0.22 SDL_imageFilterMeanMMX@Base 2.0.22 SDL_imageFilterMult@Base 2.0.22 SDL_imageFilterMultByByte@Base 2.0.22 SDL_imageFilterMultByByteMMX@Base 2.0.22 SDL_imageFilterMultDivby2@Base 2.0.22 SDL_imageFilterMultDivby2MMX@Base 2.0.22 SDL_imageFilterMultDivby4@Base 2.0.22 SDL_imageFilterMultDivby4MMX@Base 2.0.22 SDL_imageFilterMultMMX@Base 2.0.22 SDL_imageFilterMultNor@Base 2.0.22 SDL_imageFilterMultNorASM@Base 2.0.22 SDL_imageFilterNormalizeLinear@Base 2.0.22 SDL_imageFilterNormalizeLinearMMX@Base 2.0.22 SDL_imageFilterRestoreStack@Base 2.0.22 SDL_imageFilterShiftLeft@Base 2.0.22 SDL_imageFilterShiftLeftByte@Base 2.0.22 SDL_imageFilterShiftLeftByteMMX@Base 2.0.22 SDL_imageFilterShiftLeftMMX@Base 2.0.22 SDL_imageFilterShiftLeftUint@Base 2.0.22 SDL_imageFilterShiftLeftUintMMX@Base 2.0.22 SDL_imageFilterShiftRight@Base 2.0.22 SDL_imageFilterShiftRightAndMultByByte@Base 2.0.22 SDL_imageFilterShiftRightAndMultByByteMMX@Base 2.0.22 SDL_imageFilterShiftRightMMX@Base 2.0.22 SDL_imageFilterShiftRightUint@Base 2.0.22 SDL_imageFilterShiftRightUintMMX@Base 2.0.22 SDL_imageFilterSobelX@Base 2.0.22 SDL_imageFilterSobelXShiftRight@Base 2.0.22 SDL_imageFilterSub@Base 2.0.22 SDL_imageFilterSubByte@Base 2.0.22 SDL_imageFilterSubByteMMX@Base 2.0.22 SDL_imageFilterSubMMX@Base 2.0.22 SDL_imageFilterSubUint@Base 2.0.22 SDL_imageFilterSubUintMMX@Base 2.0.22 SDL_initFramerate@Base 2.0.22 SDL_setFramerate@Base 2.0.22 _HLineAlpha@Base 2.0.22 _HLineTextured@Base 2.0.22 _SDL_gfxBlitBlitterRGBA@Base 2.0.22 _SDL_gfxBlitRGBACall@Base 2.0.22 _VLineAlpha@Base 2.0.22 _aalineColor@Base 2.0.22 _bresenhamInitialize@Base 2.0.22 _bresenhamIterate@Base 2.0.22 _colorkey@Base 2.0.22 _cpuFlags@Base 2.0.22 _evaluateBezier@Base 2.0.22 _filledRectAlpha@Base 2.0.22 _gfxPrimitivesCompareInt@Base 2.0.22 _murphyIteration@Base 2.0.22 _murphyParaline@Base 2.0.22 _murphyWideline@Base 2.0.22 _pieColor@Base 2.0.22 _putPixelAlpha@Base 2.0.22 _rotozoomSurfaceSizeTrig@Base 2.0.22 _shrinkSurfaceRGBA@Base 2.0.22 _shrinkSurfaceY@Base 2.0.22 _transformSurfaceRGBA@Base 2.0.22 _zoomSurfaceRGBA@Base 2.0.22 _zoomSurfaceY@Base 2.0.22 aacircleColor@Base 2.0.22 aacircleRGBA@Base 2.0.22 aaellipseColor@Base 2.0.22 aaellipseRGBA@Base 2.0.22 aalineColor@Base 2.0.22 aalineRGBA@Base 2.0.22 aapolygonColor@Base 2.0.22 aapolygonRGBA@Base 2.0.22 aatrigonColor@Base 2.0.22 aatrigonRGBA@Base 2.0.22 arcColor@Base 2.0.22 arcRGBA@Base 2.0.22 bezierColor@Base 2.0.22 bezierRGBA@Base 2.0.22 boxColor@Base 2.0.22 boxRGBA@Base 2.0.22 characterColor@Base 2.0.22 characterRGBA@Base 2.0.22 circleColor@Base 2.0.22 circleRGBA@Base 2.0.22 ellipseColor@Base 2.0.22 ellipseRGBA@Base 2.0.22 fastPixelColor@Base 2.0.22 fastPixelColorNolock@Base 2.0.22 fastPixelColorNolockNoclip@Base 2.0.22 fastPixelRGBA@Base 2.0.22 fastPixelRGBANolock@Base 2.0.22 filledCircleColor@Base 2.0.22 filledCircleRGBA@Base 2.0.22 filledEllipseColor@Base 2.0.22 filledEllipseRGBA@Base 2.0.22 filledPieColor@Base 2.0.22 filledPieRGBA@Base 2.0.22 filledPolygonColor@Base 2.0.22 filledPolygonColorMT@Base 2.0.22 filledPolygonRGBA@Base 2.0.22 filledPolygonRGBAMT@Base 2.0.22 filledRectAlpha@Base 2.0.22 filledTrigonColor@Base 2.0.22 filledTrigonRGBA@Base 2.0.22 gfxPrimitivesSetFont@Base 2.0.22 gfxPrimitivesSetFontRotation@Base 2.0.22 hlineColor@Base 2.0.22 hlineColorStore@Base 2.0.22 hlineRGBA@Base 2.0.22 hlineRGBAStore@Base 2.0.22 lineColor@Base 2.0.22 lineRGBA@Base 2.0.22 pieColor@Base 2.0.22 pieRGBA@Base 2.0.22 pixelColor@Base 2.0.22 pixelColorNolock@Base 2.0.22 pixelColorWeight@Base 2.0.22 pixelColorWeightNolock@Base 2.0.22 pixelRGBA@Base 2.0.22 polygonColor@Base 2.0.22 polygonRGBA@Base 2.0.22 rectangleColor@Base 2.0.22 rectangleRGBA@Base 2.0.22 rotateSurface90Degrees@Base 2.0.22 rotozoomSurface@Base 2.0.22 rotozoomSurfaceSize@Base 2.0.22 rotozoomSurfaceSizeXY@Base 2.0.22 rotozoomSurfaceXY@Base 2.0.22 roundedBoxColor@Base 2.0.22 roundedBoxRGBA@Base 2.0.22 roundedRectangleColor@Base 2.0.22 roundedRectangleRGBA@Base 2.0.22 shrinkSurface@Base 2.0.22 stringColor@Base 2.0.22 stringRGBA@Base 2.0.22 texturedPolygon@Base 2.0.22 texturedPolygonMT@Base 2.0.22 thickLineColor@Base 2.0.22 thickLineRGBA@Base 2.0.22 transformSurfaceY@Base 2.0.22 trigonColor@Base 2.0.22 trigonRGBA@Base 2.0.22 vlineColor@Base 2.0.22 vlineRGBA@Base 2.0.22 zoomSurface@Base 2.0.22 zoomSurfaceSize@Base 2.0.22 debian/libsdl-gfx1.2-4.install0000644000000000000000000000007211706564026013201 0ustar usr/lib/*/libSDL_gfx.so.13 usr/lib/*/libSDL_gfx.so.13.9.1 debian/libsdl-gfx1.2-dev.preinst0000644000000000000000000000036312110263234013620 0ustar #!/bin/sh set -e # bug #700785, was a symlink to 'libsdl-gfx1.2-4' in the past, so it will remove # files from there (e.g. debian/copyright) DOCDIR=/usr/share/doc/libsdl-gfx1.2-dev if [ -L "$DOCDIR" ]; then rm "$DOCDIR" fi #DEBHELPER# debian/rules0000755000000000000000000000143611706564026010261 0ustar #!/usr/bin/make -f DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) LIBPKG = libsdl-gfx1.2-4 ifeq ($(DEB_BUILD_ARCH),i386) confflags = --enable-mmx else confflags = --disable-mmx endif %: dh $@ --parallel --with autoreconf override_dh_auto_configure: dh_auto_configure -- $(confflags) override_dh_auto_build: dh_auto_build tar -cvz --transform='s,^Test,examples,' -f debian/examples.tar.gz Test override_dh_auto_clean: dh_auto_clean rm -f debian/examples.tar.gz override_dh_install: dh_install --fail-missing -XlibSDL_gfx.la override_dh_link: dh_link -p$(LIBPKG) usr/lib/$(DEB_HOST_MULTIARCH)/libSDL_gfx.so.13.9.1 \ usr/lib/$(DEB_HOST_MULTIARCH)/libSDL_gfx.so.4 dh_link --remaining-packages override_dh_installchangelogs: dh_installchangelogs ChangeLog debian/libsdl-gfx1.2-doc.docs0000644000000000000000000000003611706564026013065 0ustar Docs/* debian/examples.tar.gz debian/compat0000644000000000000000000000000211706564026010373 0ustar 9 debian/copyright0000644000000000000000000000241111706564026011126 0ustar This package was debianized by Sam Hocevar on Tue, 11 Feb 2003 14:07:15 +0100. It was downloaded from http://www.ferzkopp.net/~aschiffler/mambo/index.php?option=com_content&task=view&id=14&Itemid=29 Upstream Author: Andreas Schiffler Copyright: Copyright (C) 2001-2011 Andreas Schiffler License: This library is available under the zlib/libpng license: This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. debian/patches/0000755000000000000000000000000012110257403010610 5ustar debian/patches/series0000644000000000000000000000007112110257403012023 0ustar 010_primitives_spell.diff wrong_cpuid_mmx_detection.diff debian/patches/010_primitives_spell.diff0000644000000000000000000000154511706564026015435 0ustar #Description: Fix misspelling of SDL_Primitives.h. Index: SDL_gfx-2.0.19/SDL_gfx.spec =================================================================== --- SDL_gfx-2.0.19.orig/SDL_gfx.spec 2009-04-30 15:11:49.000000000 -0400 +++ SDL_gfx-2.0.19/SDL_gfx.spec 2009-04-30 15:12:08.000000000 -0400 @@ -23,7 +23,7 @@ The current components of the SDL_gfx library are: - * Graphic Primitives (SDL_gfxPrimitves.h) + * Graphic Primitives (SDL_gfxPrimitives.h) * Rotozoomer (SDL_rotozoom.h) * Framerate control (SDL_framerate.h) * MMX image filters (SDL_imageFilter.h) @@ -44,7 +44,7 @@ The current components of the SDL_gfx library are: - * Graphic Primitives (SDL_gfxPrimitves.h) + * Graphic Primitives (SDL_gfxPrimitives.h) * Rotozoomer (SDL_rotozoom.h) * Framerate control (SDL_framerate.h) * MMX image filters (SDL_imageFilter.h) debian/patches/wrong_cpuid_mmx_detection.diff0000644000000000000000000000262112110257403016702 0ustar Description: fix mmx cpuid detection The MMX detection in SDL_imageFilter.c contains buggy assembly which reads garbage values off the stack. This usually results in MMX not being used on i386; sometimes it instead causes the test suite to fail. At runtime it could also cause MMX instructions to be used on non-MMX machines. . Replace this cpu detection code with code that doesn't rely on the stack pointer staying the same after popa. Author: Steve Langasek Bug: http://sourceforge.net/support/tracker.php?aid=3550046 Bug-Debian: http://bugs.debian.org/663514 Bug-Ubuntu: https://launchpad.net/bugs/1029981 Index: sdlgfx-2.0.23/SDL_imageFilter.c =================================================================== --- sdlgfx-2.0.23.orig/SDL_imageFilter.c +++ sdlgfx-2.0.23/SDL_imageFilter.c @@ -80,12 +80,12 @@ popa } #else - asm volatile ("pusha \n\t" "mov %1, %%eax \n\t" /* request feature flag */ + asm volatile ("pusha \n\t" "mov %0, %%eax \n\t" /* request feature flag */ "cpuid \n\t" /* get CPU ID flag */ - "mov %%edx, %0 \n\t" /* move result to mmx_bit */ - "popa \n\t":"=m" (flags) /* %0 */ - :"i"(0x00000001) /* %1 */ - ); + "mov %%edx, 0(%1) \n\t" /* move result to mmx_bit */ + "popa \n\t": + :"i"(0x00000001), "S"(&flags) /* %0, %1 */ + : "memory"); #endif #endif