diff options
author | obache <obache@pkgsrc.org> | 2013-10-23 12:15:20 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-10-23 12:15:20 +0000 |
commit | 5988110b71ba080285a8ef4b170b59cc97b70566 (patch) | |
tree | ebdaaed5fabe89cb8dd998083da5a1978acf34f6 /inputmethod | |
parent | a587e1b37459b7a66b397296b30b56c93b3e7b29 (diff) | |
download | pkgsrc-5988110b71ba080285a8ef4b170b59cc97b70566.tar.gz |
set PKGLOCALEDIR as default locale dir.
Bump PKGREVISION.
Diffstat (limited to 'inputmethod')
-rw-r--r-- | inputmethod/ibus-handwrite/Makefile | 9 | ||||
-rw-r--r-- | inputmethod/ibus-handwrite/distinfo | 3 | ||||
-rw-r--r-- | inputmethod/ibus-handwrite/patches/patch-src_main.c | 15 |
3 files changed, 24 insertions, 3 deletions
diff --git a/inputmethod/ibus-handwrite/Makefile b/inputmethod/ibus-handwrite/Makefile index 61d29064abe..27bb14b5af8 100644 --- a/inputmethod/ibus-handwrite/Makefile +++ b/inputmethod/ibus-handwrite/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.28 2013/10/10 14:42:17 ryoon Exp $ +# $NetBSD: Makefile,v 1.29 2013/10/23 12:15:20 obache Exp $ # DISTNAME= ibus-handwrite-2.1.4 -PKGREVISION= 17 +PKGREVISION= 18 CATEGORIES= inputmethod MASTER_SITES= http://ibus-handwrite.googlecode.com/files/ EXTRACT_SUFX= .tar.bz2 @@ -24,6 +24,11 @@ USE_TOOLS+= gmake pkg-config CONFIGURE_ARGS+= --enable-zinnia CONFIGURE_ARGS+= --with-zinnia-tomoe=${ZINNIA_TOMOE_DIR}/lib/zinnia/model/tomoe +SUBST_CLASSES+= locale_dir +SUBST_STAGE.locale_dir= pre-configure +SUBST_FILES.locale_dir= src/main.c +SUBST_VARS.locale_dir= _PKGLOCALEDIR + .include "../../devel/gettext-lib/buildlink3.mk" .include "../../graphics/gtkglext/buildlink3.mk" .include "../../inputmethod/ibus/buildlink3.mk" diff --git a/inputmethod/ibus-handwrite/distinfo b/inputmethod/ibus-handwrite/distinfo index ce0fe0e69e2..563508f8ba4 100644 --- a/inputmethod/ibus-handwrite/distinfo +++ b/inputmethod/ibus-handwrite/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2012/11/19 23:16:40 joerg Exp $ +$NetBSD: distinfo,v 1.8 2013/10/23 12:15:20 obache Exp $ SHA1 (ibus-handwrite-2.1.4.tar.bz2) = 2798728c628dfa60a7c1c45c8a59882962c91b1e RMD160 (ibus-handwrite-2.1.4.tar.bz2) = 35e7288d5efcd98a01138d075b0455874730a4ea @@ -6,3 +6,4 @@ Size (ibus-handwrite-2.1.4.tar.bz2) = 237980 bytes SHA1 (patch-configure) = 66d3e86c3ac5de1bbd466bfca1fc1d709b2d1da6 SHA1 (patch-configure.ac) = 0730abb2210c60b2feb1e9a3055568f4fbb11e2a SHA1 (patch-src_UI__gtk.c) = 1225bb4effdf4bf7e0de57ebfc9edc65134f9a61 +SHA1 (patch-src_main.c) = b8adc7218d9de5f6cabe8c4a0de73b8ae69b792d diff --git a/inputmethod/ibus-handwrite/patches/patch-src_main.c b/inputmethod/ibus-handwrite/patches/patch-src_main.c new file mode 100644 index 00000000000..04d7100528e --- /dev/null +++ b/inputmethod/ibus-handwrite/patches/patch-src_main.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_main.c,v 1.1 2013/10/23 12:15:21 obache Exp $ + +* Set PKGLOCALEDIR as default locale dir. + +--- src/main.c.orig 2011-01-25 23:55:35.000000000 +0000 ++++ src/main.c +@@ -36,7 +36,7 @@ int main(int argc, char* argv[]) + + const gchar * icon_dir = NULL; + +- const gchar * locale_dir = NULL; ++ const gchar * locale_dir = "@_PKGLOCALEDIR@"; + + + setlocale(LC_ALL, ""); |