| Summary: | ossp-uuid (new ebuild) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Santiago M. Mola (RETIRED) <coldwind> |
| Component: | New packages | Assignee: | Tiziano Müller (RETIRED) <dev-zero> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | admin |
| Priority: | High | Keywords: | EBUILD |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://www.ossp.org/pkg/lib/uuid/ | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Suggested ebuild
ossp-uuid-1.6.0.ebuild ossp-uuid-1.6.0.ebuild ossp-uuid-1.6.0-pg_config.patch |
||
|
Description
Santiago M. Mola (RETIRED)
2007-02-19 18:06:10 UTC
This package collide with other uuid implementations (the one in e2fsprogs) and break lots of things. Debian renames this library from uuid to ossp-uuid. But maybe it's better to install it on ossp/uuid.* (instead of ossp-uuid.*). I'm looking into the possibility of storing the libraries in a subdirectory and trying to come up with an ebuild. I'll post my findings tomorrow. Created attachment 120933 [details]
Suggested ebuild
This is an ebuild I put together for the latest version of OSSP's uuid library. It installed well on my x86. I still have to test if I can actually still use both the old libuuid that was already present and the OSSP one. This ebuild shouldn't overwrite any existing libraries as the prefixes are set so that libraries/includes are stored under ossp/ in their respective directories.
I was thinking the ossp/ directory is the best way to go providing it works. Considering there are so many other OSSP libraries available, then future ebuilds for them could also be placed in those directories.
Well, if anyone has any ideas regarding the ebuild, let me know. I'd be happy to be a proxy maintainer for this if the developers are looking for someone to maintain it.
On my x86, it installs without collisions and passes the test suite. I compiled MyPasswordSafe against it but it fails at link time. Created attachment 120944 [details]
ossp-uuid-1.6.0.ebuild
Added --with(out)-perl-compat, made the ebuild multilib friendly, and did some trivial clean-up.
Created attachment 120967 [details]
ossp-uuid-1.6.0.ebuild
Added --with-pgsql support and the proper dependency
Created attachment 120969 [details, diff]
ossp-uuid-1.6.0-pg_config.patch
This is the patch for the latest ebuild. It patches the Makefile for the pgsql compatibility library. Adds pg_config's --includedir, --includedir-server, and --libdir files.
Well, is in the tree now. I did it the same way as debian did it. The problem when installing the lib as libuuid.so in a sub-directory, the only option for apps linking against those libs is to use RPATH, which is rather difficult and requires a lot of manual packaging. |