diff options
author | Gustavo Zacarias <gustavoz@gentoo.org> | 2007-05-03 15:19:17 +0000 |
---|---|---|
committer | Gustavo Zacarias <gustavoz@gentoo.org> | 2007-05-03 15:19:17 +0000 |
commit | ca8d4c39eecf5e8d09f6e407ed368c6caa8110c6 (patch) | |
tree | 42c4c774c379e3336f7de13caf14d09bca57aef7 /dev-tcltk | |
parent | Version bump. (diff) | |
download | gentoo-2-ca8d4c39eecf5e8d09f6e407ed368c6caa8110c6.tar.gz gentoo-2-ca8d4c39eecf5e8d09f6e407ed368c6caa8110c6.tar.bz2 gentoo-2-ca8d4c39eecf5e8d09f6e407ed368c6caa8110c6.zip |
sparc stable the correct one and cleanup
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-tcltk')
-rw-r--r-- | dev-tcltk/tclcl/ChangeLog | 7 | ||||
-rw-r--r-- | dev-tcltk/tclcl/files/digest-tclcl-1.15 | 3 | ||||
-rw-r--r-- | dev-tcltk/tclcl/files/digest-tclcl-1.16 | 3 | ||||
-rw-r--r-- | dev-tcltk/tclcl/files/tclcl-1.15-gcc34.patch | 240 | ||||
-rw-r--r-- | dev-tcltk/tclcl/tclcl-1.15.ebuild | 48 | ||||
-rw-r--r-- | dev-tcltk/tclcl/tclcl-1.16.ebuild | 46 | ||||
-rw-r--r-- | dev-tcltk/tclcl/tclcl-1.17.ebuild | 4 | ||||
-rw-r--r-- | dev-tcltk/tclcl/tclcl-1.19.ebuild | 4 |
8 files changed, 10 insertions, 345 deletions
diff --git a/dev-tcltk/tclcl/ChangeLog b/dev-tcltk/tclcl/ChangeLog index 4cd6503d62a8..5cf63758fc29 100644 --- a/dev-tcltk/tclcl/ChangeLog +++ b/dev-tcltk/tclcl/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-tcltk/tclcl # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclcl/ChangeLog,v 1.17 2007/05/03 15:15:42 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclcl/ChangeLog,v 1.18 2007/05/03 15:19:16 gustavoz Exp $ + + 03 May 2007; Gustavo Zacarias <gustavoz@gentoo.org> + -files/tclcl-1.15-gcc34.patch, -tclcl-1.15.ebuild, -tclcl-1.16.ebuild, + tclcl-1.17.ebuild, tclcl-1.19.ebuild: + sparc stable the correct one and cleanup 03 May 2007; Gustavo Zacarias <gustavoz@gentoo.org> tclcl-1.19.ebuild: Stable on sparc wrt #160007 diff --git a/dev-tcltk/tclcl/files/digest-tclcl-1.15 b/dev-tcltk/tclcl/files/digest-tclcl-1.15 deleted file mode 100644 index 109a06e5c55f..000000000000 --- a/dev-tcltk/tclcl/files/digest-tclcl-1.15 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 0b6403ea9303d776717855eb0828a408 tclcl-src-1.15.tar.gz 143000 -RMD160 9ae3aad5d53ba67df6a5e25f5f3813f4ad162029 tclcl-src-1.15.tar.gz 143000 -SHA256 9be16d5e7df7e201bab3611ac53c3d8894f95e6e0059477403ea8004fdd56a34 tclcl-src-1.15.tar.gz 143000 diff --git a/dev-tcltk/tclcl/files/digest-tclcl-1.16 b/dev-tcltk/tclcl/files/digest-tclcl-1.16 deleted file mode 100644 index 621ffc7dc1ef..000000000000 --- a/dev-tcltk/tclcl/files/digest-tclcl-1.16 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 2a25a4736c1bf4ec7f4e6343aa533bc6 tclcl-src-1.16.tar.gz 203269 -RMD160 3373ba084ed2a278f47d135af67957cf26856069 tclcl-src-1.16.tar.gz 203269 -SHA256 75efa77a0c6cd8a3bab65b794f87dceab25ed34183688bf2e564ee0cbadf8e1b tclcl-src-1.16.tar.gz 203269 diff --git a/dev-tcltk/tclcl/files/tclcl-1.15-gcc34.patch b/dev-tcltk/tclcl/files/tclcl-1.15-gcc34.patch deleted file mode 100644 index 70314ebcf359..000000000000 --- a/dev-tcltk/tclcl/files/tclcl-1.15-gcc34.patch +++ /dev/null @@ -1,240 +0,0 @@ -diff -Naur tclcl-1.15/tclcl.h tclcl-1.15-fix/tclcl.h ---- tclcl-1.15/tclcl.h 2004-01-06 02:50:24.000000000 +0100 -+++ tclcl-1.15-fix/tclcl.h 2004-10-18 14:46:15.123314528 +0200 -@@ -49,115 +49,6 @@ - #include "tracedvar.h" - - struct Tk_Window_; -- --class Tcl { -- public: -- /* constructor should be private but SGIs C++ compiler complains*/ -- Tcl(); -- -- static void init(const char* application); -- static void init(Tcl_Interp*, const char* application); -- static inline Tcl& instance() { return (instance_); } -- inline int dark() const { return (tcl_ == 0); } -- inline Tcl_Interp* interp() const { return (tcl_); } -- --#if TCL_MAJOR_VERSION >= 8 -- int evalObj(Tcl_Obj *pObj) { return Tcl_GlobalEvalObj(tcl_, pObj); } -- int evalObjs(int objc, Tcl_Obj **objv) { -- Tcl_Obj* pListObj = Tcl_NewListObj(objc, objv); -- int retcode = evalObj(pListObj); -- Tcl_DecrRefCount(pListObj); -- return retcode; -- } -- Tcl_Obj* objResult() const { return Tcl_GetObjResult(tcl_); } -- int resultAs(int* pInt) { -- return Tcl_GetIntFromObj(tcl_, objResult(), pInt); -- } -- int resultAs(long* pLong) { -- return Tcl_GetLongFromObj(tcl_, objResult(), pLong); -- } -- int resultAs(double* pDbl) { -- return Tcl_GetDoubleFromObj(tcl_, objResult(), pDbl); -- } -- void result(Tcl_Obj *pObj) { Tcl_SetObjResult(tcl_, pObj); } -- inline const char* result() const { return Tcl_GetStringResult(tcl_); } --#else /* TCL_MAJOR_VERSION >= 8 */ -- /* may not work at all! */ -- inline char* result() const { return (tcl_->result); } --#endif /* TCL_MAJOR_VERSION >= 8 */ -- inline void result(const char* p) { tcl_->result = (char*)p; } -- void resultf(const char* fmt, ...); -- inline void CreateCommand(const char* cmd, Tcl_CmdProc* cproc, -- ClientData cd = 0, -- Tcl_CmdDeleteProc* dproc = 0) { -- Tcl_CreateCommand(tcl_, (char*)cmd, cproc, cd, dproc); -- } -- inline void CreateCommand(Tcl_CmdProc* cproc, -- ClientData cd = 0, -- Tcl_CmdDeleteProc* dproc = 0) { -- Tcl_CreateCommand(tcl_, buffer_, cproc, cd, dproc); -- } -- inline void DeleteCommand(const char* cmd) { -- Tcl_DeleteCommand(tcl_, (char*)cmd); -- } -- inline void EvalFile(const char* file) { -- if (Tcl_EvalFile(tcl_, (char*)file) != TCL_OK) -- error(file); -- } -- inline const char* var(const char* varname, int flags = TCL_GLOBAL_ONLY) { -- return (Tcl_GetVar(tcl_, (char*)varname, flags)); -- } -- /* -- * Hooks for invoking the tcl interpreter: -- * eval(char*) - when string is in writable store -- * evalc() - when string is in read-only store (e.g., string consts) -- * [ eval(const char*) is a synonym ] -- * evalf() - printf style formatting of command -- * Or, write into the buffer returned by buffer() and -- * then call eval(void). -- */ -- void eval(char* s); -- void eval(const char* s) { evalc(s); }; -- void evalc(const char* s); -- void eval(); -- char* buffer() { return (bp_); } -- /* -- * This routine used to be inlined, but SGI's C++ compiler -- * can't hack stdarg inlining. No big deal here. -- */ -- void evalf(const char* fmt, ...); -- -- inline void add_error(const char *string) { -- Tcl_AddErrorInfo(interp(), (char *) string); -- } -- void add_errorf(const char *fmt, ...); -- -- inline struct Tk_Window_* tkmain() const { return (tkmain_); } -- inline void tkmain(struct Tk_Window_* w) { tkmain_ = w; } -- void add_option(const char* name, const char* value); -- void add_default(const char* name, const char* value); -- const char* attr(const char* attr) const; -- const char* application() const { return (application_); } -- inline const char* rds(const char* a, const char* fld) const { -- return (Tcl_GetVar2(tcl_, (char*)a, (char*)fld, -- TCL_GLOBAL_ONLY)); -- } -- -- TclObject* lookup(const char* name); -- void enter(TclObject*); -- void remove(TclObject*); -- private: -- void error(const char*); -- -- static Tcl instance_; -- Tcl_Interp* tcl_; -- Tk_Window_* tkmain_; -- char* bp_; -- const char* application_; -- char buffer_[4096]; -- Tcl_HashTable objs_; --}; -- - class InstVar; - - class TclObject { -diff -Naur tclcl-1.15/tclcl-mappings.h tclcl-1.15-fix/tclcl-mappings.h ---- tclcl-1.15/tclcl-mappings.h 2004-01-06 02:50:24.000000000 +0100 -+++ tclcl-1.15-fix/tclcl-mappings.h 2004-10-18 14:47:14.457294392 +0200 -@@ -38,7 +38,116 @@ - - - class TclObject; --class Tcl; -+class Tcl { -+ public: -+ /* constructor should be private but SGIs C++ compiler complains*/ -+ Tcl(); -+ -+ static void init(const char* application); -+ static void init(Tcl_Interp*, const char* application); -+ static inline Tcl& instance() { return (instance_); } -+ inline int dark() const { return (tcl_ == 0); } -+ inline Tcl_Interp* interp() const { return (tcl_); } -+ -+#if TCL_MAJOR_VERSION >= 8 -+ int evalObj(Tcl_Obj *pObj) { return Tcl_GlobalEvalObj(tcl_, pObj); } -+ int evalObjs(int objc, Tcl_Obj **objv) { -+ Tcl_Obj* pListObj = Tcl_NewListObj(objc, objv); -+ int retcode = evalObj(pListObj); -+ Tcl_DecrRefCount(pListObj); -+ return retcode; -+ } -+ Tcl_Obj* objResult() const { return Tcl_GetObjResult(tcl_); } -+ int resultAs(int* pInt) { -+ return Tcl_GetIntFromObj(tcl_, objResult(), pInt); -+ } -+ int resultAs(long* pLong) { -+ return Tcl_GetLongFromObj(tcl_, objResult(), pLong); -+ } -+ int resultAs(double* pDbl) { -+ return Tcl_GetDoubleFromObj(tcl_, objResult(), pDbl); -+ } -+ void result(Tcl_Obj *pObj) { Tcl_SetObjResult(tcl_, pObj); } -+ inline const char* result() const { return Tcl_GetStringResult(tcl_); } -+#else /* TCL_MAJOR_VERSION >= 8 */ -+ /* may not work at all! */ -+ inline char* result() const { return (tcl_->result); } -+#endif /* TCL_MAJOR_VERSION >= 8 */ -+ inline void result(const char* p) { tcl_->result = (char*)p; } -+ void resultf(const char* fmt, ...); -+ inline void CreateCommand(const char* cmd, Tcl_CmdProc* cproc, -+ ClientData cd = 0, -+ Tcl_CmdDeleteProc* dproc = 0) { -+ Tcl_CreateCommand(tcl_, (char*)cmd, cproc, cd, dproc); -+ } -+ inline void CreateCommand(Tcl_CmdProc* cproc, -+ ClientData cd = 0, -+ Tcl_CmdDeleteProc* dproc = 0) { -+ Tcl_CreateCommand(tcl_, buffer_, cproc, cd, dproc); -+ } -+ inline void DeleteCommand(const char* cmd) { -+ Tcl_DeleteCommand(tcl_, (char*)cmd); -+ } -+ inline void EvalFile(const char* file) { -+ if (Tcl_EvalFile(tcl_, (char*)file) != TCL_OK) -+ error(file); -+ } -+ inline const char* var(const char* varname, int flags = TCL_GLOBAL_ONLY) { -+ return (Tcl_GetVar(tcl_, (char*)varname, flags)); -+ } -+ /* -+ * Hooks for invoking the tcl interpreter: -+ * eval(char*) - when string is in writable store -+ * evalc() - when string is in read-only store (e.g., string consts) -+ * [ eval(const char*) is a synonym ] -+ * evalf() - printf style formatting of command -+ * Or, write into the buffer returned by buffer() and -+ * then call eval(void). -+ */ -+ void eval(char* s); -+ void eval(const char* s) { evalc(s); }; -+ void evalc(const char* s); -+ void eval(); -+ char* buffer() { return (bp_); } -+ /* -+ * This routine used to be inlined, but SGI's C++ compiler -+ * can't hack stdarg inlining. No big deal here. -+ */ -+ void evalf(const char* fmt, ...); -+ -+ inline void add_error(const char *string) { -+ Tcl_AddErrorInfo(interp(), (char *) string); -+ } -+ void add_errorf(const char *fmt, ...); -+ -+ inline struct Tk_Window_* tkmain() const { return (tkmain_); } -+ inline void tkmain(struct Tk_Window_* w) { tkmain_ = w; } -+ void add_option(const char* name, const char* value); -+ void add_default(const char* name, const char* value); -+ const char* attr(const char* attr) const; -+ const char* application() const { return (application_); } -+ inline const char* rds(const char* a, const char* fld) const { -+ return (Tcl_GetVar2(tcl_, (char*)a, (char*)fld, -+ TCL_GLOBAL_ONLY)); -+ } -+ -+ TclObject* lookup(const char* name); -+ void enter(TclObject*); -+ void remove(TclObject*); -+ private: -+ void error(const char*); -+ -+ static Tcl instance_; -+ Tcl_Interp* tcl_; -+ Tk_Window_* tkmain_; -+ char* bp_; -+ const char* application_; -+ char buffer_[4096]; -+ Tcl_HashTable objs_; -+}; -+ -+ -+ - - template <class T> - class TclObjectHelper { diff --git a/dev-tcltk/tclcl/tclcl-1.15.ebuild b/dev-tcltk/tclcl/tclcl-1.15.ebuild deleted file mode 100644 index fe526bb614a0..000000000000 --- a/dev-tcltk/tclcl/tclcl-1.15.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclcl/tclcl-1.15.ebuild,v 1.9 2005/05/14 18:20:29 matsuu Exp $ - -inherit eutils - -DESCRIPTION="Tcl/C++ interface library" -SF_PN="otcl-tclcl" -HOMEPAGE="http://sourceforge.net/projects/${SF_PN}/" -MY_P="${PN}-src-${PV}" -SRC_URI="mirror://sourceforge/${SF_PN}/${MY_P}.tar.gz" -LICENSE="as-is" -SLOT="0" -KEYWORDS="x86 sparc ~amd64" -IUSE="" -DEPEND=">=dev-lang/tcl-8.3.2 - >=dev-lang/tk-8.3.2 - >=dev-tcltk/otcl-1.0.8" - -src_unpack() { - unpack ${A} - cd ${S} - - epatch ${FILESDIR}/${P}-gcc34.patch - - libtoolize -f -} - -src_compile() { - local tclv tkv - tclv=$(grep TCL_VER /usr/include/tcl.h | sed 's/^.*"\(.*\)".*/\1/') - tkv=$(grep TK_VER /usr/include/tk.h | sed 's/^.*"\(.*\)".*/\1/') - local myconf="--with-tcl-ver=${tclv} --with-tk-ver=${tkv}" - econf ${myconf} || die "econf failed" - sed 's|$(LIBRARY_TCL)/http.*/http.tcl|$(LIBRARY_TCL)/http2.5/http.tcl|g' \ - -i Makefile || die "sed failed" - emake || die "emake failed" -} - -src_install() { - dolib.a libtclcl.a - dobin tcl2c++ - dodir /usr/include - insinto /usr/include - doins *.h - dohtml CHANGES.html - dodoc FILES README VERSION -} diff --git a/dev-tcltk/tclcl/tclcl-1.16.ebuild b/dev-tcltk/tclcl/tclcl-1.16.ebuild deleted file mode 100644 index 7bdf5a364b28..000000000000 --- a/dev-tcltk/tclcl/tclcl-1.16.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclcl/tclcl-1.16.ebuild,v 1.3 2005/07/19 14:05:31 dholm Exp $ - -inherit eutils - -MY_P="${PN}-src-${PV}" -DESCRIPTION="Tcl/C++ interface library" -HOMEPAGE="http://otcl-tclcl.sourceforge.net/tclcl/" -SRC_URI="mirror://sourceforge/otcl-tclcl/${MY_P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="" - -DEPEND=">=dev-lang/tcl-8.3.2 - >=dev-lang/tk-8.3.2 - >=dev-tcltk/otcl-1.0.8" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${P}-http.patch -} - -src_compile() { - local tclv tkv myconf - - tclv=$(grep TCL_VER /usr/include/tcl.h | sed 's/^.*"\(.*\)".*/\1/') - tkv=$(grep TK_VER /usr/include/tk.h | sed 's/^.*"\(.*\)".*/\1/') - myconf="--with-tcl-ver=${tclv} --with-tk-ver=${tkv}" - - econf ${myconf} || die "econf failed" - emake || die "emake failed" -} - -src_install() { - dolib.a libtclcl.a - dobin tcl2c++ - insinto /usr/include - doins *.h - - dodoc FILES README VERSION - dohtml CHANGES.html -} diff --git a/dev-tcltk/tclcl/tclcl-1.17.ebuild b/dev-tcltk/tclcl/tclcl-1.17.ebuild index 273451c04e25..097f64fee12c 100644 --- a/dev-tcltk/tclcl/tclcl-1.17.ebuild +++ b/dev-tcltk/tclcl/tclcl-1.17.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclcl/tclcl-1.17.ebuild,v 1.3 2007/04/29 13:30:30 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclcl/tclcl-1.17.ebuild,v 1.4 2007/05/03 15:19:16 gustavoz Exp $ WANT_AUTOMAKE="latest" WANT_AUTOCONF="latest" @@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/otcl-tclcl/${P}.tar.gz" LICENSE="as-is" SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc x86" +KEYWORDS="~amd64 ~ppc sparc x86" IUSE="" DEPEND=">=dev-lang/tcl-8.4.5 diff --git a/dev-tcltk/tclcl/tclcl-1.19.ebuild b/dev-tcltk/tclcl/tclcl-1.19.ebuild index 1d45433c6be8..cb79edbacf7e 100644 --- a/dev-tcltk/tclcl/tclcl-1.19.ebuild +++ b/dev-tcltk/tclcl/tclcl-1.19.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclcl/tclcl-1.19.ebuild,v 1.2 2007/05/03 15:15:42 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclcl/tclcl-1.19.ebuild,v 1.3 2007/05/03 15:19:16 gustavoz Exp $ WANT_AUTOMAKE="latest" WANT_AUTOCONF="latest" @@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/otcl-tclcl/${MY_P}.tar.gz" LICENSE="as-is" SLOT="0" -KEYWORDS="~amd64 ~ppc sparc ~x86" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" IUSE="" DEPEND="x11-libs/libX11 |