debian/0000755000000000000000000000000012173210164007163 5ustar debian/rules.old0000755000000000000000000000367312067376442011047 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 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 ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) parallel = -j$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) endif config.status: configure dh_testdir ifneq "$(wildcard /usr/share/misc/config.sub)" "" cp -f /usr/share/misc/config.sub config.sub endif ifneq "$(wildcard /usr/share/misc/config.guess)" "" cp -f /usr/share/misc/config.guess config.guess endif ./configure \ $(CROSS) \ --prefix=/usr \ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ CFLAGS="$(CFLAGS)" \ LDFLAGS="-Wl,-z,defs" \ PKG_CONFIG="pkg-config" build: build-stamp build-stamp: config.status dh_testdir $(MAKE) $(parallel) XMLDCL=/usr/share/xml/declaration/xml.dcl touch $@ clean: dh_testdir dh_testroot rm -f build-stamp [ ! -f Makefile ] || $(MAKE) distclean rm -f config.sub config.guess dh_clean install: build dh_testdir dh_testroot dh_clean -k $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install binary-indep: build install dh_testdir dh_testroot dh_installchangelogs -i ChangeLog dh_installdocs -i dh_install -i dh_compress -i dh_fixperms -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installchangelogs -a ChangeLog dh_installdocs -a dh_install -a dh_strip -a dh_compress -a dh_fixperms -a dh_makeshlibs -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/libopenusb-dev.install0000644000000000000000000000022712067402447013503 0ustar debian/tmp/usr/bin/openusb-config debian/tmp/usr/include/* debian/tmp/usr/lib/*/*.a debian/tmp/usr/lib/*/*.so debian/tmp/usr/lib/*/openusb_backend/*.a debian/patches/0000755000000000000000000000000012173205625010620 5ustar debian/patches/inline0000644000000000000000000000114712067435346012033 0ustar Description: Fix inline function declaration without definition Author: Simon Richter Last-Update: 2012-12-29 --- libopenusb-1.1.7.orig/src/openusb.h.in +++ libopenusb-1.1.7/src/openusb.h.in @@ -647,8 +647,8 @@ int32_t openusb_set_default_timeout(open * * Return Values - Converted data */ -inline uint16_t openusb_le16_to_cpu(uint16_t data); -inline uint32_t openusb_le32_to_cpu(uint32_t data); +uint16_t openusb_le16_to_cpu(uint16_t data); +uint32_t openusb_le32_to_cpu(uint32_t data); #define openusb_cpu_to_le16 openusb_le16_to_cpu #define openusb_cpu_to_le32 openusb_le32_to_cpu debian/patches/xmldcl0000644000000000000000000000154512173205625012033 0ustar Description: Adjust path to xml.dcl Author: Simon Richter Last-Update: 2013-07-22 --- libopenusb-1.1.11.orig/doc/Makefile.in +++ libopenusb-1.1.11/doc/Makefile.in @@ -210,7 +210,7 @@ CLEANFILES = manual.dvi manual.aux manua #MANUALS = manual.ps.gz html/index.html @BUILD_DOCS_TRUE@MANUALS = html/index.html html/openusb_guide.html -@DARWIN_API_FALSE@XMLDCL = /usr/share/sgml/openjade/xml.dcl +@DARWIN_API_FALSE@XMLDCL = /usr/share/sgml/declaration/xml.dcl @DARWIN_API_TRUE@XMLDCL = /sw/share/sgml/xml.dcl @SUNOS_API_TRUE@XMLDCL = /usr/share/sgml/xml.dcl all: all-am --- libopenusb-1.1.11.orig/doc/Makefile.am +++ libopenusb-1.1.11/doc/Makefile.am @@ -24,7 +24,7 @@ endif if DARWIN_API XMLDCL = /sw/share/sgml/xml.dcl else -XMLDCL = /usr/share/sgml/openjade/xml.dcl +XMLDCL = /usr/share/sgml/declaration/xml.dcl endif all: $(MANUALS) debian/patches/series0000644000000000000000000000002412173207136012030 0ustar paralleldocs inline debian/patches/paralleldocs0000644000000000000000000000223412067404522013210 0ustar Description: Fix parallel builds of documentation Author: Simon Richter Last-Update: 2012-12-28 --- libopenusb-1.1.7.orig/doc/Makefile.am +++ libopenusb-1.1.7/doc/Makefile.am @@ -34,11 +34,10 @@ manual.ps.gz: $(xml_files) website.dsl gzip manual.ps html/index.html: $(xml_files) website.dsl - rm -rf html - mkdir html + mkdir -p html @JADE@ -t xml -d website.dsl\#html $(XMLDCL) manual.xml html/openusb_guide.html: $(xml_files) website.dsl - test -d html || mkdir html + mkdir -p html @JADE@ -V nochunks -t xml -d website.dsl\#html $(XMLDCL) manual.xml > html/openusb_guide.html --- libopenusb-1.1.7.orig/doc/Makefile.in +++ libopenusb-1.1.7/doc/Makefile.in @@ -411,12 +411,11 @@ manual.ps.gz: $(xml_files) website.dsl gzip manual.ps html/index.html: $(xml_files) website.dsl - rm -rf html - mkdir html + mkdir -p html @JADE@ -t xml -d website.dsl\#html $(XMLDCL) manual.xml html/openusb_guide.html: $(xml_files) website.dsl - test -d html || mkdir html + mkdir -p html @JADE@ -V nochunks -t xml -d website.dsl\#html $(XMLDCL) manual.xml > html/openusb_guide.html # Tell versions [3.59,3.63) of GNU make to not export all variables. debian/control0000644000000000000000000000270412071305355010575 0ustar Source: libopenusb Priority: extra Maintainer: Simon Richter Build-Depends: debhelper (>= 9), autotools-dev, pkg-config, libglib2.0-dev, libdbus-1-dev, libdbus-glib-1-dev, libusb-dev, libudev-dev Build-Depends-Indep: openjade, docbook-xml, docbook-dsssl Standards-Version: 3.9.3 Section: libs Homepage: http://openusb.wiki.sourceforge.net/ Package: libopenusb-dev Section: libdevel Architecture: linux-any Depends: libopenusb0 (= ${binary:Version}), ${misc:Depends} Description: alternative userspace USB programming library The Open USB library provides a platform independent API to USB, including synchronous and asynchronous transfers and thread safety. . This package contains development headers and the static library. Package: libopenusb0 Section: libs Architecture: linux-any Pre-Depends: multiarch-support Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends} Description: alternative userspace USB programming library The Open USB library provides a platform independent API to USB, including synchronous and asynchronous transfers and thread safety. . This package contains the shared library. Package: libopenusb-doc Section: doc Architecture: all Depends: ${misc:Depends} Description: alternative userspace USB programming library The Open USB library provides a platform independent API to USB, including synchronous and asynchronous transfers and thread safety. . This package contains the documentation in HTML format. debian/copyright0000644000000000000000000000331312067374473011136 0ustar This package was debianized by Simon Richter on Thu, 05 Jun 2008 20:14:03 +0200. It was downloaded from http://openusb.sourceforge.net/ Upstream Authors: Frits van der Linden Lei Chen Sophia Li Fen Ye Bao Yuan Fan Nathan Hjelm Mike Lewis Paul Klissner Danny Liu Copyright: Copyright (C) 2000-2005 Johannes Erdfelt Copyright (C) 2007-2008 Sun Microsystems Inc. License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL'. The Debian packaging is (C) 2008, Simon Richter and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. debian/source/0000755000000000000000000000000012067403666010500 5ustar debian/source/format0000644000000000000000000000001412067403666011706 0ustar 3.0 (quilt) debian/libopenusb0.install0000644000000000000000000000010612067402432012775 0ustar debian/tmp/usr/lib/*/*.so.* debian/tmp/usr/lib/*/openusb_backend/*.so debian/watch0000644000000000000000000000007112067374473010232 0ustar version=3 http://sf.net/openusb/libopenusb-(.*)\.tar\.gz debian/compat0000644000000000000000000000000212067376363010401 0ustar 9 debian/rules0000755000000000000000000000036112173207255010252 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --with autotools-dev --parallel override_dh_auto_build: make -C doc clean dh_auto_build --parallel -- XMLDCL=/usr/share/xml/declaration/xml.dcl debian/changelog0000644000000000000000000000415412173210145011040 0ustar libopenusb (1.1.11-1) unstable; urgency=low * New upstream release -- Simon Richter Mon, 22 Jul 2013 12:29:15 +0200 libopenusb (1.1.7-4) unstable; urgency=low * Properly activate multiarch support * Mark packages as Linux-only -- Simon Richter Thu, 03 Jan 2013 13:43:16 +0000 libopenusb (1.1.7-3) unstable; urgency=low * Fix build dependencies (udev instead of hal) (Closes: #613182) -- Simon Richter Sat, 29 Dec 2012 23:03:17 +0000 libopenusb (1.1.7-2) unstable; urgency=low * Fix inline function declaration without definition -- Simon Richter Sat, 29 Dec 2012 00:34:04 +0000 libopenusb (1.1.7-1) unstable; urgency=low * New upstream release -- Simon Richter Fri, 28 Dec 2012 19:55:41 +0000 libopenusb (1.1.0-2) unstable; urgency=low * Fix parallel build race condition in doc subdir (Closes: #569386) -- Simon Richter Fri, 12 Feb 2010 15:30:52 +0100 libopenusb (1.1.0-1) unstable; urgency=low * New upstream release -- Simon Richter Sun, 17 Jan 2010 17:29:23 +0100 libopenusb (1.0.2-1) unstable; urgency=low * New upstream release * Move documentation to proper place -- Simon Richter Fri, 12 Dec 2008 12:56:00 +0100 libopenusb (1.0.1-5) unstable; urgency=low * Add missing backends. * Adapt to current hal naming conventions for USB devices -- Simon Richter Tue, 14 Oct 2008 08:25:45 +0200 libopenusb (1.0.1-4) unstable; urgency=low * Enabled shared library builds as the ABI appears to be stable. -- Simon Richter Thu, 07 Aug 2008 00:18:46 +0200 libopenusb (1.0.1-3) unstable; urgency=low * Add another missing build dependency * Fixed watch file -- Simon Richter Mon, 16 Jun 2008 15:19:42 +0200 libopenusb (1.0.1-2) unstable; urgency=low * Add missing build dependencies -- Simon Richter Sun, 15 Jun 2008 23:03:30 +0200 libopenusb (1.0.1-1) unstable; urgency=low * Initial release -- Simon Richter Thu, 05 Jun 2008 20:14:03 +0200 debian/libopenusb-doc.install0000644000000000000000000000004712067374473013501 0ustar doc/html /usr/share/doc/libopenusb-doc