[Bug 1577011] Review Request: wiringpi - PIN based GPIO access library for BCM283x SoC devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1577011



--- Comment #5 from Peter Oliver <mavit@xxxxxxxxxxxx> ---
(In reply to Vaughan from comment #4)

> > - ldconfig called in %post and %postun if required.
> >   Note: /sbin/ldconfig not called in wiringpi-libs
> >   See: http://fedoraproject.org/wiki/Packaging/Guidelines#Shared_Libraries
> >   On Fedora 27 and earlier, a post-install scriptlet is required in the libs
> > subpackage.
> DONE
> https://github.com/agrez/wiringpi/commit/
> fadf83b45da31b5c2af25b693600ec90ef47c117

There's a macro, %ldconfig_scriptlets, that will do this for you.  See
https://fedoraproject.org/wiki/Packaging:Scriptlets#Shared_Libraries

> > - Can this be built on all ARM flavours?  ExclusiveArch could be set to
> > %{arm} if so.
> Do you want to know if it works on aarch64 too? I haven't actually tested
> wiringpi on aarch64 (as you would need aarch64 BCM270x Linux kernel port,
> which I haven't ever built), so I don't know if it works. Anyway, I updated
> the spec and makefile patch to add aarch64 build support. Koji scratch
> builds seem to build ok.
> https://github.com/agrez/wiringpi/commit/
> db7bc872556ec98f5c82e443f48f51bed8c061da

Searching the web suggests that there are/were some problems, here.  I'll have
a closer look when I can find a spare SD card to install onto.

One more thought: I think wiringPi is principally a library that happens to
include the gpio tool, rather than principally the gpio tool which happens to
come with a library.  Instead of putting the tool in wiringpi and the library
in wiringpi-libs, does it make more sense to put the libraries in wiringpi, and
the gpio tool in a package called, say, wiringpi-tools?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux