From patchwork Sun Jan 6 21:29:28 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 209813 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 2CD5B2C007E for ; Mon, 7 Jan 2013 08:31:49 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 7047430E6F; Sun, 6 Jan 2013 21:31:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oaGj4GhBgLPH; Sun, 6 Jan 2013 21:31:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 6A17130E8C; Sun, 6 Jan 2013 21:31:42 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 1A2C48F753 for ; Sun, 6 Jan 2013 21:30:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 0934130E5C for ; Sun, 6 Jan 2013 21:30:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 41L4L+rdELmH for ; Sun, 6 Jan 2013 21:30:21 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [94.23.32.191]) by silver.osuosl.org (Postfix) with ESMTP id 6D46D2D435 for ; Sun, 6 Jan 2013 21:30:21 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id A6711161; Sun, 6 Jan 2013 22:30:21 +0100 (CET) Received: from localhost (humanoidz.org [82.247.183.72]) by mail.free-electrons.com (Postfix) with ESMTPSA id 9D48710F for ; Sun, 6 Jan 2013 22:30:20 +0100 (CET) From: Thomas Petazzoni To: buildroot@busybox.net Date: Sun, 6 Jan 2013 22:29:28 +0100 Message-Id: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: In-Reply-To: References: Subject: [Buildroot] [PATCH 16/28] fltk: replace dependency on X.org server with dependency on libraries 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 fltk is a X client library, so it doesn't make sense for it to depend on the X.org server. Instead, it depends on libX11, libXext and libXt, so we use those libraries as fltk dependencies. Signed-off-by: Thomas Petazzoni --- package/fltk/Config.in | 2 ++ package/fltk/fltk.mk | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package/fltk/Config.in b/package/fltk/Config.in index eff72b5..2085192 100644 --- a/package/fltk/Config.in +++ b/package/fltk/Config.in @@ -3,6 +3,8 @@ config BR2_PACKAGE_FLTK depends on BR2_INSTALL_LIBSTDCPP depends on BR2_PACKAGE_XORG7 select BR2_PACKAGE_XLIB_LIBXT + select BR2_PACKAGE_XLIB_LIBX11 + select BR2_PACKAGE_XLIB_LIBXEXT help A cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. diff --git a/package/fltk/fltk.mk b/package/fltk/fltk.mk index a5dac37..3f192cd 100644 --- a/package/fltk/fltk.mk +++ b/package/fltk/fltk.mk @@ -11,6 +11,6 @@ FLTK_INSTALL_STAGING = YES FLTK_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) STRIP=$(TARGET_STRIP) install FLTK_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) STRIP=$(TARGET_STRIP) install FLTK_CONF_OPT = --enable-threads --with-x -FLTK_DEPENDENCIES = xserver_xorg-server xlib_libXt +FLTK_DEPENDENCIES = xlib_libX11 xlib_libXext xlib_libXt $(eval $(autotools-package))