- Package:
- libpigpiod-if-dev
- Source:
- pigpio
- Description:
- Development headers for client libraries for Raspberry Pi GPIO control
- Submitter:
- "E.A. Heuveling"
- Date:
- 2023-11-27 13:42:03 UTC
- Severity:
- normal
The package 'libpigpiod-if-dev' should contain all the header files and object The file that is missing is 'pigpio.h' and 'pigpio.o' In the debian install file'https://sources.debian.org/src/pigpio/1.78-1/debian/libpigpiod-if-dev.install' the contents is: debian/tmp/usr/lib/libpigpiod_if*.sodebian/tmp/usr/include/pigpiod_if*.h but should be: debian/tmp/usr/lib/libpigpio.sodebian/tmp/usr/lib/libpigpiod_if*.sodebian/tmp/usr/include/pigpiod_if*.hdebian/tmp/usr/include/pigpio.h Also the Package: libpigpiod-if and libpigpiod-if2-1 Version: 1.68-3 Version: 1.78-1 These also need the libpigpio.so.1 -> libpigpio.so Otherwise the lib will not work.
Control: reassign -1 libpigpiod-if-dev 1.68-3 Fixing package name due to mangling of newlines. Kind regards, Andrei
> The package 'libpigpiod-if-dev' should contain all the header files and object No, it contains the header files and shared library symlinks for building against the libpigpio-if and libpigpio-if2 libraries. The server and direct access GPIO libraries are not packaged in Debian because they are not compatible with Debian kernels. In particular, pigpio relies on the userspace mainbox interface which is only present in downstream raspberry pi foundation kernels.
and object Peter, Actually, the 'libpigpiod-if-dev' is missing the pigpio.h header file. This is affecting all Debian OS systems along with Ubuntu. I am working on a project called Open Astro (https://www.openastro.net/) which uses Raspberry devices manufactured by ZWO called the ASIAIR used for AstroPhotography to capture the objects from the night sky. The devices offer 5v power ports that plug into the GPIO board and when compiling drivers created for INDI ( https://indilib.org/) they do not work as they require access to the pigpio.h file which is not included. The indi-asi-power driver requires the pigpiod_if2.h header file https://github.com/indilib/indi-3rdparty/blob/master/indi-asi-power/asipower.cpp#L25 And the pigpiod_if2.h header file requires the pigpio.h file which is not included in the 'libpigpiod-if-dev' https://github.com/joan2937/pigpio/blob/master/pigpiod_if2.h#L31 Would it be possible to update the 'libpigpiod-if-dev' with all the header files for Debian & Ubuntu from the current source library https:// github.com/joan2937/pigpio/? Joey
Indeed, the libpigpiod-if-dev package is unusable without pigpio.h