ports/55830: Upgrade devel/gettext to the latest version 0.12.1

foxfair foxfair at drago.fomokka.net
Thu Aug 21 04:50:16 UTC 2003


>Number:         55830
>Category:       ports
>Synopsis:       Upgrade devel/gettext to the latest version 0.12.1
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 20 21:50:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     foxfair
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD 4.8-STABLE Tue Aug 19 09:11:12 CST 2003 
>Description:
Upgrade devel/gettext to the latest version, 0.12.1. The checksum in the patch
is verified with original gnu source.
>How-To-Repeat:
1) cd /usr/ports/devel/gettext && Apply the following patch.
2) make install


>Fix:

Remove all patches in files/ directory and apply this one:

---------------------------------------------------------------------
diff -ruN /usr/ports/devel/gettext/Makefile ./Makefile
--- /usr/ports/devel/gettext/Makefile	Fri Mar 21 01:08:02 2003
+++ ./Makefile	Thu Aug 21 11:07:52 2003
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	gettext
-PORTVERSION=	0.11.5
-PORTREVISION=	1
+PORTVERSION=	0.12.1
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	gettext
@@ -27,29 +26,18 @@
 		MAKEINFO="makeinfo --no-split" \
 		CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS=	--with-libexpat-prefix=${LOCALBASE}/lib
+CONFIGURE_ARGS=	--with-libexpat-prefix=${PREFIX}/lib \
+		--mandir=${PREFIX}/man
 INSTALLS_SHLIB=	yes
 
-PLIST_SUB=	LOCALBASE=${LOCALBASE} X11BASE=${X11BASE} \
-		VERSION=${PORTVERSION}
+PLIST_SUB=	LOCALBASE=${LOCALBASE} VERSION=${PORTVERSION}
 
 MAN1=		autopoint.1 gettext.1 gettextize.1 msgattrib.1 msgcat.1 \
-		msgcmp.1 msgcomm.1 msgconv.1 msgen.1 msgexec.1 \
-		msgfilter.1 msgfmt.1 msggrep.1 msginit.1 msgmerge.1 \
-		msgunfmt.1 msguniq.1 ngettext.1 xgettext.1
+		msgcmp.1 msgcomm.1 msgconv.1 msgen.1 msgexec.1 msgfilter.1 \
+		msgfmt.1 msggrep.1 msginit.1 msgmerge.1 msgunfmt.1 \
+		msguniq.1 ngettext.1 xgettext.1
 MAN3=		bind_textdomain_codeset.3 bindtextdomain.3 dcgettext.3 \
-		dcngettext.3 dgettext.3 dngettext.3 gettext.3 ngettext.3 \
-		textdomain.3
-
-pre-configure:
-	${RM} ${WRKSRC}/doc/gettext.info*
-
-post-install:
-	@install-info ${PREFIX}/info/gettext.info ${PREFIX}/info/dir
-	${MKDIR} ${PREFIX}/share/emacs/site-lisp
-.for file in po-compat.el po-mode.el
-	${INSTALL_DATA} ${WRKSRC}/misc/${file} ${PREFIX}/share/emacs/site-lisp
-.endfor
-	${MKDIR} ${X11BASE}/share/locale
+		dcngettext.3 dgettext.3 dngettext.3 gettext.3 \
+		ngettext.3 textdomain.3
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/devel/gettext/distinfo ./distinfo
--- /usr/ports/devel/gettext/distinfo	Sun Aug 11 03:25:04 2002
+++ ./distinfo	Thu Aug 21 09:39:54 2003
@@ -1 +1 @@
-MD5 (gettext-0.11.5.tar.gz) = b7c1fe238dc8087da035b071c3b425b4
+MD5 (gettext-0.12.1.tar.gz) = 5d4bddd300072315e668247e5b7d5bdb
diff -ruN /usr/ports/devel/gettext/pkg-descr ./pkg-descr
--- /usr/ports/devel/gettext/pkg-descr	Wed Aug 26 00:13:04 1998
+++ ./pkg-descr	Thu Aug 21 11:01:37 2003
@@ -1,5 +1,15 @@
-This is the GNU gettext package.  It is interesting for authors or
-maintainers of other packages or programs which they want to see
-internationalized.  As one step the handling of messages in different
-languages should be implemented.  For this task GNU gettext provides
-the needed tools and library functions.
+GNU `gettext' is an important step for the GNU Translation Project, as it is 
+an asset on which we may build many other steps. This package offers to 
+programmers, translators, and even users, a well integrated set of tools and 
+documentation. Specifically, the GNU `gettext' utilities are a set of tools 
+that provides a framework to help other GNU packages produce multi-lingual 
+messages. These tools include a set of conventions about how programs should 
+be written to support message catalogs, a directory and file naming
+organization for the message catalogs themselves, a runtime library supporting 
+the retrieval of translated messages, and a few stand-alone programs to 
+massage in various ways the sets of translatable strings, or already 
+translated strings. A special GNU Emacs mode also helps interested parties 
+in preparing these sets, or bringing them up to date. 
+
+WWW: http://www.gnu.org/software/gettext/
+
diff -ruN /usr/ports/devel/gettext/pkg-plist ./pkg-plist
--- /usr/ports/devel/gettext/pkg-plist	Sun Aug 11 03:25:04 2002
+++ ./pkg-plist	Thu Aug 21 12:28:20 2003
@@ -17,21 +17,44 @@
 bin/msguniq
 bin/ngettext
 bin/xgettext
