bug-gnulib
[Top][All Lists]
Advanced

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

Re: UUID Generator in Gnulib?


From: Bruno Haible
Subject: Re: UUID Generator in Gnulib?
Date: Fri, 07 Dec 2018 20:41:09 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-138-generic; KDE/5.18.0; x86_64; ; )

Hi,

Marc Nieper-Wißkirchen wrote:
> Linux systems have libuuid but this may not be present on other POSIX
> systems.

The first choice should be to use libuuid itself on the other systems.
In fact, the libuuid source (part of util-linux) is already autoconfiguring
and seems to support even native Windows.

The second choice, if the first choice fails, would be to create an API-
and link-compatible replacement for libuuid for the other systems.

This is probably best done separately from Gnulib.

As for the "not present" argument, the best way is probably to talk
with the distributions to include libuuid. MacPorts, HaikuPorts, OpenPKG,
pkgsrc already have it [1]. You could propose it for the other ones
(the BSDs, Fink & Homebrew, Cygwin, CSW & OpenIndiana, etc.)

You can surely, as a fallback, package the libuuid source in a subdirectory
of your package. If that is successful and other packages have the same
need, we can talk about moving that to Gnulib. But I feel that the other
options should be explored first.

Bruno

[1] https://repology.org/metapackage/libuuid/versions




reply via email to

[Prev in Thread] Current Thread [Next in Thread]