debian/0000755000000000000000000000000011747477007007204 5ustar debian/libois-dev.links0000644000000000000000000000004011747475715012301 0ustar usr/include/ois usr/include/OIS debian/compat0000644000000000000000000000000211747475662010407 0ustar 9 debian/patches/0000755000000000000000000000000011747475662010640 5ustar debian/patches/autotools.diff0000644000000000000000000000074311747475662013527 0ustar Description: Add "foreign" to AC_INIT_AUTOMAKE since this doesn't adhere to GNU-style. Author: Alessio Treglia Forwarded: no --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- ois.orig/configure.ac +++ ois/configure.ac @@ -4,7 +4,7 @@ AC_PREREQ(2.50) AC_INIT( [OIS], 1.3.0 ) AC_CANONICAL_TARGET -AM_INIT_AUTOMAKE( [OIS], 1.3.0 ) +AM_INIT_AUTOMAKE([1.3.0 foreign]) AM_CONFIG_HEADER([includes/config.h]) dnl Check for programs debian/patches/gcc47.diff0000644000000000000000000000276011747475662012406 0ustar Description: Add missing #include to prevent build failure with GCC4.7. Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667309 Author: Alessio Treglia Forwarded: https://sourceforge.net/tracker/?func=detail&aid=3515396&group_id=149835&atid=775955 --- demos/FFConsoleDemo.cpp | 1 + demos/OISConsole.cpp | 1 + src/linux/LinuxForceFeedback.cpp | 1 + src/linux/LinuxJoyStickEvents.cpp | 1 + 4 files changed, 4 insertions(+) --- ois.orig/src/linux/LinuxJoyStickEvents.cpp +++ ois/src/linux/LinuxJoyStickEvents.cpp @@ -30,6 +30,7 @@ restrictions: #include "OISEvents.h" #include "OISException.h" +#include #include //Needed to Open a file descriptor #include #include --- ois.orig/src/linux/LinuxForceFeedback.cpp +++ ois/src/linux/LinuxForceFeedback.cpp @@ -26,6 +26,7 @@ restrictions: #include #include #include +#include using namespace OIS; --- ois.orig/demos/OISConsole.cpp +++ ois/demos/OISConsole.cpp @@ -12,6 +12,7 @@ #include #include #include +#include ////////////////////////////////////Needed Windows Headers//////////// #if defined OIS_WIN32_PLATFORM --- ois.orig/demos/FFConsoleDemo.cpp +++ ois/demos/FFConsoleDemo.cpp @@ -1,5 +1,6 @@ #include "OIS.h" +#include #include #include #include debian/patches/series0000644000000000000000000000005011747475662012050 0ustar autotools.diff console.patch gcc47.diff debian/patches/console.patch0000644000000000000000000000174211747475662013327 0ustar The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- ois-1.3.0.orig/demos/Makefile.am +++ ois-1.3.0/demos/Makefile.am @@ -4,8 +4,8 @@ noinst_PROGRAMS = ConsoleApp FFConsoleTe ConsoleApp_SOURCES = OISConsole.cpp ConsoleApp_LDFLAGS = -L$(top_builddir)/src -ConsoleApp_LDADD = -lOIS +ConsoleApp_LDADD = -lOIS -lX11 FFConsoleTest_SOURCES = FFConsoleDemo.cpp FFConsoleTest_LDFLAGS = -L$(top_builddir)/src -FFConsoleTest_LDADD = -lOIS +FFConsoleTest_LDADD = -lOIS -lX11 debian/rules0000755000000000000000000000020711747475662010270 0ustar #!/usr/bin/make -f export REPACK_SH=$(CURDIR)/debian/repack.sh %: dh $@ --with autoreconf get-orig-source: uscan --force-download debian/docs0000644000000000000000000000002611747475662010062 0ustar ReadMe.txt ReadMe.txt debian/repack.local0000644000000000000000000000022211747475662011466 0ustar SUFFIX=+dfsg0 rm debian/ rm Mac \ Win32 \ includes/win32 \ includes/mac \ includes/iphone \ src/win32 \ src/mac \ src/iphone \ src/extras debian/libois-1.3.0.dirs0000644000000000000000000000002011747475662012002 0ustar usr/lib usr/lib debian/libois-1.3.0.install0000644000000000000000000000002611747475662012515 0ustar usr/lib/*/libOIS-*.so debian/control0000644000000000000000000000271711747475662010623 0ustar Source: ois Section: libs Priority: extra Maintainer: Debian Multimedia Maintainers Uploaders: Philippe Coval , Federico Di Gregorio Build-Depends: autoconf, automake (>= 1.9), debhelper (>= 9), dh-autoreconf, libltdl-dev, libtool, libx11-dev, libxaw7-dev Standards-Version: 3.9.3 Homepage: http://sourceforge.net/projects/wgois Vcs-Git: git://git.debian.org/git/pkg-multimedia/ois.git Vcs-Browser: http://git.debian.org/?p=pkg-multimedia/ois.git Package: libois-dev Section: libdevel Architecture: any Multi-Arch: same Depends: libois-1.3.0 (= ${binary:Version}), ${misc:Depends} 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) . This package provides the development files. Package: libois-1.3.0 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} Breaks: libois Replaces: libois 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. debian/repack.stub0000644000000000000000000000325111747475662011356 0ustar #!/bin/sh : <<=cut =pod =head1 NAME repack.stub - script to repack upstream tarballs from uscan =head1 INSTRUCTIONS put this in debian/repack.stub and add "debian sh debian/repack.stub" to the end of the line in debian/watch. you will also need to add a version mangle to debian/watch. then create a debian/repack.local. this is a shell script that is sources under "set -e", so be careful to check returns codes. =head1 FUNCTIONS =over 4 =item rm rm is replaced by a function that does some magic ("rm -rv" by default), but also changes MANIFEST if $MANIFEST is 1 =item mv mv is replaced by a function that just does mv (by default), but also changes MANIFEST if $MANIFEST is 1 =item requires_version requires_version is there for future usage for requiring certain versions of the script =back =head1 VARIABLES =over 4 =item SUFFIX defaults to +dfsg what to append to the upstream version =item RM_OPTS defaults to -vrf options to pass to rm =item MANIFEST defaults to 0, set to 1 to turn on. this will manipulate MANIFEST files in CPAN tarballs. =item UP_BASE this is the directory where the upstream source is. =back =cut if [ -z "$REPACK_SH" ]; then if [ -f ../../scripts/repack.sh ]; then REPACK_SH=../../scripts/repack.sh fi if [ -z "$REPACK_SH" ] && which repack.sh > /dev/null; then REPACK_SH=$(which repack.sh) fi fi if [ ! -f "$REPACK_SH" ]; then echo "Couldn't find a repack.sh. please put it in your PATH, put it at ../../scripts/repack.sh, or put it somewhere else and set the REPACK_SH variable" echo "You can get it from http://svn.debian.org/viewsvn/pkg-perl/scripts/repack.sh" exit 1 fi exec "$REPACK_SH" "$@" debian/libois-dev.docs0000644000000000000000000000001311747475662012112 0ustar ReadMe.txt debian/changelog0000644000000000000000000000735311747476653011074 0ustar ois (1.3.0+dfsg0-5) unstable; urgency=medium * Team upload. * Install symlink /usr/include/OIS pointing to /usr/include/ois to fix namespace breakage introduced by the latest upload. We'll keep this until the next SONAME change (Closes: #670780); thanks to Manuel A. Fernandez Montecelo for reporting this. -- Alessio Treglia Mon, 30 Apr 2012 13:55:19 +0200 ois (1.3.0+dfsg0-4) unstable; urgency=low * Team upload. * Add patch to fix FTBFS with GCC 4.7. (Closes: #667309) * debian/patches/autotools.diff - Don't patch bootstrap anymore, we'll call autoreconf in debian/rules. - Set 'foreign' in AC_INIT_AUTOMAKE since this is not a GNU-style project. * Switch to DH 7 short-form. * Drop autotools-dev in favor of dh-autoreconf * Introduce Multi-Arch. * Update debian/copyright to copyright format 1.0. * Bump Standards. -- Alessio Treglia Fri, 06 Apr 2012 09:55:45 +0200 ois (1.3.0+dfsg0-3) unstable; urgency=low * Team upload. * Remove symbols file for now (Closes: #629471). -- Alessio Treglia Tue, 07 Jun 2011 11:32:06 +0200 ois (1.3.0+dfsg0-2) unstable; urgency=medium * Team upload. * Append SONAME to the shared library package (Closes: #629162). * Add symbols file. -- Alessio Treglia Mon, 06 Jun 2011 00:47:23 +0200 ois (1.3.0+dfsg0-1) unstable; urgency=low * Team upload. * Repack upstream's tarball to strip out unneeded and not DFSG-clean files. * Add gbp config file and .gitignore,local-options files to ease building with git-buildpackage. * Get rid of unneeded *.la files (Closes: #622430). * debian/control: - Remove unneeded build-dependency on quilt. - Add proper Breaks,Replaces fields (Closes: #626566). - Remove Conflicts on libois1, it is not available in Squeeze. - Replace libltdl3-dev with libltdl-dev. - Fix lintian warnings: + binary-control-field-duplicates-source field "section" + duplicate-long-description - Improve -DEV's runtime description to indicate that it provides development files. * debian/watch: - Improve upstream and debian versions handling, call repacking hook when updating upstream sources. * debian/copyright: Rewrite according to DEP-5 spec. -- Alessio Treglia Fri, 13 May 2011 13:40:59 +0200 ois (1.3.0-1) unstable; urgency=low * Imported Upstream version 1.3.0 * debian/control: - Bumped standards to latest - Set maintenance to team - Set unversioned lib * change format to 3.0 (quilt) * patch fix link in console app (Closes: #618054) * patch workaround perm issue -- Philippe Coval Tue, 10 May 2011 14:19:37 +0200 ois (1.2.0-2) unstable; urgency=low * debian/control: - bumped standards, updated maintainer email - depends on libX11.a (Closes: #555785) * debian/rules: cleanup generated file 'compile' * debian/watch: fixed -- Philippe Coval Sun, 13 Dec 2009 20:53:41 +0100 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 debian/libois-dev.examples0000644000000000000000000000001411747475662013001 0ustar demos/*.cpp debian/libois-dev.install0000644000000000000000000000011411747475662012632 0ustar usr/include/* usr/lib/*/libOIS*.a usr/lib/*/libOIS.so usr/lib/*/pkgconfig/* debian/gbp.conf0000644000000000000000000000003611747475662010627 0ustar [DEFAULT] pristine-tar = True debian/copyright0000644000000000000000000000412311747475662011144 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Object Oriented Input System Upstream-Contact: Phillip Castaneda Source: http://sourceforge.net/projects/wgois/files/ Copyright: 2005-2007 Phillip Castaneda (pjcast -- www.wreckedgames.com) License: Zlib Files: * Copyright: 2005-2007 Phillip Castaneda (pjcast -- www.wreckedgames.com) License: Zlib Files: debian/* Copyright: 2012 Alessio Treglia 2007 Philippe Coval License: GPL-2 License: Zlib 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. License: GPL-2 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2 of the License. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Comment: On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. . You should have received a copy of the GNU General Public License along with this program. If not, see . debian/repack.sh0000755000000000000000000000703411747475662011021 0ustar #!/bin/sh # see the repack.stub for how to use # TODO: provide example watch files and repack.locals # TODO: test suite. problems fixed that need to be tested: # * globbing # * whitespace and then comments in the MANIFEST # TODO: does / in weird places work? test suite too. # TODO: I actually broke stuff with the MANIFEST change not thinking.. # TODO: allow for a sepearate (and multiple) MANIFEST files, then # de-uglify libsyntax-highlight-engine-kate-perl. # TODO: have each mv and rm check that something actually changed, and # if not, die set -e set -u usage() { echo "Usage: repack.sh --upstream-version " exit 1 } if [ "$#" != "3" ]; then usage fi if [ "$1" != "--upstream-version" ]; then usage fi if [ ! -f "$3" ]; then if [ -n "$3" ]; then echo "$3 doesn't exist" fi usage fi VER="$2" FILE="$3" PKG=`dpkg-parsechangelog|grep ^Source:|sed 's/^Source: //'` SUFFIX="+dfsg" echo echo "Repackaging $FILE" echo DIR=`mktemp -d ./tmpRepackXXXXXX` DIR=$(readlink -f "$DIR") trap "/bin/rm -rf \"$DIR\"" QUIT INT EXIT # Create an extra directory to cope with rootless tarballs UP_BASE="$DIR/unpack" mkdir "$UP_BASE" tar xf "$FILE" -C "$UP_BASE" || unzip "$FILE" -d "$UP_BASE" if [ `ls -1 "$UP_BASE" | wc -l` -eq 1 ]; then # Tarball does contain a root directory UP_BASE="$UP_BASE/`ls -1 "$UP_BASE"`" fi RM_OPTS="-vrf" real_rm(){ /bin/rm "$@" } real_mv(){ /bin/mv "$@" } rm(){ set +f MYOLDPWD=$(pwd) cd "$UP_BASE" if [ "$MANIFEST" = "1" ]; then PERM=$(stat --format=%a "MANIFEST") chmod u+w "MANIFEST" fi for i in $@; do if [ "$MANIFEST" = "1" ]; then PATTERN="^$i" if [ -d "$i" ]; then if ! { echo "$PATTERN" | grep -q "/$" ; }; then PATTERN="${PATTERN}/" fi else PATTERN="${PATTERN}\s?" fi grep -Ev "$PATTERN" "MANIFEST" > "$DIR/MANIFEST" real_mv "$DIR/MANIFEST" "MANIFEST" fi real_rm "$RM_OPTS" "$i" done if [ "$MANIFEST" = "1" ]; then chmod $PERM "MANIFEST" fi cd $MYOLDPWD set -f } mv(){ set +f OLD=$(pwd) cd $UP_BASE real_mv "$@" cd $OLD if [ "$MANIFEST" = "1" ]; then echo "MANIFEST cannot be manipulated with mv yet, patches welcome" exit 1 fi set -f } # bump with incompatible changes REPACK_VERSION=3 requires_version(){ if [ $REPACK_VERSION -lt $1 ]; then echo "repack.sh is not up to date enough for this package. you need at least version $1, while this script is only version $REPACK_VERSION" exit 1 fi } MANIFEST=0 ## Remove stuff set -f MYORIGPWD=$(pwd) cd "$UP_BASE" . "$MYORIGPWD/debian/repack.local" cd $MYORIGPWD set +f ## End REPACK_DIR="$PKG-${VER}${SUFFIX}.orig" # DevRef ยง 6.7.8.2 DFSG_TAR="$(dirname $FILE)/${PKG}_${VER}${SUFFIX}.orig.tar" real_mv "$UP_BASE" "$DIR/$REPACK_DIR" # .gz or .bz2? FILETYPE=$(file --brief --mime-type --dereference "$FILE") case "$FILETYPE" in application/x-gzip|application/zip) C_PROGRAM="gzip" C_SUFFIX="gz" ;; application/x-bzip2) C_PROGRAM="bzip2" C_SUFFIX="bz2" ;; *) echo "E: Unknown filetye $FILETYPE" exit 1 ;; esac # Using a pipe hides tar errors! tar cfC "$DIR/repacked.tar" "$DIR" "$REPACK_DIR" $C_PROGRAM -9 < "$DIR/repacked.tar" > "$DIR/repacked.tar.$C_SUFFIX" real_mv "$DIR/repacked.tar.$C_SUFFIX" "$DFSG_TAR.$C_SUFFIX" echo "*** $DFSG_TAR.$C_SUFFIX ready" debian/source/0000755000000000000000000000000011747475662010511 5ustar debian/source/format0000644000000000000000000000001411747475662011717 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000023511747475662010242 0ustar version=3 opts="uversionmangle=s/v(\d*)-(\d*)/$1.$2/,dversionmangle=s/\.dfsg.*//" \ http://sf.net/wgois/ois_(\d*.*)\.tar\.gz \ debian sh debian/repack.stub debian/README.source0000644000000000000000000000012711747475662011370 0ustar ois for Debian -------------- Make sure to cleanup generated files before rebuilding.