+include/autosprintf.h
+include/gettext-po.h
 include/libintl.h
- at unexec install-info --delete %D/info/gettext.info %D/info/dir
+info/autosprintf.info
 info/gettext.info
- at exec install-info %D/info/gettext.info %D/info/dir
+info/gettext.info-1
+info/gettext.info-10
+info/gettext.info-2
+info/gettext.info-3
+info/gettext.info-4
+info/gettext.info-5
+info/gettext.info-6
+info/gettext.info-7
+info/gettext.info-8
+info/gettext.info-9
+lib/charset.alias
+lib/gettext/hostname
+lib/gettext/project-id
+lib/gettext/urlget
+lib/gettext/user-email
+lib/libasprintf.a
+lib/libasprintf.la
+lib/libasprintf.so
+lib/libasprintf.so.0
 lib/libgettextlib-%%VERSION%%.so
+lib/libgettextlib.la
 lib/libgettextlib.so
+lib/libgettextpo.a
+lib/libgettextpo.la
+lib/libgettextpo.so
+lib/libgettextpo.so.0
 lib/libgettextsrc-%%VERSION%%.so
+lib/libgettextsrc.la
 lib/libgettextsrc.so
 lib/libintl.a
+lib/libintl.la
 lib/libintl.so
-lib/libintl.so.4
-libdata/gettext/hostname
-libdata/gettext/project-id
-libdata/gettext/urlget
-libdata/gettext/user-email
+lib/libintl.so.5
 share/aclocal/codeset.m4
 share/aclocal/gettext.m4
 share/aclocal/glibc21.m4
@@ -45,6 +68,8 @@
 share/aclocal/lib-ld.m4
 share/aclocal/lib-link.m4
 share/aclocal/lib-prefix.m4
+share/aclocal/nls.m4
+share/aclocal/po.m4
 share/aclocal/progtest.m4
 share/aclocal/stdint_h.m4
 share/aclocal/uintmax_t.m4
@@ -79,6 +104,47 @@
 share/doc/gettext/gettext_foot.html
 share/doc/gettext/gettext_toc.html
 share/doc/gettext/gettextize.1.html
