From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Pss7d-0006NL-Ee for garchives@archives.gentoo.org; Fri, 25 Feb 2011 07:29:53 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09C00E0504; Fri, 25 Feb 2011 07:29:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id AD8ACE0504 for ; Fri, 25 Feb 2011 07:29:45 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 338CF1B42A8 for ; Fri, 25 Feb 2011 07:29:45 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 1AFE880073 for ; Fri, 25 Feb 2011 07:29:44 +0000 (UTC) From: "Andreas K. Huettel" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Huettel" Message-ID: Subject: [gentoo-commits] dev/dilfridge:master commit in: sci-libs/opencascade/ X-VCS-Repository: dev/dilfridge X-VCS-Files: sci-libs/opencascade/ChangeLog sci-libs/opencascade/Manifest sci-libs/opencascade/opencascade-6.3-r3.ebuild X-VCS-Directories: sci-libs/opencascade/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Huettel X-VCS-Revision: d937473906f0d926da24d987860361ba6e2d46b4 Date: Fri, 25 Feb 2011 07:29:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 103164cd1640740a7afeda46afecefe7 commit: d937473906f0d926da24d987860361ba6e2d46b4 Author: Andreas K. Huettel (dilfridge) akhuettel de> AuthorDate: Fri Feb 25 07:30:28 2011 +0000 Commit: Andreas K. Huettel gentoo org> CommitDate: Fri Feb 25 07:30:28 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Ddev/dilfridge.git;= a=3Dcommit;h=3Dd9374739 [sci-libs/opencascade] Use java eclass; remove la files (Portage version: 2.1.9.41/git/Linux x86_64, signed Manifest commit with = key B6C5F7DE) --- sci-libs/opencascade/ChangeLog | 4 +++ sci-libs/opencascade/Manifest | 30 ++++++++++++------= ------ sci-libs/opencascade/opencascade-6.3-r3.ebuild | 16 ++++++++---- 3 files changed, 30 insertions(+), 20 deletions(-) diff --git a/sci-libs/opencascade/ChangeLog b/sci-libs/opencascade/Change= Log index cf648a8..51b9220 100644 --- a/sci-libs/opencascade/ChangeLog +++ b/sci-libs/opencascade/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ =20 + 25 Feb 2011; Andreas K. Huettel + opencascade-6.3-r3.ebuild: + Use java eclass; remove la files + 24 Feb 2011; Andreas K. Huettel opencascade-6.3-r3.ebuild: Fixed bash thinko diff --git a/sci-libs/opencascade/Manifest b/sci-libs/opencascade/Manifes= t index e6b1fd4..326a5dc 100644 --- a/sci-libs/opencascade/Manifest +++ b/sci-libs/opencascade/Manifest @@ -5,23 +5,23 @@ AUX env.ksh.template 1412 RMD160 aaf7c74e1aef841d669cf4= 4c279e747cb336fd2b SHA1 e AUX opencascade-6.3-fixed-DESTDIR.patch 16811 RMD160 4cecc900ec5b3835f7d= 6f9b14e6655e82d496d1a SHA1 298df55796e208aee3e04798d69b5079b1ea8fce SHA25= 6 84743f54bb8b8b9568b5a32b5af0384efe746d20500972c66050c3a1d5ebe814 AUX opencascade-6.3-missing-mode.patch 625 RMD160 a2c7b729a121c4b25aaa7f= 1ee3e42020af5b58f8 SHA1 b3b95a8a93a2f14513ce8222f0e3a695e9c513b5 SHA256 4= aa7338175c7b2dbbcb12eef72c61eb55ade58ad2c698c94ae16e1bc4b451e0a DIST opencascade-6.3.tgz 105877329 RMD160 b71f1b9a57d9624d2f079d4f7a8090= f700c6126f SHA1 21a177fae5fa73263517aedbe60a4ee4926156f2 SHA256 1f1fc8d8b= e1d4ff6fe8df1059f856eec156385887880f3f69d147824957c2411 -EBUILD opencascade-6.3-r3.ebuild 4805 RMD160 80600d2b4a32e82457ea6848c04= 7c4d6346813c7 SHA1 de1abc32cce3f356558db3a8c0c679f5a89c6027 SHA256 91e541= bd281e817865acedf99c1108e85a97c6ab2f3779d9cb4a113e7f13bd48 -MISC ChangeLog 3602 RMD160 8800b4c39845dd33764df166137bfe69f037d4bf SHA1= 4c7360905143468013c3e401171a046a27e19ec6 SHA256 0e365c91b2ebe0c7949835ac= 2974a8f81ac4fb1f8b722384fffd7d6c0c9aa21e +EBUILD opencascade-6.3-r3.ebuild 4857 RMD160 eb62b9abce75f43f275fd34278c= 9931e6652ecea SHA1 d78cf314cbc263a894e4a5cc277ae90bc84bb4e8 SHA256 7a0773= a9b0eb264074d2ee855534887683d00137669ab000d00c2e93a10e511a +MISC ChangeLog 3724 RMD160 374cfd52463395ab77b8634fc8a940070ae1b744 SHA1= 2961b4baeba9c536947e4f882df7171f0f087d5f SHA256 d50daebab374596788226730= 6e6026635cbdfbe4f7c15f5cba27c2eee6a154d4 MISC metadata.xml 217 RMD160 aa960d9d3f7d900bcaf1a9413f17c3662adc0820 SH= A1 a8a3016deab1f6aca4951ea86977cfe5d509b695 SHA256 756924c88548f738071c2d= 39fa7e18737b063e3b8f4376737eb88ac307571478 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) =20 -iQIcBAEBAgAGBQJNZuVvAAoJENwGBM22xffeoyMP/iPFeIRZ8klE27HAL1fyG8uK -aKttp2UDv8p3VKAZzlro/pJAyY5mYfG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2bw+RxobH09mpgo41Qe8PN7ARCWQs +5+9SdV7lKFFRFmCiIu60skHSVsymuCa+f0YPoZAM9+PCKUbCV9+VIeLRc2Ozq0X0 +mBddoWkQ1w5vaRuhTikl0ZnLx/X5YwqGi8xB+KVqM2UaIH8VRkwIAMw93D3DKzYm +PCK/ABablmQ2bRV8b9yWln1KtJky+1lAGIvY6lBlpkQ58wEVYhB+V83RqFcRTcu0 +fwZZFKvUf2nwnBmocnXYQZwYq1b0QdLnF+0lEwOPB2EoUXzbwGd2ntk3D4641cwj +temfrs8ajho0pb3xKq5b +=3Dwqq9 -----END PGP SIGNATURE----- diff --git a/sci-libs/opencascade/opencascade-6.3-r3.ebuild b/sci-libs/op= encascade/opencascade-6.3-r3.ebuild index d5f62da..a88026f 100644 --- a/sci-libs/opencascade/opencascade-6.3-r3.ebuild +++ b/sci-libs/opencascade/opencascade-6.3-r3.ebuild @@ -4,7 +4,7 @@ =20 EAPI=3D4 =20 -inherit autotools eutils check-reqs multilib +inherit autotools eutils check-reqs multilib java-pkg-opt-2 =20 DESCRIPTION=3D"Software development platform for CAD/CAE, 3D surface/sol= id modeling and data exchange" HOMEPAGE=3D"http://www.opencascade.org/" @@ -15,14 +15,15 @@ SLOT=3D"0" KEYWORDS=3D"~amd64 ~x86" IUSE=3D"debug doc examples java" =20 -DEPEND=3D"java? ( virtual/jdk ) +DEPEND=3D" virtual/opengl x11-libs/libXmu >=3Ddev-lang/tcl-8.4 >=3Ddev-lang/tk-8.4 >=3Ddev-tcltk/itcl-3.2 >=3Ddev-tcltk/itk-3.2 - >=3Ddev-tcltk/tix-8.4.2" + >=3Ddev-tcltk/tix-8.4.2 +" RDEPEND=3D${DEPEND} =20 S=3D${WORKDIR}/OpenCASCADE${PV}.0/ros @@ -30,6 +31,8 @@ S=3D${WORKDIR}/OpenCASCADE${PV}.0/ros RESTRICT=3D"bindist mirror" =20 pkg_setup() { + java-pkg-opt-2_pkg_setup + # Determine itk, itcl, tix, tk and tcl versions itk_version=3D$(grep ITK_VER /usr/include/itk.h | sed 's/^.*"\(.*\)".*/= \1/') itcl_version=3D$(grep ITCL_VER /usr/include/itcl.h | sed 's/^.*"\(.*\)"= .*/\1/') @@ -39,7 +42,6 @@ pkg_setup() { =20 INSTALL_DIR=3D/usr/$(get_libdir)/${P}/ros =20 - ewarn " It is important to note that OpenCascade is a very large packag= e. " ewarn " Please note that building OpenCascade takes a lot of time and " ewarn " hardware ressources: 3.5-4 GB free diskspace and 256 MB RAM are= " ewarn " the minimum requirements. " @@ -51,6 +53,8 @@ pkg_setup() { } =20 src_prepare() { + java-pkg-opt-2_src_prepare + # Substitute with our ready-made env.ksh script cp -f "${FILESDIR}"/env.ksh.template env.ksh || die =20 @@ -95,9 +99,11 @@ src_configure() { src_install() { emake DESTDIR=3D"${D}" install || die =20 + # .la files kill cute little kittens + find "${D}" -name '*.la' -exec rm {} + + # Symlinks for keeping original OpenCascade folder structure and # add a link lib to $(get_libdir) if we are e.g. on amd64 multilib - if [ "$(get_libdir)" !=3D "lib" ]; then dosym "$(get_libdir)" "${INSTALL_DIR}/lin/lib" fi