pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/gperf New in 3.0.1:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/af1761cb8a47
branches:  trunk
changeset: 464023:af1761cb8a47
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Dec 03 15:56:16 2003 +0000

description:
New in 3.0.1:
* Bug fix.

New in 3.0:
* Added option --output that allows to specify the output file name.
* Some options have been renamed:
    --hash-fn-name=NAME     -->   --hash-function-name=NAME
    --lookup-fn-name=NAME   -->   --lookup-function-name=NAME
    --compare-strlen        -->   --compare-lengths
    --global                -->   --global-table
  The older variants are still supported for backward compatibility.
* New options can now be specified inside the input file: --> see "NEWS"
* When the option -k is not given, the default key positions are now
  computed depending on the set of keywords.
* If the input file is given by name, the output file will now contain
  #line directives referring to the input file.
* Some keyword sets containing permutations, like { "xy", "yx", "xz", "zx" }
  or { "abc", "acb", "bca", "cab" }, are now handled by gperf without
  requiring the option -D.
* The generated table is usually much smaller than it was with earlier
  versions of gperf.
* Added option -m/--multiple-iterations that allows to further reduce the
  size of the generated table.
* When the search for a good hash function is not immediately successful,
  the table's size will grow as needed. Earlier versions of gperf bailed
  out with an "Internal error, duplicate hash code value".
* The options -f/--fast and -o/--occurrence-sort have no effect any more.
* Added options -P/--pic and --null-strings that optimize the generated code
  for use in shared libraries. -P/--pic does a perfect optimization but may
  require some small code changes (see the documentation for details), whereas
  --null-strings does only a half-hearted optimization but works without
  needing any change to surrounding code.
* Added option --ignore-case that produces a case independent lookup function.
* Bug fixes

diffstat:

 devel/gperf/Makefile         |  13 ++++++++-----
 devel/gperf/PLIST            |   4 ++--
 devel/gperf/distinfo         |   8 ++++----
 devel/gperf/patches/patch-aa |  19 ++++++++++---------
 4 files changed, 24 insertions(+), 20 deletions(-)

diffs (93 lines):

diff -r 91745c2e6c07 -r af1761cb8a47 devel/gperf/Makefile
--- a/devel/gperf/Makefile      Wed Dec 03 15:51:39 2003 +0000
+++ b/devel/gperf/Makefile      Wed Dec 03 15:56:16 2003 +0000
@@ -1,15 +1,18 @@
-# $NetBSD: Makefile,v 1.14 2003/11/03 17:59:28 gavan Exp $
+# $NetBSD: Makefile,v 1.15 2003/12/03 15:56:16 adam Exp $
 #
 
-DISTNAME=      gperf-2.7.2
+DISTNAME=      gperf-3.0.1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GNU:=gperf/}
 
 MAINTAINER=    tech-pkg%NetBSD.org@localhost
+HOMEPAGE=      http://www.gnu.org/software/gperf/gperf.html
 COMMENT=       GNU perfect hash function generator
 
-GNU_CONFIGURE= yes
-USE_GCC_SHLIB= yes
-INFO_FILES=    gperf.info
+USE_GCC_SHLIB=         YES
+GNU_CONFIGURE=         YES
+CONFIGURE_ARGS+=       --mandir="${PREFIX}/man"
+
+INFO_FILES=            gperf.info
 
 .include "../../mk/bsd.pkg.mk"
diff -r 91745c2e6c07 -r af1761cb8a47 devel/gperf/PLIST
--- a/devel/gperf/PLIST Wed Dec 03 15:51:39 2003 +0000
+++ b/devel/gperf/PLIST Wed Dec 03 15:56:16 2003 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2003/06/23 11:06:23 seb Exp $
+@comment $NetBSD: PLIST,v 1.4 2003/12/03 15:56:16 adam Exp $
 bin/gperf
 info/gperf.info
