diff options
32 files changed, 1528 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..03fa438 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,478 @@ +libsfml (2.5.0+dfsg-3) UNRELEASED; urgency=medium + + * + + -- James Cowgill <jcowgill@debian.org> Thu, 17 May 2018 15:17:45 +0100 + +libsfml (2.5.0+dfsg-2) unstable; urgency=medium + + * Upload to unstable. + + -- James Cowgill <jcowgill@debian.org> Thu, 17 May 2018 14:14:43 +0100 + +libsfml (2.5.0+dfsg-1) experimental; urgency=medium + + [ James Cowgill ] + * New upstream version. + * Rename binary packages to libsfml-*2.5 due to SONAME bump. + + * debian/copyright: + - Update for 2.5. + - Use secure Format URL. + * debian/compat: Use debhelper compat 11. + * debian/control: + - Set Rules-Requires-Root: no. + - Switch Vcs URLs to salsa.debian.org. + - Remove unnecessary Testsuite: autopkgtest field. + - Bump standards version to 4.1.4. + - Remove obsolete Breaks (not needed after ABI bump). + - Drop build-dependency on libjpeg-dev. + - Increase minimum cmake version in build dependencies. + * debian/libsfml-dev.install: + - Install CMake config files and drop FindSFML.cmake. + * debian/libsfml-doc.doc-base: + - Update paths now that docs are installed in /usr/share/doc/libsfml-dev. + * debian/libsfml-doc.docs: Remove debian/tmp/ prefix. + * debian/libsfml-doc.README.Debian: + - Update list of removed example resources. + - Only install in libsfml-doc package. + * debian/patches: + - Change author in all patches to my debian.org email address. + - Renumber patches. + - 01_remove-googleapi-css.patch: Refresh. + - 02_hurd.patch: Remove. + - 03_pkgconfig-cleanup.patch: Added to cleanup pkg-config build system + which makes the freebsd patch simpler. + - 04_pkgconfig-freebsd.patch, 05_cmake-config-LIB_SIFFIX.patch: + - Install cmake config and pkg-config files in multiarch paths. + - 06_pkgconfig-libs-private.patch: Remove unnecessary private dependencies. + * debain/rules: + - Remove obsolete dh_makeshlibs override (not needed after ABI bump). + - Don't install examples/android/.gitignore. + - Use /usr/share/dpkg/architecture.mk in debian/rules. + - Reformat cmake configure options in debian/rules. + * debian/source/local-options: Remove. + * debian/tests: Adjust cmake test to work with new config files. + + [ Christoph Egger ] + * Remove myself from uploaders + + -- James Cowgill <jcowgill@debian.org> Wed, 16 May 2018 11:34:53 +0100 + +libsfml (2.4.2+dfsg-4) unstable; urgency=medium + + * Rebuild with GCC 7 to fix FTBFS of reverse-dependencies. (Closes: #853729) + - Build-depend on gcc >= 7. + - Update shlibs to ensure rdeps pull in the new version. + + -- James Cowgill <jcowgill@debian.org> Sat, 05 Aug 2017 10:34:04 -0400 + +libsfml (2.4.2+dfsg-3) unstable; urgency=medium + + * debian/patches/02_hurd.patch: + - Fix Hurd patch to link in Xrandr again after the XCB conversion was + reverted in 2.4.1. + + -- James Cowgill <jcowgill@debian.org> Thu, 13 Jul 2017 12:15:38 +0100 + +libsfml (2.4.2+dfsg-2) unstable; urgency=medium + + * Upload to unstable. + + * debian/control: + - Bump standards to 4.0.0 (no changes required). + + -- James Cowgill <jcowgill@debian.org> Sun, 18 Jun 2017 22:22:24 +0100 + +libsfml (2.4.2+dfsg-1) experimental; urgency=medium + + * New upstream release. + + * debian/copyright: + - Update copyright dates to 2017. + * debian/patches: + - Drop 07_fix-crashing-in-sf-Window-setIcon.patch - applied upstream. + + -- James Cowgill <jcowgill@debian.org> Fri, 10 Feb 2017 23:49:10 +0000 + +libsfml (2.4.1+dfsg-2) unstable; urgency=medium + + * Fix segfaults triggered by sf::Window::setIcon. (Closes: #849750) + * Use debhelper compat 10. + + -- James Cowgill <jcowgill@debian.org> Fri, 30 Dec 2016 19:02:05 +0000 + +libsfml (2.4.1+dfsg-1) unstable; urgency=medium + + * New upstream release. + * Upload 2.4.1 to unstable. + + * debian/control: + - Mark libsfml-doc as multi-arch foreign. + * debian/patches: + - Drop 07_abi.patch - equivalent applied upstream. + + -- James Cowgill <jcowgill@debian.org> Thu, 03 Nov 2016 21:25:22 +0000 + +libsfml (2.4.1~git15.b61c2f8+dfsg-1) experimental; urgency=medium + + * New upstream pre-release. + - Reverts window implementation to X11 from XCB. (Closes: #839104) + + * debian/control: + - Update dependencies. + - Ensure graphics 2.4 is not used with window 2.4.1. + * debian/patches: + - Refresh patches. + - Drop 07_config-kfreebsd.patch - applied upstream. + - Add 07_abi.patch to maintain SFML 2.4 ABI. + * debian/rules: + - Bump libsfml-window2.4 shlibs dependency. + * debian/tests: + - Fix autopkgtests on Ubuntu by depending on make in the cmake test. + + -- James Cowgill <jcowgill@debian.org> Thu, 27 Oct 2016 21:34:07 +0100 + +libsfml (2.4.0+dfsg-2) unstable; urgency=medium + + * Upload 2.4 to unstable. + + * debian/patches: + - Define SFML_OS_FREEBSD on kFreeBSD to fix FTBFS there. + + -- James Cowgill <jcowgill@debian.org> Fri, 12 Aug 2016 08:54:42 +0000 + +libsfml (2.4.0+dfsg-1) experimental; urgency=medium + + * New upstream version. + * Binary packages renamed due to SONAME bump. + + * debian/copyright: + - Minor updates for 2.4. + * debian/patches: + - Refresh patches for 2.4. + - Drop 07_gcc-5.3.patch and require gcc 6 instead. + * debian/rules: + - Drop dbysym migration code which is no longer needed. + * debian/*.symbols: + - Drop the symbols files. + + -- James Cowgill <jcowgill@debian.org> Tue, 09 Aug 2016 16:03:45 +0000 + +libsfml (2.3.2+dfsg-3) unstable; urgency=medium + + * debian/patches: + - Add patch to workaround GCC 5.3 bug. + * debian/tests: + - Depend on pkg-config to fix autopkgtest failures. + + -- James Cowgill <jcowgill@debian.org> Wed, 29 Jun 2016 13:34:17 +0100 + +libsfml (2.3.2+dfsg-2) unstable; urgency=medium + + * debian/copyright: + - Fix spelling mistake. + * debian/control: + - Drop libsfml2.3-dbg and use automatic debug packages instead. + - Use secure Vcs URLs. + - Bump standards to 3.9.8. + - Use my debian.org email address. + * debian/rules: + - Drop get-orig-source target - use uscan instead. + * debian/tests: + - Add autopkgtests. + * debian/watch: + - Add repack and compression options. + + -- James Cowgill <jcowgill@debian.org> Tue, 28 Jun 2016 21:09:55 +0100 + +libsfml (2.3.2+dfsg-1) unstable; urgency=medium + + * New upstream version. + + -- James Cowgill <james410@cowgill.org.uk> Sun, 13 Sep 2015 21:42:57 +0100 + +libsfml (2.3.1+dfsg-2) unstable; urgency=medium + + * Upload to unstable. + + -- James Cowgill <james410@cowgill.org.uk> Fri, 14 Aug 2015 14:34:56 +0100 + +libsfml (2.3.1+dfsg-2~exp1) experimental; urgency=medium + + * Rename packages to libsfml-*2.3v5 for libstdcxx ABI transition. + * Update symbol files for GCC 5 (Closes: #791747). + * Build-Depend on g++ >= 5.2. + + -- James Cowgill <james410@cowgill.org.uk> Wed, 05 Aug 2015 11:41:14 +0100 + +libsfml (2.3.1+dfsg-1) unstable; urgency=medium + + * New upstream version. + + -- James Cowgill <james410@cowgill.org.uk> Sat, 04 Jul 2015 22:15:39 +0100 + +libsfml (2.3+dfsg-2) unstable; urgency=medium + + * Upload 2.3 to unstable. + * Try again to fix the FTBFS on FreeBSD using a new patch. + * Update the hurd patch to try and fix the FTBFS there. + + -- James Cowgill <james410@cowgill.org.uk> Tue, 30 Jun 2015 15:17:19 +0100 + +libsfml (2.3+dfsg-1) experimental; urgency=low + + * New upstream version. + * Rename packages to libsfml-*2.3 due to SONAME bump. + * Fix FTBFS on kfreebsd-* by installing the pkgconfig files into the + correct directory. + + * debian/control: + - Revert debug package rename since it will prevent having debug packages + installed for two versions at once. + - Add new build dependencies for 2.3. + - Drop versioned build-depends on pkg-kde-tools. + - Use cgit (instead of gitweb) Vcs-Browser URL. + - Remove GLU dependency from libsfml-dev - OpenGL.hpp no longer includes + glu.h. + - Add libjs-jquery dependency to libsfml-doc. + * debian/copyright: + - Fix dep5-copyright-license-name-not-unique lintian warning. + * debian/libsfml-doc.doc-base: + - Update path to documentation root. + * debian/patches: + - Drop 01_fix-gl-headers - no longer needed. + * debian/watch: + - New upstream GitHub URL. + + -- James Cowgill <james410@cowgill.org.uk> Wed, 10 Jun 2015 00:05:53 +0100 + +libsfml (2.2.0+dfsg-1) experimental; urgency=medium + + * New upstream version. + * Rename packages to libsfml-*2.2.0 due to SONAME bump. + + * debian/control: + - Bump standards version (no changes). + - Build depend on libudev-dev / libusbhid-dev for joystick support. + - Rename libsfml2-dbg to libsfml-dbg. + * debian/copyright: + - Update copyright for new files. + - Sort the "Files" entries. + * debian/rules: + - Enable SFML_INSTALL_PKGCONFIG_FILES. + - Build documentation as a separate step. + - Use uscan's --download-current-version in get-orig-source. + * debian/patches: + - Refresh patches. + - Drop 03_freebsd-joystick.patch since upstream now has FreeBSD + joystick support. + - Move joystick code for hurd into 02_hurd.patch + - Add 05_build-doc-once.patch to prevent building documentation twice. + * debian/*.symbols: + - Update all symbol files for 2.2.0 + + -- James Cowgill <james410@cowgill.org.uk> Wed, 10 Dec 2014 14:07:26 +0000 + +libsfml (2.1+dfsg2-1) unstable; urgency=medium + + * Update symbols for GCC 4.9 (Closes: 746877) + * Add example resources I can verify are free (Closes: 647698) + * Install FindSFML.cmake in libsfml-dev (Closes: 747186) + * Fix debian/watch file + * Repack original source using uscan + * Enable parallel builds and hardening flags + * Add patch to remove googleapi css in doc/header.htm + * Add numeric prefixes to all patches + + -- James Cowgill <james410@cowgill.org.uk> Sat, 17 May 2014 13:37:17 +0100 + +libsfml (2.1+dfsg-5) unstable; urgency=low + + * Change package priority to optional (Closes: 728886) + * Fixed VCS-Browser field (Closes: 728887) + + -- James Cowgill <james410@cowgill.org.uk> Wed, 06 Nov 2013 15:38:55 +0000 + +libsfml (2.1+dfsg-4) unstable; urgency=low + + * Update the symbol files (yet again) to fix a lintian error on some arches + * Added lintian override for hardening libsfml-graphics2 + + -- James Cowgill <james410@cowgill.org.uk> Thu, 31 Oct 2013 19:38:25 +0000 + +libsfml (2.1+dfsg-3) unstable; urgency=low + + * Release to unstable + * Updated the symbol files + * Bump standards version to 3.9.5 - no changes + + -- James Cowgill <james410@cowgill.org.uk> Wed, 30 Oct 2013 22:00:08 +0000 + +libsfml (2.1+dfsg-2) experimental; urgency=low + + * Added --as-needed linker option to only build against needed libraries + * Remove duplicate section fields in the control file + * Remove conflicts and replaces lines for very old libsfml packages + * Updated GNU/Hurd patch so it works correctly with CMake + * Added patch so that the joystick code is only compiled in on linux + * Added initial symbols files created with pkgkde_symbolshelper + + -- James Cowgill <james410@cowgill.org.uk> Sun, 06 Oct 2013 18:24:46 +0100 + +libsfml (2.1+dfsg-1) experimental; urgency=low + + * New upstream version 2.1 (Closes: #706001) + * Add myself to the list of uploaders in debian/control + * Add dependency to libgl-dev and libglu-dev to libsfml-dev (Closes: #706239) + * Modify debian/copyright to use the machine-readable format + (http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/) + * Added doc-base file for API documentation + * Moved debian/watch source to the SFML github repository + * Upgrade source format to 3.0 and debhelper 9 using dh + * Upgrade to standards version 3.9.4 + * Moved source package to libs section + * Fixed typos in package description + * Added multiarch support + + -- James Cowgill <james410@cowgill.org.uk> Mon, 02 Sep 2013 15:44:26 +0100 + +libsfml (1.6+dfsg2-2) unstable; urgency=low + + * Add the now needed build-dependency + + -- Christoph Egger <christoph@debian.org> Sun, 08 Jul 2012 22:20:18 +0200 + +libsfml (1.6+dfsg2-1) unstable; urgency=low + + * Remove nonfree Arial.hpp (Closes: #647497) + + -- Christoph Egger <christoph@debian.org> Sun, 08 Jul 2012 20:57:06 +0200 + +libsfml (1.6+dfsg1-3) unstable; urgency=low + + * Team upload. + * Thanks to Konstantinos Margaritis for the NMU. + * Fix FTBFS with gcc-4.7, thanks to Matthias Klose. (Closes: #672086) + * Fix FTGFS with libpng-1.5, thanks to Nobuhiro Iwamatsu. (Closes: #650564) + * Bump standards version to 3.9.3 + + -- Dmitrijs Ledkovs <xnox@debian.org> Sun, 27 May 2012 17:46:23 +0100 + +libsfml (1.6+dfsg1-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Patch from Ubuntu by Matthias Klose fix FTBFS. (Closes: #628253) + - Don't include system headers in the sf namespace. + + -- Konstantinos Margaritis <markos@debian.org> Fri, 03 Feb 2012 15:31:30 +0200 + +libsfml (1.6+dfsg1-2) unstable; urgency=low + + * Add patch by Evgeni to build against gcc-4.6 (Closes: #625031) + * Upgrade standards version from 3.8.4 to 3.9.2 (no changes) + + -- Christoph Egger <christoph@debian.org> Tue, 17 May 2011 00:39:32 +0200 + +libsfml (1.6+dfsg1-1) unstable; urgency=low + + * New upstream release + * Rename library packages due to soname change + * Upgrade policy version (no changes) + + -- Christoph Egger <christoph@debian.org> Sun, 09 May 2010 11:38:53 +0200 + +libsfml (1.5+repack1-3) unstable; urgency=low + + * Make -dev package only suggest -doc instead of recommend + * Update my email address + * Reformat debian/control slightly + * Make -dbg installable with only some SFML libs available + * Try building on Hurd the way it works on kFreeBSD + + -- Christoph Egger <christoph@debian.org> Fri, 18 Dec 2009 13:39:19 +0100 + +libsfml (1.5+repack1-2) unstable; urgency=low + + * Patch include/SFML/Config.hpp to correctly detect kFreeBSD kernels + enables the build on these ports + * Bump standards version from 3.8.2 to .3 (no changes) + * Bump compat to 7, use debian/clean file + * Clean up watch file + * Clean up rules as per NM-review + * Depend on unversioned lib{jpeg,png}-dev packages, no special needs + here + * Remove debian/*dirs files, they're unneeded + + -- Christoph Egger <debian@christoph-egger.org> Mon, 24 Aug 2009 15:20:58 +0200 + +libsfml (1.5+repack1-1) unstable; urgency=low + + * [af202195] Imported Upstream version 1.5+repack1 + * [118764a1] Add lintian override, -dbg is explicitly set to + Priority:extra on purpose + * [43beb98d] improve long descriptions + * [b25d0c2c] lib/ is missing from time to time, just create it if + needed + * [eef4cb02] Update standards-Version to 3.8.2 (no changes needed) + * [08ae7680] rename doc package to drop the soname part + + -- Christoph Egger <debian@christoph-egger.org> Sat, 25 Jul 2009 14:07:05 +0200 + +libsfml (1.4+repack1-1) unstable; urgency=low + + [ Christoph Egger ] + * New upstream release. + * Drop patches implemented upstream + - RM: add_destdir_to_makefile.patch + - RM: building_on_all_arches.patch + - RM: bump_soname.patch + - RM: cstring_ftbfs.patch + - RM: modify_toplevel_makefile + * Reorganize remaining patches using topgit + * Using external libSOIL + - add SOIL to repacking list + * Build debug package + * Build documentation package + - separate docs and examples from -dev package + * Change my email address + + [ Gonéri Le Bouder ] + * libsfml-dev conflicts/replaces libsfml1.deb3-dev + + -- Christoph Egger <debian@christoph-egger.org> Sun, 25 Jan 2009 16:51:47 +0100 + +libsfml (1.3-1) unstable; urgency=low + + * New upstream release. + + -- Christoph Egger <Christoph.Egger@gmx.de> Sun, 22 Jun 2008 13:33:03 +0200 + +libsfml (1.2-3) unstable; urgency=low + + * Clean rules improvement (thanks to gnoéri) + * Switch to Standards Version 3.8.0 + - add README.source + * Rename make target for orig tarball to reflect + common way to do so + * Allow building on unknown arches and non-linux + debian kernels (Closes: #486851) + * Link libraries correctly (fixing upstream Makefile) + * Not installing binary sample programms + + -- Christoph Egger <Christoph.Egger@gmx.de> Thu, 19 Jun 2008 17:59:52 +0200 + +libsfml (1.2-2) unstable; urgency=low + + * Change copyright of the packaging part + to be identical to the source (zlib) + * Fix Vcs-Git field + * Fix build with g++ 4.3 + + -- Christoph Egger <Christoph.Egger@gmx.de> Tue, 10 Jun 2008 18:52:46 +0200 + +libsfml (1.2-1) unstable; urgency=low + + * Initial release. (Closes: #475850) + + -- Christoph Egger <Christoph.Egger@gmx.de> Tue, 13 May 2008 16:57:31 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..2c9c3d9 --- /dev/null +++ b/debian/control @@ -0,0 +1,125 @@ +Source: libsfml +Section: libs +Priority: optional +Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org> +Uploaders: + James Cowgill <jcowgill@debian.org> +Build-Depends: debhelper (>= 11), + cmake (>= 3.0.2), + doxygen, + g++ (>= 4:7), + libflac-dev, + libfreetype6-dev, + libgl1-mesa-dev, + libopenal-dev, + libudev-dev [linux-any], + libusbhid-dev [kfreebsd-any], + libvorbis-dev, + libx11-dev, + libxrandr-dev, +Rules-Requires-Root: no +Standards-Version: 4.1.4 +Homepage: http://www.sfml-dev.org/ +Vcs-Git: https://salsa.debian.org/games-team/libsfml.git +Vcs-Browser: https://salsa.debian.org/games-team/libsfml + +Package: libsfml-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Depends: ${misc:Depends}, + libgl1-mesa-dev | libgl-dev, + libsfml-audio2.5 (= ${binary:Version}), + libsfml-graphics2.5 (= ${binary:Version}), + libsfml-network2.5 (= ${binary:Version}), + libsfml-system2.5 (= ${binary:Version}), + libsfml-window2.5 (= ${binary:Version}) +Suggests: libsfml-doc +Description: Simple and Fast Multimedia Library - Development Files + SFML is a modern multimedia library offering a wide range of subsystems + useful to produce a multimedia app. It offers OpenGL integration for + Hardware accelerated Graphics, Windowing and Input support, Audio and + Network facilities and supports GNU/Linux, MS Windows and Mac OS X. + . + This package includes header files for all SFML libraries. + +Package: libsfml-audio2.5 +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Simple and Fast Multimedia Library - Audio part + SFML is a modern multimedia library offering a wide range of subsystems + useful to produce a multimedia app. It offers OpenGL integration for + Hardware accelerated Graphics, Windowing and Input support, Audio and + Network facilities and supports GNU/Linux, MS Windows and Mac OS X. + . + The Audio library is used to play sound and music in games. It is able to + load OGG/Vorbis files. + +Package: libsfml-graphics2.5 +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Simple and Fast Multimedia Library - Graphics part + SFML is a modern multimedia library offering a wide range of subsystems + useful to produce a multimedia app. It offers OpenGL integration for + Hardware accelerated Graphics, Windowing and Input support, Audio and + Network facilities and supports GNU/Linux, MS Windows and Mac OS X. + . + The Graphics library contains all the OpenGL and drawing code. It needs the + Window library for Window creation. + +Package: libsfml-network2.5 +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Simple and Fast Multimedia Library - Network part + SFML is a modern multimedia library offering a wide range of subsystems + useful to produce a multimedia app. It offers OpenGL integration for + Hardware accelerated Graphics, Windowing and Input support, Audio and + Network facilities and supports GNU/Linux, MS Windows and Mac OS X. + . + The Network Library brings basic networking support as needed by games. + +Package: libsfml-system2.5 +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Simple and Fast Multimedia Library - System part + SFML is a modern multimedia library offering a wide range of subsystems + useful to produce a multimedia app. It offers OpenGL integration for + Hardware accelerated Graphics, Windowing and Input support, Audio and + Network facilities and supports GNU/Linux, MS Windows and Mac OS X. + . + The system library brings useful system utilities like multithreading and + UNICODE handling. + +Package: libsfml-window2.5 +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Simple and Fast Multimedia Library - Window part + SFML is a modern multimedia library offering a wide range of subsystems + useful to produce a multimedia app. It offers OpenGL integration for + Hardware accelerated Graphics, Windowing and Input support, Audio and + Network facilities and supports GNU/Linux, MS Windows and Mac OS X. + . + The Window library provides basic utilities for creating and managing Windows. + +Package: libsfml-doc +Section: doc +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends} +Description: Simple and Fast Multimedia Library - Documentation + SFML is a modern multimedia library offering a wide range of subsystems + useful to produce a multimedia app. It offers OpenGL integration for + Hardware accelerated Graphics, Windowing and Input support, Audio and + Network facilities and supports GNU/Linux, MS Windows and Mac OS X. + . + This package includes the library reference and examples for SFML. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..9f5d8e3 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,389 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: SFML (Simple and Fast Multimedia Library) +Source: https://github.com/SFML/SFML + Repackaged to remove external libraries and non-dfsg example resources +Files-Excluded: + examples/android/app/src/main/assets/canary.wav + examples/android/app/src/main/assets/orchestral.ogg + examples/iOS/resources/canary.wav + examples/iOS/resources/orchestral.ogg + examples/opengl/resources/background.jpg + examples/opengl/resources/texture.jpg + examples/shader/resources/background.jpg + examples/sound/resources/canary.wav + examples/sound/resources/orchestral.ogg + examples/win32/resources + extlibs/bin + extlibs/headers/AL + extlibs/headers/FLAC + extlibs/headers/freetype2 + extlibs/headers/mingw + extlibs/headers/ogg + extlibs/headers/vorbis + extlibs/libs-* + tools/xcode + +Files: * +Copyright: + 2013, David Demelier <demelier.david@gmail.com> + 2013-2014, Jonathan De Wachter <dewachter.jonathan@gmail.com>a + 2007-2018, Laurent Gomila <laurent.gom@sfml-dev.org> + 2007-2018, Marco Antognini <antognini.marco@gmail.com> +License: Zlib + +Files: + cmake/Modules/FindFreetype.cmake + cmake/Modules/FindUDev.cmake + cmake/toolchains/* +Copyright: + 2011-2014, Andrey Kamaev <andrey.kamaev@itseez.com> + 2016, Bogdan Cristea <cristeab@gmail.com> + 2010-2011, Ethan Rublee <ethan.ruble@gmail.com> + 2007-2009, Kitware, Inc. + 2011, Petr Vanek <petr@scribus.info> +License: BSD-3-clause + +Files: debian/* +Copyright: + 2008-2009 Christoph Egger <debian@christoph-egger.org> + 2013-2018 James Cowgill <jcowgill@debian.org> +License: Zlib + +Files: + debian/missing-sources/sfml-final-clean.svg + examples/android/app/src/main/assets/image.png + examples/android/app/src/main/res/*/sfml_logo.png + examples/cocoa/resources/icon.icns + examples/cocoa/resources/logo.png + examples/iOS/resources/image.png + examples/shader/resources/logo.png +Copyright: Public Domain +License: public-domain-logo + The author has released the SFML logo into the public domain. + See http://en.sfml-dev.org/forums/index.php?topic=4960.msg78285#msg78285 + +Files: + examples/android/app/src/main/assets/sansation.ttf + examples/*/resources/sansation.ttf +Copyright: 2011 Bernd Montag <berndmontag@gmx.de> +License: OFL-1.1 + +Files: examples/shader/resources/devices.png +Copyright: 2005 Alexander Moore +License: GPL-2.0+ + +Files: examples/sound/resources/ding.flac +Copyright: 2014 JaggedStone +License: CC0-1.0 +Comment: http://opengameart.org/content/magic-spell-sfx + +Files: + examples/island/stb_perlin.h + extlibs/headers/stb_image/* +Copyright: 2007, Sean Barrett +License: Expat + +License: BSD-3-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + . + 1) Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + . + 2) Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + . + 3) Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +License: Expat + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + +License: CC0-1.0 + Creative Commons CC0 1.0 Universal + . + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION + ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE + USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED HEREUNDER, AND + DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM THE USE OF THIS DOCUMENT + OR THE INFORMATION OR WORKS PROVIDED HEREUNDER. + . + Statement of Purpose + . + The laws of most jurisdictions throughout the world automatically confer + exclusive Copyright and Related Rights (defined below) upon the creator + and subsequent owner(s) (each and all, an "owner") of an original work + of authorship and/or a database (each, a "Work"). + . + Certain owners wish to permanently relinquish those rights to a Work for + the purpose of contributing to a commons of creative, cultural and + scientific works ("Commons") that the public can reliably and without + fear of later claims of infringement build upon, modify, incorporate in + other works, reuse and redistribute as freely as possible in any form + whatsoever and for any purposes, including without limitation commercial + purposes. These owners may contribute to the Commons to promote the + ideal of a free culture and the further production of creative, cultural + and scientific works, or to gain reputation or greater distribution for + their Work in part through the use and efforts of others. + . + For these and/or other purposes and motivations, and without any + expectation of additional consideration or compensation, the person + associating CC0 with a Work (the "Affirmer"), to the extent that he or + she is an owner of Copyright and Related Rights in the Work, voluntarily + elects to apply CC0 to the Work and publicly distribute the Work under + its terms, with knowledge of his or her Copyright and Related Rights in + the Work and the meaning and intended legal effect of CC0 on those + rights. + . + 1. Copyright and Related Rights. A Work made available under CC0 may be + protected by copyright and related or neighboring rights ("Copyright and + Related Rights"). Copyright and Related Rights include, but are not + limited to, the following: + . + i. the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + . + ii. moral rights retained by the original author(s) and/or performer(s); + . + iii. publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + . + iv. rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + . + v. rights protecting the extraction, dissemination, use and reuse of + data in a Work; + . + vi. database rights (such as those arising under Directive 96/9/EC of + the European Parliament and of the Council of 11 March 1996 on the legal + protection of databases, and under any national implementation thereof, + including any amended or successor version of such directive); and + . + vii. other similar, equivalent or corresponding rights throughout the + world based on applicable law or treaty, and any national + implementations thereof. + . + 2. Waiver. To the greatest extent permitted by, but not in contravention + of, applicable law, Affirmer hereby overtly, fully, permanently, + irrevocably and unconditionally waives, abandons, and surrenders all of + Affirmer's Copyright and Related Rights and associated claims and causes + of action, whether now known or unknown (including existing as well as + future claims and causes of action), in the Work (i) in all territories + worldwide, (ii) for the maximum duration provided by applicable law or + treaty (including future time extensions), (iii) in any current or + future medium and for any number of copies, and (iv) for any purpose + whatsoever, including without limitation commercial, advertising or + promotional purposes (the "Waiver"). Affirmer makes the Waiver for the + benefit of each member of the public at large and to the detriment of + Affirmer's heirs and successors, fully intending that such Waiver shall + not be subject to revocation, rescission, cancellation, termination, or + any other legal or equitable action to disrupt the quiet enjoyment of + the Work by the public as contemplated by Affirmer's express Statement + of Purpose. + . + 3. Public License Fallback. Should any part of the Waiver for any reason + be judged legally invalid or ineffective under applicable law, then the + Waiver shall be preserved to the maximum extent permitted taking into + account Affirmer's express Statement of Purpose. In addition, to the + extent the Waiver is so judged Affirmer hereby grants to each affected + person a royalty-free, non transferable, non sublicensable, non + exclusive, irrevocable and unconditional license to exercise Affirmer's + Copyright and Related Rights in the Work (i) in all territories + worldwide, (ii) for the maximum duration provided by applicable law or + treaty (including future time extensions), (iii) in any current or + future medium and for any number of copies, and (iv) for any purpose + whatsoever, including without limitation commercial, advertising or + promotional purposes (the "License"). The License shall be deemed + effective as of the date CC0 was applied by Affirmer to the Work. Should + any part of the License for any reason be judged legally invalid or + ineffective under applicable law, such partial invalidity or + ineffectiveness shall not invalidate the remainder of the License, and + in such case Affirmer hereby affirms that he or she will not (i) + exercise any of his or her remaining Copyright and Related Rights in the + Work or (ii) assert any associated claims and causes of action with + respect to the Work, in either case contrary to Affirmer's express + Statement of Purpose. + . + 4. Limitations and Disclaimers. + . + a. No trademark or patent rights held by Affirmer are waived, abandoned, + surrendered, licensed or otherwise affected by this document. + . + b. Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, statutory + or otherwise, including without limitation warranties of title, + merchantability, fitness for a particular purpose, non infringement, or + the absence of latent or other defects, accuracy, or the present or + absence of errors, whether or not discoverable, all to the greatest + extent permissible under applicable law. + . + c. Affirmer disclaims responsibility for clearing rights of other + persons that may apply to the Work or any use thereof, including without + limitation any person's Copyright and Related Rights in the Work. + Further, Affirmer disclaims responsibility for obtaining any necessary + consents, permissions or other rights required for any use of the Work. + . + d. Affirmer understands and acknowledges that Creative Commons is not a + party to this document and has no duty or obligation with respect to + this CC0 or use of the Work. + +License: GPL-2.0+ + This program is free software; you can redistribute it + and/or modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later + version. + . + This program is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU General Public License for more + details. + . + You should have received a copy of the GNU General Public + License along with this package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. + +License: OFL-1.1 + ----------------------------------------------------------- + SIL OPEN FONT LICENSE Version 1.1 - 1 February 2007 + ----------------------------------------------------------- + . + PREAMBLE + The goals of the Open Font License (OFL) are to stimulate worldwide + development of collaborative font projects, to support the font creation + efforts of academic and linguistic communities, and to provide a free and + open framework in which fonts may be shared and improved in partnership + with others. + . + The OFL allows the licensed fonts to be used, studied, modified and + redistributed freely as long as they are not sold by themselves. The + fonts, including any derivative works, can be bundled, embedded, + redistributed and/or sold with any software provided that the font + names of derivative works are changed. The fonts and derivatives, + however, cannot be released under any other type of license. The + requirement for fonts to remain under this license does not apply + to any document created using the fonts or their derivatives. + . + DEFINITIONS + "Font Software" refers to the set of files released by the Copyright + Holder(s) under this license and clearly marked as such. This may + include source files, build scripts and documentation. + . + "Reserved Font Name" refers to any names specified as such after the + copyright statement(s). + . + "Original Version" refers to the collection of Font Software components as + distributed by the Copyright Holder(s). + . + "Modified Version" refers to any derivative made by adding to, deleting, + or substituting -- in part or in whole -- any of the components of the + Original Version, by changing formats or by porting the Font Software to a + new environment. + . + "Author" refers to any designer, engineer, programmer, technical + writer or other person who contributed to the Font Software. + . + PERMISSION & CONDITIONS + Permission is hereby granted, free of charge, to any person obtaining + a copy of the Font Software, to use, study, copy, merge, embed, modify, + redistribute, and sell modified and unmodified copies of the Font + Software, subject to the following conditions: + . + 1) Neither the Font Software nor any of its individual components, + in Original or Modified Versions, may be sold by itself. + . + 2) Original or Modified Versions of the Font Software may be bundled, + redistributed and/or sold with any software, provided that each copy + contains the above copyright notice and this license. These can be + included either as stand-alone text files, human-readable headers or + in the appropriate machine-readable metadata fields within text or + binary files as long as those fields can be easily viewed by the user. + . + 3) No Modified Version of the Font Software may use the Reserved Font + Name(s) unless explicit written permission is granted by the corresponding + Copyright Holder. This restriction only applies to the primary font name as + presented to the users. + . + 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font + Software shall not be used to promote, endorse or advertise any + Modified Version, except to acknowledge the contribution(s) of the + Copyright Holder(s) and the Author(s) or with their explicit written + permission. + . + 5) The Font Software, modified or unmodified, in part or in whole, + must be distributed entirely under this license, and must not be + distributed under any other license. The requirement for fonts to + remain under this license does not apply to any document created + using the Font Software. + . + TERMINATION + This license becomes null and void if any of the above conditions are + not met. + . + DISCLAIMER + THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT + OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE + COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL + DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM + OTHER DEALINGS IN THE FONT SOFTWARE. + +License: Zlib + 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. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..cec628c --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +pristine-tar = True diff --git a/debian/libsfml-audio2.5.install b/debian/libsfml-audio2.5.install new file mode 100644 index 0000000..8a7b276 --- /dev/null +++ b/debian/libsfml-audio2.5.install @@ -0,0 +1 @@ +usr/lib/*/lib*-audio.so.* diff --git a/debian/libsfml-dev.install b/debian/libsfml-dev.install new file mode 100644 index 0000000..2dadef7 --- /dev/null +++ b/debian/libsfml-dev.install @@ -0,0 +1,4 @@ +usr/include/* +usr/lib/*/cmake +usr/lib/*/lib*.so +usr/lib/*/pkgconfig/* diff --git a/debian/libsfml-doc.README.Debian b/debian/libsfml-doc.README.Debian new file mode 100644 index 0000000..e4a0bfb --- /dev/null +++ b/debian/libsfml-doc.README.Debian @@ -0,0 +1,23 @@ +Files excluded from Debian package +================ +The Debian documentation package ships some samples that won't run out +of the box. This is because the data files aren't free (and for some +of them it's questionable if it's even allowed to distribute them). To +run these samples you might need to find replacements for the following +files: + + examples/android/app/src/main/assets/canary.wav + examples/android/app/src/main/assets/orchestral.ogg + examples/iOS/resources/canary.wav + examples/iOS/resources/orchestral.ogg + examples/opengl/resources/background.jpg + examples/opengl/resources/texture.jpg + examples/shader/resources/background.jpg + examples/sound/resources/canary.wav + examples/sound/resources/orchestral.ogg + examples/win32/resources + examples/win32/resources/image1.jpg + examples/win32/resources/image2.jpg + +The Debian source package does not ship any of the xcode templates since +they also include non-free resources like the ones above. diff --git a/debian/libsfml-doc.doc-base b/debian/libsfml-doc.doc-base new file mode 100644 index 0000000..9a4377d --- /dev/null +++ b/debian/libsfml-doc.doc-base @@ -0,0 +1,9 @@ +Document: libsfml-doc +Title: SFML Documentation +Author: Laurent Gomila +Abstract: API documentation for SFML (Simple and Fast Multimedia Library) +Section: Programming/C++ + +Format: HTML +Index: /usr/share/doc/libsfml-dev/html/index.html +Files: /usr/share/doc/libsfml-dev/html/* diff --git a/debian/libsfml-doc.docs b/debian/libsfml-doc.docs new file mode 100644 index 0000000..f9a1781 --- /dev/null +++ b/debian/libsfml-doc.docs @@ -0,0 +1 @@ +usr/share/SFML/doc/html diff --git a/debian/libsfml-doc.examples b/debian/libsfml-doc.examples new file mode 100644 index 0000000..e39721e --- /dev/null +++ b/debian/libsfml-doc.examples @@ -0,0 +1 @@ +examples/* diff --git a/debian/libsfml-graphics2.5.install b/debian/libsfml-graphics2.5.install new file mode 100644 index 0000000..1853f3b --- /dev/null +++ b/debian/libsfml-graphics2.5.install @@ -0,0 +1 @@ +usr/lib/*/lib*-graphics.so.* diff --git a/debian/libsfml-network2.5.install b/debian/libsfml-network2.5.install new file mode 100644 index 0000000..b769faf --- /dev/null +++ b/debian/libsfml-network2.5.install @@ -0,0 +1 @@ +usr/lib/*/lib*-network.so.* diff --git a/debian/libsfml-system2.5.install b/debian/libsfml-system2.5.install new file mode 100644 index 0000000..19b0317 --- /dev/null +++ b/debian/libsfml-system2.5.install @@ -0,0 +1 @@ +usr/lib/*/lib*-system.so.* diff --git a/debian/libsfml-system2.5.lintian-overrides b/debian/libsfml-system2.5.lintian-overrides new file mode 100644 index 0000000..d91ea2e --- /dev/null +++ b/debian/libsfml-system2.5.lintian-overrides @@ -0,0 +1,3 @@ +# The libsfml-system package doesn't use any functions which can be +# fortified, even though all the correct flags are passed. +libsfml-system2.5 binary: hardening-no-fortify-functions diff --git a/debian/libsfml-window2.5.install b/debian/libsfml-window2.5.install new file mode 100644 index 0000000..bf25e6e --- /dev/null +++ b/debian/libsfml-window2.5.install @@ -0,0 +1 @@ +usr/lib/*/lib*-window.so.* diff --git a/debian/missing-sources/sfml-final-clean.svg b/debian/missing-sources/sfml-final-clean.svg new file mode 100644 index 0000000..35ec49b --- /dev/null +++ b/debian/missing-sources/sfml-final-clean.svg @@ -0,0 +1,194 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + version="1.1" + width="393.19" + height="133.42" + id="svg2"> + <title + id="title3015">SFML Logo</title> + <defs + id="defs4"> + <linearGradient + id="linearGradient6147"> + <stop + id="stop6149" + style="stop-color:#b4b4b4;stop-opacity:1" + offset="0" /> + <stop + id="stop6151" + style="stop-color:#ffffff;stop-opacity:1" + offset="1" /> + </linearGradient> + <linearGradient + id="linearGradient4987"> + <stop + id="stop4989" + style="stop-color:#a9ee52;stop-opacity:1" + offset="0" /> + <stop + id="stop4991" + style="stop-color:#53880e;stop-opacity:1" + offset="1" /> + </linearGradient> + <linearGradient + x1="2343.2" + y1="2232" + x2="2343.2" + y2="2428.3999" + id="linearGradient4885" + xlink:href="#linearGradient4987" + gradientUnits="userSpaceOnUse" + gradientTransform="translate(-2253.6,-2223.8)" /> + <linearGradient + x1="1278.2" + y1="2736.3999" + x2="1278.2" + y2="2574.3999" + id="linearGradient4887" + xlink:href="#linearGradient6147" + gradientUnits="userSpaceOnUse" + gradientTransform="translate(4859.7,-2175.4)" /> + <linearGradient + x1="1277" + y1="2519.1001" + x2="1278.2" + y2="2736.3999" + id="linearGradient4897" + gradientUnits="userSpaceOnUse" + gradientTransform="translate(4859.7,-2175.4)"> + <stop + id="stop4554" + style="stop-color:#7d7d7d;stop-opacity:1" + offset="0" /> + <stop + id="stop4556" + style="stop-color:#7d7d7d;stop-opacity:1" + offset="1" /> + </linearGradient> + <linearGradient + x1="2343.2" + y1="2232" + x2="2343.2" + y2="2361.8999" + id="linearGradient4923" + xlink:href="#linearGradient4987" + gradientUnits="userSpaceOnUse" + gradientTransform="translate(-2253.6,-2223.8)" /> + <linearGradient + x1="1278.2" + y1="2655.6001" + x2="1278.2" + y2="2574.3999" + id="linearGradient4994" + xlink:href="#linearGradient6147" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.79697,0,0,0.79697,-751.52,-2003.5)" /> + </defs> + <metadata + id="metadata7"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title>SFML Logo</dc:title> + <dc:date>1 May 2013</dc:date> + <dc:creator> + <cc:Agent> + <dc:title>Michael Bradshaw</dc:title> + </cc:Agent> + </dc:creator> + <cc:license + rdf:resource="http://creativecommons.org/licenses/publicdomain/" /> + </cc:Work> + <cc:License + rdf:about="http://creativecommons.org/licenses/publicdomain/"> + <cc:permits + rdf:resource="http://creativecommons.org/ns#Reproduction" /> + <cc:permits + rdf:resource="http://creativecommons.org/ns#Distribution" /> + <cc:permits + rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /> + </cc:License> + </rdf:RDF> + </metadata> + <g + transform="matrix(0.79697,0,0,0.79697,-4624.5,-269.71)" + id="text6340" + style="fill:none;stroke:url(#linearGradient4897);stroke-width:2"> + <path + d="m 5992.7,461.04 c -4.2,0 -7.68,3.48 -7.68,7.68 0,4.2 3.48,7.68 7.68,7.68 h 38.4 c 12.72,0 23.04,-10.32 23.04,-23.04 0,-12.72 -10.32,-23.04 -23.04,-23.04 h -23.04 c -4.2,0 -7.68,-3.48 -7.68,-7.68 0,-4.2 3.48,-7.68 7.68,-7.68 h 34.56 c 4.2,0 7.68,-3.48 7.68,-7.68 0,-4.2 -3.48,-7.68 -7.68,-7.68 h -34.56 c -12.72,0 -23.04,10.32 -23.04,23.04 0,12.72 10.32,23.04 23.04,23.04 h 23.04 c 4.2,0 7.68,3.48 7.68,7.68 0,4.2 -3.48,7.68 -7.68,7.68 h -38.4" + id="path5982" /> + <path + d="m 6075.2,445.68 h 28.8 c 4.2,0 7.68,-3.48 7.68,-7.68 0,-4.2 -3.48,-7.68 -7.68,-7.68 h -28.8 v -15.36 h 38.4 c 4.2,0 7.68,-3.48 7.68,-7.68 0,-4.2 -3.48,-7.68 -7.68,-7.68 h -46.08 c -4.2,0 -7.68,3.48 -7.68,7.68 v 61.44 c 0,4.2 3.48,7.68 7.68,7.68 4.2,0 7.68,-3.48 7.68,-7.68 v -23.04" + id="path5984" /> + <path + d="m 6169.3,449.52 c 1.92,0 3.96,-0.72 5.4,-2.28 l 21.48,-21.48 v 42.96 c 0,4.2 3.48,7.68 7.68,7.68 4.2,0 7.68,-3.48 7.68,-7.68 v -61.44 c 0,-4.2 -3.48,-7.68 -7.68,-7.68 -2.04,0 -3.96,0.84 -5.4,2.28 l -29.16,29.16 -29.16,-29.16 c -1.44,-1.44 -3.36,-2.28 -5.4,-2.28 -4.2,0 -7.68,3.48 -7.68,7.68 v 61.44 c 0,4.2 3.48,7.68 7.68,7.68 4.2,0 7.68,-3.48 7.68,-7.68 v -42.96 l 21.48,21.48 c 1.44,1.56 3.48,2.28 5.4,2.28" + id="path5986" /> + <path + d="m 6221.1,468.72 c 0,4.2 3.48,7.68 7.68,7.68 h 46.08 c 4.2,0 7.68,-3.48 7.68,-7.68 0,-4.2 -3.48,-7.68 -7.68,-7.68 h -38.4 v -53.76 c 0,-4.2 -3.48,-7.68 -7.68,-7.68 -4.2,0 -7.68,3.48 -7.68,7.68 v 61.44" + id="path5988" /> + </g> + <g + transform="matrix(0.79697,0,0,0.79697,-4624.5,-269.71)" + id="text6344" + style="fill:url(#linearGradient4887)"> + <path + d="m 5992.7,461.04 c -4.2,0 -7.68,3.48 -7.68,7.68 0,4.2 3.48,7.68 7.68,7.68 h 38.4 c 12.72,0 23.04,-10.32 23.04,-23.04 0,-12.72 -10.32,-23.04 -23.04,-23.04 h -23.04 c -4.2,0 -7.68,-3.48 -7.68,-7.68 0,-4.2 3.48,-7.68 7.68,-7.68 h 34.56 c 4.2,0 7.68,-3.48 7.68,-7.68 0,-4.2 -3.48,-7.68 -7.68,-7.68 h -34.56 c -12.72,0 -23.04,10.32 -23.04,23.04 0,12.72 10.32,23.04 23.04,23.04 h 23.04 c 4.2,0 7.68,3.48 7.68,7.68 0,4.2 -3.48,7.68 -7.68,7.68 h -38.4" + id="path5962" /> + <path + d="m 6075.2,445.68 h 28.8 c 4.2,0 7.68,-3.48 7.68,-7.68 0,-4.2 -3.48,-7.68 -7.68,-7.68 h -28.8 v -15.36 h 38.4 c 4.2,0 7.68,-3.48 7.68,-7.68 0,-4.2 -3.48,-7.68 -7.68,-7.68 h -46.08 c -4.2,0 -7.68,3.48 -7.68,7.68 v 61.44 c 0,4.2 3.48,7.68 7.68,7.68 4.2,0 7.68,-3.48 7.68,-7.68 v -23.04" + id="path5964" /> + <path + d="m 6169.3,449.52 c 1.92,0 3.96,-0.72 5.4,-2.28 l 21.48,-21.48 v 42.96 c 0,4.2 3.48,7.68 7.68,7.68 4.2,0 7.68,-3.48 7.68,-7.68 v -61.44 c 0,-4.2 -3.48,-7.68 -7.68,-7.68 -2.04,0 -3.96,0.84 -5.4,2.28 l -29.16,29.16 -29.16,-29.16 c -1.44,-1.44 -3.36,-2.28 -5.4,-2.28 -4.2,0 -7.68,3.48 -7.68,7.68 v 61.44 c 0,4.2 3.48,7.68 7.68,7.68 4.2,0 7.68,-3.48 7.68,-7.68 v -42.96 l 21.48,21.48 c 1.44,1.56 3.48,2.28 5.4,2.28" + id="path5966" /> + <path + d="m 6221.1,468.72 c 0,4.2 3.48,7.68 7.68,7.68 h 46.08 c 4.2,0 7.68,-3.48 7.68,-7.68 0,-4.2 -3.48,-7.68 -7.68,-7.68 h -38.4 v -53.76 c 0,-4.2 -3.48,-7.68 -7.68,-7.68 -4.2,0 -7.68,3.48 -7.68,7.68 v 61.44" + id="path5968" /> + </g> + <g + id="g3370" + style="fill:url(#linearGradient4994)"> + <path + d="m 186.19,87.125 c 1.2062,1.1223 1.9375,2.7464 1.9375,4.5 0,3.3473 -2.7465,6.0938 -6.0938,6.0938 h -30.625 c -3.3473,0 -6.125,2.7778 -6.125,6.125 0,3.3472 2.7777,6.125 6.125,6.125 h 30.625 c 10.137,0 18.344,-8.2064 18.344,-18.344 0,-1.5281 -0.21037,-3.018 -0.5625,-4.4375 -1.0753,0.004 -2.1399,0.0312 -3.2188,0.0312 -3.4879,0 -6.9568,-0.0494 -10.406,-0.0937 z" + id="path4913" /> + <path + d="m 217.16,86.937 c -4.0514,0.10366 -8.1401,0.17655 -12.25,0.21875 v 16.688 c 0,3.3472 2.7778,6.125 6.125,6.125 3.3472,0 6.125,-2.7778 6.125,-6.125 v -16.906 z" + id="path4915" /> + <path + d="m 325.84,75.719 c -3.9841,0.78787 -8.0546,1.5346 -12.219,2.25 v 25.875 c 0,3.3472 2.7465,6.125 6.0938,6.125 3.3473,0 6.125,-2.7778 6.125,-6.125 V 75.719 z m -22.188,3.8438 c -6.5517,1.0005 -13.302,1.9018 -20.219,2.7188 l 4.4375,4.4375 c 1.1476,1.2433 2.7823,1.8438 4.3125,1.8438 1.5302,0 3.1649,-0.60048 4.3125,-1.8438 l 7.1562,-7.1562 z m -32.906,4.125 c -4.0235,0.39624 -8.0963,0.72995 -12.219,1.0625 v 19.094 c 0,3.3472 2.7778,6.125 6.125,6.125 3.3472,0 6.0938,-2.7778 6.0938,-6.125 v -20.156 z" + id="path4917" /> + <path + d="m 345.66,71.312 c -3.9641,0.98472 -8.0194,1.9383 -12.219,2.8438 v 29.688 c 0,3.3472 2.7777,6.125 6.125,6.125 h 36.719 c 3.3472,0 6.125,-2.7778 6.125,-6.125 0,-3.3472 -2.7778,-6.125 -6.125,-6.125 H 345.66 v -26.406 z" + id="path4919" /> + </g> + <path + d="m 87.546,19.273 3.886,2.8233 3.8859,2.8233 3.886,2.8233 3.886,2.8233 3.8858,2.8233 3.886,2.8233 c 19.738,14.509 17.411,20.329 12.008,36.958 l -1.4844,4.5682 -1.4843,4.5681 -1.4843,4.5681 -1.4843,4.5682 -1.4843,4.5682 -1.4843,4.5682 c -7.6993,23.255 -13.954,22.841 -31.438,22.841 h -28.819 c -24.497,-0.1361 -26.035,-6.2125 -31.438,-22.841 l -1.4843,-4.5682 -1.4843,-4.5682 -1.4843,-4.5682 -1.4843,-4.5681 -1.4843,-4.5682 -1.4844,-4.5682 c -7.4402,-23.34 -2.1364,-26.681 12.008,-36.958 l 3.8859,-2.8233 3.886,-2.8233 3.8859,-2.8233 3.8859,-2.8234 3.886,-2.8233 3.886,-2.8233 c 19.898,-14.289 24.715,-10.277 38.859,10e-5 z" + id="path6382" + style="fill:url(#linearGradient4885)" /> + <path + d="m 10.188,59.469 c 0.37239,3.6681 1.4035,8.091 3.1875,13.688 l 1.4688,4.5938 1.5,4.5625 1.4688,4.5625 1.5,4.5625 1.4688,4.5625 1.5,4.5938 c 5.403,16.629 6.9408,22.676 31.438,22.812 h 28.812 c 17.484,0 23.738,0.4429 31.438,-22.812 l 1.4688,-4.5938 1.5,-4.5625 1.4688,-4.5625 1.125,-3.4688 C 74.9375,78.815 36.8215,70.363 10.1925,59.464 z" + id="path4909" + style="fill:url(#linearGradient4923)" /> + <g + id="g3366" + style="fill:#ffffff"> + <path + d="m 88.397,30.201 -4.0625,15.594 1.0626,0.7813 2.6873,1.9375 2.6876,1.9687 2.6874,1.9375 2.6876,1.9688 2.875,2.0624 c 2.3606,1.6117 3.1102,2.4368 3.3437,2.6563 -0.081,0.27935 -0.3067,1.2839 -1.25,4.1875 l -1.0313,3.1875 -1.0312,3.1563 -1.0312,3.1562 -1.0313,3.1562 -1,3.1563 -1.0313,3.1875 -1.0312,3.1562 -1.0312,3.1563 -1.0313,3.1563 -1.0933,3.375 c -0.8129,2.7753 -1.3716,3.7233 -1.5,4 -0.3561,0.009 -1.3152,0.094 -4.3749,0.094 h -33.468 c -2.8617,0.084 -3.933,-0.116 -4.25,-0.1563 -0.099,-0.25144 -0.4714,-0.88861 -1.4375,-4.1562 l -1.0313,-3.1562 -1.0312,-3.1563 -1.0312,-3.1563 -1.0313,-3.1562 -1.0313,-3.1875 -1.0312,-3.1563 -1,-3.1562 -1.0312,-3.1562 -1.0313,-3.1563 -1.0932,-3.375 c -0.9795,-2.7392 -1.0983,-3.8344 -1.1563,-4.125 0.2263,-0.18141 0.7323,-0.668 3.4686,-2.6563 l 2.6876,-1.9374 2.7187,-1.9688 2.6875,-1.9375 2.6875,-1.9687 2.6875,-1.9375 1.0312,-0.75 -4.0624,-15.594 -0.4063,0.2813 -2.6875,1.9687 -2.6875,1.9375 -2.6875,1.9688 -2.7188,1.9375 -2.6873,1.9687 -2.6876,1.9688 -2.6874,1.9375 c -3.2131,2.3343 -6.6834,4.2644 -8.6876,9.1249 -1.9794,4.8008 -0.8511,9.499 0.9691,14.625 l 1.031,3.1561 1.0313,3.1563 1.0313,3.1562 1.0312,3.1875 1.0312,3.1563 1.0313,3.1562 1.0313,3.1562 1,3.1563 1.0312,3.1875 1.0312,3.1562 c 1.2272,3.7771 1.9967,7.6856 5.9999,11.094 3.9487,3.3615 8.7588,3.7082 14.188,3.5625 h 33.251 c 3.9714,0 7.9277,0.4731 12.406,-2.2813 4.415,-2.7154 6.2739,-7.1702 7.8125,-12.375 l 1.0308,-3.1562 1,-3.1875 1.0312,-3.1563 1.0312,-3.1562 1.0313,-3.1562 1.0313,-3.1563 1.0312,-3.1875 1.0311,-3.1562 1.0313,-3.1563 1,-3.1563 c 1.2271,-3.777 2.9231,-7.3895 1.6875,-12.5 -1.2183,-5.0389 -4.8991,-8.1777 -9.3749,-11.25 L 104.9932,42.2638 102.2745,40.295 99.5869,38.3263 96.8995,36.3888 94.2119,34.42 91.5245,32.4825 88.8369,30.5138 88.3995,30.2013 z" + id="path6354" + style="text-indent:0;text-transform:none;block-progression:tb;color:#000000" /> + <path + d="m 67.526,19.176 c -4.3084,0.26351 -7.9562,2.5794 -11.719,5.4688 -0.036,0.027 -0.061,0.065 -0.094,0.094 l 10.312,39.704 4.5,10e-5 10.344,-39.704 -0.094,-0.094 C 77.562,22.3107 74.642,19.6115 69.4,19.2074 c -0.6454,-0.05 -1.2595,-0.069 -1.875,-0.031 z" + id="path6356" + style="text-indent:0;text-transform:none;block-progression:tb;color:#000000" /> + </g> +</svg> diff --git a/debian/patches/01_remove-googleapi-css.patch b/debian/patches/01_remove-googleapi-css.patch new file mode 100644 index 0000000..776be09 --- /dev/null +++ b/debian/patches/01_remove-googleapi-css.patch @@ -0,0 +1,16 @@ +Description: Remove commented out googleapi css in documentation + There isn't actually any privacy breach here (since the line is commented + out), but removing it shuts up lintian. +Author: James Cowgill <jcowgill@debian.org> +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/doc/header.html.in ++++ b/doc/header.html.in +@@ -4,7 +4,6 @@ + <title>SFML - Simple and Fast Multimedia Library</title> + <meta http-equiv="Content-Type" content="text/html;"/> + <meta charset="utf-8"/> +- <!--<link rel='stylesheet' type='text/css' href="https://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic"/>--> + <link rel="stylesheet" type="text/css" href="doxygen.css" title="default" media="screen,print" /> + <script type="text/javascript" src="jquery.js"></script> + <script type="text/javascript" src="dynsections.js"></script> diff --git a/debian/patches/02_build-doc-once.patch b/debian/patches/02_build-doc-once.patch new file mode 100644 index 0000000..3674295 --- /dev/null +++ b/debian/patches/02_build-doc-once.patch @@ -0,0 +1,21 @@ +Description: Adjust build script to build documentation only once + This patch removes the ALL option from the documentation build command so + that it must be run manually with "make doc". This prevents the documentation + being built twice (normal build + install phase). It also allows the + documentation building to happen after the code building, which makes the + logs much more readable in parallel builds. +Author: James Cowgill <jcowgill@debian.org> +Forwarded: no +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/doc/CMakeLists.txt ++++ b/doc/CMakeLists.txt +@@ -45,7 +45,7 @@ configure_file(${DOXYGEN_INPUT_DIR}/doc/ + configure_file(${DOXYGEN_INPUT_DIR}/doc/doxygen.css ${DOXYGEN_OUTPUT_DIR}/html/doxygen.css COPYONLY) + + # target setup +-add_custom_target(doc ALL ++add_custom_target(doc + COMMAND ${CMAKE_COMMAND} -E echo_append "Building API Documentation..." + COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_CONFIGURED_INPUT} + COMMAND ${CMAKE_COMMAND} -E echo "Done." diff --git a/debian/patches/03_pkgconfig-cleanup.patch b/debian/patches/03_pkgconfig-cleanup.patch new file mode 100644 index 0000000..915bae0 --- /dev/null +++ b/debian/patches/03_pkgconfig-cleanup.patch @@ -0,0 +1,41 @@ +Description: Cleanup duplicated pkg-config code + Some parts of the pkg-config code released with 2.5.0 were duplicated and make + adjusting the pkg-config paths more complicated. Fix this by simply removing + the old code (which should be removed anyway). +Author: James Cowgill <jcowgill@debian.org> +Forwarded: no +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -269,30 +269,6 @@ if(SFML_OS_MACOSX) + set(XCODE_TEMPLATES_ARCH "\$(NATIVE_ARCH_ACTUAL)") + endif() + +-if(SFML_OS_LINUX OR SFML_OS_FREEBSD OR SFML_OS_OPENBSD) +- set(PKGCONFIG_DIR lib${LIB_SUFFIX}/pkgconfig) +- if(SFML_OS_FREEBSD OR SFML_OS_OPENBSD) +- set(PKGCONFIG_DIR libdata/pkgconfig) +- endif() +- if(BUILD_SHARED_LIBS) +- sfml_set_option(SFML_INSTALL_PKGCONFIG_FILES FALSE BOOL "TRUE to automatically install pkg-config files so other projects can find SFML") +- if(SFML_INSTALL_PKGCONFIG_FILES) +- foreach(sfml_module IN ITEMS all system window graphics audio network) +- CONFIGURE_FILE( +- "tools/pkg-config/sfml-${sfml_module}.pc.in" +- "tools/pkg-config/sfml-${sfml_module}.pc" +- @ONLY) +- INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/tools/pkg-config/sfml-${sfml_module}.pc" +- DESTINATION "${CMAKE_INSTALL_PREFIX}/${PKGCONFIG_DIR}") +- endforeach() +- endif() +- else() +- if(SFML_INSTALL_PKGCONFIG_FILES) +- message(WARNING "No pkg-config files are provided for the static SFML libraries (SFML_INSTALL_PKGCONFIG_FILES will be ignored).") +- endif() +- endif() +-endif() +- + # enable project folders + set_property(GLOBAL PROPERTY USE_FOLDERS ON) + set_property(GLOBAL PROPERTY PREDEFINED_TARGETS_FOLDER "CMake") diff --git a/debian/patches/04_pkgconfig-freebsd.patch b/debian/patches/04_pkgconfig-freebsd.patch new file mode 100644 index 0000000..df3f5be --- /dev/null +++ b/debian/patches/04_pkgconfig-freebsd.patch @@ -0,0 +1,30 @@ +Description: Install FreeBSD pkgconfig files in lib/pkgconfig again +Author: James Cowgill <jcowgill@debian.org> +Forwarded: no +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/cmake/Config.cmake ++++ b/cmake/Config.cmake +@@ -69,18 +69,10 @@ else() + return() + endif() + +-# check if OS or package system supports pkg-config +-# this could be e.g. macports on mac or msys2 on windows etc. +-find_package(PkgConfig QUIET) +-if(PKG_CONFIG_EXECUTABLE) +- if(EXISTS "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/pkgconfig") +- set(SFML_OS_SUPPORTS_PKGCONFIG ON) +- set(SFML_OS_PKGCONFIG_DIR "/lib${LIB_SUFFIX}/pkgconfig") +- elseif(EXISTS "${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig") +- set(SFML_OS_SUPPORTS_PKGCONFIG ON) +- set(SFML_OS_PKGCONFIG_DIR "/libdata/pkgconfig") +- endif() +-endif() ++# on Debian, always install pkg-config files, and always into the default ++# $libdir path ++set(SFML_OS_SUPPORTS_PKGCONFIG ON) ++set(SFML_OS_PKGCONFIG_DIR "/lib${LIB_SUFFIX}/pkgconfig") + + # detect the compiler and its version + # Note: on some platforms (OS X), CMAKE_COMPILER_IS_GNUCXX is true diff --git a/debian/patches/05_cmake-config-LIB_SIFFIX.patch b/debian/patches/05_cmake-config-LIB_SIFFIX.patch new file mode 100644 index 0000000..b7f4fa2 --- /dev/null +++ b/debian/patches/05_cmake-config-LIB_SIFFIX.patch @@ -0,0 +1,17 @@ +Description: Install CMake config files into lib${LIB_SIFFIX} +Author: James Cowgill <jcowgill@debian.org> +Forwarded: no +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ + +--- a/cmake/Macros.cmake ++++ b/cmake/Macros.cmake +@@ -320,7 +320,7 @@ function(sfml_export_targets) + if (SFML_BUILD_FRAMEWORKS) + set(config_package_location "SFML.framework/Resources/CMake") + else() +- set(config_package_location lib/cmake/SFML) ++ set(config_package_location lib${LIB_SUFFIX}/cmake/SFML) + endif() + configure_package_config_file("${CURRENT_DIR}/SFMLConfig.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/SFMLConfig.cmake" + INSTALL_DESTINATION "${config_package_location}") diff --git a/debian/patches/06_pkgconfig-libs-private.patch b/debian/patches/06_pkgconfig-libs-private.patch new file mode 100644 index 0000000..050453b --- /dev/null +++ b/debian/patches/06_pkgconfig-libs-private.patch @@ -0,0 +1,38 @@ +Description: Remove *.private fields from pkg-config files + This avoids unnecessary dependencies which are only needed when building static + libraries. It also removes the unused dependency on glu. +Author: James Cowgill <jcowgill@debian.org> +Forwarded: not-needed +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/tools/pkg-config/sfml-audio.pc.in ++++ b/tools/pkg-config/sfml-audio.pc.in +@@ -8,8 +8,5 @@ Description: The Simple and Fast Multime + URL: http://www.sfml-dev.org + Version: @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@ + Requires: sfml-system +-Requires.private: openal, vorbisenc, vorbisfile, vorbis, ogg, flac + Libs: -L${libdir} -lsfml-audio +-# openal may be a system framework +-Libs.private: @OPENAL_LIBRARY@ + Cflags: -I${includedir} +--- a/tools/pkg-config/sfml-graphics.pc.in ++++ b/tools/pkg-config/sfml-graphics.pc.in +@@ -8,8 +8,5 @@ Description: The Simple and Fast Multime + URL: http://www.sfml-dev.org + Version: @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@ + Requires: sfml-window +-Requires.private: sfml-system, freetype2 + Libs: -L${libdir} -lsfml-graphics +-# gl may not be in pkg-config +-Libs.private: @OPENGL_gl_LIBRARY@ @OPENGL_glu_LIBRARY@ + Cflags: -I${includedir} +--- a/tools/pkg-config/sfml-window.pc.in ++++ b/tools/pkg-config/sfml-window.pc.in +@@ -9,6 +9,4 @@ URL: http://www.sfml-dev.org + Version: @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@ + Requires: sfml-system + Libs: -L${libdir} -lsfml-window +-# gl may not be in pkg-config +-Libs.private: @OPENGL_gl_LIBRARY@ @OPENGL_glu_LIBRARY@ + Cflags: -I${includedir} diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..51f1523 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,6 @@ +01_remove-googleapi-css.patch +02_build-doc-once.patch +03_pkgconfig-cleanup.patch +04_pkgconfig-freebsd.patch +05_cmake-config-LIB_SIFFIX.patch +06_pkgconfig-libs-private.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..3579e28 --- /dev/null +++ b/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +include /usr/share/dpkg/architecture.mk + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + +%: + dh $@ + +override_dh_auto_configure: + dh_auto_configure -- \ + -DLIB_SUFFIX=/$(DEB_HOST_MULTIARCH) \ + -DSFML_BUILD_DOC=ON \ + -DSFML_INSTALL_PKGCONFIG_FILES=ON + +override_dh_auto_build: + dh_auto_build -- all doc + +override_dh_installexamples: + dh_installexamples -X.gitignore diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/tests/CMakeLists.txt b/debian/tests/CMakeLists.txt new file mode 100644 index 0000000..02c726b --- /dev/null +++ b/debian/tests/CMakeLists.txt @@ -0,0 +1,12 @@ +# Test CMake project to ensure FindSFML.cmake works properly + +cmake_minimum_required(VERSION 2.8) +project(SFMLTest CXX) + +# Try to find SFML using CMake config file +# Even though this test doesn't need them, request all components to check they exist +find_package(SFML 2 COMPONENTS audio graphics network system window REQUIRED CONFIG) + +# Build the exexutable +add_executable(sfml_test sfml_test.cpp) +target_link_libraries(sfml_test sfml-network sfml-system) diff --git a/debian/tests/build b/debian/tests/build new file mode 100644 index 0000000..5ea82d4 --- /dev/null +++ b/debian/tests/build @@ -0,0 +1,30 @@ +#!/bin/sh +# autopkgtest check: Build and run a simple program against SFML + +set -e + +# Require $ADTTMP for temporary build files +if [ -z "$ADTTMP" ] +then + echo "Required envvar \"$ADTTMP\"is not set" >&2 + exit 1 +fi + +cp debian/tests/sfml_test.cpp "$ADTTMP" +cd "$ADTTMP" + +# Build programs - once with raw libraries and once with pkg-config +g++ -Wall -Werror -o sfml_test1 sfml_test.cpp -lsfml-network -lsfml-system +echo "build1: OK" +g++ -Wall -Werror -o sfml_test2 sfml_test.cpp $(pkg-config --cflags --libs sfml-all) +echo "build2: OK" +g++ -Wall -Werror -o sfml_test3 sfml_test.cpp $(pkg-config --cflags --libs sfml-network sfml-system) +echo "build3: OK" + +# Run them +./sfml_test1 +echo "run1: OK" +./sfml_test2 +echo "run2: OK" +./sfml_test3 +echo "run3: OK" diff --git a/debian/tests/cmake b/debian/tests/cmake new file mode 100644 index 0000000..b949b54 --- /dev/null +++ b/debian/tests/cmake @@ -0,0 +1,23 @@ +#!/bin/sh +# autopkgtest check: Build and run a simple program against SFML + +set -e + +# Require $ADTTMP for temporary build files +if [ -z "$ADTTMP" ] +then + echo "Required envvar \"$ADTTMP\"is not set" >&2 + exit 1 +fi + +cp debian/tests/CMakeLists.txt debian/tests/sfml_test.cpp "$ADTTMP" +cd "$ADTTMP" + +# Run CMake and build program +CFLAGS='-Wall -Werror' cmake . +make VERBOSE=1 +echo "build: OK" + +# Run it +./sfml_test +echo "run: OK" diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..4a1a5d5 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,5 @@ +Tests: build +Depends: g++, libsfml-dev, pkg-config + +Tests: cmake +Depends: cmake, g++, libsfml-dev, make diff --git a/debian/tests/sfml_test.cpp b/debian/tests/sfml_test.cpp new file mode 100644 index 0000000..f4840c4 --- /dev/null +++ b/debian/tests/sfml_test.cpp @@ -0,0 +1,25 @@ +#include <iostream> +#include <SFML/Audio.hpp> +#include <SFML/Graphics.hpp> +#include <SFML/Network.hpp> +#include <SFML/OpenGL.hpp> +#include <SFML/System.hpp> +#include <SFML/Window.hpp> + +int main() +{ + // The build test doesn't check any graphics since that would require a + // display server. We just test some basic Network / System functionality. + // However when building we can still include the other headers to ensure + // they compile. + + // Print local IP + std::cout << "Local IP = " << sf::IpAddress::getLocalAddress().toString() + << std::endl; + + // Call some time functions from sfml-system + if ((sf::seconds(5) + sf::milliseconds(1234)).asMilliseconds() != 6234) + return 1; + + return 0; +} diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..48a60a9 --- /dev/null +++ b/debian/watch @@ -0,0 +1,6 @@ +# See uscan(1) for format +version=3 + +# From GitHub +opts=repack,compression=xz,filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/SFML-$1\.tar\.gz/,dversionmangle=s/\+dfsg\d?$//,repacksuffix=+dfsg \ + https://github.com/SFML/SFML/tags .*/v?(\d\S*)\.tar\.gz |