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: antoined7a065627c
Port details
devel/gettext-tools 1.0
GNU gettext development and translation tools
Port info
- Maintainer
- tijl@FreeBSD.org
- Packages
- latest: 1.0
- Upstream
- up to date
- Last update
- to 1.0 · d7a065627c
- Quarterly
- 2026Q4: 1.0
- WWW
- https://www.gnu.org/software/gettext/
- Links
- cgit · VuXML
Install
- Package
# pkg install gettext-toolsinstalls 1.0 fromlatest; fromquarterly(2026Q4) 1.0- Port
# cd /usr/ports/devel/gettext-tools && make install clean# make -C /usr/ports/devel/gettext-tools config # change options first
- Size
- 3.7 MiB download · 28 MiB installed
- Depends on
- devel/gettext-runtime 1.0_1, devel/libtextstyle 1.0, devel/libunistring 1.4.2, lang/python312 3.12.15, print/indexinfo 0.3.1_1, textproc/libxml2 2.15.4
- License
- GPLv3+
- Options
- 3 of 3 on in the package: DOCS EXAMPLES THREADS
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 1.0 | 1.0 | – |
| FreeBSD 15 | 1.0 | 1.0 | – |
| FreeBSD 14 | 1.0 | 1.0 | 1.0 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 1.0 | 1.0 | – |
| FreeBSD 14 | 1.0 | 1.0 | 1.0 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 1.0.Fixed (0)
No VuXML entries for this package.
Problem reports (1) · open in Bugzilla, most recently changed first
| PR | Summary | Status | Changed |
|---|---|---|---|
| 267193 | needs-qa maintainer-feedback? devel/gettext-tools: msgmerge -q /dev/null /dev/null hangs uninterruptedly on amd64 in kvm | Open | 2023-06-12 |
Commits (33)
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: emulators/mednafen, misc/lifelines: Use older version of gettext macros. ftp/axel: Patch Makefile.am and configure.ac to get gettext working and add NLS option. ftp/wzdftpd: Use autoreconf 2.72. mail/sympa: Remove hack from configure.ac. multimedia/dvdauthor: Use ports autoreconf. net/asterisk-chan_sccp: Drop autoreconf and gettext-tools dependencies. security/pam_pkcs11: Patch configure.ac so autoreconf can find the custom directory with m4 files. sysutils/grub2-efi, sysutils/grub2-pcbsd: Add patch to run autoreconf with -f flag so it updates all files. www/wget2: Patch configure.ac to what autopoint expects. PR: 287167 Exp-run by: antoine974099d0bd
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 them0dd72a2528
devel/libtextstyle, devel/gettext*: Update to 0.23.173490aaa1d
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: antoine5d17e8f667
devel/gettext: Update to 0.22.5 PR: 277725 Exp-run by: antoine9a1d46378e
devel/gettext-tools: Impelled to share/man Approved by: portmgr (blanket)11431fb537
devel/gettext: Update to 0.22.3 PR: 274309 Exp-run by: antoine1209a850bc
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: antoine2c2ec62c72
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: 2686631414c99d7c
devel/gettext: Update to 0.21.1 PR: 267905 Exp-run by: antoinefb6a9af3e8
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)fb16dfecae
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. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
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: antoineebce5896d4
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)8fbdcf3137One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
Update to 0.21. PR: 248346 Exp-run by: antoine846b6b2e0f
Update to 0.20.2. PR: 245724 Approved by: portmgr (antoine) Exp-run by: antoine1b4858f960
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>2dd8198e2b
Require a matching version of libtextstyle. Gettext fails to build with older versions. Reported by: Paul Beard <paulbeard@gmail.com>f8b6e22fa0
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 translation. - Patch configure.in to fix detection of OpenSSL 1.1. - In port Makefile: add EXAMPLES and NLS options, add ports OpenSSL support, set default path for root certificates. games/lgeneral: - Patch Makefile.in instead of Makefile.am so USES=autoreconf isn't needed. www/sarg: - Patch configure.ac 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 Makefile: remove obsolete post-patch, patching configure also has no effect with USES=autoreconf. PR: 238277 Exp-run by: antoine Approved by: portmgr (antoine)2c9ab8d7ad
Bump ports that should have been bumped along with r484628 Reported by: kibe9de24bb79
Update to 0.19.8.1. PR: 210232 Exp-run by: antoine Approved by: portmgr (antoine)4032d1fc1f
- Fix trailing whitespace in pkg-descrs, categories [a-f]* Approved by: portmgr blanket1d1f878054
Update to 0.19.7 PR: 207245 Exp-run by: antoine Approved by: portmgr (antoine)dc9321df42
Remove trailing whitespace from Makefiles, A-L.42bc424f61
- Update to 0.19.6 - Set TEST_TARGET PR: 203549 Exp-run by: antoine Approved by: portmgr (antoine)ae71a857a1
- Update devel/gettext to 0.19.5.1 - Add THREADS option to devel/gettext-tools PR: 202125 Exp-run by: antoine Approved by: portmgr (antoine)34bda4dbd5
Fix a typo in CPE6ee9d4ebaa
devel/gettext-tools: add CPE information - Maintainer's timeout (autotools@FreeBSD.org) PR: 198633 Submitted by: Shun <shun.fbsd.pr@dropcut.net>179e8f2ab6
- 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 appear PR: 196938 Exp-run by: antoine Approved by: portmgr (antoine)86c6fc4c0d
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)edb7229dd4