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 A33441382C5 for ; Sun, 6 May 2018 08:02:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AA047E084A; Sun, 6 May 2018 08:02:58 +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 768FEE084A for ; Sun, 6 May 2018 08:02:58 +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 37D42335C8C for ; Sun, 6 May 2018 08:02:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 21A8041 for ; Sun, 6 May 2018 08:02:55 +0000 (UTC) From: "Maciej Mrozowski" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Mrozowski" Message-ID: <1525593730.04543ee0267931b25ff408d04e3b9c9a99d5bb7d.reavertm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/coin/, media-libs/coin/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/coin/Manifest media-libs/coin/coin-4.0.0a_pre20180416.ebuild media-libs/coin/files/coin-4.0.0a-gcc-7.patch media-libs/coin/metadata.xml X-VCS-Directories: media-libs/coin/files/ media-libs/coin/ X-VCS-Committer: reavertm X-VCS-Committer-Name: Maciej Mrozowski X-VCS-Revision: 04543ee0267931b25ff408d04e3b9c9a99d5bb7d X-VCS-Branch: master Date: Sun, 6 May 2018 08:02:55 +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: a0eee67d-168b-4a43-885f-bb945e74a5ca X-Archives-Hash: 793ea6f83f53f7d91f551b6ab24e4085 commit: 04543ee0267931b25ff408d04e3b9c9a99d5bb7d Author: Maciej Mrozowski gentoo org> AuthorDate: Sun May 6 07:57:54 2018 +0000 Commit: Maciej Mrozowski gentoo org> CommitDate: Sun May 6 08:02:10 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04543ee0 media-libs/coin: Version bump 4.0.0a (SCM snapshot) media-libs/coin/Manifest | 1 + media-libs/coin/coin-4.0.0a_pre20180416.ebuild | 84 ++++++++++++++++++++++++++ media-libs/coin/files/coin-4.0.0a-gcc-7.patch | 21 +++++++ media-libs/coin/metadata.xml | 1 + 4 files changed, 107 insertions(+) diff --git a/media-libs/coin/Manifest b/media-libs/coin/Manifest index cc20a719a7d..3b1f98ce483 100644 --- a/media-libs/coin/Manifest +++ b/media-libs/coin/Manifest @@ -1 +1,2 @@ DIST Coin-3.1.3.tar.gz 5981534 BLAKE2B 33f88149cf0bf7daeb32226e2deb29f9f36f2a29ca9fcf025f39bb50d3eb0bfc85113a1e96cf980c97d037419c3a263bcf6eccaeb2f289517304c59d4c9de919 SHA512 d6fd47ecc74e96fc4de46e3a683f038f1907b96db2bbe935fb49f2d59190bd18f3f439dc0e4cb435360e74e1d65994a32b21f670d5a76394692616625cb14394 +DIST Coin3D-coin-8d1ca1a6ea23.tar.bz2 4925310 BLAKE2B 3c9aab5e68b79db4878e5d27773537acb7d658580a8deea059565dfa78ee791cb7ee23f159e077408c3307e2647e628357daaa4f2f5a4fc4a125c8d1663ee718 SHA512 f0c4d39a89b1dc3e183c2c8cffad6be30f9d27e50b3735c1b261addc55376aceb8f81c916fbdfeb42b852071692febaf6e3839373095bcf2b7046c773fcc809c diff --git a/media-libs/coin/coin-4.0.0a_pre20180416.ebuild b/media-libs/coin/coin-4.0.0a_pre20180416.ebuild new file mode 100644 index 00000000000..da490ba09d2 --- /dev/null +++ b/media-libs/coin/coin-4.0.0a_pre20180416.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils flag-o-matic + +MY_P=Coin3D-coin-8d1ca1a6ea23 + +DESCRIPTION="A high-level 3D graphics toolkit, fully compatible with SGI Open Inventor 2.1" +HOMEPAGE="https://bitbucket.org/Coin3D/coin/wiki/Home" +SRC_URI="https://dev.gentoo.org/~reavertm/${MY_P}.tar.bz2" + +LICENSE="|| ( GPL-2 PEL )" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +SLOT="0" +IUSE="debug doc javascript openal qthelp simage test threads" + +RDEPEND=" + app-arch/bzip2 + dev-libs/expat + media-libs/fontconfig + media-libs/freetype:2 + sys-libs/zlib + virtual/opengl + virtual/glu + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXext + javascript? ( dev-lang/spidermonkey:0 ) + openal? ( media-libs/openal ) + simage? ( media-libs/simage ) +" +DEPEND="${RDEPEND} + x11-proto/xextproto + doc? ( + app-doc/doxygen + qthelp? ( dev-qt/qthelp:5 ) + ) +" +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}"/${PN}-4.0.0a-gcc-7.patch +) + +DOCS=( + AUTHORS FAQ FAQ.legal NEWS README RELNOTES THANKS docs/HACKING +) + +src_configure() { + use debug && append-cppflags -DCOIN_DEBUG=1 + + local mycmakeargs=( + -DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}" + -DCOIN_BUILD_DOCUMENTATION=$(usex doc) + -DCOIN_BUILD_SHARED_LIBS=ON + -DCOIN_BUILD_SINGLE_LIB=ON + -DCOIN_BUILD_TESTS=$(usex test) + -DCOIN_HAVE_JAVASCRIPT=$(usex javascript) + -DCOIN_MULTIPLE_VERSION=OFF + -DCOIN_QT_HELP=$(usex doc) + -DCOIN_THREADSAFE=$(usex threads) + -DCOIN_VERBOSE=$(usex debug) + -DHAVE_3DS_IMPORT_CAPABILITIES=ON + -DHAVE_DRAGGERS=ON + -DHAVE_MAN=OFF + -DHAVE_MANIPULATORS=ON + -DHAVE_NODEKITS=ON + -DHAVE_SOUND=$(usex openal) + -DHAVE_VRML97=ON + -DSIMAGE_RUNTIME_LINKING=OFF + -DUSE_EXTERNAL_EXPAT=ON + ) + + cmake-utils_src_configure +} + +src_test() { + pushd "${BUILD_DIR}/testsuite" > /dev/null || die + ./CoinTests || die "Tests failed." + popd > /dev/null || die +} diff --git a/media-libs/coin/files/coin-4.0.0a-gcc-7.patch b/media-libs/coin/files/coin-4.0.0a-gcc-7.patch new file mode 100644 index 00000000000..89829b59b27 --- /dev/null +++ b/media-libs/coin/files/coin-4.0.0a-gcc-7.patch @@ -0,0 +1,21 @@ +diff -ruN Coin3D-coin-8d1ca1a6ea23/src/3ds/SoStream.cpp my/src/3ds/SoStream.cpp +--- Coin3D-coin-8d1ca1a6ea23/src/3ds/SoStream.cpp 2018-04-16 23:14:36.000000000 +0200 ++++ my/src/3ds/SoStream.cpp 2018-05-06 06:56:42.104728484 +0200 +@@ -185,7 +185,7 @@ + if (!gotNum) { setBadBit(); return FALSE; } \ + \ + char *ce; \ +- *s = '\0'; \ ++ *s = NULL; \ + _convertType_ tempVal = _convertFunc_(buf, &ce, 0); \ + \ + if (ce != s) \ +@@ -282,7 +282,7 @@ + gotAll: \ + \ + char *ce; \ +- *s = '\0'; \ ++ *s = NULL; \ + double tempVal = _convertFunc_(buf, &ce); \ + \ + if (ce != s) \ diff --git a/media-libs/coin/metadata.xml b/media-libs/coin/metadata.xml index b9eaa9f2655..aa4affdefe9 100644 --- a/media-libs/coin/metadata.xml +++ b/media-libs/coin/metadata.xml @@ -5,6 +5,7 @@ reavertm@gentoo.org + Build API documentation in QtHelp format Texture loading via media-libs/simage library