Re: Remove japanese/groff

2018-04-16 Thread Ingo Schwarze
Hi Anthony,

Anthony J. Bentley wrote on Mon, Apr 16, 2018 at 03:58:05AM -0600:

> japanese/groff is an ancient patchset on top of even more ancient
> groff (specifically groff-1.10, released in 1995).

Indeed, we are now almost at 1.22.4, and i regard anything older
than 1.22 as ancient and anything older than 1.17 as extremely
ancient.  The technical and functional improvements in 1.17 were
so major that going back beyond that seems like a really bad idea.

> Nothing uses it anymore. So remove it as below (plus quirks of course).

Certainly no objection from me to removing it.

I can't think of a reason why anyone might still need it.
If people still have non-UTF-8 input files, they can be
converted before running modern groff.  If people still require
non-UTF-8 nroff(1) output, they can use -Tutf8 and postprocess
with a character set converter.  Multibyte character support
is likely to be better in modern groff than in such an old version.

So unless somebody objects, OK schwarze@
  Ingo


> Index: Makefile
> ===
> RCS file: /cvs/ports/japanese/Makefile,v
> retrieving revision 1.30
> diff -u -p -r1.30 Makefile
> --- Makefile  19 Apr 2017 05:58:48 -  1.30
> +++ Makefile  16 Apr 2018 09:56:29 -
> @@ -3,7 +3,6 @@
>   SUBDIR =
>   SUBDIR += Wnn
>   SUBDIR += canna
> - SUBDIR += groff
>   SUBDIR += gwaei
>   SUBDIR += kakasi
>   SUBDIR += kanatest
> Index: groff/Makefile
> ===
> RCS file: groff/Makefile
> diff -N groff/Makefile
> --- groff/Makefile26 Jul 2017 22:45:25 -  1.18
> +++ /dev/null 1 Jan 1970 00:00:00 -
> @@ -1,40 +0,0 @@
> -# $OpenBSD: Makefile,v 1.18 2017/07/26 22:45:25 sthen Exp $
> -
> -COMMENT= japanese groff
> -
> -CATEGORIES=  japanese textproc print
> -
> -PKGNAME= ja-groff-1.10_0.99
> -REVISION =   2
> -DISTNAME=groff-1.10
> -
> -PATCHFILES=  jgroff-0.99.diff.gz:0
> -
> -MASTER_SITES=${MASTER_SITE_GNU:=groff/}
> -
> -MASTER_SITES0=   ftp://ftp.ae.keio.ac.jp/pub/GNU/ \
> -ftp://ftp.tohoku.ac.jp/pub/GNU/japanese/
[...]



Remove japanese/groff

2018-04-16 Thread Anthony J. Bentley
Hi,

japanese/groff is an ancient patchset on top of even more ancient
groff (specifically groff-1.10, released in 1995).

Nothing uses it anymore. So remove it as below (plus quirks of course).

ok?

Index: Makefile
===
RCS file: /cvs/ports/japanese/Makefile,v
retrieving revision 1.30
diff -u -p -r1.30 Makefile
--- Makefile19 Apr 2017 05:58:48 -  1.30
+++ Makefile16 Apr 2018 09:56:29 -
@@ -3,7 +3,6 @@
  SUBDIR =
  SUBDIR += Wnn
  SUBDIR += canna
- SUBDIR += groff
  SUBDIR += gwaei
  SUBDIR += kakasi
  SUBDIR += kanatest
