debian/0000755000000000000000000000000011507374370007175 5ustar debian/libspnav0.install0000644000000000000000000000002211271131311012435 0ustar usr/lib/lib*.so.* debian/compat0000644000000000000000000000000211271131311010353 0ustar 7 debian/patches/0000755000000000000000000000000011412175160010613 5ustar debian/patches/series0000644000000000000000000000002011412174732012024 0ustar 01-linking.diff debian/patches/01-linking.diff0000644000000000000000000000165011412175152013321 0ustar Description: fixing linking issues Author: M G Berberich --- libspnav-0.2.2.orig/Makefile.in +++ libspnav-0.2.2/Makefile.in @@ -8,6 +8,7 @@ lib_so = $(soname).1 CC = gcc AR = ar CFLAGS = $(opt) $(dbg) -std=c89 -fpic -pedantic -Wall -fno-strict-aliasing -I. +LDFLAGS="-Wl,-z,defs" .PHONY: all all: $(lib_a) $(lib_so) @@ -16,7 +17,7 @@ $(lib_a): $(obj) $(AR) rcs $@ $(obj) $(lib_so): $(obj) - $(CC) -shared -Wl,-soname,$(soname) -o $@ $(obj) + $(CC) -shared -Wl,-soname,$(soname) -o $@ $(obj) $(LDFLAGS) $(xlib) %.o: $(srcdir)/%.c $(CC) $(CFLAGS) -c $< -o $@ @@ -33,6 +34,8 @@ distclean: install: $(lib_a) $(lib_so) cp $(lib_a) $(PREFIX)/$(libdir)/$(lib_a) cp $(lib_so) $(PREFIX)/$(libdir)/$(lib_so) + ln -s $(lib_so) $(PREFIX)/$(libdir)/libspnav.so + ln -s $(lib_so) $(PREFIX)/$(libdir)/$(soname) for h in $(hdr); do cp -p $(srcdir)/$$h $(PREFIX)/include/; done .PHONY: uninstall debian/rules0000755000000000000000000000354411412174537010261 0ustar #!/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 # 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) ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) else CROSS= --build $(DEB_BUILD_GNU_TYPE) endif config.status: configure dh_testdir ./configure --prefix=/usr --disable-debug \ CFLAGS="$(CFLAGS)" build: build-stamp build-stamp: config.status dh_testdir $(MAKE) libdir=lib touch $@ clean: dh_testdir dh_testroot rm -f build-stamp [ ! -f Makefile ] || $(MAKE) distclean dh_clean install: build dh_testdir dh_testroot dh_prep mkdir -p debian/tmp/usr/lib debian/tmp/usr/include $(MAKE) libdir=lib PREFIX=$(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 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 debian/libspnav-dev.install0000644000000000000000000000005511271131311013137 0ustar usr/include/* usr/lib/lib*.a usr/lib/lib*.so debian/watch0000644000000000000000000000007111271131311010204 0ustar version=3 http://sf.net/spacenav/libspnav-(.+)\.tar\.gz debian/changelog0000644000000000000000000000275711507374370011062 0ustar libspnav (0.2.2-1ubuntu1) natty; urgency=low * Merge from Debian Unstable. Remaining Ubuntu changes: - Add symbols file -- Scott Kitterman Fri, 31 Dec 2010 10:37:07 -0500 libspnav (0.2.2-1) unstable; urgency=low * Initial release (Closes: 513467). -- M G Berberich Tue, 25 May 2010 21:20:21 +0200 libspnav (0.2.1-0ubuntu3) maverick; urgency=low * Add libspnav0.symbols file -- Jonathan Riddell Tue, 08 Jun 2010 14:59:27 +0100 libspnav (0.2.1-0ubuntu2) lucid; urgency=low * debian/control: - Adding libspnav0 to libspnav-dev depends * debian/rules: - Uncommenting dh_makeshlibs as package uses shlibs * Added debian/README.source since we are using Quilt for the time being. Nothing special is needed, so Quilt README.source was referenced. -- Richard A. Johnson Tue, 12 Jan 2010 20:26:05 -0600 libspnav (0.2.1-0ubuntu1) lucid; urgency=low * New upstream release * debian/control: - Add: libspnav0 package section (LP: #325066) - Add: quilt to Build-Depends - Bump: Standards Version to 3.8.3 * debian/patches: - Add: 01_fix_configure_libdir_with_arch.diff to fix FTBFS on amd64 arch * debian/watch: - Add: new watch file -- Richard A. Johnson Mon, 11 Jan 2010 17:10:21 -0600 libspnav (0.2-0ubuntu1) jaunty; urgency=low * Initial release -- Jonathan Riddell Thu, 13 Nov 2008 13:00:51 +0000 debian/docs0000644000000000000000000000000711271131311010025 0ustar README debian/libspnav0.symbols0000644000000000000000000000114211507374053012501 0ustar libspnav.so.0 libspnav0 #MINVER# MagellanApplicationSensitivity@Base 0.2.1 MagellanClose@Base 0.2.1 MagellanInit@Base 0.2.1 MagellanInputEvent@Base 0.2.1 MagellanMultiplicationMatrix@Base 0.2.1 MagellanRemoveMotionEvents@Base 0.2.1 MagellanRotationMatrix@Base 0.2.1 MagellanSetWindow@Base 0.2.1 MagellanTranslateEvent@Base 0.2.1 spnav_close@Base 0.2.1 spnav_fd@Base 0.2.1 spnav_open@Base 0.2.1 spnav_poll_event@Base 0.2.1 spnav_remove_events@Base 0.2.1 spnav_sensitivity@Base 0.2.1 spnav_wait_event@Base 0.2.1 spnav_x11_event@Base 0.2.1 spnav_x11_open@Base 0.2.1 spnav_x11_window@Base 0.2.1 debian/source/0000755000000000000000000000000011377020077010472 5ustar debian/source/format0000644000000000000000000000001411377020077011700 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000375411377020407011133 0ustar This package was debianized by M G Berberich on Tue, 27 Jan 2009 20:24:23 +0100. It was downloaded from http://spacenav.sourceforge.net/index.html Upstream Author: John Tsiombikas Copyright: Copyright (C) 2007 John Tsiombikas License: Redistribution and use in source and binary forms, with or without modification, are permitted under the terms of a modified BSD License. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. The Debian packaging is (C) Copyright 2010, M G Berberich and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. debian/control0000644000000000000000000000221111507374400010566 0ustar Source: libspnav Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: M G Berberich Build-Depends: debhelper (>= 7),quilt, autotools-dev, libx11-dev Standards-Version: 3.8.4 Section: libs Homepage: http://spacenav.sourceforge.net/index.html DM-Upload-Allowed: yes Package: libspnav-dev Section: libdevel Architecture: any Depends: ${misc:Depends}, libspnav0 (= ${binary:Version}) Description: Library to access 3D-input-devices The spacenav project provides a free, compatible alternative to the proprietary 3Dconnexion SDK for their 3D input devices (called "space navigator", "space pilot", "space traveller", etc). . This package contains the developement-files Package: libspnav0 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: spacenavd Description: Library to access 3D-input-devices (development files) The spacenav project provides a free, compatible alternative to the proprietary 3Dconnexion SDK for their 3D input devices (called "space navigator", "space pilot", "space traveller", etc). . This package contains the library. debian/libspnav-dev.examples0000644000000000000000000000001311271131311013301 0ustar examples/*