Commit graph

45 commits

Author SHA1 Message Date
wiz
e8d8834f6a Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
2010-06-13 22:43:46 +00:00
wiz
183b7f909c Update to 2.6:
Version 2.6 released, 9/2009.  [Includes libplot 4.4, interface age=2.]

ode:	 File ode/specfun.c now heavily rewritten to remove all non-GNU
	 copyrights.  For details, see the file ./COMPAT.
libplot: Several bugfixes to the SVG and PS drivers.  (Thanks to Diomidis
	 Spinellis, James Anderson, and others, for pointing out that
	 several apps that import SVG or PS were choking on libplot's
	 output.  Some still choke on its SVG output, but that's no longer
	 libplot's fault; see ./COMPAT.)
libplot: The SVG driver now no longer assumes that the application that
	 imports or displays SVG can do _any_ justification of text strings
	 (not even horizontal justification, e.g., position a string in a
	 right-justified way, with its right edge at a given point).  Many
	 SVG viewers still get this wrong.
libplot: Fig plotters now slightly increase the width of drawn lines,
	 in .fig output, to agree with the interpretation of `line width'
	 in recent releases of xfig.  (Thanks to Wolfgang Glunz and
	 Bart De Schutter for pointing out the need for this.)  This
	 affects executables built with libplot, such as `graph -Tfig'.
graph,plot,tek2plot,plotfont,pic2plot,hersheydemo: The output of the
         `--help' option now cautions that if a `-T' or `--output-format'
         command-line option is not included, the output will by default
         be in the `metafile' format, which is probably not what the user
         expects or wants (by default, it is in binary).
hersheydemo: New executable, generating a single demo page that serves
	 as an advertisement for the Hershey vector fonts.  (It replaces
         the file doc/h-demo.c.)  Invoke it by doing, e.g.,
	 `hersheydemo -Tsvg > demo.svg' , or `hersheydemo -Tps | lpr' .
         It supports the usual libplot options such as --bg-color,
	 --pen-color, and --page-size.  Also --bitmap-size, if a bitmap
	 output format is requested; but note that the Hershey fonts, not
	 being anti-aliased, do not look their best in low-resolution
	 (i.e., small-size) bitmap output.

Version 2.5.1 released, 7/2008.  [Includes libplot 4.3, interface age=2.]

package: license for the package (and for libplot) upgraded to GNU GPL v3.
libplot: SVG output format slightly tweaked, to ensure compatability with
	 SVG 1.1 syntax, as tested for by validator.w3.org.
	 Note: a few SVG editing tools, such as inkscape, currently fail
	 to agree with libplot's SVG semantics, in positioning text.
	 That appears to be their fault (they do not comply with the
	 handling of reflected text, as specified in the SVG 1.1 standard).
libplot: Fixed a bug in bounding box computatations when triangular
	 line-joins are used.
executables: Changed nearly all warning and error messages to complete
         sentences, to smooth the upcoming transition to gettext.

Version 2.5 released, 12/2005.  [Includes libplot 4.2, interface age=2.]

package: bug reporting address has changed to bug-plotutils@gnu.org.
libplot: support for rotated and sheared (i.e., "anamorphically
	 transformed") X Window System fonts has been completely rewritten.
	 Core X fonts are still used, but it is no longer assumed that the
	 X display has the ability to rasterize rotated and sheared glyphs.
	 (Recent releases of XFree86 are broken in this regard.)  Instead,
	 unrotated glyphs are retrieved from the server, and rotated or
	 transformed within libplot.  See new module libplot/x_afftext.c.
graph: plotting of rotated y-axis labels by the `-Y' option, when `-T X' is
         specified (so that output is to an X Window System display) should
         now work, even when recent broken releases of XFree86 are used.
         This is due to the above change to libplot.
libplot: URW versions of the standard 35 Adobe fonts (Helvetica,
	 Times-Roman etc.) are now checked for under their own names on any
	 X Window System display, as well as under the Adobe names.  This
	 fixes a problem with recent SuSE GNU/Linux distributions, of
	 `graph -T X' being unable to use even the default Helvetica font.
libplot: SVG output is now conformant SVG 1.1, and should not be rejected
	 by the Firefox browser.
libplot: vertical positioning of text strings by the SVG driver is
	 improved; libplot now does vertical positioning itself, since
	 many SVG renderers, e.g. Firefox 1.5, can't do it properly.
libplot: the ROTATION parameter, which is the angle in degrees at which the
	 viewport in the output (device) frame should be rotated, can now
	 take values other than 0, 90, 180, and 270.
graph,plot,tek2plot,plotfont,pic2plot: the --rotation option no longer
         requires that the specified angle be 0, 90, 180, or 270 degrees.
         Some quite postmodern effects can now be obtained.
libplot: modifiers such as "xsize=6in", "yoffset=8cm" appended to the
	 PAGESIZE parameter by the user, to do fine positioning of the
	 viewport on the output page, are no longer sometimes ignored.
graph,plot,tek2plot,plotfont,pic2plot: modifiers such as "xsize=6in",
         "yoffset=8cm" appended to the argument of the --page-size option,
         by the user, to do fine positioning of the viewport on the output
         page, are no longer sometimes ignored.
libplotter,pic2plot: problems with compilation by recent C++ compilers now
	 fixed: unsigned char* is cast to char* as needed, deprecated C++
	 headers have had their names modernized, etc.  Support for `bool'
	 in the C++ compiler is now assumed (this could be trivially backed
	 out of, if needed).
installation: entire package can now be compiled by a C++ compiler if
	 desired; request this by doing e.g. `CC=g++ ./configure'.
installation: support for pre-ANSI C compilers, such the SunOS 4.1.3 one,
	 now largely dropped.  Non-working `const' is still checked for,
	 but compiler support for prototypes and void is now assumed.
	 Removal of preprocessor macros that supported pre-ANSI C, from
	 many source files, considerably improved maintainability.
installation: updated GNU autotools now used (autoconf-2.59, libtool-1.5.6,
	 and the older automake-1.4-p6 for safety's sake).  Also, recent
	 flex/bison have been used to prepare the scanner and parser supplied
	 with the ode source (flex-2.5.31 and bison-1.875d).
graph: new short `-Q' option, which is equivalent to the long option
	 `--toggle-rotate-y-axis-label'.
graph,plot,tek2plot,plotfont,pic2plot: `--display-type' long option, the
	 name of which confused some users, has been changed to
	 `--output-format'.  The old option is still supported but is now
	 deprecated.  The short option `-T' continues to work.
libplot: problems with PS output triggering an error in some versions of
	 ghostscript (and hence ghostview, gv), due to changes in the way
	 ghostscript handles FontBBox, now fixed.  Thanks, Brian Gough (and
	 also Alex Cherepanov, who found the fix to idraw's PS prologue).
libplot: most external symbols not meant to be publicly accessible now have
	 names beginning with the prefix "_pl_", to reduce the possibility
	 of namespace collisions.  This will be completed in a later release.
executables: output of "--help" has been altered to agree with current GNU
	 coding standards.
package: copyright and license notices added to nearly all source files.
2010-05-02 13:28:43 +00:00
wiz
285b7dd776 Bump PKGREVISION for libXaw API depends bump due to libXaw8 removal. 2008-11-10 17:21:33 +00:00
joerg
ba171a91fa Add DESTDIR support. 2008-06-12 02:14:13 +00:00
rillig
d60175014e Needs lex and yacc, as reported in PR 37097. 2007-10-10 14:20:39 +00:00
joerg
e97c2310b8 Modular Xorg support. Based on patch from drochner@ 2007-01-22 22:09:15 +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
jlam
739ade02f5 List the info pages directly in the PLIST and ensure that we honor
PKGINFODIR.
2006-03-31 23:56:28 +00:00
jlam
858527fae4 Drop LTCONFIG_OVERRIDE... USE_LIBTOOL takes care of replacing libtool
already.
2006-03-31 17:28:11 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +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
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
jlam
43ac8c39e1 Replace USE_GCC_SHLIB with "USE_LANGUAGE=c c++" (the latter implies the
former) for applications that are known to require C++.
2004-11-13 22:04:52 +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
grant
b84477d269 plotutils uses a c and c++ compiler.
XXX these packages need to be made to use a common Makefile fragment.
2004-06-15 08:06:52 +00:00
minskim
101b04ee11 Enable pkgviews installation. Patches provided by Joachim Kuebart on
tech-pkg@.
2004-05-31 16:47:47 +00:00
minskim
844dfc5d02 bl3ify 2004-02-21 14:46:50 +00:00
seb
4a2efdf6fd USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:49:07 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
seb
aa3e2e2d01 Convert to USE_NEW_TEXINFO.
While here fix CONFLICTS.
2003-07-03 18:47:58 +00:00
jschauma
b035659872 Split plotutils and gnuplot into '<pkgname>' and '<pkgname>-nox11' each
(alternatively, we could have renamed one to '<pkgname>-x11', but for the
element of least surprise, the default remains x11 enabled).
This will work much better than the previous attempt to build two packages
from one Makefile, which wasn't all thought out wrt to dependencies, buildlinks etc.
Bump PKGREVISION on plotutils and gnuplot for this.
2003-06-07 17:39:23 +00:00
jschauma
872ed2bdeb If X11 is present, set the pkgname to plotutils-x11 and conflict with
plain plotutils (and the other way around).  ok'd by agc.
2003-06-06 14:39:06 +00:00
jschauma
b956ed6b66 We need bsd.prefs.mk -- sheesh, I should go home. 2003-06-04 21:22:44 +00:00
jschauma
0b3f24cdea thiss package works with and without X11, but if X11 is present, we need the
necessary compile and ld flags
2003-06-04 21:19:42 +00:00
jschauma
921cc33b8e These don't really need X after all -- they can be useful on headless
machines without X, too, so remove USE_X11.
2003-06-04 18:21:48 +00:00
grant
712c21283a s/USE_CXX/USE_GCC_SHLIB/ - there are more shared libraries than just
libstdc++ in gcc3.

when defined, USE_GCC_SHLIB ensures that the correct rpath is passed
to the linker, and a full dependency on the compiler package is
registered.

packages which define USE_GCC_SHLIB should not include
mk/gcc.buildlink2.mk (or gcc{,3}/buildlink2.mk) as it is handled
automatically.
2003-05-29 23:14:07 +00:00
jlam
b4590dbf75 Use buildlink2. 2003-01-25 12:04:26 +00:00
fredb
b48eba1112 Give all packages which depend on "png" a version bump, and update
all dependencies on packages depending on "png" which contain shared
libraries, all for the (imminent) update to the "png" package.
[List courtesy of John Darrow, courtesy of "bulk-build".]
2002-03-13 17:36:35 +00:00
seb
66111c6d15 Introduce new framework for handling info files generation and installation.
Summary of changes:
- removal of USE_GTEXINFO
- addition of mk/texinfo.mk
- inclusion of this file in package Makefiles requiring it
- `install-info' substituted by `${INSTALL_INFO}' in PLISTs
- tuning of mk/bsd.pkg.mk:
    removal of USE_GTEXINFO
    INSTALL_INFO added to PLIST_SUBST
    `${INSTALL_INFO}' replace `install-info' in target rules
    print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info'
- a couple of new patch files added for a handful of packages
- setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it
- devel/cssc marked requiring texinfo 4.0
- a couple of packages Makefiles were tuned with respect of INFO_FILES and
  makeinfo command usage

See -newly added by this commit- section 10.24 of Packages.txt for
further information.
2002-02-18 15:14:00 +00:00
jlam
c4e71c5e7a CPPFLAGS is now passed to MAKE_ENV and CONFIGURE_ENV by bsd.pkg.mk, so
adapt by moving CPPFLAGS settings to top-level, and removing explicit
inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
2001-06-11 06:34:17 +00:00
wiz
26c40c61dd Update dependency on png to >=1.0.11 because of the shlib major bump.
Noted by Frederick Bruckman.
2001-05-22 09:32:18 +00:00
tron
5382bbe7c6 Because the minor number of the PNG library was increased packages compiled
using the newest PNG library won't work on system with an older one. To
prevent such problems with precompiled binary packages require at least
"png-1.0.9nb1" in all dependences.
2001-03-04 09:06:09 +00:00
wiz
a2a4d06c6f Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 15:22:13 +00:00
dmcmahill
c69412f7e3 make sure configure actually finds png 2000-08-25 23:47:13 +00:00
dmcmahill
a79b51fb7d add depends on png so we always get that functionality 2000-08-24 00:08:39 +00:00
dmcmahill
e2c619654e Update to plotutils-2.4.1.
Many bug fixes since the last release.  For a complete list of changes refer
to the NEWS file.

Notable additions include:
libplot: SVG driver added, which outputs the new XML-based SVG (scalable
         vector graphics) format.
documentation: man page for plotfont added.
libplot: completely new metafile export driver, written from scratch.
libplot: ReGIS driver added, which outputs ReGIS (DEC's remote graphics
         instruction set, understood by DEC's VT340 and earlier terminals,
         and also emulators like DEC's decterm).  No support yet for filling
         paths that extend beyond the boundaries of a ReGIS display, due to
         a need for clipping code.
graph,plot,tek2plot,plotfont,pic2plot: `-T png' now allowed if libplot
         contains a PNG driver.
libplot: PNG driver added, which outputs PNG (portable network graphics)
         format.  Included only if libpng (version number >= 0.95) and libz
         are found at package installation time.  `configure' now supports
         a `--without-libpng' option to disable PNG support.
2000-08-24 00:03:47 +00:00
wiz
7800c08a71 USE_PKGLIBTOOL -> USE_LIBTOOL. LTCONFIG_OVERRIDE saves a patch. 2000-08-14 20:06:18 +00:00
itohy
71847d8df2 Rename PKGNAME of plotutils to "plotutils-2.3nb1" as suggested. 2000-07-18 23:07:46 +00:00
itohy
bae58cd6dc Enable C++ support, required by pstoedit.
This includes "libplotter" library and "pic2plot" utility.

Change PKGNAME to plotutils-2.3.0 to distinguish this
from non C++ version.          ^^
2000-07-18 07:41:24 +00:00
rh
74add3b300 s/USE_LIBTOOL/USE_PKGLIBTOOL/
Add a new USE_LIBTOOL definition that uses the libtool package instead of
pkglibtool which is now considered outdated.
USE_PKGLIBTOOL is available for backwards compatibility with old packages
but is deprecated for new packages.
2000-06-01 11:23:11 +00:00
dmcmahill
a514846f47 Update to plotutils-2.3. Changes include:
- PNM driver added, which outputs PBM/PGM/PPM format.
- CGM support added, By default, a CGM Plotter produces
  binary-encoded version-3 CGM format, which conforms to the WebCGM
  profile.
- pseudo-GIF driver added, using miGIF run-length encoding routines
- text string format now supports "\fP" macro for switching to
  previous font (cf. troff; "\fR", "\fI", "\fB" supported too).
- libplotter: new C++ library.  Provides base Plotter class, subclasses for
  the different sorts of Plotter.
- new "dotdotdashed" line style added
- new thread save C/C++ API added (old API still supported)
- pic2plot: new utility, which can translate the pic language to any supported
  graphics format, including X11.
- new function pentype() added to the API.
- many bug fixes.  See the file 'NEWS' in the source distribution for a
  complete list (a couple of pages).
1999-10-10 14:33:07 +00:00
tron
9c4c0c2b50 Remove unnecessary slash from master site list. 1999-04-14 21:39:01 +00:00
tv
4ff582ff7c Update to 2.1.6, and actually make use of pkglibtool. 1999-02-19 04:29:45 +00:00
agc
f6473207ca Replace all occurrences of USE_X11 with USE_X11BASE. This means "install this
package into ${X11BASE}".
Replace all occurrences of BUILD_USES_X11 with USE_X11. This means "use X11
headers and libraries to build this package".
1999-01-30 23:18:44 +00:00
frueauf
a169486b03 Initial import of plotutils-2.1.5, Programs and library for plotting
scientific data. Provided in pr 6407 by Dan McMahill.
1998-11-07 15:23:49 +00:00