The NetBSD Project

CVS log for pkgsrc/devel/ncurses/builtin.mk

[BACK] Up to [cvs.netbsd.org] / pkgsrc / devel / ncurses

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.31 / (download) - annotate - [select for diffs], Mon Feb 28 11:02:46 2011 UTC (14 months, 3 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, HEAD
Changes since 1.30: +8 -8 lines
Diff to previous 1.30 (colored)

Changes 5.8:
Interface changes
* turn on _XOPEN_CURSES definition in curses.h.
* change _nc_has_mouse to has_mouse, reflect its use in C++ and Ada95.
* add is_pad and is_subwin functions for opaque access to the WINDOW structure.
* add tiparm, based on review of X/Open Curses Issue 7.

Library Improvements
* add a terminal driver for Windows console, which supports a MinGW port to
  Windows.
* add extended functions which specify the SCREEN pointer for several curses
  functions which use the global SP.
* improve the NCURSES_NO_UTF8_ACS feature by adding a check for an extended
  terminfo capability U8.
* improve performance of tigetstr, etc., by using hashing code from tic.
* add WACS_xxx definitions to wide-character configuration for thick- and
  double-lines.
* modify init_pair to allow caller to create extra color pairs beyond the
  color_pairs limit, which use default colors.

Improvements to Programs
* add tabs program.
* modify tic's -I/-C dump to reformat acsc strings into canonical form (sorted,
  unique mapping).
* add checks in tic for inconsistent cursor-movement controls, and for
  inconsistent printer-controls.
* add special case to _nc_infotocap (used by tic and infocmp) to recognize the
  setaf/setab strings from xterm+256color and xterm+88color, and provide a
  reduced version which works with termcap.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Aug 29 01:16:08 2010 UTC (20 months, 3 weeks ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored)

Tell location of Haiku's ncurses header.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jul 26 07:23:59 2010 UTC (21 months, 4 weeks ago) by dholland
Branch: MAIN
Changes since 1.28: +4 -3 lines
Diff to previous 1.28 (colored)

Fix previous; I did test it, but it seems that under some
circumstances make doesn't like the conditional I wrote.

