--- gnelib-0.75+svn20091130.orig/debian/libgnelib-doc.install +++ gnelib-0.75+svn20091130/debian/libgnelib-doc.install @@ -0,0 +1 @@ +debian/tmp/usr/share/libgnelib-dev/docs/* usr/share/doc/gnelib/ --- gnelib-0.75+svn20091130.orig/debian/copyright +++ gnelib-0.75+svn20091130/debian/copyright @@ -0,0 +1,29 @@ +This package was debianized by Barry deFreese on +Mon, 30 Nov 2009 13:28:21 -0500. + +It was downloaded from the GNE svn found here: + svn co https://gnelib.svn.sourceforge.net/svnroot/gnelib/trunk gnelib + +Upstream Authors: + Jason Winnebeck + Peter Hull + Luigi Auriemma + David Guthrie + +Copyright: + Copyright (C) 2001-2006 Jason Winnebeck + +License: + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Fraklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + On Debian GNU/Linux systems a copy of the license can be found here: + /usr/share/common-licenses/LGPL-2.1. + +The Debian packaging is Copyright (C) 2009, Barry deFreese +is licensed under the LGPL 2.1+, see `/usr/share/common-licenses/LGPL-2.1'. --- gnelib-0.75+svn20091130.orig/debian/README.source +++ gnelib-0.75+svn20091130/debian/README.source @@ -0,0 +1,67 @@ +This source package was repackaged to remove Windows dll files shipped +in the upstream source. To reproduce: + + 1. Get the tarball from http://hawksoft.com/download/ + 2. Unzip .zip + 3. mv HawkNLnnn hawknl-n.n.n+dfsg + 4. rm -rf hawknl-n.n.n+dfsg/src/win32 + 5. tar -czf hawknl-n.n.n+dfsg.orig.tar.gz hawknl-n.n.n+dfsg + +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +To configure quilt to use debian/patches instead of patches, you want +either to export QUILT_PATCHES=debian/patches in your environment +or use this snippet in your ~/.quiltrc: + + for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do + if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then + export QUILT_PATCHES=debian/patches + break + fi + done + +To get the fully patched source after unpacking the source package, cd to +the root level of the source package and run: + + quilt push -a + +The last patch listed in debian/patches/series will become the current +patch. + +To add a new set of changes, first run quilt push -a, and then run: + + quilt new + +where is a descriptive name for the patch, used as the filename in +debian/patches. Then, for every file that will be modified by this patch, +run: + + quilt add + +before editing those files. You must tell quilt with quilt add what files +will be part of the patch before making changes or quilt will not work +properly. After editing the files, run: + + quilt refresh + +to save the results as a patch. + +Alternately, if you already have an external patch and you just want to +add it to the build system, run quilt push -a and then: + + quilt import -P /path/to/patch + quilt push -a + +(add -p 0 to quilt import if needed). as above is the filename to +use in debian/patches. The last quilt push -a will apply the patch to +make sure it works properly. + +To remove an existing patch from the list of patches that will be applied, +run: + + quilt delete + +You may need to run quilt pop -a to unapply patches first before running +this command. --- gnelib-0.75+svn20091130.orig/debian/libgnelib0.install +++ gnelib-0.75+svn20091130/debian/libgnelib0.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/lib*.so.* usr/lib --- gnelib-0.75+svn20091130.orig/debian/changelog +++ gnelib-0.75+svn20091130/debian/changelog @@ -0,0 +1,7 @@ +gnelib (0.75+svn20091130-1) unstable; urgency=low + + [ Barry deFreese ] + * Initial release. (Closes: #558985). + + Add symlink for libgne.so since some apps use it, not libgnelib. + + -- Barry deFreese Mon, 30 Nov 2009 11:53:49 -0500 --- gnelib-0.75+svn20091130.orig/debian/compat +++ gnelib-0.75+svn20091130/debian/compat @@ -0,0 +1 @@ +5 --- gnelib-0.75+svn20091130.orig/debian/libgnelib-dev.install +++ gnelib-0.75+svn20091130/debian/libgnelib-dev.install @@ -0,0 +1,3 @@ +debian/tmp/usr/include/* usr/include +debian/tmp/usr/lib/lib*.a usr/lib +debian/tmp/usr/lib/lib*.so usr/lib --- gnelib-0.75+svn20091130.orig/debian/watch +++ gnelib-0.75+svn20091130/debian/watch @@ -0,0 +1,4 @@ +version=3 + +opts="uversionmangle=s/(.)(.)(.)/$1.$2.$3/,dversionmangle=s/\+dfsg//" \ +http://hawksoft.com/download/ files\/HawkNL(.*)src\.zip --- gnelib-0.75+svn20091130.orig/debian/rules +++ gnelib-0.75+svn20091130/debian/rules @@ -0,0 +1,78 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + confflags += --build $(DEB_HOST_GNU_TYPE) +else + confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +endif + +include /usr/share/quilt/quilt.make + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +build: patch build-stamp +build-stamp: + dh_testdir + + mkdir build + cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr .. + + touch build-stamp + +clean: patch clean-stamp unpatch +clean-stamp: + dh_testdir + dh_testroot + rm -f build-stamp + + rm -rf build + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + + cd build && make install DESTDIR=$(CURDIR)/debian/tmp + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs Changes + dh_installdocs + dh_installexamples + dh_installman + dh_install + dh_strip --dbg-package=libgnelib0-dbg + dh_link + 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 --- gnelib-0.75+svn20091130.orig/debian/control +++ gnelib-0.75+svn20091130/debian/control @@ -0,0 +1,71 @@ +Source: gnelib +Section: libs +Priority: optional +Maintainer: Debian Games Team +Uploaders: Barry deFreese +Build-Depends: debhelper (>= 5.0.0), quilt, cmake (>= 2.4), libncurses5-dev, libhawknl-dev, libboost-dev, doxygen +Standards-Version: 3.8.3 +Homepage: http://www.gillius.org/gne/index.htm +Vcs-Git: git://git.debian.org/pkg-games/gnelib.git +Vcs-Browser: http://git.debian.org/?p=pkg-games/gnelib.git;a=summary + +Package: libgnelib-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, libgnelib0 (= ${binary:Version}) +Suggests: libgnelib-doc +Description: the Game Networking Engine (development headers) + GNE, or the Game Networking Engine, is a cross-platform, + multithreaded, C++ networking library with an API specifically + addressing the needs of game networking. + . + There are two parts of GNE, the first being the mid-level classes + that handle packeted, error checked, and bandwidth throttled + communication between two peers. + . + This package contains the development libraries and headers. + +Package: libgnelib0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: the Game Networking Engine + GNE, or the Game Networking Engine, is a cross-platform, + multithreaded, C++ networking library with an API specifically + addressing the needs of game networking. + . + There are two parts of GNE, the first being the mid-level classes + that handle packeted, error checked, and bandwidth throttled + communication between two peers. + +Package: libgnelib0-dbg +Section: debug +Architecture: any +Depends: ${misc:Depends}, libgnelib0 (= ${binary:Version}) +Priority: extra +Description: the Game Networking Engine + GNE, or the Game Networking Engine, is a cross-platform, + multithreaded, C++ networking library with an API specifically + addressing the needs of game networking. + . + There are two parts of GNE, the first being the mid-level classes + that handle packeted, error checked, and bandwidth throttled + communication between two peers. + . + This package contains the debug symbols. + +Package: libgnelib-doc +Section: doc +Architecture: any +Depends: ${misc:Depends} +Priority: extra +Description: the Game Networking Engine (Documentation) + GNE, or the Game Networking Engine, is a cross-platform, + multithreaded, C++ networking library with an API specifically + addressing the needs of game networking. + . + There are two parts of GNE, the first being the mid-level classes + that handle packeted, error checked, and bandwidth throttled + communication between two peers. + . + This package contains the developers documentation. --- gnelib-0.75+svn20091130.orig/debian/libgnelib0.link +++ gnelib-0.75+svn20091130/debian/libgnelib0.link @@ -0,0 +1 @@ +/usr/lib/libgne.so /usr/lib/libgnelib.so.0.75.0 --- gnelib-0.75+svn20091130.orig/debian/patches/series +++ gnelib-0.75+svn20091130/debian/patches/series @@ -0,0 +1 @@ +#No current patches.