From: Peter Michael Green Date: Thu, 10 Jan 2019 13:42:55 +0000 (+0000) Subject: Split packaging and don't package server stuff for now. X-Git-Tag: archive/raspbian/1.68-2+rpi1~13 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2816906c1e279603ad9f9a7aa8508cac9ba2d2c8;p=pigpio.git Split packaging and don't package server stuff for now. --- diff --git a/debian/control b/debian/control index 3ef1bfb..c258f9e 100644 --- a/debian/control +++ b/debian/control @@ -1,7 +1,7 @@ Source: pigpio Section: utils Priority: optional -Maintainer: Serge Schneider +Maintainer: Peter Michael Green 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 index 0000000..9d2e291 --- /dev/null +++ b/debian/libpigpiod-if-dev.install @@ -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 index 0000000..9f7990d --- /dev/null +++ b/debian/libpigpiod-if1.install @@ -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 index 0000000..68016b5 --- /dev/null +++ b/debian/libpigpiod-if2-1.install @@ -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 index 0000000..8d65aeb --- /dev/null +++ b/debian/pigpio-tools.install @@ -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 index 6e8709d..0000000 --- a/debian/pigpio.install +++ /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