2005-11-02 17:25:31 +01:00
|
|
|
# $NetBSD: Makefile,v 1.51 2005/11/02 16:25:31 joerg Exp $
|
Initial import of new pkgsrc/lang/tk (tk-8.3.2) package, partly derived
from the older pkgsrc/lang/tk80 (tk-8.0.5) package.
This is an update of the tk package from version 8.0.5 to version 8.3.2,
and also a slight change in the organization of tcl/tk packages.
This will be added disabled to pkgsrc/x11/Makefile until I finish updating
all tcl/tk-based packags.
Changes from out-of-the-box tk-8.3.2:
Both static and shared libtcl83.* are installed, thanks to
the magic of libtool.
Changes to the package since tk-8.3.2:
A symlink to ${PREFIX}/bin/wish8.3 is installed as ${PREFIX}/bin/wish
This change is designed to allow tk-using packages to not depend on
any particular version of tk.
public tk include files and the tk configuration information script
are now installed in their standard places (${PREFIX}/include/tk*.h,
and ${PREFIX}/lib/tkConfig.sh), and private tcl include files are now
installed in ${PREFIX}/include/tk. This change allows tcl extension
packages to work out of the box, and to not need modification when tcl
and tk are updated. When extension package authors use the new
libtclstubs*.a API, this even allows binary packages of dynamically-
loadable tcl extensions to be used with newer versions of tcl without
recompilation.
Here are the new features in tk-8.3.x as opposed to 8.0.x. I am not including
bug fixes as this represents about 18 months of them.
Img patch from Nijtmans, et al was adopted. This includes a
Tcl_Obj-based image command, support for binary in -data args, adds
an alpha channel to all photo types, as well as GIF write capability.
Major portions of Dash patch from Nijtmans, et al was adopted. This
includes a Tcl_Obj-based canvas command, dashed canvas item support,
enhanced canvas tag searching capabilities, pointer warping with event
-warp, entry widget validation routines, -elide tag option for of the text
widget (TkMan runs on 8.3 without a patch), several new canvas item
arguments, as well as postscript printing support for images and windows in
the canvas.
Listboxes support a -listvariable and have a new itemconfigure
command to color individual items.
Extended "wm state" command to accept a state to set for the toplevel,
and added support for the zoomed (maximized) state on Windows.
Standard Unix dialogs have been updated to use color icons and
have improved behavior.
New "tk useinputmethods" command. This changes the behavior of
Tk on X where X Input Methods (XIM) were recognized and used without
question. With 8.3, they will be recognized and initialized, but
not used unless XIM is turned on (tk useinputmethods 1). This should
only affect users with special input methods, and the new default
behavior should be more beneficial to the average user.
2000-08-29 18:16:06 +02:00
|
|
|
|
2005-09-08 23:25:15 +02:00
|
|
|
DISTNAME= tk${TK_VERSION}-src
|
|
|
|
PKGNAME= tk-${TK_VERSION}
|
2005-11-02 17:25:31 +01:00
|
|
|
PKGREVISION= 2
|
2004-11-26 11:30:01 +01:00
|
|
|
CATEGORIES= x11 lang
|
2004-03-08 21:29:43 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcl/}
|
Initial import of new pkgsrc/lang/tk (tk-8.3.2) package, partly derived
from the older pkgsrc/lang/tk80 (tk-8.0.5) package.
This is an update of the tk package from version 8.0.5 to version 8.3.2,
and also a slight change in the organization of tcl/tk packages.
This will be added disabled to pkgsrc/x11/Makefile until I finish updating
all tcl/tk-based packags.
Changes from out-of-the-box tk-8.3.2:
Both static and shared libtcl83.* are installed, thanks to
the magic of libtool.
Changes to the package since tk-8.3.2:
A symlink to ${PREFIX}/bin/wish8.3 is installed as ${PREFIX}/bin/wish
This change is designed to allow tk-using packages to not depend on
any particular version of tk.
public tk include files and the tk configuration information script
are now installed in their standard places (${PREFIX}/include/tk*.h,
and ${PREFIX}/lib/tkConfig.sh), and private tcl include files are now
installed in ${PREFIX}/include/tk. This change allows tcl extension
packages to work out of the box, and to not need modification when tcl
and tk are updated. When extension package authors use the new
libtclstubs*.a API, this even allows binary packages of dynamically-
loadable tcl extensions to be used with newer versions of tcl without
recompilation.
Here are the new features in tk-8.3.x as opposed to 8.0.x. I am not including
bug fixes as this represents about 18 months of them.
Img patch from Nijtmans, et al was adopted. This includes a
Tcl_Obj-based image command, support for binary in -data args, adds
an alpha channel to all photo types, as well as GIF write capability.
Major portions of Dash patch from Nijtmans, et al was adopted. This
includes a Tcl_Obj-based canvas command, dashed canvas item support,
enhanced canvas tag searching capabilities, pointer warping with event
-warp, entry widget validation routines, -elide tag option for of the text
widget (TkMan runs on 8.3 without a patch), several new canvas item
arguments, as well as postscript printing support for images and windows in
the canvas.
Listboxes support a -listvariable and have a new itemconfigure
command to color individual items.
Extended "wm state" command to accept a state to set for the toplevel,
and added support for the zoomed (maximized) state on Windows.
Standard Unix dialogs have been updated to use color icons and
have improved behavior.
New "tk useinputmethods" command. This changes the behavior of
Tk on X where X Input Methods (XIM) were recognized and used without
question. With 8.3, they will be recognized and initialized, but
not used unless XIM is turned on (tk useinputmethods 1). This should
only affect users with special input methods, and the new default
behavior should be more beneficial to the average user.
2000-08-29 18:16:06 +02:00
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= jwise@NetBSD.org
|
2004-03-08 21:29:43 +01:00
|
|
|
HOMEPAGE= http://www.tcl.tk/
|
2001-02-17 18:06:11 +01:00
|
|
|
COMMENT= Graphical toolkit for TCL
|
Initial import of new pkgsrc/lang/tk (tk-8.3.2) package, partly derived
from the older pkgsrc/lang/tk80 (tk-8.0.5) package.
This is an update of the tk package from version 8.0.5 to version 8.3.2,
and also a slight change in the organization of tcl/tk packages.
This will be added disabled to pkgsrc/x11/Makefile until I finish updating
all tcl/tk-based packags.
Changes from out-of-the-box tk-8.3.2:
Both static and shared libtcl83.* are installed, thanks to
the magic of libtool.
Changes to the package since tk-8.3.2:
A symlink to ${PREFIX}/bin/wish8.3 is installed as ${PREFIX}/bin/wish
This change is designed to allow tk-using packages to not depend on
any particular version of tk.
public tk include files and the tk configuration information script
are now installed in their standard places (${PREFIX}/include/tk*.h,
and ${PREFIX}/lib/tkConfig.sh), and private tcl include files are now
installed in ${PREFIX}/include/tk. This change allows tcl extension
packages to work out of the box, and to not need modification when tcl
and tk are updated. When extension package authors use the new
libtclstubs*.a API, this even allows binary packages of dynamically-
loadable tcl extensions to be used with newer versions of tcl without
recompilation.
Here are the new features in tk-8.3.x as opposed to 8.0.x. I am not including
bug fixes as this represents about 18 months of them.
Img patch from Nijtmans, et al was adopted. This includes a
Tcl_Obj-based image command, support for binary in -data args, adds
an alpha channel to all photo types, as well as GIF write capability.
Major portions of Dash patch from Nijtmans, et al was adopted. This
includes a Tcl_Obj-based canvas command, dashed canvas item support,
enhanced canvas tag searching capabilities, pointer warping with event
-warp, entry widget validation routines, -elide tag option for of the text
widget (TkMan runs on 8.3 without a patch), several new canvas item
arguments, as well as postscript printing support for images and windows in
the canvas.
Listboxes support a -listvariable and have a new itemconfigure
command to color individual items.
Extended "wm state" command to accept a state to set for the toplevel,
and added support for the zoomed (maximized) state on Windows.
Standard Unix dialogs have been updated to use color icons and
have improved behavior.
New "tk useinputmethods" command. This changes the behavior of
Tk on X where X Input Methods (XIM) were recognized and used without
question. With 8.3, they will be recognized and initialized, but
not used unless XIM is turned on (tk useinputmethods 1). This should
only affect users with special input methods, and the new default
behavior should be more beneficial to the average user.
2000-08-29 18:16:06 +02:00
|
|
|
|
2005-09-08 23:25:15 +02:00
|
|
|
.include "../../x11/tk/Makefile.version"
|
|
|
|
|
2004-01-05 12:17:10 +01:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2004-03-08 21:29:43 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:C/-src//}/unix
|
2004-11-26 11:30:01 +01:00
|
|
|
|
|
|
|
USE_LIBTOOL= yes
|
2001-06-21 20:55:02 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2004-03-25 23:49:14 +01:00
|
|
|
CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}/lib
|
Reverse previous commit (disabling thread-safety), which was poorly though
through, unacceptably breaks threaded apps, and was made without consulting
the package's maintainer.
To quote my mail to packages@:
I am reversing this change.
With this change, tcl is _not_ usable in threaded apps, while without
this change, tcl is perfectly usable in non-threaded apps.
The fix for a package which is incorrectly written is not to break the
package it depends on, but do your job correctly when writing the
package.
With buildlink3, this is mind-numbingly easy to do.
That you neither contacted the maintainer of this package, nor did the
buildlink and dependent package changes which your change requires shows
that you have not really thought this through.
So, as I said, I am reversing this change. Fix your own package, don't
break others.
2004-06-15 18:39:12 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-threads
|
2005-04-13 19:37:43 +02:00
|
|
|
CONFIGURE_ENV+= LIB_RUNTIME_DIR=${PREFIX}/lib
|
2005-04-13 18:47:10 +02:00
|
|
|
MAKE_ENV+= TOUCH=${TOUCH:Q}
|
|
|
|
PTHREAD_OPTS+= require
|
Initial import of new pkgsrc/lang/tk (tk-8.3.2) package, partly derived
from the older pkgsrc/lang/tk80 (tk-8.0.5) package.
This is an update of the tk package from version 8.0.5 to version 8.3.2,
and also a slight change in the organization of tcl/tk packages.
This will be added disabled to pkgsrc/x11/Makefile until I finish updating
all tcl/tk-based packags.
Changes from out-of-the-box tk-8.3.2:
Both static and shared libtcl83.* are installed, thanks to
the magic of libtool.
Changes to the package since tk-8.3.2:
A symlink to ${PREFIX}/bin/wish8.3 is installed as ${PREFIX}/bin/wish
This change is designed to allow tk-using packages to not depend on
any particular version of tk.
public tk include files and the tk configuration information script
are now installed in their standard places (${PREFIX}/include/tk*.h,
and ${PREFIX}/lib/tkConfig.sh), and private tcl include files are now
installed in ${PREFIX}/include/tk. This change allows tcl extension
packages to work out of the box, and to not need modification when tcl
and tk are updated. When extension package authors use the new
libtclstubs*.a API, this even allows binary packages of dynamically-
loadable tcl extensions to be used with newer versions of tcl without
recompilation.
Here are the new features in tk-8.3.x as opposed to 8.0.x. I am not including
bug fixes as this represents about 18 months of them.
Img patch from Nijtmans, et al was adopted. This includes a
Tcl_Obj-based image command, support for binary in -data args, adds
an alpha channel to all photo types, as well as GIF write capability.
Major portions of Dash patch from Nijtmans, et al was adopted. This
includes a Tcl_Obj-based canvas command, dashed canvas item support,
enhanced canvas tag searching capabilities, pointer warping with event
-warp, entry widget validation routines, -elide tag option for of the text
widget (TkMan runs on 8.3 without a patch), several new canvas item
arguments, as well as postscript printing support for images and windows in
the canvas.
Listboxes support a -listvariable and have a new itemconfigure
command to color individual items.
Extended "wm state" command to accept a state to set for the toplevel,
and added support for the zoomed (maximized) state on Windows.
Standard Unix dialogs have been updated to use color icons and
have improved behavior.
New "tk useinputmethods" command. This changes the behavior of
Tk on X where X Input Methods (XIM) were recognized and used without
question. With 8.3, they will be recognized and initialized, but
not used unless XIM is turned on (tk useinputmethods 1). This should
only affect users with special input methods, and the new default
behavior should be more beneficial to the average user.
2000-08-29 18:16:06 +02:00
|
|
|
|
2003-02-17 16:27:58 +01:00
|
|
|
TEST_TARGET= test
|
Initial import of new pkgsrc/lang/tk (tk-8.3.2) package, partly derived
from the older pkgsrc/lang/tk80 (tk-8.0.5) package.
This is an update of the tk package from version 8.0.5 to version 8.3.2,
and also a slight change in the organization of tcl/tk packages.
This will be added disabled to pkgsrc/x11/Makefile until I finish updating
all tcl/tk-based packags.
Changes from out-of-the-box tk-8.3.2:
Both static and shared libtcl83.* are installed, thanks to
the magic of libtool.
Changes to the package since tk-8.3.2:
A symlink to ${PREFIX}/bin/wish8.3 is installed as ${PREFIX}/bin/wish
This change is designed to allow tk-using packages to not depend on
any particular version of tk.
public tk include files and the tk configuration information script
are now installed in their standard places (${PREFIX}/include/tk*.h,
and ${PREFIX}/lib/tkConfig.sh), and private tcl include files are now
installed in ${PREFIX}/include/tk. This change allows tcl extension
packages to work out of the box, and to not need modification when tcl
and tk are updated. When extension package authors use the new
libtclstubs*.a API, this even allows binary packages of dynamically-
loadable tcl extensions to be used with newer versions of tcl without
recompilation.
Here are the new features in tk-8.3.x as opposed to 8.0.x. I am not including
bug fixes as this represents about 18 months of them.
Img patch from Nijtmans, et al was adopted. This includes a
Tcl_Obj-based image command, support for binary in -data args, adds
an alpha channel to all photo types, as well as GIF write capability.
Major portions of Dash patch from Nijtmans, et al was adopted. This
includes a Tcl_Obj-based canvas command, dashed canvas item support,
enhanced canvas tag searching capabilities, pointer warping with event
-warp, entry widget validation routines, -elide tag option for of the text
widget (TkMan runs on 8.3 without a patch), several new canvas item
arguments, as well as postscript printing support for images and windows in
the canvas.
Listboxes support a -listvariable and have a new itemconfigure
command to color individual items.
Extended "wm state" command to accept a state to set for the toplevel,
and added support for the zoomed (maximized) state on Windows.
Standard Unix dialogs have been updated to use color icons and
have improved behavior.
New "tk useinputmethods" command. This changes the behavior of
Tk on X where X Input Methods (XIM) were recognized and used without
question. With 8.3, they will be recognized and initialized, but
not used unless XIM is turned on (tk useinputmethods 1). This should
only affect users with special input methods, and the new default
behavior should be more beneficial to the average user.
2000-08-29 18:16:06 +02:00
|
|
|
|
2004-03-25 23:49:14 +01:00
|
|
|
.include "../../lang/tcl/buildlink3.mk"
|
2005-04-13 18:47:10 +02:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated. These
changes affect about 1000 files.
The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files. Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred. This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.
The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.
The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc. The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.
The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files. Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories. These files are used as input
to imake since imake can't use stdin for that purpose.
The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead. This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed. Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries. Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 20:02:37 +02:00
|
|
|
.include "../../mk/x11.buildlink3.mk"
|
2004-03-25 23:49:14 +01:00
|
|
|
|
2005-04-11 04:44:26 +02:00
|
|
|
post-build:
|
2005-08-31 11:40:15 +02:00
|
|
|
${SED} \
|
2005-04-11 04:44:26 +02:00
|
|
|
-e "s|${WRKSRC}|${PREFIX}/lib|" \
|
2005-04-13 22:41:03 +02:00
|
|
|
-e "s|${WRKDIR}/${DISTNAME:C/-src//}|${PREFIX}/include/tk|" \
|
2005-04-11 04:44:26 +02:00
|
|
|
${WRKSRC}/tkConfig.sh > ${WRKSRC}/tkConfig.sh.tmp && \
|
|
|
|
${MV} ${WRKSRC}/tkConfig.sh.tmp ${WRKSRC}/tkConfig.sh
|
|
|
|
|
Initial import of new pkgsrc/lang/tk (tk-8.3.2) package, partly derived
from the older pkgsrc/lang/tk80 (tk-8.0.5) package.
This is an update of the tk package from version 8.0.5 to version 8.3.2,
and also a slight change in the organization of tcl/tk packages.
This will be added disabled to pkgsrc/x11/Makefile until I finish updating
all tcl/tk-based packags.
Changes from out-of-the-box tk-8.3.2:
Both static and shared libtcl83.* are installed, thanks to
the magic of libtool.
Changes to the package since tk-8.3.2:
A symlink to ${PREFIX}/bin/wish8.3 is installed as ${PREFIX}/bin/wish
This change is designed to allow tk-using packages to not depend on
any particular version of tk.
public tk include files and the tk configuration information script
are now installed in their standard places (${PREFIX}/include/tk*.h,
and ${PREFIX}/lib/tkConfig.sh), and private tcl include files are now
installed in ${PREFIX}/include/tk. This change allows tcl extension
packages to work out of the box, and to not need modification when tcl
and tk are updated. When extension package authors use the new
libtclstubs*.a API, this even allows binary packages of dynamically-
loadable tcl extensions to be used with newer versions of tcl without
recompilation.
Here are the new features in tk-8.3.x as opposed to 8.0.x. I am not including
bug fixes as this represents about 18 months of them.
Img patch from Nijtmans, et al was adopted. This includes a
Tcl_Obj-based image command, support for binary in -data args, adds
an alpha channel to all photo types, as well as GIF write capability.
Major portions of Dash patch from Nijtmans, et al was adopted. This
includes a Tcl_Obj-based canvas command, dashed canvas item support,
enhanced canvas tag searching capabilities, pointer warping with event
-warp, entry widget validation routines, -elide tag option for of the text
widget (TkMan runs on 8.3 without a patch), several new canvas item
arguments, as well as postscript printing support for images and windows in
the canvas.
Listboxes support a -listvariable and have a new itemconfigure
command to color individual items.
Extended "wm state" command to accept a state to set for the toplevel,
and added support for the zoomed (maximized) state on Windows.
Standard Unix dialogs have been updated to use color icons and
have improved behavior.
New "tk useinputmethods" command. This changes the behavior of
Tk on X where X Input Methods (XIM) were recognized and used without
question. With 8.3, they will be recognized and initialized, but
not used unless XIM is turned on (tk useinputmethods 1). This should
only affect users with special input methods, and the new default
behavior should be more beneficial to the average user.
2000-08-29 18:16:06 +02:00
|
|
|
post-install:
|
2000-10-16 17:07:45 +02:00
|
|
|
${RM} -f ${PREFIX}/bin/wish
|
2004-03-08 21:29:43 +01:00
|
|
|
cd ${PREFIX}/bin && ${LN} -s wish8.4 wish
|
2001-02-25 05:17:35 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/include/tk
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/include/tk/generic
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/include/tk/unix
|
2000-09-08 03:03:21 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/../generic/default.h ${PREFIX}/include/tk/generic
|
2001-12-23 18:11:30 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/../generic/ks_names.h ${PREFIX}/include/tk/generic
|
Initial import of new pkgsrc/lang/tk (tk-8.3.2) package, partly derived
from the older pkgsrc/lang/tk80 (tk-8.0.5) package.
This is an update of the tk package from version 8.0.5 to version 8.3.2,
and also a slight change in the organization of tcl/tk packages.
This will be added disabled to pkgsrc/x11/Makefile until I finish updating
all tcl/tk-based packags.
Changes from out-of-the-box tk-8.3.2:
Both static and shared libtcl83.* are installed, thanks to
the magic of libtool.
Changes to the package since tk-8.3.2:
A symlink to ${PREFIX}/bin/wish8.3 is installed as ${PREFIX}/bin/wish
This change is designed to allow tk-using packages to not depend on
any particular version of tk.
public tk include files and the tk configuration information script
are now installed in their standard places (${PREFIX}/include/tk*.h,
and ${PREFIX}/lib/tkConfig.sh), and private tcl include files are now
installed in ${PREFIX}/include/tk. This change allows tcl extension
packages to work out of the box, and to not need modification when tcl
and tk are updated. When extension package authors use the new
libtclstubs*.a API, this even allows binary packages of dynamically-
loadable tcl extensions to be used with newer versions of tcl without
recompilation.
Here are the new features in tk-8.3.x as opposed to 8.0.x. I am not including
bug fixes as this represents about 18 months of them.
Img patch from Nijtmans, et al was adopted. This includes a
Tcl_Obj-based image command, support for binary in -data args, adds
an alpha channel to all photo types, as well as GIF write capability.
Major portions of Dash patch from Nijtmans, et al was adopted. This
includes a Tcl_Obj-based canvas command, dashed canvas item support,
enhanced canvas tag searching capabilities, pointer warping with event
-warp, entry widget validation routines, -elide tag option for of the text
widget (TkMan runs on 8.3 without a patch), several new canvas item
arguments, as well as postscript printing support for images and windows in
the canvas.
Listboxes support a -listvariable and have a new itemconfigure
command to color individual items.
Extended "wm state" command to accept a state to set for the toplevel,
and added support for the zoomed (maximized) state on Windows.
Standard Unix dialogs have been updated to use color icons and
have improved behavior.
New "tk useinputmethods" command. This changes the behavior of
Tk on X where X Input Methods (XIM) were recognized and used without
question. With 8.3, they will be recognized and initialized, but
not used unless XIM is turned on (tk useinputmethods 1). This should
only affect users with special input methods, and the new default
behavior should be more beneficial to the average user.
2000-08-29 18:16:06 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/../generic/tk.h ${PREFIX}/include/tk/generic
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../generic/tk3d.h ${PREFIX}/include/tk/generic
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../generic/tkButton.h ${PREFIX}/include/tk/generic
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../generic/tkCanvas.h ${PREFIX}/include/tk/generic
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../generic/tkColor.h ${PREFIX}/include/tk/generic
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../generic/tkDecls.h ${PREFIX}/include/tk/generic
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../generic/tkFileFilter.h ${PREFIX}/include/tk/generic
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../generic/tkFont.h ${PREFIX}/include/tk/generic
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../generic/tkInitScript.h ${PREFIX}/include/tk/generic
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../generic/tkInt.h ${PREFIX}/include/tk/generic
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../generic/tkIntDecls.h ${PREFIX}/include/tk/generic
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../generic/tkIntPlatDecls.h ${PREFIX}/include/tk/generic
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../generic/tkIntXlibDecls.h ${PREFIX}/include/tk/generic
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../generic/tkMenu.h ${PREFIX}/include/tk/generic
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../generic/tkMenubutton.h ${PREFIX}/include/tk/generic
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../generic/tkPlatDecls.h ${PREFIX}/include/tk/generic
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../generic/tkPort.h ${PREFIX}/include/tk/generic
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../generic/tkScale.h ${PREFIX}/include/tk/generic
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../generic/tkScrollbar.h ${PREFIX}/include/tk/generic
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../generic/tkSelect.h ${PREFIX}/include/tk/generic
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../generic/tkText.h ${PREFIX}/include/tk/generic
|
2004-03-08 21:29:43 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/../generic/tkUndo.h ${PREFIX}/include/tk/generic
|
Initial import of new pkgsrc/lang/tk (tk-8.3.2) package, partly derived
from the older pkgsrc/lang/tk80 (tk-8.0.5) package.
This is an update of the tk package from version 8.0.5 to version 8.3.2,
and also a slight change in the organization of tcl/tk packages.
This will be added disabled to pkgsrc/x11/Makefile until I finish updating
all tcl/tk-based packags.
Changes from out-of-the-box tk-8.3.2:
Both static and shared libtcl83.* are installed, thanks to
the magic of libtool.
Changes to the package since tk-8.3.2:
A symlink to ${PREFIX}/bin/wish8.3 is installed as ${PREFIX}/bin/wish
This change is designed to allow tk-using packages to not depend on
any particular version of tk.
public tk include files and the tk configuration information script
are now installed in their standard places (${PREFIX}/include/tk*.h,
and ${PREFIX}/lib/tkConfig.sh), and private tcl include files are now
installed in ${PREFIX}/include/tk. This change allows tcl extension
packages to work out of the box, and to not need modification when tcl
and tk are updated. When extension package authors use the new
libtclstubs*.a API, this even allows binary packages of dynamically-
loadable tcl extensions to be used with newer versions of tcl without
recompilation.
Here are the new features in tk-8.3.x as opposed to 8.0.x. I am not including
bug fixes as this represents about 18 months of them.
Img patch from Nijtmans, et al was adopted. This includes a
Tcl_Obj-based image command, support for binary in -data args, adds
an alpha channel to all photo types, as well as GIF write capability.
Major portions of Dash patch from Nijtmans, et al was adopted. This
includes a Tcl_Obj-based canvas command, dashed canvas item support,
enhanced canvas tag searching capabilities, pointer warping with event
-warp, entry widget validation routines, -elide tag option for of the text
widget (TkMan runs on 8.3 without a patch), several new canvas item
arguments, as well as postscript printing support for images and windows in
the canvas.
Listboxes support a -listvariable and have a new itemconfigure
command to color individual items.
Extended "wm state" command to accept a state to set for the toplevel,
and added support for the zoomed (maximized) state on Windows.
Standard Unix dialogs have been updated to use color icons and
have improved behavior.
New "tk useinputmethods" command. This changes the behavior of
Tk on X where X Input Methods (XIM) were recognized and used without
question. With 8.3, they will be recognized and initialized, but
not used unless XIM is turned on (tk useinputmethods 1). This should
only affect users with special input methods, and the new default
behavior should be more beneficial to the average user.
2000-08-29 18:16:06 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/../unix/tkUnixDefault.h ${PREFIX}/include/tk/unix
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../unix/tkUnixInt.h ${PREFIX}/include/tk/unix
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../unix/tkUnixPort.h ${PREFIX}/include/tk/unix
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|