From patchwork Sun Dec 9 16:34:48 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 204718 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 781B32C01C2 for ; Mon, 10 Dec 2012 03:37:31 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id E065DA009E; Sun, 9 Dec 2012 16:37:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AgpS25OLTtFW; Sun, 9 Dec 2012 16:37:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 70DAEA0139; Sun, 9 Dec 2012 16:36:26 +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 2D9828F74B for ; Sun, 9 Dec 2012 16:35:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1A44481BA8 for ; Sun, 9 Dec 2012 16:35:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OjThPwPRyBQ2 for ; Sun, 9 Dec 2012 16:35:48 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f171.google.com (mail-we0-f171.google.com [74.125.82.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id EDA6581B94 for ; Sun, 9 Dec 2012 16:35:47 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id u3so1081279wey.16 for ; Sun, 09 Dec 2012 08:35:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=lGu6YrUq/yrG+RLxKk538hN2kohwwVkk3Z59cOGLtMw=; b=LlUJ24qVSIZl2uSco2hWUANjmA2QoFnowtwSJP2HtDmTlEe8iw8QhoHOTB8fcuatil nDzUJw20jC1IghdkC7BVBfx4DRHu4lPKAHJRnbaCoO/cJlg7dID2mvIao/UEbE4+vmqN wRH7+J6N3c+jgR4S8+S83AwUba+1jb0jy8ybw9GsPzpzT9V9CPKxvYFTuaEm2tv7Zhgg JfySRAgrPZf8qxpZvCycydR1VAeY6YosVl12YC3br5rBJ8bzkqYGmWr7N5WjuxZAA03+ SuUkZOcrCTX0la92OrnKu/IgC/jzv+YIacKQma0DK6Rjjs51+BHV+zmfPlt02L9juCug harQ== Received: by 10.180.73.80 with SMTP id j16mr6970545wiv.5.1355070947324; Sun, 09 Dec 2012 08:35:47 -0800 (PST) Received: from localhost.localdomain (ARennes-256-1-76-30.w90-32.abo.wanadoo.fr. [90.32.155.30]) by mx.google.com with ESMTPS id fv2sm6587947wib.4.2012.12.09.08.35.46 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 09 Dec 2012 08:35:46 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sun, 9 Dec 2012 17:34:48 +0100 Message-Id: <1355070924-8009-16-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1355070924-8009-1-git-send-email-yann.morin.1998@free.fr> References: <1355070924-8009-1-git-send-email-yann.morin.1998@free.fr> Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 15/51] package/spice: enable GUI 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 Signed-off-by: "Yann E. MORIN" --- package/spice/Config.in | 8 ++++++++ package/spice/spice.mk | 8 +++++++- 2 files changed, 15 insertions(+), 1 deletions(-) diff --git a/package/spice/Config.in b/package/spice/Config.in index e906acf..6e6233d 100644 --- a/package/spice/Config.in +++ b/package/spice/Config.in @@ -32,4 +32,12 @@ config BR2_PACKAGE_SPICE_CLIENT depends on BR2_PACKAGE_XORG7 select BR2_PACKAGE_XLIB_LIBXRANDR +config BR2_PACKAGE_SPICE_GUI + bool "Enable GUI" + depends on BR2_PACKAGE_SPICE_CLIENT + select BR2_PACKAGE_CEGUI06 + help + Say 'y' here to enable the Graphical User Interface (GUI) + start dialog. + endif # BR2_PACKAGE_SPICE diff --git a/package/spice/spice.mk b/package/spice/spice.mk index 2f9dcbd..350c4a9 100644 --- a/package/spice/spice.mk +++ b/package/spice/spice.mk @@ -23,7 +23,6 @@ SPICE_DEPENDENCIES = \ # quite deep if we try to enable some features, and I have not tested that. SPICE_CONF_OPT = \ --disable-tunnel \ - --disable-gui \ --disable-opengl \ --disable-smartcard \ --disable-automated-tests \ @@ -38,6 +37,13 @@ else SPICE_CONF_OPT += --disable-client endif +ifeq ($(BR2_PACKAGE_SPICE_GUI),y) +SPICE_CONF_OPT += --enable-gui +SPICE_DEPENDENCIES += cegui06 +else +SPICE_CONF_OPT += --disable-gui +endif + SPICE_CONF_ENV = PYTHONPATH=$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages SPICE_MAKE_ENV = PYTHONPATH=$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages