Skip to content

Commit

Permalink
Updates for Tcl/Tk 9
Browse files Browse the repository at this point in the history
  • Loading branch information
petasis committed Dec 27, 2023
1 parent 839aa0a commit 38ae296
Show file tree
Hide file tree
Showing 18 changed files with 4,905 additions and 3,758 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
config.log
config.status
pkgIndex.tcl
Makefile
autom4te.cache
cmake/debug-nmake-x86_64/
cmake/release-nmake-x86_64/
cmake/runtime/
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ IF ( WIN32 )
ELSE ( WIN32 )
## Unix and OS X...
IF ( APPLE )
SET ( CMAKE_OSX_ARCHITECTURES "x86_64;i386" )
# SET ( CMAKE_OSX_ARCHITECTURES "x86_64;i386" )
FIND_LIBRARY ( COCOA_LIBRARY Cocoa )
INCLUDE_DIRECTORIES ( macosx )
INCLUDE_DIRECTORIES ( /Library/Frameworks/Tk.framework/Versions/8.6/PrivateHeaders )
Expand All @@ -87,7 +87,7 @@ ELSE ( WIN32 )
ADD_DEFINITIONS ( -DMAC_OSX_TK )
ADD_DEFINITIONS ( -std=gnu99 )
ADD_DEFINITIONS ( -x objective-c )
ADD_DEFINITIONS ( -fobjc-gc )
# ADD_DEFINITIONS ( -fobjc-gc )
ADD_DEFINITIONS ( -fobjc-arc )
LINK_LIBRARIES ( ${COCOA_LIBRARY} )
LIST ( APPEND PKG_SOURCES macosx/macdnd.m )
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# TkDND
TkDND is an extension that adds native drag & drop capabilities to the [Tk](http://www.tcl.tk/) toolkit.

It can be used with any Tk version equal or greater to **8.3.3** and currently only the UNIX (X-Windows), Microsoft Windows (XP, Vista, 7, 8, 8.1, 10) and OS X (10.5+) operating systems are supported.
It can be used with any Tk version equal or greater to **8.4** and currently only the UNIX (X-Windows), Microsoft Windows (XP, Vista, 7, 8, 8.1, 10, 11) and OS X (10.5+) operating systems are supported (under OS X Tk version **8.5** is required).

## Current Travis/AppVeyor CI build status for TkDND:

Expand All @@ -13,7 +13,7 @@ It can be used with any Tk version equal or greater to **8.3.3** and currently o

## Installation
### Requirements
* An installation Tcl/Tk, with version >= 8.3.3. The Tcl/Tk installation must contain the files tclConfig.sh, tkConfig.sh and the development libraries, under Unix/Linux/OSX/Windows, if you want to use configure/make. The files tclConfig.sh, and tkConfig.sh are not required if you want to use [CMake](https://cmake.org/).
* An installation of Tcl/Tk, with version >= 8.4. The Tcl/Tk installation must contain the files tclConfig.sh, tkConfig.sh and the development libraries, under Unix/Linux/OSX/Windows, if you want to use configure/make. The files tclConfig.sh, and tkConfig.sh are not required if you want to use [CMake](https://cmake.org/).
* [CMake](https://cmake.org/), version >= 3.2.
* A working C/C++ compiler.
* tclsh/wish must be in the PATH environmental variable. Typing `tclsh` in a command prompt/terminal, must run the executable from the Tcl/Tk installation TkDND will be built against.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.9.3
2.9.4
Loading

0 comments on commit 38ae296

Please sign in to comment.