Split packaging and don't package server stuff for now.
authorPeter Michael Green <plugwash@debian.org>
Thu, 10 Jan 2019 13:42:55 +0000 (13:42 +0000)
committerPeter Michael Green <plugwash@debian.org>
Thu, 10 Jan 2019 14:53:14 +0000 (14:53 +0000)
debian/control
debian/libpigpiod-if-dev.install [new file with mode: 0644]
debian/libpigpiod-if1.install [new file with mode: 0644]
debian/libpigpiod-if2-1.install [new file with mode: 0644]
debian/pigpio-tools.install [new file with mode: 0644]
debian/pigpio.install [deleted file]

index 3ef1bfb77feb64b89ff08c3c93f801884400d9f4..c258f9e38917faabfc418951af83e0c07c3fb86b 100644 (file)
@@ -1,7 +1,7 @@
 Source: pigpio
 Section: utils
 Priority: optional
-Maintainer: Serge Schneider <serge@raspberrypi.org>
+Maintainer: Peter Michael Green <plugwash@debian.org>
 Build-Depends: debhelper (>= 9), dh-python, python-all, python-setuptools,
   python3-all, python3-setuptools, dh-systemd
 Standards-Version: 4.2.0
@@ -9,16 +9,46 @@ Homepage: http://abyz.co.uk/rpi/pigpio/
 X-Python-Version: >= 2.6
 X-Python3-Version: >= 3.2
 
-Package: pigpio
+Package: libpigpiod-if2-1
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Library for Raspberry Pi GPIO control
-  Library for the Raspberry which allows control of the General Purpose Input
-  Outputs (GPIO).
-  .
-  pigpio is written in C but may be used by other languages.
-  In particular the pigpio daemon offers a socket and pipe interface to the
-  underlying library.
+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-if1
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+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
+Depends: ${shlibs:Depends}, ${misc:Depends}
+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 development headers for the libpigpiod_if2 and
+ libpigpiod_if client libraries.
+
+Package: pigpio-tools
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+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: python-pigpio
 Section: python
@@ -26,8 +56,11 @@ Architecture: all
 Depends: ${misc:Depends}, ${python:Depends}
 Recommends: pigpio
 Description: Python module which talks to the pigpio daemon (Python 2)
-  Library for the Raspberry which allows control of the General Purpose Input
-  Outputs (GPIO).
+ 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 2 client library.
 
 Package: python3-pigpio
 Section: python
@@ -35,5 +68,8 @@ Architecture: all
 Depends: ${misc:Depends}, ${python3:Depends}
 Recommends: pigpio
 Description: Python module which talks to the pigpio daemon (Python 3)
-  Library for the Raspberry which allows control of the General Purpose Input
-  Outputs (GPIO).
+ 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/debian/libpigpiod-if-dev.install b/debian/libpigpiod-if-dev.install
new file mode 100644 (file)
index 0000000..9d2e291
--- /dev/null
@@ -0,0 +1,4 @@
+debian/tmp/usr/lib/libpigpiod_if*.so
+debian/tmp/usr/include/pigpiod_if*.h
+debian/tmp/usr/man/man3/pigpiod_if.3
+debian/tmp/usr/man/man3/pigpiod_if2.3
diff --git a/debian/libpigpiod-if1.install b/debian/libpigpiod-if1.install
new file mode 100644 (file)
index 0000000..9f7990d
--- /dev/null
@@ -0,0 +1 @@
+libpigpiod_if.so.1
diff --git a/debian/libpigpiod-if2-1.install b/debian/libpigpiod-if2-1.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/debian/pigpio-tools.install b/debian/pigpio-tools.install
new file mode 100644 (file)
index 0000000..8d65aeb
--- /dev/null
@@ -0,0 +1,4 @@
+debian/tmp/usr/man/man1/pigs.1
+debian/tmp/usr/man/man1/pig2vcd.1
+debian/tmp/usr/bin/pig2vcd
+debian/tmp/usr/bin/pigs
diff --git a/debian/pigpio.install b/debian/pigpio.install
deleted file mode 100644 (file)
index 6e8709d..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-debian/tmp/opt
-debian/tmp/usr/lib/*.so*
-debian/tmp/usr/include
-debian/tmp/usr/man
-debian/tmp/usr/bin