public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/simpleini/
@ 2022-07-25 23:20 Ionen Wolkens
  0 siblings, 0 replies; 4+ messages in thread
From: Ionen Wolkens @ 2022-07-25 23:20 UTC (permalink / raw
  To: gentoo-commits

commit:     f9de5249f7854a5d06ec2a43e3c631ca1542b594
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 25 22:04:48 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Jul 25 23:05:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9de5249

dev-cpp/simpleini: new package, add 4.19

Header-only package for games-engines/devilutionx.

Some distributions and former (treecleaned) ::guru package make it
into a shared library, but would rather not invent anything the build
system doesn't handle.

Skipping ConvertUTF.* given this is a generic header and it doesn't
make much sense to be provided by this package. Shared library would
simplify this given could build-in along with ConvertUTF.c, but it's
still possible to have ICU handle it and devilutionx currently disable
conversion altogether (can revisit as needed).

Currently also no pkg-config files nor particularly standard way to
look for it either, but simple /usr/include/SimpleIni.h is easy to
handle+unique and devilutionx finds it (it also looks for simpleini.pc
even though upstream doesn't provide it, for future use)

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-cpp/simpleini/Manifest              |  1 +
 dev-cpp/simpleini/metadata.xml          | 11 +++++++++
 dev-cpp/simpleini/simpleini-4.19.ebuild | 40 +++++++++++++++++++++++++++++++++
 3 files changed, 52 insertions(+)

diff --git a/dev-cpp/simpleini/Manifest b/dev-cpp/simpleini/Manifest
new file mode 100644
index 000000000000..36c11c57d1cb
--- /dev/null
+++ b/dev-cpp/simpleini/Manifest
@@ -0,0 +1 @@
+DIST simpleini-4.19.tar.gz 62793 BLAKE2B f32a25743c89f954a0b1cce2cb29584d63083922b9b56d91b39412617067f7316ecb897474a7f3a4d550569a0d007e51780d3532079966a7ba72e2b89ff5a5cc SHA512 3f0f3120aca3350bab66fe1727f4d15536d933a0840a17b49203c2220fab7ace4383d856c1b77a84f4e36c9a5df0c3eb937ad729c977f84e7163d7e2cff400c5

diff --git a/dev-cpp/simpleini/metadata.xml b/dev-cpp/simpleini/metadata.xml
new file mode 100644
index 000000000000..3d8641a5fa36
--- /dev/null
+++ b/dev-cpp/simpleini/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>games@gentoo.org</email>
+		<name>Gentoo Games Project</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">brofield/simpleini</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-cpp/simpleini/simpleini-4.19.ebuild b/dev-cpp/simpleini/simpleini-4.19.ebuild
new file mode 100644
index 000000000000..acd530cf090e
--- /dev/null
+++ b/dev-cpp/simpleini/simpleini-4.19.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="C++ library providing a simple API to read and write INI-style files"
+HOMEPAGE="https://github.com/brofield/simpleini/"
+SRC_URI="https://github.com/brofield/simpleini/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( dev-cpp/gtest )"
+BDEPEND="test? ( virtual/pkgconfig )"
+
+src_compile() {
+	if use test; then
+		append-cppflags $($(tc-getPKG_CONFIG) --cflags gtest_main || die)
+		append-ldflags $(test-flags-CCLD -pthread)
+		append-libs $($(tc-getPKG_CONFIG) --libs gtest_main || die)
+		local emakeargs=(
+			{CC,CXX}="$(tc-getCXX)"
+			CXXFLAGS="${CXXFLAGS}"
+			CPPFLAGS="${CPPFLAGS}"
+			LDFLAGS="${LDFLAGS} ${LIBS}"
+		)
+		emake -C tests "${emakeargs[@]}"
+	fi
+}
+
+src_install() {
+	# note: skipping ConvertUTF, can use -DSI_CONVERT_ICU instead if needed
+	doheader SimpleIni.h
+	einstalldocs
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/simpleini/
@ 2023-08-06  4:32 Ionen Wolkens
  0 siblings, 0 replies; 4+ messages in thread
From: Ionen Wolkens @ 2023-08-06  4:32 UTC (permalink / raw
  To: gentoo-commits

commit:     031b974294c7b941f1dbfb337c854e8e3daf0e77
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  6 00:42:31 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Aug  6 04:27:41 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=031b9742

dev-cpp/simpleini: drop 4.19

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-cpp/simpleini/Manifest              |  1 -
 dev-cpp/simpleini/simpleini-4.19.ebuild | 40 ---------------------------------
 2 files changed, 41 deletions(-)

diff --git a/dev-cpp/simpleini/Manifest b/dev-cpp/simpleini/Manifest
index fe11c1acfa25..e850a145f63c 100644
--- a/dev-cpp/simpleini/Manifest
+++ b/dev-cpp/simpleini/Manifest
@@ -1,2 +1 @@
-DIST simpleini-4.19.tar.gz 62793 BLAKE2B f32a25743c89f954a0b1cce2cb29584d63083922b9b56d91b39412617067f7316ecb897474a7f3a4d550569a0d007e51780d3532079966a7ba72e2b89ff5a5cc SHA512 3f0f3120aca3350bab66fe1727f4d15536d933a0840a17b49203c2220fab7ace4383d856c1b77a84f4e36c9a5df0c3eb937ad729c977f84e7163d7e2cff400c5
 DIST simpleini-4.20.tar.gz 64807 BLAKE2B 5179fbdc1a46b352590a20bcaafa88d905d75ef3334becc03caf11f5b8c4bd3673971d688f9ec0077af3192244b29befd217dfa4ef218594f68c917698727b72 SHA512 e2518d10d63026b0fd423cbd77372b60bc693e8ec1878a91ab05364a49b48d38d8d379247a27a8ffc5582ba19e333b10996f4bf48899c06c567ae0dea067a9e3

diff --git a/dev-cpp/simpleini/simpleini-4.19.ebuild b/dev-cpp/simpleini/simpleini-4.19.ebuild
deleted file mode 100644
index acd530cf090e..000000000000
--- a/dev-cpp/simpleini/simpleini-4.19.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic toolchain-funcs
-
-DESCRIPTION="C++ library providing a simple API to read and write INI-style files"
-HOMEPAGE="https://github.com/brofield/simpleini/"
-SRC_URI="https://github.com/brofield/simpleini/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="test? ( dev-cpp/gtest )"
-BDEPEND="test? ( virtual/pkgconfig )"
-
-src_compile() {
-	if use test; then
-		append-cppflags $($(tc-getPKG_CONFIG) --cflags gtest_main || die)
-		append-ldflags $(test-flags-CCLD -pthread)
-		append-libs $($(tc-getPKG_CONFIG) --libs gtest_main || die)
-		local emakeargs=(
-			{CC,CXX}="$(tc-getCXX)"
-			CXXFLAGS="${CXXFLAGS}"
-			CPPFLAGS="${CPPFLAGS}"
-			LDFLAGS="${LDFLAGS} ${LIBS}"
-		)
-		emake -C tests "${emakeargs[@]}"
-	fi
-}
-
-src_install() {
-	# note: skipping ConvertUTF, can use -DSI_CONVERT_ICU instead if needed
-	doheader SimpleIni.h
-	einstalldocs
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/simpleini/
@ 2023-12-29  3:16 Ionen Wolkens
  0 siblings, 0 replies; 4+ messages in thread
From: Ionen Wolkens @ 2023-12-29  3:16 UTC (permalink / raw
  To: gentoo-commits

commit:     2d7190383288b22de4e895fa98ef3fef4d8ebed9
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 29 03:07:19 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Dec 29 03:14:48 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d719038

dev-cpp/simpleini: add 4.21

CMakeLists.txt is now more usable (minus some quirks) and should
probably be switched to in the future. But it changes the install
location of the header and its only revdep (devilutionx) currently
cannot find it. Could be solved with a 1 line sed/patch in devilutionx
but will wait and stick to makefile for now to observe the situation.

Will reconsider next simpleini and/or devilutionx bump.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-cpp/simpleini/Manifest              |  1 +
 dev-cpp/simpleini/simpleini-4.21.ebuild | 36 +++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/dev-cpp/simpleini/Manifest b/dev-cpp/simpleini/Manifest
index e850a145f63c..fb19012e80da 100644
--- a/dev-cpp/simpleini/Manifest
+++ b/dev-cpp/simpleini/Manifest
@@ -1 +1,2 @@
 DIST simpleini-4.20.tar.gz 64807 BLAKE2B 5179fbdc1a46b352590a20bcaafa88d905d75ef3334becc03caf11f5b8c4bd3673971d688f9ec0077af3192244b29befd217dfa4ef218594f68c917698727b72 SHA512 e2518d10d63026b0fd423cbd77372b60bc693e8ec1878a91ab05364a49b48d38d8d379247a27a8ffc5582ba19e333b10996f4bf48899c06c567ae0dea067a9e3
+DIST simpleini-4.21.tar.gz 65928 BLAKE2B 92b32ff2767dc7177ddc3a61fa122cc2810d99ff4be461adb88849ce92ff242899348bc55b698a31c30440e1e02efd9226c7a2075c4080c6b90874778bbf3d0c SHA512 a2bbe879f49c8e790daf3c5b02fbf7bacb0249a6d4b8b31116602c48090dc579c3d463b1288923ecd4708647ff2b47dee739a85bb47607d249d5608b29740011

diff --git a/dev-cpp/simpleini/simpleini-4.21.ebuild b/dev-cpp/simpleini/simpleini-4.21.ebuild
new file mode 100644
index 000000000000..ccc5bfadc70d
--- /dev/null
+++ b/dev-cpp/simpleini/simpleini-4.21.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="C++ library providing a simple API to read and write INI-style files"
+HOMEPAGE="https://github.com/brofield/simpleini/"
+SRC_URI="https://github.com/brofield/simpleini/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( dev-cpp/gtest )"
+BDEPEND="test? ( virtual/pkgconfig )"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-4.20-pkgconfig-var.patch
+)
+
+src_compile() {
+	if use test; then
+		tc-export CXX PKG_CONFIG
+		emake -C tests "${emakeargs[@]}"
+	fi
+}
+
+src_install() {
+	# note: this skips ConvertUTF, can use -DSI_CONVERT_ICU instead if needed
+	emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
+	einstalldocs
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/simpleini/
@ 2023-12-29  3:24 Ionen Wolkens
  0 siblings, 0 replies; 4+ messages in thread
From: Ionen Wolkens @ 2023-12-29  3:24 UTC (permalink / raw
  To: gentoo-commits

commit:     ebe97f9d730530866a5c50b48ee6aecddeadc1fc
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 29 03:21:39 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Dec 29 03:22:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebe97f9d

dev-cpp/simpleini: add 4.22, drop 4.21

Identical release save for updating the 4.20 version in cmake
(that should've been 4.21) to 4.22. Does not affect anything
here given was not using cmake yet though.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-cpp/simpleini/Manifest                                         | 2 +-
 dev-cpp/simpleini/{simpleini-4.21.ebuild => simpleini-4.22.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/simpleini/Manifest b/dev-cpp/simpleini/Manifest
index fb19012e80da..0b95dfd23003 100644
--- a/dev-cpp/simpleini/Manifest
+++ b/dev-cpp/simpleini/Manifest
@@ -1,2 +1,2 @@
 DIST simpleini-4.20.tar.gz 64807 BLAKE2B 5179fbdc1a46b352590a20bcaafa88d905d75ef3334becc03caf11f5b8c4bd3673971d688f9ec0077af3192244b29befd217dfa4ef218594f68c917698727b72 SHA512 e2518d10d63026b0fd423cbd77372b60bc693e8ec1878a91ab05364a49b48d38d8d379247a27a8ffc5582ba19e333b10996f4bf48899c06c567ae0dea067a9e3
-DIST simpleini-4.21.tar.gz 65928 BLAKE2B 92b32ff2767dc7177ddc3a61fa122cc2810d99ff4be461adb88849ce92ff242899348bc55b698a31c30440e1e02efd9226c7a2075c4080c6b90874778bbf3d0c SHA512 a2bbe879f49c8e790daf3c5b02fbf7bacb0249a6d4b8b31116602c48090dc579c3d463b1288923ecd4708647ff2b47dee739a85bb47607d249d5608b29740011
+DIST simpleini-4.22.tar.gz 65923 BLAKE2B 22c63d089aa30b9a15644b485b4f8238e4bf5c8bffad887eff2fa738f10d5506e960dda505dc858d72795a16ed6ba20850c90796a9ec18ef3117a6330baa2a48 SHA512 6c198636816a0018adbf7f735d402c64245c6fcd540b7360d4388d46f007f3a520686cdaec4705cb8cb31401b2cb4797a80b42ea5d08a6a5807c0848386f7ca1

diff --git a/dev-cpp/simpleini/simpleini-4.21.ebuild b/dev-cpp/simpleini/simpleini-4.22.ebuild
similarity index 100%
rename from dev-cpp/simpleini/simpleini-4.21.ebuild
rename to dev-cpp/simpleini/simpleini-4.22.ebuild


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-12-29  3:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-06  4:32 [gentoo-commits] repo/gentoo:master commit in: dev-cpp/simpleini/ Ionen Wolkens
  -- strict thread matches above, loose matches on Subject: below --
2023-12-29  3:24 Ionen Wolkens
2023-12-29  3:16 Ionen Wolkens
2022-07-25 23:20 Ionen Wolkens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox