Commit graph

98 commits

Author SHA1 Message Date
minskim
a8ae64698b Add link options to have a correct dependency_libs line in .la files
on NetBSD.  This fixes PR pkg/32915.

Bump PKGREVISION.
2006-02-23 23:31:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
adam
36aff7b87b Changes 8.4.12:
* Repeated [namespace import] of same command now permitted.
  * ${prefix}/share added to ::tcl_pkgPath on some systems.
  * [exec]'s >> redirection has improved append behavior.
  * [info globals] returned only existing variables.
  * Recognize some Solaris variations of the cp1251 encoding.
  * Addressed [file mkdir] race condition.
  * Support opening >2GB files on RHEL 3.
  * Corrections to $argv formatting when [encoding system] is multibyte.
  * http 2.5.2: Update URL encoding rules to RFC 3986.
  * Fixed issue in recursive file delete with NFS lock files.
  * Stopped crash after use of Tcl_TraceCommand().
  * Win NT/XP: support unicode console.
  * Improved support for Tclkit to set [encoding system].
  * Added Korean timezone abbreviations.
  * Windows: exit codes can now exceed -128..127 range.
  * [load] support on LynxOS.
  * Packages with incorrect index scripts now cause a warning to be logged.
        *** POTENTIAL INCOMPATIBILITY ***
  * [lsearch -regexp] now accepts backrefs in the RE.
  * [selection get] made compatible with OpenOffice.org.
  * Dialog support for widget names containing spaces.
  * Improved Tk window manager event interaction on OS X Aqua.
2006-01-16 14:47:35 +00:00
rillig
eb330613db Fixed wrong use of WRKSRC. 2005-11-03 23:09:24 +00:00
joerg
1b1bd273e3 libtk84.so contains rpath entries now on FreeBSD and DragonFly,
bump revision.
2005-11-02 16:25:31 +00:00
joerg
8dc7e49174 RPATH_FLAG needs to be defined for FreeBSD 3+ and DragonFly as well,
since otherwise libtk84.so depends on libX11.so without knowing where to
find it.

approved-by: jwise@
2005-11-02 15:41:25 +00:00
reed
96a742522a Remove the workaround for installing the man pages into a
staged directory. This is not needed for this version of tk.
Okayed by maintainer.
2005-10-10 17:39:19 +00:00
joerg
92da883c16 Ensure that errno really comes from errno.h and only define it as
extern, if it's not a macro. Teach configure about DragonFly.

OKed by maintainer.
2005-09-21 14:49:08 +00:00
minskim
32381558f9 Define TK_VERSION in a separate file so that it can be included by
other packages such as tcl-tkX, which is currently broken due to the
hardcoded Tk version.
2005-09-08 21:25:15 +00:00
seb
3d9bf3cc3a Restore original quoting syntax of variables in t{k,cl}Config.sh in order
to follow the principle of least surprise between the packages and the
mainstream builds.

Approved by jwise@.

Bump PKGREVISION of lang/tcl, x11/tk, x11/tk83 to 1 and of lang/tcl83 to 2.
2005-08-31 09:40:15 +00:00
adam
3c8a19282b Changes 8.4.11:
* Bug fixes
2005-07-19 11:11:58 +00:00
kristerw
882838b349 Pthreads are needed to link to these libraries. Add mk/pthread.buildlink3.mk. 2005-06-16 20:21:13 +00:00
jlam
95fd1f6ec9 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 18:02:37 +00:00
jschauma
6af461a38a patch TCL_SRC_DIR and TK_SRC_DIR into tclConfig.sh and tkConfig.sh correctly 2005-04-13 20:41:03 +00:00
tron
cc094ee651 Set "LIB_RUNTIME_DIR" in "CONFIGURE_ENV" to make sure that
"${PREFIX}/lib/tclConfig.sh" prints a reasonable value for
"{TCL_CC_SEARCH_FLAGS}" to avoid confusing buildlink3.
2005-04-13 17:37:43 +00:00
rillig
c0b6a86866 Marked pthread as required for NetBSD-1.6.2. Fixed some quoting errors.
Approved by jlam.
2005-04-13 16:47:10 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
jschauma
f7f6de3c15 patch tclConfig.sh and tkConfig.sh so that they do not contain references
to the build environment, which of course no longer exists once we
install the file.  Also make sure that variables are set using
double quotes, so that variables inside are expanded.  Ok jwise@.
2005-04-11 02:44:26 +00:00
wiz
393af94024 Add RMD160 checksums to the SHA1 ones. 2005-02-23 17:36:09 +00:00
adam
0872fc5b11 patch-aa modified to be compatible with GNU make 2005-02-22 10:22:05 +00:00
minskim
862b43ab8c Remove reference to the old version number. 2005-02-06 01:26:24 +00:00
adam
db722e511a Changes 8.4.9:
* Fixed segfault in info vars trivial matching branch (new in 8.4.8)
* Fixed the treatment of backslashes in file join on Windows
* Improved readdir_r detection and usage on unix
* Fixed potential unix fileevent issue on 64-bit systems
* Remove file normalize on tcl_findLibrary search path uniqification
  added in 8.4.8
