Commit graph

135 commits

Author SHA1 Message Date
wiz
e0b49a2fed Bump PKGREVISION for libXft changes for NetBSD native X support on
NetBSD 6, requested by tron.
2013-06-06 12:53:40 +00:00
tron
a36fb86593 Try to fix the fallout caused by the fix for PR pkg/47882. Part 3:
Recursively bump package revisions again after the "freetype2" and
"fontconfig" handling was fixed.
2013-06-04 22:15:37 +00:00
wiz
53745b22ea Bump freetype2 and fontconfig dependencies to current pkgsrc versions,
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.

While doing that, also bump freetype2 dependency to current pkgsrc
version.

Suggested by tron in PR 47882
2013-06-03 10:05:17 +00:00
adam
cc57132408 Changes 8.5.14:
Bug-fix release.
2013-05-31 20:15:04 +00:00
dholland
73016acc7e Fix previous revision, which accidentally threw away BUILDLINK_TREE+= -tk,
causing the build of math/R to break mysteriously.
2012-12-20 22:17:23 +00:00
wiz
5999a51464 Add conditional xft2 include, requested by joerg. 2012-12-19 14:58:45 +00:00
wiz
756dc39e7d Add default-on options enabling xft2 support for nicer interfaces.
From Anthony Mallet in PR 47246.
Bump PKGREVISION.
2012-12-12 15:30:52 +00:00
adam
82a4a2c498 Additional files for Aqua on Darwin 2012-11-24 21:39:12 +00:00
adam
3f8475aeeb Changes 8.5.13:
* --enable-aqua build for Mac OS X is now a Cocoa implementation.
* Support has been added for Cygwin network pathnames.
* Updated to Unicode 6.2 support. Fixes for several crashes and bugs.
2012-11-24 21:38:49 +00:00
asau
8aba7e3fbf Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-29 05:06:05 +00:00
he
755c5b01df Add an interpreter.mk file to the x11/tk package, to be used
instead of the now-removed x11/tk-Tix/interpreter.mk file.
The contents of the x11/tk package remains identical, so no revbump.
2012-08-31 11:16:12 +00:00
dsainty
93dd85ec11 For all but the default case the library file names use TCL_TRIM_DOTS
and end up with libtk85.so.  The default case would end up with libtk8.5.so
instead, which at least conflicts with what the PLIST says, but also
eventually failed to build on platforms ending up with the default behaviour.

Fixes the build on Linux platforms, should be no change elsewhere.
2012-08-29 11:55:06 +00:00
bsiegert
a567dcc16b Fix build of the shared library on MirBSD and likely also on OpenBSD.
No pkgrevision bump, as it did not build on these platforms anyway.
2012-08-25 11:51:24 +00:00
marino
5ea84235ca x11/tk: Ensure tkConfig.sh has embedded rpath
The version of the new tk package had some problems.
 - The x11 paths weren't coming through
 - The tkConfig.sh utility was missing runpath definition for TK_LIB_SPEC
 - Threading was automatically selected

The X11 problem was fixed with addition CONFIGURE_ARGS
The runpath for TK_LIB_SPEC was added in the configure patch
An options.mk file was added based on the tcl version.

Problems found and fixes suggested by he@
2012-08-22 22:05:05 +00:00
marino
7c7cbe836f x11/tk: Upgrade from version 8.4.18 to 8.5.12
Highlights of Tk 8.5
  * New modern theming engine: New and complementary widgets that make use
    of platform-specific theming on Mac OS X and Windows to better fit in
    with those environments, and feature an improved look and feel under
    X11.
  * New widgets: Part of the themed widget set, Tk now has core notebook,
    combobox, treeview and progressbar widgets.
  * text widget: Smooth scrolling, widget peering, and improved procedures
    for counting and replacing text.
  * Font rendering: Now uses anti-aliased text under X11, and a more
    modern text engine (ATSUI) on Mac OS X.
  * Additional improvements: Window transparency, new fullscreen option
    for windows, enhancements to specific widgets and window layout,
    and more.