-man/man1/gperf.1.gz
+man/man1/gperf.1
diff -r 91745c2e6c07 -r af1761cb8a47 devel/gperf/distinfo
--- a/devel/gperf/distinfo      Wed Dec 03 15:51:39 2003 +0000
+++ b/devel/gperf/distinfo      Wed Dec 03 15:56:16 2003 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2003/06/23 11:06:23 seb Exp $
+$NetBSD: distinfo,v 1.4 2003/12/03 15:56:16 adam Exp $
 
-SHA1 (gperf-2.7.2.tar.gz) = a8a096093d9f94650bac1e90c8c8bccf49529444
-Size (gperf-2.7.2.tar.gz) = 450996 bytes
-SHA1 (patch-aa) = e54de8ba488ed99601526f8288a48864e59139f6
+SHA1 (gperf-3.0.1.tar.gz) = c4453ee492032b369006ee464f4dd4e2c0c0e650
+Size (gperf-3.0.1.tar.gz) = 842501 bytes
+SHA1 (patch-aa) = 16c3d66bd8c6cdaa91c58b0624a9e4c97cfef8ca
diff -r 91745c2e6c07 -r af1761cb8a47 devel/gperf/patches/patch-aa
--- a/devel/gperf/patches/patch-aa      Wed Dec 03 15:51:39 2003 +0000
+++ b/devel/gperf/patches/patch-aa      Wed Dec 03 15:56:16 2003 +0000
@@ -1,19 +1,19 @@
-$NetBSD: patch-aa,v 1.4 2003/06/23 11:06:24 seb Exp $
+$NetBSD: patch-aa,v 1.5 2003/12/03 15:56:16 adam Exp $
 
---- doc/Makefile.in.orig       2000-09-26 11:32:31.000000000 +0000
+--- doc/Makefile.in.orig       2003-06-02 13:42:02.000000000 +0200
 +++ doc/Makefile.in
-@@ -44,7 +44,6 @@ RM = rm -f
- TEX = tex
+@@ -49,7 +49,6 @@ TEX = tex
  TEXI2DVI = texi2dvi
  DVIPS = dvips -D600
+ TEXI2PDF = texi2pdf
 -MAKEINFO = LANG= LANGUAGE= makeinfo
  TEXI2HTML = texi2html
  
  # Programs used by "make install":
-@@ -101,15 +100,15 @@ install : all force
- #     $(INSTALL_DATA) $(srcdir)/gperf.dvi $(DESTDIR)$(dvidir)/gperf.dvi
- #     $(MKINSTALLDIRS) $(DESTDIR)$(psdir)
- #     $(INSTALL_DATA) $(srcdir)/gperf.ps $(DESTDIR)$(dvidir)/gperf.ps
+@@ -116,8 +115,8 @@ install : all force
+ #     $(INSTALL_DATA) $(srcdir)/gperf.ps $(DESTDIR)$(psdir)/gperf.ps
+ #     $(MKINSTALLDIRS) $(DESTDIR)$(pdfdir)
+ #     $(INSTALL_DATA) $(srcdir)/gperf.pdf $(DESTDIR)$(pdfdir)/gperf.pdf
 -      $(MKINSTALLDIRS) $(DESTDIR)$(htmldir)
 -      $(INSTALL_DATA) $(srcdir)/gperf.html $(DESTDIR)$(htmldir)/gperf.html
 +#     $(MKINSTALLDIRS) $(DESTDIR)$(htmldir)
@@ -21,9 +21,10 @@
  
  installdirs : force
        $(MKINSTALLDIRS) $(DESTDIR)$(infodir)
-       $(MKINSTALLDIRS) $(DESTDIR)$(man1dir)
+@@ -125,7 +124,7 @@ installdirs : force
  #     $(MKINSTALLDIRS) $(DESTDIR)$(dvidir)
  #     $(MKINSTALLDIRS) $(DESTDIR)$(psdir)
+ #     $(MKINSTALLDIRS) $(DESTDIR)$(pdfdir)
 -      $(MKINSTALLDIRS) $(DESTDIR)$(htmldir)
 +#     $(MKINSTALLDIRS) $(DESTDIR)$(htmldir)
  



Home | Main Index | Thread Index | Old Index