From patchwork Thu Jul 19 21:21:02 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 172064 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id C8F742C0233 for ; Fri, 20 Jul 2012 07:21:52 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id CB92CA05AA; Thu, 19 Jul 2012 21:21:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l4d8IWyhP6dn; Thu, 19 Jul 2012 21:21:45 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id E511CA0290; Thu, 19 Jul 2012 21:21:43 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 210A18F797 for ; Thu, 19 Jul 2012 21:21:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 186D88D3F6 for ; Thu, 19 Jul 2012 21:21:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lp8u0X6zYnDS for ; Thu, 19 Jul 2012 21:21:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [88.190.12.23]) by whitealder.osuosl.org (Postfix) with ESMTP id AF81F8FF30 for ; Thu, 19 Jul 2012 21:21:40 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 1CF88D9; Thu, 19 Jul 2012 23:21:41 +0200 (CEST) Received: from localhost (humanoidz.org [82.247.183.72]) by mail.free-electrons.com (Postfix) with ESMTPSA id 56267D2 for ; Thu, 19 Jul 2012 23:21:31 +0200 (CEST) From: Thomas Petazzoni To: buildroot@busybox.net Date: Thu, 19 Jul 2012 23:21:02 +0200 Message-Id: <7baa3f68f46df9cb2c70c264cc0d550f349e2fdc.1342732829.git.thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: In-Reply-To: References: Subject: [Buildroot] [PATCH 3/5] gettext: remove libintl handling X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Now, the gettext package always: * install everything to the staging directory * install the libraries to the target directory Note that this commit removes BR2_PACKAGE_LIBINTL without updating the packages, it is done in a separate commit to ease the review process. Signed-off-by: Thomas Petazzoni --- package/gettext/Config.in | 14 ++++---------- package/gettext/gettext.mk | 7 +------ 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/package/gettext/Config.in b/package/gettext/Config.in index 0ee4065..de19410 100644 --- a/package/gettext/Config.in +++ b/package/gettext/Config.in @@ -7,17 +7,11 @@ config BR2_PACKAGE_GETTEXT framework to help other GNU packages produce multi-lingual messages. + Only the gettext libraries will be installed in the + target. The full gettext suite, including tools, will be + installed in the staging directory. + http://www.gnu.org/software/gettext/ comment "gettext requires a toolchain with WCHAR support" depends on BR2_NEEDS_GETTEXT && !BR2_USE_WCHAR - -config BR2_PACKAGE_LIBINTL - bool "libintl" - depends on BR2_NEEDS_GETTEXT - depends on BR2_USE_WCHAR - help - Selecting this package installs all of gettext in the staging - directory and the shared library for it's use in the target. - - http://www.gnu.org/software/gettext/ diff --git a/package/gettext/gettext.mk b/package/gettext/gettext.mk index 6b2c336..4dff941 100644 --- a/package/gettext/gettext.mk +++ b/package/gettext/gettext.mk @@ -112,7 +112,7 @@ $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY): $(GETTEXT_DIR)/$(GETTEXT_BINARY) gettext-legal-info: @$(call legal-warning-pkg,gettext,legal-info not yet implemented) -gettext: host-pkg-config $(if $(BR2_PACKAGE_LIBICONV),libiconv) $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY) +gettext: host-pkg-config $(if $(BR2_PACKAGE_LIBICONV),libiconv) $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY) $(TARGET_DIR)/$(LIBINTL_TARGET_BINARY) gettext-unpacked: $(GETTEXT_DIR)/.unpacked @@ -139,16 +139,11 @@ $(TARGET_DIR)/usr/lib/libintl.so: $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY) libgettext*.so*.la libintl*.so*.la) touch -c $@ -libintl: $(TARGET_DIR)/$(LIBINTL_TARGET_BINARY) - ############################################################# # # Toplevel Makefile options # ############################################################# -ifeq ($(BR2_PACKAGE_LIBINTL),y) -TARGETS+=libintl -endif ifeq ($(BR2_PACKAGE_GETTEXT),y) TARGETS+=gettext endif