From patchwork Sun Dec 16 16:56:17 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: 206695 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 8ACF32C009B for ; Mon, 17 Dec 2012 03:58:22 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 4D0E330774; Sun, 16 Dec 2012 16:58:19 +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 aqzY3A1mpFxf; Sun, 16 Dec 2012 16:58:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 1CBC82053D; Sun, 16 Dec 2012 16:57:49 +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 3D4728F74B for ; Sun, 16 Dec 2012 16:57:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A0CAC8AB49 for ; Sun, 16 Dec 2012 16:57:19 +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 BtF9QSuD8Ltk for ; Sun, 16 Dec 2012 16:57:09 +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 6112A8A274 for ; Sun, 16 Dec 2012 16:56:52 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id u3so2372351wey.16 for ; Sun, 16 Dec 2012 08:56:50 -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:in-reply-to:references; bh=9IPLGD/pH8npnS/92xJdFM7rv5ZBrQXWpB8Hii4wGEo=; b=PftWYAVh9o/99n+bmw0ZZvo8l+wSU4cRVfBuovn2sXcSFBiMjicSqY4ZFG1mi8hl+g XQZDBcT4PNzCm6mhYcS4hgVJNettG0/EOSXZgTG9ko8Lf25MO4Ek7t4nPTfEXgLy/SpC Mho1hF7S2SPPKoUqUjMKcJM2IXx+sDP0Hpi3+AYUDflcuZegG9SER9Sn/5n9FxxqjkmS 0WGP9UQC2DhDrD/0629FBBlNNknhS2VDuwHpUpYKuQFbJ5Wg6ZdGs6bcD/5nT+cY/Iqb 9tDOqd2TR3ThQ+oRSyU7gD99ETKboryCfgt+6936FwVgKhIKvUOqQModT9kfRqsrfVNm VaNA== Received: by 10.194.238.226 with SMTP id vn2mr12701860wjc.23.1355677010299; Sun, 16 Dec 2012 08:56:50 -0800 (PST) Received: from localhost.localdomain (ARennes-256-1-41-119.w90-32.abo.wanadoo.fr. [90.32.24.119]) by mx.google.com with ESMTPS id bz12sm8243078wib.5.2012.12.16.08.56.48 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 16 Dec 2012 08:56:49 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sun, 16 Dec 2012 17:56:17 +0100 Message-Id: X-Mailer: git-send-email 1.7.2.5 In-Reply-To: References: In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 10/19] 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 aacc779..08c3893 100644 --- a/package/spice/Config.in +++ b/package/spice/Config.in @@ -33,4 +33,12 @@ config BR2_PACKAGE_SPICE_CLIENT select BR2_PACKAGE_XLIB_LIBXFIXES 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 2f7fc20..0a5c58e 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