From patchwork Sun Dec 9 16:34:47 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: 204717 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 B94172C01C2 for ; Mon, 10 Dec 2012 03:37:23 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id DF019A0238; Sun, 9 Dec 2012 16:37:21 +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 J1hwA4ymZsux; Sun, 9 Dec 2012 16:37:17 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 508F3A0142; Sun, 9 Dec 2012 16:36:24 +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 7D52E8F74B for ; Sun, 9 Dec 2012 16:35:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 62F078841F for ; Sun, 9 Dec 2012 16:35:48 +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 r-sTZ2ogkrZV for ; Sun, 9 Dec 2012 16:35:47 +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 DC59481BA8 for ; Sun, 9 Dec 2012 16:35:46 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id u3so1081279wey.16 for ; Sun, 09 Dec 2012 08:35:46 -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=uNlKSl8vZOo7gA2DBgUR6MH0X0N3rCRLiuUykOS8BK0=; b=abqxHv00nxtSw9qHSzf4kJUTBM7Gn0zExb/j/UfdWqZk7m6ahY4YFmO21ES0i4Nomo AjVgql2GU7jTlSiDMYnDqfSldMfEfQfwSIaZuRGJ4FHuwgaFtUydO6QqvURgyChlvZL/ dQ+rWtLCgNAq55njCDiLoKbumj8pRmtEqFx0eOoWKPMasPFli9SnRJzbjYLRkjmnGDOJ k8gaczhFdZFMzP2QzKw3Pdfp5G3gD0iih7NdfNwZaa1JKFkcvjUzuM4a8zWxIWft3eJQ RRxd/zmKNZ/mYpwkb4gR+b7fjZozov7mXD5GPV0vEZCtN4/tjZVQMHyWuDQ0anPfgZjI lVhw== Received: by 10.216.141.15 with SMTP id f15mr4278826wej.116.1355070946338; Sun, 09 Dec 2012 08:35:46 -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.45 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 09 Dec 2012 08:35:45 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sun, 9 Dec 2012 17:34:47 +0100 Message-Id: <1355070924-8009-15-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 14/51] package/spice: enable client 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 | 12 ++++++++++++ package/spice/spice.mk | 8 +++++++- 2 files changed, 19 insertions(+), 1 deletions(-) diff --git a/package/spice/Config.in b/package/spice/Config.in index ced3ec7..e906acf 100644 --- a/package/spice/Config.in +++ b/package/spice/Config.in @@ -21,3 +21,15 @@ config BR2_PACKAGE_SPICE This package implements the server-part of Spice. http://www.spice-space.org/ + +if BR2_PACKAGE_SPICE + +comment "client depends on X.org" + depends on !BR2_PACKAGE_XORG7 + +config BR2_PACKAGE_SPICE_CLIENT + bool "Enable client" + depends on BR2_PACKAGE_XORG7 + select BR2_PACKAGE_XLIB_LIBXRANDR + +endif # BR2_PACKAGE_SPICE diff --git a/package/spice/spice.mk b/package/spice/spice.mk index dbd2d5f..2f9dcbd 100644 --- a/package/spice/spice.mk +++ b/package/spice/spice.mk @@ -26,12 +26,18 @@ SPICE_CONF_OPT = \ --disable-gui \ --disable-opengl \ --disable-smartcard \ - --disable-client \ --disable-automated-tests \ --without-sasl \ SPICE_DEPENDENCIES += host-pkgconf +ifeq ($(BR2_PACKAGE_SPICE_CLIENT),y) +SPICE_CONF_OPT += --enable-client +SPICE_DEPENDENCIES += xlib_libXrandr xlib_libXfixes +else +SPICE_CONF_OPT += --disable-client +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