Import libgpiod_1.6.2-1.debian.tar.xz
authorSZ Lin (林上智) <szlin@debian.org>
Mon, 14 Dec 2020 07:34:58 +0000 (07:34 +0000)
committerSZ Lin (林上智) <szlin@debian.org>
Mon, 14 Dec 2020 07:34:58 +0000 (07:34 +0000)
[dgit import tarball libgpiod 1.6.2-1 libgpiod_1.6.2-1.debian.tar.xz]

20 files changed:
changelog [new file with mode: 0644]
control [new file with mode: 0644]
copyright [new file with mode: 0644]
docs [new file with mode: 0644]
gpiod.install [new file with mode: 0644]
gpiod.manpages [new file with mode: 0644]
libgpiod-dev.install [new file with mode: 0644]
libgpiod-doc.doc-base [new file with mode: 0644]
libgpiod-doc.docs [new file with mode: 0644]
libgpiod2.install [new file with mode: 0644]
libgpiod2.symbols [new file with mode: 0644]
patches/Don-t-run-help2man-during-cross-builds-and-use-pre-genera.patch [new file with mode: 0644]
patches/series [new file with mode: 0644]
python3-libgpiod.examples [new file with mode: 0644]
python3-libgpiod.install [new file with mode: 0644]
rules [new file with mode: 0755]
salsa-ci.yml [new file with mode: 0644]
source/format [new file with mode: 0644]
upstream/metadata [new file with mode: 0644]
watch [new file with mode: 0644]

