[ tcl-Patches-1960628 ] TEA adjustments/fixes

View: New views
1 Messages — Rating Filter:   Alert me  

[ tcl-Patches-1960628 ] TEA adjustments/fixes

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Patches item #1960628, was opened at 2008-05-08 17:06
Message generated for change (Comment added) made by stwo
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=310894&aid=1960628&group_id=10894

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: 70. Sample Extension
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Stuart Cassoff (stwo)
Assigned to: Mo DeJong (mdejong)
>Summary: TEA adjustments/fixes

Initial Comment:
If the VPATH needs to deviate from the standard four dirs (src, src/generic,src/unix,wrc/win) an extension writer would need to alter the tcl.m4 file as well as Makefile.in as opposed to need to simply alter configure.in.
The new macro, TEA_ADD_VPATH_DIR is used to add directories to the VPATH. TEA_ADD_VPATH_DIR should be called before TEA_ADD_SOURCES or TEA_ADD_STUB_SOURCES to ensure that all source files are found. The default search dirs are now only the src snd src/generic dirs. If needed,  src/unix and src/win have to be added manually using TCL_ADD_VPATH_DIR. Also in this patch is a small adjustment to pkgIndex.tcl.in which removes the need to edit pkgIndex.tcl.in for basic usage cases. Also updates TEA_VERSION to 3.7.

----------------------------------------------------------------------

>Comment By: Stuart Cassoff (stwo)
Date: 2008-09-03 12:20

Message:
Logged In: YES
user_id=143350
Originator: YES

New, simpler patch.

pkgIndex.tcl.in:
Replace 'Tclsha1' with '@PACKAGE_NAME@' to free
an extension writer from having to modify the file.

tcl.m4:
Use TK_INCLUDE_SPEC to find tk.h, same way as
TCL_INCLUDE_SPEC is used to find tcl.h, fixes
bug where TEA can't find Tk headers. As part
of this, ensure variable 'list' is empty before
filling - I don't think it should contain the
list of directories for TCL_PUBLIC_HEADERS
when it looks for TK_PUBLIC_HEADERS.

Remove -Wno-implicit-int from CFLAGS_WARNING.

Add AC var SHLIB_VERSION used like:
SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}'
to free porters/builders from having to patch tcl.m4
on systems where the shared library version is important.

Assorted code/spelling/typo fixes/uniformity.

Does not change ephemeral TEA version number '3.6'.
File Added: tea36.patch

----------------------------------------------------------------------

Comment By: Stuart Cassoff (stwo)
Date: 2008-05-11 10:57

Message:
Logged In: YES
user_id=143350
Originator: YES

New patch does everything the original did plus the following:

Uses TK_INCLUDE_SPEC to find tk.h, same way as
TCL_INCLUDE_SPEC is used to find tcl.h

Additionally checks for tclConfig.sh in:
${exec_prefix}/lib/tcl[8-9].[0-9]
${exec}/lib/tcl[8-9].[0-9]
/usr/local/lib/tcl[8-9].[0-9]

Additionally checks for tkConfig.sh in:
${exec_prefix}/lib/tk[8-9].[0-9]
${exec}/lib/tk[8-9].[0-9]
/usr/local/lib/tk[8-9].[0-9]

Added INSTALL_LIBRARY macro.
Suitable for archs where install options for
binaries and libraries are different (ex: binaries
are stripped, libraries aren't).
Currently set to ${INSTALL_PROGRAM} - no functional change.
Groundwork for future install improvements.

Assorted code/spelling/typo fixes/uniformity.
File Added: tea_3.6-3.7.patch

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=310894&aid=1960628&group_id=10894

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tcl-Bugs mailing list
Tcl-Bugs@...
https://lists.sourceforge.net/lists/listinfo/tcl-bugs
LightInTheBox - Buy quality products at wholesale price!