I'd like to package and maintain libuninum for Cygwin. libuninum is a library for converting between Unicode strings and numbers. It also includes numconv, a command-line utility for converting numbers between number systems.
The Cygport file is below, and in the libuninum branch of https://cygwin.com/git/cygwin-packages/playground. libuninum is in Debian: https://packages.debian.org/sid/libuninum5 . libtre5, utf8proc, and libuninum are all dependencies of msort, which I plan to package once all of those are released. Andrew -- # Cygport script for libuninum NAME=libuninum VERSION=2.7 RELEASE=1 # Packaging SUMMARY="Convert between Unicode strings and numbers" DESCRIPTION="Library for converting Unicode strings to numbers and numbers to Unicode strings. Standard functions like strtoul, strtod, and sprintf do this for numbers written in the usual Western number system using the Indo-Arabic numerals, but they do not handle other number systems. The main functions take as input a UTF-32 Unicode string and compute the corresponding unsigned integer. For example, they will convert the Chinese string ??????????? to the integer 594,321 and the Devanagari string ????? to the integer 78,492. Internal computation is done using arbitrary precision arithmetic, so there is no limit on the size of the integer that can be converted." CATEGORY="Libs" HOMEPAGE="https://www.billposer.org/Software/libuninum.html" LICENSE="LGPL-2.0-only" PKG_NAMES="libuninum libuninum-devel numconv" libuninum_CONTENTS="usr/bin/cyguninum-5.dll" libuninum_CATEGORY="Libs" libuninum_devel_CONTENTS="--exclude=usr/bin --exclude=usr/share/man usr" libuninum_devel_CATEGORY="Devel" numconv_CONTENTS="usr/bin/numconv.exe usr/share/man" numconv_CATEGORY="Utils" numconv_SUMMARY="Convert integers from one number system to another" numconv_DESCRIPTION='numconv is a filter that converts integers from one number system to another. For example, it can convert from Roman Numerals such as "CCLVI" to ordinary Western numbers such as "256" or from Western numbers to Chinese.' # Sources SRC_URI="https://billposer.org/Software/Downloads/libuninum-${PV}.tar.bz2" PATCH_URI=" libuninum-no-undefined.patch "
