[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] [PATCH cleanup] upgrade packages glib gtk

From: Mark Brand
Subject: Re: [Mingw-cross-env-list] [PATCH cleanup] upgrade packages glib gtk
Date: Tue, 27 Apr 2010 15:21:49 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100308 SUSE/3.1b1-6.3 Thunderbird/3.1b1

I did a quick check and the issue is the same on FreeBSD (as well as
OSX). --disable-nls doesn't solve it, is the next step to build a
native gettext and pass the paths to ./configure (along the same lines
as libiconv)?


It sounds like that should work. I tried it out and it works on Linux. Would you like to try it?


diff -r c4858c86408f src/glib.mk
--- a/src/glib.mk       Tue Apr 27 12:33:40 2010 +0200
+++ b/src/glib.mk       Tue Apr 27 15:19:23 2010 +0200
@@ -32,6 +32,13 @@
     $(MAKE) -C '$(1).native/$(libiconv_SUBDIR)' -j '$(JOBS)'

+    # native build of gettext (used by glib-compile-schemas)
+    cd '$(1).native' && $(call UNPACK_PKG_ARCHIVE,gettext)
+    cd '$(1).native/$(gettext_SUBDIR)' && ./configure \
+        --disable-shared \
+        --disable-nls
+    $(MAKE) -C '$(1).native/$(gettext_SUBDIR)' -j '$(JOBS)'
# native build for glib-genmarshal, without pkg-config, gettext and zlib
     cd '$(1).native' && ./configure \
         --disable-shared \
@@ -42,8 +49,9 @@
         --disable-fam \
         --disable-xattr \
         --with-libiconv=gnu \
-        CPPFLAGS='-I$(1).native/$(libiconv_SUBDIR)/include' \
-        LDFLAGS='-L$(1).native/$(libiconv_SUBDIR)/lib/.libs'
+ CPPFLAGS='-I$(1).native/$(libiconv_SUBDIR)/include -I$(1).native/$(gettext_SUBDIR)/include' \ + LDFLAGS='-L$(1).native/$(libiconv_SUBDIR)/lib/.libs -L$(1).native/$(gettext_SUBDIR)/lib/.libs'
     $(SED) -i 's,#define G_ATOMIC.*,,' '$(1).native/config.h'
     $(MAKE) -C '$(1).native/glib'    -j '$(JOBS)'
     $(MAKE) -C '$(1).native/gthread' -j '$(JOBS)'

reply via email to

[Prev in Thread] Current Thread [Next in Thread]