pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/diction Update to version 1.11. While here: ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a63c3d69f272
branches:  trunk
changeset: 536159:a63c3d69f272
user:      bjs <bjs%pkgsrc.org@localhost>
date:      Tue Dec 04 00:57:37 2007 +0000

description:
Update to version 1.11.  While here:  libtoolize, switch to gmake
(generating po files properly seems to need this), add pcre support.

Changes before version 1.10 are unavailable.

The following things have been changed compared to version 1.10:

o  Bugfix in ellipsis processing
o  Support for Dutch
o  GPL 3.0
o  Use autoconf 2.61

diffstat:

 textproc/diction/Makefile         |  15 ++++--
 textproc/diction/PLIST            |   6 ++-
 textproc/diction/distinfo         |  15 ++++-
 textproc/diction/options.mk       |  12 ++++
 textproc/diction/patches/patch-aa |  64 ++++++++++++++++++++++++++
 textproc/diction/patches/patch-ab |  27 +++++++++++
 textproc/diction/patches/patch-ac |  18 +++++++
 textproc/diction/patches/patch-ad |  20 ++++++++
 textproc/diction/patches/patch-ae |  18 +++++++
 textproc/diction/patches/patch-af |  24 +++++++++
 textproc/diction/patches/patch-ag |  95 +++++++++++++++++++++++++++++++++++++++
 11 files changed, 304 insertions(+), 10 deletions(-)

diffs (truncated from 381 to 300 lines):

diff -r 488662020515 -r a63c3d69f272 textproc/diction/Makefile
--- a/textproc/diction/Makefile Tue Dec 04 00:37:05 2007 +0000
+++ b/textproc/diction/Makefile Tue Dec 04 00:57:37 2007 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2006/04/13 18:23:38 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2007/12/04 00:57:37 bjs Exp $
 
-DISTNAME=      diction-1.08
-PKGREVISION=   1
+DISTNAME=      diction-1.11
 CATEGORIES=    textproc
 MASTER_SITES=  http://www.moria.de/~michael/diction/
 
@@ -9,10 +8,16 @@
 HOMEPAGE=      http://www.gnu.org/software/diction/diction.html
 COMMENT=       GNU version of diction and style
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_PKGLOCALEDIR=      YES
-USE_TOOLS+=            msgfmt
+GNU_CONFIGURE=         YES
+USE_LIBTOOL=           yes
+USE_TOOLS+=            gmake msgfmt
 
-GNU_CONFIGURE=         YES
+USE_FEATURES+=         getopt_long regcomp snprintf
+
+.include "options.mk"
 
 .include "../../devel/gettext-lib/buildlink3.mk"
 
diff -r 488662020515 -r a63c3d69f272 textproc/diction/PLIST
--- a/textproc/diction/PLIST    Tue Dec 04 00:37:05 2007 +0000
+++ b/textproc/diction/PLIST    Tue Dec 04 00:57:37 2007 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2006/04/17 07:07:35 jlam Exp $
+@comment $NetBSD: PLIST,v 1.4 2007/12/04 00:57:37 bjs Exp $
 bin/diction
 bin/style
 man/man1/diction.1
@@ -6,5 +6,9 @@
 share/diction/C
 share/diction/de
 share/diction/en
+share/diction/en_GB
+share/diction/nl
 share/locale/de/LC_MESSAGES/diction.mo
+share/locale/en_GB/LC_MESSAGES/diction.mo
+share/locale/nl/LC_MESSAGES/diction.mo
 @dirrm share/diction
diff -r 488662020515 -r a63c3d69f272 textproc/diction/distinfo
--- a/textproc/diction/distinfo Tue Dec 04 00:37:05 2007 +0000
+++ b/textproc/diction/distinfo Tue Dec 04 00:57:37 2007 +0000
@@ -1,5 +1,12 @@
-$NetBSD: distinfo,v 1.3 2005/06/01 03:01:58 snj Exp $
+$NetBSD: distinfo,v 1.4 2007/12/04 00:57:37 bjs Exp $
 
