From patchwork Wed Oct 24 21:25:39 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: 193962 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 478FB2C009B for ; Thu, 25 Oct 2012 08:27:45 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 654DA8C83E; Wed, 24 Oct 2012 21:27:41 +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 IP6ylFWw7BYf; Wed, 24 Oct 2012 21:27:37 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 4EEC38C8BF; Wed, 24 Oct 2012 21:27:33 +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 D8B498F74A for ; Wed, 24 Oct 2012 21:26:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 754D58C8DE for ; Wed, 24 Oct 2012 21:26:41 +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 zGqnVPeAVEiM for ; Wed, 24 Oct 2012 21:26:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by whitealder.osuosl.org (Postfix) with ESMTPS id 81DB58C865 for ; Wed, 24 Oct 2012 21:26:32 +0000 (UTC) Received: by mail-wi0-f175.google.com with SMTP id hq4so4123060wib.10 for ; Wed, 24 Oct 2012 14:26:32 -0700 (PDT) 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=JJmaB0zBZkYGIJAlThMStYO0TpJJ0B78obFE5m4t1G4=; b=D5W76v/LTItn86LHGshr1MQXZkNuIkfSzTa58hxa7CLzEefIXCmTVs+/8rdL9/P5+3 MbUe+Jl2Cdh4nzlDLzXf//g9peCWQrfZBDE87W+ux38d88HcRAqdQzxuRSoWRKID7gk+ IqE3oLCiThTZxqtWh1dLfkHzMEIJR+dTmVnF0KTmSUUjvIlG7Soq5ZFMwVPSUjH9zerz zY1n1v7OvmtlTtbgYqYHs4Mcoi+WzJ73bBkb7yHnLueToFN44tL3XEBLjM4V98HUtKFS z/Z4hRbC9Y98VcjSVykSkD4UFx6nJZhFK/mKDW+hreaHlir4l9ZsEgaZsmo3eD0O6QRR LVuw== Received: by 10.180.100.97 with SMTP id ex1mr8687695wib.17.1351113992112; Wed, 24 Oct 2012 14:26:32 -0700 (PDT) Received: from localhost.localdomain (ARennes-256-1-66-54.w90-32.abo.wanadoo.fr. [90.32.145.54]) by mx.google.com with ESMTPS id hb6sm6371161wib.7.2012.10.24.14.26.31 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 24 Oct 2012 14:26:31 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Wed, 24 Oct 2012 23:25:39 +0200 Message-Id: <1351113973-17237-14-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1351113973-17237-1-git-send-email-yann.morin.1998@free.fr> References: <1351113973-17237-1-git-send-email-yann.morin.1998@free.fr> Cc: bjornar.ness@gmail.com, "Yann E. MORIN" Subject: [Buildroot] [PATCH 13/47] 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 de7bf71..9253e35 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 \ @@ -36,6 +35,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_DEPENDENCIES += host-pkg-config SPICE_CONF_ENV = PYTHONPATH=$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages