public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sebastian Pipping" <sping@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/xmlrpc-c/
Date: Mon, 31 Mar 2025 21:59:39 +0000 (UTC)	[thread overview]
Message-ID: <1743458330.b1d0974c1fdaab1287bf7b80faf64208c5a1a846.sping@gentoo> (raw)

commit:     b1d0974c1fdaab1287bf7b80faf64208c5a1a846
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 31 21:50:43 2025 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Mon Mar 31 21:58:50 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1d0974c

dev-libs/xmlrpc-c: Support USE="-static-libs"

Closes: https://bugs.gentoo.org/891479
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>

 dev-libs/xmlrpc-c/xmlrpc-c-1.59.03-r1.ebuild | 87 ++++++++++++++++++++++++++++
 1 file changed, 87 insertions(+)

diff --git a/dev-libs/xmlrpc-c/xmlrpc-c-1.59.03-r1.ebuild b/dev-libs/xmlrpc-c/xmlrpc-c-1.59.03-r1.ebuild
new file mode 100644
index 000000000000..2ea2c0ec4eaf
--- /dev/null
+++ b/dev-libs/xmlrpc-c/xmlrpc-c-1.59.03-r1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs
+
+# Upstream maintains 3 release channels: https://xmlrpc-c.sourceforge.net/release.html
+# 1. Only the "Super Stable" series is released as a tarball
+# 2. SVN tagging of releases seems spotty: https://svn.code.sf.net/p/xmlrpc-c/code/release_number/
+# Because of this, we are following the "Super Stable" release channel
+
+DESCRIPTION="A lightweight RPC library based on XML and HTTP"
+HOMEPAGE="https://xmlrpc-c.sourceforge.net/"
+SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tgz"
+
+LICENSE="BSD"
+SLOT="0/4.59"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris"
+IUSE="abyss +cgi +curl +cxx +libxml2 static-libs threads test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="test? ( abyss curl cxx )"
+
+RDEPEND="
+	dev-libs/openssl:=
+	sys-libs/ncurses:=
+	sys-libs/readline:=
+	curl? ( net-misc/curl )
+	libxml2? ( dev-libs/libxml2 )
+"
+DEPEND="${RDEPEND}"
+
+# configure calls curl-config, hence curl in BDEPEND
+BDEPEND="
+	virtual/pkgconfig
+	curl? ( net-misc/curl )
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.51.06-pkg-config-libxml2.patch
+	"${FILESDIR}"/${PN}-1.51.06-pkg-config-openssl.patch
+)
+
+pkg_setup() {
+	use curl || ewarn "Curl support disabled: No client library will be built"
+}
+
+src_prepare() {
+	default
+
+	sed -i \
+		-e "/CFLAGS_COMMON/s|-g -O3$||" \
+		-e "/CXXFLAGS_COMMON/s|-g$||" \
+		common.mk || die
+	eautoconf
+}
+
+src_configure() {
+	tc-export PKG_CONFIG
+
+	econf \
+		--disable-libwww-client \
+		--disable-wininet-client \
+		--without-libwww-ssl \
+		$(use_enable abyss abyss-server) \
+		$(use_enable cgi cgi-server) \
+		$(use_enable curl curl-client) \
+		$(use_enable cxx cplusplus) \
+		$(use_enable libxml2 libxml2-backend) \
+		$(use_enable threads abyss-threads)
+}
+
+src_compile() {
+	default
+
+	# Tools building is broken in this release
+	#use tools && emake -rC "${S}"/tools
+}
+
+src_install() {
+	default
+
+	use static-libs || find "${D}" -type f -name \*.a -delete
+
+	# Tools building is broken in this release
+	#use tools && emake DESTDIR="${D}" -rC "${S}"/tools install
+}


             reply	other threads:[~2025-03-31 21:59 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-31 21:59 Sebastian Pipping [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-30 22:13 [gentoo-commits] repo/gentoo:master commit in: dev-libs/xmlrpc-c/ Sam James
2025-04-26  1:25 Sam James
2025-04-26  0:46 Sam James
2025-04-26  0:39 Sam James
2025-04-26  0:32 Sam James
2025-04-26  0:32 Sam James
2024-11-22 21:15 Sam James
2024-11-22 21:15 Sam James
2024-11-21 16:24 Sam James
2024-06-29 14:09 Arthur Zamarin
2024-01-18 19:04 Arthur Zamarin
2023-01-20 12:58 Sergey Popov
2022-11-18 18:07 Arthur Zamarin
2022-11-18 18:05 Arthur Zamarin
2022-11-18 18:05 Arthur Zamarin
2022-11-18 18:05 Arthur Zamarin
2022-10-29  8:54 Jakov Smolić
2022-10-29  8:54 Jakov Smolić
2022-10-28 18:50 Sam James
2022-10-28 18:50 Sam James
2022-09-06  6:46 Sam James
2022-04-25  6:29 Jakov Smolić
2022-04-11  7:46 Sergey Popov
2022-03-31  7:59 Sergey Popov
2022-03-31  7:52 Sergey Popov
2021-02-24 20:25 Sam James
2021-02-19 20:02 Sam James
2021-02-06  0:04 Sam James
2021-02-06  0:02 Sam James
2021-01-13 19:28 Sergei Trofimovich
2021-01-11 19:20 Sam James
2021-01-11 12:07 Sergey Popov
2021-01-06 19:34 Fabian Groffen
2020-12-27 14:21 Fabian Groffen
2020-12-08 10:49 Sergey Popov
2020-12-05 15:06 Sergey Popov
2020-07-10 18:50 Sam James
2020-02-16  8:52 Sergey Popov
2017-05-23  7:28 Sergey Popov
2017-05-06 13:14 Markus Meier
2017-04-30  9:37 Agostino Sarubbo
2017-04-30  8:42 Jeroen Roovers
2017-04-27 11:23 Agostino Sarubbo
2017-04-27 10:14 Agostino Sarubbo
2017-01-29 16:19 Fabian Groffen
2016-11-22 17:18 Patrice Clement
2015-09-02 16:30 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1743458330.b1d0974c1fdaab1287bf7b80faf64208c5a1a846.sping@gentoo \
    --to=sping@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox