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

2024-01-06 Thread Viorel Munteanu
commit: 07967ddfcbb3d8ce974603a3c93b8a4b53f1dc1e
Author: Matoro Mahri  matoro  tk>
AuthorDate: Fri Jan  5 18:44:04 2024 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Sat Jan  6 19:29:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07967ddf

dev-libs/trio: Keyword 1.17.1 arm, #891201

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Viorel Munteanu  gentoo.org>

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

diff --git a/dev-libs/trio/trio-1.17.1.ebuild b/dev-libs/trio/trio-1.17.1.ebuild
index 0b90ebdc9f0f..32604f3aaaf6 100644
--- a/dev-libs/trio/trio-1.17.1.ebuild
+++ b/dev-libs/trio/trio-1.17.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/orbea/trio/releases/download/v${PV}/${P}.tar.gz;
 
 LICENSE="trio"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
 
 src_compile() {
default



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

2023-12-02 Thread Sam James
commit: 326e06cc124adc0ad509325ab8bb263479555d9d
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec  3 07:41:24 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec  3 07:41:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=326e06cc

dev-libs/trio: Keyword 1.17.1 ppc64, #891201

Signed-off-by: Sam James  gentoo.org>

 dev-libs/trio/trio-1.17.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/trio/trio-1.17.1.ebuild b/dev-libs/trio/trio-1.17.1.ebuild
index d1df2e9d2c16..0b90ebdc9f0f 100644
--- a/dev-libs/trio/trio-1.17.1.ebuild
+++ b/dev-libs/trio/trio-1.17.1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/orbea/trio/releases/download/v${PV}/${P}.tar.gz;
 
 LICENSE="trio"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~x86"
 
 src_compile() {
default



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

2023-09-12 Thread Sam James
commit: cc65989cf0206e7dc3334d8d7b01c8eb35a7f3dc
Author: Sam James  gentoo  org>
AuthorDate: Wed Sep 13 03:19:34 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Sep 13 03:19:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc65989c

dev-libs/trio: Keyword 1.17.1 arm64, #891201

Signed-off-by: Sam James  gentoo.org>

 dev-libs/trio/trio-1.17.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/trio/trio-1.17.1.ebuild b/dev-libs/trio/trio-1.17.1.ebuild
index 915ef1094d8c..e7d1f68b3fa4 100644
--- a/dev-libs/trio/trio-1.17.1.ebuild
+++ b/dev-libs/trio/trio-1.17.1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/orbea/trio/releases/download/v${PV}/${P}.tar.gz;
 
 LICENSE="trio"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
 
 src_compile() {
default



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

2023-03-24 Thread Ionen Wolkens
commit: e1fa47f15e15531b7bc7abe45a64319f498f6955
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Sat Mar 25 01:59:45 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sat Mar 25 03:18:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1fa47f1

dev-libs/trio: drop 1.17

Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-libs/trio/Manifest |  1 -
 dev-libs/trio/trio-1.17.ebuild | 33 -
 2 files changed, 34 deletions(-)

diff --git a/dev-libs/trio/Manifest b/dev-libs/trio/Manifest
index 13860a36a3c4..e1c82919f0bc 100644
--- a/dev-libs/trio/Manifest
+++ b/dev-libs/trio/Manifest
@@ -1,2 +1 @@
 DIST trio-1.17.1.tar.gz 466909 BLAKE2B 
1403c2534623b536de519cd428ac75480ecc0fcb9fbba693e329a923471947f068cae1e1fd453d10863255369e830ef5d8a75475d95f0f903e66936a9fa48e2b
 SHA512 
574e360d88be838d13d7df5259c68809187a578d8d04981812ff768d3ab80215baf5595952994ec9fabbe3a6ce71512a7cd16d6a29b4f91dcd1b6f2ebcd3ed98
-DIST trio-1.17.tar.gz 452237 BLAKE2B 
77ff673cc103b07b1424720d28c49d2e33a1402a98d8d21124fabb0cafd3498a99976d808cbbc5a90e1b3a063c6af68c3daf94768d533e4a762b730a253fa012
 SHA512 
19f4732b32c6a3754677d5766399fa70083c6a78c0d04b1dfa10a578b21405ba3e3d3af6543e4811f5fd305ec2727781a1b0f2888e59c574ca735f8406da7954

diff --git a/dev-libs/trio/trio-1.17.ebuild b/dev-libs/trio/trio-1.17.ebuild
deleted file mode 100644
index b5edc06dd0f5..
--- a/dev-libs/trio/trio-1.17.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DOCS_BUILDER="doxygen"
-DOCS_DIR="doc"
-
-inherit autotools docs
-
-DESCRIPTION="Portable string functions, focus on the *printf() and *scanf() 
clones"
-HOMEPAGE="https://daniel.haxx.se/projects/trio/;
-SRC_URI="https://github.com/orbea/trio/releases/download/v${PV}/${P}.tar.gz;
-
-LICENSE="trio"
-SLOT="0"
-KEYWORDS="amd64 ~x86"
-
-src_prepare() {
-   default
-   # Required to fix -Werror=strict-prototypes configure errors
-   eautoreconf
-}
-
-src_compile() {
-   default
-   docs_compile
-}
-
-src_install() {
-   default
-   find "${ED}" -type f -name '*.la' -delete || die
-}



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

2023-03-09 Thread Ionen Wolkens
commit: bd2df68649569fac942f6e2452f09063dd2b9ef9
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Thu Mar  9 19:05:37 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Mar  9 20:12:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd2df686

dev-libs/trio: stabilize 1.17.1 for amd64

Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-libs/trio/trio-1.17.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/trio/trio-1.17.1.ebuild b/dev-libs/trio/trio-1.17.1.ebuild
index 251a5761..915ef1094d8c 100644
--- a/dev-libs/trio/trio-1.17.1.ebuild
+++ b/dev-libs/trio/trio-1.17.1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/orbea/trio/releases/download/v${PV}/${P}.tar.gz;
 
 LICENSE="trio"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 src_compile() {
default



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

2023-02-03 Thread Ionen Wolkens
commit: 32cc47fd3f546e2ab9c3ed86c4bdfde94eb06d44
Author: orbea  riseup  net>
AuthorDate: Fri Feb  3 18:52:54 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Fri Feb  3 21:48:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32cc47fd

dev-libs/trio: Add 1.17.1

Closes: https://github.com/gentoo/gentoo/pull/29415
Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-libs/trio/Manifest   |  1 +
 dev-libs/trio/trio-1.17.1.ebuild | 27 +++
 2 files changed, 28 insertions(+)

diff --git a/dev-libs/trio/Manifest b/dev-libs/trio/Manifest
index cecd5482f771..13860a36a3c4 100644
--- a/dev-libs/trio/Manifest
+++ b/dev-libs/trio/Manifest
@@ -1 +1,2 @@
+DIST trio-1.17.1.tar.gz 466909 BLAKE2B 
1403c2534623b536de519cd428ac75480ecc0fcb9fbba693e329a923471947f068cae1e1fd453d10863255369e830ef5d8a75475d95f0f903e66936a9fa48e2b
 SHA512 
574e360d88be838d13d7df5259c68809187a578d8d04981812ff768d3ab80215baf5595952994ec9fabbe3a6ce71512a7cd16d6a29b4f91dcd1b6f2ebcd3ed98
 DIST trio-1.17.tar.gz 452237 BLAKE2B 
77ff673cc103b07b1424720d28c49d2e33a1402a98d8d21124fabb0cafd3498a99976d808cbbc5a90e1b3a063c6af68c3daf94768d533e4a762b730a253fa012
 SHA512 
19f4732b32c6a3754677d5766399fa70083c6a78c0d04b1dfa10a578b21405ba3e3d3af6543e4811f5fd305ec2727781a1b0f2888e59c574ca735f8406da7954

diff --git a/dev-libs/trio/trio-1.17.1.ebuild b/dev-libs/trio/trio-1.17.1.ebuild
new file mode 100644
index ..b95d89d446c0
--- /dev/null
+++ b/dev-libs/trio/trio-1.17.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DOCS_BUILDER="doxygen"
+DOCS_DIR="doc"
+
+inherit autotools docs
+
+DESCRIPTION="Portable string functions, focus on the *printf() and *scanf() 
clones"
+HOMEPAGE="https://daniel.haxx.se/projects/trio/;
+SRC_URI="https://github.com/orbea/trio/releases/download/v${PV}/${P}.tar.gz;
+
+LICENSE="trio"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_compile() {
+   default
+   docs_compile
+}
+
+src_install() {
+   default
+   find "${ED}" -type f -name '*.la' -delete || die
+}



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

2023-02-03 Thread Ionen Wolkens
commit: a067c1c556670fd448a72351f21fe6582920b2af
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Fri Feb  3 21:49:08 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Fri Feb  3 21:49:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a067c1c5

dev-libs/trio: drop unused inherit

Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-libs/trio/trio-1.17.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/trio/trio-1.17.1.ebuild b/dev-libs/trio/trio-1.17.1.ebuild
index b95d89d446c0..251a5761 100644
--- a/dev-libs/trio/trio-1.17.1.ebuild
+++ b/dev-libs/trio/trio-1.17.1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 DOCS_BUILDER="doxygen"
 DOCS_DIR="doc"
 
-inherit autotools docs
+inherit docs
 
 DESCRIPTION="Portable string functions, focus on the *printf() and *scanf() 
clones"
 HOMEPAGE="https://daniel.haxx.se/projects/trio/;



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

2022-11-28 Thread Jakov Smolić
commit: 8ea158ed867e3c3a2aecd5fa89e536ef6c47aa91
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Nov 29 06:57:09 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Nov 29 06:57:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ea158ed

dev-libs/trio: Stabilize 1.17 amd64, #883037

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-libs/trio/trio-1.17.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/trio/trio-1.17.ebuild b/dev-libs/trio/trio-1.17.ebuild
index c0cd72148b66..b5edc06dd0f5 100644
--- a/dev-libs/trio/trio-1.17.ebuild
+++ b/dev-libs/trio/trio-1.17.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/orbea/trio/releases/download/v${PV}/${P}.tar.gz;
 
 LICENSE="trio"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 src_prepare() {
default



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

2022-10-11 Thread Sam James
commit: 232894597816812dbd20e2076a649abdbcde46f3
Author: orbea  riseup  net>
AuthorDate: Tue Oct 11 18:27:08 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct 11 19:15:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23289459

dev-libs/trio: Fix -Werror=strict-prototypes

Reference: 
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240

Signed-off-by: orbea  riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/27743
Signed-off-by: Sam James  gentoo.org>

 dev-libs/trio/trio-1.17.ebuild | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/dev-libs/trio/trio-1.17.ebuild b/dev-libs/trio/trio-1.17.ebuild
index a12bd3608b4d..c0cd72148b66 100644
--- a/dev-libs/trio/trio-1.17.ebuild
+++ b/dev-libs/trio/trio-1.17.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 DOCS_BUILDER="doxygen"
 DOCS_DIR="doc"
 
-inherit docs
+inherit autotools docs
 
 DESCRIPTION="Portable string functions, focus on the *printf() and *scanf() 
clones"
 HOMEPAGE="https://daniel.haxx.se/projects/trio/;
@@ -16,6 +16,12 @@ LICENSE="trio"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
+src_prepare() {
+   default
+   # Required to fix -Werror=strict-prototypes configure errors
+   eautoreconf
+}
+
 src_compile() {
default
docs_compile



[gentoo-commits] repo/gentoo:master commit in: dev-libs/trio/files/, dev-libs/trio/

2022-09-17 Thread Ionen Wolkens
commit: 6b3a18cc77aac626b267f127f1be49b883e444bd
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Sat Sep 17 06:56:34 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sat Sep 17 08:42:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b3a18cc

dev-libs/trio: drop 1.16

Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-libs/trio/Manifest|  1 -
 dev-libs/trio/files/trio-1.16-no-inline.patch |  8 --
 dev-libs/trio/trio-1.16.ebuild| 41 ---
 3 files changed, 50 deletions(-)

diff --git a/dev-libs/trio/Manifest b/dev-libs/trio/Manifest
index 7f07d6f93d64..cecd5482f771 100644
--- a/dev-libs/trio/Manifest
+++ b/dev-libs/trio/Manifest
@@ -1,2 +1 @@
-DIST trio-1.16.tar.gz 167337 BLAKE2B 
0f284e0a130723f7511c0e874276c79c1addc1329833d14f0b76bae9808d90b76a2b26817ee85da71c3997360918cb534917a11bbe35ba627d1012cd8a2f6299
 SHA512 
3a8bac3ed001f70f498bd2ab0881ed6d3760bc978bf9ff587c3fc1d5d7a38205f779c5fe445f41edaa9e23c15bc1b4a521916e19161277741bc8e2f744b46c69
 DIST trio-1.17.tar.gz 452237 BLAKE2B 
77ff673cc103b07b1424720d28c49d2e33a1402a98d8d21124fabb0cafd3498a99976d808cbbc5a90e1b3a063c6af68c3daf94768d533e4a762b730a253fa012
 SHA512 
19f4732b32c6a3754677d5766399fa70083c6a78c0d04b1dfa10a578b21405ba3e3d3af6543e4811f5fd305ec2727781a1b0f2888e59c574ca735f8406da7954

diff --git a/dev-libs/trio/files/trio-1.16-no-inline.patch 
b/dev-libs/trio/files/trio-1.16-no-inline.patch
deleted file mode 100644
index b1584344a111..
--- a/dev-libs/trio/files/trio-1.16-no-inline.patch
+++ /dev/null
@@ -1,8 +0,0 @@
-Let compiler decide what to inline (fixes build with -Os).
-https://bugs.gentoo.org/792075
 a/triodef.h
-+++ b/triodef.h
-@@ -315,2 +315,3 @@
- #endif
-+#undef TRIO_INLINE
- #if !defined(TRIO_INLINE)

diff --git a/dev-libs/trio/trio-1.16.ebuild b/dev-libs/trio/trio-1.16.ebuild
deleted file mode 100644
index bf7d164f5baf..
--- a/dev-libs/trio/trio-1.16.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="Portable string functions, focus on the *printf() and *scanf() 
clones"
-HOMEPAGE="https://daniel.haxx.se/projects/trio/;
-SRC_URI="mirror://sourceforge/ctrio/${P}.tar.gz"
-
-LICENSE="trio"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-PATCHES=(
-   "${FILESDIR}"/${P}-no-inline.patch
-)
-HTML_DOCS=( html/. )
-
-src_prepare() {
-   default
-   sed -i '/$(CC)/s/-o/$(LOCAL_LDFLAGS) -o/' Makefile.in || die
-}
-
-src_compile() {
-   emake AR="$(tc-getAR)" LOCAL_LDFLAGS="${LDFLAGS}"
-   ln -s libtrio.so.2{.0.0,} || die
-   ln -s libtrio.so{.2.0.0,} || die
-}
-
-src_test() {
-   emake LOCAL_LDFLAGS="${LDFLAGS}" regression
-   LD_LIBRARY_PATH=".:${LD_LIBRARY_PATH}" ./regression || die
-}
-
-src_install() {
-   doheader trio*.h
-   dolib.so libtrio.so*
-   einstalldocs
-}



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

2022-08-04 Thread Ionen Wolkens
commit: a449b0be4556c0774529ec986ca15fc0d7a65d99
Author: orbea  riseup  net>
AuthorDate: Thu Aug  4 02:05:16 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Aug  4 14:11:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a449b0be

dev-libs/trio: Add 1.17

Closes: https://github.com/gentoo/gentoo/pull/26711
Signed-off-by: orbea  riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/26734
Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-libs/trio/Manifest |  1 +
 dev-libs/trio/metadata.xml |  2 +-
 dev-libs/trio/trio-1.17.ebuild | 28 
 3 files changed, 30 insertions(+), 1 deletion(-)

diff --git a/dev-libs/trio/Manifest b/dev-libs/trio/Manifest
index 59ec71d46d41..7f07d6f93d64 100644
--- a/dev-libs/trio/Manifest
+++ b/dev-libs/trio/Manifest
@@ -1 +1,2 @@
 DIST trio-1.16.tar.gz 167337 BLAKE2B 
0f284e0a130723f7511c0e874276c79c1addc1329833d14f0b76bae9808d90b76a2b26817ee85da71c3997360918cb534917a11bbe35ba627d1012cd8a2f6299
 SHA512 
3a8bac3ed001f70f498bd2ab0881ed6d3760bc978bf9ff587c3fc1d5d7a38205f779c5fe445f41edaa9e23c15bc1b4a521916e19161277741bc8e2f744b46c69
+DIST trio-1.17.tar.gz 452237 BLAKE2B 
77ff673cc103b07b1424720d28c49d2e33a1402a98d8d21124fabb0cafd3498a99976d808cbbc5a90e1b3a063c6af68c3daf94768d533e4a762b730a253fa012
 SHA512 
19f4732b32c6a3754677d5766399fa70083c6a78c0d04b1dfa10a578b21405ba3e3d3af6543e4811f5fd305ec2727781a1b0f2888e59c574ca735f8406da7954

diff --git a/dev-libs/trio/metadata.xml b/dev-libs/trio/metadata.xml
index a7124f3f8f71..d2790650b579 100644
--- a/dev-libs/trio/metadata.xml
+++ b/dev-libs/trio/metadata.xml
@@ -6,6 +6,6 @@
Gentoo Games Project


-   ctrio
+   orbea/trio

 

diff --git a/dev-libs/trio/trio-1.17.ebuild b/dev-libs/trio/trio-1.17.ebuild
new file mode 100644
index ..cef261694cde
--- /dev/null
+++ b/dev-libs/trio/trio-1.17.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DOCS_BUILDER="doxygen"
+DOCS_DEPEND="media-gfx/imagemagick"
+DOCS_DIR="doc"
+
+inherit docs
+
+DESCRIPTION="Portable string functions, focus on the *printf() and *scanf() 
clones"
+HOMEPAGE="https://daniel.haxx.se/projects/trio/;
+SRC_URI="https://github.com/orbea/${PN}/releases/download/v${PV}/${P}.tar.gz;
+
+LICENSE="trio"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_compile() {
+   default
+   docs_compile
+}
+
+src_install() {
+   default
+   find "${D}" -name '*.la' -delete || die
+}



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

2022-08-04 Thread Ionen Wolkens
commit: bf2fdc6c65ff7a1ad573266929907b2287f39de9
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Thu Aug  4 13:34:26 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Aug  4 14:16:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf2fdc6c

dev-libs/trio: minor adjustments

* drop imagemagick (not used here I can see, this is just an extra
  deps example from the docs eclass and is not typically needed)
* flatten SRC_URI's ${PN} wrt proxy-maint style guide
* update .la's find to match current git policy guide

Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-libs/trio/trio-1.17.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dev-libs/trio/trio-1.17.ebuild b/dev-libs/trio/trio-1.17.ebuild
index cef261694cde..a12bd3608b4d 100644
--- a/dev-libs/trio/trio-1.17.ebuild
+++ b/dev-libs/trio/trio-1.17.ebuild
@@ -4,14 +4,13 @@
 EAPI=8
 
 DOCS_BUILDER="doxygen"
-DOCS_DEPEND="media-gfx/imagemagick"
 DOCS_DIR="doc"
 
 inherit docs
 
 DESCRIPTION="Portable string functions, focus on the *printf() and *scanf() 
clones"
 HOMEPAGE="https://daniel.haxx.se/projects/trio/;
-SRC_URI="https://github.com/orbea/${PN}/releases/download/v${PV}/${P}.tar.gz;
+SRC_URI="https://github.com/orbea/trio/releases/download/v${PV}/${P}.tar.gz;
 
 LICENSE="trio"
 SLOT="0"
@@ -24,5 +23,5 @@ src_compile() {
 
 src_install() {
default
-   find "${D}" -name '*.la' -delete || die
+   find "${ED}" -type f -name '*.la' -delete || die
 }



[gentoo-commits] repo/gentoo:master commit in: dev-libs/trio/, dev-libs/trio/files/

2021-06-01 Thread Ionen Wolkens
commit: 6e7b4263ae96eb79862bbd9e9ad7820e0dce827c
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue Jun  1 12:01:46 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Jun  1 23:37:55 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e7b4263

dev-libs/trio: fix build with -Os

Closes: https://bugs.gentoo.org/792075
Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-libs/trio/files/trio-1.16-no-inline.patch | 8 
 dev-libs/trio/trio-1.16.ebuild| 3 +++
 2 files changed, 11 insertions(+)

diff --git a/dev-libs/trio/files/trio-1.16-no-inline.patch 
b/dev-libs/trio/files/trio-1.16-no-inline.patch
new file mode 100644
index 000..b1584344a11
--- /dev/null
+++ b/dev-libs/trio/files/trio-1.16-no-inline.patch
@@ -0,0 +1,8 @@
+Let compiler decide what to inline (fixes build with -Os).
+https://bugs.gentoo.org/792075
+--- a/triodef.h
 b/triodef.h
+@@ -315,2 +315,3 @@
+ #endif
++#undef TRIO_INLINE
+ #if !defined(TRIO_INLINE)

diff --git a/dev-libs/trio/trio-1.16.ebuild b/dev-libs/trio/trio-1.16.ebuild
index 1980624be41..bf7d164f5ba 100644
--- a/dev-libs/trio/trio-1.16.ebuild
+++ b/dev-libs/trio/trio-1.16.ebuild
@@ -13,6 +13,9 @@ LICENSE="trio"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
+PATCHES=(
+   "${FILESDIR}"/${P}-no-inline.patch
+)
 HTML_DOCS=( html/. )
 
 src_prepare() {



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

2021-05-08 Thread Sam James
commit: 65f946a1562737200e56551362f5998293e2b2a9
Author: Ionen Wolkens  gmail  com>
AuthorDate: Sun Apr 25 14:10:56 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun May  9 04:42:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65f946a1

dev-libs/trio: initial import

needed to unbundle trio from games-emulation/mednafen

Signed-off-by: Ionen Wolkens  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-libs/trio/Manifest |  1 +
 dev-libs/trio/metadata.xml | 11 +++
 dev-libs/trio/trio-1.16.ebuild | 38 ++
 3 files changed, 50 insertions(+)

diff --git a/dev-libs/trio/Manifest b/dev-libs/trio/Manifest
new file mode 100644
index 000..59ec71d46d4
--- /dev/null
+++ b/dev-libs/trio/Manifest
@@ -0,0 +1 @@
+DIST trio-1.16.tar.gz 167337 BLAKE2B 
0f284e0a130723f7511c0e874276c79c1addc1329833d14f0b76bae9808d90b76a2b26817ee85da71c3997360918cb534917a11bbe35ba627d1012cd8a2f6299
 SHA512 
3a8bac3ed001f70f498bd2ab0881ed6d3760bc978bf9ff587c3fc1d5d7a38205f779c5fe445f41edaa9e23c15bc1b4a521916e19161277741bc8e2f744b46c69

diff --git a/dev-libs/trio/metadata.xml b/dev-libs/trio/metadata.xml
new file mode 100644
index 000..c71b42fc85c
--- /dev/null
+++ b/dev-libs/trio/metadata.xml
@@ -0,0 +1,11 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   ga...@gentoo.org
+   Gentoo Games Project
+   
+   
+   ctrio
+   
+

diff --git a/dev-libs/trio/trio-1.16.ebuild b/dev-libs/trio/trio-1.16.ebuild
new file mode 100644
index 000..1980624be41
--- /dev/null
+++ b/dev-libs/trio/trio-1.16.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Portable string functions, focus on the *printf() and *scanf() 
clones"
+HOMEPAGE="https://daniel.haxx.se/projects/trio/;
+SRC_URI="mirror://sourceforge/ctrio/${P}.tar.gz"
+
+LICENSE="trio"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+HTML_DOCS=( html/. )
+
+src_prepare() {
+   default
+   sed -i '/$(CC)/s/-o/$(LOCAL_LDFLAGS) -o/' Makefile.in || die
+}
+
+src_compile() {
+   emake AR="$(tc-getAR)" LOCAL_LDFLAGS="${LDFLAGS}"
+   ln -s libtrio.so.2{.0.0,} || die
+   ln -s libtrio.so{.2.0.0,} || die
+}
+
+src_test() {
+   emake LOCAL_LDFLAGS="${LDFLAGS}" regression
+   LD_LIBRARY_PATH=".:${LD_LIBRARY_PATH}" ./regression || die
+}
+
+src_install() {
+   doheader trio*.h
+   dolib.so libtrio.so*
+   einstalldocs
+}