Index: groff/Makefile
===
RCS file: groff/Makefile
diff -N groff/Makefile
--- groff/Makefile  26 Jul 2017 22:45:25 -  1.18
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,40 +0,0 @@
-# $OpenBSD: Makefile,v 1.18 2017/07/26 22:45:25 sthen Exp $
-
-COMMENT=   japanese groff
-
-CATEGORIES=japanese textproc print
-
-PKGNAME=   ja-groff-1.10_0.99
-REVISION = 2
-DISTNAME=  groff-1.10
-
-PATCHFILES=jgroff-0.99.diff.gz:0
-
-MASTER_SITES=  ${MASTER_SITE_GNU:=groff/}
-
-MASTER_SITES0= ftp://ftp.ae.keio.ac.jp/pub/GNU/ \
-ftp://ftp.tohoku.ac.jp/pub/GNU/japanese/
-
-
-PERMIT_PACKAGE_CDROM=  Yes
-WANTLIB=   c ${COMPILER_LIBCXX} m
-
-PATCH_DIST_STRIP=  -p1
-
-CONFIGURE_STYLE=   gnu old dest
-USE_GROFF =Yes
-
-#post-configure:
-#  @cd ${WRKSRC}/xditview && ${SETENV} ${MAKE_ENV} ${XMKMF}
-#
-#post-build:
-#  @cd ${WRKBUILD}/xditview && ${SETENV} ${MAKE_ENV} \
-#  make ${MAKE_FLAGS} -f ${MAKE_FILE} ${ALL_TARGET}
-#
-#post-install:
-#  @cd ${WRKBUILD}/xditview && ${SETENV} ${MAKE_ENV} \
-#  make ${ALL_FAKE_FLAGS} -f ${MAKE_FILE} install install.man
-
-MAINTAINER=Marc Espie 
-
-.include 
Index: groff/distinfo
===
RCS file: groff/distinfo
diff -N groff/distinfo
--- groff/distinfo  18 Jan 2015 03:14:16 -  1.4
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,4 +0,0 @@
-SHA256 (groff-1.10.tar.gz) = WffsLElBTE/JZ7N5ZBj9/UTI0ZbnSG3Snd6BXKb2XTE=
-SHA256 (jgroff-0.99.diff.gz) = wOj1w6LEVpE0gbzob0rzwbGlk8cYbtI9GhRnN4rvjQs=
-SIZE (groff-1.10.tar.gz) = 986431
-SIZE (jgroff-0.99.diff.gz) = 84778
Index: groff/patches/patch-Makefile_comm
===
RCS file: groff/patches/patch-Makefile_comm
diff -N groff/patches/patch-Makefile_comm
--- groff/patches/patch-Makefile_comm   9 May 2010 21:26:54 -   1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,31 +0,0 @@
-Install everything with a `j' prefix, including all manpages.
-$OpenBSD: patch-Makefile_comm,v 1.2 2010/05/09 21:26:54 robert Exp $
 Makefile.comm.orig Tue Jun 27 13:08:27 1995
-+++ Makefile.comm  Sun May  9 22:33:01 2010
-@@ -44,7 +44,7 @@ MOSTLYCLEANFILES=$(MANCLEAN) $(PROG) $(OBJS) $(GENSRCS
- CLEANFILES=$(LIBCLEAN)
- DISTCLEANFILES=TAGS Makefile
- REALCLEANFILES=$(YTABC) $(YTABH)
--NAMEPREFIX=
-+NAMEPREFIX=j
- HDRS=
- MANPAGES=$(MAN1) $(MAN5) $(MAN7)
- MANCLEAN=$(MANPAGES)
-@@ -144,7 +144,7 @@ install_man:
-   -test -d $(man5dir) || mkdir $(man5dir)
-   @-pages="$(MAN5)"; \
-   for p in $$pages; do \
--   target=$(man5dir)/`basename $$p .n`.$(man5ext); \
-+   target=$(man5dir)/$(NAMEPREFIX)`basename $$p .n`.$(man5ext); \
-rm -f $$target; \
-echo $(INSTALL_DATA) $$p $$target; \
-$(INSTALL_DATA) $$p $$target; \
-@@ -152,7 +152,7 @@ install_man:
-   -test -d $(man7dir) || mkdir $(man7dir)
-   @-pages="$(MAN7)"; \
-   for p in $$pages; do \
--   target=$(man7dir)/`basename $$p .n`.$(man7ext); \
-+   target=$(man7dir)/$(NAMEPREFIX)`basename $$p .n`.$(man7ext); \
-rm -f $$target; \
-echo $(INSTALL_DATA) $$p $$target; \
-$(INSTALL_DATA) $$p $$target; \
Index: groff/patches/patch-Makefile_in
===
RCS file: groff/patches/patch-Makefile_in
diff -N groff/patches/patch-Makefile_in
--- groff/patches/patch-Makefile_in 12 Apr 2000 20:34:11 -  1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,15 +0,0 @@
-Put data into jgroff. 
-Issue: don't install everything, but link redundant stuff from 
-/usr/share/groff ?
-$OpenBSD: patch-Makefile_in,v 1.1.1.1 2000/04/12 20:34:11 espie Exp $
 Makefile.in.orig   Tue Apr 11 23:43:40 2000
-+++ Makefile.inTue Apr 11 23:44:42 2000
-@@ -75,7 +75,7 @@ bindir=$(exec_prefix)/bin
- 
- # datasubdir says where to install data files
- datadir=$(prefix)/share
--datasubdir=$(datadir)/groff
-+datasubdir=$(datadir)/jgroff
- 
- # fontdir says where to install dev*/*.
- fontdir=$(datasubdir)/font
Index: groff/patches/patch-afmtodit_Makefile_sub
===
RCS file: