#984946 Bug report libpigpiod-if-dev

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
#984946#5
Date:
2021-03-10 18:57:00 UTC
From:
To:
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.

#984946#14
Date:
2021-03-11 06:49:35 UTC
From:
To:
Control: reassign -1 libpigpiod-if-dev 1.68-3

Fixing package name due to mangling of newlines.

Kind regards,
Andrei

#984946#21
Date:
2021-03-11 15:51:06 UTC
From:
To:
 > 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.

#984946#26
Date:
2022-07-22 19:52:43 UTC
From:
To:
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

#984946#31
Date:
2023-11-27 13:26:59 UTC
From:
To:
Indeed, the libpigpiod-if-dev package is unusable without pigpio.h