From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A2D241396D0 for ; Thu, 10 Aug 2017 07:26:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E33F41FC007; Thu, 10 Aug 2017 07:26:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AE6711FC007 for ; Thu, 10 Aug 2017 07:26:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 60DD2341828 for ; Thu, 10 Aug 2017 07:26:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CBAF83E99 for ; Thu, 10 Aug 2017 07:26:22 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1502349978.f3c576bdbd7d59250f9316b090a4339e5aa6b4ce.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/protobuf-c/, dev-libs/protobuf-c/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/protobuf-c/Manifest dev-libs/protobuf-c/files/protobuf-c-1.3.0-no-build-tests.patch dev-libs/protobuf-c/protobuf-c-1.3.0.ebuild X-VCS-Directories: dev-libs/protobuf-c/files/ dev-libs/protobuf-c/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: f3c576bdbd7d59250f9316b090a4339e5aa6b4ce X-VCS-Branch: master Date: Thu, 10 Aug 2017 07:26:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: af9192ae-8ab6-44b9-94cb-ff581677faf8 X-Archives-Hash: f6381ef2065125f4d64821f2bc8bc47e commit: f3c576bdbd7d59250f9316b090a4339e5aa6b4ce Author: Lars Wendler gentoo org> AuthorDate: Thu Aug 10 07:07:34 2017 +0000 Commit: Lars Wendler gentoo org> CommitDate: Thu Aug 10 07:26:18 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3c576bd dev-libs/protobuf-c: Bump to version 1.3.0 Package-Manager: Portage-2.3.6, Repoman-2.3.3 dev-libs/protobuf-c/Manifest | 1 + .../files/protobuf-c-1.3.0-no-build-tests.patch | 30 +++++++++++++++++ dev-libs/protobuf-c/protobuf-c-1.3.0.ebuild | 39 ++++++++++++++++++++++ 3 files changed, 70 insertions(+) diff --git a/dev-libs/protobuf-c/Manifest b/dev-libs/protobuf-c/Manifest index 517b3d7789f..b4c38ffda63 100644 --- a/dev-libs/protobuf-c/Manifest +++ b/dev-libs/protobuf-c/Manifest @@ -1,3 +1,4 @@ DIST protobuf-c-1.0.2.tar.gz 449923 SHA256 db771f7b0e76d5bb14140a50df4a32553288fd3e701b60e90e034e22f411ef76 SHA512 d748712f4216015802ffeff1072266da98ba9d9a4dfdaecd1c1b9d76f15403112b5cc2563a54390653c5eb82d7b51caf4c1f595cf1287bcbb123efb646e12f33 WHIRLPOOL 7a18446fc7ea27c10cbc0393f96859f237fcf29c962e982270b8f4cd10e27366b42cc38d418e973d4295e41e7da522fc577df296063e8f723a51415a6783d48d DIST protobuf-c-1.1.1.tar.gz 454913 SHA256 09c5bb187b7a8e86bc0ff860f7df86370be9e8661cdb99c1072dcdab0763562c SHA512 9eeb3165ca53c57091503866e2600d675e03d79c22dbd41bd3c4ebf8e569ed147f0b832e8b68dcdaece2f151798e7e0589fdf975e9a04fae9904991e89ea0465 WHIRLPOOL 4e117812916d5f54432edc01437e5c4a35dd953f2da2a94d312ee8ebfba1523e74c13012120532cd1d7bd90a0f0717804e53366f128bd8fc909fffd271044e4f DIST protobuf-c-1.2.1.tar.gz 458614 SHA256 846eb4846f19598affdc349d817a8c4c0c68fd940303e6934725c889f16f00bd SHA512 032b82dde333e286a3aff1a621be9e497122d38ce8f337275842a55be083232605387a516cfd4b9a09f8f7caf8817c14e596570352bc6ae495c3a3f15ac00959 WHIRLPOOL f87dc4dd6b7c6a5de964790369aeb88ac4c97f27aaad131b817771374f767cd2967bbf71c91910fe962a8d009fab52d5777b0096ecc0818f720550f3ffdeb06e +DIST protobuf-c-1.3.0.tar.gz 488443 SHA256 5dc9ad7a9b889cf7c8ff6bf72215f1874a90260f60ad4f88acf21bb15d2752a1 SHA512 ba49bf45a9ae93d41f200f4f18c4f9469c63fcc2a2392b3b45f083c378a6876891890448ceba216083ad351aa35f4669cd920973f53e5780de9ec4c8f61279bb WHIRLPOOL 915cb9ace5254721ab0dce009505d0c093032f28d7501fe5cfa4051a7a0b901cfbea8a81bba20c63962514196b24175b9854f27a1a614ac71bc0cdf3f4b22df6 diff --git a/dev-libs/protobuf-c/files/protobuf-c-1.3.0-no-build-tests.patch b/dev-libs/protobuf-c/files/protobuf-c-1.3.0-no-build-tests.patch new file mode 100644 index 00000000000..55116c67e41 --- /dev/null +++ b/dev-libs/protobuf-c/files/protobuf-c-1.3.0-no-build-tests.patch @@ -0,0 +1,30 @@ +https://bugs.gentoo.org/518440 + +avoid compiling tests when we aren't actually testing, especially since it +requires a compiler to execute which fails when cross-compiling + +--- protobuf-c-1.3.0/Makefile.am ++++ protobuf-c-1.3.0/Makefile.am +@@ -150,7 +150,7 @@ + t_generated_code2_test_generated_code2_LDADD = \ + protobuf-c/libprotobuf-c.la + +-noinst_PROGRAMS += \ ++check_PROGRAMS += \ + t/generated-code2/cxx-generate-packed-data + + t_generated_code2_cxx_generate_packed_data_SOURCES = \ +@@ -178,13 +178,6 @@ + t/generated-code2/test-full-cxx-output.inc: t/generated-code2/cxx-generate-packed-data$(EXEEXT) + $(AM_V_GEN)$(top_builddir)/t/generated-code2/cxx-generate-packed-data$(EXEEXT) > $(top_builddir)/t/generated-code2/test-full-cxx-output.inc + +-BUILT_SOURCES += \ +- t/test.pb-c.c t/test.pb-c.h \ +- t/test-full.pb-c.c t/test-full.pb-c.h \ +- t/test-optimized.pb-c.c t/test-optimized.pb-c.h \ +- t/test-full.pb.cc t/test-full.pb.h \ +- t/generated-code2/test-full-cxx-output.inc +- + if BUILD_PROTO3 + + check_PROGRAMS += \ diff --git a/dev-libs/protobuf-c/protobuf-c-1.3.0.ebuild b/dev-libs/protobuf-c/protobuf-c-1.3.0.ebuild new file mode 100644 index 00000000000..4e24a882515 --- /dev/null +++ b/dev-libs/protobuf-c/protobuf-c-1.3.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools multilib-minimal + +MY_PV="${PV/_/-}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="Protocol Buffers implementation in C" +HOMEPAGE="https://github.com/protobuf-c/protobuf-c/" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}.tar.gz" + +LICENSE="BSD-2" +# Subslot == SONAME version +SLOT="0/1.0.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="static-libs test" + +RDEPEND=">=dev-libs/protobuf-2.6.0:0=[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + test? ( ${AUTOTOOLS_DEPEND} ) + virtual/pkgconfig[${MULTILIB_USEDEP}]" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + if ! use test ; then + eapply "${FILESDIR}"/${PN}-1.3.0-no-build-tests.patch + eautoreconf + fi +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" \ + econf "${myeconfargs[@]}" +}