First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 52155
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Joel Martin <kanaka@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Robb Romans (RETIRED) <killsoft@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
hamlib-1.1.4.ebuild hamlib-1.1.4.ebuild text/plain Robb Romans (RETIRED) 2004-05-26 20:31 0000 1.92 KB Details
hamlib-1.1.4.ebuild Cleanup up ebuild text/plain Joel Martin 2004-05-27 12:56 0000 1.53 KB Details
hamlib-1.1.4.ebuild hamlib - better ebuild. text/plain Robb Romans (RETIRED) 2004-05-27 19:43 0000 1.56 KB Details
hamlib-1.1.4.ebuild hamlib-1.1.4.ebuild text/plain Robb Romans (RETIRED) 2004-05-28 20:50 0000 1.81 KB Details
hamlib-pkgconfig-fix.diff app-ham/hamlib/files/hamlib-pkgconfig-fix.diff patch Robb Romans (RETIRED) 2004-05-28 20:50 0000 373 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 52155 depends on: Show dependency tree
Show dependency graph
Bug 52155 blocks: 49456 52158 52307
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-05-26 20:28 0000
I'd like to start adding ebuilds for some ham radio applications. The first,
hamlib, is a library used by several Linux ham radio apps to control a ham
radio.

Ideally, this will require a new category, "app-ham", and a new USE flag:
hamlib.

Tested on x86, will test on PPC.

More ham ebuilds to come. These are my first ebuilds, so feedback is
appreciated.

Thanks,
Robb

------- Comment #1 From Robb Romans (RETIRED) 2004-05-26 20:31:15 0000 -------
Created an attachment (id=32113) [edit]
hamlib-1.1.4.ebuild

------- Comment #2 From Joel Martin 2004-05-27 12:56:14 0000 -------
Created an attachment (id=32157) [edit]
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.

------- Comment #3 From Robb Romans (RETIRED) 2004-05-27 19:43:49 0000 -------
Created an attachment (id=32184) [edit]
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

------- Comment #4 From Robb Romans (RETIRED) 2004-05-28 20:50:10 0000 -------
Created an attachment (id=32226) [edit]
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.

------- Comment #5 From Robb Romans (RETIRED) 2004-05-28 20:50:57 0000 -------
Created an attachment (id=32227) [edit]
app-ham/hamlib/files/hamlib-pkgconfig-fix.diff

patch 1 of 1.

------- Comment #6 From Ryan Phillips (RETIRED) 2004-06-03 21:40:43 0000 -------
Committed to media-libs/

First Last Prev Next    No search results available      Search page      Enter new bug