Commit graph

31 commits

Author SHA1 Message Date
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
wiz
7e964b9445 Update to 1.45:
1.45

Eric Raymond caught a typo in the grap man page.

Various small code changes to remove clang and recent g++ warnings.
2014-08-31 21:41:58 +00:00
wiz
c029bdd1d9 Update to 1.44. Set LICENSE.
1.44

Modern g++ seems to dislike *printf without a constant format string if there
are no other aguuments and was causing compiles to fail.  Fixed warning
and patch from Tobias Quathamer.

Manpage spelling fix from Tobias Quathamer.

John Heidemann pointed out that plot doesn't accept modifiers to strings
(though he didn't phrase it that way).  The short form is that

plot bullet at x,y

wasn't working.  I've adjusted plot to make the string modifiers into
active keywords, which fixes the problem.

Someone named Y T pointed out that there was no mod operator (%).  There
is now.

This marks the transition from my home brewed Makefiles to automake-generated
makefiles.  A couple largely unused options went away, but with any luck
we still build everywhere.

Robert Daasch submitted a patch to include floor and ceil fuctions.
That's been incorporated.  (His patch also included adding a mod
operator, but I'd already done that.)

Added minimal support for dates, by adding versions of strftime and
strptime that return and accept seconds since the unix epoch.

1.43

Bruce Lilly pointed out that g++ 4.3.1 was emitting all sorts of dire
warnings about the hash_map data structure and associated support being
pulled from g++ in the future.  SuSe seems to ship with this and there's
no point scaring people (or letting a time bomb tick).  Grap now detects
and uses unordered_map if it's present on your system, which stops the
wailing and gnashing of teeth from g++ 4.3.1 .  That g++ version also
requires a compiler option to support that include file, which we also
autodetect and use.  (This is essentially autodetecting the flags described in
the changes to grap 1.41 below, along with some code changes to make that
actually function correctly.)

A fellow named Fergus had a Cygwin compilation problem as well.  His
system apparently had rand but not random (a very rare configuration
these days).  This led me to find a corner of the autoconf code that I
apparently hadn't checked sufficiently.  If rand was found and a
declaration made in the system files, the grap config stuff failed to
note the declaration and made its own incompatible one.  This should be
gone now.

Fergus's system also seemed to be lacking snprintf - which again is very
odd.  I hadn't reflected the change to grap sprintf in version 1.23 into
the code that emulates snprintf on systems without it.  That code has
been added.

Changed the examples to include a brief tutorial on string matching in
grap.  Suggested by John Heidemann.

1.42

There's been a long standing bug with how different versions of pic
interpret the "line from (x,y) then down 5" construct.  There was once a
bug report at
http://lists.gnu.org/archive/html/groff/2008-03/msg00003.html
about this.  As of version 1.42 grap no longer outputs this pic construct.

Dan Lasley pointed out that the key was incomplete for the bar graph example.
His fix to restore the key is included.

John Heidemann points out that bars in coordinate systems other than the
default just didn't work.  This was a bug in my yacc grammer - for
heaven's sake.  It's corrected to match the manual page.

For loops were strange in that

.G1
for xx  from  15 to 13  do  { print "YYY" }
print "ZZZZ"
.G2

would loop infinitely.  xx never passes 13.  Added a test to make that a
null loop as well as making

.G1
for xx  from  13 to 13  do  { print "YYY" }
print "ZZZZ"
.G2

print one "YYY".  You can still confuse loops, using strange by clauses
- for example "by 0" or "by * -1" but common cases should be covered.

Spotted by a fellow named Yuval.

Found a lurking initializer bug while fixing the for loop thing.

I added references to standard plot strings in a couple places to make
them somewhat easier to find.
2014-07-22 11:33:47 +00:00
asau
08f35c7155 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-06 14:10:39 +00:00
joerg
c569c6a51f Mark packages as MAKE_JOBS_SAFE=no that failed in a bulk build with
MAKE_JOBS=2 and worked without.
2009-06-30 00:07:09 +00:00
joerg
3a3c07bc30 Remove @dirrm entries from PLISTs 2009-06-14 17:59:04 +00:00
tnn
12ad6bea4d Fall back to c++ STL map instead of __gnu_cxx::hash_map even if we have
the __gnu_cxx extensions. (The latter seems to trigger a crash.)
Bump PKGREVISION.
2007-12-22 20:47:19 +00:00
tnn
d244221946 Update to grap-1.41. Summary of changes:
1.41: fix gcc-4.1/4.2 builds problems (this should include PR pkg/34378)
1.40: fixes regressions from 1.38
1.39: gcc-4.1 fixes
1.38: DESTDIR support (also enbled in pkgsrc)
1.37: fixes an EOF bug
1.36: grammar fixes
1.35: lex fixes
1.32: fixes parsing of color modifiers
2007-12-22 19:42:01 +00:00
smb
477a402916 Delete extraneous coord:: prefix to permit compilation with gcc4 2006-12-10 04:53:24 +00:00
rillig
144a1ee175 Added "c" to USE_LANGUAGES for packages that use GNU configure scripts,
since they always need a C compiler, even when the source code is
completely in C++.

For some other packages, stated in the comment that a C compiler is
really not needed.
2006-07-22 04:46:13 +00:00
minskim
05dc7b84dd USE_TOOLS+=lex yacc 2006-06-08 16:03:13 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
5f607d8695 Fix errno. Fix GCC 3.4+ constructor issues. Move an extern up into a
central header.
2006-01-09 19:46:01 +00:00
agc
6a7b384635 Add RMD160 digests 2005-02-24 08:45:01 +00:00
minskim
69328bd5eb Enable pkgviews installation. 2005-01-01 04:01:07 +00:00
minskim
d3e518dbc9 USE_LANGUAGES=c++ 2005-01-01 03:59:31 +00:00
minskim
d430229665 This package doesn't need perl at all. Remove USE_PERL5.
Bump PKGREVISION due to dependency change.
2005-01-01 03:57:25 +00:00
agc
8a27471743 Fix build with gcc3 2004-01-14 15:57:09 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
jtb
0f9169dc7c Use CPPFLAGS for preprocessor defs. Allows setting of CXXFLAGS
on the commandline.  grap has problems being compiled
with optimization on some machines.
2003-07-14 07:12:12 +00:00
jtb
ae3f1f0d71 patch-aa is gone. Remove it from distinfo. Pointed out by
Thomas Klausner.
2003-07-03 23:10:03 +00:00
jtb
dad78ada35 Update to version 1.30.
The main change is the addition of color to grap. Other changes
are bug fixes.
2003-06-29 22:46:41 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
jtb
cccb02e28d Update to version 1.20.
This version adds some new features. Embedded troff and pic commands
   are  now  interleaved more rationally with the generated pic commands.
   Grap  is  considerably  more tolerant of using variable names that are
   the  same  as  keywords  or  coordinate  names.  Details  are  in  the
   CHANGES file.
2001-07-15 12:22:43 +00:00
wiz
a4f21a5507 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 09:54:06 +00:00
agc
fb467f5ac2 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:22:34 +00:00
jtb
eb0cef2016 Change MAINTAINER section to packages@netbsd.org 2001-04-14 21:43:38 +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
jtb
d68c01b05b Fixed checksum mismatch. 2000-11-25 17:58:45 +00:00
jtb
79ffe053e3 Initial import of new "grap" package:
Language for typesetting graphs
2000-11-25 17:52:11 +00:00