pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/gindent gindent: update to 2.2.12.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/849bc145a039
branches:  trunk
changeset: 390427:849bc145a039
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Dec 19 10:21:27 2022 +0000

description:
gindent: update to 2.2.12.

Release notes for GNU indent version 2.2.12, Sep 2018

 * This release drops support for VMS and Watcom.
 * New options:
   * -pal / --pointer-align-left and -par / --pointer-align-right
   * -fnc / --fix-nested-comment
   * -gts / --gettext-strings
   * -slc / --single-line-conditionals
   * -as / --align-with-spaces
   * -ut / --use-tabs
   * -nut / --no-tabs
   * -sar / --spaces-around-initializers
   * -ntac / --dont-tab-align-comments
  * -linux preset now includes -nbs.
  * -kr preset now includes -par.
  * Indent now recognises C99 and C11 keywords, and also typeof.

diffstat:

 devel/gindent/Makefile                   |  12 ++++++------
 devel/gindent/PLIST                      |  17 +++++++++++++++--
 devel/gindent/distinfo                   |  11 +++++------
 devel/gindent/patches/patch-ab           |  19 -------------------
 devel/gindent/patches/patch-src_indent.c |  17 +++++++++++++++++
 devel/gindent/patches/patch-src_lexi.c   |  26 --------------------------
 6 files changed, 43 insertions(+), 59 deletions(-)

diffs (168 lines):

diff -r 4994889cec56 -r 849bc145a039 devel/gindent/Makefile
--- a/devel/gindent/Makefile    Mon Dec 19 10:16:45 2022 +0000
+++ b/devel/gindent/Makefile    Mon Dec 19 10:21:27 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.56 2020/01/18 23:30:28 rillig Exp $
-#
+# $NetBSD: Makefile,v 1.57 2022/12/19 10:21:27 wiz Exp $
 
-DISTNAME=      indent-2.2.10
+DISTNAME=      indent-2.2.12
 PKGNAME=       g${DISTNAME}
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GNU:=indent/}
@@ -14,11 +13,12 @@
 GNU_CONFIGURE=         yes
 USE_PKGLOCALEDIR=      yes
 INFO_FILES=            yes
-MAKE_JOBS_SAFE=                no
+USE_TOOLS+=            makeinfo
 
-AUTO_MKDIRS=           yes
+INSTALLATION_DIRS+=    ${PKGGNUDIR}bin ${PKGGNUDIR}${PKGMANDIR}/man1
 
-.include "../../mk/bsd.prefs.mk"
+# code not clean enough
+BUILDLINK_TRANSFORM+=  rm:-Werror
 
 post-install:
        ${LN} -sf ${PREFIX}/bin/gindent ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/indent
diff -r 4994889cec56 -r 849bc145a039 devel/gindent/PLIST
--- a/devel/gindent/PLIST       Mon Dec 19 10:16:45 2022 +0000
+++ b/devel/gindent/PLIST       Mon Dec 19 10:21:27 2022 +0000
@@ -1,29 +1,42 @@
-@comment $NetBSD: PLIST,v 1.12 2012/06/02 08:05:59 cheusov Exp $
+@comment $NetBSD: PLIST,v 1.13 2022/12/19 10:21:27 wiz Exp $
 bin/gindent
-bin/gtexinfo2man
 gnu/bin/indent
 gnu/bin/texinfo2man
 gnu/man/man1/indent.1
 info/indent.info
 man/man1/gindent.1
 share/doc/indent/indent.html
+share/locale/bg/LC_MESSAGES/indent.mo
 share/locale/ca/LC_MESSAGES/indent.mo
+share/locale/cs/LC_MESSAGES/indent.mo
 share/locale/da/LC_MESSAGES/indent.mo
 share/locale/de/LC_MESSAGES/indent.mo
+share/locale/el/LC_MESSAGES/indent.mo
 share/locale/eo/LC_MESSAGES/indent.mo
+share/locale/es/LC_MESSAGES/indent.mo
 share/locale/et/LC_MESSAGES/indent.mo
+share/locale/eu/LC_MESSAGES/indent.mo
 share/locale/fi/LC_MESSAGES/indent.mo
 share/locale/fr/LC_MESSAGES/indent.mo
+share/locale/ga/LC_MESSAGES/indent.mo
 share/locale/gl/LC_MESSAGES/indent.mo
+share/locale/hr/LC_MESSAGES/indent.mo
 share/locale/hu/LC_MESSAGES/indent.mo
+share/locale/id/LC_MESSAGES/indent.mo
 share/locale/it/LC_MESSAGES/indent.mo
 share/locale/ja/LC_MESSAGES/indent.mo
 share/locale/ko/LC_MESSAGES/indent.mo
 share/locale/nl/LC_MESSAGES/indent.mo
 share/locale/pl/LC_MESSAGES/indent.mo
 share/locale/pt_BR/LC_MESSAGES/indent.mo
+share/locale/ro/LC_MESSAGES/indent.mo
 share/locale/ru/LC_MESSAGES/indent.mo
 share/locale/sk/LC_MESSAGES/indent.mo