+share/doc/gettext/javadoc1/AllNames.html
+share/doc/gettext/javadoc1/gnu.gettext.GettextResource.html
+share/doc/gettext/javadoc1/images/blue-ball-small.gif
+share/doc/gettext/javadoc1/images/blue-ball.gif
+share/doc/gettext/javadoc1/images/class-index.gif
+share/doc/gettext/javadoc1/images/constructor-index.gif
+share/doc/gettext/javadoc1/images/constructors.gif
+share/doc/gettext/javadoc1/images/cyan-ball-small.gif
+share/doc/gettext/javadoc1/images/cyan-ball.gif
+share/doc/gettext/javadoc1/images/error-index.gif
+share/doc/gettext/javadoc1/images/exception-index.gif
+share/doc/gettext/javadoc1/images/green-ball-small.gif
+share/doc/gettext/javadoc1/images/green-ball.gif
+share/doc/gettext/javadoc1/images/interface-index.gif
+share/doc/gettext/javadoc1/images/magenta-ball-small.gif
+share/doc/gettext/javadoc1/images/magenta-ball.gif
+share/doc/gettext/javadoc1/images/method-index.gif
+share/doc/gettext/javadoc1/images/methods.gif
+share/doc/gettext/javadoc1/images/package-index.gif
+share/doc/gettext/javadoc1/images/red-ball-small.gif
+share/doc/gettext/javadoc1/images/red-ball.gif
+share/doc/gettext/javadoc1/images/variable-index.gif
+share/doc/gettext/javadoc1/images/variables.gif
+share/doc/gettext/javadoc1/images/yellow-ball-small.gif
+share/doc/gettext/javadoc1/images/yellow-ball.gif
+share/doc/gettext/javadoc1/packages.html
+share/doc/gettext/javadoc1/tree.html
+share/doc/gettext/javadoc2/allclasses-frame.html
+share/doc/gettext/javadoc2/deprecated-list.html
+share/doc/gettext/javadoc2/gnu/gettext/GettextResource.html
+share/doc/gettext/javadoc2/gnu/gettext/package-frame.html
+share/doc/gettext/javadoc2/gnu/gettext/package-summary.html
+share/doc/gettext/javadoc2/gnu/gettext/package-tree.html
+share/doc/gettext/javadoc2/help-doc.html
+share/doc/gettext/javadoc2/index-all.html
+share/doc/gettext/javadoc2/index.html
+share/doc/gettext/javadoc2/overview-tree.html
+share/doc/gettext/javadoc2/package-list
+share/doc/gettext/javadoc2/packages.html
+share/doc/gettext/javadoc2/serialized-form.html
+share/doc/gettext/javadoc2/stylesheet.css
 share/doc/gettext/msgattrib.1.html
 share/doc/gettext/msgcat.1.html
 share/doc/gettext/msgcmp.1.html
@@ -97,8 +163,7 @@
 share/doc/gettext/ngettext.3.html
 share/doc/gettext/textdomain.3.html
 share/doc/gettext/xgettext.1.html
-share/emacs/site-lisp/po-compat.el
-share/emacs/site-lisp/po-mode.el
+share/doc/libasprintf/autosprintf.html
 share/gettext/ABOUT-NLS
 share/gettext/archive.tar.gz
 share/gettext/config.rpath
@@ -124,13 +189,15 @@
 share/gettext/intl/hash-string.h
 share/gettext/intl/intl-compat.c
 share/gettext/intl/l10nflist.c
-share/gettext/intl/libgnuintl.h
+share/gettext/intl/libgnuintl.h.in
 share/gettext/intl/loadinfo.h
 share/gettext/intl/loadmsgcat.c
 share/gettext/intl/localcharset.c
+share/gettext/intl/localcharset.h
 share/gettext/intl/locale.alias
 share/gettext/intl/localealias.c
 share/gettext/intl/localename.c
+share/gettext/intl/log.c
 share/gettext/intl/ngettext.c
 share/gettext/intl/os2compat.c
 share/gettext/intl/os2compat.h
@@ -141,11 +208,13 @@
 share/gettext/intl/plural.y
 share/gettext/intl/ref-add.sin
 share/gettext/intl/ref-del.sin
+share/gettext/intl/relocatable.c
+share/gettext/intl/relocatable.h
 share/gettext/intl/textdomain.c
 share/gettext/mkinstalldirs
 share/gettext/msgunfmt.tcl
 share/gettext/po/Makefile.in.in
-share/gettext/po/Makevars
+share/gettext/po/Makevars.template
 share/gettext/po/Rules-quot
 share/gettext/po/boldquot.sed
 share/gettext/po/en at boldquot.header
@@ -167,53 +236,80 @@
 share/gettext/projects/TP/trigger
 share/gettext/projects/index
 share/gettext/projects/team-address