-SHA1 (diction-1.08.tar.gz) = bce77da24d7550715dacf4f13065d5ac2d8ea3bd
-RMD160 (diction-1.08.tar.gz) = 6f16e7b2fc800a52858eda77e245e0d725843a8e
-Size (diction-1.08.tar.gz) = 144440 bytes
+SHA1 (diction-1.11.tar.gz) = 30c7c778959120d30fa67be9261d41de894f498b
+RMD160 (diction-1.11.tar.gz) = c054eb3eb2ffec54d1d48f9e33f138e41c0d4429
+Size (diction-1.11.tar.gz) = 141062 bytes
+SHA1 (patch-aa) = 6f8feacca5bcefb514d8e0fd8fd9c14e66cc5895
+SHA1 (patch-ab) = efd61a4276f7747d45dab1869566e223e693ca48
+SHA1 (patch-ac) = 922b77093e0cb8a95dfb150a6dfc3a1216f5d075
+SHA1 (patch-ad) = fb4491af3a75c9adf56ade31230fd294666702f0
+SHA1 (patch-ae) = c5d14f461bf5643067dda72a49a4e988a9da5265
+SHA1 (patch-af) = b67aec42b60b0d0a226f8e2b5085270fdf9f7cce
+SHA1 (patch-ag) = 973034567a03b0002ff9d1f487d157a2ebd25ab3
diff -r 488662020515 -r a63c3d69f272 textproc/diction/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/diction/options.mk       Tue Dec 04 00:57:37 2007 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2007/12/04 00:57:38 bjs Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.diction
+PKG_SUPPORTED_OPTIONS= pcre
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mpcre)
+LIBPCREPOSIX=  -lpcreposix
+MAKE_ENV+=     LIBPCREPOSIX=${LIBPCREPOSIX:Q}
+.  include "../../devel/pcre/buildlink3.mk"
+.endif
diff -r 488662020515 -r a63c3d69f272 textproc/diction/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/diction/patches/patch-aa Tue Dec 04 00:57:37 2007 +0000
@@ -0,0 +1,64 @@
+$NetBSD: patch-aa,v 1.1 2007/12/04 00:57:38 bjs Exp $
+
+--- Makefile.in.orig   2007-08-03 06:05:15.000000000 -0400
++++ Makefile.in
+@@ -11,14 +11,14 @@ VPATH=             @srcdir@
+ prefix=               @prefix@
+ exec_prefix=  @exec_prefix@
+ datarootdir=  @datarootdir@
+-localedir=    @localedir@
++localedir= /usr/pkg/share/locale
+ 
+ CC=           @CC@
+ CFLAGS=               @CFLAGS@
+ CPPFLAGS=     @CPPFLAGS@ -I. -DSHAREDIR=\"@datarootdir@\" -DLOCALEDIR=\"$(localedir)\"
+ LDFLAGS=      @LDFLAGS@
+ LIBM=         -lm
+-LIBS=         @LIBS@
++LIBS=         @LIBS@ ${LIBPCREPOSIX}
+ 
+ CATALOGS=     de.mo en_GB.mo nl.mo
+ 
+@@ -26,13 +26,13 @@ all:               diction style all-po-@USE_NLS@
+ all-po-no:
+ all-po-yes:   $(CATALOGS)
+ 
+-diction:      diction.o sentence.o misc.o getopt.o getopt1.o
+-              $(CC) -o $@ $(LDFLAGS) diction.o sentence.o misc.o \
+-              getopt.o getopt1.o $(LIBS)
+-
+-style:                style.o sentence.o misc.o getopt.o getopt1.o
+-              $(CC) -o $@ $(LDFLAGS) style.o sentence.o misc.o \
+-              getopt.o getopt1.o $(LIBM) $(LIBS)
++diction:      diction.o sentence.o misc.o
++              ${LIBTOOL} --mode=link --tag=CC $(CC) -o $@ $(LDFLAGS) \
++              diction.lo sentence.lo misc.lo $(LIBS)
++
++style:                style.o sentence.o misc.o
++              ${LIBTOOL} --mode=link --tag=CC $(CC) -o $@ $(LDFLAGS) \
++              diction.lo sentence.lo misc.lo $(LIBM) $(LIBS)
+ 
+ check:                diction
+               for i in $(srcdir)/test/test*; do $$i || break; done
+@@ -61,7 +61,7 @@ install-po-yes:      $(CATALOGS)
+               done
+ 
+ .c.o:
+-              $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
++              ${LIBTOOL} --mode=compile --tag=CC $(CC) -c $(CPPFLAGS) $(CFLAGS) -prefer-pic $<
+ 
+ .SUFFIXES:    .po .mo
+ 
+@@ -110,10 +110,8 @@ tar:              distclean
+               (b=`pwd`; b=`basename $$b`; cd ..; tar zcvf $$b.tar.gz $$b/COPYING $$b/INSTALL $$b/Makefile.in $$b/README $$b/NEWS $$b/configure $$b/install-sh $$b/de $$b/en $$b/en_GB $$b/nl $$b/test 
$$b/[a-z]*.*)
+ #}}}
+ #{{{ dependencies
+-diction.o:    diction.c config.h getopt.h misc.h sentence.h
+-getopt.o:     getopt.c getopt.h getopt_int.h
+-getopt1.o:    getopt1.c getopt.h getopt_int.h
++diction.o:    diction.c config.h misc.h sentence.h
+ misc.o:       misc.c config.h misc.h
+ sentence.o:   sentence.c config.h misc.h sentence.h
+-style.o:      style.c config.h getopt.h misc.h sentence.h
++style.o:      style.c config.h misc.h sentence.h
+ #}}}
diff -r 488662020515 -r a63c3d69f272 textproc/diction/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/diction/patches/patch-ab Tue Dec 04 00:57:37 2007 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-ab,v 1.1 2007/12/04 00:57:39 bjs Exp $
+
+--- diction.c.orig     2007-07-30 16:42:41.000000000 -0400
++++ diction.c
+@@ -35,13 +35,21 @@ with this program.  If not, write to the
+ #else
+ #define _(String) String
+ #endif
++#if defined(HAVE_NBCOMPAT_H)
++#include <nbcompat/config.h>
++#include <nbcompat/cdefs.h>
++#include <nbcompat/getopt.h>
++#include <nbcompat/regex.h>
++#include <nbcompat/stdio.h>
++#else
++#include <getopt.h>
+ #include <regex.h>
+ #include <stdio.h>
++#endif
+ #include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
+ 
+-#include "getopt.h"
+ #include "misc.h"
+ #include "sentence.h"
+ /*}}}*/
diff -r 488662020515 -r a63c3d69f272 textproc/diction/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/diction/patches/patch-ac Tue Dec 04 00:57:37 2007 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-ac,v 1.1 2007/12/04 00:57:39 bjs Exp $
+
+--- misc.c.orig        2007-07-31 18:08:55.000000000 -0400
++++ misc.c
+@@ -26,7 +26,13 @@ implied warranty of MERCHANTABILITY or F
+ #include <sys/types.h>
+ #include <assert.h>
+ #include <errno.h>
++#if defined(HAVE_NBCOMPAT_H)
++#include <nbcompat/config.h>
++#include <nbcompat/cdefs.h>
++#include <nbcompat/stdio.h>
++#else
+ #include <stdio.h>
++#endif
+ #include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
diff -r 488662020515 -r a63c3d69f272 textproc/diction/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/diction/patches/patch-ad Tue Dec 04 00:57:37 2007 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-ad,v 1.1 2007/12/04 00:57:40 bjs Exp $
+
+--- sentence.c.orig    2007-08-09 09:00:25.000000000 -0400
++++ sentence.c
+@@ -40,8 +40,15 @@ with this program.  If not, write to the
+ #else
+ #define _(String) String
+ #endif
++#if defined(HAVE_NBCOMPAT_H)
++#include <nbcompat/config.h>
++#include <nbcompat/cdefs.h>
++#include <nbcompat/regex.h>
++#include <nbcompat/stdio.h>
++#else
+ #include <regex.h>
+ #include <stdio.h>
++#endif
+ #include <stdlib.h>
+ #include <string.h>
+ 
diff -r 488662020515 -r a63c3d69f272 textproc/diction/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/diction/patches/patch-ae Tue Dec 04 00:57:37 2007 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-ae,v 1.1 2007/12/04 00:57:40 bjs Exp $
+
+--- sentence.h.orig    2007-07-30 16:44:18.000000000 -0400
++++ sentence.h
+@@ -25,7 +25,13 @@ with this program.  If not, write to the
+ #define SENTENCE_H
+ 
+ #include <sys/types.h>
++#if defined(HAVE_NBCOMPAT_H)
++#include <nbcompat/config.h>
++#include <nbcompat/cdefs.h>
++#include <nbcompat/stdio.h>
++#else
+ #include <stdio.h>
++#endif
+ 
+ int endingInPossesiveS(const char *s, size_t length);
+ void sentence(const char *cmd, FILE *in, const char *file, void (*process)(const char *, size_t, const char *, int), const char *lang);
diff -r 488662020515 -r a63c3d69f272 textproc/diction/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/diction/patches/patch-af Tue Dec 04 00:57:37 2007 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-af,v 1.1 2007/12/04 00:57:41 bjs Exp $
+
+--- style.c.orig       2007-08-09 09:45:54.000000000 -0400
++++ style.c
+@@ -40,11 +40,18 @@ with this program.  If not, write to the
+ #define _(String) String
+ #endif
+ #include <math.h>
++#if defined(HAVE_NBCOMPAT_H)
++#include <nbcompat/config.h>
++#include <nbcompat/cdefs.h>
++#include <nbcompat/getopt.h>
++#include <nbcompat/stdio.h>
++#else
++#include <getopt.h>
+ #include <stdio.h>
++#endif
+ #include <stdlib.h>
+ #include <string.h>
+ 
+-#include "getopt.h"
+ #include "misc.h"
+ #include "sentence.h"
+ /*}}}*/
diff -r 488662020515 -r a63c3d69f272 textproc/diction/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/diction/patches/patch-ag Tue Dec 04 00:57:37 2007 +0000
@@ -0,0 +1,95 @@
+$NetBSD: patch-ag,v 1.1 2007/12/04 00:57:41 bjs Exp $
+
+--- configure.orig     2007-08-30 04:06:24.000000000 -0400
++++ configure
+@@ -2935,90 +2935,6 @@ _ACEOF
+ fi
+ done
+ 
+-{ echo "$as_me:$LINENO: checking for library containing regcomp" >&5
+-echo $ECHO_N "checking for library containing regcomp... $ECHO_C" >&6; }
+-if test "${ac_cv_search_regcomp+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  ac_func_search_save_LIBS=$LIBS



Home | Main Index | Thread Index | Old Index