public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Dongxu Li" <dongxuli2011@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: media-gfx/brlcad/
Date: Mon, 15 Aug 2011 15:18:46 +0000 (UTC)	[thread overview]
Message-ID: <4d94e6f56b4c62a12de2ceb9d54d8036b5b74bce.dongxuli@gentoo> (raw)

commit:     4d94e6f56b4c62a12de2ceb9d54d8036b5b74bce
Author:     Dongxu Li <dongxuli2011 <AT> gmail <DOT> com>
AuthorDate: Mon Aug 15 15:18:40 2011 +0000
Commit:     Dongxu Li <dongxuli2011 <AT> gmail <DOT> com>
CommitDate: Mon Aug 15 15:18:40 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=4d94e6f5

media-gfx/brlcad: allow using of system tcl/tk

---
 media-gfx/brlcad/ChangeLog          |    3 ++
 media-gfx/brlcad/brlcad-9999.ebuild |   36 ++++++++++++++++++----------------
 2 files changed, 22 insertions(+), 17 deletions(-)

diff --git a/media-gfx/brlcad/ChangeLog b/media-gfx/brlcad/ChangeLog
index 95fa300..b8a2ad8 100644
--- a/media-gfx/brlcad/ChangeLog
+++ b/media-gfx/brlcad/ChangeLog
@@ -4,6 +4,9 @@
 
 *brlcad-7.20.2 (15 Jul 2011)
 
+  15 Aug 2011; Dongxu Li <dongxuli2011@gmail.com> brlcad-9999.ebuild:
+  Enable using system tcl/tk for the svn live build
+
   09 Aug 2011; Dongxu Li <dongxuli2011@gmail.com> +brlcad-9999.ebuild brlcad-7.20.2-r1.ebuild:
   No need to depend on cmake explicitly, added patch for libpng-1.5, added the subversion version brlcad-9999.ebuild
 

diff --git a/media-gfx/brlcad/brlcad-9999.ebuild b/media-gfx/brlcad/brlcad-9999.ebuild
index 76d2544..6a25268 100644
--- a/media-gfx/brlcad/brlcad-9999.ebuild
+++ b/media-gfx/brlcad/brlcad-9999.ebuild
@@ -18,6 +18,8 @@ RDEPEND="media-libs/libpng
 	sys-libs/zlib
 	>=sci-libs/tnt-3
 	sci-libs/jama
+	>=dev-lang/tcl-8.5
+	>=dev-lang/tk-8.5
 	=dev-tcltk/itcl-3.4*
 	=dev-tcltk/itk-3.4*
 	dev-tcltk/iwidgets