* Ensure tilde paths are not returned specially by 'glob'
* Fixed clipping of partially transparent images on buttons on unix to
  avoid X error
* Fix Tk_PhotoPut(Zoomed)Block overlay compositing of partially
  transparent areas on blank targets
2005-01-05 09:15:29 +00:00
adam
bad04309be Post-patch removed, since there is no mkLinks script any more 2004-11-29 14:56:21 +00:00
adam
f39e496a4d Changes 8.4.8:
* Fixed possible deadlock in Tcl_Finalize
  * Fixed thread IDs on 64-bit systems
  * Fixed [scan %ld] handling LP64 systems
  * Fixed [string map $samevar $samevar] crash
  * Fixed broken [namespace forget] logic
  * Fixed [namespace import] cycle prevention
  * Improved control over int <-> wideInt conversion
  * Fixed buffer overflow when there is a syntax error in [subst]
  * Fixed [file executable] result for case insensitivity on Windows
  * Fixed [expr {NaN == NaN}] result
  * Make [tcl_findLibrary] search $::auto_path as well
  * Fixed crash in [fconfigure -ttycontrol] in threaded build
  * [TIP 222] implementation of [wm attributes -alpha] on Windows
  * [TIP 159] implementation of [wm iconphoto]
  * Make Tk [load]-able on OS X/Aqua
  * Handle color/screen resolution changes on Windows
  * Fixed [wm resizable] for Solaris/CDE
  * Handle Windows native dialog double clicks that fall through
  * Fixed [place forget] memory leak
  * Recompute menu geometry on named font size change
  * Fixed X/IME IC focus after creation
  * Improved multiple display Tk dialog window placement
  * Fixed compound buttons for OS X/Aqua
  * Documentation improvements and test suite expansion
2004-11-26 10:30:01 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
adam
8898daf869 Changes 8.4.7:
* Fixed [glob -path] bug when in the root directory
* Fixed unicode-char path installation on Windows NT-based platforms
* Properly subsitute more values in Windows tclConfig.sh
* Improved stack overflow prevention on Windows
* Fixed mem leak in [fconfigure $serial -xchar]
* Fixed crash with [cd] with a volumerelative $HOME
* Fixed clock %G %V formats for ISO8601 week numbers
* Fixed support for non-WIDE_INT aware math functions
* Added [http::config -urlencoding] option
* Fixed utf-8 encoding of \u0000 on system I/O
* Prevented dde hangs with non-responsive apps
* Added round() wide integer support
* Cleaner exit and correction of mem leaks when using the threaded
  memory allocator and reinitializing
* Improved build configuration on 64-bit systems
* Added read support of PPM/PGM with the -data option
* Correct issue with displaying maximize window button on KDE-3.2.1
* Fix drawing of unicode chars in menu titles on Windows
* Correctly post Tk clipboard data to the Windows clipboard on exit
* Fix the panedwindow -opaqueresize option to work as per the docs
* Reduce Tk tk_messageBox default font size to 14-point
* Prevent possible segfault in -maxundo
* Fix XIM initialization on Solaris
* Complete the implementation of the CG version of the X drawing
  emulation layer on Mac OS X
