public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Vladimir Smirnov" <civil@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/poco/
Date: Fri, 15 Jun 2018 20:01:29 +0000 (UTC)	[thread overview]
Message-ID: <1529092495.369ceeaf4161191121b6f382ed3a16435a8698a5.civil@gentoo> (raw)

commit:     369ceeaf4161191121b6f382ed3a16435a8698a5
Author:     Vladimir Smirnov <civil <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 15 19:54:55 2018 +0000
Commit:     Vladimir Smirnov <civil <AT> gentoo <DOT> org>
CommitDate: Fri Jun 15 19:54:55 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=369ceeaf

dev-libs/poco: Bump to 1.9.0

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-libs/poco/Manifest          |   1 +
 dev-libs/poco/poco-1.9.0.ebuild | 115 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 116 insertions(+)

diff --git a/dev-libs/poco/Manifest b/dev-libs/poco/Manifest
index a7555b63be0..11f74b01b3c 100644
--- a/dev-libs/poco/Manifest
+++ b/dev-libs/poco/Manifest
@@ -1,3 +1,4 @@
 DIST poco-1.4.6-all-doc.zip 2072762 BLAKE2B 51b8426d050e7ae373fbb0f3959657e37f1c3aeda75f5bf5cd3dc99e08414a9e65f61ea71dee6d8c40148f41157e2eac0888e64c5020707352c74b262ffae741 SHA512 458e1a3c6a6017b5ae5efcbd0d7b2bbf50aedd6ddc7ae7befddac07ed133b7243208aadd6ecdb17b3fa273e04eb0da4d73b1d3e5591aee98b754e430b2248e52
 DIST poco-1.4.6p4-all.tar.bz2 3158594 BLAKE2B 76accf617ddd087131a5960c131680451959704fee4b17b65bf85367a172d2fe023c9c7efde59fe5bd4142c7ca153734fb4ccbbf06bd5d0365a59d6e75a328a5 SHA512 ae4e1190a0ba719f807d0abaf1c47ff445a8f5867157f209260672546f3755ff021c7073bc8d5e656be383d5667dc15ad7eae8208728053fb61439c4c80a7fca
 DIST poco-1.7.6.tar.gz 8044937 BLAKE2B ad9bf61eb00ce4e1ef5079e07be04ceff79bf823cba49ffb0e144a1e579d9de4f6f8d3df6b629c522de5c2b7b4c7df0933777686b72190d717e407bc28ae2a49 SHA512 a02b7ff66acf080942517b3b8644d6e5c7136c5edc6e58fd13083a74b97b5619253fc9db7863284a565226f95410ad4da1fa9738d14885f560aeb03c1f7c18aa
+DIST poco-1.9.0.tar.gz 10012966 BLAKE2B 98848e87008c71dc5131dbd1c2b17afc414074a3e26237918baf231b4e56ce3d69347cf7a3017715895f4ee56a428672fcb804fb3c732da0000ccc9790b0081d SHA512 de2346d62b2e89ba04abe62a83f6ede7a496e80bcbe53a880a1aa8e87a8ebd9a430dd70fdc6aada836bb1021c6df21375fd0cbcf62dbb6e29a2f65d6d90cf2b9

