[gentoo-commits] repo/gentoo:master commit in: dev-libs/libuninum/

2023-05-07 Thread Conrad Kostecki
commit: 1da50033a911b868808aa899452e7391160a69c9
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun May  7 12:43:52 2023 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun May  7 12:44:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1da50033

dev-libs/libuninum: fix implicit function declarations

Closes: https://bugs.gentoo.org/900541
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../libuninum/{libuninum-2.7-r1.ebuild => libuninum-2.7-r2.ebuild}  | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libuninum/libuninum-2.7-r1.ebuild 
b/dev-libs/libuninum/libuninum-2.7-r2.ebuild
similarity index 88%
rename from dev-libs/libuninum/libuninum-2.7-r1.ebuild
rename to dev-libs/libuninum/libuninum-2.7-r2.ebuild
index 1a786ed1da32..e908d0c3b217 100644
--- a/dev-libs/libuninum/libuninum-2.7-r1.ebuild
+++ b/dev-libs/libuninum/libuninum-2.7-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit flag-o-matic
+inherit autotools flag-o-matic
 
 DESCRIPTION="A library for converting unicode strings to numbers and vice 
versa"
 HOMEPAGE="https://billposer.org/Software/libuninum.html;
@@ -19,6 +19,8 @@ src_prepare() {
# LTO does not work.
# See https://bugs.gentoo.org/855956
filter-lto
+
+   eautoreconf
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libuninum/

2022-07-16 Thread Conrad Kostecki
commit: 1732d937d445ef3959b881449234938ef88cae7b
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sat Jul 16 19:39:37 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat Jul 16 20:40:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1732d937

dev-libs/libuninum: filter lto

Closes: https://bugs.gentoo.org/855956
Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-libs/libuninum/libuninum-2.7-r1.ebuild | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/dev-libs/libuninum/libuninum-2.7-r1.ebuild 
b/dev-libs/libuninum/libuninum-2.7-r1.ebuild
index 0307915cebf4..1a786ed1da32 100644
--- a/dev-libs/libuninum/libuninum-2.7-r1.ebuild
+++ b/dev-libs/libuninum/libuninum-2.7-r1.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit flag-o-matic
+
 DESCRIPTION="A library for converting unicode strings to numbers and vice 
versa"
 HOMEPAGE="https://billposer.org/Software/libuninum.html;
 SRC_URI="https://billposer.org/Software/Downloads/${P}.tar.bz2;
@@ -11,6 +13,14 @@ KEYWORDS="amd64 x86"
 LICENSE="GPL-2 GPL-2+ LGPL-2 LGPL-2.1"
 SLOT="0"
 
+src_prepare() {
+   default
+
+   # LTO does not work.
+   # See https://bugs.gentoo.org/855956
+   filter-lto
+}
+
 src_configure() {
local myeconfargs=(
--disable-static



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libuninum/

2019-04-18 Thread Aaron Bauman
commit: 4ea56d39480a7479971bb81be1fdc44ffef536ed
Author: Aaron Bauman  gentoo  org>
AuthorDate: Fri Apr 19 02:47:52 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Fri Apr 19 02:47:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ea56d39

dev-libs/libuninum: amd64 stable wrt bug #682736

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-libs/libuninum/libuninum-2.7.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libuninum/libuninum-2.7.ebuild 
b/dev-libs/libuninum/libuninum-2.7.ebuild
index 2d661dff563..5fed049a786 100644
--- a/dev-libs/libuninum/libuninum-2.7.ebuild
+++ b/dev-libs/libuninum/libuninum-2.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -7,7 +7,7 @@ DESCRIPTION="A library for converting unicode strings to 
numbers and vice versa"
 HOMEPAGE="https://billposer.org/Software/libuninum.html;
 SRC_URI="https://billposer.org/Software/Downloads/${P}.tar.bz2;
 
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 LICENSE="GPL-2 GPL-2+ LGPL-2 LGPL-2.1"
 SLOT="0"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libuninum/

2018-11-10 Thread Michał Górny
commit: c07389aed20a989506465a2af7f101ab751f6c51
Author: Conrad Kostecki  kostecki  com>
AuthorDate: Tue Oct 30 11:22:31 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 10 19:18:03 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c07389ae

dev-libs/libuninum: New package

This is a library for converting unicode strings to numbers
and numbers to unicode strings.

Closes: https://bugs.gentoo.org/667154
Needed-by: https://bugs.gentoo.org/154528
Signed-off-by: Conrad Kostecki  kostecki.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Michał Górny  gentoo.org>

 dev-libs/libuninum/Manifest |  1 +
 dev-libs/libuninum/libuninum-2.7.ebuild | 26 ++
 dev-libs/libuninum/metadata.xml | 18 ++
 3 files changed, 45 insertions(+)

diff --git a/dev-libs/libuninum/Manifest b/dev-libs/libuninum/Manifest
new file mode 100644
index 000..5ce8368c044
--- /dev/null
+++ b/dev-libs/libuninum/Manifest
@@ -0,0 +1 @@
+DIST libuninum-2.7.tar.bz2 276712 BLAKE2B 
0894c632d7e9081f35d543895809bcc04fde6da674d4e6adc7cdc914f4bbb257a3e683b381e6496a08b65790731f73315d8263970265a351f40fe504f210c883
 SHA512 
4536a90b9f34fbabd3cc0560c1ff385063151bc381de51e6ca0253d2a42c2290b92329795b1a12ade305c3cb5757b02fe9d92817829977f50da2e34852936274

diff --git a/dev-libs/libuninum/libuninum-2.7.ebuild 
b/dev-libs/libuninum/libuninum-2.7.ebuild
new file mode 100644
index 000..2d661dff563
--- /dev/null
+++ b/dev-libs/libuninum/libuninum-2.7.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A library for converting unicode strings to numbers and vice 
versa"
+HOMEPAGE="https://billposer.org/Software/libuninum.html;
+SRC_URI="https://billposer.org/Software/Downloads/${P}.tar.bz2;
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-2 GPL-2+ LGPL-2 LGPL-2.1"
+SLOT="0"
+
+src_configure() {
+   local myeconfargs=(
+   --disable-static
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+
+   find "${D}" -name '*.la' -delete || die
+}

diff --git a/dev-libs/libuninum/metadata.xml b/dev-libs/libuninum/metadata.xml
new file mode 100644
index 000..0db8928175d
--- /dev/null
+++ b/dev-libs/libuninum/metadata.xml
@@ -0,0 +1,18 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   ck+gen...@bl4ckb0x.de
+   Conrad Kostecki
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   This is a 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.
+   
+