-share/locale/be/LC_MESSAGES/gettext.mo
-share/locale/ca/LC_MESSAGES/gettext.mo
-share/locale/cs/LC_MESSAGES/gettext.mo
-share/locale/da/LC_MESSAGES/gettext.mo
-share/locale/de/LC_MESSAGES/gettext.mo
-share/locale/el/LC_MESSAGES/gettext.mo
-share/locale/en at boldquot/LC_MESSAGES/gettext.mo
-share/locale/en at quot/LC_MESSAGES/gettext.mo
-share/locale/es/LC_MESSAGES/gettext.mo
-share/locale/et/LC_MESSAGES/gettext.mo
-share/locale/fi/LC_MESSAGES/gettext.mo
-share/locale/fr/LC_MESSAGES/gettext.mo
-share/locale/gl/LC_MESSAGES/gettext.mo
-share/locale/id/LC_MESSAGES/gettext.mo
-share/locale/it/LC_MESSAGES/gettext.mo
-share/locale/ja/LC_MESSAGES/gettext.mo
-share/locale/ko/LC_MESSAGES/gettext.mo
+share/locale/be/LC_MESSAGES/gettext-runtime.mo
+share/locale/be/LC_MESSAGES/gettext-tools.mo
+share/locale/ca/LC_MESSAGES/gettext-runtime.mo
+share/locale/ca/LC_MESSAGES/gettext-tools.mo
+share/locale/cs/LC_MESSAGES/gettext-runtime.mo
+share/locale/cs/LC_MESSAGES/gettext-tools.mo
+share/locale/da/LC_MESSAGES/gettext-runtime.mo
+share/locale/da/LC_MESSAGES/gettext-tools.mo
+share/locale/de/LC_MESSAGES/gettext-runtime.mo
+share/locale/de/LC_MESSAGES/gettext-tools.mo
+share/locale/el/LC_MESSAGES/gettext-runtime.mo
+share/locale/el/LC_MESSAGES/gettext-tools.mo
+share/locale/en at boldquot/LC_MESSAGES/gettext-runtime.mo
+share/locale/en at boldquot/LC_MESSAGES/gettext-tools.mo
+share/locale/en at quot/LC_MESSAGES/gettext-runtime.mo
+share/locale/en at quot/LC_MESSAGES/gettext-tools.mo
+share/locale/es/LC_MESSAGES/gettext-runtime.mo
+share/locale/es/LC_MESSAGES/gettext-tools.mo
+share/locale/et/LC_MESSAGES/gettext-runtime.mo
+share/locale/et/LC_MESSAGES/gettext-tools.mo
+share/locale/fi/LC_MESSAGES/gettext-runtime.mo
+share/locale/fi/LC_MESSAGES/gettext-tools.mo
+share/locale/fr/LC_MESSAGES/gettext-runtime.mo
+share/locale/fr/LC_MESSAGES/gettext-tools.mo
+share/locale/gl/LC_MESSAGES/gettext-runtime.mo
+share/locale/gl/LC_MESSAGES/gettext-tools.mo
+share/locale/id/LC_MESSAGES/gettext-runtime.mo
+share/locale/id/LC_MESSAGES/gettext-tools.mo
+share/locale/it/LC_MESSAGES/gettext-runtime.mo
+share/locale/it/LC_MESSAGES/gettext-tools.mo
+share/locale/ja/LC_MESSAGES/gettext-runtime.mo
+share/locale/ja/LC_MESSAGES/gettext-tools.mo
+share/locale/ko/LC_MESSAGES/gettext-runtime.mo
+share/locale/ko/LC_MESSAGES/gettext-tools.mo
 share/locale/locale.alias