diff --git a/dev-libs/poco/poco-1.9.0.ebuild b/dev-libs/poco/poco-1.9.0.ebuild
new file mode 100644
index 00000000000..b6b741001ba
--- /dev/null
+++ b/dev-libs/poco/poco-1.9.0.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="C++ libraries for building network-based applications"
+HOMEPAGE="http://pocoproject.org/"
+SRC_URI="https://github.com/pocoproject/${PN}/archive/${P}-release.tar.gz -> ${P}.tar.gz"
+LICENSE="Boost-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="7z apache cppparser +crypto +data examples +file2pagecompiler +json +pagecompiler iodbc libressl +mongodb mysql +net odbc pdf pocodoc sqlite +ssl test +util +xml +zip"
+REQUIRED_USE="7z? ( xml )
+	apache? ( net util )
+	file2pagecompiler? ( pagecompiler )
+	iodbc? ( odbc )
+	mongodb? ( data )
+	mysql? ( data )
+	odbc? ( data )
+	pagecompiler? ( json net util xml )
+	pocodoc? ( cppparser util xml )
+	sqlite? ( data )
+	test? ( data? ( sqlite ) json util xml )"
+
+RDEPEND=">=dev-libs/libpcre-8.13
+	xml? ( dev-libs/expat )
+	apache? ( dev-libs/apr
+		dev-libs/apr-util
+		www-servers/apache )
+	mysql? ( virtual/mysql )
+	odbc? ( iodbc? ( dev-db/libiodbc )
+		!iodbc? ( dev-db/unixODBC ) )
+	ssl? (
+		!libressl? ( <dev-libs/openssl-1.1.0:0 )
+		libressl? ( dev-libs/libressl )
+	)
+	sqlite? ( dev-db/sqlite:3 )
+	zip? ( sys-libs/zlib )"
+DEPEND="${DEPEND}
+	virtual/pkgconfig"
+
+S="${WORKDIR}/${PN}-${P}-release"
+
+PATCHES=( "${FILESDIR}/${PN}-1.7.2-iodbc-incdir.patch" )
+
+src_prepare() {
+	if use test ; then
+		# ignore missing tests on experimental library
+		# and tests requiring running DB-servers, internet connections, etc.
+		sed -i \
+			-e '/testsuite/d' \
+			{Data/{MySQL,ODBC},MongoDB,Net,NetSSL_OpenSSL,PDF}/CMakeLists.txt || die
+		# Poco expands ~ using passwd, which does not match $HOME in the build environment
+		sed -i \
+			-e '/CppUnit_addTest.*testExpand/d' \
+			Foundation/testsuite/src/PathTest.cpp || die
+		# ignore failing Crypto test since upstream does not seem to care,
+		# see https://github.com/pocoproject/poco/issues/1209
+		sed -i \
+			-e '/RSATest, testRSACipherLarge/d' \
+			Crypto/testsuite/src/RSATest.cpp || die
+	fi
+
+	cmake-utils_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DPOCO_UNBUNDLED=ON
+		-DENABLE_APACHECONNECTOR="$(usex apache)"
+		-DENABLE_CPPPARSER="$(usex cppparser)"
+		-DENABLE_CRYPTO="$(usex ssl)"
+		-DENABLE_DATA="$(usex data)"
+		-DENABLE_DATA_MYSQL="$(usex mysql)"
+		-DENABLE_DATA_ODBC="$(usex odbc)"
+		-DENABLE_DATA_SQLITE="$(usex sqlite)"
+		-DENABLE_JSON="$(usex util)"
+		-DENABLE_MONGODB="$(usex mongodb)"
+		-DENABLE_NET="$(usex net)"
+		-DENABLE_NETSSL="$(usex ssl)"
+		-DENABLE_NETSSL_WIN=OFF
+		-DENABLE_PAGECOMPILER="$(usex pagecompiler)"
+		-DENABLE_PAGECOMPILER_FILE2PAGE="$(usex file2pagecompiler)"
+		-DENABLE_PDF="$(usex pdf)"
+		-DENABLE_POCODOC="$(usex pocodoc)"
+		-DENABLE_SEVENZIP="$(usex 7z)"
+		-DENABLE_TESTS="$(usex test)"
+		-DENABLE_UTIL="$(usex util)"
+		-DENABLE_XML="$(usex xml)"
+		-DENABLE_ZIP="$(usex zip)"
+	)
+
+	if ! use iodbc ; then
+		sed -i -e 's|iodbc||' cmake/FindODBC.cmake || die
+	fi
+
+	cmake-utils_src_configure
+}
+
+src_install() {
+	cmake-utils_src_install
+
+	if use examples ; then
+		for sd in */samples ; do
+			insinto /usr/share/doc/${PF}/examples/${sd%/samples}
+			doins -r ${sd}
+		done
+		find "${D}/usr/share/doc/${PF}/examples" \
+			-iname "*.sln" -or -iname "*.vcproj" -or \
+			-iname "*.vmsbuild" -or -iname "*.properties" \
+			| xargs rm
+	fi
+}


             reply	other threads:[~2018-06-15 20:01 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-15 20:01 Vladimir Smirnov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-11 17:58 [gentoo-commits] repo/gentoo:master commit in: dev-libs/poco/ Sam James
2024-06-11 17:58 Sam James
2024-06-11 17:18 Sam James
2024-06-11 17:18 Sam James
2024-06-11 16:54 Sam James
2024-05-10  6:20 Arthur Zamarin
2024-05-10  6:20 Arthur Zamarin
2024-05-10  6:20 Arthur Zamarin
2024-01-15  3:32 Ionen Wolkens
2023-12-14  4:15 Sam James
2023-10-05 14:33 Joonas Niilola
2023-08-15 12:17 Joonas Niilola
2023-07-26  5:16 Joonas Niilola
2023-07-26  5:16 Joonas Niilola
2023-07-25 18:14 Arthur Zamarin
2022-12-24  8:59 Andreas Sturmlechner
2022-12-18  4:20 Sam James
2022-12-18  4:20 Sam James
2022-11-15  8:46 Sam James
2022-11-15  8:46 Sam James
2022-11-15  8:46 Sam James
2022-10-25 18:48 Arthur Zamarin
2022-10-25 18:48 Arthur Zamarin
2022-10-24  7:12 Joonas Niilola
2022-10-12 19:22 Sam James
2022-10-10 13:18 Joonas Niilola
2022-10-10 13:18 Joonas Niilola
2022-09-05 14:36 Jakov Smolić
2022-06-23  9:23 Joonas Niilola
2022-06-23  9:23 Joonas Niilola
2022-05-10 19:53 Florian Schmaus
2022-05-06  7:47 Sam James
2022-02-14 20:45 Sam James
2022-02-14  0:55 Sam James
2021-10-10 23:17 Sam James
2021-06-03 22:52 Sam James
2021-06-02 19:01 Sam James
2021-05-02 15:38 Mikle Kolyada
2020-11-24  3:47 Sam James
2019-10-11 18:28 Andreas Sturmlechner
2019-10-10 18:57 Andreas Sturmlechner
2019-07-17 13:59 Agostino Sarubbo
2019-07-16 10:21 Hans de Graaff
2019-07-16 10:21 Hans de Graaff
2019-04-07 21:45 Mikle Kolyada
2019-03-24 10:01 Agostino Sarubbo
2019-03-23 12:25 Pacho Ramos
2019-03-23 12:25 Pacho Ramos
2019-02-10  3:00 Brian Evans
2019-01-07 19:15 Lars Wendler
2018-11-22 23:16 Michał Górny
2018-06-23 21:55 Aaron Bauman
2018-04-13 23:22 Aaron Bauman
2015-10-05  8:45 Julian Ospald

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=1529092495.369ceeaf4161191121b6f382ed3a16435a8698a5.civil@gentoo \
    --to=civil@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