From patchwork Wed Oct 24 21:25:35 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: 193965 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 C20DE2C009B for ; Thu, 25 Oct 2012 08:27:57 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 961A931016; Wed, 24 Oct 2012 21:27:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gAEYsSZ3PqTh; Wed, 24 Oct 2012 21:27:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 8FD2831046; Wed, 24 Oct 2012 21:27:17 +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 B50798F74A for ; Wed, 24 Oct 2012 21:26:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 631B08C900 for ; Wed, 24 Oct 2012 21:26:39 +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 q2t8CpKxIbJk for ; Wed, 24 Oct 2012 21:26:29 +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 406938C846 for ; Wed, 24 Oct 2012 21:26:29 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id s43so650111wey.16 for ; Wed, 24 Oct 2012 14:26:28 -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=I5Vg7dmxdB6GdliYJ9RhsGS37ULCQ7Pi0/lnGgO4qRw=; b=r3F/Qe2FKPiN18oxfR4ng/X0OpCUwm+LOKoEVO14rPGdjq1IEZs7vU9NT2w6icDCgy P1AWYxgm2iP2O92/Xn0fhvdUsuO1RpXPvb46aqF8alBHxU47rOmTUE9EqA0DkEp5fWxp S4+JJiaymt9r20VY9LKXfSXPboq/MCxce7WefbuQwB55+gg4EqWPVzYQ8IyHovGc9OnB qPRJHFnEgdBRRIp7lWeH9wNuDPas6VsRqPP9Bh5PIAgyZT5ky8LBakgtPqtVSrsnwR0c OCCtYOEtgL3Q1UVdf05x+CL6cu5IO29VGpz9nNWJ91GRifpkSE7yZtlXJz1qzwlWxtlZ lcaQ== Received: by 10.216.140.131 with SMTP id e3mr9391074wej.134.1351113988785; Wed, 24 Oct 2012 14:26:28 -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.28 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 24 Oct 2012 14:26:28 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Wed, 24 Oct 2012 23:25:35 +0200 Message-Id: <1351113973-17237-10-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 09/47] package/libcegui: 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 Signed-off-by: "Yann E. MORIN" --- package/Config.in | 1 + package/cegui06/Config.in | 14 +++++++++++++ package/cegui06/cegui06-stddef.h.patch | 26 ++++++++++++++++++++++++ package/cegui06/cegui06.mk | 34 ++++++++++++++++++++++++++++++++ 4 files changed, 75 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 330d8a3..97d38af 100644 --- a/package/Config.in +++ b/package/Config.in @@ -108,6 +108,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..7225f9c --- /dev/null +++ b/package/cegui06/Config.in @@ -0,0 +1,14 @@ +config BR2_PACKAGE_CEGUI06 + bool "libcegui06" + 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..2f562ac --- /dev/null +++ b/package/cegui06/cegui06.mk @@ -0,0 +1,34 @@ +############################################################# +# +# libcegui +# +############################################################# + +CEGUI06_VERSION = 0.6.2 +CEGUI06_SOURCE = CEGUI-$(CEGUI06_VERSION)b.tar.gz +CEGUI06_SITE = http://downloads.sourceforge.net/project/crayzedsgui/CEGUI%20Mk-2/$(CEGUI06_VERSION) +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))