-share/locale/nl/LC_MESSAGES/gettext.mo
-share/locale/nn/LC_MESSAGES/gettext.mo
-share/locale/no/LC_MESSAGES/gettext.mo
-share/locale/pl/LC_MESSAGES/gettext.mo
-share/locale/pt/LC_MESSAGES/gettext.mo
-share/locale/pt_BR/LC_MESSAGES/gettext.mo
-share/locale/ru/LC_MESSAGES/gettext.mo
-share/locale/sk/LC_MESSAGES/gettext.mo
-share/locale/sl/LC_MESSAGES/gettext.mo
-share/locale/sv/LC_MESSAGES/gettext.mo
-share/locale/tr/LC_MESSAGES/gettext.mo
-share/locale/zh_TW/LC_MESSAGES/gettext.mo
- at dirrm share/gettext/projects/TP
- at dirrm share/gettext/projects/KDE
+share/locale/nl/LC_MESSAGES/gettext-runtime.mo
+share/locale/nl/LC_MESSAGES/gettext-tools.mo
+share/locale/nn/LC_MESSAGES/gettext-runtime.mo
+share/locale/nn/LC_MESSAGES/gettext-tools.mo
+share/locale/no/LC_MESSAGES/gettext-runtime.mo
+share/locale/no/LC_MESSAGES/gettext-tools.mo
+share/locale/pl/LC_MESSAGES/gettext-runtime.mo
+share/locale/pl/LC_MESSAGES/gettext-tools.mo
+share/locale/pt/LC_MESSAGES/gettext-runtime.mo
+share/locale/pt/LC_MESSAGES/gettext-tools.mo
+share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo
+share/locale/pt_BR/LC_MESSAGES/gettext-tools.mo
+share/locale/ru/LC_MESSAGES/gettext-runtime.mo
+share/locale/ru/LC_MESSAGES/gettext-tools.mo
+share/locale/sk/LC_MESSAGES/gettext-runtime.mo
+share/locale/sk/LC_MESSAGES/gettext-tools.mo
+share/locale/sl/LC_MESSAGES/gettext-runtime.mo
+share/locale/sl/LC_MESSAGES/gettext-tools.mo
+share/locale/sv/LC_MESSAGES/gettext-runtime.mo
+share/locale/sv/LC_MESSAGES/gettext-tools.mo
+share/locale/tr/LC_MESSAGES/gettext-runtime.mo
+share/locale/tr/LC_MESSAGES/gettext-tools.mo
+share/locale/zh_TW/LC_MESSAGES/gettext-runtime.mo
+share/locale/zh_TW/LC_MESSAGES/gettext-tools.mo
+share/nls/POSIX
+share/nls/en_US.US-ASCII
+ at dirrm share/gettext/intl
+ at dirrm share/gettext/po
 @dirrm share/gettext/projects/GNOME
+ at dirrm share/gettext/projects/KDE
+ at dirrm share/gettext/projects/TP
 @dirrm share/gettext/projects
- at dirrm share/gettext/po
- at dirrm share/gettext/intl
- at dirrm share/gettext
+ at dirrm share/doc/gettext/javadoc1/images
+ at dirrm share/doc/gettext/javadoc1
+ at dirrm share/doc/gettext/javadoc2/gnu/gettext
+ at dirrm share/doc/gettext/javadoc2/gnu
+ at dirrm share/doc/gettext/javadoc2
 @dirrm share/doc/gettext
- at dirrm libdata/gettext
- at unexec rmdir %D/share/locale/*/LC_MESSAGES 2>/dev/null || true
- at unexec rmdir %D/share/locale/* 2>/dev/null || true
- at unexec rmdir %D/share/locale 2>/dev/null || true
- at exec mkdir -p %%LOCALBASE%%/share/locale
- at unexec rmdir %%LOCALBASE%%/share/locale/*/LC_MESSAGES 2>/dev/null || true
- at unexec rmdir %%LOCALBASE%%/share/locale/* 2>/dev/null || true
- at unexec rmdir %%LOCALBASE%%/share/locale 2>/dev/null || true
- at exec mkdir -p %%X11BASE%%/share/locale
- at unexec rmdir %%X11BASE%%/share/locale/*/LC_MESSAGES 2>/dev/null || true
- at unexec rmdir %%X11BASE%%/share/locale/* 2>/dev/null || true
- at unexec rmdir %%X11BASE%%/share/locale 2>/dev/null || true
+ at dirrm share/doc/libasprintf
+ at dirrm lib/gettext
+ at unexec rmdir %D/share/aclocal 2>/dev/null || true
+ at unexec rmdir %D/hare/nls/C 2>/dev/null || true
---------------------------------------------------------------------
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list