[neon/backports-focal/libgusb/Neon/unstable] debian: add debian/ from https://salsa.debian.org/efi-team/libgusb.git master

Jonathan Riddell null at kde.org
Thu Nov 26 10:56:05 GMT 2020


Git commit 4e009c5699483ab12403ad4deb28c74cd3d4dd24 by Jonathan Riddell.
Committed on 26/11/2020 at 10:55.
Pushed by jriddell into branch 'Neon/unstable'.

add debian/ from https://salsa.debian.org/efi-team/libgusb.git master

A  +227  -0    debian/changelog
A  +75   -0    debian/control
A  +50   -0    debian/copyright
A  +1    -0    debian/docs
A  +5    -0    debian/gbp.conf
A  +1    -0    debian/gir1.2-gusb-1.0.install
A  +2    -0    debian/libgusb-dev.dirs
A  +6    -0    debian/libgusb-dev.install
A  +1    -0    debian/libgusb-doc.install
A  +1    -0    debian/libgusb2.dirs
A  +1    -0    debian/libgusb2.install
A  +100  -0    debian/libgusb2.symbols
A  +86   -0    debian/patches/revert-versioning.patch
A  +1    -0    debian/patches/series
A  +26   -0    debian/rules
A  +1    -0    debian/source/format
A  +2    -0    debian/watch

