From patchwork Wed Oct 24 21:25:38 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: 193959 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 94D5A2C009B for ; Thu, 25 Oct 2012 08:27:30 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9496A81C2D; Wed, 24 Oct 2012 21:27:28 +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 6FIsMy40+FJu; Wed, 24 Oct 2012 21:27:27 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 3B37B8C837; Wed, 24 Oct 2012 21:27:27 +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 4D56D8F74A 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 DF2938C8D4 for ; Wed, 24 Oct 2012 21:26:40 +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 vzylLSm+Gspz for ; Wed, 24 Oct 2012 21:26:33 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) by whitealder.osuosl.org (Postfix) with ESMTPS id DFDFF8C8DE for ; Wed, 24 Oct 2012 21:26:31 +0000 (UTC) Received: by mail-wg0-f53.google.com with SMTP id dr1so619614wgb.10 for ; Wed, 24 Oct 2012 14:26:31 -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=B724pGtj47bLiwQ+KZ/eI3vnxsyVJ4YY4qE0S1Ra3W0=; b=l8gpapwZ9v0+Irzi9SE+qvXLLNREDNhn/vcz+MPPXGUGgY0wNxCwgN/NJc7tRtcouM F2/bdVzOS11bNnPPsfnM1j9Maa9T7v8kuTLc7T6SeQNOVgwoVUhNyrA1GKNenCa+dIju NKRtVMv38oUfvA/yT6mf9yKrKBoxm3y7P5K4xqkGj9p5qME43uoOiJH/P3y+nTL1BMEE M/QpPufyZfibTaNRdDLRa/KxNi5LltSu1TgroGAcXmNmKeWpcGeiLHtudcWvTNU/Tppx 9gbfbvYN6CRT9/hDU1VEBZPid1crPYrZ0DMsLDkPk0Z9JhpigeMMdsrMlSPa4Qub5D66 kXyg== Received: by 10.216.197.104 with SMTP id s82mr9930072wen.62.1351113991315; Wed, 24 Oct 2012 14:26:31 -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.30 (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:38 +0200 Message-Id: <1351113973-17237-13-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 12/47] 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 37b1bff..de7bf71 100644 --- a/package/spice/spice.mk +++ b/package/spice/spice.mk @@ -26,10 +26,16 @@ SPICE_CONF_OPT = \ --disable-gui \ --disable-opengl \ --disable-smartcard \ - --disable-client \ --disable-automated-tests \ --without-sasl \ +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_DEPENDENCIES += host-pkg-config SPICE_CONF_ENV = PYTHONPATH=$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages