libgpiod in -current?
by xor_ebx_ebx from LinuxQuestions.org on (#5E3DA)
I was just going to make a package for this for myself, but now I'm wondering if it shouldn't be in the main slackwarearm-current tree
If you don't know, libgpiod is a C/C++/Python3 library and some tools for working with the new /dev/gpiochip* interface for the GPIO pins on many ARM boards. Seeing as to how the sysfs interface is depreciated and may disappear in the future, I think it would be a good idea to get this package in -current
I built myself a quick and dirty test package on my Pi 4 on -current. I haven't done much more than blink a few LEDs, but everything seems to work. I tired Python, C, and the tools. Here's the configure options I used
Code:./configure --prefix=/usr --libdir=/usr/lib --mandir=/usr/man --build=arm-slackware-linux --enable-tools --enable-bindings-cxx --enable-bindings-pythonThe source code for releases is here. I used the 1.6.2 version
Thoughts? The tools are the main reason I think it should be included, similar to i2c-tools, but it doesn't hurt to have the libs. On the flip side, probably not many people use GPIO


If you don't know, libgpiod is a C/C++/Python3 library and some tools for working with the new /dev/gpiochip* interface for the GPIO pins on many ARM boards. Seeing as to how the sysfs interface is depreciated and may disappear in the future, I think it would be a good idea to get this package in -current
I built myself a quick and dirty test package on my Pi 4 on -current. I haven't done much more than blink a few LEDs, but everything seems to work. I tired Python, C, and the tools. Here's the configure options I used
Code:./configure --prefix=/usr --libdir=/usr/lib --mandir=/usr/man --build=arm-slackware-linux --enable-tools --enable-bindings-cxx --enable-bindings-pythonThe source code for releases is here. I used the 1.6.2 version
Thoughts? The tools are the main reason I think it should be included, similar to i2c-tools, but it doesn't hurt to have the libs. On the flip side, probably not many people use GPIO