* Fix several Mac OS X usability issues
2004-10-01 13:35:37 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
jwise
708eae5f4d 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 16:39:12 +00:00
drochner
0d9ac4a765 Don't --enable-threads for now. If we do this, all potential users of
libtcl.so/libtk.so (whether linking it in or dlopen() it) must be linked
against libpthread. This is something we can't guarantee.
Fixes bulk build error in py-imagingtk and numerous runtime problems.
2004-06-15 16:17:48 +00:00
snj
f2eda1bb71 No longer used. 2004-05-15 21:12:45 +00:00
danw
b65724482c Fix up some Makefile logic that got broken by the libtool patches (and
prevented it from building on some platforms). Ensure that the built
library is named libtk84 (as opposed to libtk8.4) on all platforms.
2004-04-09 23:39:00 +00:00
jlam
98196bcc44 Fix tcl/tk configure script stupidity: it overwrote the value of LDFLAGS
that accumulates within itself with a do-nothing version because it tried
to re-use LDFLAGS for another purpose.  This broke all library checks after
the "checking for ELF" step.  Fix this by (duh) not re-using LDFLAGS but
by using a different variable.  Bump the PKGREVISIONs of lang/tcl and
x11/tk.

This fixes building the threaded versions of tcl and tk.
2004-03-25 22:49:14 +00:00
jwise
0b05178f11 Now that we build tcl/tk with thread safety enabled, pull pthread buildlink
glue into the tcl buildlink glue.

Also, update buildlink dependencies appropriately.

Pointed out by wiz@netbsd.org.
2004-03-24 15:24:36 +00:00
jwise
73345802b3 Build thread-safe versions of tcl and tk. Bump PKG_REVISION to nb1 to match. 2004-03-22 16:14:02 +00:00
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk files outside of the protected
region.  This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.

BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list.  This ordering property is used to check for builtin
packages in the correct order.  The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-18 09:12:08 +00:00
minskim
a3c0d62315 Keep library names on IRIX and Linux to be same as on other platforms. 2004-03-11 01:27:05 +00:00
minskim
9c121e17ff Update Tcl/Tk to 8.4.6.
* Tcl_Obj sharing fixed in [binary scan]
  * Updated errno usage for recent glibc
  * Fixed [file normalize ~unknownuser] error
  * Fixed two memory leaks in VFS code
  * Fixed possible infinite loop in TclFinalizeFilesystem
  * Updated HP-UX 11 build libraries setup
  * Unix std channels forced to exist at startup
  * Stopped broken [exec] quoting of '{'
  * Fixed memory leak with very long host names
  * Corrected level interpretation of Tcl_CreateTrace
  * Allow 64-bit configure on IRIX64-6.5*
  * Several OS X/Aqua native integration improvements (scrollbar,
    event generate, unicode clipboard, tk_messageBox, mousewheel event,
    alpha blending for partially transparent images)
  * Recognized native hand2/fleur cursors on Windows
  * Post menubuttons so they stay on screen better
  * Fixed crash during intra-image copy/resize
  * New msg catalogs for Esperanto and Polish
  * Corrections bold/italic font handling (width calculations) on Windows
  * Fixed shrinking grid geometry calculations
2004-03-08 22:14:18 +00:00
minskim
dc3bf1e6e1 Update tk to 8.4.5. Too many changes since 8.3.4. Please see
ChangeLog in the distfile.
2004-03-08 20:29:43 +00:00
minskim
ac690cf634 Replace lang/tcl with lang/tcl83. Packages compatible with 8.4 will
be updated to depend on lang/tcl after Tcl/Tk update.
2004-03-08 19:52:50 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
minskim
2e42b35dac Remove a temporary directory created at post-install, so that a
non-root user can 'make clean'.  Approved by wiz@.
2004-02-09 23:19:27 +00:00
minskim
a89fef0347 Set permission of man directories correctly. Approved by wiz@. 2004-02-07 17:37:24 +00:00
jlam
a7d877ca6a Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. In
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives
a value only once due to the multiple inclusion protection in the
bulldlink3.mk files.  In the case where a package includes several
buildlink3.mk files that each want a slightly different version of another
dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the
strictest <pkg> dependency to be matched.
2004-01-24 03:26:45 +00:00
agc
24a46ed346 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:28:26 +00:00
jlam
2c03f435c8 bl3ify 2004-01-05 11:17:10 +00:00
jlam
d279e6f535 Use S/+$// instead of C/\+$// to save a backslash. Very highly
recommended by seb :)
2004-01-05 11:05:44 +00:00
jlam
47bb2aae5f Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk. 2004-01-04 23:34:04 +00:00
jlam
339cd13cb2 Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.
2004-01-03 23:06:43 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
agc
6eacd3982c Some packages check for tclsh and wish rather than using other means of
testing for the presence or absence of tcl or tk, so add these to the
files managed by buildlink2.
2003-07-09 14:04:06 +00:00