From patchwork Wed Nov 28 23:54:09 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: 202582 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 B6F572C0081 for ; Thu, 29 Nov 2012 10:56:25 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 153C2A0266; Wed, 28 Nov 2012 23:56:24 +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 asVE4cPOyzTe; Wed, 28 Nov 2012 23:56:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id A2F33A0208; Wed, 28 Nov 2012 23:55: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 ABFF08F74A for ; Wed, 28 Nov 2012 23:55:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 90C0A8A9FD for ; Wed, 28 Nov 2012 23:55:29 +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 4uJlKTT74N7M for ; Wed, 28 Nov 2012 23:55:22 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4B8FE8A98B for ; Wed, 28 Nov 2012 23:55:19 +0000 (UTC) Received: by mail-wi0-f169.google.com with SMTP id hq12so4706570wib.4 for ; Wed, 28 Nov 2012 15:55:17 -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=80bW0Dkbgkxy2gZ0c07X7eTvCyvOU/Bq6tqmXYnppOs=; b=oMfiYrbAksUdkyVBFQPUIUCkZnwNjF32knXzr3ypsXAAMWd0jxh1y/SUwTLGmSrweh /qDHVH6TZbMKpF/8clPdrRIa7wM0a6ky/IdDUw+y1z3zx4ya58iHGtq5mkjY3gM/KZVg jNAYADXkfUdp8ksu7+6Nqa7LdUmz/hl0WKELAcT8gOzeZ/qFK+5H/3SD+y79HJrtar4H 7t0aEC8hp0SUAGZoaIj16XxnAsKQfz6ViuIDJ+n0Eqelh/mIzKKjzZ3kOj6ww3qoIFtG 31VnYB03Cf9TCQ01QBKhllFHiRzv0aAz75DXt1ZYgPo+iDzIM0s9xKRgS+xPe1cTASf2 twHw== Received: by 10.180.86.167 with SMTP id q7mr193811wiz.21.1354146917570; Wed, 28 Nov 2012 15:55:17 -0800 (PST) Received: from localhost.localdomain (ARennes-256-1-141-45.w90-32.abo.wanadoo.fr. [90.32.252.45]) by mx.google.com with ESMTPS id i6sm9076156wix.5.2012.11.28.15.55.16 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 28 Nov 2012 15:55:17 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Thu, 29 Nov 2012 00:54:09 +0100 Message-Id: <1354146890-27380-11-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1354146890-27380-1-git-send-email-yann.morin.1998@free.fr> References: <1354146890-27380-1-git-send-email-yann.morin.1998@free.fr> Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 10/51] package/cegui06: new package 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 Although there are more reent versions of CEGUI, we are stuck with 0.6.2b for use by spice. Cc: Arnout Vandecappelle Signed-off-by: "Yann E. MORIN" --- package/Config.in | 1 + package/cegui06/Config.in | 15 +++++++++++++ package/cegui06/cegui06-stddef.h.patch | 26 +++++++++++++++++++++++ package/cegui06/cegui06.mk | 36 ++++++++++++++++++++++++++++++++ 4 files changed, 78 insertions(+), 0 deletions(-) create mode 100644 package/cegui06/Config.in create mode 100644 package/cegui06/cegui06-stddef.h.patch create mode 100644 package/cegui06/cegui06.mk diff --git a/package/Config.in b/package/Config.in index 634a63e..92b07b6 100644 --- a/package/Config.in +++ b/package/Config.in @@ -109,6 +109,7 @@ comment "Graphic applications" source "package/rrdtool/Config.in" comment "graphic libraries" +source "package/cegui06/Config.in" source "package/directfb/Config.in" source "package/directfb-examples/Config.in" source "package/divine/Config.in" diff --git a/package/cegui06/Config.in b/package/cegui06/Config.in new file mode 100644 index 0000000..3b77e9f --- /dev/null +++ b/package/cegui06/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_CEGUI06 + bool "cegui06" + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_FREETYPE + select BR2_PACKAGE_PCRE + select BR2_PACKAGE_EXPAT + help + Crazy Eddie's GUI System is a free library providing windowing and + widgets for graphics APIs / engines where such functionality is not + natively available, or severely lacking. The library is object + orientated, written in C++, and targeted at games developers who + should be spending their time creating great games, not building + GUI sub-systems! + + http://www.cegui.org.uk/ diff --git a/package/cegui06/cegui06-stddef.h.patch b/package/cegui06/cegui06-stddef.h.patch new file mode 100644 index 0000000..cc16eff --- /dev/null +++ b/package/cegui06/cegui06-stddef.h.patch @@ -0,0 +1,26 @@ +includes: ptrdiff_t is defined in stddef.h + +ptrdiff_t is defined in the stddef.h header, so this +header must be included. + +Do the #include in a common header to avoid doing it +all over the place. + +Signed-off-by: "Yann E. MORIN" + +--- +Patch not sent upstream, it's a no-longer-maintained branch. +To be noted, however, is that the current devel branch is +still missing that include. + +diff -durN cegui06-0.6.2.orig/include/CEGUIBase.h cegui06-0.6.2/include/CEGUIBase.h +--- cegui06-0.6.2.orig//include/CEGUIBase.h 2008-02-11 15:38:27.000000000 +0100 ++++ cegui06-0.6.2/include/CEGUIBase.h 2012-08-19 22:51:50.260385978 +0200 +@@ -34,6 +34,7 @@ + #define _CEGUIBase_h_ + + #include ++#include + + // bring in configuration options + #include "CEGUIConfig.h" diff --git a/package/cegui06/cegui06.mk b/package/cegui06/cegui06.mk new file mode 100644 index 0000000..c32c15b --- /dev/null +++ b/package/cegui06/cegui06.mk @@ -0,0 +1,36 @@ +############################################################# +# +# libcegui +# +############################################################# + +# Do not update the version, we need exactly that one for Spice. +CEGUI06_VERSION_MAJOR = 0.6.2 +CEGUI06_VERSION = $(CEGUI06_VERSION_MAJOR)b +CEGUI06_SOURCE = CEGUI-$(CEGUI06_VERSION).tar.gz +CEGUI06_SITE = http://downloads.sourceforge.net/project/crayzedsgui/CEGUI%20Mk-2/$(CEGUI06_VERSION_MAJOR) +CEGUI06_LICENSE = MIT +CEGUI06_LICENSE_FILES = COPYING +CEGUI06_INSTALL_STAGING = YES + +CEGUI06_DEPENDENCIES = \ + freetype \ + pcre \ + expat \ + +CEGUI06_CONF_OPT = \ + --enable-expat \ + --disable-external-tinyxml \ + --disable-xerces-c \ + --disable-libxml \ + --disable-tinyxml \ + --disable-opengl-renderer \ + --disable-external-glew \ + --disable-irrlicht-renderer \ + --disable-directfb-renderer \ + --disable-samples \ + --disable-lua-module \ + --disable-toluacegui \ + --disable-external-toluapp \ + +$(eval $(autotools-package))