diff --git a/changelog b/changelog
new file mode 100644 (file)
index 0000000..be1afdb
--- /dev/null
+++ b/changelog
@@ -0,0 +1,237 @@
+libgpiod (1.6.2-1) unstable; urgency=medium
+
+  * Import new upstream release
+  * d/control:
+    - Set Build-Depends: linux-libc-dev (>= 4.8), the new version of libgpiod
+      allows building the library with pre Linux v5.5 kernel headers.
+    - Bump Standards-Version to 4.5.1
+
+ -- SZ Lin (林上智) <szlin@debian.org>  Mon, 14 Dec 2020 15:34:58 +0800
+
+libgpiod (1.6.1-2) unstable; urgency=medium
+
+  * Tweak the patch to fix FTCBFS - Thanks to Helmut Grohne
+    <helmut.grohne@intenta.de> (Closes: #972488)
+
+ -- SZ Lin (林上智) <szlin@debian.org>  Tue, 10 Nov 2020 15:07:26 +0800
+
+libgpiod (1.6.1-1) unstable; urgency=medium
+
+  * Import new upstream release
+  * Fix event timestamp calculation for 32bit (Closes: #972263)
+  * Add missing Build-Depends: linux-libc-dev (Closes: #972489)
+  * Fix FTCBFS - Thanks to Helmut Grohne <helmut.grohne@intenta.de>
+    (Closes: #972488)
+    - Multiarchify python Build-Depends.
+    - Install pre-built manpages during cross builds.
+
+ -- SZ Lin (林上智) <szlin@debian.org>  Wed, 04 Nov 2020 15:48:20 +0800
+
+libgpiod (1.5.2-1) unstable; urgency=medium
+
+  * Import new upstream release
+
+ -- SZ Lin (林上智) <szlin@debian.org>  Thu, 03 Sep 2020 11:26:10 +0800
+
+libgpiod (1.5.1-2) unstable; urgency=medium
+
+  * Fix symbol mismatches - Thanks to Gianfranco Costamagna
+    <locutusofborg@debian.org> (Closes:#966654, #966964)
+
+ -- SZ Lin (林上智) <szlin@debian.org>  Fri, 14 Aug 2020 14:41:33 +0800
+
+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 (林上智) <szlin@debian.org>  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
+    <locutusofborg@debian.org> (Closes: #949958)
+  * Add Multi-Arch attribute - Thanks to Helmut Grohne <helmut@subdivi.de>
+    (Closes: #951196)
+  * Support nopython build profile to avoid FTFBS issue - This patch was
+    tweaked from Helmut Grohne <helmut@subdivi.de>. 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 (林上智) <szlin@debian.org>  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 <locutusofborg@debian.org> (Closes: #939304)
+
+ -- SZ Lin (林上智) <szlin@debian.org>  Tue, 10 Sep 2019 17:02:05 +0800
+
+libgpiod (1.4.1-2) unstable; urgency=medium
+
+  * Fix FTBFS in armel
+
+ -- SZ Lin (林上智) <szlin@debian.org>  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 (林上智) <szlin@debian.org>  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 (林上智) <szlin@debian.org>  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 (林上智) <szlin@debian.org>  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 (林上智) <szlin@debian.org>  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 (林上智) <szlin@debian.org>  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 (林上智) <szlin@debian.org>  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 (林上智) <szlin@debian.org>  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 (林上智) <szlin@debian.org>  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 (林上智) <szlin@debian.org>  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 (林上智) <szlin@debian.org>  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 (林上智) <szlin@debian.org>  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 (林上智) <szlin@debian.org>  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 (林上智) <szlin@debian.org>  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 (林上智) <szlin@debian.org>  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 (林上智) <szlin@debian.org>  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 (林上智) <szlin@debian.org>  Sat, 18 Nov 2017 12:19:13 +0800
+
+libgpiod (0.3.2-1) UNRELEASED; urgency=medium
+
+  * Initial release
+
+ -- SZ Lin (林上智) <szlin@debian.org>  Wed, 15 Nov 2017 10:01:32 +0800
diff --git a/control b/control
new file mode 100644 (file)
index 0000000..eda94d1
--- /dev/null
+++ b/control
@@ -0,0 +1,110 @@
+Source: libgpiod
+Section: misc
+Priority: optional
+Maintainer: SZ Lin (林上智) <szlin@debian.org>
+Build-Depends: debhelper-compat (= 13),
+               autoconf-archive,
+               automake,
+               dh-sequence-python3 <!nopython>,
+               help2man <!cross>,
+               pkg-config,
+               m4,
+               python3-dev:any <!nopython>,
+               libpython3-dev <!nopython>,
+               python3-setuptools <!nopython>,
+               linux-libc-dev (>= 4.8)
+Standards-Version: 4.5.1
+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: <!nopython>
+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 (file)
index 0000000..902b874
--- /dev/null
+++ b/copyright
@@ -0,0 +1,150 @@
+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-2020, by Bartosz Golaszewski <bartekgola@gmail.com>
+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:     autostuff/missing
+           autostuff/ar-lib
+           autostuff/depcomp
+           autostuff/compile
+Copyright: 1996-2018 Free Software Foundation, Inc.
+License:   GPL-2.0+ with autoconf exception
+
+Files:     autostuff/ltmain.sh
+Copyright: 1996-2015 Free Software Foundation, Inc.
+License:   GPL-2.0+ with libtool exception
+
+Files:     autostuff/install-sh
+Copyright: 1994 X Consortium
+License:   Expat
+
+Files: debian/*
+Copyright: 2017-2020 SZ Lin (林上智) <szlin@debian.org>
+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 <https://www.gnu.org/licenses/>.
+ .
+ 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'.
+
+License:   GPL-2.0+ with autoconf exception
+ This program 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, 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 <http://www.gnu.org/licenses/>.
+ .
+ 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.
+ .
+ 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:   GPL-2.0+ with libtool exception
+ This is free software; see the source for copying conditions.  There is NO
+ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ .
+ GNU Libtool 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.
+ .
+ As a special exception to the GNU General Public License,
+ if you distribute this file as part of a program or library that
+ is built using GNU Libtool, you may include this file under the
+ same distribution terms that you use for the rest of that program.
+ .
+ GNU Libtool 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 GNU Libtool; see the file COPYING.  If not, a copy
+ can be downloaded from http://www.gnu.org/licenses/gpl.html,
+ or obtained by writing 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 General Public License
+ Version 2 can be found in `/usr/share/common-licenses/GPL-2'.
+
+License:   Expat
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to
+ deal in the Software without restriction, including without limitation the
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+ sell copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
+ X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
+ TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ .
+ Except as contained in this notice, the name of the X Consortium shall not
+ be used in advertising or otherwise to promote the sale, use or other deal-
+ ings in this Software without prior written authorization from the X Consor-
+ tium.
+ .
+ FSF changes to this file are in the public domain.
diff --git a/docs b/docs
new file mode 100644 (file)
index 0000000..e845566
--- /dev/null
+++ b/docs
@@ -0,0 +1 @@
+README
diff --git a/gpiod.install b/gpiod.install
new file mode 100644 (file)
index 0000000..b133d19
--- /dev/null
@@ -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 (file)
index 0000000..5ed5bcf
--- /dev/null
@@ -0,0 +1 @@
+usr/share/man/man1/*.1
diff --git a/libgpiod-dev.install b/libgpiod-dev.install
new file mode 100644 (file)
index 0000000..44240df
--- /dev/null
@@ -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 (file)
index 0000000..358bd82
--- /dev/null
@@ -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 (file)
index 0000000..0bd3136
--- /dev/null
@@ -0,0 +1 @@
+doc/html
diff --git a/libgpiod2.install b/libgpiod2.install
new file mode 100644 (file)
index 0000000..1ce4d28
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/*/libgpiod*.so.*
diff --git a/libgpiod2.symbols b/libgpiod2.symbols
new file mode 100644 (file)
index 0000000..0a2052b
--- /dev/null
@@ -0,0 +1,242 @@
+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++|optional)"std::_Function_base::~_Function_base()@Base" 1.5.1
+ (c++|optional)"std::_Function_base::~_Function_base()@Base" 1.5.1
+ (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<char, std::char_traits<char>, std::allocator<char> > const&, int)@Base" 1.1
+ (c++)"gpiod::chip::reset()@Base" 1.1
+ (c++)"gpiod::chip::chip(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)@Base" 1.1
+ (c++)"gpiod::chip::chip(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > 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<char, std::char_traits<char>, std::allocator<char> > 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<gpiod::line, std::allocator<gpiod::line> > const&)@Base" 1.1
+ (c++)"gpiod::line_bulk::line_bulk(std::vector<gpiod::line, std::allocator<gpiod::line> > 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::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > 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<char, std::char_traits<char>, std::allocator<char> > const&) const@Base" 1.1
+ (c++)"gpiod::chip::get_lines(std::vector<unsigned int, std::allocator<unsigned int> > 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<long, std::ratio<1l, 1000000000l> > const&) const@Base" 1.1
+ (c++|arch-bits=32)"gpiod::line::event_wait(std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > 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<long, std::ratio<1l, 1000000000l> > const&) const@Base" 1.1
+ (c++|arch-bits=32)"gpiod::line_bulk::event_wait(std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > 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<int, std::allocator<int> >) const@Base" 1.5.1
+ (c++|arch-bits=32)"gpiod::line_bulk::set_config(int, std::bitset<32u>, std::vector<int, std::allocator<int> >) const@Base" 1.5.1
+ (c++)"gpiod::line_bulk::set_values(std::vector<int, std::allocator<int> > 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<int, std::allocator<int> > 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<int, std::allocator<int> >) 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<char, std::char_traits<char>, std::allocator<char> > 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<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 1.1
+ (c++|optional)"std::_Function_base::_Base_manager<gpiod_chip* (*)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation)@Base" 1.1
+ (c++|arch= !armel !riscv64)"std::_Sp_counted_ptr<decltype(nullptr), (__gnu_cxx::_Lock_policy)2>::_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<int, int, std::less<int>, std::allocator<std::pair<int const, int> > >::~map()@Base" 1.1
+ (c++)"std::map<int, int, std::less<int>, std::allocator<std::pair<int const, int> > >::~map()@Base" 1.1
+ (c++|optional|arch-bits=64)"std::vector<int, std::allocator<int> >::_M_default_append(unsigned long)@Base" 1.1
+ (c++|optional|arch-bits=32)"std::vector<int, std::allocator<int> >::_M_default_append(unsigned int)@Base" 1.5.1
+ (c++|optional)"void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*>(char const*, char const*, std::forward_iterator_tag)@Base" 1.1
+ (c++|optional)"std::_Rb_tree<int, std::pair<int const, int>, std::_Select1st<std::pair<int const, int> >, std::less<int>, std::allocator<std::pair<int const, int> > >::_M_get_insert_unique_pos(int const&)@Base" 1.1
+ (c++|optional|arch=amd64 arm64 ppc64el mips64el riscv64)"std::_Rb_tree<int, std::pair<int const, int>, std::_Select1st<std::pair<int const, int> >, std::less<int>, std::allocator<std::pair<int const, int> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<int const, int> >, int const&)@Base" 1.1
+ (c++|optional)"std::_Rb_tree<int, std::pair<int const, int>, std::_Select1st<std::pair<int const, int> >, std::less<int>, std::allocator<std::pair<int const, int> > >::_M_erase(std::_Rb_tree_node<std::pair<int const, int> >*)@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<decltype(nullptr), (__gnu_cxx::_Lock_policy)1>::_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++|optional|arch= i386 armel mipsel armhf s390x)"std::map<int, int, std::less<int>, std::allocator<std::pair<int const, int> > >::map(std::initializer_list<std::pair<int const, int> >, std::less<int> const&, std::allocator<std::pair<int const, int> > 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/patches/Don-t-run-help2man-during-cross-builds-and-use-pre-genera.patch b/patches/Don-t-run-help2man-during-cross-builds-and-use-pre-genera.patch
new file mode 100644 (file)
index 0000000..4b5167e
--- /dev/null
@@ -0,0 +1,41 @@
+From: =?utf-8?b?IlNaIExpbiAo5p6X5LiK5pm6KSI=?= <szlin@debian.org>
+Date: Mon, 9 Nov 2020 11:24:33 +0800
+Subject: Don't run help2man during cross builds and use pre-generated manual
+ pages instead - Thanks to Helmut Grohne <helmut.grohne@intenta.de>
+
+Forwarded: no
+---
+ configure.ac    | 2 +-
+ man/Makefile.am | 4 ++--
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index cd337ff..921b7c4 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -213,7 +213,7 @@ if test "x$cross_compiling" = xno
+ then
+       AC_CHECK_PROG([has_help2man], [help2man], [true], [false])
+ fi
+-AM_CONDITIONAL([WITH_MANPAGES], [test "x$has_help2man" = xtrue])
++AM_CONDITIONAL([WITH_HELP2MAN], [test "x$has_help2man" = xtrue])
+ if test "x$has_help2man" = xfalse
+ then
+       AC_MSG_NOTICE([help2man not found - man pages cannot be generated automatically])
+diff --git a/man/Makefile.am b/man/Makefile.am
+index 0f9c644..70a0f4f 100644
+--- a/man/Makefile.am
++++ b/man/Makefile.am
+@@ -6,10 +6,10 @@
+ # Copyright (C) 2019 Bartosz Golaszewski <bartekgola@gmail.com>
+ #
+-if WITH_MANPAGES
+-
+ dist_man1_MANS = gpiodetect.man gpioinfo.man gpioget.man gpioset.man gpiofind.man gpiomon.man
++if WITH_HELP2MAN
++
+ %.man: $(top_builddir)/tools/$(*F)
+       help2man $(top_builddir)/tools/$(*F) --include=$(srcdir)/template --output=$(builddir)/$@ --no-info
diff --git a/patches/series b/patches/series
new file mode 100644 (file)
index 0000000..aa239ff
--- /dev/null
@@ -0,0 +1 @@
+Don-t-run-help2man-during-cross-builds-and-use-pre-genera.patch
diff --git a/python3-libgpiod.examples b/python3-libgpiod.examples
new file mode 100644 (file)
index 0000000..f230bb5
--- /dev/null
@@ -0,0 +1 @@
+bindings/python/examples/*.py
diff --git a/python3-libgpiod.install b/python3-libgpiod.install
new file mode 100644 (file)
index 0000000..480d5d6
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/*/site-packages/gpiod.so
diff --git a/rules b/rules
new file mode 100755 (executable)
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 (file)
index 0000000..892f3cd
--- /dev/null
@@ -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 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/upstream/metadata b/upstream/metadata
new file mode 100644 (file)
index 0000000..e75df51
--- /dev/null
@@ -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 (file)
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)