* [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tcl3d/
@ 2016-08-24 7:44 Daniel Campbell
0 siblings, 0 replies; 12+ messages in thread
From: Daniel Campbell @ 2016-08-24 7:44 UTC (permalink / raw
To: gentoo-commits
commit: 62c242b56d5a4024e52982cb289a35b29195ce25
Author: Daniel Campbell <zlg <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 24 07:42:56 2016 +0000
Commit: Daniel Campbell <zlg <AT> gentoo <DOT> org>
CommitDate: Wed Aug 24 07:43:57 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62c242b5
dev-tcltk/tcl3d: Correct path typo, fixes #563400
Gentoo-Bug: 563400
Gentoo-Bug-URL: https://bugs.gentoo.org/563400
Package-Manager: portage-2.3.0
dev-tcltk/tcl3d/tcl3d-0.4.0-r1.ebuild | 57 +++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
diff --git a/dev-tcltk/tcl3d/tcl3d-0.4.0-r1.ebuild b/dev-tcltk/tcl3d/tcl3d-0.4.0-r1.ebuild
new file mode 100644
index 00000000..a5ccdf3
--- /dev/null
+++ b/dev-tcltk/tcl3d/tcl3d-0.4.0-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit flag-o-matic multilib toolchain-funcs
+
+DESCRIPTION="Tcl bindings to OpenGL and other 3D libraries"
+HOMEPAGE="http://www.tcl3d.org"
+SRC_URI="http://www.tcl3d.org/download/${P}.distrib/${PN}-src-${PV}.zip"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug"
+
+RDEPEND="
+ dev-games/ode
+ dev-lang/tk:0=
+ dev-lang/tcl:0=
+ media-libs/libsdl
+ media-libs/ftgl
+ virtual/opengl
+"
+DEPEND="${RDEPEND}
+ >=dev-lang/swig-1.3.19"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ TCL_VERSION=( $(echo 'puts [info tclversion]' | tclsh | tr '.' ' ') )
+ einfo "Configuring for Tcl ${TCL_VERSION[0]}.${TCL_VERSION[1]}"
+ sed -i \
+ -e 's:^\(TCLMAJOR\) *=\(.*\)$:\1 = '${TCL_VERSION[0]}':' \
+ -e 's:^\(TCLMINOR\) *=\(.*\)$:\1 = '${TCL_VERSION[1]}':' \
+ config_Linux* || die
+
+ # fix libSDL link
+ sed -i \
+ -e 's:-lSDL-1\.2:-lSDL:g' \
+ tcl3dSDL/Makefile || die
+}
+
+src_compile() {
+ append-flags -mieee-fp -ffloat-store -fPIC
+ use debug || append-flags -DNDEBUG
+
+ emake \
+ INSTDIR="/usr" OPT="${CFLAGS}" CC="$(tc-getCC) -c" \
+ CXX="$(tc-getCXX) -c" LD="$(tc-getLD)" \
+ WRAP_FTGL=1 WRAP_SDL=1 WRAP_GL2PS=0 WRAP_ODE=1
+}
+
+src_install() {
+ emake INSTDIR="${D}/usr" DESTDIR="${D}" INSTLIB="${D}/usr/$(get_libdir)" install
+}
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tcl3d/
@ 2016-10-31 14:25 Amy Winston
0 siblings, 0 replies; 12+ messages in thread
From: Amy Winston @ 2016-10-31 14:25 UTC (permalink / raw
To: gentoo-commits
commit: 554c576bc9254c46eace4b25eafedc2f81ec634b
Author: Amy Winston <amynka <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 31 14:24:33 2016 +0000
Commit: Amy Winston <amynka <AT> gentoo <DOT> org>
CommitDate: Mon Oct 31 14:24:33 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=554c576b
dev-tcltk/tcl3d: add missing dep bug #514300
Package-Manager: portage-2.2.28
dev-tcltk/tcl3d/tcl3d-0.4.0-r1.ebuild | 1 +
dev-tcltk/tcl3d/tcl3d-0.4.0.ebuild | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/dev-tcltk/tcl3d/tcl3d-0.4.0-r1.ebuild b/dev-tcltk/tcl3d/tcl3d-0.4.0-r1.ebuild
index a5ccdf3..6aa4374 100644
--- a/dev-tcltk/tcl3d/tcl3d-0.4.0-r1.ebuild
+++ b/dev-tcltk/tcl3d/tcl3d-0.4.0-r1.ebuild
@@ -22,6 +22,7 @@ RDEPEND="
media-libs/libsdl
media-libs/ftgl
virtual/opengl
+ x11-libs/libXmu
"
DEPEND="${RDEPEND}
>=dev-lang/swig-1.3.19"
diff --git a/dev-tcltk/tcl3d/tcl3d-0.4.0.ebuild b/dev-tcltk/tcl3d/tcl3d-0.4.0.ebuild
index d750c1b..6ae6d3a 100644
--- a/dev-tcltk/tcl3d/tcl3d-0.4.0.ebuild
+++ b/dev-tcltk/tcl3d/tcl3d-0.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -22,6 +22,7 @@ RDEPEND="
media-libs/libsdl
media-libs/ftgl
virtual/opengl
+ x11-libs/libXmu
"
DEPEND="${RDEPEND}
>=dev-lang/swig-1.3.19"
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tcl3d/
@ 2018-09-26 9:35 Alfredo Tupone
0 siblings, 0 replies; 12+ messages in thread
From: Alfredo Tupone @ 2018-09-26 9:35 UTC (permalink / raw
To: gentoo-commits
commit: 57873ee92cd02014079d597b28c57b1054281ede
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 26 09:35:13 2018 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Sep 26 09:35:13 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57873ee9
dev-tcltk/tcl3d: Fix missing RDEPEND and modularize
Closes: https://bugs.gentoo.org/619410
Package-Manager: Portage-2.3.49, Repoman-2.3.10
dev-tcltk/tcl3d/metadata.xml | 8 ++++++++
dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild | 39 ++++++++++++++++++++------------------
2 files changed, 29 insertions(+), 18 deletions(-)
diff --git a/dev-tcltk/tcl3d/metadata.xml b/dev-tcltk/tcl3d/metadata.xml
index 851c8cbb058..2b1fbebe51e 100644
--- a/dev-tcltk/tcl3d/metadata.xml
+++ b/dev-tcltk/tcl3d/metadata.xml
@@ -5,6 +5,14 @@
<email>tcltk@gentoo.org</email>
<name>Gentoo Tcltk Project</name>
</maintainer>
+<use>
+ <flag name="ode">
+ Enable support for physics engine from <pkg>dev-games/ode</pkg>
+ </flag>
+ <flag name="osg">
+ Enable support for 3D toolkit from <pkg>dev-games/openscenegraph</pkg>
+ </flag>
+</use>
<longdescription>
Tcl3D offers the 3D functionality of OpenGL and other 3D libraries at the Tcl scripting level.
The Tcl3D package currently consists of the following modules:
diff --git a/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild b/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
index e9a64f8be86..1b077585124 100644
--- a/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
+++ b/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -12,26 +12,25 @@ SRC_URI="http://www.tcl3d.org/download/${P}.distrib/${PN}-src-${PV}.zip"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="debug"
+IUSE="debug ode osg sdl truetype"
-DEPEND="
- >=dev-lang/swig-1.3.38:0=
+RDEPEND="dev-lang/tcl:0=
dev-lang/tk:0=
- dev-lang/tcl:0=
- dev-games/ode
- dev-games/openscenegraph
- media-libs/libsdl
- media-libs/ftgl
- virtual/opengl
+ x11-libs/libXi
x11-libs/libXmu
-"
+ virtual/opengl
+ virtual/glu
+ ode? ( dev-games/ode )
+ osg? ( dev-games/openscenegraph )
+ truetype? ( media-libs/ftgl )
+ sdl? ( media-libs/libsdl )"
+DEPEND="${RDEPEND}
+ >=dev-lang/swig-1.3.38:0="
S="${WORKDIR}/${PN}"
PATCHES=( "${FILESDIR}/${P}-include-tk-dir-and-permissive.patch" )
-src_prepare() {
- default
-
+src_configure() {
local _TCL_V=( $(echo 'puts [info tclversion]' | tclsh | tr '.' ' ') )
local _TCL_FV="${_TCL_V[0]}.${_TCL_V[1]}"
@@ -49,6 +48,13 @@ src_compile() {
append-flags -fPIC
use debug || append-flags -DNDEBUG
+ # Configure wrapper
+ local CONFIG_PLUGIN="WRAP_GL2PS="
+ use truetype || CONFIG_PLUGIN+=" WRAP_FTGL="
+ use ode || CONFIG_PLUGIN+=" WRAP_ODE="
+ use osg || CONFIG_PLUGIN+=" WRAP_OSG="
+ use sdl || CONFIG_PLUGIN+=" WRAP_SDL="
+
# Restricting build to -j1 since it seems that if we build it in parallel,
# it fails with the "tcl3dOsg" project attempting to import glewdefs.i,
# and not finding it.
@@ -59,10 +65,7 @@ src_compile() {
CC="$(tc-getCC) -c" \
CXX="$(tc-getCXX) -c" \
LD="$(tc-getLD)" \
- WRAP_FTGL=1 \
- WRAP_SDL=1 \
- WRAP_GL2PS=0 \
- WRAP_ODE=1
+ ${CONFIG_PLUGIN}
}
src_install() {
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tcl3d/
@ 2019-09-09 12:32 Alfredo Tupone
0 siblings, 0 replies; 12+ messages in thread
From: Alfredo Tupone @ 2019-09-09 12:32 UTC (permalink / raw
To: gentoo-commits
commit: 1821068dacdf7f3406a66429ad6b2a99d589f571
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 9 12:31:42 2019 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Sep 9 12:31:42 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1821068d
dev-tcltk/tcl3d: rm old version, fix unzip dependency
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-tcltk/tcl3d/tcl3d-0.4.0.ebuild | 57 --------------------------------------
dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild | 5 ++--
2 files changed, 3 insertions(+), 59 deletions(-)
diff --git a/dev-tcltk/tcl3d/tcl3d-0.4.0.ebuild b/dev-tcltk/tcl3d/tcl3d-0.4.0.ebuild
deleted file mode 100644
index 349309c5a5a..00000000000
--- a/dev-tcltk/tcl3d/tcl3d-0.4.0.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit flag-o-matic multilib toolchain-funcs
-
-DESCRIPTION="Tcl bindings to OpenGL and other 3D libraries"
-HOMEPAGE="http://www.tcl3d.org"
-SRC_URI="http://www.tcl3d.org/download/${P}.distrib/${PN}-src-${PV}.zip"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="debug"
-
-RDEPEND="
- dev-games/ode
- dev-lang/tk:0=
- dev-lang/tcl:0=
- media-libs/libsdl
- media-libs/ftgl
- virtual/opengl
- x11-libs/libXmu
-"
-DEPEND="${RDEPEND}
- >=dev-lang/swig-1.3.19"
-
-S="${WORKDIR}/${PN}"
-
-src_prepare() {
- TCL_VERSION=( $(echo 'puts [info tclversion]' | tclsh | tr '.' ' ') )
- einfo "Configuring for Tcl ${TCL_VERSION[0]}.${TCL_VERSION[1]}"
- sed -i \
- -e 's:^\(TCLMAJOR\) *=\(.*\)$:\1 = '${TCL_VERSION[0]}':' \
- -e 's:^\(TCLMINOR\) *=\(.*\)$:\1 = '${TCL_VERSION[1]}':' \
- config_Linux* || die
-
- # fix libSDL link
- sed -i \
- -e 's:-lSDL-1\.2:-lSDL:g' \
- tcl3dSDL/Makefile || die
-}
-
-src_compile() {
- append-flags -mieee-fp -ffloat-store -fPIC
- use debug || append-flags -DNDEBUG
-
- emake \
- INSTDIR="/usr" OPT="${CFLAGS}" CC="$(tc-getCC) -c" \
- CXX="$(tc-getCXX) -c" LD="$(tc-getLD)" \
- WRAP_FTGL=1 WRAP_SDL=1 WRAP_GL2PS=0 WRAP_ODE=1
-}
-
-src_install() {
- emake INSTDIR="${D}/usr" DESTDIR="${D}" INSTLIB="${D}/usr$(get_libdir)" install
-}
diff --git a/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild b/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
index 1b077585124..0de3fa70cff 100644
--- a/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
+++ b/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -25,7 +25,8 @@ RDEPEND="dev-lang/tcl:0=
truetype? ( media-libs/ftgl )
sdl? ( media-libs/libsdl )"
DEPEND="${RDEPEND}
- >=dev-lang/swig-1.3.38:0="
+ >=dev-lang/swig-1.3.38:0=
+ app-arch/unzip"
S="${WORKDIR}/${PN}"
PATCHES=( "${FILESDIR}/${P}-include-tk-dir-and-permissive.patch" )
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tcl3d/
@ 2019-09-11 8:20 Agostino Sarubbo
0 siblings, 0 replies; 12+ messages in thread
From: Agostino Sarubbo @ 2019-09-11 8:20 UTC (permalink / raw
To: gentoo-commits
commit: 0f421bc2568f4dc03a61c66dc49fa1f873887cc8
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 11 08:20:18 2019 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Sep 11 08:20:18 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f421bc2
dev-tcltk/tcl3d: amd64 stable wrt bug #693896
Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild b/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
index 0de3fa70cff..82ee87f5e0c 100644
--- a/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
+++ b/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.tcl3d.org/download/${P}.distrib/${PN}-src-${PV}.zip"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
IUSE="debug ode osg sdl truetype"
RDEPEND="dev-lang/tcl:0=
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tcl3d/
@ 2019-09-11 8:43 Agostino Sarubbo
0 siblings, 0 replies; 12+ messages in thread
From: Agostino Sarubbo @ 2019-09-11 8:43 UTC (permalink / raw
To: gentoo-commits
commit: e514ba2459ea317c3882ea4693ab28d26061f005
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 11 08:43:25 2019 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Sep 11 08:43:25 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e514ba24
dev-tcltk/tcl3d: x86 stable wrt bug #693896
Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild b/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
index 82ee87f5e0c..15495ba8827 100644
--- a/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
+++ b/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.tcl3d.org/download/${P}.distrib/${PN}-src-${PV}.zip"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="debug ode osg sdl truetype"
RDEPEND="dev-lang/tcl:0=
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tcl3d/
@ 2019-09-11 10:22 Alfredo Tupone
0 siblings, 0 replies; 12+ messages in thread
From: Alfredo Tupone @ 2019-09-11 10:22 UTC (permalink / raw
To: gentoo-commits
commit: 3296ff25e3745d12fe7f92733d6872cb4f522bf0
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 11 10:22:19 2019 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Sep 11 10:22:19 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3296ff25
dev-tcltk/tcl3d: remove old version
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-tcltk/tcl3d/Manifest | 1 -
dev-tcltk/tcl3d/tcl3d-0.4.0-r1.ebuild | 57 -----------------------------------
2 files changed, 58 deletions(-)
diff --git a/dev-tcltk/tcl3d/Manifest b/dev-tcltk/tcl3d/Manifest
index 651bffad7d8..7df440c2bda 100644
--- a/dev-tcltk/tcl3d/Manifest
+++ b/dev-tcltk/tcl3d/Manifest
@@ -1,2 +1 @@
-DIST tcl3d-src-0.4.0.zip 1501305 BLAKE2B 61fe35df0bf5624ef5fbd7fa029b8ad7a23ed6304bd5da8b8bb035b94ad6311ad3868793b7ea5a464d990cfaee98af88ef6d398dddbdba4e89d894005e5ce9ed SHA512 a8a525693bc45e9fb9e2167e2121d300ff60534f2bced33bb068a1075cfd8e8281dd97bd7fb432b9d6a95cdb37fc3da03c82dd1ee20e368fb8ac249ea54c30a5
DIST tcl3d-src-0.5.0.zip 3936271 BLAKE2B 97bd3815c05254162d8af4b2029dd2ac4218ed4bfb94e19a6454f41c12953b48f616444e466dda5359433f84a9284a2e20316b6c97b0e3a20deada47f583510c SHA512 24f799d5cc0ad9daf060b6b723d1197be678c0716b2099287e004221889c56da03f7368d6cd4c47dbbbbfe936b0bf65366cd452d3d9c2335cdfbae6ff3860a29
diff --git a/dev-tcltk/tcl3d/tcl3d-0.4.0-r1.ebuild b/dev-tcltk/tcl3d/tcl3d-0.4.0-r1.ebuild
deleted file mode 100644
index c424262b15b..00000000000
--- a/dev-tcltk/tcl3d/tcl3d-0.4.0-r1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit flag-o-matic multilib toolchain-funcs
-
-DESCRIPTION="Tcl bindings to OpenGL and other 3D libraries"
-HOMEPAGE="http://www.tcl3d.org"
-SRC_URI="http://www.tcl3d.org/download/${P}.distrib/${PN}-src-${PV}.zip"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="debug"
-
-RDEPEND="
- dev-games/ode
- dev-lang/tk:0=
- dev-lang/tcl:0=
- media-libs/libsdl
- media-libs/ftgl
- virtual/opengl
- x11-libs/libXmu
-"
-DEPEND="${RDEPEND}
- >=dev-lang/swig-1.3.19"
-
-S="${WORKDIR}/${PN}"
-
-src_prepare() {
- TCL_VERSION=( $(echo 'puts [info tclversion]' | tclsh | tr '.' ' ') )
- einfo "Configuring for Tcl ${TCL_VERSION[0]}.${TCL_VERSION[1]}"
- sed -i \
- -e 's:^\(TCLMAJOR\) *=\(.*\)$:\1 = '${TCL_VERSION[0]}':' \
- -e 's:^\(TCLMINOR\) *=\(.*\)$:\1 = '${TCL_VERSION[1]}':' \
- config_Linux* || die
-
- # fix libSDL link
- sed -i \
- -e 's:-lSDL-1\.2:-lSDL:g' \
- tcl3dSDL/Makefile || die
-}
-
-src_compile() {
- append-flags -mieee-fp -ffloat-store -fPIC
- use debug || append-flags -DNDEBUG
-
- emake \
- INSTDIR="/usr" OPT="${CFLAGS}" CC="$(tc-getCC) -c" \
- CXX="$(tc-getCXX) -c" LD="$(tc-getLD)" \
- WRAP_FTGL=1 WRAP_SDL=1 WRAP_GL2PS=0 WRAP_ODE=1
-}
-
-src_install() {
- emake INSTDIR="${D}/usr" DESTDIR="${D}" INSTLIB="${D}/usr/$(get_libdir)" install
-}
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tcl3d/
@ 2020-10-13 7:29 Alfredo Tupone
0 siblings, 0 replies; 12+ messages in thread
From: Alfredo Tupone @ 2020-10-13 7:29 UTC (permalink / raw
To: gentoo-commits
commit: d7a078e7ed5d385a4c359496ee5ae07ab542f3df
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 13 07:29:01 2020 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Oct 13 07:29:01 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7a078e7
dev-tcltk/tcl3d: respect LDFLAGS
Closes: https://bugs.gentoo.org/738858
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild b/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
index 15495ba8827..8f84663373e 100644
--- a/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
+++ b/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -66,6 +66,7 @@ src_compile() {
CC="$(tc-getCC) -c" \
CXX="$(tc-getCXX) -c" \
LD="$(tc-getLD)" \
+ LDOUT="${LDFLAGS} -o" \
${CONFIG_PLUGIN}
}
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tcl3d/
@ 2020-12-25 17:46 Alfredo Tupone
0 siblings, 0 replies; 12+ messages in thread
From: Alfredo Tupone @ 2020-12-25 17:46 UTC (permalink / raw
To: gentoo-commits
commit: 092c90bb92aafc56f02992544bff648bc4bfc05c
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 25 17:46:45 2020 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Dec 25 17:46:45 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=092c90bb
dev-tcltk/tcl3d: calling cc from environment
Closes: https://bugs.gentoo.org/748447
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild b/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
index 8f84663373e..f24710e3f1e 100644
--- a/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
+++ b/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
@@ -67,6 +67,8 @@ src_compile() {
CXX="$(tc-getCXX) -c" \
LD="$(tc-getLD)" \
LDOUT="${LDFLAGS} -o" \
+ SHLIB_LD="$(tc-getCC) -shared" \
+ SHLIB_LDXX="$(tc-getCXX) -shared" \
${CONFIG_PLUGIN}
}
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tcl3d/
@ 2021-10-27 20:16 Alfredo Tupone
0 siblings, 0 replies; 12+ messages in thread
From: Alfredo Tupone @ 2021-10-27 20:16 UTC (permalink / raw
To: gentoo-commits
commit: fc8e802cd093a18b6822a21ba4aaf8f6e382e805
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 27 20:15:46 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Oct 27 20:15:46 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc8e802c
dev-tcltk/tcl3d: EAPI 7 and hopefully fix for #816825
Closes: https://bugs.gentoo.org/816825
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild b/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
index f24710e3f1e..7a07697e35a 100644
--- a/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
+++ b/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit flag-o-matic toolchain-funcs
@@ -31,6 +31,15 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${PN}"
PATCHES=( "${FILESDIR}/${P}-include-tk-dir-and-permissive.patch" )
+src_prepare() {
+ sed -i \
+ -e '/\..$(DSEP)pkgIndex.tcl/d' \
+ tcl3d*/Makefile \
+ || die
+
+ default
+}
+
src_configure() {
local _TCL_V=( $(echo 'puts [info tclversion]' | tclsh | tr '.' ' ') )
local _TCL_FV="${_TCL_V[0]}.${_TCL_V[1]}"
@@ -74,4 +83,6 @@ src_compile() {
src_install() {
emake INSTDIR="${D}/usr" DESTDIR="${D}" INSTLIB="${D}/usr/$(get_libdir)" install
+ insinto /usr/$(get_libdir)/${PN}${PV}
+ doins pkgIndex.tcl
}
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tcl3d/
@ 2023-03-18 17:06 Alfredo Tupone
0 siblings, 0 replies; 12+ messages in thread
From: Alfredo Tupone @ 2023-03-18 17:06 UTC (permalink / raw
To: gentoo-commits
commit: 8d69281eb3a1fd8b67bfa735b73fb4e84253c850
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 18 16:45:49 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Mar 18 17:06:29 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d69281e
dev-tcltk/tcl3d: fix on musl
Closes: https://bugs.gentoo.org/831455
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-tcltk/tcl3d/{tcl3d-0.5.0.ebuild => tcl3d-0.5.0-r1.ebuild} | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild b/dev-tcltk/tcl3d/tcl3d-0.5.0-r1.ebuild
similarity index 98%
rename from dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
rename to dev-tcltk/tcl3d/tcl3d-0.5.0-r1.ebuild
index 870f791b448b..b295909cdc56 100644
--- a/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
+++ b/dev-tcltk/tcl3d/tcl3d-0.5.0-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit flag-o-matic toolchain-funcs
@@ -51,6 +51,7 @@ src_configure() {
sed -i \
-e 's:^\(TCLMAJOR\) *=\(.*\)$:\1 = '${_TCL_V[0]}':' \
-e 's:^\(TCLMINOR\) *=\(.*\)$:\1 = '${_TCL_V[1]}':' \
+ -e "s:lib64:$(get_libdir):" \
config_Linux* || die
# Fix libSDL link
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tcl3d/
@ 2024-09-27 18:21 Alfredo Tupone
0 siblings, 0 replies; 12+ messages in thread
From: Alfredo Tupone @ 2024-09-27 18:21 UTC (permalink / raw
To: gentoo-commits
commit: 089ae6444d03fad7013066bbc002f9db42516690
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 27 18:20:41 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Sep 27 18:21:11 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=089ae644
dev-tcltk/tcl3d: add 0.9.5
Closes: https://bugs.gentoo.org/924318
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-tcltk/tcl3d/Manifest | 1 +
dev-tcltk/tcl3d/tcl3d-0.9.5.ebuild | 57 ++++++++++++++++++++++++++++++++++++++
2 files changed, 58 insertions(+)
diff --git a/dev-tcltk/tcl3d/Manifest b/dev-tcltk/tcl3d/Manifest
index 7df440c2bda3..47e3beda24e9 100644
--- a/dev-tcltk/tcl3d/Manifest
+++ b/dev-tcltk/tcl3d/Manifest
@@ -1 +1,2 @@
+DIST tcl3d-0.9.5.7z 1776479 BLAKE2B c6437073a36405cec8ffaece93e70996109de709c1bf8158a01e7fcc6b085e26ab361d30cbf09f0895761c220d83771beca26eff19f167c0c6c7a60b0965aa25 SHA512 deb21a48b672cc804723a4e8e8c01dee5ed706cb30011e59b532f791317a4620ab8363cf2db9aef802397439b515db54c46d2662513131d0771bc577cde17a11
DIST tcl3d-src-0.5.0.zip 3936271 BLAKE2B 97bd3815c05254162d8af4b2029dd2ac4218ed4bfb94e19a6454f41c12953b48f616444e466dda5359433f84a9284a2e20316b6c97b0e3a20deada47f583510c SHA512 24f799d5cc0ad9daf060b6b723d1197be678c0716b2099287e004221889c56da03f7368d6cd4c47dbbbbfe936b0bf65366cd452d3d9c2335cdfbae6ff3860a29
diff --git a/dev-tcltk/tcl3d/tcl3d-0.9.5.ebuild b/dev-tcltk/tcl3d/tcl3d-0.9.5.ebuild
new file mode 100644
index 000000000000..1f2e0538bf28
--- /dev/null
+++ b/dev-tcltk/tcl3d/tcl3d-0.9.5.ebuild
@@ -0,0 +1,57 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic cmake unpacker
+
+DESCRIPTION="Tcl bindings to OpenGL and other 3D libraries"
+HOMEPAGE="http://www.tcl3d.org"
+SRC_URI="https://www.tcl3d.org/download/distributions/${P}.7z"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="sdl truetype"
+
+RDEPEND="dev-lang/tcl:0=
+ dev-lang/tk:0=
+ x11-libs/libX11
+ virtual/opengl
+ virtual/glu
+ truetype? ( media-libs/ftgl )
+ sdl? ( media-libs/libsdl )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-lang/swig
+ app-arch/p7zip
+"
+
+src_prepare() {
+ sed -i \
+ -e "s|FTGLGlyph|FTGlyph|" \
+ tcl3dFTGL/swigfiles/ftgl.i \
+ || die
+ cmake_src_prepare
+}
+
+src_configure() {
+ local _TCL_V=( $(echo 'puts [info tclversion]' | tclsh | tr '.' ' ') )
+ local _TCL_FV="${_TCL_V[0]}.${_TCL_V[1]}"
+
+ local tkPath=/usr/$(get_libdir)/tk${_TCL_FV}/include
+
+ append-cppflags -I${tkPath}/generic -I${tkPath}/unix \
+ $(pkg-config freetype2 --cflags) \
+ $(pkg-config sdl --cflags)
+
+ local mycmakeargs=(
+ -Wno-dev
+ -DTCL3D_BUILD_OGL=Yes
+ -DTCL3D_BUILD_GAUGES=Yes
+ -DTCL3D_BUILD_GL2PS=Yes
+ -DTCL3D_BUILD_FTGL=$(usex truetype)
+ -DTCL3D_BUILD_SDL=$(usex sdl)
+ )
+ cmake_src_configure
+}
^ permalink raw reply related [flat|nested] 12+ messages in thread
end of thread, other threads:[~2024-09-27 18:21 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-18 17:06 [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tcl3d/ Alfredo Tupone
-- strict thread matches above, loose matches on Subject: below --
2024-09-27 18:21 Alfredo Tupone
2021-10-27 20:16 Alfredo Tupone
2020-12-25 17:46 Alfredo Tupone
2020-10-13 7:29 Alfredo Tupone
2019-09-11 10:22 Alfredo Tupone
2019-09-11 8:43 Agostino Sarubbo
2019-09-11 8:20 Agostino Sarubbo
2019-09-09 12:32 Alfredo Tupone
2018-09-26 9:35 Alfredo Tupone
2016-10-31 14:25 Amy Winston
2016-08-24 7:44 Daniel Campbell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox