Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Nov 1998 21:47:45 +0900 (KST)
From:      junker@jazz.snu.ac.kr
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Cc:        Nakai@technologist.com
Subject:   ports/8842: Port upgrade: devel/gettext
Message-ID:  <199811241247.VAA00706@punky.snu.ac.kr>

next in thread | raw e-mail | index | archive | help

>Number:         8842
>Category:       ports
>Synopsis:       port upgrade: devel/gettext
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 24 04:50:01 PST 1998
>Last-Modified:
>Originator:     CHOI Junho
>Organization:
NARAE, CS Dept., Seoul National Univ., ROK
>Release:        FreeBSD 2.2.7-STABLE i386
>Environment:

FreeBSD punky.snu.ac.kr 2.2.7-STABLE FreeBSD 2.2.7-STABLE #0: Mon Nov 23 13:14:55 KST 1998     pwd@punky.snu.ac.kr:/allegro/2.2-src/sys/compile/PUNKY  i386

>Description:

Currently devel/gettext ports(gettext-0.10) is too old.
gettext-0.10.35 is a most recent version, and it is more stable than
0.10.

I am not a port maintainer of this. I mailed it to the maintainer,
but I got returned mail. So I send this report to ports team directly.
(and Cc: to him once more)

One more thing. Currently, x11/xview-lib has
 ${X11BASE}/bin/msgfmt
 ${X11BASE}/bin/xgettext

These files are conflict with devel/gettext ports. We can give a prefix
'g' to devel/gettext ports, but it makes a lot of trouble with all
gettext-depend ports(e.g. we should modify all GNU configure script and
po-related Makefile.in!).
I don't know how xview-lib's msgfmt works, but we should avoid to use it.

>How-To-Repeat:

>Fix:

diff -uNr /usr/ports/devel/gettext/Makefile gettext/Makefile
--- /usr/ports/devel/gettext/Makefile	Thu Nov 19 04:00:59 1998
+++ gettext/Makefile	Tue Nov 24 14:55:20 1998
@@ -6,14 +6,14 @@
 # $Id: Makefile,v 1.4 1998/11/18 15:09:35 vanilla Exp $
 #
 
-DISTNAME=	gettext-0.10
+DISTNAME=	gettext-0.10.35
 CATEGORIES=	devel
-MASTER_SITES=	${MASTER_SITE_GNU}
+MASTER_SITES=	ftp://alpha.gnu.ai.mit.edu/gnu/
 
 MAINTAINER=	Nakai@technologist.com
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-gnu-gettext
+CONFIGURE_ARGS=	i386--freebsd --with-gnu-gettext
 
 pre-configure:
 	${RM} ${WRKSRC}/doc/gettext.info*
@@ -23,5 +23,7 @@
 	  ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
 	 fi
 	@install-info ${PREFIX}/info/gettext.info ${PREFIX}/info/dir
+	${INSTALL_DATA} ${WRKSRC}/misc/po-mode.el \
+		${PREFIX}/share/gettext/po-mode.el
 
 .include <bsd.port.mk>
