Commit graph

133 commits

Author SHA1 Message Date
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
markd
71b28bb2f8 user-destdir support from Masao Uebayashi with minor changes from me.
also update R_HOMEPAGE_BASE
2008-10-13 11:08:31 +00:00
markd
43a0a3b29e Update to R 2.7.2
NEW FEATURES

    o   sprintf() returns elements of the result in UTF-8 when the
        format or any character input has a corresponding element
        declared as UTF-8.  Similarly for paste(), elements of the
        result are in UTF-8 when any input to that element is declared
        as UTF-8.

    o   axis() has new arguments 'col.ticks' and 'lwd.ticks' to allow
        the colour and line width of ticks to be set separately from
        that of the line (e.g. to set one or the other to transparent
        or zero width).

    o   legend() has a new argument 'box.col' to set the colour of the
        enclosing box.

    o   legend() gains a 'xpd' argument to make it easier to place a
        legend in the margins or outer margins.

    o   stripchart() now passes '...' to title() (as well as to
        plot.default() and axis()). (Wish of PR#12202)

    o   help.search() has new argument 'searchEngine' to go
        directly to the search form: this is needed by users of
        Firefox 3 to workaround a bug in interpreting the search
        results pages.

+ BUG FIXES

2.7.1 NEW FEATURES

    o   tools::texi2dvi() has a new argument 'texinputs' to allow the
        TeX and bibtex input paths to be specified (even on MiKTeX).

    o   dev.copy2pdf() gains an 'out.type' argument to allow it to be
        used with cairo_pdf() or quartz(type = "pdf").

    o   poly() has additional checks against user error (as in PR#11243).

    o   The Mac OS quartz() device draws contiguous lines much faster.

    o   A field containing just a sign is no longer regarded as numeric
        (it was on all platforms in 2.7.0, but not on most in earlier
        versions of R).  Similarly, '.' is now always non-numeric.

    o   CITATION files are now read in Latin-1: quite a few were
        failing if used in a multibyte locale such as UTF-8.

    o   The DESCRIPTION file of a package can specify an 'OS_type' field
        as either 'unix' or 'windows' to confine installation to that
        OS type.

    o   HoltWinters() now uses optimize() rather than optim for
        one-parameter problems which should be more reliable (PR#11469).

    o   axis() now respects the setting of par("xpd") when clipping.

    o   The 'factor' method of format() now preserves names, dims and
        dimnames in the same way as for character and numeric inputs.
        (PR#11512)

    o   read.DIF(*, transpose=TRUE) now allows to correctly read DIF files
        produced by some versions of Excel.

DEPRECATED & DEFUNCT

    o   The use of unserialize() on character strings is deprecated:
        that was a format used in R < 2.4.0.

    o   The use of embedded nuls in character strings is deprecated:
        They will no longer be allowed in R 2.8.0.


UTILITIES

    o   R CMD check checks for possible check directories in the
        sources -- in mid-2008 there were about 20 examples on CRAN.

    o   R CMD build tries harder to clean up the inst/doc directory
        from the remnants of earlier builds.

        It also removes any directories with extension .Rcheck, and
        files .DS_Store and ._* (created by tar on Mac OS X under some
        circumstances: it now sets environment variables to ask for
        such files not to be created by that tar.)


+ BUG FIXES
2008-08-31 12:37:27 +00:00
markd
634a54d2a2 Fix for http://secunia.com/advisories/31647/ from R svn. 2008-08-31 12:33:53 +00:00
dbj
545c5feef7 set --disable-R-framework and --without-aqua
these options are only used by R.app on Mac OS X
2008-07-20 23:18:28 +00:00
markd
680677a5f3 Update to 2.7.0
SIGNIFICANT USER-VISIBLE CHANGES

    o   The default graphics device in non-interactive use is now
        pdf() rather than postscript().  [PDF viewers are now
        more widely available than PostScript viewers.]

        The default width and height for pdf() and bitmap() have been
        changed to 7 (inches) to match the screen devices.

    o   Most users of the X11() device will see a new device that has
        different fonts, anti-aliasing of lines and fonts and
        supports semi-transparent colours.

    o   Considerable efforts have been made to make the default output
        from graphics devices as similar as possible (and in
        particular close to that from postscript/pdf).  Many devices
        were misinterpreting 'pointsize' in some way, for example as
        being in device units (pixels) rather than in points.

    o   Packages which include graphics devices need to be re-installed
        for this version of R, with recently updated versions.

+ New features and bug fixes.
2008-04-26 02:39:27 +00:00
markd
ccad14f8a4 Update to R 2.6.2.
Changes are basically bugfixes.

pkgsrc changes:
  Don't bother patching configure.ac - it was only part of the changes
being made to configure so don't pretend you could use it to regerate
configure.
  Use -fPIC rather than -fpic for NetBSD powerpc.  Should fix PR 38032.
2008-03-15 22:16:41 +00:00
jlam
c12ddda2a1 + Remove modifications to configure.in and configure in patch-aa and
patch-ac that altered the order in which the terminal library for
  readline was detected.  The termcap.buildlink3.mk file (included
  indirectly by readline/buildlink3.mk) will do the right thing by
  itself.

+ Modify the pkg-index.tmpl INSTALL script fragment: we can just use
  ${PKG_PREFIX} instead of substituting for @PREFIX@ everywhere.  Also
  refactor the commands to rebuild the package index into a shell
  function and give some indication to the user what is happening.

+ Remove chown operation in post-install that was basically
  cargo-culted from the very first version of R imported into pkgsrc.
  It's not necessary.

+ Support user-destdir installation.

Bump the PKGREVISION to 2.
2008-03-07 16:11:39 +00:00
joerg
e725e20c42 Bump version or revision of all packages that have a runtime dependency
on gzip.
2007-11-08 19:39:42 +00:00
markd
89144712b9 Update R to version 2.6.0
Many new features, changes and bug fixes. See lib/R/doc/NEWS for details.
2007-11-03 20:14:39 +00:00
rillig
b650e8c4ec Fixed the path to unzip. PKGREVISION++ 2007-09-08 13:44:48 +00:00
dmcmahill
8838f373c3 Wants at least version 4.7 of makeinfo to build the docs. Bump pkgrev. 2007-03-28 11:06:29 +00:00
markd
7d69606a36 Fix configure's handling of libblas when compiling with f2c and therefore
remove conditional PLIST entry no longer required. Bump PKGREVISION.
2007-03-20 11:00:58 +00:00
markd
ba6444594c Building with f2c effects what libs get installed. Adjust PLIST. 2007-03-18 13:13:02 +00:00
markd
026fef7428 Update R to version 2.4.1.
pkgsrc changes: no longer automatically generate the PLIST.
     use (de)install templates for handling updating the index files
     when adding/removing R packages.

Changes 2.4.1
This is a maintenance release and fixes a number of mostly minor bugs.

Changes 2.4.0
This release has many new features. One important aspect is that S4
classes now have their own internal type, and S4 method dispatch has
been completely revised to using cached generic functions, giving
substantial performance improvements. As a consequence, all packages
depending on "methods" need to be reinstalled.
2007-03-14 11:50:17 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
joerg
6b868ada1f Needs libXt explicitly. 2007-01-08 15:00:36 +00:00
dmcmahill
3ff9fadfb4 The variable modifier $${dir#${PREFIX}/} is not portable so eliminate its
use.  Fixes R packaging on solaris.
2006-10-08 23:12:48 +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
markd
2d32d78759 Replace DEPENDS line with appropriate buildlink3.mk.
Also allow passing arguments to the "R CMD INSTALL"
2006-07-02 12:52:43 +00:00
markd
b73fad9d8c Update to R 2.3.1
This version contains several minor fixups and removes a couple of bad
bugs such as NA-handling of mean() for integer vectors.

Changes 2.3.0
This version contains several changes and additions, mostly incremental.
2006-06-13 12:28:09 +00:00
rillig
dbe9b150b3 Fixed pkglint warnings. 2006-06-09 11:15:32 +00:00
wiz
02f8f7c52d Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update. 2006-04-17 13:45:57 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +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
jlam
6e0c050321 * Teach the tools framework how to supply the pkgsrc version of
makeinfo if no native makeinfo executable exists.  Honor TEXINFO_REQD
  when determining whether the native makeinfo can be used.

* Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo.

* Get rid of all the "split" argument deduction for makeinfo since
  the PLIST module already handles varying numbers of split info files
  correctly.

NOTE: Platforms that have "makeinfo" in the base system should check
      that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are
      correct.
2006-03-05 16:27:22 +00:00
markd
53346be7da Patch from R's svn trunk. Should fix build on NetBSD 1.6.2. 2006-02-26 11:58:25 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
markd
d25b5068d7 test -z $foo -> test -z "$foo"
fixes build on Solaris.
2006-02-04 22:25:06 +00:00
markd
9471f76f17 If MANZ=yes was set then the subsequent USE_TOOLS+=gzip caused a gzip
link to appear in the tools directory and be picked up and embedded in
one of the installed scripts.  Since this package clearly uses gzip at
runtime add an explicit USE_TOOLS+=gzip:run and fixup the gzip path that
gets embedded.  Fixes PR pkg/32218.  Bump PKGREVISION.
2006-01-12 01:41:48 +00:00
markd
c64417b924 Update R to 2.2.1
USER-VISIBLE CHANGES

    o   options("expressions") has been reduced to 1000: the limit
        of 5000 introduced in 2.1.0 was liable to give crashes from C
        stack overflow.


NEW FEATURES

    o   Use of 'pch' (e.g. in points) in the symbol font 5 is now
        interpreted in the single-byte encoding used by that font.
        Similarly, strwidth now recognizes that font 5 has a different
        encoding from that of the locale.  (These are likely to affect
        the answer only in MBCS locales such as UTF-8.)

    o   The URW font metrics have been updated to versions from late
        2002 which cover more glyphs, including Cyrillic.

    o   New postscript encodings for CP1250 (Windows East European),
        ISO Latin-7 (8859-13, Latvian, Lithuanian and Maori), Cyrillic
        (8859-5), KOI8-R, KOI8-U and CP1251.

    o   configure has more support for the Intel and Portland Group
        compilers on ix86 and x86_64 Linux.

    o   R CMD INSTALL will clean up if interrupted (e.g. by ctrl-C from
        the keyboard).

    o   There is now a comprehensive French translation of the messages,
        thanks to Philippe Grosjean.


DEPRECATED & DEFUNCT

    o   The undocumented use of atan() with two arguments is deprecated:
        instead use atan2() (as documented).

    o   The 'vfont' argument of axis() and mtext() is deprecated
        (it currently warns and does nothing).

    o   The function mauchley.test() is deprecated (was a misspelling)
        and replaced by mauchly.test()

Many BUG FIXES
2005-12-29 23:23:53 +00:00
markd
fbb0eb7793 avoid computed static constant (which was in any case the wrong value)
in log1p().  From R svn.  Should fix build on NetBSD-1.6.2.
2005-12-19 12:51:50 +00:00
markd
61ebfddd7f Update R to 2.2.0
Changes:
 This version contains several changes and additions, mostly incremental.
2005-12-11 14:37:12 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
joerg
b5f1ea7150 forgot patch-ai in last commit 2005-12-01 23:12:18 +00:00
joerg
4e6e7dd792 - correctly depend on devel/gettext-lib, bump revision for this
- this uses libtool, tell the framework so
- don't declare alloca on DragonFly, it conflicts with system headers
- patch libtool.m4 fragment for DrgaonFly
2005-12-01 23:11:26 +00:00
rillig
a260811277 Added a variable R_HOMEPAGE_BASE that is needed as a replacement for all
those packages that currently use ${MASTER_SITE_R_CRAN:=foo} as their
HOMEPAGE. As the HOMEPAGE is a single URL, not a list of URLs, the
MASTER_SITE variables cannot be used for this.
2005-11-03 12:00:32 +00:00
rillig
5946936ffc Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,
NO_BUILD, USE_LIBTOOL.
2005-09-28 20:52:18 +00:00
dmcmahill
89f8747cb3 add missing libiconv buildlink3.mk 2005-09-20 12:47:14 +00:00
jlam
3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00
markd
06f7175cc4 Update R to version 2.1.1.
minor bug fixes.
2005-06-24 12:28:31 +00:00
kristerw
ab4e122aea Prevent paths to the build directories from being included in the package.
Bump PKGREVISION.
2005-06-19 00:45:45 +00:00
markd
3efe0facf0 Cleanup of tools paths appearing in installed files for the new tools
framework.  Bump PKGREVISION.
2005-06-11 02:37:00 +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
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
jlam
48781afdbb For packages that use GNU configure, don't bother adding "TOOL"
variables into CONFIGURE_ENV if the new tools framework already takes
care of adding them automatically.
2005-05-22 05:35:32 +00:00
markd
2197cf5730 Don't try and use wide chars on NetBSD 1.6 as the support isn't complete
enough.  Fixes PR pkg/30274
2005-05-19 13:12:52 +00:00
drochner
3bea1395a9 update to 2.1.0
too many changes to list here
...still doesn't work within TEXmacs
2005-05-02 16:57:19 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00