There is of course much, much more.
See [8.5 Changes](http://wiki.tcl.tk/10630) on the wiki for a complete
list of new features.
2012-08-21 21:32:34 +00:00
obache
0b5673d97a Set WISH here, same as PERL5 in lang/perl5/buildlink3.mk. 2012-03-21 15:32:28 +00:00
obache
504f3dab3e Use wish from pkgsrc for the case x11/tk is buildlinked. 2012-03-05 13:36:37 +00:00
shattered
49b7c0a724 PR/34229 -- Bump API requirement to 8.4.12nb1. Untested. 2011-11-13 13:55:59 +00:00
snj
274d1905e6 Add 'clean' to PRIVILEGED_STAGES. 2009-09-12 18:12:13 +00:00
jwise
765ec9d406 Give up maintainership of packages where I am still listed as MAINTAINER. 2009-08-20 15:24:58 +00:00
joerg
b02a0f888e Remove @dirrm entries from PLISTs 2009-06-14 18:24:43 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
dsainty
50796f82da Tk uses X event numbers to index an "event" array, as well as adding a few of
its own, starting with "VirtualEvent" (Which is correctly set to LASTEvent,
defined in include/X11/X.h).  In xproto-7.0.13, a new event "GenericEvent" was
added - making the defined array broken for all of Tk's internal events.

The easy fix is to just add in the missing event into the hard-coded array.

This patch was reported here: http://bugs.gentoo.org/show_bug.cgi?id=225999

A cleaner fix, but a much bigger patch, is listed in the Tk bug tracker.  I'm
punting that Tk will have been updated with the fix before X.h grows another
event.

http://sourceforge.net/tracker/index.php?func=detail&aid=2010422&group_id=12997&atid=112997

Bump PKGREVISION.
2008-08-06 04:09:12 +00:00
dbj
7648dba7fb include LDFLAGS when creating shared library.
This fixes build problems on darwin
2008-07-20 23:35:20 +00:00
bjs
5c04764cab Update to version 8.4.18. Way too many changes to list here--please
see ChangeLog.  Insofar as I can tell, all of the changes are bug fixes
(and some backports from HEAD for Darwin).
2008-04-07 15:14:09 +00:00
adam
70ae7fb880 Changes 8.4.16:
* Bug fixes
* Improvements
2007-10-13 11:41:33 +00:00
hira
8951aa3012 Back out previous. Pointed out by uebayasi@ and martti@. 2007-09-25 10:03:52 +00:00
hira
ebf8ba4a7d ln -> ${LN}. 2007-09-25 08:31:52 +00:00
adam
207349e730 Changes 8.4.15:
* Minor bugfixes
2007-05-31 13:01:53 +00:00
heinz
dffe7b93bf Added support for installation to DESTDIR. Approved by Jim Wise. 2007-05-29 18:35:58 +00:00
joerg
5d22a07e74 - convert to modular Xorg 2007-01-02 11:03:11 +00:00
adam
a21f91c681 Changes 8.4.14:
* Tk_PhotoPutBlock performance restored (JPEG image loading).
  * [namespace inscope] change reverted; harmed Itcl.
  * Made [expr {srand(.)}] accept wide integer argument.
  * Made [lappend $invalidList] raise an error.
  * Improved [text] delete performance.
  * Support for the WM_UNICHAR window message on Windows
  * Stopped excess variable writes by [scale].
  * Tcl_Main no longer blocks main loop start for one interactive command.
  * [console] made thread safe.
  * Thread-enabled configuration uses MT-safe system calls.
  * Many Aqua/Tk bug fixes and improvements, see changes file.
  * Made unthreaded notifier naked-fork-safe on Darwin.
  * Support for weak linking on Mac OS X.
  * msgcat support for CFLocale on Darwin (msgcat 1.3.4)
  * Fixed crashes due to alignment issues in encoding translation routines.
  * Fixed crash with [listbox -listvariable] on namespace variable.
  * Fixed crash when Tcl_DeleteTrace changes proc on the active stack.
  * Fixed crash when normalizing filesystem pathnames.
  * Fixed crash due to invalid font name from XServer.
  * Several 64-bit bugs fixed and platform support enhanced.
2006-11-02 17:41:23 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
rillig
2a732024b8 Fixed a pkglint warning. 2006-06-17 19:34:29 +00:00
adam
32868e4ba1 Changes 8.4.13:
* Win NT/XP: unicode console support taken back out.
* ${prefix}/share addition to ::tcl_pkgPath undone.
* Warning message for packages with incorrect index scripts silenced.
* Correct syntax error in configure script (bash 3.1 exposes it).
* Tk incompatibilities with SCIM resolved.
* Improved [file writable] support of Windows conventions.
* Tcl_GetIndexFromObj() support for exact matching of empty key.
* Tk Portuguese localization support (pt.msg).
* Tk more robust when X server does not recognize color name "Black".
* Tk_PhotoPutBlock() performance improvement.
* [lsearch -start $pastEnd] no longer finds match at end of list.
* Correct [expr abs($LONG_MIN)] result.
* Correct [string range] failures on some strings containing \x00.
* TCL_EVAL_GLOBAL and [uplevel 0] agreement when traces or [unknown] active.
* Corrections to context of auto-loading the target of an interp alias.
* Corrected some interference between enter and enterstep traces.
* Correct [$img configure -data] failure to change X display.
* Tk_GetBitmapFromData() thread safety.
* Crashes in [grid] for some invalid index arguments.
* Crash when all content of a [text] is elided.
* Crash in [$text edit undo/redo].
* Crash in animated GIF display with variable frame size.
* Crash related to pipe usage in thread-enabled Tcl on Windows.
* Crash when [$text dump -command] changes contents while dumping.
* Crash reading utf-8 when multibyte char spans multiple buffers at EOF.
* Several finalization crashes corrected.
2006-04-27 08:17:09 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
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