Summary: | New ebuild for ham radio control libraries (hamlib) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Robb Romans (RETIRED) <killsoft> |
Component: | New packages | Assignee: | Joel Martin (RETIRED) <kanaka> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | killsoft, rphillips |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 49456, 52158, 52307 | ||
Attachments: |
hamlib-1.1.4.ebuild
Cleanup up ebuild hamlib - better ebuild. hamlib-1.1.4.ebuild app-ham/hamlib/files/hamlib-pkgconfig-fix.diff |
Description
Robb Romans (RETIRED)
2004-05-26 20:28:27 UTC
Created attachment 32113 [details]
hamlib-1.1.4.ebuild
Created attachment 32157 [details]
Cleanup up ebuild
Notes:
- There were a few lines that use tabs instead of spaces.
- You don't need PROVIDE unless there are other libraries out there that
provide the same interface to applications as hamlib (in other words, some
other drop in replacement).
- DEPEND and RDEPEND can be simplified by refering to RDEPEND in DEPEND.
- Once you add gd to make.conf, you just need to remerge hamlib to get libgd.
- There is an error during make doc, it can't find hamlib.css
- The ebuild installs all the library files to /usr/lib, since there are so
many of them, it would probably be better to install them into a subdirectory
such as /usr/lib/hamlib
I will attach a cleaned up ebuild, if you fix the make doc issue and install
dir
issue, then I should be able to submit it to the tree.
Created attachment 32184 [details]
hamlib - better ebuild.
Second attempt. A little cleaner with libraries relocated to /usr/lib/hamlib as
requested.
All binding support appears to be buggy. Disabled for now. Also, this ebuild
does not build docs unless "doc" flag is set. Does not require X. "tlf" is a
small footprint console logging app that uses hamlib, for example.
The "cannot find hamlib.css" error during doc building is harmless.
Package builds ok on athlon and alpha ev56.
Thanks for the feedback. Please let me know if you want any further changes.
Robb
Created attachment 32226 [details]
hamlib-1.1.4.ebuild
Ok, after moving libs to /usr/lib/hamlib/*, I noticed that progs using
pkgconfig would not find these libs. So, I modified hamlib.pc.in to reflect the
new locations. Also moved include files to /usr/include/hamlib/*.
Now my xlog ebuild finds the hamlib libraries correctly during build. However,
I have to manually add "/usr/lib/hamlib" to /etc/ld.so.conf in order for xlog
to find the shared libraries at runtime. I do not know the accepted Gentoo
practice to handle this kind of issue.
Created attachment 32227 [details, diff]
app-ham/hamlib/files/hamlib-pkgconfig-fix.diff
patch 1 of 1.
Committed to media-libs/ |