+share/locale/sr/LC_MESSAGES/indent.mo
 share/locale/sv/LC_MESSAGES/indent.mo
 share/locale/tr/LC_MESSAGES/indent.mo
+share/locale/uk/LC_MESSAGES/indent.mo
+share/locale/vi/LC_MESSAGES/indent.mo
+share/locale/zh_CN/LC_MESSAGES/indent.mo
 share/locale/zh_TW.Big5/LC_MESSAGES/indent.mo
+share/locale/zh_TW/LC_MESSAGES/indent.mo
diff -r 4994889cec56 -r 849bc145a039 devel/gindent/distinfo
--- a/devel/gindent/distinfo    Mon Dec 19 10:16:45 2022 +0000
+++ b/devel/gindent/distinfo    Mon Dec 19 10:21:27 2022 +0000
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.15 2021/10/26 10:14:41 nia Exp $
+$NetBSD: distinfo,v 1.16 2022/12/19 10:21:27 wiz Exp $
 
-BLAKE2s (indent-2.2.10.tar.gz) = 7a1e353e0db349407d51ac205f13bda55bca788033a1867671d1c861b4a6a4b6
-SHA512 (indent-2.2.10.tar.gz) = a90faf1bf855ecc1e0b0f47f4133e4a46be8b2c42bd0aa7f6cf6d764b7883b34b558e3ca443b193b1a747f64cd2653640f1aecbc8a17265c66260f6d6d621e19
-Size (indent-2.2.10.tar.gz) = 702667 bytes
+BLAKE2s (indent-2.2.12.tar.gz) = caa71ce2732d09b08ae0bfd9d9b6c35d2005ee232c88ac3aafd8a5cd57255317
+SHA512 (indent-2.2.12.tar.gz) = 3fab46979779b2ac35c6ca8aaf52589ef3ccec55d41889941afb18764d5f9b6c516ea93da02e621cc42b01e87ec534c4e4bc3b6a77ba733f028a512b013c9ede
+Size (indent-2.2.12.tar.gz) = 967743 bytes
 SHA1 (patch-aa) = c3c8286cfb8152e5168e48f409cab6605faa2bc7
-SHA1 (patch-ab) = edc861a2db0ba16e34c41e9d8984099dedcdc6e7
-SHA1 (patch-src_lexi.c) = 9b8c02c6b77293a55ec534d7758ef39536b9b4ef
+SHA1 (patch-src_indent.c) = 97e329bbc501b25cee002f7c2e283fa74afd0c25
diff -r 4994889cec56 -r 849bc145a039 devel/gindent/patches/patch-ab
--- a/devel/gindent/patches/patch-ab    Mon Dec 19 10:16:45 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-ab,v 1.9 2016/02/15 09:38:10 jperkin Exp $
-
-Fix includes.
-
---- man/texinfo2man.c.orig     2008-03-11 18:50:42.000000000 +0000
-+++ man/texinfo2man.c
-@@ -1,6 +1,12 @@
-+#ifdef HAVE_CONFIG_H
-+#include "config.h"
-+#endif
-+
- #include <stdio.h>
- #include <stdlib.h>
-+#ifdef HAVE_MALLOC_H
- #include <malloc.h>
-+#endif
- #include <string.h>
- #include <ctype.h>
- 
diff -r 4994889cec56 -r 849bc145a039 devel/gindent/patches/patch-src_indent.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gindent/patches/patch-src_indent.c  Mon Dec 19 10:21:27 2022 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_indent.c,v 1.1 2022/12/19 10:21:27 wiz Exp $
+
+configure does not define HAVE_LOCALE_H
+http://savannah.gnu.org/support/?110390
+
+--- src/indent.c.orig  2018-09-02 07:47:27.000000000 +0000
++++ src/indent.c
+@@ -71,9 +71,7 @@
+ #include <string.h>
+ #include <ctype.h>
+ #include <stdlib.h>
+-#ifdef HAVE_LOCALE_H
+ #include <locale.h>
+-#endif
+ #include "indent.h"
+ #include "backup.h"
+ #include "code_io.h"
diff -r 4994889cec56 -r 849bc145a039 devel/gindent/patches/patch-src_lexi.c
--- a/devel/gindent/patches/patch-src_lexi.c    Mon Dec 19 10:16:45 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-$NetBSD: patch-src_lexi.c,v 1.3 2016/02/15 09:38:10 jperkin Exp $
-
-Remove bogus __inline.
-
---- src/lexi.c.orig    2008-03-11 18:50:42.000000000 +0000
-+++ src/lexi.c
-@@ -197,9 +197,6 @@ int main (void)
- #endif
- 
- /* Include code generated by gperf */
--#ifdef __GNUC__
--__inline
--#endif
- templ_ty *is_reserved (const char *str, unsigned int len);
- 
- #include "gperf.c"
-@@ -211,9 +208,6 @@ templ_ty *is_reserved (const char *str, 
- #undef MIN_WORD_LENGTH
- #undef MAX_WORD_LENGTH
- 
--#ifdef __GNUC__
--__inline
--#endif
- templ_ty *is_reserved_cc (register const char *str, register unsigned int len);
- 
- #include "gperf-cc.c"



Home | Main Index | Thread Index | Old Index