@@ -44,12 +46,11 @@ BRLCAD_DIR="${EPREFIX}/usr/${PN}"
 
 src_prepare() {
 	epatch "${FILESDIR}/${P}-cmake.patch"
-}
-
-src_configure() {
-		#waiting for upstream to fix itck/itk issues for cmake
-		#have to enable tcl/tk local build, otherwise cmake won't be able to link for
-		# -litcl -litk
+	if use Debug; then
+		CMAKE_BUILD_TYPE=Debug
+		else
+		CMAKE_BUILD_TYPE=Release
+		fi
 	local mycmakeargs=(
 		-DCMAKE_INSTALL_PREFIX="${BRLCAD_DIR}"
 		-DBRLCAD-ENABLE_STRICT=OFF
@@ -68,13 +69,12 @@ src_configure() {
 		-DBRLCAD_BUILD_LOCAL_SCL=OFF
 		-DBRLCAD-ENABLE_RTSERVER=OFF
 		-DBRLCAD-ENABLE_JOVE=OFF
-
-		-DBRLCAD_BUILD_LOCAL_IWIDGETS_FORCE_ON=ON
-		-DBRLCAD_BUILD_LOCAL_TCL_FORCE_ON=ON
-		-DBRLCAD_BUILD_LOCAL_TK_FORCE_ON=ON
-		-DBRLCAD_BUILD_LOCAL_ITCL_FORCE_ON=ON
-		-DBRLCAD_BUILD_LOCAL_ITK_FORCE_ON=ON
-
+		-DBRLCAD_BUILD_LOCAL_IWIDGETS=OFF
+		-DBRLCAD_BUILD_LOCAL_TCL=OFF
+		-DBRLCAD_BUILD_LOCAL_TK=OFF
+		-DBRLCAD_BUILD_LOCAL_ITCL=OFF
+		-DBRLCAD_BUILD_LOCAL_ITK=OFF
+		-DBRLCAD_BUILD_LOCAL_IWIDGETS_FORCE_ON=OFF
 		)
 
 			# use flag triggered options
@@ -85,14 +85,16 @@ src_configure() {
 	fi
 	mycmakeargs+=(
 		$(cmake-utils_use amd64 BRLCAD-ENABLE_64BIT)
-		$(cmake-utils_use aqua BRLCAD-ENABLE_AQUA)
 		$(cmake-utils_use examples BRLCAD-INSTALL_EXAMPLE_GEOMETRY)
-		$(cmake-utils_use doc BRLCAD-BUILD_EXTRADOCS)
-		$(cmake-utils_use doc BRLCAD-BUILD_EXTRADOCS_PDF)
-		$(cmake-utils_use doc BRLCAD-BUILD_EXTRADOCS_MAN)
+		$(cmake-utils_use doc BRLCAD_EXTRADOCS)
+		$(cmake-utils_use doc BRLCAD_EXTRADOCS_PDF)
+		$(cmake-utils_use doc BRLCAD_EXTRADOCS_MAN)
 		$(cmake-utils_use opengl BRLCAD-ENABLE_OPENGL)
+#experimental RTGL support
+		$(cmake-utils_use opengl BRLCAD-ENABLE_RTGL)
 		$(cmake-utils_use smp BRLCAD-ENABLE_SMP)
 		$(cmake-utils_use debug BRLCAD-ENABLE_VERBOSE_PROGRESS)
+#		$(cmake-utils_use aqua BRLCAD-ENABLE_AQUA)
 #			$(cmake-utils_use !debug BRLCAD-ENABLE_OPTIMIZED_BUILD)
 #			$(cmake-utils_use !debug )
 #			$(cmake-utils_use debug BRLCAD-ENABLE_DEBUG_BUILD)



             reply	other threads:[~2011-08-15 16:04 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-15 15:18 Dongxu Li [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-22 13:09 [gentoo-commits] proj/sci:master commit in: media-gfx/brlcad/ Horea Christian
2021-01-24 11:48 Andrew Ammerlaan
2021-01-13 21:06 Andrew Ammerlaan
2015-05-23 15:53 Justin Lecher
2015-05-03 20:43 Andrew Savchenko
2013-07-04 19:10 Christoph Junghans
2013-06-14 11:21 Justin Lecher
2013-05-05 17:34 Christoph Junghans
2012-03-27 22:08 Dongxu Li
2012-02-12  5:15 Dongxu Li
2011-12-16 17:37 Dongxu Li
2011-12-16 13:23 Dongxu Li
2011-08-18 15:45 Dongxu Li
2011-08-16 13:31 Dongxu Li
2011-08-16  3:41 Dongxu Li
2011-08-09 18:13 Dongxu Li
2011-07-15 14:55 Dongxu Li
2011-07-15  3:34 Dongxu Li
2011-07-15  3:31 Dongxu Li
2011-07-13 19:10 Dongxu Li
2011-06-25 17:22 Justin Lecher
2011-04-18 22:49 Andreas K. Huettel
2011-04-15 18:11 Dongxu Li
2011-04-12 20:43 Dongxu Li

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=4d94e6f56b4c62a12de2ceb9d54d8036b5b74bce.dongxuli@gentoo \
    --to=dongxuli2011@gmail.com \
    --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