diff -uNr /usr/ports/devel/gettext/files/md5 gettext/files/md5
--- /usr/ports/devel/gettext/files/md5	Wed Aug 26 01:13:04 1998
+++ gettext/files/md5	Sat Nov 21 16:58:14 1998
@@ -1 +1 @@
-MD5 (gettext-0.10.tar.gz) = e9d58ee3880feed61b2b8145b5ec519a
+MD5 (gettext-0.10.35.tar.gz) = f29d32b82217b9d89fcda66328752acc
diff -uNr /usr/ports/devel/gettext/patches/patch-aa gettext/patches/patch-aa
--- /usr/ports/devel/gettext/patches/patch-aa	Wed Aug 26 01:13:04 1998
+++ gettext/patches/patch-aa	Sat Nov 21 16:57:19 1998
@@ -1,18 +1,23 @@
---- config.h.in.orig	Thu Apr  2 16:41:28 1998
-+++ config.h.in	Thu Apr  2 16:41:36 1998
-@@ -6,15 +6,6 @@
- /* Default value for alignment of strings in .mo file.  */
- #define DEFAULT_ALIGNMENT 1
- 
--#ifndef __P
--# if __STDC__
--#  define __P(args) args
--# else
--#  define __P(args) ()
--# endif
--#endif
--
--
- /* Define if using alloca.c.  */
- #undef C_ALLOCA
- 
+diff -uNr ../gg/configure ./configure
+--- ../gg/configure	Fri May  1 14:48:25 1998
++++ ./configure	Mon Jul 20 12:49:23 1998
+@@ -4004,7 +4004,7 @@
+   ;;
+ esac
+ fi
+-EMACS="$ac_cv_path_EMACS"
++EMACS=no
+ if test -n "$EMACS"; then
+   echo "$ac_t""$EMACS" 1>&6
+ else
+diff -uNr ../gg/misc/locale.alias ./misc/locale.alias
+--- ../gg/misc/locale.alias	Sun Oct 20 00:40:54 1996
++++ ./misc/locale.alias	Mon Jul 20 12:49:42 1998
+@@ -40,6 +40,7 @@
+ icelandic       is_IS.ISO-8859-1
+ italian         it_CH.ISO-8859-1
+ japanese	ja_JP.EUC
++korean		ko_KR.EUC
+ norwegian       no_NO.ISO-8859-1
+ polish          pl_PL.ISO-8859-2
+ portuguese      pt_PT.ISO-8859-1
diff -uNr /usr/ports/devel/gettext/patches/patch-ab gettext/patches/patch-ab
--- /usr/ports/devel/gettext/patches/patch-ab	Wed Aug 26 01:13:04 1998
+++ gettext/patches/patch-ab	Thu Jan  1 09:00:00 1970
@@ -1,10 +0,0 @@
---- misc/Makefile.in.orig	Thu Apr  2 17:02:04 1998
-+++ misc/Makefile.in	Thu Apr  2 17:02:52 1998
-@@ -65,6 +65,7 @@
- 	    $(INSTALL_DATA) $$file $(lispdir)/$$file; \
- 	  done; \
- 	fi
-+	mkdir -p $(localedir)
- 	$(INSTALL_DATA) $(srcdir)/locale.alias $(localedir)/locale.alias
- 
- uninstall:
diff -uNr /usr/ports/devel/gettext/patches/patch-ac gettext/patches/patch-ac
--- /usr/ports/devel/gettext/patches/patch-ac	Mon Aug 31 22:54:50 1998
+++ gettext/patches/patch-ac	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- doc/Makefile.in.orig	Sat Nov 25 10:45:40 1995
-+++ doc/Makefile.in	Thu Aug 27 14:42:31 1998
-@@ -25,7 +25,7 @@
- 
- INSTALL = @INSTALL@
- INSTALL_DATA = @INSTALL_DATA@
--MAKEINFO = makeinfo
-+MAKEINFO = makeinfo --no-split
- TEXI2DVI = texi2dvi
- TOUCH = echo timestamp >
- 
diff -uNr /usr/ports/devel/gettext/patches/patch-ad gettext/patches/patch-ad
--- /usr/ports/devel/gettext/patches/patch-ad	Thu Jan  1 09:00:00 1970
+++ gettext/patches/patch-ad	Sat Nov 21 16:57:19 1998
@@ -0,0 +1,13 @@
+--- Makefile.in.orig	Fri May  1 15:47:40 1998
++++ misc/Makefile.in	Fri Aug  7 23:13:23 1998
+@@ -164,10 +164,8 @@
+ 	@list='$(lisp_LISP)'; for p in $$list; do \
+ 	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
+ 	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(lispdir)/$$p"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(lispdir)/$$p; \
+ 	  if test -f $${p}c; then \
+ 	    echo " $(INSTALL_DATA) $${p}c $(DESTDIR)$(lispdir)/$${p}c"; \
+-	    $(INSTALL_DATA) $${p}c $(DESTDIR)$(lispdir)/$${p}c; \
+ 	  else : ; fi; \
+ 	done
+ 
diff -uNr /usr/ports/devel/gettext/pkg/PLIST gettext/pkg/PLIST
--- /usr/ports/devel/gettext/pkg/PLIST	Thu Nov 19 04:00:59 1998
+++ gettext/pkg/PLIST	Tue Nov 24 14:55:31 1998
@@ -1,54 +1,104 @@
 bin/gettext
-bin/gettextize
 bin/msgcmp
 bin/msgfmt
 bin/msgmerge
 bin/msgunfmt
-bin/tupdate
 bin/xgettext
-include/libintl.h
+bin/msgcomm
+bin/gettextize
 @unexec install-info --delete %D/info/gettext.info %D/info/dir
 info/gettext.info
+info/gettext.info-1
+info/gettext.info-2
+info/gettext.info-3
+info/gettext.info-4
+info/gettext.info-5
 @exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
 @exec install-info %D/info/gettext.info %D/info/dir
+include/libintl.h
 lib/libintl.a
-share/gettext/aclocal.m4
-share/gettext/intl-ChangeLog
-share/gettext/intl-Makefile.in
-share/gettext/intl-VERSION
-share/gettext/intl-bindtextdom.c
-share/gettext/intl-cat-compat.c
-share/gettext/intl-dcgettext.c
-share/gettext/intl-dgettext.c
-share/gettext/intl-finddomain.c
-share/gettext/intl-gettext.c
-share/gettext/intl-gettext.h
-share/gettext/intl-gettextP.h
-share/gettext/intl-hash-string.h
-share/gettext/intl-intl-compat.c
-share/gettext/intl-libgettext.h
-share/gettext/intl-linux-msg.sed
-share/gettext/intl-loadmsgcat.c
-share/gettext/intl-localealias.c
-share/gettext/intl-po2tbl.sed.in
-share/gettext/intl-textdomain.c
-share/gettext/intl-xopen-msg.sed
-share/gettext/po-Makefile.in.in
-share/gettext/root-ABOUT-NLS
-share/locale/de/LC_MESSAGES/gettext.mo
-share/locale/fr/LC_MESSAGES/gettext.mo
-share/locale/locale.alias
 share/locale/no/LC_MESSAGES/gettext.mo
