Import pigpio_1.78-1.1.debian.tar.xz
authorBenjamin Drung <bdrung@debian.org>
Thu, 29 Feb 2024 20:51:34 +0000 (20:51 +0000)
committerBenjamin Drung <bdrung@debian.org>
Thu, 29 Feb 2024 20:51:34 +0000 (20:51 +0000)
[dgit import tarball pigpio 1.78-1.1 pigpio_1.78-1.1.debian.tar.xz]

21 files changed:
changelog [new file with mode: 0644]
compat [new file with mode: 0644]
control [new file with mode: 0644]
copyright [new file with mode: 0644]
docs [new file with mode: 0644]
libpigpiod-if-dev.install [new file with mode: 0644]
libpigpiod-if-dev.manpages [new file with mode: 0644]
libpigpiod-if1t64.install [new file with mode: 0644]
libpigpiod-if1t64.lintian-overrides [new file with mode: 0644]
libpigpiod-if2-1t64.install [new file with mode: 0644]
libpigpiod-if2-1t64.lintian-overrides [new file with mode: 0644]
patches/09-filelayout.patch [new file with mode: 0644]
patches/fix-detection-of-whether-or-not-the-syst.patch [new file with mode: 0644]
patches/remove-broken-comments-from-top-of-manpa.patch [new file with mode: 0644]
patches/series [new file with mode: 0644]
pigpio-tools.install [new file with mode: 0644]
pigpio-tools.manpages [new file with mode: 0644]
pigpiod.service [new file with mode: 0644]
python3-pigpio.install [new file with mode: 0644]
rules [new file with mode: 0755]
source/format [new file with mode: 0644]

