Question about package version number

Yaakov Selkowitz
Mon Feb 2 08:34:00 GMT 2015

On Mon, 2015-02-02 at 15:03 +0800, 陳韋任 wrote:
>   I have made package for HIDAPI [1], and here is the cygport:
> --------
> CROSS_HOST="x86_64-w64-mingw32"
> inherit cross

While I'm not against adding libraries to the mingw64 toolchains -- in
fact, I have a number of them in Ports -- is that really your intention?
Would this library be usable from within Cygwin?

> NAME="mingw64-x86_64-libhidapi0.8"

>From looking at the upstream sources, this is not parallel-installable
with other versions of hidapi, so this should be just

> VERSION=master

This is wrong; VERSION must at least start with a numerical component.


IMO cross-compiler libraries should go into Devel, but I suppose that's

> SUMMARY="USB library"

This should be more specific, particularly if you are intending it to be
used with the mingw64 toolchain.

> DESCRIPTION="C Library for USB/Bluetooth HID device access from Linux,
> Mac OS X, FreeBSD, and Windows."
> SRC_URI="${VERSION}.zip"
> SRC_DIR="hidapi-${VERSION}"
> --------
>   The package is made against the git head, but I can only download
> the tarball as
>   What VERSION should I use here? The libhidapi package on Ubuntu is
> marked as 0.8.0-rc1 [2], should I follow this convention?

0.8.0-rc1 is the latest tag ("release") in git, so if you want that:


However, there have been several changes in git since then, so you may
want to include the Windows-relevant ones by adding:




Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list