--- ois-1.2.0.orig/debian/watch +++ ois-1.2.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/wgois/ois-(.*)\.tar\.gz --- ois-1.2.0.orig/debian/rules +++ ois-1.2.0/debian/rules @@ -0,0 +1,75 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +#export DH_VERBOSE=1 +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + ./bootstrap + ./configure --prefix=/usr/ + touch configure-stamp + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + $(MAKE) + touch $@ + + +generated_files=\ + configure \ + config.status config.guess config.sub config.log \ + ltmain.sh libtool depcomp install-sh missing \ + Makefile Makefile.in aclocal.m4 \ + */Makefile */Makefile.in */config.h */config.h.in */stamp-h1 \ + *.pc \ + mkinstalldirs + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + $(MAKE) clean || echo "# $@" + rm -f -- ${generated_files} + rm -rf -- */.deps + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs ./ReadMe.txt + dh_installexamples -p libois-dev ./demos/*.cpp + dh_install --sourcedir=debian/tmp + dh_installman + 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 + +#eof "$Id: rzr -- -- rzr@users.sf.net $" --- ois-1.2.0.orig/debian/docs +++ ois-1.2.0/debian/docs @@ -0,0 +1,2 @@ +ReadMe.txt +ReadMe.txt --- ois-1.2.0.orig/debian/changelog +++ ois-1.2.0/debian/changelog @@ -0,0 +1,23 @@ +ois (1.2.0-1) unstable; urgency=low + + * Imported Upstream version 1.2.0 (Closes: #509924) + * Bumped Standards-Version to 3.8.1 + * Removed spurious merge data from src/Makefile.am + * Shared library package is now versioned, as done upstream + * Added examples to libois-dev package + + -- Federico Di Gregorio Wed, 18 Mar 2009 14:09:21 +0100 + +ois (0.99+1.0rc1-2) unstable; urgency=low + + * Fixed debian/rules clean (Closes: #442694) and watchfile (Closes: #450304) + * Fixed headers include (Closes:#455453) + + -- Philippe Coval Wed, 09 Jan 2008 03:22:44 +0100 + +ois (0.99+1.0rc1-1) unstable; urgency=low + + * Initial release (Closes: #419573) + + -- Philippe Coval Sun, 15 Apr 2007 09:15:59 +0200 + --- ois-1.2.0.orig/debian/libois-dev.install +++ ois-1.2.0/debian/libois-dev.install @@ -0,0 +1,4 @@ +usr/include/* +usr/lib/libOIS*.a +usr/lib/libOIS.so +usr/lib/pkgconfig/* --- ois-1.2.0.orig/debian/compat +++ ois-1.2.0/debian/compat @@ -0,0 +1 @@ +5 --- ois-1.2.0.orig/debian/control +++ ois-1.2.0/debian/control @@ -0,0 +1,31 @@ +Source: ois +Priority: extra +Maintainer: Philippe Coval +Uploaders: Federico Di Gregorio +Build-Depends: debhelper (>= 5), automake (>= 1.9), autotools-dev, autoconf, libtool, libltdl3-dev, libxaw7-dev, quilt +Standards-Version: 3.8.1 +Section: libs +Homepage: http://sourceforge.net/projects/wgois + +Package: libois-dev +Section: libdevel +Architecture: any +Depends: libois-1.2.0 (= ${binary:Version}) +Description: Object Oriented Input System library (C++ development headers) + Object Oriented Input System (OIS) is meant to be a cross platform, + simple solution for using all kinds of Input Devices + (KeyBoards, Mice, Joysticks, etc) and feedback devices (e.g. forcefeedback) + . + Written in C++ using Object Oriented Design patterns. + +Package: libois-1.2.0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Conflicts: libois1 +Description: Object Oriented Input System library (C++) + Object Oriented Input System (OIS) is meant to be a cross platform, + simple solution for using all kinds of Input Devices + (KeyBoards, Mice, Joysticks, etc) and feedback devices (e.g. forcefeedback) + . + Written in C++ using Object Oriented Design patterns. --- ois-1.2.0.orig/debian/copyright +++ ois-1.2.0/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by Philippe Coval +on Sun, 15 Apr 2007 09:15:59 +0200. + +It was downloaded from + +Upstream Author: Phillip Castaneda + +Copyright: 2006, Phillip Castaneda + +License: zlib/libpng License + +Copyright (c) 2006 Phillip Castaneda (pjcast -- www.wreckedgames.com) + +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) 2007, Philippe Coval and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + --- ois-1.2.0.orig/debian/libois-1.2.0.dirs +++ ois-1.2.0/debian/libois-1.2.0.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/lib --- ois-1.2.0.orig/debian/libois-1.2.0.install +++ ois-1.2.0/debian/libois-1.2.0.install @@ -0,0 +1,2 @@ +usr/lib/libOIS-*.so +usr/lib/libOIS.la --- ois-1.2.0.orig/debian/patches/autotools.diff +++ ois-1.2.0/debian/patches/autotools.diff @@ -0,0 +1,14 @@ +Index: ois/bootstrap +=================================================================== +--- ois.orig/bootstrap 2009-03-18 14:07:02.179273915 +0100 ++++ ois/bootstrap 2009-03-18 14:07:06.667595466 +0100 +@@ -1,9 +1,5 @@ + #!/bin/sh + +-# Deal with some gentoo-specific issues +-export WANT_AUTOMAKE='1.7' +-export WANT_AUTOCONF='2.5' +- + # clean up files which cause confusion when switch versions of auto* + rm -rf autom4te.cache + --- ois-1.2.0.orig/debian/patches/series +++ ois-1.2.0/debian/patches/series @@ -0,0 +1 @@ +autotools.diff