diff --git a/changelog b/changelog
new file mode 100644 (file)
index 0000000..43ed0c3
--- /dev/null
+++ b/changelog
@@ -0,0 +1,78 @@
+pigpio (1.78-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1063256
+
+ -- Benjamin Drung <bdrung@debian.org>  Thu, 29 Feb 2024 20:51:34 +0000
+
+pigpio (1.78-1) unstable; urgency=medium
+
+  * New upstream release.
+    + adds pi4 support (though server is currently disabled in Debian package)
+
+ -- Peter Michael Green <plugwash@debian.org>  Thu, 28 Jan 2021 19:08:40 +0000
+
+pigpio (1.68-4) unstable; urgency=medium
+
+  * Remove python 2 support (Closes: 937289).
+    + Drop python-pigpio package.
+    + Update control and rules.
+
+ -- Peter Michael Green <plugwash@debian.org>  Fri, 30 Aug 2019 20:31:21 +0000
+
+pigpio (1.68-3) unstable; urgency=medium
+
+  * Fix short description for libpigpiod-if-dev package.
+  * Remove systemd stuff in debian/rules, since we don't ship the server.
+  * Fix some screwups in 64-bit patch where PRIX64 was used where PRIXPTR should have been used.
+  * Enable parallel building (Closes: 920142)
+
+ -- Peter Michael Green <plugwash@debian.org>  Thu, 24 Jan 2019 13:25:48 +0000
+
+pigpio (1.68-2) unstable; urgency=medium
+
+  * Put packages into more appropriate sections.
+  * Add dependencies on library packages to dev packages.
+  * Add conflicts with old Raspberry pi foundatoin pigpio packages.
+
+ -- Peter Michael Green <plugwash@debian.org>  Tue, 15 Jan 2019 23:01:01 +0000
+
+pigpio (1.68-1) unstable; urgency=medium
+
+  * Initial upload to Debian (Closes: 908787).
+  * Update debian/copyright with far more detail.
+  * Package only client stuff for now, the server stuff is incompatible with
+    Debian kernels.
+  * Update to upstream release 68
+  * Apply upstream fixes since release 68
+    + Make DESTDIR work correctly.
+    + Make "make uninstall" uninstall all man pages.
+    + Add soversion to shared libraries.
+  * Apply patches to add raspberry pi detection and make code build on
+    64-bit without warnings.
+  * Split packaging to comply with Debian policy.
+  * Update standards version to 4.2.0
+  * Build-depend on debhelper (>= 9.20160709) instead of dh-systemd
+  * Remove ancient python version fields.
+  * Install manpages correctly
+  * Remove broken comments from top of manpages.
+
+ -- Peter Michael Green <plugwash@debian.org>  Thu, 10 Jan 2019 12:31:08 +0000
+
+pigpio (1.64-1) stretch; urgency=medium
+
+  * Upstream release V64
+
+ -- Serge Schneider <serge@raspberrypi.org>  Mon, 11 Sep 2017 17:44:03 +0100
+
+pigpio (1.60-1) jessie; urgency=medium
+
+  * Upstream release V60
+
+ -- Serge Schneider <serge@raspberrypi.org>  Thu, 12 Jan 2017 14:35:43 +0000
+
+pigpio (1.30-1) jessie; urgency=medium
+
+  * Initial release
+
+ -- Serge Schneider <serge@raspberrypi.org>  Wed, 13 Apr 2016 12:15:37 +0100
diff --git a/compat b/compat
new file mode 100644 (file)
index 0000000..ec63514
--- /dev/null
+++ b/compat
@@ -0,0 +1 @@
+9
diff --git a/control b/control
new file mode 100644 (file)
index 0000000..5d18a7a
--- /dev/null
+++ b/control
@@ -0,0 +1,74 @@
+Source: pigpio
+Section: utils
+Priority: optional
+Maintainer: Peter Michael Green <plugwash@debian.org>
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper (>= 9.20160709), dh-python,
+  python3-all, python3-setuptools
+Standards-Version: 4.2.0
+Homepage: http://abyz.co.uk/rpi/pigpio/
+
+Package: libpigpiod-if2-1t64
+Provides: ${t64:Provides}
+Replaces: libpigpiod-if2-1
+Breaks: libpigpiod-if2-1 (<< ${source:Version})
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Conflicts: pigpio (<< 1.68-1)
+Description: Client library for Raspberry Pi GPIO control
+ Pigpio is a set of software which allows control of the General Purpose Input
+ Outputs (GPIO) locally or remotely. Currently only the client side is Packaged
+ in Debian as the server side is incompatible with Debian kernels.
+ .
+ This package provides the libpigpiod_if2 client library
+
+Package: libpigpiod-if1t64
+Provides: ${t64:Provides}
+Replaces: libpigpiod-if1
+Breaks: libpigpiod-if1 (<< ${source:Version})
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Conflicts: pigpio (<< 1.68-1)
+Description: Client library for Raspberry Pi GPIO control (deprecated)
+ Pigpio is a set of software which allows control of the General Purpose Input
+ Outputs (GPIO) locally or remotely. Currently only the client side is Packaged
+ in Debian as the server side is incompatible with Debian kernels.
+ .
+ This package provides the deprecated libpigpiod_if client library
+
+Package: libpigpiod-if-dev
+Architecture: any
+Section: libdevel
+Depends: ${shlibs:Depends}, ${misc:Depends}, libpigpiod-if1t64 (= ${binary:Version}), libpigpiod-if2-1t64 (= ${binary:Version})
+Conflicts: pigpio (<< 1.68-1)
+Description: Development headers for client libraries for Raspberry Pi GPIO control
+ Pigpio is a set of software which allows control of the General Purpose Input
+ Outputs (GPIO) locally or remotely. Currently only the client side is Packaged
+ in Debian as the server side is incompatible with Debian kernels.
+ .
+ This package provides development headers for the libpigpiod_if2 and
+ libpigpiod_if client libraries.
+
+Package: pigpio-tools
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Conflicts: pigpio (<< 1.68-1)
+Description: Client tools for Raspberry Pi GPIO control
+ Pigpio is a set of software which allows control of the General Purpose Input
+ Outputs (GPIO) locally or remotely. Currently only the client side is Packaged
+ in Debian as the server side is incompatible with Debian kernels.
+ .
+ This package provides the pigs and pig2vcd tools.
+
+Package: python3-pigpio
+Section: python
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Recommends: pigpio
+Description: Python module which talks to the pigpio daemon (Python 3)
+ Pigpio is a set of software which allows control of the General Purpose Input
+ Outputs (GPIO) locally or remotely. Currently only the client side is Packaged
+ in Debian as the server side is incompatible with Debian kernels.
+ .
+ This package provides the python 3 client library.
diff --git a/copyright b/copyright
new file mode 100644 (file)
index 0000000..973bea4
--- /dev/null
+++ b/copyright
@@ -0,0 +1,42 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pigpio
+Source: http://abyz.co.uk/rpi/pigpio/
+
+Files: *
+Copyright: 2013-2018 Joan <joan@abyz.co.uk>, Björn Schrader, Joey Parrish, Gergely Budai, Damien DALY, Alexander Schaefer, TheRaspyDev, Stephen Lyons, Eric Sorton, Dan Brown, Guy McSwain, Mathias Lüdtke, Floris Bos, Jason Diamond, maihde, Damien Stuart, Ben Nuttall, Peter Green
+License: unlicense
+
+Files: util/pigpiod.service
+Copyright: 2017 Alexandre Bury, 2018 Joan <joan@abyz.co.uk>
+License: unlicense
+
+Files: CMakeLists.txt
+Copyright: 2018 Matthew Webb
+License: unlicense
+
+
+License: unlicense
+ This is free and unencumbered software released into the public domain.
+ .
+ Anyone is free to copy, modify, publish, use, compile, sell, or
+ distribute this software, either in source code form or as a compiled
+ binary, for any purpose, commercial or non-commercial, and by any
+ means.
+ .
+ In jurisdictions that recognize copyright laws, the author or authors
+ of this software dedicate any and all copyright interest in the
+ software to the public domain. We make this dedication for the benefit
+ of the public at large and to the detriment of our heirs and
+ successors. We intend this dedication to be an overt act of
+ relinquishment in perpetuity of all present and future rights to this
+ software under copyright law.
+ .
+ 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 AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ OTHER DEALINGS IN THE SOFTWARE.
+ .
+ For more information, please refer to <http://unlicense.org/>
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/libpigpiod-if-dev.install b/libpigpiod-if-dev.install
new file mode 100644 (file)
index 0000000..492ced3
--- /dev/null
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/libpigpiod_if*.so
+debian/tmp/usr/include/pigpiod_if*.h
diff --git a/libpigpiod-if-dev.manpages b/libpigpiod-if-dev.manpages
new file mode 100644 (file)
index 0000000..02e9703
--- /dev/null
@@ -0,0 +1,2 @@
+debian/tmp/usr/man/man3/pigpiod_if.3
+debian/tmp/usr/man/man3/pigpiod_if2.3
diff --git a/libpigpiod-if1t64.install b/libpigpiod-if1t64.install
new file mode 100644 (file)
index 0000000..c3a01e7
--- /dev/null
@@ -0,0 +1 @@
+debian/tmp/usr/lib/libpigpiod_if.so.1
diff --git a/libpigpiod-if1t64.lintian-overrides b/libpigpiod-if1t64.lintian-overrides
new file mode 100644 (file)
index 0000000..cd1ba8d
--- /dev/null
@@ -0,0 +1 @@
+libpigpiod-if1t64: package-name-doesnt-match-sonames libpigpiod-if1
diff --git a/libpigpiod-if2-1t64.install b/libpigpiod-if2-1t64.install
new file mode 100644 (file)
index 0000000..68016b5
--- /dev/null
@@ -0,0 +1 @@
+debian/tmp/usr/lib/libpigpiod_if2.so.1
diff --git a/libpigpiod-if2-1t64.lintian-overrides b/libpigpiod-if2-1t64.lintian-overrides
new file mode 100644 (file)
index 0000000..884f1f9
--- /dev/null
@@ -0,0 +1 @@
+libpigpiod-if2-1t64: package-name-doesnt-match-sonames libpigpiod-if2-1
diff --git a/patches/09-filelayout.patch b/patches/09-filelayout.patch
new file mode 100644 (file)
index 0000000..1256496
--- /dev/null
@@ -0,0 +1,20 @@
+--- a/Makefile
++++ b/Makefile
+@@ -31,7 +31,7 @@
+ LL3      = -L. -lpigpiod_if2 -pthread -lrt
+-prefix = /usr/local
++prefix = /usr
+ exec_prefix = $(prefix)
+ bindir = $(exec_prefix)/bin
+ includedir = $(prefix)/include
+@@ -83,7 +83,7 @@ clean:
+ ifeq ($(DESTDIR),)
+   PYINSTALLARGS =
+ else
+-  PYINSTALLARGS = --root=$(DESTDIR)
++  PYINSTALLARGS = --install-layout=deb --root=$(DESTDIR)
+ endif
+ install:      $(ALL)
diff --git a/patches/fix-detection-of-whether-or-not-the-syst.patch b/patches/fix-detection-of-whether-or-not-the-syst.patch
new file mode 100644 (file)
index 0000000..d8b5391
--- /dev/null
@@ -0,0 +1,19 @@
+From: Peter Michael Green <plugwash@debian.org>
+Date: Thu, 28 Jan 2021 20:18:56 +0000
+X-Dgit-Generated: 1.78-1 f44ff825f6955d6531b13ed21ac44a3e17aeb192
+Subject: Fix detection of whether or not the system is a raspberry pi.
+
+
+---
+
+--- pigpio-1.78.orig/pigpio.c
++++ pigpio-1.78/pigpio.c
+@@ -13754,7 +13754,7 @@ unsigned gpioHardwareRevision(void)
+    if ((rev & 0x800000) == 0) /* old rev code */
+    {
+-      if (rev < 0x0016) /* all BCM2835 */
++      if ((rev > 0) && (rev < 0x0016)) /* all BCM2835 */
+       {
+          pi_ispi = 1;
+          piCores = 1;
diff --git a/patches/remove-broken-comments-from-top-of-manpa.patch b/patches/remove-broken-comments-from-top-of-manpa.patch
new file mode 100644 (file)
index 0000000..72ab3e7
--- /dev/null
@@ -0,0 +1,48 @@
+From: Peter Michael Green <plugwash@debian.org>
+Date: Thu, 10 Jan 2019 15:14:35 +0000
+X-Dgit-Generated: 1.68-1 62ec7220f74092d1ccfa9b156f09c5a2bcd5b50e
+Subject: Remove broken comments from top of manpages.
+
+
+---
+
+--- pigpio-1.68.orig/pig2vcd.1
++++ pigpio-1.68/pig2vcd.1
+@@ -1,7 +1,4 @@
+-." Process this file with
+-." groff -man -Tascii pig2vcd.1
+-."
+ .TH pig2vcd 1 2012-2020 Linux "pigpio archive"
+ .SH NAME
+ pig2vd - A utility to convert pigpio notifications to VCD.
+--- pigpio-1.68.orig/pigpiod_if.3
++++ pigpio-1.68/pigpiod_if.3
+@@ -1,7 +1,4 @@
+-." Process this file with
+-." groff -man -Tascii pigpiod_if.3
+-."
+ .TH pigpiod_if 3 2012-2020 Linux "pigpio archive"
+ .SH NAME
+ pigpiod_if - A C library to interface to the pigpio daemon.
+--- pigpio-1.68.orig/pigpiod_if2.3
++++ pigpio-1.68/pigpiod_if2.3
+@@ -1,7 +1,4 @@
+-." Process this file with
+-." groff -man -Tascii pigpiod_if2.3
+-."
+ .TH pigpiod_if2 3 2012-2020 Linux "pigpio archive"
+ .SH NAME
+ pigpiod_if2 - A C library to interface to the pigpio daemon.
+--- pigpio-1.68.orig/pigs.1
++++ pigpio-1.68/pigs.1
+@@ -1,7 +1,4 @@
+-." Process this file with
+-." groff -man -Tascii foo.1
+-."
+ .TH pigs 1 2012-2020 Linux "pigpio archive"
+ .SH NAME
+ pigs - command line socket access to the pigpio daemon.
diff --git a/patches/series b/patches/series
new file mode 100644 (file)
index 0000000..f87b5d9
--- /dev/null
@@ -0,0 +1,3 @@
+09-filelayout.patch
+remove-broken-comments-from-top-of-manpa.patch
+fix-detection-of-whether-or-not-the-syst.patch
diff --git a/pigpio-tools.install b/pigpio-tools.install
new file mode 100644 (file)
index 0000000..0fa5a22
--- /dev/null
@@ -0,0 +1,2 @@
+debian/tmp/usr/bin/pig2vcd
+debian/tmp/usr/bin/pigs
diff --git a/pigpio-tools.manpages b/pigpio-tools.manpages
new file mode 100644 (file)
index 0000000..cdcac83
--- /dev/null
@@ -0,0 +1,2 @@
+debian/tmp/usr/man/man1/pigs.1
+debian/tmp/usr/man/man1/pig2vcd.1
diff --git a/pigpiod.service b/pigpiod.service
new file mode 100644 (file)
index 0000000..3039e3e
--- /dev/null
@@ -0,0 +1,8 @@
+[Unit]
+Description=Daemon required to control GPIO pins via pigpio
+[Service]
+ExecStart=/usr/bin/pigpiod -l
+ExecStop=/bin/systemctl kill pigpiod
+Type=forking
+[Install]
+WantedBy=multi-user.target
diff --git a/python3-pigpio.install b/python3-pigpio.install
new file mode 100644 (file)
index 0000000..41b3092
--- /dev/null
@@ -0,0 +1 @@
+debian/tmp/usr/lib/python3
diff --git a/rules b/rules
new file mode 100755 (executable)
index 0000000..b95412f
--- /dev/null
+++ b/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+DPKG_EXPORT_BUILDFLAGS = 1
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+export DEB_CFLAGS_MAINT_APPEND = -Wno-format-security
+
+%:
+       dh $@ --with python3 --parallel
+
+override_dh_clean:
+       rm -rf build
+       dh_clean
+
diff --git a/source/format b/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)