From: Peter Michael Green Date: Thu, 14 Mar 2019 19:53:16 +0000 (+0000) Subject: Import libgpiod_1.2-3+rpi1.debian.tar.xz X-Git-Tag: archive/raspbian/1.4.1-2+rpi1~3^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=967e1af52306f3fa0403609c92f03a7b771e63c1;p=libgpiod.git Import libgpiod_1.2-3+rpi1.debian.tar.xz [dgit import tarball libgpiod 1.2-3+rpi1 libgpiod_1.2-3+rpi1.debian.tar.xz] --- 967e1af52306f3fa0403609c92f03a7b771e63c1 diff --git a/changelog b/changelog new file mode 100644 index 0000000..57e0ba1 --- /dev/null +++ b/changelog @@ -0,0 +1,117 @@ +libgpiod (1.2-3+rpi1) buster-staging; urgency=medium + + * Update symbols file for raspbian. + + -- Peter Michael Green Thu, 14 Mar 2019 19:53:16 +0000 + +libgpiod (1.2-3) unstable; urgency=medium + + * d/libgpiod2.symbols + - Fix symbols for risv64 + - Fix symbols for armel + * d/rules: + - Remove dh_missing + + -- SZ Lin (林上智) Fri, 07 Dec 2018 11:42:02 +0800 + +libgpiod (1.2-2) unstable; urgency=medium + + * d/libgpiod2.symbols + - Fix symbols for s390x + - Fix symbols for armel + + -- SZ Lin (林上智) Wed, 05 Dec 2018 13:46:32 +0800 + +libgpiod (1.2-1) unstable; urgency=medium + + * Import new upstream release + * d/libgpiod2.symbols: + - Update symbols with c++filt to fix 32-bit FTBFS issue (Closes: #913522) + * d/control: + - Drop unnecessary build-depends + + -- SZ Lin (林上智) Tue, 13 Nov 2018 11:42:05 +0800 + +libgpiod (1.1.1-2) unstable; urgency=medium + + * Move version 1.1.1 to sid archive + + -- SZ Lin (林上智) Tue, 06 Nov 2018 18:57:31 +0800 + +libgpiod (1.1.1-1) experimental; urgency=medium + + * Import new upstream release + * Add upstream metadata + * Add python/cxx bindings (LP: #1791124) + * d/patches + - Add Fix-FTBFS-with-bindings-cxx-examples-gpiod_cxx_tests patch + + -- SZ Lin (林上智) Fri, 28 Sep 2018 16:25:28 +0800 + +libgpiod (1.1-1) UNRELEASED; urgency=medium + + * Import new upstream release + * Bump ABI version with upstream new release + * Converting git-dpm to gbp pq + * d/control: + - Bump standards-version to 4.2.1 + + -- SZ Lin (林上智) Wed, 12 Sep 2018 14:18:16 +0800 + +libgpiod (1.0.1-1) unstable; urgency=medium + + * New upstream release + * d/control: Bump standards-version to 4.1.4 + + -- SZ Lin (林上智) Tue, 17 Apr 2018 13:36:46 +0800 + +libgpiod (1.0-1) unstable; urgency=medium + + * New upstream release + * d/compat: Bump compat version to 11 + * d/control: Bump standards-version to 4.1.3 + * Move VCS to salsa + * d/libgpiod-doc.doc-base: repoint doc-base to /usr/share/doc/libgpiod-dev + * d/libgpiod1.symbols: Rename symbol file + + -- SZ Lin (林上智) Fri, 09 Feb 2018 16:41:51 +0800 + +libgpiod (0.3.2+git20171201-2) unstable; urgency=medium + + * Fix corrupted long description in gpiod (Closes: #885031) + + -- SZ Lin (林上智) Sat, 23 Dec 2017 10:25:20 +0800 + +libgpiod (0.3.2+git20171201-1) unstable; urgency=medium + + * Import new upstream (Closes: #881728) + * d/control: Rename libgpiod -> libgpiod0 in binary library package + * d/copyright: Add comment for license change in upstream + + -- SZ Lin (林上智) Thu, 21 Dec 2017 09:57:11 +0800 + +libgpiod (0.3.2-4) UNRELEASED; urgency=low + + * d/rules: Remove *.la Libtool archive files + + -- SZ Lin (林上智) Sun, 03 Dec 2017 23:41:06 +0800 + +libgpiod (0.3.2-3) UNRELEASED; urgency=low + + * d/control: Bump Standards-Version to 4.1.2 + * Make license type consistent between source + files and COPYING file + + -- SZ Lin (林上智) Fri, 01 Dec 2017 23:21:50 +0800 + +libgpiod (0.3.2-2) UNRELEASED; urgency=low + + * d/control: replace arch from "any" to "linux-any" + + -- SZ Lin (林上智) Sat, 18 Nov 2017 12:19:13 +0800 + +libgpiod (0.3.2-1) UNRELEASED; urgency=medium + + * Initial release + + -- SZ Lin (林上智) Wed, 15 Nov 2017 10:01:32 +0800 diff --git a/compat b/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/compat @@ -0,0 +1 @@ +11 diff --git a/control b/control new file mode 100644 index 0000000..e59eeb1 --- /dev/null +++ b/control @@ -0,0 +1,102 @@ +Source: libgpiod +Section: misc +Priority: optional +Maintainer: SZ Lin (林上智) +Build-Depends: debhelper (>= 11), + autoconf-archive, + automake, + pkg-config, + m4, + python3-dev, + python3-setuptools +Standards-Version: 4.2.1 +Build-Depends-Indep: doxygen +Homepage: https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git +Vcs-Git: https://salsa.debian.org/debian/libgpiod.git +Vcs-Browser: https://salsa.debian.org/debian/libgpiod + +Package: libgpiod-dev +Section: libdevel +Architecture: linux-any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + libgpiod2 (= ${binary:Version}) +Suggests: libgpiod-doc +Description: C library for interacting with Linux GPIO device - static libraries and headers + libgpiod encapsulates the ioctl calls and data structures + behind a straightforward API. This new character device + interface guarantees all allocated resources are freed after + closing the device file descriptor and adds several new + features that are not present in the obsolete sysfs interface + (like event polling, setting/reading multiple values at once or + open-source and open-drain GPIOs). + . + This package contains the required static libraries, headers, and C++ bindings. + +Package: libgpiod-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Description: C library for interacting with Linux GPIO device - library documentation + libgpiod encapsulates the ioctl calls and data structures + behind a straightforward API. This new character device + interface guarantees all allocated resources are freed after + closing the device file descriptor and adds several new + features that are not present in the obsolete sysfs interface + (like event polling, setting/reading multiple values at once or + open-source and open-drain GPIOs). + . + This package contains the doxygen generated HTML documentation for the + libraries. + +Package: libgpiod2 +Section: libs +Architecture: linux-any +Depends: ${shlibs:Depends}, + ${misc:Depends}, +Multi-Arch: same +Replaces: libgpiod1 +Conflicts: libgpiod1 +Description: C library for interacting with Linux GPIO device - shared libraries + libgpiod encapsulates the ioctl calls and data structures + behind a straightforward API. This new character device + interface guarantees all allocated resources are freed after + closing the device file descriptor and adds several new + features that are not present in the obsolete sysfs interface + (like event polling, setting/reading multiple values at once or + open-source and open-drain GPIOs). + . + This package contains the required shared libraries. + +Package: gpiod +Architecture: linux-any +Depends: ${shlibs:Depends}, + ${misc:Depends}, +Description: Tools for interacting with Linux GPIO character device - binary + libgpiod encapsulates the ioctl calls and data structures + behind a straightforward API. This new character device + interface guarantees all allocated resources are freed after + closing the device file descriptor and adds several new + features that are not present in the obsolete sysfs interface + (like event polling, setting/reading multiple values at once or + open-source and open-drain GPIOs). + . + This package contains the gpiod binary tools. + +Package: python3-libgpiod +Section: python +Architecture: linux-any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + ${python3:Depends}, + libgpiod2 (= ${binary:Version}) +Description: Python bindings for libgpiod (Python 3) + libgpiod encapsulates the ioctl calls and data structures + behind a straightforward API. This new character device + interface guarantees all allocated resources are freed after + closing the device file descriptor and adds several new + features that are not present in the obsolete sysfs interface + (like event polling, setting/reading multiple values at once or + open-source and open-drain GPIOs). + . + This package contains Python 3 bindings for the libgpiod library. diff --git a/copyright b/copyright new file mode 100644 index 0000000..99cb2f7 --- /dev/null +++ b/copyright @@ -0,0 +1,31 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: libgpiod +Source: https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git +#The upstream changes its license type to "LGPL-2.1+" +#https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/commit/?h=v0.3.x&id=486b57388683fc4f404fa6cb008c5dbae6fe6c33 + +Files: * +Copyright: 2017-2018, by Bartosz Golaszewski +License: LGPL-2.1+ + +Files: debian/* +Copyright: 2017-2018 SZ Lin (林上智) +License: LGPL-2.1+ + +License: LGPL-2.1+ + This library 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 library 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 library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, the complete text of the GNU Lesser General Public License + Version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. diff --git a/docs b/docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/docs @@ -0,0 +1 @@ +README diff --git a/gpiod.install b/gpiod.install new file mode 100644 index 0000000..b133d19 --- /dev/null +++ b/gpiod.install @@ -0,0 +1,6 @@ +usr/bin/gpioinfo +usr/bin/gpiodetect +usr/bin/gpiofind +usr/bin/gpioset +usr/bin/gpioget +usr/bin/gpiomon diff --git a/libgpiod-dev.install b/libgpiod-dev.install new file mode 100644 index 0000000..44240df --- /dev/null +++ b/libgpiod-dev.install @@ -0,0 +1,6 @@ +usr/include/* +usr/lib/*/libgpiod*.so +usr/lib/*/libgpiod*.a +usr/lib/*/libgpiodcxx*.so +usr/lib/*/libgpiodcxx*.a +usr/lib/*/pkgconfig/libgpiod*.pc diff --git a/libgpiod-doc.doc-base b/libgpiod-doc.doc-base new file mode 100644 index 0000000..358bd82 --- /dev/null +++ b/libgpiod-doc.doc-base @@ -0,0 +1,9 @@ +Document: libgpiod +Title: libgpiod Documentation (Doxygen) +Abstract: The doxygen generated documentation for programming with the libgpiod + libraries. +Section: Programming/C + +Format: HTML +Index: /usr/share/doc/libgpiod-dev/html/index.html +Files: /usr/share/doc/libgpiod-dev/html/* diff --git a/libgpiod-doc.docs b/libgpiod-doc.docs new file mode 100644 index 0000000..0bd3136 --- /dev/null +++ b/libgpiod-doc.docs @@ -0,0 +1 @@ +doc/html diff --git a/libgpiod2.install b/libgpiod2.install new file mode 100644 index 0000000..1ce4d28 --- /dev/null +++ b/libgpiod2.install @@ -0,0 +1 @@ +usr/lib/*/libgpiod*.so.* diff --git a/libgpiod2.symbols b/libgpiod2.symbols new file mode 100644 index 0000000..e614a62 --- /dev/null +++ b/libgpiod2.symbols @@ -0,0 +1,204 @@ +libgpiod.so.2 libgpiod2 #MINVER# + gpiod_chip_close@Base 1.1 + gpiod_chip_find_line@Base 1.1 + gpiod_chip_find_lines@Base 1.1 + gpiod_chip_get_all_lines@Base 1.1 + gpiod_chip_get_line@Base 1.1 + gpiod_chip_get_lines@Base 1.1 + gpiod_chip_iter_free@Base 1.1 + gpiod_chip_iter_free_noclose@Base 1.1 + gpiod_chip_iter_new@Base 1.1 + gpiod_chip_iter_next@Base 1.1 + gpiod_chip_iter_next_noclose@Base 1.1 + gpiod_chip_label@Base 1.1 + gpiod_chip_name@Base 1.1 + gpiod_chip_num_lines@Base 1.1 + gpiod_chip_open@Base 1.1 + gpiod_chip_open_by_label@Base 1.1 + gpiod_chip_open_by_name@Base 1.1 + gpiod_chip_open_by_number@Base 1.1 + gpiod_chip_open_lookup@Base 1.1 + gpiod_ctxless_event_loop@Base 1.1 + gpiod_ctxless_event_loop_multiple@Base 1.1 + gpiod_ctxless_event_monitor@Base 1.2 + gpiod_ctxless_event_monitor_multiple@Base 1.2 + gpiod_ctxless_find_line@Base 1.1 + gpiod_ctxless_get_value@Base 1.1 + gpiod_ctxless_get_value_multiple@Base 1.1 + gpiod_ctxless_set_value@Base 1.1 + gpiod_ctxless_set_value_multiple@Base 1.1 + gpiod_line_active_state@Base 1.1 + gpiod_line_close_chip@Base 1.1 + gpiod_line_consumer@Base 1.1 + gpiod_line_direction@Base 1.1 + gpiod_line_event_get_fd@Base 1.1 + gpiod_line_event_read@Base 1.1 + gpiod_line_event_read_fd@Base 1.1 + gpiod_line_event_wait@Base 1.1 + gpiod_line_event_wait_bulk@Base 1.1 + gpiod_line_find@Base 1.1 + gpiod_line_get@Base 1.1 + gpiod_line_get_chip@Base 1.1 + gpiod_line_get_value@Base 1.1 + gpiod_line_get_value_bulk@Base 1.1 + gpiod_line_is_free@Base 1.1 + gpiod_line_is_open_drain@Base 1.1 + gpiod_line_is_open_source@Base 1.1 + gpiod_line_is_requested@Base 1.1 + gpiod_line_is_used@Base 1.1 + gpiod_line_iter_free@Base 1.1 + gpiod_line_iter_new@Base 1.1 + gpiod_line_iter_next@Base 1.1 + gpiod_line_name@Base 1.1 + gpiod_line_needs_update@Base 1.1 + gpiod_line_offset@Base 1.1 + gpiod_line_release@Base 1.1 + gpiod_line_release_bulk@Base 1.1 + gpiod_line_request@Base 1.1 + gpiod_line_request_both_edges_events@Base 1.1 + gpiod_line_request_both_edges_events_flags@Base 1.1 + gpiod_line_request_bulk@Base 1.1 + gpiod_line_request_bulk_both_edges_events@Base 1.1 + gpiod_line_request_bulk_both_edges_events_flags@Base 1.1 + gpiod_line_request_bulk_falling_edge_events@Base 1.1 + gpiod_line_request_bulk_falling_edge_events_flags@Base 1.1 + gpiod_line_request_bulk_input@Base 1.1 + gpiod_line_request_bulk_input_flags@Base 1.1 + gpiod_line_request_bulk_output@Base 1.1 + gpiod_line_request_bulk_output_flags@Base 1.1 + gpiod_line_request_bulk_rising_edge_events@Base 1.1 + gpiod_line_request_bulk_rising_edge_events_flags@Base 1.1 + gpiod_line_request_falling_edge_events@Base 1.1 + gpiod_line_request_falling_edge_events_flags@Base 1.1 + gpiod_line_request_input@Base 1.1 + gpiod_line_request_input_flags@Base 1.1 + gpiod_line_request_output@Base 1.1 + gpiod_line_request_output_flags@Base 1.1 + gpiod_line_request_rising_edge_events@Base 1.1 + gpiod_line_request_rising_edge_events_flags@Base 1.1 + gpiod_line_set_value@Base 1.1 + gpiod_line_set_value_bulk@Base 1.1 + gpiod_line_update@Base 1.1 + gpiod_version_string@Base 1.1 +libgpiodcxx.so.1 libgpiod2 #MINVER# + (c++)"gpiod::line_request::FLAG_ACTIVE_LOW@Base" 1.1 + (c++)"gpiod::line_request::FLAG_OPEN_DRAIN@Base" 1.1 + (c++)"gpiod::line_request::FLAG_OPEN_SOURCE@Base" 1.1 + (c++)"gpiod::make_chip_iter()@Base" 1.1 + (c++)"gpiod::end(gpiod::chip_iter const&)@Base" 1.1 + (c++)"gpiod::end(gpiod::line_iter const&)@Base" 1.1 + (c++)"gpiod::chip::open(std::__cxx11::basic_string, std::allocator > const&, int)@Base" 1.1 + (c++)"gpiod::chip::reset()@Base" 1.1 + (c++)"gpiod::chip::chip(std::__cxx11::basic_string, std::allocator > const&, int)@Base" 1.1 + (c++)"gpiod::chip::chip(std::__cxx11::basic_string, std::allocator > const&, int)@Base" 1.1 + (c++)"gpiod::line::reset()@Base" 1.1 + (c++)"gpiod::line::line()@Base" 1.1 + (c++)"gpiod::line::line()@Base" 1.1 + (c++)"gpiod::begin(gpiod::chip_iter)@Base" 1.1 + (c++)"gpiod::begin(gpiod::line_iter)@Base" 1.1 + (c++)"gpiod::chip_iter::~chip_iter()@Base" 1.1 + (c++)"gpiod::chip_iter::~chip_iter()@Base" 1.1 + (c++)"gpiod::chip_iter::operator++()@Base" 1.1 + (c++)"gpiod::find_line(std::__cxx11::basic_string, std::allocator > const&)@Base" 1.1 + (c++)"gpiod::line_bulk::end()@Base" 1.1 + (c++)"gpiod::line_bulk::get(unsigned int)@Base" 1.1 + (c++)"gpiod::line_bulk::begin()@Base" 1.1 + (c++)"gpiod::line_bulk::clear()@Base" 1.1 + (c++)"gpiod::line_bulk::append(gpiod::line const&)@Base" 1.1 + (c++)"gpiod::line_bulk::iterator::operator++()@Base" 1.1 + (c++)"gpiod::line_bulk::MAX_LINES@Base" 1.1 + (c++)"gpiod::line_bulk::line_bulk(std::vector > const&)@Base" 1.1 + (c++)"gpiod::line_bulk::line_bulk(std::vector > const&)@Base" 1.1 + (c++)"gpiod::line_bulk::operator[](unsigned int)@Base" 1.1 + (c++)"gpiod::line_iter::line_iter(gpiod::chip const&)@Base" 1.1 + (c++)"gpiod::line_iter::line_iter(gpiod::chip const&)@Base" 1.1 + (c++)"gpiod::line_iter::operator++()@Base" 1.1 + (c++)"gpiod::chip::find_lines(std::vector, std::allocator >, std::allocator, std::allocator > > > const&) const@Base" 1.1 + (c++)"gpiod::chip::get_all_lines() const@Base" 1.1 + (c++)"gpiod::chip::name[abi:cxx11]() const@Base" 1.1 + (c++)"gpiod::chip::label[abi:cxx11]() const@Base" 1.1 + (c++)"gpiod::chip::get_line(unsigned int) const@Base" 1.1 + (c++)"gpiod::chip::find_line(std::__cxx11::basic_string, std::allocator > const&) const@Base" 1.1 + (c++)"gpiod::chip::get_lines(std::vector > const&) const@Base" 1.1 + (c++)"gpiod::chip::num_lines() const@Base" 1.1 + (c++)"gpiod::chip::operator bool() const@Base" 1.1 + (c++)"gpiod::chip::operator==(gpiod::chip const&) const@Base" 1.1 + (c++)"gpiod::chip::operator!=(gpiod::chip const&) const@Base" 1.1 + (c++)"gpiod::chip::operator!() const@Base" 1.1 + (c++)"gpiod::line::event_read() const@Base" 1.1 + (c++|arch-bits=64)"gpiod::line::event_wait(std::chrono::duration > const&) const@Base" 1.1 + (c++|arch-bits=32)"gpiod::line::event_wait(std::chrono::duration > const&) const@Base" 1.1 + (c++)"gpiod::line::active_state() const@Base" 1.1 + (c++)"gpiod::line::event_get_fd() const@Base" 1.1 + (c++)"gpiod::line::is_requested() const@Base" 1.1 + (c++)"gpiod::line::is_open_drain() const@Base" 1.1 + (c++)"gpiod::line::is_open_source() const@Base" 1.1 + (c++)"gpiod::line::name[abi:cxx11]() const@Base" 1.1 + (c++)"gpiod::line::offset() const@Base" 1.1 + (c++)"gpiod::line::is_used() const@Base" 1.1 + (c++)"gpiod::line::release() const@Base" 1.1 + (c++)"gpiod::line::request(gpiod::line_request const&, int) const@Base" 1.1 + (c++)"gpiod::line::consumer[abi:cxx11]() const@Base" 1.1 + (c++)"gpiod::line::get_chip() const@Base" 1.1 + (c++)"gpiod::line::direction() const@Base" 1.1 + (c++)"gpiod::line::get_value() const@Base" 1.1 + (c++)"gpiod::line::set_value(int) const@Base" 1.1 + (c++)"gpiod::line::operator bool() const@Base" 1.1 + (c++)"gpiod::line::operator==(gpiod::line const&) const@Base" 1.1 + (c++)"gpiod::line::operator!=(gpiod::line const&) const@Base" 1.1 + (c++)"gpiod::line::operator!() const@Base" 1.1 + (c++)"gpiod::chip_iter::operator*() const@Base" 1.1 + (c++)"gpiod::chip_iter::operator==(gpiod::chip_iter const&) const@Base" 1.1 + (c++)"gpiod::chip_iter::operator!=(gpiod::chip_iter const&) const@Base" 1.1 + (c++)"gpiod::chip_iter::operator->() const@Base" 1.1 + (c++|arch-bits=64)"gpiod::line_bulk::event_wait(std::chrono::duration > const&) const@Base" 1.1 + (c++|arch-bits=32)"gpiod::line_bulk::event_wait(std::chrono::duration > const&) const@Base" 1.1 + (c++)"gpiod::line_bulk::get_values() const@Base" 1.1 + (c++)"gpiod::line_bulk::set_values(std::vector > const&) const@Base" 1.1 + (c++)"gpiod::line_bulk::size() const@Base" 1.1 + (c++)"gpiod::line_bulk::empty() const@Base" 1.1 + (c++)"gpiod::line_bulk::release() const@Base" 1.1 + (c++)"gpiod::line_bulk::request(gpiod::line_request const&, std::vector >) const@Base" 1.1 + (c++)"gpiod::line_bulk::iterator::operator*() const@Base" 1.1 + (c++)"gpiod::line_bulk::iterator::operator==(gpiod::line_bulk::iterator const&) const@Base" 1.1 + (c++)"gpiod::line_bulk::iterator::operator!=(gpiod::line_bulk::iterator const&) const@Base" 1.1 + (c++)"gpiod::line_bulk::iterator::operator->() const@Base" 1.1 + (c++)"gpiod::line_bulk::operator bool() const@Base" 1.1 + (c++)"gpiod::line_bulk::operator!() const@Base" 1.1 + (c++)"gpiod::line_iter::operator*() const@Base" 1.1 + (c++)"gpiod::line_iter::operator==(gpiod::line_iter const&) const@Base" 1.1 + (c++)"gpiod::line_iter::operator!=(gpiod::line_iter const&) const@Base" 1.1 + (c++)"gpiod::line_iter::operator->() const@Base" 1.1 + (c++)"std::system_error::system_error(std::error_code, char const*)@Base" 1.1 + (c++)"std::system_error::system_error(int, std::_V2::error_category const&, std::__cxx11::basic_string, std::allocator > const&)@Base" 1.1 + (c++)"std::system_error::system_error(std::error_code, char const*)@Base" 1.1 + (c++)"std::system_error::system_error(int, std::_V2::error_category const&, std::__cxx11::basic_string, std::allocator > const&)@Base" 1.1 + (c++)"std::_Function_base::_Base_manager, std::allocator > const&)>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation)@Base" 1.1 + (c++|optional=notarmelandprobabllynotraspbian)"std::_Sp_counted_ptr::_M_dispose()@Base" 1.1 + (c++|optional=notarmelandprobabllynotraspbian)"std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_destroy()@Base" 1.1 + (c++|optional=notarmelandprobabllynotraspbian)"std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release()@Base" 1.1 + (c++)"std::map, std::allocator > >::~map()@Base" 1.1 + (c++)"std::map, std::allocator > >::~map()@Base" 1.1 + (c++|arch-bits=64)"std::bitset<32ul>::bitset(char const*, std::__cxx11::basic_string, std::allocator >::size_type, char, char)@Base" 1.1 + (c++|arch-bits=32)"std::bitset<32u>::bitset(char const*, std::__cxx11::basic_string, std::allocator >::size_type, char, char)@Base" 1.1 + (c++|arch-bits=64)"std::bitset<32ul>::bitset(char const*, std::__cxx11::basic_string, std::allocator >::size_type, char, char)@Base" 1.1 + (c++|arch-bits=32)"std::bitset<32u>::bitset(char const*, std::__cxx11::basic_string, std::allocator >::size_type, char, char)@Base" 1.1 + (c++|arch-bits=64)"std::vector >::_M_default_append(unsigned long)@Base" 1.1 + (c++|arch-bits=32)"std::vector >::_M_default_append(unsigned int)@Base" 1.1 + (c++)"void std::__cxx11::basic_string, std::allocator >::_M_construct(char const*, char const*, std::forward_iterator_tag)@Base" 1.1 + (c++)"std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::_M_get_insert_unique_pos(int const&)@Base" 1.1 + (c++|arch=amd64 arm64 ppc64el riscv64)"std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator >, int const&)@Base" 1.1 + (c++)"std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::_M_erase(std::_Rb_tree_node >*)@Base" 1.1 + (c++|optional=notarmelandprobabllynotraspbian)"typeinfo for std::_Mutex_base<(__gnu_cxx::_Lock_policy)2>@Base" 1.1 + (c++|optional=notarmelandprobabllynotraspbian)"typeinfo for std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>@Base" 1.1 + (c++|optional=notarmelandprobabllynotraspbian)"typeinfo name for std::_Mutex_base<(__gnu_cxx::_Lock_policy)2>@Base" 1.1 + (c++|optional=notarmelandprobabllynotraspbian)"typeinfo name for std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>@Base" 1.1 + (c++|arch= armel riscv64)"std::_Sp_counted_ptr::_M_dispose()@Base" 1.2 + (c++|arch= armel riscv64)"std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)1>::_M_destroy()@Base" 1.2 + (c++|arch= armel riscv64)"std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)1>::_M_release()@Base" 1.2 + (c++|arch= armel riscv64)"typeinfo for __gnu_cxx::__mutex@Base" 1.2 + (c++|arch= armel riscv64)"typeinfo for std::_Mutex_base<(__gnu_cxx::_Lock_policy)1>@Base" 1.2 + (c++|arch= armel riscv64)"typeinfo for std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)1>@Base" 1.2 + (c++|arch= armel riscv64)"typeinfo name for __gnu_cxx::__mutex@Base" 1.2 + (c++|arch= armel riscv64)"typeinfo name for std::_Mutex_base<(__gnu_cxx::_Lock_policy)1>@Base" 1.2 + (c++|arch= armel riscv64)"typeinfo name for std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)1>@Base" 1.2 diff --git a/python3-libgpiod.examples b/python3-libgpiod.examples new file mode 100644 index 0000000..f230bb5 --- /dev/null +++ b/python3-libgpiod.examples @@ -0,0 +1 @@ +bindings/python/examples/*.py diff --git a/python3-libgpiod.install b/python3-libgpiod.install new file mode 100644 index 0000000..480d5d6 --- /dev/null +++ b/python3-libgpiod.install @@ -0,0 +1 @@ +usr/lib/*/site-packages/gpiod.so diff --git a/rules b/rules new file mode 100755 index 0000000..637a1e3 --- /dev/null +++ b/rules @@ -0,0 +1,40 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + +# Some variables: +DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) +DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU) + +%: + dh $@ --with python3 --exclude=.la + +override_dh_auto_configure: + dh_auto_configure -- \ + --enable-tools=yes \ + --enable-bindings-python --enable-bindings-cxx \ + $(NULL) + +# Architecture: all only: build the doxygen documentation +override_dh_auto_build-indep: +ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) + dh_auto_build -- doc +endif + +# doxygen documentation is installed using dh_installdocs +override_dh_auto_install-indep: + +override_dh_auto_install: + dh_auto_install + rm -f debian/tmp/usr/lib/*/site-packages/gpiod.a + +override_dh_installdocs: + # fix lintian useless-autogenerated-doxygen-file + dh_installdocs -X.md5 + +override_dh_clean: + dh_clean + rm -rf confdefs.h + rm -rf doc/* diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/upstream/metadata b/upstream/metadata new file mode 100644 index 0000000..e75df51 --- /dev/null +++ b/upstream/metadata @@ -0,0 +1,5 @@ +Bug-Database: linux-gpio@vger.kernel.org +Bug-Submit: linux-gpio@vger.kernel.org +Name: libgpiod +Repository: https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git +Repository-Browse: https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git diff --git a/watch b/watch new file mode 100644 index 0000000..11d867f --- /dev/null +++ b/watch @@ -0,0 +1,4 @@ +version=4 + opts=dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$// \ + https://www.kernel.org/pub/software/libs/libgpiod \ + libgpiod-(.+)\.tar\.(?:xz|gz)