From 4d9bf0a561fc86e1cf571703b034fdfc5c2efae4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?SZ=20Lin=20=28=E6=9E=97=E4=B8=8A=E6=99=BA=29?= Date: Wed, 1 Jul 2020 04:27:41 +0100 Subject: [PATCH] Import libgpiod_1.5.1-1.debian.tar.xz [dgit import tarball libgpiod 1.5.1-1 libgpiod_1.5.1-1.debian.tar.xz] --- changelog | 195 +++++++++++++++++++++++++++++++ control | 108 +++++++++++++++++ copyright | 60 ++++++++++ docs | 1 + gpiod.install | 6 + gpiod.manpages | 1 + libgpiod-dev.install | 6 + libgpiod-doc.doc-base | 9 ++ libgpiod-doc.docs | 1 + libgpiod2.install | 1 + libgpiod2.symbols | 240 ++++++++++++++++++++++++++++++++++++++ python3-libgpiod.examples | 1 + python3-libgpiod.install | 1 + rules | 40 +++++++ salsa-ci.yml | 3 + source/format | 1 + upstream/metadata | 5 + watch | 4 + 18 files changed, 683 insertions(+) create mode 100644 changelog create mode 100644 control create mode 100644 copyright create mode 100644 docs create mode 100644 gpiod.install create mode 100644 gpiod.manpages create mode 100644 libgpiod-dev.install create mode 100644 libgpiod-doc.doc-base create mode 100644 libgpiod-doc.docs create mode 100644 libgpiod2.install create mode 100644 libgpiod2.symbols create mode 100644 python3-libgpiod.examples create mode 100644 python3-libgpiod.install create mode 100755 rules create mode 100644 salsa-ci.yml create mode 100644 source/format create mode 100644 upstream/metadata create mode 100644 watch diff --git a/changelog b/changelog new file mode 100644 index 0000000..21c66bf --- /dev/null +++ b/changelog @@ -0,0 +1,195 @@ +libgpiod (1.5.1-1) unstable; urgency=medium + + * Import new upstream release + * Add salsa-ci.yml for enabling CI function in Salsa + * Update symbol table + * d/control: + - Bump debhelper-compat to 13 + * d/copyright: + - Correct copyright information + * d/rules: + - Remove unneeded declaration + + -- SZ Lin (林上智) Wed, 01 Jul 2020 11:27:41 +0800 + +libgpiod (1.4.1-4) unstable; urgency=medium + + * Fix symbols disappeared on s390x - Thanks to Gianfranco Costamagna + (Closes: #949958) + * Add Multi-Arch attribute - Thanks to Helmut Grohne + (Closes: #951196) + * Support nopython build profile to avoid FTFBS issue - This patch was + tweaked from Helmut Grohne . Thanks the report from + Michael Hudson-Doyle (Closes:#949919, #951197) + * d/control: + - Bump Standards-Version to 4.5.0 + - Set Rules-Requires-Root: no + * d/watch: + - Ignore watching on rc version + + -- SZ Lin (林上智) Tue, 03 Mar 2020 21:46:43 +0800 + +libgpiod (1.4.1-3) unstable; urgency=medium + + * d/control: + - Use debhelper-compat (= 12) in build-dependency to replace d/compat + * d/libgpiod2.symbols + - Fix missing symbols issue in builting with -O3 option - Thanks to + Gianfranco Costamagna (Closes: #939304) + + -- SZ Lin (林上智) Tue, 10 Sep 2019 17:02:05 +0800 + +libgpiod (1.4.1-2) unstable; urgency=medium + + * Fix FTBFS in armel + + -- SZ Lin (林上智) Sat, 31 Aug 2019 21:25:57 +0800 + +libgpiod (1.4.1-1) unstable; urgency=high + + * Import new upstream release + * Fix FTBFS with GCC-9 (Closes: #925744) + * Update symbols + + -- SZ Lin (林上智) Fri, 30 Aug 2019 20:47:38 +0800 + +libgpiod (1.4-1) UNRELEASED; urgency=medium + + * Import new upstream release + * Move package from experimental to sid + * d/control: + - Bump Standards-Version to 4.4.0 + * d/watch: + - Fix wrong format in package naming + + -- SZ Lin (林上智) Wed, 31 Jul 2019 14:57:33 +0800 + +libgpiod (1.3-1~exp1) experimental; urgency=medium + + * Import new upstream release + * Add manpages for gpiod tools + * d/compat: + - Bump compat version to 12 + * d/control: + - Bump Standards-Version to 4.3.0 + - Bump debhelper version to 12 + - Add help2man into Build-Depends for manpage creation + - Drop conflicting setting (Closes: #924926) + - Suggested by Ben Harris + * d/libgpiod2.symbols + - Add Build-Depends-Package + - Update symbols + + -- SZ Lin (林上智) Thu, 11 Apr 2019 16:04:54 +0800 + +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/control b/control new file mode 100644 index 0000000..bb5871a --- /dev/null +++ b/control @@ -0,0 +1,108 @@ +Source: libgpiod +Section: misc +Priority: optional +Maintainer: SZ Lin (林上智) +Build-Depends: debhelper-compat (= 13), + autoconf-archive, + automake, + dh-sequence-python3 , + help2man, + pkg-config, + m4, + python3-dev , + python3-setuptools +Standards-Version: 4.5.0 +Rules-Requires-Root: no +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 +Multi-Arch: same +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 +Multi-Arch: foreign +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 +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 +Multi-Arch: foreign +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 +Build-Profiles: +Section: python +Architecture: linux-any +Multi-Arch: same +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..62537d2 --- /dev/null +++ b/copyright @@ -0,0 +1,60 @@ +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: autostuff/config.sub + autostuff/config.guess +Copyright: 1992-2018 Free Software Foundation, Inc. +License: GPL-3.0+ with autoconf exception + +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'. + +License: GPL-3.0+ with autoconf exception + This file 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 3 of the License, or + (at your option) any later version. + . + 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. + . + You should have received a copy of the GNU General Public License + along with this program; if not, see . + . + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a + configuration script generated by Autoconf, you may include it under + the same distribution terms that you use for the rest of that + program. This Exception is an additional permission under section 7 + of the GNU General Public License, version 3 ("GPLv3"). + . + On Debian systems, the complete text of the GNU General Public License + Version 3 can be found in `/usr/share/common-licenses/GPL-3'. 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/gpiod.manpages b/gpiod.manpages new file mode 100644 index 0000000..5ed5bcf --- /dev/null +++ b/gpiod.manpages @@ -0,0 +1 @@ +usr/share/man/man1/*.1 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..5e2c843 --- /dev/null +++ b/libgpiod2.symbols @@ -0,0 +1,240 @@ +libgpiod.so.2 libgpiod2 #MINVER# +* Build-Depends-Package: libgpiod-dev + 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_ext@Base 1.5.1 + gpiod_ctxless_event_monitor_multiple@Base 1.2 + gpiod_ctxless_event_monitor_multiple_ext@Base 1.5.1 + gpiod_ctxless_find_line@Base 1.1 + gpiod_ctxless_get_value@Base 1.1 + gpiod_ctxless_get_value_ext@Base 1.5.1 + gpiod_ctxless_get_value_multiple@Base 1.1 + gpiod_ctxless_get_value_multiple_ext@Base 1.5.1 + gpiod_ctxless_set_value@Base 1.1 + gpiod_ctxless_set_value_ext@Base 1.5.1 + gpiod_ctxless_set_value_multiple@Base 1.1 + gpiod_ctxless_set_value_multiple_ext@Base 1.5.1 + gpiod_line_active_state@Base 1.1 + gpiod_line_bias@Base 1.5.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_read_fd_multiple@Base 1.5.1 + gpiod_line_event_read_multiple@Base 1.5.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_config@Base 1.5.1 + gpiod_line_set_config_bulk@Base 1.5.1 + gpiod_line_set_direction_input@Base 1.5.1 + gpiod_line_set_direction_input_bulk@Base 1.5.1 + gpiod_line_set_direction_output@Base 1.5.1 + gpiod_line_set_direction_output_bulk@Base 1.5.1 + gpiod_line_set_flags@Base 1.5.1 + gpiod_line_set_flags_bulk@Base 1.5.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::line_request::FLAG_BIAS_DISABLE@Base" 1.5.1 + (c++)"gpiod::line_request::FLAG_BIAS_PULL_UP@Base" 1.5.1 + (c++)"gpiod::line_request::FLAG_BIAS_PULL_DOWN@Base" 1.5.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++|arch-bits=64)"gpiod::line::set_config(int, std::bitset<32ul>, int) const@Base" 1.5.1 + (c++|arch-bits=32)"gpiod::line::set_config(int, std::bitset<32u>, int) const@Base" 1.5.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::event_read_multiple() const@Base" 1.5.1 + (c++)"gpiod::line::set_direction_input() const@Base" 1.5.1 + (c++)"gpiod::line::set_direction_output(int) const@Base" 1.5.1 + (c++)"gpiod::line::bias() const@Base" 1.5.1 + (c++)"gpiod::line::name[abi:cxx11]() const@Base" 1.1 + (c++)"gpiod::line::offset() const@Base" 1.1 + (c++)"gpiod::line::update() const@Base" 1.5.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++|arch-bits=64)"gpiod::line::set_flags(std::bitset<32ul>) const@Base" 1.5.1 + (c++|arch-bits=32)"gpiod::line::set_flags(std::bitset<32u>) const@Base" 1.5.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++|arch-bits=64)"gpiod::line_bulk::set_config(int, std::bitset<32ul>, std::vector >) const@Base" 1.5.1 + (c++|arch-bits=32)"gpiod::line_bulk::set_config(int, std::bitset<32u>, std::vector >) const@Base" 1.5.1 + (c++)"gpiod::line_bulk::set_values(std::vector > const&) const@Base" 1.1 + (c++)"gpiod::line_bulk::set_direction_input() const@Base" 1.5.1 + (c++)"gpiod::line_bulk::set_direction_output(std::vector > const&) const@Base" 1.5.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++|arch-bits=64)"gpiod::line_bulk::set_flags(std::bitset<32ul>) const@Base" 1.5.1 + (c++|arch-bits=32)"gpiod::line_bulk::set_flags(std::bitset<32u>) const@Base" 1.5.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++|arch= !armel !riscv64)"std::_Sp_counted_ptr::_M_dispose()@Base" 1.1 + (c++|arch= !armel !riscv64)"std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_destroy()@Base" 1.1 + (c++)"std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release()@Base" 1.4.1 + (c++)"std::map, std::allocator > >::~map()@Base" 1.1 + (c++)"std::map, std::allocator > >::~map()@Base" 1.1 + (c++|optional|arch-bits=64)"std::vector >::_M_default_append(unsigned long)@Base" 1.1 + (c++|optional|arch-bits=32)"std::vector >::_M_default_append(unsigned int)@Base" 1.5.1 + (c++|optional)"void std::__cxx11::basic_string, std::allocator >::_M_construct(char const*, char const*, std::forward_iterator_tag)@Base" 1.1 + (c++|optional)"std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::_M_get_insert_unique_pos(int const&)@Base" 1.1 + (c++|arch=amd64 arm64 ppc64el mips64el 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++|arch= !armel !riscv64)"typeinfo for std::_Mutex_base<(__gnu_cxx::_Lock_policy)2>@Base" 1.1 + (c++|arch= !armel !riscv64)"typeinfo for std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>@Base" 1.1 + (c++|arch= !armel !riscv64)"typeinfo name for std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>@Base" 1.4 + (c++|arch= !armel !riscv64)"typeinfo name for std::_Mutex_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= amd64 arm64 s390x)"typeinfo name for std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>@Base" 1.3 + (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 + (c++|arch= i386 armel mipsel armhf s390x)"std::map, std::allocator > >::map(std::initializer_list >, std::less const&, std::allocator > const&)@Base" 1.3 + (c++|arch= !armel !riscv64)"std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release()@Base" 1.4.1 + (c++|arch= !armel !riscv64)"typeinfo name for std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>@Base" 1.4.1 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..71651da --- /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 + +%: +ifeq ($(filter nopython,$(DEB_BUILD_PROFILES)),) + dh $@ --with python3 --exclude=.la +else + dh $@ --exclude=.la +endif + +override_dh_auto_configure: + dh_auto_configure -- \ + --enable-tools=yes \ + --$(if $(filter nopython,$(DEB_BUILD_PROFILES)),dis,en)able-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/salsa-ci.yml b/salsa-ci.yml new file mode 100644 index 0000000..892f3cd --- /dev/null +++ b/salsa-ci.yml @@ -0,0 +1,3 @@ +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml 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..e5db649 --- /dev/null +++ b/watch @@ -0,0 +1,4 @@ +version=4 + opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)\d*)$/$1~$2/,dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$// \ + https://mirrors.edge.kernel.org/pub/software/libs/libgpiod/\ + libgpiod-(.+)\.tar\.(?:xz|gz) -- 2.30.2