--- libsfml-1.5+repack1.orig/debian/control +++ libsfml-1.5+repack1/debian/control @@ -0,0 +1,134 @@ +Source: libsfml +Section: devel +Priority: extra +Maintainer: Debian Games Team +Uploaders: Christoph Egger +Vcs-Git: git://git.debian.org/git/pkg-games/libsfml.git/ +Vcs-Browser: http://git.debian.org/?p=pkg-games/libsfml.git +Build-Depends: debhelper (>= 7), + libgl1-mesa-glx, + mesa-common-dev, + libglu1-mesa-dev, + libxrandr-dev, + libfreetype6-dev, + libopenal-dev, + libsndfile1-dev, + libjpeg-dev, + libpng-dev, + libglew1.5-dev, + quilt, + libsoil-dev +Standards-Version: 3.8.3 +Homepage: http://www.sfml-dev.org/ + +Package: libsfml-dev +Section: libdevel +Architecture: any +Depends: libsfml-audio1.5 (= ${binary:Version}), + libsfml-graphics1.5 (= ${binary:Version}), + libsfml-network1.5 (= ${binary:Version}), + libsfml-system1.5 (= ${binary:Version}), + libsfml-window1.5 (= ${binary:Version}) +Conflicts: libsfml1.deb3-dev +Replaces: libsfml1.deb3-dev +Suggests: libsfml1.5-dbg, libsfml-doc +Description: Simple and fast cross-platform multimedia library - Development Files + SFML is an modern multimedia library offering a wide range of subsystems + useful to produce an 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-audio1.5 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Simple and fast cross-platform multimedia library - Audio part + SFML is an modern multimedia library offering a wide range of subsystems + useful to produce an 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-graphics1.5 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Simple and fast cross-platform multimedia library - Graphics part + SFML is an modern multimedia library offering a wide range of subsystems + useful to produce an 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-network1.5 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Simple and fast cross-platform multimedia library - Network part + SFML is an modern multimedia library offering a wide range of subsystems + useful to produce an 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-system1.5 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Simple and fast cross-platform multimedia library - System part + SFML is an modern multimedia library offering a wide range of subsystems + useful to produce an 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-window1.5 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Simple and fast cross-platform multimedia library - Window part + SFML is an modern multimedia library offering a wide range of subsystems + useful to produce an 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: libsfml1.5-dbg +Section: debug +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, + libsfml-audio1.5 (= ${binary:Version}) | + libsfml-graphics1.5 (= ${binary:Version}) | + libsfml-network1.5 (= ${binary:Version}) | + libsfml-system1.5 (= ${binary:Version}) | + libsfml-window1.5 (= ${binary:Version}) +Description: Simple and fast cross-platform multimedia library - debug symbols + SFML is an modern multimedia library offering a wide range of subsystems + useful to produce an 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 debug symbols for all SFML libraries. + +Package: libsfml-doc +Replaces: libsfml1.4-doc +Section: doc +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Simple and fast cross-platform multimedia library - documentation + SFML is an modern multimedia library offering a wide range of subsystems + useful to produce an 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 source Documentation and library reference for SFML. --- libsfml-1.5+repack1.orig/debian/compat +++ libsfml-1.5+repack1/debian/compat @@ -0,0 +1 @@ +7 --- libsfml-1.5+repack1.orig/debian/libsfml-network1.5.install +++ libsfml-1.5+repack1/debian/libsfml-network1.5.install @@ -0,0 +1 @@ +usr/lib/lib*-network.so.* --- libsfml-1.5+repack1.orig/debian/README.source +++ libsfml-1.5+repack1/debian/README.source @@ -0,0 +1,21 @@ +Task: apply debian patches +Tools: quilt +Command: quilt push -a +Description: Please read /usr/share/doc/quilt/README.source how to use + quilt for managing Debian patches + +Task: getting the used tarball +Tools: make, wget +Command: make -f debian/rules get-orig-source +Description: The tarball for libsfml was repacked from upstream to get rid of + some libraries that where built in upstream. Furthermore the executeable + status of parts of the samples where mistakenly set upstream and are fixed by + the repackaging. To download and repack the tarball you can use tha makefile + target create_orig_tarball in debian/rules. Be sure to use it from the base + directory of the extracted source. + . + If you prefer doing this manually remove all «glew» «glext» «libjpeg» «libpng» + «zlib» Subdirectories from the include/ and src/ trees and change the + executeable state e.g. by this command: + find samples \( -name "*.jpg" -o -name "*.png" -o -name "*.[ch]pp" -o \ + -name "*.sfx" \) -print | xargs /bin/chmod a-x ; \ --- libsfml-1.5+repack1.orig/debian/libsfml-graphics1.5.install +++ libsfml-1.5+repack1/debian/libsfml-graphics1.5.install @@ -0,0 +1 @@ +usr/lib/lib*-graphics.so.* --- libsfml-1.5+repack1.orig/debian/libsfml-doc.examples +++ libsfml-1.5+repack1/debian/libsfml-doc.examples @@ -0,0 +1 @@ +samples/* --- libsfml-1.5+repack1.orig/debian/changelog +++ libsfml-1.5+repack1/debian/changelog @@ -0,0 +1,95 @@ +libsfml (1.5+repack1-3) unstable; urgency=low + + * Making -dev 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 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 watchfile + * 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 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 Sat, 25 Jul 2009 14:07:05 +0200 + +libsfml (1.4+repack1-1) unstable; urgency=low + + [ Christoph Egger ] + * New Upstream Version + * 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 + * Adding SOIL to repacking list + * Building Debug Package + * Building Documentation Package + * Separationg docs and examples from -dev package + * Change my E-Mail Address + + [ Gonéri Le Bouder ] + * libsfml-dev conflicts/replaces libsfml1.deb3-dev + + -- Christoph Egger Sun, 25 Jan 2009 16:51:47 +0100 + +libsfml (1.3-1) unstable; urgency=low + + * New upstream release + + -- Christoph Egger Sun, 22 Jun 2008 13:33:03 +0200 + +libsfml (1.2-3) unstable; urgency=low + + * clean rules improvement (thanks to gnoéri) + * switching to Standards Version 3.8.0 + * Adding README.source + * Renaming make target for orig tarball to reflect + common way to do so + * Allowing build on unknown arches and non-linux + debian kernels (Closes: #486851) + * Linking libraries correctly (fixing upstream makefile) + * Not installing binary sample programms + + -- Christoph Egger Thu, 19 Jun 2008 17:59:52 +0200 + +libsfml (1.2-2) unstable; urgency=low + + * Changing copyright of the packaging part + to be identical to the Source (zlib) + * Fixing Vcs-Git Field + * Fixing build with g++ 4.3 + + -- Christoph Egger Tue, 10 Jun 2008 18:52:46 +0200 + +libsfml (1.2-1) unstable; urgency=low + + * Initial release (Closes: #475850) + + -- Christoph Egger Tue, 13 May 2008 16:57:31 +0200 + --- libsfml-1.5+repack1.orig/debian/libsfml-dev.install +++ libsfml-1.5+repack1/debian/libsfml-dev.install @@ -0,0 +1,2 @@ +usr/include/* +usr/lib/lib*.so --- libsfml-1.5+repack1.orig/debian/libsfml-doc.docs +++ libsfml-1.5+repack1/debian/libsfml-doc.docs @@ -0,0 +1 @@ +doc/* --- libsfml-1.5+repack1.orig/debian/watch +++ libsfml-1.5+repack1/debian/watch @@ -0,0 +1,9 @@ +# See uscan(1) for format +version=3 + +#opts=dversionmangle=s/\+repack\d+$//g \ +# http://www.sfml-dev.org/download.php http://downloads.sourceforge.net/sfml/SFML-([\d\.]*\d)-sdk-linux-32\.tar\.gz + +opts=dversionmangle=s/\+repack\d+$//g \ + http://sf.net/sfml/SFML-([\d\.]*\d)-sdk-linux\.tar\.gz + --- libsfml-1.5+repack1.orig/debian/libsfml-audio1.5.install +++ libsfml-1.5+repack1/debian/libsfml-audio1.5.install @@ -0,0 +1 @@ +usr/lib/lib*-audio.so.* --- libsfml-1.5+repack1.orig/debian/rules +++ libsfml-1.5+repack1/debian/rules @@ -0,0 +1,78 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +version=1.5 +major=1 + +include /usr/share/quilt/quilt.make +include $(wildcard /usr/share/topgit/tg2quilt.mk) + +get-orig-source: + cd .. ; rm -rf libsfml-$(version).orig ; mkdir libsfml-$(version).orig ; cd libsfml-$(version).orig ; \ + wget http://downloads.sourceforge.net/sfml/SFML-$(version)-sdk-linux-32.tar.gz ; \ + tar -xzf SFML-$(version)-sdk-linux-32.tar.gz ; cd SFML-$(version) ; \ + find . \( -iname glew -o -iname glext -o -iname libjpeg \ + -o -iname libpng -o -iname zlib -o -iname SOIL \) -print | xargs /bin/rm -rf ; \ + find samples \( -name "*.jpg" -o -name "*.png" -o -name "*.[ch]pp" -o \ + -name "*.sfx" \) -print | xargs /bin/chmod a-x ; \ + make mrproper ; \ + cd .. ; rm SFML-$(version)-sdk-linux-32.tar.gz; mv SFML-$(version)/* . ; rm -r SFML-$(version) + cd .. ; dpkg-source -b -i -su libsfml libsfml-$(version).orig + +build: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh_testdir + mkdir -p lib + $(MAKE) sfml + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + +# Add here commands to clean up after the build process. + $(MAKE) mrproper + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp/usr install + find $(CURDIR)/debian/tmp -name Win32 -o -name OSX -print | xargs /bin/rm -rf + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_install --fail-missing --sourcedir=debian/tmp + dh_installman + dh_link + dh_strip --dbg-package=libsfml1.5-dbg + dh_lintian + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- libsfml-1.5+repack1.orig/debian/libsfml-window1.5.install +++ libsfml-1.5+repack1/debian/libsfml-window1.5.install @@ -0,0 +1 @@ +usr/lib/lib*-window.so.* --- libsfml-1.5+repack1.orig/debian/copyright +++ libsfml-1.5+repack1/debian/copyright @@ -0,0 +1,46 @@ +This package was debianized by Christoph Egger on +Sun, 13 Apr 2008 17:05:27 +0200. + +It was downloaded from http://www.sfml-dev.org/download.php + +Upstream Authors: + + Laurent Gomila + Lucas Soltic + +Copyright: + + Copyright © 2007-2009 Laurent Gomila + Copyright © 2007-2009 Lucas Soltic + +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. + +The Debian packaging is © 2008,2009, Christoph Egger and +is licensed under the same conditions as the software itself. + + + libraries included in SFML + -------------------------- + + src/SFML/Audio/stb_vorbis/* + is placed in public domain --- libsfml-1.5+repack1.orig/debian/libsfml-system1.5.install +++ libsfml-1.5+repack1/debian/libsfml-system1.5.install @@ -0,0 +1 @@ +usr/lib/lib*-system.so.* --- libsfml-1.5+repack1.orig/debian/patches/series +++ libsfml-1.5+repack1/debian/patches/series @@ -1,4 +1,5 @@ debian/destdir-install-symlinks.diff -p1 debian/interlinking.diff -p1 +debian/kfreebsd.diff -p1 debian/repacking.diff -p1 debian/scriptheader-in-example-makefiles.diff -p1 --- libsfml-1.5+repack1.orig/debian/patches/debian/scriptheader-in-example-makefiles.diff +++ libsfml-1.5+repack1/debian/patches/debian/scriptheader-in-example-makefiles.diff @@ -10,6 +10,7 @@ --- samples/Makefile | 2 ++ samples/X11/Makefile | 2 ++ + samples/ftp/Makefile | 2 ++ samples/opengl/Makefile | 2 ++ samples/pong/Makefile | 2 ++ samples/post-fx/Makefile | 2 ++ @@ -20,7 +21,7 @@ samples/voip/Makefile | 2 ++ samples/window/Makefile | 2 ++ samples/wxwidgets/Makefile | 2 ++ - 12 files changed, 24 insertions(+), 0 deletions(-) + 13 files changed, 26 insertions(+), 0 deletions(-) diff --git a/samples/Makefile b/samples/Makefile index 7d8fb8e..fc26709 100755 @@ -42,6 +43,16 @@ EXEC = X11 OBJ = X11.o +diff --git a/samples/ftp/Makefile b/samples/ftp/Makefile +index 8bd25ae..26494b9 100755 +--- a/samples/ftp/Makefile ++++ b/samples/ftp/Makefile +@@ -1,3 +1,5 @@ ++#!/usr/bin/make -f ++ + EXEC = ftp + OBJ = Ftp.o + diff --git a/samples/opengl/Makefile b/samples/opengl/Makefile index 42ff5ca..96596af 100755 --- a/samples/opengl/Makefile @@ -63,11 +74,11 @@ OBJ = Pong.o diff --git a/samples/post-fx/Makefile b/samples/post-fx/Makefile -index 2c25988..d783be7 100755 +index 2c25988..30f3dff 100755 --- a/samples/post-fx/Makefile +++ b/samples/post-fx/Makefile @@ -1,3 +1,5 @@ -+#!/usr7bin/make -f ++#!/usr/bin/make -f + EXEC = post-fx OBJ = PostFX.o @@ -143,4 +154,4 @@ OBJ = Main.o wxSFMLCanvas.o -- -tg: (282f6bc..) debian/scriptheader-in-example-makefiles (depends on: master) +tg: (9d50aef..) debian/scriptheader-in-example-makefiles (depends on: master) --- libsfml-1.5+repack1.orig/debian/patches/debian/repacking.diff +++ libsfml-1.5+repack1/debian/patches/debian/repacking.diff @@ -18,7 +18,7 @@ 5 files changed, 11 insertions(+), 25 deletions(-) diff --git a/src/SFML/Graphics/GraphicsContext.hpp b/src/SFML/Graphics/GraphicsContext.hpp -index 0a76001..fdfdb4b 100755 +index 2fa77a3..aebfe1f 100755 --- a/src/SFML/Graphics/GraphicsContext.hpp +++ b/src/SFML/Graphics/GraphicsContext.hpp @@ -30,7 +30,7 @@ @@ -31,7 +31,7 @@ #include diff --git a/src/SFML/Graphics/ImageLoader.cpp b/src/SFML/Graphics/ImageLoader.cpp -index b9c6a1b..91d4362 100755 +index a3f83bf..e6ceacd 100755 --- a/src/SFML/Graphics/ImageLoader.cpp +++ b/src/SFML/Graphics/ImageLoader.cpp @@ -28,11 +28,11 @@ @@ -94,7 +94,7 @@ mrproper: clean @rm -rf $(LIBNAME) diff --git a/src/SFML/Window/Linux/WindowImplX11.cpp b/src/SFML/Window/Linux/WindowImplX11.cpp -index 0659089..0650e06 100755 +index fa0bd8e..0346b35 100755 --- a/src/SFML/Window/Linux/WindowImplX11.cpp +++ b/src/SFML/Window/Linux/WindowImplX11.cpp @@ -27,8 +27,8 @@ @@ -109,7 +109,7 @@ #include #include diff --git a/src/SFML/Window/Makefile b/src/SFML/Window/Makefile -index a05a54b..e64a742 100755 +index a05a54b..5f9708e 100755 --- a/src/SFML/Window/Makefile +++ b/src/SFML/Window/Makefile @@ -1,6 +1,5 @@ @@ -124,9 +124,9 @@ libsfml-window.so: $(OBJ) - $(CPP) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBNAME) $(OBJ) $(OBJGLEW) -lX11 -lXrandr -lGL $(LIBPATH)/libsfml-system.so.$(VERSION) -+ $(CPP) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBNAME) $(OBJ) -lGLEW -lX11 -lXrandr -lGL $(LIBPATH)/libsfml-system.so.$(VERSION) ++ $(CPP) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBNAME) $(OBJ) -lX11 -lXrandr -lGL $(LIBPATH)/libsfml-system.so.$(VERSION) $(OBJ): %.o: %.cpp $(CPP) -o $@ -c $< $(CFLAGS) -- -tg: (3151b4c..) debian/repacking (depends on: debian/interlinking) +tg: (f7f2088..) debian/repacking (depends on: debian/interlinking) --- libsfml-1.5+repack1.orig/debian/patches/debian/kfreebsd.diff +++ libsfml-1.5+repack1/debian/patches/debian/kfreebsd.diff @@ -0,0 +1,27 @@ +From: Christoph Egger +Subject: [PATCH] debian/kfreebsd + +This patch gets GNU/kFreeBSD handled as FreeBSD and therefor enables +building on Debian GNU/kFreeBSD. The same should work on GNU/Hurd so try that. + +Signed-off-by: Christoph Egger + +--- + include/SFML/Config.hpp | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/include/SFML/Config.hpp b/include/SFML/Config.hpp +index 91d052f..7db03a9 100755 +--- a/include/SFML/Config.hpp ++++ b/include/SFML/Config.hpp +@@ -49,7 +49,7 @@ + // MacOS + #define SFML_SYSTEM_MACOS + +-#elif defined(__FreeBSD__) ++#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__gnu_hurd__) + + // FreeBSD + #define SFML_SYSTEM_FREEBSD +-- +tg: (88e885c..) debian/kfreebsd (depends on: master) --- libsfml-1.5+repack1.orig/debian/patches/debian/destdir-install-symlinks.diff +++ libsfml-1.5+repack1/debian/patches/debian/destdir-install-symlinks.diff @@ -81,4 +81,4 @@ all: $(LIB) -- -tg: (282f6bc..) debian/destdir-install-symlinks (depends on: master) +tg: (9d50aef..) debian/destdir-install-symlinks (depends on: master) --- libsfml-1.5+repack1.orig/debian/patches/debian/interlinking.diff +++ libsfml-1.5+repack1/debian/patches/debian/interlinking.diff @@ -40,7 +40,7 @@ $(OBJ): %.o: %.cpp $(CPP) -o $@ -c $< $(CFLAGS) -I/usr/include/freetype2 diff --git a/src/SFML/Makefile b/src/SFML/Makefile -index 98617ec..7724801 100755 +index dbc9d45..a28d8e9 100755 --- a/src/SFML/Makefile +++ b/src/SFML/Makefile @@ -36,13 +36,13 @@ all: sfml-system sfml-window sfml-network sfml-graphics sfml-audio @@ -73,4 +73,4 @@ $(OBJ): %.o: %.cpp $(CPP) -o $@ -c $< $(CFLAGS) -- -tg: (4d34e11..) debian/interlinking (depends on: debian/destdir-install-symlinks) +tg: (944f92a..) debian/interlinking (depends on: debian/destdir-install-symlinks)