From b8aef244588967e9fcd2b4f0a8579458050787e0 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 16 Oct 2016 15:55:58 -0400 Subject: [PATCH] glib: Add libandroid-support explicit dependency To function well with character encodings glib needs to discover langinfo.h from libandroid-support. Test case: LC_ALL=C pkg-config --atleast-pkgconfig-version=0.1 should work and not give an error message: Conversion from character set 'C' to 'UTF-8' is not supported --- packages/glib/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/glib/build.sh b/packages/glib/build.sh index b4e449f5d..f018d1ea9 100755 --- a/packages/glib/build.sh +++ b/packages/glib/build.sh @@ -2,8 +2,10 @@ TERMUX_PKG_HOMEPAGE=https://developer.gnome.org/glib/ TERMUX_PKG_DESCRIPTION="Library providing core building blocks for libraries and applications written in C" _TERMUX_GLIB_MAJOR_VERSION=2.50 TERMUX_PKG_VERSION=${_TERMUX_GLIB_MAJOR_VERSION}.1 +TERMUX_PKG_BUILD_REVISION=1 TERMUX_PKG_SRCURL=https://ftp.gnome.org/pub/gnome/sources/glib/${_TERMUX_GLIB_MAJOR_VERSION}/glib-${TERMUX_PKG_VERSION}.tar.xz -TERMUX_PKG_DEPENDS="libffi, pcre" +# libandroid-support to get langinfo.h in include path. +TERMUX_PKG_DEPENDS="libffi, pcre, libandroid-support" TERMUX_PKG_RM_AFTER_INSTALL="share/gtk-doc share/locale share/glib-2.0/gettext share/gdb/auto-load share/glib-2.0/codegen share/glib-2.0/gdb bin/gtester-report bin/glib-mkenums bin/glib-gettextize bin/gdbus-codegen" # Needed by pkg-config for glib-2.0: TERMUX_PKG_DEVPACKAGE_DEPENDS="pcre-dev"