All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Lundquist <lists@zelow.no>
To: buildroot@busybox.net
Subject: [Buildroot] gettext fixes
Date: Thu, 12 Oct 2006 12:56:25 +0200	[thread overview]
Message-ID: <20061012105625.GC2704@zelow.no> (raw)
In-Reply-To: <87a5b0800610120321k6509bebsec35656c4f9136fd@mail.gmail.com>

On Thu, Oct 12, 2006 at 11:21:57AM +0100, Will Newton wrote:
> 
> I'm using a more recent snapshot of uClibc but I think 0.9.28 should
> work. I've attached the makefile I'm using for glib. I hope you can
> find it useful, it isn't very polished...

darn, this was probably the best timing I've had in ages.
Thanks alot.

But I ended up with:

checking for glib-genmarshal... no
configure: error: Could not find a glib-genmarshal in your PATH
make: *** [/home/thomasez/buildroot/build_arm/glib-2.12.4/.configured]
Error 1

> You will need to change the values of glib_cv_stack_grows and
> glib_cv_uscore for your arch I would imagine.

gotta find out what I have to put there then :=)

(btw, compiling this withough PACKAGE_GETTEXT set now, gettext was huge)


thanks
Thomas.

> #############################################################
> #
> # libglib2.x
> #
> #############################################################
> LIBGLIB2_VER_MAJOR:=2.12
> LIBGLIB2_VER_MINOR:=4
> LIBGLIB2_VER:=$(LIBGLIB2_VER_MAJOR).$(LIBGLIB2_VER_MINOR)
> 
> LIBGLIB2_SOURCE:=glib-$(LIBGLIB2_VER).tar.bz2
> LIBGLIB2_SITE:=ftp://ftp.gtk.org/pub/glib/$(LIBGLIB2_VER_MAJOR)/
> LIBGLIB2_CAT:=bzcat
> LIBGLIB2_DIR:=$(BUILD_DIR)/glib-$(LIBGLIB2_VER)
> LIBGLIB2_BINARY:=libglib-2.0.so
> 
> 
> $(DL_DIR)/$(LIBGLIB2_SOURCE):
> 	 $(WGET) -P $(DL_DIR) $(LIBGLIB2_SITE)/$(LIBGLIB2_SOURCE)
> 
> libglib2-source: $(DL_DIR)/$(LIBGLIB2_SOURCE)
> 
> $(LIBGLIB2_DIR)/.unpacked: $(DL_DIR)/$(LIBGLIB2_SOURCE)
> 	$(LIBGLIB2_CAT) $(DL_DIR)/$(LIBGLIB2_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
> 	toolchain/patch-kernel.sh $(LIBGLIB2_DIR) package/libglib2/ \*.patch*
> 	$(CONFIG_UPDATE) $(LIBGLIB2_DIR)
> 	touch $(LIBGLIB2_DIR)/.unpacked
> 
> $(LIBGLIB2_DIR)/.configured: $(LIBGLIB2_DIR)/.unpacked
> 	(cd $(LIBGLIB2_DIR); rm -rf config.cache; \
> 		$(TARGET_CONFIGURE_OPTS) \
> 		LDFLAGS=-L$(STAGING_DIR)/usr/lib \
> 		./configure \
> 		glib_cv_stack_grows=yes \
> 		glib_cv_monotonic_clock=yes \
> 		glib_cv_uscore=yes \
> 		ac_cv_func_posix_getpwuid_r=yes \
> 		--host=$(REAL_GNU_TARGET_NAME) \
> 		--build=$(GNU_HOST_NAME) \
> 		--prefix=$(STAGING_DIR) \
> 		--exec_prefix=$(STAGING_DIR) \
> 		--libdir=$(STAGING_DIR)/usr/lib \
> 		--includedir=$(STAGING_DIR)/usr/include \
> 		--bindir=/usr/bin \
> 		--sbindir=/usr/sbin \
> 		--libexecdir=/usr/lib \
> 		--sysconfdir=/etc \
> 		--datadir=/usr/share \
> 		--localstatedir=/var \
> 		--mandir=/usr/man \
> 		--infodir=/usr/info \
> 		$(DISABLE_NLS) \
> 		--enable-shared \
> 	);
> 	touch $(LIBGLIB2_DIR)/.configured
> 
> $(LIBGLIB2_DIR)/.libs/$(LIBGLIB2_BINARY): $(LIBGLIB2_DIR)/.configured
> 	$(MAKE) CC=$(TARGET_CC) -C $(LIBGLIB2_DIR)
> 
> $(STAGING_DIR)/lib/$(LIBGLIB2_BINARY): $(LIBGLIB2_DIR)/.libs/$(LIBGLIB2_BINARY)
> 	$(MAKE) prefix=$(STAGING_DIR) \
> 	    exec_prefix=$(STAGING_DIR) \
> 	    bindir=$(STAGING_DIR)/usr/bin \
> 	    sbindir=$(STAGING_DIR)/usr/sbin \
> 	    libexecdir=$(STAGING_DIR)/usr/lib \
> 	    datadir=$(STAGING_DIR)/usr/share \
> 	    sysconfdir=$(STAGING_DIR)/etc \
> 	    sharedstatedir=$(STAGING_DIR)/com \
> 	    localstatedir=$(STAGING_DIR)/var \
> 	    libdir=$(STAGING_DIR)/usr/lib \
> 	    includedir=$(STAGING_DIR)/usr/include \
> 	    infodir=$(STAGING_DIR)/usr/info \
> 	    mandir=$(STAGING_DIR)/usr/man \
> 	    -C $(LIBGLIB2_DIR) install;
> 
> $(TARGET_DIR)/lib/$(LIBGLIB2_BINARY): $(STAGING_DIR)/lib/$(LIBGLIB2_BINARY)
> 	cp -a $(STAGING_DIR)/usr/lib/libglib*.so.* $(TARGET_DIR)/usr/lib/
> 	cp -a $(STAGING_DIR)/usr/lib/libgmodule*.so.* $(TARGET_DIR)/usr/lib/
> 	cp -a $(STAGING_DIR)/usr/lib/libgobject*.so.* $(TARGET_DIR)/usr/lib/
> 
> libglib2: uclibc libintl $(TARGET_DIR)/lib/$(LIBGLIB2_BINARY)
> 
> libglib2-clean:
> 	-rm -f $(TARGET_DIR)/lib/$(LIBGLIB2_BINARY)
> 	-$(MAKE) -C $(LIBGLIB2_DIR) clean
> 
> libglib2-dirclean:
> 	rm -rf $(LIBGLIB2_DIR)
> 
> #############################################################
> #
> # Toplevel Makefile options
> #
> #############################################################
> ifeq ($(strip $(BR2_PACKAGE_LIBGLIB2)),y)
> TARGETS+=libglib2
> endif

  reply	other threads:[~2006-10-12 10:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-06 16:05 [Buildroot] gettext fixes Will Newton
2006-10-11 16:47 ` Bernhard Fischer
2006-10-12  9:13   ` Will Newton
2006-10-12 10:15     ` Thomas Lundquist
2006-10-12 10:21       ` Will Newton
2006-10-12 10:56         ` Thomas Lundquist [this message]
2006-10-12 11:05           ` Will Newton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061012105625.GC2704@zelow.no \
    --to=lists@zelow.no \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.