GNU gettext is a framework of libraries and tools for internationalisation
and localisation of software.
This package contains development and translation tools.
===> The following configuration options are available for gettext-tools-1.0:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
THREADS=on: Threading support
===> Use 'make config' to modify these settings
devel/libtextstyle, devel/gettext*: Update to 1.0
devel/gettext-tools: Use external libunistring and libxml2.
lang/python*: Remove dependency on gettext-tools. It isn't used and
it is gettext-tools that depends on python now.
PR: 293963
Exp-run by: antoine
devel/libtextstyle, devel/gettext*: Update to 0.26
Recent versions of gettext no longer install m4 files in
PREFIX/share/aclocal. They have to be installed in the work
directory by autopoint for aclocal to find them.
Patch devel/autoconf so autoreconf runs autopoint when gettext related
macros are used in configure.ac (e.g. AM_ICONV). Previously it only
ran autopoint when AM_GNU_GETTEXT_(REQUIRE_)VERSION was used.
The following ports now require autopoint (i.e. USES=gettext-tools):
benchmarks/sysbench, devel/libhtp, editors/fxite, filesystems/rar2fs,
graphics/gd, net/ucarp, news/fidogate, sysutils/cdrdao
Other fixes:
(Only the first 15 lines of the commit message are shown above )
regression: bump packages known to trigger the pkg 2.1.1 regression
A regression was introduced in pkg 2.1.1 which results in at least those
packages ending up depending on themselves.
Bump to force rebuild them
devel/libtextstyle, devel/gettext*: Update to 0.23
comms/grig, deskutils/xpad, games/7kaa:
Fix problem between autopoint (gettext) and aclocal (automake).
First autopoint installs gettext m4 files in WRKSRC/m4 for the
version of gettext requested in configure.ac. And then aclocal
should use those files. These ports were either missing an "-I m4"
flag so aclocal didn't see the autopoint m4 files but used the ones
from LOCALBASE/share/aclocal, which are the wrong version, or they
used the --install flag that makes aclocal copy files from
LOCALBASE/share/aclocal overwriting the autopoint m4 files.
PR: 283536
Exp-run by: antoine
devel/gettext: Update to 0.22
Convert post-patch commands to real patches. This way there are errors
when the underlying code changes.
*/*: Fix gettext issues. The new gettext tools are more strict.
PR: 272210
Exp-run by: antoine
devel/gettext-tools: Compress archive.dir.tar with xz
The configure script falls back to other compression formats
(bzip2, git, gzip, ...) when it fails to detect xz. This causes pkg
to complain about a pkg-plist error. Force the configure script to
use xz so it prints a clearer error message when xz fails.
PR: 268663
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel/gettext-tools: don't disable openmp
OpenMP is gettext was disabled 15 years ago in
bfe8a9ab273f573d122fd3ae04fdd85d73d0b6e2
Building with OpenMP left for autodetection works on both powerpc (which
doesn't have libomp) and on powerpc64 (which does have libomp), so it's ok to
remove disabling it.
PR: 263634
Approved by: antoine
devel/gettext-tools: Fix build with non-default prefix
Building this port with a non-default prefix gives the following:
msgmerge.c:35:10: fatal error: 'textstyle.h' file not found
#include <textstyle.h>
^~~~~~~~~~~~~
1 error generated.
*** [msgmerge-msgmerge.o] Error code 1
That is, textstyle.h is present in the appropriate location under
our prefix, alas it's not found.
USES=localbase addresses this.
PR: 258286
Approved by: tijl (maintainer)
Add patch with upstream git commit 2336451ed68d91ff4b5ae1acbc1eca30e47a86a9:
msgmerge: Fix behaviour of --for-msgfmt on PO files with no translations.
This fixes building libgtop and gcr from git.
PR: 239328
Submitted by: Ting-Wei Lan <lantw44@gmail.com>
devel/gettext*:
- Update to 0.20.1.
- Add options to install documentation and examples.
devel/libtextstyle:
- Take maintainership because it is now released as part of gettext.
ftp/weex:
- Remove bundled gettext (intl/): no longer supported.
- Patch configure.in, Makefile.am and src/Makefile.am to remove references
to bundled gettext.
- Patch configure.in to add AC_CONFIG_MACRO_DIR([m4]) so aclocal.m4 will
include gettext .m4 files from m4/ (matching the version set with
AM_GNU_GETTEXT_VERSION) instead of /usr/local/share/aclocal.
- Port to modern gettext: add po/Makevars and fix a problem in the French
(Only the first 15 lines of the commit message are shown above )
- Update devel/automake to 1.15
- Update devel/gettext to 0.19.4
- Update devel/libtool and devel/libltdl to 2.4.5
- This version of libtool has been fixed to pass -fstack-protector to the
compiler during linking. Add the same fix to USES=libtool. This should
improve SSP support on FreeBSD/i386 8 and 9.
- databases/libmemcached, security/sssd: patch configure.ac so
AC_CONFIG_AUX_DIR appears earlier.
For databases/libmemcached changing configure.ac causes manpages to be
regenerated which requires extra dependencies so patch a makefile to
prevent that.
- devel/xfce4-dev-tools: only depend on recent versions of autoconf and
automake
PR: 196938
Exp-run by: antoine
Approved by: portmgr (antoine)
Split devel/gettext in devel/gettext-runtime and devel/gettext-tools. The
first contains runtime libraries such as libintl and the latter contains
developer tools such as msgfmt. Ports that use gettext will usually need
a LIB_DEPENDS on gettext-runtime and a BUILD_DEPENDS on gettext-tools.
USES=gettext-runtime can be used to set a LIB/BUILD/RUN_DEPENDS on
devel/gettext-runtime and USES=gettext-tools can be used to set a
BUILD/RUN_DEPENDS on devel/gettext-tools. USES=gettext is now the same
as "USES=gettext-runtime gettext-tools" meaning a LIB_DEPENDS on
devel/gettext-runtime and a BUILD_DEPENDS on devel/gettext-tools.
Update gettext to 0.19.3.
Remove :oldver from converters/libiconv and devel/gettext-runtime. Leave
symlinks with the old library versions to avoid the need to bump
PORTREVISION on a large number of dependent ports. When most of the
dependent ports have had normal version updates, PORTREVISION can be
bumped on the remaining ones (low number) and the links can be removed.
Fix some ports that installed files in lib/locale instead of share/locale.
PR: 194038
Reviewed by: bapt
Exp-run: antoine
Approved by: portmgr (antoine)