(also, what the previous log message says about a bump is wrong; I bumped
only ncursesw. but there shouldn't be any need to bump ncurses for this.)

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jul 26 06:49:30 2010 UTC (21 months, 4 weeks ago) by dholland
Branch: MAIN
Changes since 1.27: +3 -2 lines
Diff to previous 1.27 (colored)

The change in -r1.27 of this file failed to restore the old logic
completely; rectify that. Now setting USE_NCURSES=yes won't install
pkgsrc ncurses on e.g. Linux where it's really built in.

Not sure if a version bump is wanted, but since I just did one we'll
ride that.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Feb 24 12:08:07 2010 UTC (2 years, 2 months ago) by drochner
Branch: MAIN
CVS Tags: pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1
Changes since 1.26: +5 -2 lines
Diff to previous 1.26 (colored)

oops, the simple case USE_NCURSES=yes got lost, add it as separate
clause for readability

Revision 1.26 / (download) - annotate - [select for diffs], Tue Feb 23 19:50:49 2010 UTC (2 years, 2 months ago) by drochner
Branch: MAIN
Changes since 1.25: +9 -6 lines
Diff to previous 1.25 (colored)

add another optional condition for curses suitability: support
of wsyncup

Revision 1.25 / (download) - annotate - [select for diffs], Tue Feb 23 10:55:07 2010 UTC (2 years, 3 months ago) by drochner
Branch: MAIN
Changes since 1.24: +9 -2 lines
Diff to previous 1.24 (colored)

if terminfo is needed and we don't have it, use pkgsrc ncurses

Revision 1.24 / (download) - annotate - [select for diffs], Tue Jul 7 11:04:55 2009 UTC (2 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3
Changes since 1.23: +11 -5 lines
Diff to previous 1.23 (colored)

Make USE_NCURSES more specific. Allow selecting chgat as feature, so
that more packages can work without ncurses on NetBSD 5.99.14+.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Feb 29 16:19:21 2008 UTC (4 years, 2 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

Actually, BUILTIN_LIBNAME.ncurses can be empty, but fix the case where
we actually have libnurses in the base system.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Feb 29 16:14:09 2008 UTC (4 years, 2 months ago) by jlam
Branch: MAIN
Changes since 1.21: +3 -2 lines
Diff to previous 1.21 (colored)

+ Always ensure that BUILTIN_LIBNAME.ncurses is defined (this should have
  been the case before, but wasn't due to a missing default vaule.

+ Move the BUILDLINK_TRANSFORM remapping of -lncurses into the section
  which only applies if we're using the built-in ncurses, and map it to
  -l${BUILTIN_LIBNAME.ncurses}.

This should fix the issue reported for Mac OS X where "-lncurses" was
being mapped to nothing by the wrapper scripts.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Feb 29 16:04:55 2008 UTC (4 years, 2 months ago) by tron
Branch: MAIN
Changes since 1.20: +2 -4 lines
Diff to previous 1.20 (colored)

Backout last change, it breaks the build under NetBSD.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Feb 29 15:28:12 2008 UTC (4 years, 2 months ago) by tron
Branch: MAIN
Changes since 1.19: +4 -2 lines
Diff to previous 1.19 (colored)

Don't setup bogus remapping of the "ncurses" library if we don't need
to change the name. This fixes the build on platforms which provide
"libncurses" (e.g. Mac OS X).

Revision 1.19 / (download) - annotate - [select for diffs], Wed Feb 27 15:26:34 2008 UTC (4 years, 2 months ago) by jlam
Branch: MAIN
Changes since 1.18: +9 -10 lines
Diff to previous 1.18 (colored)

+ Define BUILTIN_LIBNAME.* unconditionally so that their values can
  always be used in other builtin.mk files.

+ In the USE_BUILTIN.* == "yes" case, set BUILDLINK_LIBNAME.* to the
  corresponding BUILTIN_LIBNAME.* value so that BUILDLINK_LIBNAME.*
  can always be used in other buildlink3.mk files.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Feb 27 06:14:23 2008 UTC (4 years, 2 months ago) by jlam
Branch: MAIN
Changes since 1.17: +20 -14 lines
Diff to previous 1.17 (colored)

Define BUILTIN_LIBNAME.* outside of the CHECK_BUILTIN.*-protected
section to be the name of the built-in library if USE_BUILTIN.* is
"yes".  These variables can be used in other builtin.mk files.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Feb 27 04:47:02 2008 UTC (4 years, 2 months ago) by jlam
Branch: MAIN
Changes since 1.16: +4 -6 lines
Diff to previous 1.16 (colored)

+ The termlib.buildlink3.mk file is meant to be included by packages
  that need basic termlib functionality, i.e. tgetent(), tgoto(),
  tputs(), etc.  Together with the termlib.builtin.mk file, they will
  use either a built-in termcap library, a built-in X/Open "enhanced"
  curses library, or ncurses to provide these functions.

+ Add BUILDLINK_LIBNAME.* definitions to the various curses buildlink3.mk
  and builtin.mk files that give the "base" library name of the curses
  library, e.g. curses, ncurses, etc.  These are used by the termlib
  files to set BUILDLINK_LIBNAME.termlib.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Feb 26 17:21:13 2008 UTC (4 years, 2 months ago) by jlam
Branch: MAIN
Changes since 1.15: +1 -2 lines
Diff to previous 1.15 (colored)

Always make ncurses headers and libraries available as <curses.h> and
-lcurses so that GNU configure scripts that check for those ahead of
<ncurses.h> and -lncurses will still use ncurses instead of picking up
a system curses.

This was a regression introduced by my recent ncurses commits.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Feb 26 17:02:30 2008 UTC (4 years, 2 months ago) by jlam
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

whitespace

Revision 1.14 / (download) - annotate - [select for diffs], Tue Feb 26 11:06:19 2008 UTC (4 years, 2 months ago) by obache
Branch: MAIN
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

Add fake seed for ncurses.h with NetBSD's curses.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Feb 25 04:19:34 2008 UTC (4 years, 2 months ago) by jlam
Branch: MAIN
Changes since 1.12: +27 -16 lines
Diff to previous 1.12 (colored)

+ Introduce a way for a user to set the default curses implementation
  used by packages that need curses.  From curses.buildlink3.mk:

  CURSES_DEFAULT
	This value represents the type of curses we wish to use on the
	system.  Setting this to "curses" means that the system curses
	implementation is fine.

	Possible: curses, ncurses, pdcurses

+ Move all code to detect a built-in version of curses into a
  curses.builtin.mk file.

+ Add code to {n,pd}curses/buildlink3.mk so make the headers and
  libraries usable as <curses.h> and -lcurses if _PKG_USE_CURSES is
  defined.  _PKG_USE_CURSES is only defined by curses.buildlink3.mk.

+ Improve the detection of native ncurses in ncurses/builtin.mk and
  allow headers and libraries to be usable as <ncurses.h> and -lncurses.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jan 17 03:11:18 2007 UTC (5 years, 4 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Renamed BUILDLINK_TRANSFORM.* to BUILDLINK_FNAME_TRANSFORM.*, to make
clear that these variables are completely unrelated to
BUILDLINK_TRANSFORM.

Added a legacy check that catches appearances of BUILDLINK_TRANSFORM.*.

XXX: Where should incompatible changes in pkgsrc be documented?

Revision 1.11 / (download) - annotate - [select for diffs], Thu Apr 6 06:21:54 2006 UTC (6 years, 1 month ago) by reed
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

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).

Revision 1.10 / (download) - annotate - [select for diffs], Tue Apr 4 19:11:33 2006 UTC (6 years, 1 month ago) by jlam
Branch: MAIN
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored)

Export BUILDLINK_LDADD.ncurses, which is the flags to link directly
against the curses library used.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Mar 30 18:06:17 2006 UTC (6 years, 1 month ago) by jlam
Branch: MAIN
Changes since 1.8: +4 -3 lines
Diff to previous 1.8 (colored)

Avoid extra stat() calls by not repeatedly checking whether a file
exists on the disk -- we can just check whether a variable defined by
find-files.mk is "__nonexistent__" or not.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jun 1 18:02:44 2005 UTC (6 years, 11 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.7: +100 -94 lines
Diff to previous 1.7 (colored)

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.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Dec 11 00:32:16 2004 UTC (7 years, 5 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4
Changes since 1.6: +3 -1 lines
Diff to previous 1.6 (colored)

Create directories before putting files in them.  This should fix
PR pkg/28480.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Nov 28 05:44:34 2004 UTC (7 years, 5 months ago) by jlam
Branch: MAIN
Changes since 1.5: +6 -6 lines
Diff to previous 1.5 (colored)

Reverse the tests so that we actually check for the existence and not
the non-existence of the library -- this more accurately reflects what
we want to say.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Nov 26 23:16:35 2004 UTC (7 years, 5 months ago) by jlam
Branch: MAIN
Changes since 1.4: +13 -8 lines
Diff to previous 1.4 (colored)

Standardize how we search for libraries in builtin.mk files.  We define
_BLNK_LIB_FOUND.<lib> to "yes" or "no" depending on whether -l<lib> is
found in the base system.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Oct 13 20:10:31 2004 UTC (7 years, 7 months ago) by tv
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored)

Oy, what a hack.  But then, so is Interix....

On Interix, force inclusion of devel/ncurses/buildlink3.mk from
mk/curses.buildlink3.mk.  This forces inclusion of its builtin.mk too.

In devel/ncurses/builtin.mk, if using Interix's builtin ncurses, always
transform -lncurses to -lcurses.  (-lncurses is static, but -lcurses is
shared; we want the shared version.)

Revision 1.3 / (download) - annotate - [select for diffs], Mon Mar 29 05:43:30 2004 UTC (8 years, 1 month ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3, pkgsrc-2004Q2-base, pkgsrc-2004Q2
Changes since 1.2: +10 -10 lines
Diff to previous 1.2 (colored)

Match the template builtin.mk file in bsd.builtin.mk, and make the two
packages that use builtin.mk files (graphics/xpm and pkgtools/x11-links)
use the new format correctly.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Mar 20 19:28:46 2004 UTC (8 years, 2 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.1: +7 -3 lines
Diff to previous 1.1 (colored)

Always create the curses.h -> ncurses.h symlink to match buildlink2
behaviour.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Mar 10 17:57:14 2004 UTC (8 years, 2 months ago) by jlam
Branch: MAIN

Split out the code that deals with checking whether the software is
built-in or not into a separate builtin.mk file.  The code to deal
checking for built-in software is much simpler to deal with in pkgsrc.

The buildlink3.mk file for a package will be of the usual format
regardless of the package, which makes it simpler for packagers to
update a package.

The builtin.mk file for a package must define a single yes/no variable
USE_BUILTIN.<pkg> that is used by bsd.buildlink3.mk to decide whether
to use the built-in software or to use the pkgsrc software.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>