-share/locale/no@nynorsk/LC_MESSAGES/gettext.mo
-share/locale/sv/LC_MESSAGES/gettext.mo
-@dirrm share/gettext
+@dirrm share/locale/no/LC_MESSAGES
+@dirrm share/locale/no
+share/locale/da/LC_MESSAGES/gettext.mo
+@dirrm share/locale/da/LC_MESSAGES
+@dirrm share/locale/da
+share/locale/de/LC_MESSAGES/gettext.mo
 @dirrm share/locale/de/LC_MESSAGES
 @dirrm share/locale/de
+share/locale/es/LC_MESSAGES/gettext.mo
+@dirrm share/locale/es/LC_MESSAGES
+@dirrm share/locale/es
+share/locale/fr/LC_MESSAGES/gettext.mo
 @dirrm share/locale/fr/LC_MESSAGES
 @dirrm share/locale/fr
-@dirrm share/locale/no/LC_MESSAGES
-@dirrm share/locale/no
-@dirrm share/locale/no@nynorsk/LC_MESSAGES
-@dirrm share/locale/no@nynorsk
+share/locale/ko/LC_MESSAGES/gettext.mo
+@dirrm share/locale/ko/LC_MESSAGES
+@dirrm share/locale/ko
+share/locale/nl/LC_MESSAGES/gettext.mo
+@dirrm share/locale/nl/LC_MESSAGES
+@dirrm share/locale/nl
+share/locale/pl/LC_MESSAGES/gettext.mo
+@dirrm share/locale/pl/LC_MESSAGES
+@dirrm share/locale/pl
+share/locale/pt/LC_MESSAGES/gettext.mo
+@dirrm share/locale/pt/LC_MESSAGES
+@dirrm share/locale/pt
+share/locale/sl/LC_MESSAGES/gettext.mo
+@dirrm share/locale/sl/LC_MESSAGES
+@dirrm share/locale/sl
+share/locale/sv/LC_MESSAGES/gettext.mo
 @dirrm share/locale/sv/LC_MESSAGES
 @dirrm share/locale/sv
+share/locale/no@nynorsk/LC_MESSAGES/gettext.mo
+@dirrm share/locale/no@nynorsk/LC_MESSAGES
+@dirrm share/locale/no@nynorsk
+@exec mkdir -p %D/share/locale/ca/LC_MESSAGES
+@dirrm share/locale/ca/LC_MESSAGES
+@dirrm share/locale/ca
+@exec mkdir -p %D/share/locale/cs/LC_MESSAGES
+@dirrm share/locale/cs/LC_MESSAGES
+@dirrm share/locale/cs
+@exec mkdir -p %D/share/locale/it/LC_MESSAGES
+@dirrm share/locale/it/LC_MESSAGES
+@dirrm share/locale/it
+@exec mkdir -p %D/share/locale/ru/LC_MESSAGES
+@dirrm share/locale/ru/LC_MESSAGES
+@dirrm share/locale/ru
+@exec mkdir -p %D/share/locale/tr/LC_MESSAGES
+@dirrm share/locale/tr/LC_MESSAGES
+@dirrm share/locale/tr
+share/locale/locale.alias
+@dirrm share/locale
+share/gettext/intl/VERSION
+share/gettext/intl/ChangeLog
+share/gettext/intl/Makefile.in
+share/gettext/intl/linux-msg.sed
+share/gettext/intl/po2tbl.sed.in
+share/gettext/intl/xopen-msg.sed
+share/gettext/intl/gettext.h
+share/gettext/intl/gettextP.h
+share/gettext/intl/hash-string.h
+share/gettext/intl/libgettext.h
+share/gettext/intl/loadinfo.h
+share/gettext/intl/bindtextdom.c
+share/gettext/intl/dcgettext.c
+share/gettext/intl/dgettext.c
+share/gettext/intl/gettext.c
+share/gettext/intl/finddomain.c
+share/gettext/intl/loadmsgcat.c
+share/gettext/intl/localealias.c
+share/gettext/intl/textdomain.c
+share/gettext/intl/l10nflist.c
+share/gettext/intl/explodename.c
+share/gettext/intl/intl-compat.c
+share/gettext/intl/cat-compat.c
+share/gettext/po/Makefile.in.in
+share/gettext/ABOUT-NLS
+share/gettext/po-mode.el
+@dirrm share/gettext/intl
+@dirrm share/gettext/po
+@dirrm share/gettext
+share/aclocal/gettext.m4
+share/aclocal/lcmessage.m4
+share/aclocal/progtest.m4
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811241247.VAA00706>