https://invent.kde.org/neon/backports-focal/libgusb/commit/4e009c5699483ab12403ad4deb28c74cd3d4dd24

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..69f8136
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,227 @@
+libgusb (0.3.5-2) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * Bump debhelper from old 11 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Update watch file format version to 4.
+
+ -- Debian Janitor <janitor at jelmer.uk>  Mon, 02 Nov 2020 21:02:16 -0000
+
+libgusb (0.3.5-1) unstable; urgency=medium
+
+  [ Mario Limonciello ]
+  * New upstream version
+  * Refresh patches
+    - drop those merged upstream
+    - refresh revert-versioning.patch
+
+  [ Steve McIntyre ]
+  * Take over maintenance under the Debian EFI team. Closes: #953092
+    Thanks to Michal for his earlier work!
+
+ -- Steve McIntyre <93sam at debian.org>  Tue, 27 Oct 2020 23:35:07 +0000
+
+libgusb (0.3.4-0.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/patches/build-version-script-should-be-supported-everywhere-excep.patch:
+    That should fix FTBFS on hurd-i386 at least
+
+ -- Laurent Bigonville <bigon at debian.org>  Thu, 19 Mar 2020 12:15:45 +0100
+
+libgusb (0.3.4-0.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  [ Laurent Bigonville ]
+  * New upstream version (Closes: #948546)
+  * debian/control: Drop libgudev-1.0-dev from the libgusb-dev dependencies
+    and replace it with libglib2.0-dev. (Closes: #951055)
+  * Make gir1.2-gusb-1.0 package Multi-arch: same
+  * debian/patches/01_fix_symver.patch: Fix symbols version (again) and adjust
+    the symbols file accordingly, patch from upstream
+  * debian/control: Bump Standards-Version to 4.5.0 (no further changes)
+  * debian/control: Add libglib2.0-doc to the build-dependencies and mark the
+    -doc package with Build-Profiles: <!nodoc>
+  * Fix path to the file containing the usb ids and recommend the package
+    shipping it
+  * debian/watch: Switch to https to please lintian
+  * Refresh debian/patches/revert-versioning.patch for the 0.3.4 release
+
+  [ Simon McVittie ]
+  * New upstream version
+    - Drop debian/patches/01_fix_symver.patch, no longer necessary
+  * d/p/generate-version-script-Don-t-skip-methods-on-plain-struc.patch:
+    Revert accidental removal of g_usb_source_set_callback from the ABI
+
+ -- Laurent Bigonville <bigon at debian.org>  Tue, 17 Mar 2020 23:58:47 +0100
+
+libgusb (0.3.0-1) unstable; urgency=medium
+
+  [ Sebastien Bacher ]
+  * New upstream version (Closes: #907565).
+  * debian/control, debian/libgusb-dev.install, debian/rules:
+    - update for the build system change
+  * debian/control, debian/compat, debian/rules:
+    - use compat 11
+  * debian/docs: renamed README following upstream, remove TODO
+
+  [ Michal Čihař ]
+  * Cleanup debian/control using cme.
+  * Move git repository to salsa.debian.org.
+  * Strict versioned dependency on gir typelib.
+
+ -- Michal Čihař <nijel at debian.org>  Mon, 15 Oct 2018 16:41:42 +0200
+
+libgusb (0.2.11-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Michal Čihař <nijel at debian.org>  Mon, 07 Aug 2017 12:55:14 -0400
+
+libgusb (0.2.10-2) unstable; urgency=medium
+
+  * Revert upstream changes in symbol versioning (Closes: #868340).
+
+ -- Michal Čihař <nijel at debian.org>  Mon, 17 Jul 2017 11:21:06 +0200
+
+libgusb (0.2.10-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Ensure the documentation is built during package build.
+  * Bump standards to 4.0.0.
+
+ -- Michal Čihař <nijel at debian.org>  Mon, 10 Jul 2017 20:03:19 +0200
+
+libgusb (0.2.9-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Bump standards to 3.9.7.
+  * Ship gusbcmd in the libgusb-dev package.
+
+ -- Michal Čihař <nijel at debian.org>  Mon, 04 Apr 2016 22:00:53 +0200
+
+libgusb (0.2.8-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Update symbols file.
+
+ -- Michal Čihař <nijel at debian.org>  Wed, 02 Dec 2015 08:28:53 +0100
+
+libgusb (0.2.7-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Michal Čihař <nijel at debian.org>  Thu, 17 Sep 2015 09:30:23 +0200
+
+libgusb (0.2.6-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Michal Čihař <nijel at debian.org>  Thu, 23 Jul 2015 08:03:24 +0200
+
+libgusb (0.2.5-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Update symbols file as the library started to support versioned symbols.
+
+ -- Michal Čihař <nijel at debian.org>  Mon, 08 Jun 2015 10:30:12 +0200
+
+libgusb (0.2.4-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Raised glib dependency to 2.38.
+  * New exported symbols.
+
+ -- Michal Čihař <nijel at debian.org>  Mon, 16 Mar 2015 08:43:22 +0100
+
+libgusb (0.2.2-1) unstable; urgency=medium
+
+  * New upstream release.
+    - Dropped gudev dependency, raised glib and libusb ones.
+    - Updated symbols table.
+  * Bump standards to 3.9.6.
+
+ -- Michal Čihař <nijel at debian.org>  Thu, 27 Nov 2014 14:44:48 +0100
+
+libgusb (0.1.6-5) unstable; urgency=medium
+
+  * Miscellaneous fixes from Ubuntu (Closes: #736827):
+    * Build-depend on valac (>= 0.20), not valac-0.20.
+    * Install typelib to /usr/lib as expected, not to the multiarch dir.
+    * Keep libgusb2.symbols at version 0.1.5 for compatibility with
+      existing Ubuntu builds.
+    * Call dh --with gir.
+
+ -- Michal Čihař <nijel at debian.org>  Mon, 27 Jan 2014 11:42:27 +0100
+
+libgusb (0.1.6-4) unstable; urgency=medium
+
+  * Use dh-autoreconf for newer libtool.
+
+ -- Michal Čihař <nijel at debian.org>  Mon, 20 Jan 2014 16:04:03 +0100
+
+libgusb (0.1.6-3) unstable; urgency=medium
+
+  * Bump standards to 3.9.5.
+  * Use debhelper 9.
+  * Use canonical VCS URLs in debian/control.
+  * Enable multiarch support.
+
+ -- Michal Čihař <nijel at debian.org>  Mon, 20 Jan 2014 15:49:26 +0100
+
+libgusb (0.1.6-2) unstable; urgency=low
+
+  * Build with valac-0.20 (Closes: #707465).
+
+ -- Michal Čihař <nijel at debian.org>  Fri, 17 May 2013 10:38:30 +0200
+
+libgusb (0.1.6-1) unstable; urgency=low
+
+  * Update to unstable.
+
+ -- Michal Čihař <nijel at debian.org>  Tue, 07 May 2013 09:53:03 +0200
+
+libgusb (0.1.6-0.1) experimental; urgency=low
+
+  * Non maintainer upload with maintainer approval
+  * Imported Upstream version 0.1.6 (Closes: #699941)
+  * Update build-dependencies according to configure.ac
+    - added libglib2.0-dev, gobject-introspection and valac
+  * Add GObject introspection package gir1.2-gusb-1.0
+  * Install Vala API (vapi) in libgusb-dev package
+  * libgusb2.symbols: update for added symbols
+
+ -- Andreas Henriksson <andreas at fatal.se>  Fri, 08 Mar 2013 09:52:33 +0100
+
+libgusb (0.1.3-5) unstable; urgency=low
+
+  * Fix upstream homepage link.
+
+ -- Michal Čihař <nijel at debian.org>  Mon, 25 Jun 2012 15:08:44 +0200
+
+libgusb (0.1.3-4) unstable; urgency=low
+
+  * Improve package description (Closes: #668043).
+  * Adjust debian/copyright to final version of DEP-5.
+  * Bump standards to 3.9.3.
+
+ -- Michal Čihař <nijel at debian.org>  Mon, 14 May 2012 10:16:54 +0200
+
+libgusb (0.1.3-3) unstable; urgency=low
+
+  * Add missing dependencies to devel package.
+
+ -- Michal Čihař <nijel at debian.org>  Wed, 04 Jan 2012 12:27:11 +0100
+
+libgusb (0.1.3-2) unstable; urgency=low
+
+  * Disable tests completely, they need USB access and it fails on most
+    buildds.
+
+ -- Michal Čihař <nijel at debian.org>  Wed, 04 Jan 2012 07:57:37 +0100
+
+libgusb (0.1.3-1) unstable; urgency=low
+
+  * Initial release (Closes: #654204).
+
+ -- Michal Čihař <nijel at debian.org>  Mon, 02 Jan 2012 13:50:33 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..1dca03e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,75 @@
+Source: libgusb
+Maintainer: Debian UEFI Maintainers <debian-efi at lists.debian.org>
+Uploaders: Steve McIntyre <93sam at debian.org>, Mario Limonciello <mario.limonciello at dell.com>
+Section: libs
+Priority: optional
+Build-Depends: debhelper-compat (= 12),
+               libglib2.0-dev (>= 2.44.0),
+               libusb-1.0-0-dev,
+               gobject-introspection,
+               libgirepository1.0-dev,
+               gtk-doc-tools,
+               valac (>= 0.20),
+               meson (>= 0.46)
+Build-Depends-Indep: libglib2.0-doc <!nodoc>
+Standards-Version: 4.5.0
+Homepage: http://www.hughski.com/downloads.html
+Vcs-Git: https://salsa.debian.org/efi-team/libgusb.git
+Vcs-Browser: https://salsa.debian.org/efi-team/libgusb
+
+Package: libgusb-dev
+Architecture: any
+Section: libdevel
+Depends: libgusb2 (= ${binary:Version}),
+         ${shlibs:Depends},
+         ${misc:Depends},
+         gir1.2-gusb-1.0 (= ${binary:Version}),
+         libglib2.0-dev (>= 2.44.0),
+         libusb-1.0-0-dev
+Description: GLib wrapper around libusb1 - development files
+ GUsb is a GObject wrapper for libusb1 that makes it easy to do
+ asynchronous control, bulk and interrupt transfers with proper
+ cancellation and integration into a mainloop.
+ .
+ This package contains header files needed for compiling programs with
+ GUsb and the gusbcmd debugging utility.
+
+Package: libgusb-doc
+Architecture: all
+Section: doc
+Depends: libgusb-dev,
+         ${misc:Depends}
+Suggests: devhelp
+Build-Profiles: <!nodoc>
+Description: GLib wrapper around libusb1 - documentation
+ GUsb is a GObject wrapper for libusb1 that makes it easy to do
+ asynchronous control, bulk and interrupt transfers with proper
+ cancellation and integration into a mainloop.
+ .
+ This package contains the documentation.
+
+Package: libgusb2
+Architecture: any
+Multi-Arch: same
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Recommends: usb.ids
+Pre-Depends: ${misc:Pre-Depends}
+Description: GLib wrapper around libusb1
+ GUsb is a GObject wrapper for libusb1 that makes it easy to do
+ asynchronous control, bulk and interrupt transfers with proper
+ cancellation and integration into a mainloop.
+ .
+ This package contains the GUsb shared library.
+
+Package: gir1.2-gusb-1.0
+Architecture: any
+Section: introspection
+Multi-Arch: same
+Depends: ${misc:Depends},
+         ${gir:Depends}
+Description: GObject introspection data for libgusb
+ This package contains the introspection data for GUsb.
+ .
+ It can be used by packages using the GIRepository format to generate
+ dynamic bindings.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..eb2c387
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,50 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: libgusb
+Source: http://people.freedesktop.org/~hughsient/releases/
+
+Files: *
+Copyright: Copyright (C) 2011 Richard Hughes <richard at hughsie.com>
+    Copyright (C) 2011 Hans de Goede <hdegoede at redhat.com>
+License: LGPL-2.1+
+
+Files: tools/*
+Copyright: Copyright (C) 2011 Richard Hughes <richard at hughsie.com>
+License: GPL-2.0+
+
+Files: debian/*
+Copyright: 2012 Michal Čihař <nijel at debian.org>
+License: LGPL-2.1+
+
+License: GPL-2.0+
+ This package 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; 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 General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+License: LGPL-2.1+
+ 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.1 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 General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU Lesser General
+ Public License can be found in "/usr/share/common-licenses/LGPL-2.1".
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..41f4f8c
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,5 @@
+# Configuration file for git-buildpackage and friends
+
+[DEFAULT]
+sign-tags = True
+pristine-tar = True
diff --git a/debian/gir1.2-gusb-1.0.install b/debian/gir1.2-gusb-1.0.install
new file mode 100644
index 0000000..49d71c9
--- /dev/null
+++ b/debian/gir1.2-gusb-1.0.install
@@ -0,0 +1 @@
+usr/lib/*/girepository-1.0
diff --git a/debian/libgusb-dev.dirs b/debian/libgusb-dev.dirs
new file mode 100644
index 0000000..4418816
--- /dev/null
+++ b/debian/libgusb-dev.dirs
@@ -0,0 +1,2 @@
+usr/lib
+usr/include
diff --git a/debian/libgusb-dev.install b/debian/libgusb-dev.install
new file mode 100644
index 0000000..1d9af75
--- /dev/null
+++ b/debian/libgusb-dev.install
@@ -0,0 +1,6 @@
+usr/include/*
+usr/lib/*/lib*.so
+usr/lib/*/pkgconfig/*
+usr/share/gir-*
+usr/share/vala/vapi
+usr/bin/gusbcmd
diff --git a/debian/libgusb-doc.install b/debian/libgusb-doc.install
new file mode 100644
index 0000000..49bb8f7
--- /dev/null
+++ b/debian/libgusb-doc.install
@@ -0,0 +1 @@
+usr/share/gtk-doc/html/gusb/*
diff --git a/debian/libgusb2.dirs b/debian/libgusb2.dirs
new file mode 100644
index 0000000..6845771
--- /dev/null
+++ b/debian/libgusb2.dirs
@@ -0,0 +1 @@
+usr/lib
diff --git a/debian/libgusb2.install b/debian/libgusb2.install
new file mode 100644
index 0000000..3ddde58
--- /dev/null
+++ b/debian/libgusb2.install
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff --git a/debian/libgusb2.symbols b/debian/libgusb2.symbols
new file mode 100644
index 0000000..a8489cd
--- /dev/null
+++ b/debian/libgusb2.symbols
@@ -0,0 +1,100 @@
+libgusb.so.2 libgusb2 #MINVER#
+* Build-Depends-Package: libgusb-dev
+ LIBGUSB_0.1.0 at LIBGUSB_0.1.0 0.1.0
+ LIBGUSB_0.1.1 at LIBGUSB_0.1.1 0.1.1
+ LIBGUSB_0.1.7 at LIBGUSB_0.1.7 0.1.7
+ LIBGUSB_0.2.11 at LIBGUSB_0.2.11 0.2.11
+ LIBGUSB_0.2.2 at LIBGUSB_0.2.2 0.2.2
+ LIBGUSB_0.2.4 at LIBGUSB_0.2.4 0.2.4
+ LIBGUSB_0.2.5 at LIBGUSB_0.2.5 0.2.5
+ LIBGUSB_0.3.1 at LIBGUSB_0.3.1 0.3.1
+ LIBGUSB_0.3.3 at LIBGUSB_0.3.3 0.3.3
+ LIBGUSB_0.3.5 at LIBGUSB_0.3.5 0.3.5
+ g_usb_context_enumerate at LIBGUSB_0.2.2 0.2.2
+ g_usb_context_error_quark at LIBGUSB_0.1.0 0.1.0
+ g_usb_context_find_by_bus_address at LIBGUSB_0.2.2 0.2.2
+ g_usb_context_find_by_platform_id at LIBGUSB_0.2.4 0.2.4
+ g_usb_context_find_by_vid_pid at LIBGUSB_0.2.2 0.2.2
+ g_usb_context_get_devices at LIBGUSB_0.2.2 0.2.2
+ g_usb_context_get_flags at LIBGUSB_0.2.11 0.2.11
+ g_usb_context_get_main_context at LIBGUSB_0.1.0 0.1.0
+ g_usb_context_get_source at LIBGUSB_0.1.0 0.1.0
+ g_usb_context_get_type at LIBGUSB_0.1.0 0.1.0
+ g_usb_context_new at LIBGUSB_0.1.0 0.1.0
+ g_usb_context_set_debug at LIBGUSB_0.1.0 0.1.0
+ g_usb_context_set_flags at LIBGUSB_0.2.11 0.2.11
+ g_usb_context_set_main_context at LIBGUSB_0.1.0 0.1.0
+ g_usb_context_wait_for_replug at LIBGUSB_0.1.0 0.2.10
+ g_usb_device_bulk_transfer at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_bulk_transfer_async at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_bulk_transfer_finish at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_claim_interface at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_close at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_control_transfer at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_control_transfer_async at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_control_transfer_finish at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_error_quark at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_get_address at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_get_bus at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_get_children at LIBGUSB_0.2.4 0.2.4
+ g_usb_device_get_configuration at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_get_configuration_index at LIBGUSB_0.3.5 0.3.5
+ g_usb_device_get_custom_index at LIBGUSB_0.2.5 0.2.5
+ g_usb_device_get_device_class at LIBGUSB_0.1.7 0.1.7
+ g_usb_device_get_device_protocol at LIBGUSB_0.2.4 0.2.4
+ g_usb_device_get_device_subclass at LIBGUSB_0.2.4 0.2.4
+ g_usb_device_get_interface at LIBGUSB_0.1.0 0.2.8
+ g_usb_device_get_interfaces at LIBGUSB_0.1.0 0.2.8
+ g_usb_device_get_manufacturer_index at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_get_parent at LIBGUSB_0.2.4 0.2.4
+ g_usb_device_get_pid at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_get_pid_as_str at LIBGUSB_0.2.4 0.2.4
+ g_usb_device_get_platform_id at LIBGUSB_0.1.1 0.1.1
+ g_usb_device_get_port_number at LIBGUSB_0.2.4 0.2.4
+ g_usb_device_get_product_index at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_get_release at LIBGUSB_0.1.0 0.2.8
+ g_usb_device_get_serial_number_index at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_get_spec at LIBGUSB_0.3.1 0.3.1
+ g_usb_device_get_string_descriptor at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_get_type at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_get_vid at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_get_vid_as_str at LIBGUSB_0.2.4 0.2.4
+ g_usb_device_interrupt_transfer at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_interrupt_transfer_async at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_interrupt_transfer_finish at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_list_coldplug at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_list_find_by_bus_address at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_list_find_by_vid_pid at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_list_get_devices at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_list_get_type at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_list_new at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_open at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_release_interface at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_reset at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_set_configuration at LIBGUSB_0.1.0 0.1.0
+ g_usb_device_set_interface_alt at LIBGUSB_0.1.0 0.2.8
+ g_usb_endpoint_get_address at LIBGUSB_0.3.3 0.3.3
+ g_usb_endpoint_get_direction at LIBGUSB_0.3.3 0.3.3
+ g_usb_endpoint_get_extra at LIBGUSB_0.3.3 0.3.3
+ g_usb_endpoint_get_kind at LIBGUSB_0.3.3 0.3.3
+ g_usb_endpoint_get_maximum_packet_size at LIBGUSB_0.3.3 0.3.3
+ g_usb_endpoint_get_number at LIBGUSB_0.3.3 0.3.3
+ g_usb_endpoint_get_polling_interval at LIBGUSB_0.3.3 0.3.3
+ g_usb_endpoint_get_refresh at LIBGUSB_0.3.3 0.3.3
+ g_usb_endpoint_get_synch_address at LIBGUSB_0.3.3 0.3.3
+ g_usb_endpoint_get_type at LIBGUSB_0.3.3 0.3.3
+ g_usb_interface_get_alternate at LIBGUSB_0.1.0 0.2.8
+ g_usb_interface_get_class at LIBGUSB_0.1.0 0.2.8
+ g_usb_interface_get_endpoints at LIBGUSB_0.3.3 0.3.3
+ g_usb_interface_get_extra at LIBGUSB_0.1.0 0.2.8
+ g_usb_interface_get_index at LIBGUSB_0.1.0 0.2.8
+ g_usb_interface_get_kind at LIBGUSB_0.1.0 0.2.8
+ g_usb_interface_get_length at LIBGUSB_0.1.0 0.2.8
+ g_usb_interface_get_number at LIBGUSB_0.1.0 0.2.8
+ g_usb_interface_get_protocol at LIBGUSB_0.1.0 0.2.8
+ g_usb_interface_get_subclass at LIBGUSB_0.1.0 0.2.8
+ g_usb_interface_get_type at LIBGUSB_0.1.0 0.2.8
+ g_usb_source_error_quark at LIBGUSB_0.1.0 0.1.0
+ g_usb_source_set_callback at LIBGUSB_0.1.0 0.1.0
+ g_usb_strerror at LIBGUSB_0.1.0 0.1.0
+ g_usb_version_string at LIBGUSB_0.3.1 0.3.1
diff --git a/debian/patches/revert-versioning.patch b/debian/patches/revert-versioning.patch
new file mode 100644
index 0000000..3be033f
--- /dev/null
+++ b/debian/patches/revert-versioning.patch
@@ -0,0 +1,86 @@
+Subject: Revert versioning changes
+From: Michal Čihař <michal at cihar.com>
+
+Upstream commit
+https://github.com/hughsie/libgusb/commit/cfaab3e523c11800b6d77c1d10ce0c71799a4482
+has changed versions for symbols which were already made public in previous
+release. This patch reverts it so that the ABI doesn't change between 0.2.9 and 0.2.10.
+
+This patch should be temporary until resolved upstream:
+https://github.com/hughsie/libgusb/issues/9
+Index: libgusb/gusb/libgusb.ver
+===================================================================
+--- libgusb.orig/gusb/libgusb.ver
++++ libgusb/gusb/libgusb.ver
+@@ -42,6 +42,26 @@ LIBGUSB_0.1.0 {
+     g_usb_source_error_quark;
+     g_usb_source_set_callback;
+     g_usb_strerror;
++# LIBGUSB_0.2.5
++    g_usb_context_get_main_context;
++    g_usb_context_set_main_context;
++# LIBGUSB_0.2.8
++    g_usb_device_get_interface;
++    g_usb_device_get_interfaces;
++    g_usb_device_get_release;
++    g_usb_device_set_interface_alt;
++    g_usb_interface_get_alternate;
++    g_usb_interface_get_class;
++    g_usb_interface_get_extra;
++    g_usb_interface_get_index;
++    g_usb_interface_get_kind;
++    g_usb_interface_get_length;
++    g_usb_interface_get_number;
++    g_usb_interface_get_protocol;
++    g_usb_interface_get_subclass;
++    g_usb_interface_get_type;
++# LIBGUSB_0.2.9
++    g_usb_context_wait_for_replug;
+   local: *;
+ };
+ 
+@@ -81,43 +101,16 @@ LIBGUSB_0.2.4 {
+ 
+ LIBGUSB_0.2.5 {
+   global:
+-    g_usb_context_get_main_context;
+-    g_usb_context_set_main_context;
+     g_usb_device_get_custom_index;
+   local: *;
+ } LIBGUSB_0.2.4;
+ 
+-LIBGUSB_0.2.8 {
+-  global:
+-    g_usb_device_get_interface;
+-    g_usb_device_get_interfaces;
+-    g_usb_device_get_release;
+-    g_usb_device_set_interface_alt;
+-    g_usb_interface_get_alternate;
+-    g_usb_interface_get_class;
+-    g_usb_interface_get_extra;
+-    g_usb_interface_get_index;
+-    g_usb_interface_get_kind;
+-    g_usb_interface_get_length;
+-    g_usb_interface_get_number;
+-    g_usb_interface_get_protocol;
+-    g_usb_interface_get_subclass;
+-    g_usb_interface_get_type;
+-  local: *;
+-} LIBGUSB_0.2.5;
+-
+-LIBGUSB_0.2.9 {
+-  global:
+-    g_usb_context_wait_for_replug;
+-  local: *;
+-} LIBGUSB_0.2.8;
+-
+ LIBGUSB_0.2.11 {
+   global:
+     g_usb_context_get_flags;
+     g_usb_context_set_flags;
+   local: *;
+-} LIBGUSB_0.2.9;
++} LIBGUSB_0.2.5;
+ 
+ LIBGUSB_0.3.1 {
+   global:
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..fa3b99a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+revert-versioning.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..8545a0b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,26 @@
+#!/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
+
+override_dh_missing:
+	dh_missing --fail-missing
+
+override_dh_installchangelogs:
+	dh_installchangelogs NEWS
+
+override_dh_auto_test:
+	# dh_auto_test
+	echo "Skipping tests as they fail in build environment due to USB bus not available"
+
+override_dh_auto_configure:
+	dh_auto_configure -- -Dusb_ids=/usr/share/misc/usb.ids
+
+%:
+	dh $@ --with gir
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..9a51130
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+https://people.freedesktop.org/~hughsient/releases/ libgusb-(.*)\.tar\.xz


More information about the Neon-commits mailing list