Package Details: mingw-w64-gettext

Git Clone URL: (read-only)
Package Base: mingw-w64-gettext
Description: GNU internationalization library (mingw-w64)
Upstream URL:
Licenses: GPL
Submitter: brcha
Maintainer: xantares (Martchus)
Last Packager: xantares
Votes: 21
Popularity: 0.819005
First Submitted: 2012-06-13 18:20
Last Updated: 2017-02-02 17:43

Sources (8)

Latest Comments

drakkan commented on 2017-02-01 23:04

gettext crash for me, here is the backtrace

#0 set_orig_prefix (orig_prefix_arg=orig_prefix_arg@entry=0x197342d36a0 "/usr/x86_64-w64-mingw32")
at ../../../gettext-tools/../gettext-runtime/intl/relocatex.c:106
#1 0x0000000061cc6f74 in relocatenx (ModuleName=ModuleName@entry=0x0,
installdir=installdir@entry=0x197342d36a0 "/usr/x86_64-w64-mingw32",
path=path@entry=0x614ed1a8 "/usr/x86_64-w64-mingw32/share/locale")
at ../../../gettext-tools/../gettext-runtime/intl/relocatex.c:252
#2 0x0000000061cc6fda in relocatex (installdir=installdir@entry=0x197342d36a0 "/usr/x86_64-w64-mingw32",
path=path@entry=0x614ed1a8 "/usr/x86_64-w64-mingw32/share/locale")
at ../../../gettext-tools/../gettext-runtime/intl/relocatex.c:269
#3 0x0000000061cc18c5 in libintl_bindtextdomain (domainname=0x614ed1cd "gstreamer-1.0", dirname=<optimized out>)
at ../../../gettext-tools/../gettext-runtime/intl/bindtextdom.c:334
#4 0x0000000061441e47 in ?? () from D:\Condivisione\QmlViewer\deploy\libgstreamer-1.0-0.dll
#5 0x00000000685fcff8 in ?? () from D:\Condivisione\QmlViewer\deploy\libglib-2.0-0.dll
#6 0x00000000614426e8 in ?? () from D:\Condivisione\QmlViewer\deploy\libgstreamer-1.0-0.dll
#7 0x0000000061442727 in ?? () from D:\Condivisione\QmlViewer\deploy\libgstreamer-1.0-0.dll
#8 0x00007ff74e8a311c in ?? ()

the crash seems caused by 00-relocatex-libintl-, I removed this, probably old, patch and no crash anymore,

patch here:

please apply, thanks!

xantares commented on 2016-08-14 07:33

Ok, added you as co-maintainer.

Martchus commented on 2016-08-13 14:18

I've just kept the exe files because they might be useful for me and they are not very big. I didn't want to propose that change for the package here as the general rule is to remove them.

Of course upstream doesn't provide the pkgconfig file, but it is useful to fix broken pkgconfig files in libs requiring the library such as harfbuzz and glib2. Otherwise eg. `x86_64-w64-mingw32-pkg-config --static --libs harfbuzz` will miss -liconv.
This is a known bug:

xantares commented on 2016-08-13 12:59

I keep on removing the .exes though.
I did not keep your the pkgconfig file as upstream do not provide it.

Martchus commented on 2016-08-12 19:58

Here is an updated PKGBUILD:

Had to fix a few things to make it work (see commit message).

This version also includes a pkgconfig file for intl which could help fixing issues with static Qt 5.

xantares commented on 2016-05-21 09:59

seems the same as the regular package
gpg --recv D605848ED7E69871

cleanrock commented on 2016-05-21 09:19

Is validpgpkeys correct ?
==> Verifying source file signatures with gpg...
gettext-0.19.7.tar.gz ... FAILED (unknown public key D605848ED7E69871)
==> ERROR: One or more PGP signatures could not be verified!
:: failed to verify mingw-w64-gettext integrity

xantares commented on 2015-10-14 09:29

Hi @osfans
Try reinstalling mingw-w64-configure, maybe I should have bumped it.

osfans commented on 2015-10-14 07:43

Same build break with @Auguste.

Build success when removing the path ".."

${_arch}-configure \
--disable-java \
--disable-native-java \
--disable-csharp \
--enable-threads=win32 \
--without-emacs ..

Auguste commented on 2015-10-08 09:40

$ makepkg
==> Making package: mingw-w64-gettext 0.19.6-1 (Thu Oct 8 17:33:26 CST 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found gettext-0.19.6.tar.gz
-> Found gettext-0.19.6.tar.gz.sig
-> Found 00-relocatex-libintl-
-> Found 05-always-use-libintl-vsnprintf.mingw.patch
-> Found 06-dont-include-ctype-after-gnulibs-wctype.mingw.patch
-> Found 07-fix-asprintf-conflict.mingw.patch
-> Found 08-vs-compatible.patch
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with md5sums...
gettext-0.19.6.tar.gz ... Passed
gettext-0.19.6.tar.gz.sig ... Skipped
00-relocatex-libintl- ... Passed
05-always-use-libintl-vsnprintf.mingw.patch ... Passed
06-dont-include-ctype-after-gnulibs-wctype.mingw.patch ... Passed
07-fix-asprintf-conflict.mingw.patch ... Passed
08-vs-compatible.patch ... Passed
==> Extracting sources...
-> Extracting gettext-0.19.6.tar.gz with bsdtar
==> Starting prepare()...
patching file gettext-runtime/intl/bindtextdom.c
Hunk #1 succeeded at 21 (offset -1 lines).
Hunk #2 succeeded at 66 (offset -1 lines).
Hunk #3 succeeded at 324 (offset -1 lines).
patching file gettext-runtime/intl/canonicalize.c
patching file gettext-runtime/intl/
Hunk #1 succeeded at 127 (offset 5 lines).
Hunk #2 succeeded at 158 (offset 5 lines).
Hunk #3 succeeded at 193 (offset 5 lines).
Hunk #4 succeeded at 304 (offset 12 lines).
patching file gettext-runtime/intl/relocatex.c
patching file gettext-runtime/intl/relocatex.h
patching file MINGW-PATCHES/README-relocatex-libintl.txt
patching file gettext-runtime/intl/printf.c
Hunk #1 succeeded at 208 (offset -1 lines).
patching file gettext-tools/gnulib-lib/libxml/parser.c
patching file gettext-tools/gnulib-lib/libxml/threads.c
patching file gettext-runtime/libasprintf/vasnprintf.h
patching file gettext-runtime/libasprintf/vasprintf.h
patching file gettext-runtime/libasprintf/vasnprintf.c
patching file gettext-runtime/intl/
Hunk #1 succeeded at 337 (offset 1 line).
==> Starting build()...
/tmp/mingw-w64-gettext/src/gettext-0.19.6/build-i686-w64-mingw32 /tmp/mingw-w64-gettext/src/gettext-0.19.6
configure: WARNING: you should use --build, --host, --target
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i686-w64-mingw32-strip... i686-w64-mingw32-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... Invalid configuration `..': machine `..' not recognized
configure: error: /bin/sh ../build-aux/config.sub .. failed
==> ERROR: A failure occurred in build().

All comments