--- libcsfml-1.3.orig/debian/compat +++ libcsfml-1.3/debian/compat @@ -0,0 +1 @@ +6 --- libcsfml-1.3.orig/debian/libcsfml-network1.deb3.dirs +++ libcsfml-1.3/debian/libcsfml-network1.deb3.dirs @@ -0,0 +1 @@ +usr/lib --- libcsfml-1.3.orig/debian/libcsfml-window1.deb3.install +++ libcsfml-1.3/debian/libcsfml-window1.deb3.install @@ -0,0 +1 @@ +usr/lib/lib*-window.so.* --- libcsfml-1.3.orig/debian/watch +++ libcsfml-1.3/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.3.orig/debian/libcsfml1.deb3-dev.install +++ libcsfml-1.3/debian/libcsfml1.deb3-dev.install @@ -0,0 +1,3 @@ +usr/include/* +usr/lib/lib*.so + --- libcsfml-1.3.orig/debian/control +++ libcsfml-1.3/debian/control @@ -0,0 +1,75 @@ +Source: libcsfml +Priority: extra +Maintainer: Debian Games team +Uploaders: Christoph Egger +Build-Depends: debhelper (>= 6), quilt, libsfml1.deb3-dev +Standards-Version: 3.8.0 +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: libcsfml1.deb3-dev +Provides: libcsfml-dev +Section: libdevel +Architecture: any +Depends: libcsfml-audio1.deb3 (= ${binary:Version}), libcsfml-graphics1.deb3 (= ${binary:Version}), libcsfml-network1.deb3 (= ${binary:Version}), libcsfml-system1.deb3 (= ${binary:Version}), libcsfml-window1.deb3 (= ${binary:Version}) +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: libcsfml-audio1.deb3 +Section: libs +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 + +Package: libcsfml-graphics1.deb3 +Section: libs +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 + +Package: libcsfml-system1.deb3 +Section: libs +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 + +Package: libcsfml-network1.deb3 +Section: libs +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 + +Package: libcsfml-window1.deb3 +Section: libs +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 + + --- libcsfml-1.3.orig/debian/copyright +++ libcsfml-1.3/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 (c) 2007-2008 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 (C) 2008, Christoph Egger and +is licensed under the zlib/png License (see upstream License). --- libcsfml-1.3.orig/debian/libcsfml-audio1.deb3.install +++ libcsfml-1.3/debian/libcsfml-audio1.deb3.install @@ -0,0 +1 @@ +usr/lib/lib*-audio.so.* --- libcsfml-1.3.orig/debian/changelog +++ libcsfml-1.3/debian/changelog @@ -0,0 +1,13 @@ +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.3.orig/debian/libcsfml1.deb3-dev.docs +++ libcsfml-1.3/debian/libcsfml1.deb3-dev.docs @@ -0,0 +1,3 @@ +readme-en.txt +readme-fr.txt +CSFML/doc/* --- libcsfml-1.3.orig/debian/libcsfml-system1.deb3.install +++ libcsfml-1.3/debian/libcsfml-system1.deb3.install @@ -0,0 +1 @@ +usr/lib/lib*-system.so.* --- libcsfml-1.3.orig/debian/libcsfml-audio1.deb3.dirs +++ libcsfml-1.3/debian/libcsfml-audio1.deb3.dirs @@ -0,0 +1 @@ +usr/lib --- libcsfml-1.3.orig/debian/libcsfml-window1.deb3.dirs +++ libcsfml-1.3/debian/libcsfml-window1.deb3.dirs @@ -0,0 +1 @@ +usr/lib --- libcsfml-1.3.orig/debian/libcsfml-graphics1.deb3.install +++ libcsfml-1.3/debian/libcsfml-graphics1.deb3.install @@ -0,0 +1 @@ +usr/lib/lib*-graphics.so.* --- libcsfml-1.3.orig/debian/rules +++ libcsfml-1.3/debian/rules @@ -0,0 +1,85 @@ +#!/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 + + + +# shared library versions, option 1 +version=1.2.0 +major=1 + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2 + touch configure-stamp + + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + cd CSFML && $(MAKE) + + touch $@ + +clean: + find ./CSFML/lib -name "*so*" -exec rm {} \; + dh_testdir + dh_testroot + + # Add here commands to clean up after the build process. + cd CSFML && $(MAKE) clean + QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2 + + rm -Rf .pc + + dh_clean build-stamp configure-stamp + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp + mkdir -p $(CURDIR)/debian/tmp/usr/lib + mkdir -p $(CURDIR)/debian/tmp/usr/include + cd CSFML && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp 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 + 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.3.orig/debian/libcsfml-network1.deb3.install +++ libcsfml-1.3/debian/libcsfml-network1.deb3.install @@ -0,0 +1 @@ +usr/lib/lib*-network.so.* --- libcsfml-1.3.orig/debian/libcsfml-graphics1.deb3.dirs +++ libcsfml-1.3/debian/libcsfml-graphics1.deb3.dirs @@ -0,0 +1 @@ +usr/lib --- libcsfml-1.3.orig/debian/libcsfml-dev.dirs +++ libcsfml-1.3/debian/libcsfml-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include --- libcsfml-1.3.orig/debian/patches/fix_soname.patch +++ libcsfml-1.3/debian/patches/fix_soname.patch @@ -0,0 +1,13 @@ +Index: libcsfml/CSFML/src/SFML/Makefile +=================================================================== +--- libcsfml.orig/CSFML/src/SFML/Makefile 2008-06-25 16:03:25.000000000 +0200 ++++ libcsfml/CSFML/src/SFML/Makefile 2008-06-25 16:03:38.000000000 +0200 +@@ -3,7 +3,7 @@ + export CFLAGS = -W -Wall -pedantic -fPIC -Wno-unused -I../.. -I../../../include -DNDEBUG -DCSFML_EXPORTS -O2 + export LDFLAGS = -shared + export LIBPATH = ../../../lib +-export VERSION = 1 ++export VERSION = 1.deb3 + export CP = cp + export LN = ln + export LNFLAGS = -s -f --- libcsfml-1.3.orig/debian/patches/series +++ libcsfml-1.3/debian/patches/series @@ -0,0 +1,4 @@ +add_destdir_to_makefiles.patch +cstring_ftbfs.patch +fix_soname.patch +link_as_needed.patch --- libcsfml-1.3.orig/debian/patches/link_as_needed.patch +++ libcsfml-1.3/debian/patches/link_as_needed.patch @@ -0,0 +1,39 @@ +Index: libcsfml/CSFML/src/SFML/Graphics/Makefile +=================================================================== +--- libcsfml.orig/CSFML/src/SFML/Graphics/Makefile 2008-06-25 16:30:28.000000000 +0200 ++++ libcsfml/CSFML/src/SFML/Graphics/Makefile 2008-06-25 16:30:28.000000000 +0200 +@@ -5,7 +5,7 @@ + all: $(LIB) + + libcsfml-graphics.so: $(OBJ) +- $(CPP) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBPATH)/$@.$(VERSION) $(OBJ) -lsfml-graphics -lsfml-window -lsfml-system ++ $(CPP) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBPATH)/$@.$(VERSION) $(OBJ) -lsfml-graphics -lsfml-window + + $(OBJ): %.o: %.cpp + $(CPP) -o $@ -c $< $(CFLAGS) +Index: libcsfml/CSFML/src/SFML/Window/Makefile +=================================================================== +--- libcsfml.orig/CSFML/src/SFML/Window/Makefile 2008-06-25 16:30:28.000000000 +0200 ++++ libcsfml/CSFML/src/SFML/Window/Makefile 2008-06-25 16:30:28.000000000 +0200 +@@ -5,7 +5,7 @@ + all: $(LIB) + + libcsfml-window.so: $(OBJ) +- $(CPP) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBPATH)/$@.$(VERSION) $(OBJ) -lsfml-window -lsfml-system ++ $(CPP) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBPATH)/$@.$(VERSION) $(OBJ) -lsfml-window + + $(OBJ): %.o: %.cpp + $(CPP) -o $@ -c $< $(CFLAGS) +Index: libcsfml/CSFML/src/SFML/System/Makefile +=================================================================== +--- libcsfml.orig/CSFML/src/SFML/System/Makefile 2008-06-25 16:32:27.000000000 +0200 ++++ libcsfml/CSFML/src/SFML/System/Makefile 2008-06-25 16:32:47.000000000 +0200 +@@ -5,7 +5,7 @@ + all: $(LIB) + + libcsfml-system.so: $(OBJ) +- $(CC) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBPATH)/$@.$(VERSION) $(OBJ) -lsfml-system ++ $(CPP) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBPATH)/$@.$(VERSION) $(OBJ) -lsfml-system + + $(OBJ): %.o: %.cpp + $(CPP) -o $@ -c $< $(CFLAGS) --- libcsfml-1.3.orig/debian/patches/add_destdir_to_makefiles.patch +++ libcsfml-1.3/debian/patches/add_destdir_to_makefiles.patch @@ -0,0 +1,71 @@ +Index: libcsfml-1.2/CSFML/src/SFML/Audio/Makefile +=================================================================== +--- libcsfml-1.2.orig/CSFML/src/SFML/Audio/Makefile 2008-05-27 17:11:46.000000000 +0200 ++++ libcsfml-1.2/CSFML/src/SFML/Audio/Makefile 2008-05-27 17:12:06.000000000 +0200 +@@ -19,4 +19,5 @@ + @rm -rf $(LIBPATH)/$(LIB) + + install: +- @($(CP) $(LIBPATH)/$(LIB).$(VERSION) /usr/lib && $(LN) $(LNFLAGS) /usr/lib/$(LIB).$(VERSION) /usr/lib/$(LIB)) +\ No newline at end of file ++ @($(CP) $(LIBPATH)/$(LIB).$(VERSION) $(DESTDIR)/usr/lib && $(LN) $(LNFLAGS) /usr/lib/$(LIB).$(VERSION) $(DESTDIR)/usr/lib/$(LIB)) ++ +Index: libcsfml-1.2/CSFML/src/SFML/Graphics/Makefile +=================================================================== +--- libcsfml-1.2.orig/CSFML/src/SFML/Graphics/Makefile 2008-05-27 17:12:22.000000000 +0200 ++++ libcsfml-1.2/CSFML/src/SFML/Graphics/Makefile 2008-05-27 17:12:51.000000000 +0200 +@@ -19,4 +19,5 @@ + @rm -rf $(LIBPATH)/$(LIB) + + install: +- @($(CP) $(LIBPATH)/$(LIB).$(VERSION) /usr/lib && $(LN) $(LNFLAGS) /usr/lib/$(LIB).$(VERSION) /usr/lib/$(LIB)) +\ No newline at end of file ++ @($(CP) $(LIBPATH)/$(LIB).$(VERSION) $(DESTDIR)/usr/lib && $(LN) $(LNFLAGS) /usr/lib/$(LIB).$(VERSION) $(DESTDIR)/usr/lib/$(LIB)) ++ +Index: libcsfml-1.2/CSFML/src/SFML/Makefile +=================================================================== +--- libcsfml-1.2.orig/CSFML/src/SFML/Makefile 2008-05-27 17:11:08.000000000 +0200 ++++ libcsfml-1.2/CSFML/src/SFML/Makefile 2008-05-27 17:11:32.000000000 +0200 +@@ -34,4 +34,5 @@ + @(cd ./System && $(MAKE) $@ && cd ../Window && $(MAKE) $@ && cd ../Network && $(MAKE) $@ && cd ../Graphics && $(MAKE) $@ && cd ../Audio && $(MAKE) $@) + + install: +- @(cd ./System && $(MAKE) $@ && cd ../Window && $(MAKE) $@ && cd ../Network && $(MAKE) $@ && cd ../Graphics && $(MAKE) $@ && cd ../Audio && $(MAKE) $@ && $(CP) -r ../../../include/SFML/ /usr/include/) ++ @(cd ./System && $(MAKE) $@ && cd ../Window && $(MAKE) $@ && cd ../Network && $(MAKE) $@ && cd ../Graphics && $(MAKE) $@ && cd ../Audio && $(MAKE) $@ && $(CP) -r ../../../include/SFML/ $(DESTDIR)/usr/include/) ++ +Index: libcsfml-1.2/CSFML/src/SFML/Network/Makefile +=================================================================== +--- libcsfml-1.2.orig/CSFML/src/SFML/Network/Makefile 2008-05-27 17:13:50.000000000 +0200 ++++ libcsfml-1.2/CSFML/src/SFML/Network/Makefile 2008-05-27 17:14:10.000000000 +0200 +@@ -19,4 +19,5 @@ + @rm -rf $(LIBPATH)/$(LIB) + + install: +- @($(CP) $(LIBPATH)/$(LIB).$(VERSION) /usr/lib && $(LN) $(LNFLAGS) /usr/lib/$(LIB).$(VERSION) /usr/lib/$(LIB)) +\ No newline at end of file ++ @($(CP) $(LIBPATH)/$(LIB).$(VERSION) $(DESTDIR)/usr/lib && $(LN) $(LNFLAGS) /usr/lib/$(LIB).$(VERSION) $(DESTDIR)/usr/lib/$(LIB)) ++ +Index: libcsfml-1.2/CSFML/src/SFML/System/Makefile +=================================================================== +--- libcsfml-1.2.orig/CSFML/src/SFML/System/Makefile 2008-05-27 17:14:15.000000000 +0200 ++++ libcsfml-1.2/CSFML/src/SFML/System/Makefile 2008-05-27 17:14:51.000000000 +0200 +@@ -19,4 +19,5 @@ + @rm -rf $(LIBPATH)/$(LIB) + + install: +- @($(CP) $(LIBPATH)/$(LIB).$(VERSION) /usr/lib && $(LN) $(LNFLAGS) /usr/lib/$(LIB).$(VERSION) /usr/lib/$(LIB)) +\ No newline at end of file ++ @($(CP) $(LIBPATH)/$(LIB).$(VERSION) $(DESTDIR)/usr/lib && $(LN) $(LNFLAGS) /usr/lib/$(LIB).$(VERSION) $(DESTDIR)/usr/lib/$(LIB)) ++ +Index: libcsfml-1.2/CSFML/src/SFML/Window/Makefile +=================================================================== +--- libcsfml-1.2.orig/CSFML/src/SFML/Window/Makefile 2008-05-27 17:15:00.000000000 +0200 ++++ libcsfml-1.2/CSFML/src/SFML/Window/Makefile 2008-05-27 17:15:22.000000000 +0200 +@@ -19,4 +19,5 @@ + @rm -rf $(LIBPATH)/$(LIB) + + install: +- @($(CP) $(LIBPATH)/$(LIB).$(VERSION) /usr/lib && $(LN) $(LNFLAGS) /usr/lib/$(LIB).$(VERSION) /usr/lib/$(LIB)) +\ No newline at end of file ++ @($(CP) $(LIBPATH)/$(LIB).$(VERSION) $(DESTDIR)/usr/lib && $(LN) $(LNFLAGS) /usr/lib/$(LIB).$(VERSION) $(DESTDIR)/usr/lib/$(LIB)) ++ --- libcsfml-1.3.orig/debian/patches/cstring_ftbfs.patch +++ libcsfml-1.3/debian/patches/cstring_ftbfs.patch @@ -0,0 +1,39 @@ +Index: libcsfml/CSFML/src/SFML/Network/IPAddress.cpp +=================================================================== +--- libcsfml.orig/CSFML/src/SFML/Network/IPAddress.cpp 2008-06-10 19:05:24.000000000 +0200 ++++ libcsfml/CSFML/src/SFML/Network/IPAddress.cpp 2008-06-10 19:05:43.000000000 +0200 +@@ -28,6 +28,8 @@ + #include + #include + ++#include ++using std::strncpy; + + namespace + { +Index: libcsfml/CSFML/src/SFML/Network/SocketTCP.cpp +=================================================================== +--- libcsfml.orig/CSFML/src/SFML/Network/SocketTCP.cpp 2008-06-10 19:06:13.000000000 +0200 ++++ libcsfml/CSFML/src/SFML/Network/SocketTCP.cpp 2008-06-10 19:06:29.000000000 +0200 +@@ -31,6 +31,8 @@ + #include + #include + ++#include ++using std::strncpy; + + // WARNING : this structure must always be the SAME as in Network/Packet.h + struct sfPacket +Index: libcsfml/CSFML/src/SFML/Network/SocketUDP.cpp +=================================================================== +--- libcsfml.orig/CSFML/src/SFML/Network/SocketUDP.cpp 2008-06-10 19:06:39.000000000 +0200 ++++ libcsfml/CSFML/src/SFML/Network/SocketUDP.cpp 2008-06-10 19:07:15.000000000 +0200 +@@ -31,6 +31,8 @@ + #include + #include + ++#include ++using std::strncpy; + + // WARNING : this structure must always be the SAME as in Network/Packet.h + struct sfPacket