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 <gentoo-commits+bounces-425934-garchives=archives.gentoo.org@lists.gentoo.org>) id 1RwRnF-0005Hp-BT for garchives@archives.gentoo.org; Sun, 12 Feb 2012 05:16:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3CD10E04D2; Sun, 12 Feb 2012 05:15:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E9AE1E04D2 for <gentoo-commits@lists.gentoo.org>; Sun, 12 Feb 2012 05:15:58 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0A7571B4006 for <gentoo-commits@lists.gentoo.org>; Sun, 12 Feb 2012 05:15:58 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id B182AE5400 for <gentoo-commits@lists.gentoo.org>; Sun, 12 Feb 2012 05:15:55 +0000 (UTC) From: "Dongxu Li" <dongxuli2011@gmail.com> To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Dongxu Li" <dongxuli2011@gmail.com> Message-ID: <ed3aaf4dcdbc10e97a5382e8c162a7af5f3f451d.dongxuli@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: media-gfx/brlcad/ X-VCS-Repository: proj/sci X-VCS-Files: media-gfx/brlcad/ChangeLog media-gfx/brlcad/brlcad-7.20.2.ebuild media-gfx/brlcad/brlcad-7.20.4.ebuild X-VCS-Directories: media-gfx/brlcad/ X-VCS-Committer: dongxuli X-VCS-Committer-Name: Dongxu Li X-VCS-Revision: ed3aaf4dcdbc10e97a5382e8c162a7af5f3f451d Date: Sun, 12 Feb 2012 05:15:55 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 1f6a62e4-01dd-4ff3-a3f3-9f8e9f557adc X-Archives-Hash: a928e8cdc916adb29aada0027f7a3ad1 commit: ed3aaf4dcdbc10e97a5382e8c162a7af5f3f451d Author: Dongxu Li <dongxuli2011 <AT> gmail <DOT> com> AuthorDate: Sun Feb 12 05:15:36 2012 +0000 Commit: Dongxu Li <dongxuli2011 <AT> gmail <DOT> com> CommitDate: Sun Feb 12 05:15:36 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3Ded3aaf4d media-gfx/brlcad: removed old version --- media-gfx/brlcad/ChangeLog | 7 ++- media-gfx/brlcad/brlcad-7.20.2.ebuild | 97 ---------------------------= ------ media-gfx/brlcad/brlcad-7.20.4.ebuild | 4 +- 3 files changed, 7 insertions(+), 101 deletions(-) diff --git a/media-gfx/brlcad/ChangeLog b/media-gfx/brlcad/ChangeLog index a360494..5094a8a 100644 --- a/media-gfx/brlcad/ChangeLog +++ b/media-gfx/brlcad/ChangeLog @@ -4,8 +4,11 @@ =20 *brlcad-7.20.2 (15 Jul 2011) =20 - 11 Feb 2012; Dongxu Li <dongxuli2011@gmail.com> brlcad-9999.ebuild: - Fixed building error + 12 Feb 2012; Dongxu Li <dongxuli2011@gmail.com> -brlcad-7.20.2.ebuild = brlcad-7.20.4.ebuild: + Removed 7.20.2 for building issues. Fixed 7.20.4 for as-needed + + 11 Feb 2012; Dongxu Li <dongxuli2011@gmail.com> brlcad-7.20.4.ebuild: + fixed as-needed filtering =20 5 Feb 2012; Dongxu Li <dongxuli2011@gmail.com> brlcad-9999.ebuild: Use system libraries diff --git a/media-gfx/brlcad/brlcad-7.20.2.ebuild b/media-gfx/brlcad/brl= cad-7.20.2.ebuild deleted file mode 100644 index f554089..0000000 --- a/media-gfx/brlcad/brlcad-7.20.2.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/brlcad/brlcad-7.18.4.ebuild= ,v 1.1 2011/04/18 22:47:37 dilfridge Exp $ - -EAPI=3D3 -inherit eutils java-pkg-opt-2 - -DESCRIPTION=3D"Constructive solid geometry modeling system" -HOMEPAGE=3D"http://brlcad.org/" -SRC_URI=3D"mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE=3D"LGPL-2 BSD" -SLOT=3D"0" -KEYWORDS=3D"~amd64 ~x86" -IUSE=3D"benchmarks debug doc examples java opengl smp" - -RDEPEND=3D"media-libs/libpng - sys-libs/zlib - >=3Dsci-libs/tnt-3 - sci-libs/jama - =3Ddev-tcltk/itcl-3.4* - =3Ddev-tcltk/itk-3.4* - dev-tcltk/iwidgets - dev-tcltk/tkimg - dev-tcltk/tkpng - sys-libs/libtermcap-compat - media-libs/urt - x11-libs/libXt - x11-libs/libXi - java? ( >=3Dvirtual/jre-1.5 )" - -DEPEND=3D"${RDEPEND} - sys-devel/bison - sys-devel/flex - java? ( >=3Dvirtual/jdk-1.5 ) - doc? ( dev-libs/libxslt )" - -BRLCAD_DIR=3D"${EPREFIX}/usr/${PN}" -src_prepare() { - epatch "${FILESDIR}/${PN}-7.18.4-libpng15.patch" -} - -src_configure() { - local myconf=3D"--without-jdk" - use java && myconf=3D"--with-jdk=3D$(java-config -O)" - - econf \ - --disable-strict-build \ - --prefix=3D"${BRLCAD_DIR}" \ - --datadir=3D"${BRLCAD_DIR}/share" \ - --mandir=3D"${BRLCAD_DIR}/man" \ - --disable-almost-everything \ - --disable-regex-build \ - --disable-png-build \ - --disable-zlib-build \ - --disable-urt-build \ - --disable-tcl-build \ - --disable-tk-build \ - --disable-itcl-build \ - --disable-tkimg-build \ - --disable-jove-build \ - --disable-tnt-install \ - --disable-iwidgets-install \ - --enable-opennurbs-build \ - --with-ldflags=3D"-L${EPREFIX}/usr/$(get_libdir)/itcl3.4 -L${EPREFIX}/= usr/$(get_libdir)/itk3.4" \ - --with-x \ - --with-x11 \ - $(use_enable debug) \ - $(use_enable debug optimization) \ - $(use_enable debug runtime-debug) \ - $(use_enable debug verbose) \ - $(use_enable debug warnings) \ - $(use_enable debug progress) \ - $(use_enable doc documentation) \ - $(use_enable examples models-install) \ - $(use_enable smp parallel) \ - $(use_with opengl ogl) \ - ${myconf} -} - -src_test() { - emake check || die "emake check failed" - if use benchmarks; then - emake benchmark || die "emake benchmark failed" - fi -} - -src_install() { - emake DESTDIR=3D"${D}" install || die "emake install failed" - rm -f "${D}"usr/share/brlcad/{README,NEWS,AUTHORS,HACKING,INSTALL,COPYI= NG} - dodoc AUTHORS NEWS README HACKING TODO BUGS ChangeLog - echo "PATH=3D\"${BRLCAD_DIR}/bin\"" > 99brlcad - echo "MANPATH=3D\"${BRLCAD_DIR}/man\"" >> 99brlcad - doenvd 99brlcad || die - newicon misc/macosx/Resources/ReadMe.rtfd/brlcad_logo_tiny.png brlcad.p= ng - make_desktop_entry mged "BRL-CAD" brlcad "Graphics;Engineering" -} diff --git a/media-gfx/brlcad/brlcad-7.20.4.ebuild b/media-gfx/brlcad/brl= cad-7.20.4.ebuild index f150a45..aa057a6 100644 --- a/media-gfx/brlcad/brlcad-7.20.4.ebuild +++ b/media-gfx/brlcad/brlcad-7.20.4.ebuild @@ -45,12 +45,12 @@ DEPEND=3D"${RDEPEND} BRLCAD_DIR=3D"${EPREFIX}/usr/${PN}" =20 src_prepare() { - epatch "${FILESDIR}/${PN}-9999-cmake.patch" + epatch "${FILESDIR}/${P}-cmake.patch" } =20 src_configure() { filter-flags -std=3Dc++0x -filter-ldflags -Wl,--as-needed +append-ldflags $(no-as-needed) if use Debug; then CMAKE_BUILD_TYPE=3DDebug else