Fedora/RPM packaging and patches
Colin Samples <[email protected]>
| Newsgroups | gmane.linux.hardware.gpib.general |
|---|---|
| Message-ID | <CAJ0pbBVq=AOVM-1=YQa5fv9iNkVT2b_kdb--wHKKyzaTkMEYDQ@mail.gmail.com> |
Hi, I just wanted to announce my RPM packaging for linux-gpib. The RPM specs and patches for the main package is at <https://github.com/vddvss/linux-gpib-packaging>, and the RPM specs and downloads for the firmware package are at: <https://github.com/vddvss/linux-gpib-firmware-packaging>. Fedora and RHEL copr builds are at: <https://copr.fedorainfracloud.org/coprs/vddvss/linux-gpib/package/linux-gpib>. This repo includes a number of patches that may be of interest to the community: * In the documentation, I've converted it to DocBook 5 and added a manpage for the `ibterm` program. The conversion fixes a number of issues with with tables in the documentation, in particular `jw` messes them up in manpages, but using the DocBook 5 xslt stylesheet fixes them. I've also generated the PDF using `dblatex` instead of `jw`, which again fixes the tables in the generated PDF--and gives a nicer looking PDF. There were also a few typos I fixed, and a couple of tags that weren't closed. If you are interested in upstreaming this, let me know, and I can clean it up a bit more. * I've added a patch to fix the tcl manpage, which is broken. `rpmlint` caught this one. The page dates from 2001, so I'm unsure how long it's been that way--or how many people have actually tried to use the manpage. * For some reason, the build of the kernel module on RHEL/CentOS 7 is broken. In the fmh_gpib module, it was not able to find the declaration of the of_find_node_by_path function. Not sure what's going on with that, since it is in the linux/of.h header. But I'm not sure how many people will actually use the driver with that OS, so I just did a hack and patched an extern declaration in the fmh_gpib.c file for EL7 builds. * Another issue is `rpmlint` complains that the FSF address is incorrect in the COPYING file. Didn't bother to patch this, since I'm not sure how much it really matters. * The package includes new udev rules for better out-of-box user experience and to allow easier user customization of minor device numbers. More details about this are in the README file of the main repo. * The package also replaces the configuration/firmware loading scripts with systemd unit files. These will make sure the kernel modules are loaded before running `gpib_config` and loading firmware, and they will allow greater user customization. Thanks for all of your work on this project, and any feedback you have is much appreciated. -- Colin ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot