--- libcsfml-1.5.orig/debian/libcsfml-dev.install +++ libcsfml-1.5/debian/libcsfml-dev.install @@ -0,0 +1,3 @@ +usr/include/* +usr/lib/lib*.so + --- libcsfml-1.5.orig/debian/control +++ libcsfml-1.5/debian/control @@ -0,0 +1,106 @@ +Source: libcsfml +Priority: extra +Maintainer: Debian Games team +Uploaders: Christoph Egger +Build-Depends: debhelper (>= 7), + quilt, + libsfml-dev (>= 1.5) +Standards-Version: 3.8.3 +Section: libs +Homepage: http://www.sfml-dev.org +Vcs-Git: git://git.debian.org/pkg-games/libcsfml.git +Vcs-Browser: http://git.debian.org/?p=pkg-games/libcsfml.git + +Package: libcsfml-dev +Section: libdevel +Architecture: any +Depends: libcsfml-audio1.5 (= ${binary:Version}), + libcsfml-graphics1.5 (= ${binary:Version}), + libcsfml-network1.5 (= ${binary:Version}), + libcsfml-system1.5 (= ${binary:Version}), + libcsfml-window1.5 (= ${binary:Version}) +Conflicts: libcsfml1.deb3-dev +Replaces: libcsfml1.deb3-dev +Description: Developmentfiles for the C binding of SFML + SFML is an simple and fast library for providing access + to multimedia libraries. It can be used to develop OpenGL + Aplications with OpenAL Audio. It supports Cross-Platform + Development + . + This Package provides the developmentfiles for the C Binding + +Package: libcsfml1.5-dbg +Section: debug +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + libcsfml-audio1.5 (= ${binary:Version}) | + libcsfml-graphics1.5 (= ${binary:Version}) | + libcsfml-network1.5 (= ${binary:Version}) | + libcsfml-system1.5 (= ${binary:Version}) | + libcsfml-window1.5 (= ${binary:Version}) +Description: Libraries for the C Binding of SFML - Debug Files + SFML is an simple but fast library for providing access + to multimedia libraries. It can be used to develop OpenGL + Applications with OpenAL Audio. It Supports Cross Platform + Development + . + This package includes debug symbols for all CSFML libraries. + +Package: libcsfml-audio1.5 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Libraries for the C Binding of SFML - Audio Part + SFML is an simple but fast library for providing access + to multimedia libraries. It can be used to develop OpenGL + Applications with OpenAL Audio. It Supports Cross Platform + Development + . + The Audio library is used to play sound and music in games. It is able to + load OGG/Vorbis files. + +Package: libcsfml-graphics1.5 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Libraries for the C Binding of SFML - Graphics Part + SFML is an simple but fast library for providing access + to multimedia libraries. It can be used to develop OpenGL + Applications with OpenAL Audio. It Supports Cross Platform + Development + . + The Graphics library contains all the OpenGL and drawing code. It needs the + Window library for Window creation. + +Package: libcsfml-system1.5 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Libraries for the C Binding of SFML - System Part + SFML is an simple but fast library for providing access + to multimedia libraries. It can be used to develop OpenGL + Applications with OpenAL Audio. It Supports Cross Platform + Development + . + The system library brings useful system utilities like multithreading and + UNICODE handling + +Package: libcsfml-network1.5 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Libraries for the C Binding of SFML - Network Part + SFML is an simple but fast library for providing access + to multimedia libraries. It can be used to develop OpenGL + Applications with OpenAL Audio. It Supports Cross Platform + Development + . + The Network Library brings basic networking support as needed by games. + +Package: libcsfml-window1.5 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Libraries for the C Binding of SFML - Window Part + SFML is an simple but fast library for providing access + to multimedia libraries. It can be used to develop OpenGL + Applications with OpenAL Audio. It Supports Cross Platform + Development + . + The Window library provides basic utilities for creating and managing Windows --- libcsfml-1.5.orig/debian/compat +++ libcsfml-1.5/debian/compat @@ -0,0 +1 @@ +7 --- libcsfml-1.5.orig/debian/libcsfml-audio1.5.install +++ libcsfml-1.5/debian/libcsfml-audio1.5.install @@ -0,0 +1 @@ +usr/lib/lib*-audio.so.* --- libcsfml-1.5.orig/debian/README.source +++ libcsfml-1.5/debian/README.source @@ -0,0 +1,7 @@ +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 + + -- Christoph Egger , Mon, 24 Aug 2009 13:20:14 +0200 --- libcsfml-1.5.orig/debian/libcsfml-window1.5.install +++ libcsfml-1.5/debian/libcsfml-window1.5.install @@ -0,0 +1 @@ +usr/lib/lib*-window.so.* --- libcsfml-1.5.orig/debian/libcsfml-network1.5.install +++ libcsfml-1.5/debian/libcsfml-network1.5.install @@ -0,0 +1 @@ +usr/lib/lib*-network.so.* --- libcsfml-1.5.orig/debian/libcsfml-system1.5.install +++ libcsfml-1.5/debian/libcsfml-system1.5.install @@ -0,0 +1 @@ +usr/lib/lib*-system.so.* --- libcsfml-1.5.orig/debian/changelog +++ libcsfml-1.5/debian/changelog @@ -0,0 +1,70 @@ +libcsfml (1.5-3) unstable; urgency=low + + * Check for CSFML_SYSTEM_FREEBSD alternatively to _LINUX if X11 is + needed + + -- Christoph Egger Sat, 26 Dec 2009 19:06:30 +0100 + +libcsfml (1.5-2) unstable; urgency=low + + * Change dh_chlean -k to dh_prep and therefor bump debhelper to 7 + * Get rid of strange Make error on systems where topgit is not + installed (e.g. buildds, chroots) + * Line Break Depends/Build-Depends + * Update my Email Address + * Fix Build on kFreeBSD and GNU/Hurd + + -- Christoph Egger Fri, 18 Dec 2009 13:31:53 +0100 + +libcsfml (1.5-1) unstable; urgency=low + + * New upstream 1.5 release + * Builds against newer libsfml (Closes: #542982) + * SONAME bump for libraries + * Drop debian/gcc4.3.diff (implemented upstream) + * Refresh debian/correct-destdir + * Improve descriptions + * Clean up rules file -- some quirks no longer needed because of + improvements in upstream buildsystem + * Bump standards version to 3.8.3 (no changes) + * remove duplicate priority entries in control + * Add README.source + + -- Christoph Egger Wed, 30 Sep 2009 01:29:32 +0200 + +libcsfml (1.4-2) unstable; urgency=low + + * should really go to unstable + + -- Christoph Egger Sun, 29 Mar 2009 20:47:52 +0200 + +libcsfml (1.4-1) experimental; urgency=low + + [ Christoph Egger ] + * New Upstream Version + * Drop patches now upstream + * RM: add_destdir_to_makefile.patch + * RM: fix_soname.patch + * Convert patch system to topgit + * Fix problem in upstream's destdir implementation + * Change my Mailaddress + * Wrap -dev package's depends + + [ Gonéri Le Bouder ] + * libcsfml-dev conflicts on/replaces libcsfml1.deb3-dev + + -- Christoph Egger Tue, 20 Jan 2009 19:33:08 +0100 + +libcsfml (1.3-2) unstable; urgency=low + + * Dropping depends on old libsfml packages that should not be there + the depends automatically pulled in should be enough here + + -- Christoph Egger Tue, 09 Sep 2008 11:11:46 +0200 + +libcsfml (1.3-1) unstable; urgency=low + + * Initial release (Closes: #481665) + + -- Christoph Egger Wed, 25 Jun 2008 16:10:19 +0200 + --- libcsfml-1.5.orig/debian/watch +++ libcsfml-1.5/debian/watch @@ -0,0 +1,7 @@ +version=3 + +#http://www.sfml-dev.org/download.php http://downloads.sourceforge.net/sfml/SFML-([\d\.]*\d)-c-sdk-linux\.tar\.gz + +http://sf.net/sfml/SFML-([\d\.]*\d)-c-sdk-linux\.tar\.gz + + --- libcsfml-1.5.orig/debian/libcsfml-dev.docs +++ libcsfml-1.5/debian/libcsfml-dev.docs @@ -0,0 +1 @@ +CSFML/doc/* --- libcsfml-1.5.orig/debian/rules +++ libcsfml-1.5/debian/rules @@ -0,0 +1,74 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make +include $(wildcard /usr/share/topgit/tg2quilt.mk) + +# shared library versions, option 1 +version=1.5.0 +major=1 + +build: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh_testdir + +# Add here commands to compile the package. + $(MAKE) -C CSFML + + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + +# Add here commands to clean up after the build process. + $(MAKE) -C CSFML mrproper + + rm -Rf .pc + + dh_clean build-stamp configure-stamp + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + +# Add here commands to install the package into debian/tmp + $(MAKE) -C CSFML DESTDIR=$(CURDIR)/debian/tmp/usr install + + +# 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=libcsfml1.5-dbg + 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 configure --- libcsfml-1.5.orig/debian/copyright +++ libcsfml-1.5/debian/copyright @@ -0,0 +1,37 @@ +This package was debianized by Christoph Egger on +Tue, 27 May 2008 17:02:59 +0200. + +It was downloaded from http://www.sfml-dev.org/download.php + +Upstream Author: + + Laurent Gomila + +Copyright: + + Copyright © 2007-2009 Laurent Gomila + +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 © 2009, Christoph Egger and +is licensed under the zlib/png License (see upstream License). --- libcsfml-1.5.orig/debian/libcsfml-doc.docs +++ libcsfml-1.5/debian/libcsfml-doc.docs @@ -0,0 +1 @@ +CSFML/doc/* --- libcsfml-1.5.orig/debian/libcsfml-graphics1.5.install +++ libcsfml-1.5/debian/libcsfml-graphics1.5.install @@ -0,0 +1 @@ +usr/lib/lib*-graphics.so.* --- libcsfml-1.5.orig/debian/patches/series +++ libcsfml-1.5/debian/patches/series @@ -0,0 +1,2 @@ +debian/correct-destdir.diff -p1 +debian/kFreeBSD.diff -p1 --- libcsfml-1.5.orig/debian/patches/debian/correct-destdir.diff +++ libcsfml-1.5/debian/patches/debian/correct-destdir.diff @@ -0,0 +1,85 @@ +From: Christoph Egger +Subject: [PATCH] debian/correct-destdir + + The current implementation of the $(DESTDIR) variable creates symlinks +for the soname-free devlibs pointing to the Destdir breaking two-step +installs. + + Also, as Debian's SFML is linked internally we don't need to link against +some of the SFML libs in some of the CSFML libs + + This patch fixes these issues + +Signed-off-by: Christoph Egger + +--- + CSFML/src/SFML/Audio/Makefile | 3 ++- + CSFML/src/SFML/Graphics/Makefile | 3 ++- + CSFML/src/SFML/Network/Makefile | 2 +- + CSFML/src/SFML/System/Makefile | 2 +- + CSFML/src/SFML/Window/Makefile | 4 ++-- + 5 files changed, 8 insertions(+), 6 deletions(-) + +diff --git a/CSFML/src/SFML/Audio/Makefile b/CSFML/src/SFML/Audio/Makefile +index 08bfbce..af8e06b 100755 +--- a/CSFML/src/SFML/Audio/Makefile ++++ b/CSFML/src/SFML/Audio/Makefile +@@ -20,4 +20,5 @@ mrproper: clean + @rm -rf $(LIBNAME) + + install: +- @($(CP) $(LIBNAME) $(DESTLIBDIR) && $(LN) $(LNFLAGS) $(DESTLIBDIR)/$(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB)) ++ @($(CP) $(LIBNAME) $(DESTLIBDIR) && $(LN) $(LNFLAGS) $(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB)) ++ +diff --git a/CSFML/src/SFML/Graphics/Makefile b/CSFML/src/SFML/Graphics/Makefile +index d5e1c83..41ae5b5 100755 +--- a/CSFML/src/SFML/Graphics/Makefile ++++ b/CSFML/src/SFML/Graphics/Makefile +@@ -20,4 +20,5 @@ mrproper: clean + @rm -rf $(LIBNAME) + + install: +- @($(CP) $(LIBNAME) $(DESTLIBDIR) && $(LN) $(LNFLAGS) $(DESTLIBDIR)/$(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB)) ++ @($(CP) $(LIBNAME) $(DESTLIBDIR) && $(LN) $(LNFLAGS) $(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB)) ++ +diff --git a/CSFML/src/SFML/Network/Makefile b/CSFML/src/SFML/Network/Makefile +index 924907e..9b82f85 100755 +--- a/CSFML/src/SFML/Network/Makefile ++++ b/CSFML/src/SFML/Network/Makefile +@@ -20,4 +20,4 @@ mrproper: clean + @rm -rf $(LIBNAME) + + install: +- @($(CP) $(LIBNAME) $(DESTLIBDIR) && $(LN) $(LNFLAGS) $(DESTLIBDIR)/$(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB)) ++ @($(CP) $(LIBNAME) $(DESTLIBDIR) && $(LN) $(LNFLAGS) $(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB)) +diff --git a/CSFML/src/SFML/System/Makefile b/CSFML/src/SFML/System/Makefile +index bdf1e4e..0de6a15 100755 +--- a/CSFML/src/SFML/System/Makefile ++++ b/CSFML/src/SFML/System/Makefile +@@ -20,4 +20,4 @@ mrproper: clean + @rm -rf $(LIBNAME) + + install: +- @($(CP) $(LIBNAME) $(DESTLIBDIR) && $(LN) $(LNFLAGS) $(DESTLIBDIR)/$(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB)) ++ @($(CP) $(LIBNAME) $(DESTLIBDIR) && $(LN) $(LNFLAGS) $(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB)) +diff --git a/CSFML/src/SFML/Window/Makefile b/CSFML/src/SFML/Window/Makefile +index 3bd276a..c5918b0 100755 +--- a/CSFML/src/SFML/Window/Makefile ++++ b/CSFML/src/SFML/Window/Makefile +@@ -6,7 +6,7 @@ LIBNAME = $(LIBPATH)/$(LIB).$(VERSION) + all: $(LIB) + + libcsfml-window.so: $(OBJ) +- $(CPP) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBNAME) $(OBJ) -lsfml-window -lsfml-system ++ $(CPP) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBNAME) $(OBJ) -lsfml-window + + $(OBJ): %.o: %.cpp + $(CPP) -o $@ -c $< $(CFLAGS) +@@ -20,4 +20,4 @@ mrproper: clean + @rm -rf $(LIBNAME) + + install: +- @($(CP) $(LIBNAME) $(DESTLIBDIR) && $(LN) $(LNFLAGS) $(DESTLIBDIR)/$(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB)) ++ @($(CP) $(LIBNAME) $(DESTLIBDIR) && $(LN) $(LNFLAGS) $(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB)) +-- +tg: (93f02a2..) debian/correct-destdir (depends on: master) --- libcsfml-1.5.orig/debian/patches/debian/kFreeBSD.diff +++ libcsfml-1.5/debian/patches/debian/kFreeBSD.diff @@ -0,0 +1,45 @@ +From: Christoph Egger +Subject: [PATCH] debian/kFreeBSD + + SFML now builds on (k)FreeBSD by disabling linux joystick +support. The same is possible for CSFML so making this work at least +in Debian. Same should be OK for GNU/Hurd so let's see. + +Signed-off-by: Christoph Egger + +--- + CSFML/include/SFML/Config.h | 5 +++++ + CSFML/include/SFML/Window/WindowHandle.h | 2 +- + 2 files changed, 6 insertions(+), 1 deletions(-) + +diff --git a/CSFML/include/SFML/Config.h b/CSFML/include/SFML/Config.h +index bd75fa9..69dc9f3 100755 +--- a/CSFML/include/SFML/Config.h ++++ b/CSFML/include/SFML/Config.h +@@ -44,6 +44,11 @@ + // MacOS + #define CSFML_SYSTEM_MACOS + ++#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__gnu_hurd__) ++ ++ // FreeBSD ++ #define CSFML_SYSTEM_FREEBSD ++ + #else + + // Unsupported system +diff --git a/CSFML/include/SFML/Window/WindowHandle.h b/CSFML/include/SFML/Window/WindowHandle.h +index 78d5750..31d0eb7 100755 +--- a/CSFML/include/SFML/Window/WindowHandle.h ++++ b/CSFML/include/SFML/Window/WindowHandle.h +@@ -40,7 +40,7 @@ + // Windows defines a void* handle (HWND) + typedef void* sfWindowHandle; + +-#elif defined(CSFML_SYSTEM_LINUX) ++#elif defined(CSFML_SYSTEM_LINUX) || defined(CSFML_SYSTEM_FREEBSD) + + // Unix - X11 defines an unsigned integer handle (Window) + typedef unsigned long sfWindowHandle; +-- +tg: (901a480..) debian/kFreeBSD (depends on: master)