From 1e2012f3fb60852bf8eda1d50b7ab60aa2e13bdd Mon Sep 17 00:00:00 2001 From: Andraž Levstik Date: Tue, 17 Apr 2007 11:49:43 +0200 Subject: gnustep-back: update and revamp of the backend spells --- gnustep-libs/gnustep-back/BUILD | 18 ++++++++++++++++++ gnustep-libs/gnustep-back/CONFIGURE | 3 +++ gnustep-libs/gnustep-back/CONFLICTS | 3 +++ gnustep-libs/gnustep-back/DEPENDS | 27 +++++++++++++++++++++++++++ gnustep-libs/gnustep-back/DETAILS | 37 +++++++++++++++++++++++++++++++++++++ gnustep-libs/gnustep-back/FINAL | 4 ++++ gnustep-libs/gnustep-back/HISTORY | 4 ++++ gnustep-libs/gnustep-back/INSTALL | 6 ++++++ gnustep-libs/gnustep-back/PRE_BUILD | 7 +++++++ 9 files changed, 109 insertions(+) create mode 100755 gnustep-libs/gnustep-back/BUILD create mode 100755 gnustep-libs/gnustep-back/CONFIGURE create mode 100755 gnustep-libs/gnustep-back/CONFLICTS create mode 100755 gnustep-libs/gnustep-back/DEPENDS create mode 100755 gnustep-libs/gnustep-back/DETAILS create mode 100755 gnustep-libs/gnustep-back/FINAL create mode 100644 gnustep-libs/gnustep-back/HISTORY create mode 100755 gnustep-libs/gnustep-back/INSTALL create mode 100755 gnustep-libs/gnustep-back/PRE_BUILD (limited to 'gnustep-libs/gnustep-back') diff --git a/gnustep-libs/gnustep-back/BUILD b/gnustep-libs/gnustep-back/BUILD new file mode 100755 index 0000000000..63b2b953be --- /dev/null +++ b/gnustep-libs/gnustep-back/BUILD @@ -0,0 +1,18 @@ +. ${TRACK_ROOT}/usr/share/GNUstep/Makefiles/GNUstep.sh +local backend opts +for backend in $GNUSTEP_BACKEND ; do +opts="--enable-server=x11 --enable-graphics=$backend --with-name=$backend" +pushd $SOURCE_DIRECTORY.$backend +OPTS="$OPTS --build=${BUILD}"; +[[ $CROSS_INSTALL == on ]] && OPTS="$OPTS --host=${HOST}"; +./configure \ + --prefix=${INSTALL_ROOT}/usr \ + --sysconfdir=${INSTALL_ROOT}/etc \ + --localstatedir=${INSTALL_ROOT}/var \ + --mandir=${INSTALL_ROOT}/usr/share/man \ + --infodir=${INSTALL_ROOT}/usr/share/info \ + $opts \ + $OPTS && +make +popd +done diff --git a/gnustep-libs/gnustep-back/CONFIGURE b/gnustep-libs/gnustep-back/CONFIGURE new file mode 100755 index 0000000000..4c00df7d3a --- /dev/null +++ b/gnustep-libs/gnustep-back/CONFIGURE @@ -0,0 +1,3 @@ +. $GRIMOIRE/config_query_multi.function +config_query_multi GNUSTEP_BACKEND "Which backends do you want to use?" \ + art xlib cairo diff --git a/gnustep-libs/gnustep-back/CONFLICTS b/gnustep-libs/gnustep-back/CONFLICTS new file mode 100755 index 0000000000..4920994d0b --- /dev/null +++ b/gnustep-libs/gnustep-back/CONFLICTS @@ -0,0 +1,3 @@ +conflicts gnustep-back-art y +conflicts gnustep-back-xlib y + diff --git a/gnustep-libs/gnustep-back/DEPENDS b/gnustep-libs/gnustep-back/DEPENDS new file mode 100755 index 0000000000..da157d28f8 --- /dev/null +++ b/gnustep-libs/gnustep-back/DEPENDS @@ -0,0 +1,27 @@ +depends gnustep-gui && +depends X11-LIBS && +depends freetype2 && +depends tiff && +if list_find art $GNUSTEP_BACKEND ; then +depends libart_lgpl +fi && +if list_find cairo $GNUSTEP_BACKEND ; then +depends cairo +fi && +optional_depends glitz \ + "--enable-glitz" \ + "--disable-glitz" \ + "Enable glitz support" && +optional_depends OPENGL \ + "--enable-glx" \ + "--disable-glx" \ + "Enable GLX support" +. $GRIMOIRE/FUNCTIONS +if check_if_xorg_modular_libs ; then +depends libice && +depends libxi && +depends libxft && +depends libxrender +fi && +depends expat && +depends fontconfig diff --git a/gnustep-libs/gnustep-back/DETAILS b/gnustep-libs/gnustep-back/DETAILS new file mode 100755 index 0000000000..dbe18a964a --- /dev/null +++ b/gnustep-libs/gnustep-back/DETAILS @@ -0,0 +1,37 @@ + SPELL=gnustep-back + VERSION=0.12.0 + SOURCE=$SPELL-$VERSION.tar.gz + SOURCE2=$SOURCE.sig +SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION + SOURCE_URL[0]=ftp://ftp.gnustep.org/pub/gnustep/core/$SOURCE + SOURCE_URL[1]=http://ftp.easynet.nl/mirror/GNUstep/pub/gnustep/core/$SOURCE + SOURCE2_URL[0]=ftp://ftp.gnustep.org/pub/gnustep/core/$SOURCE2 + SOURCE2_URL[1]=http://ftp.easynet.nl/mirror/GNUstep/pub/gnustep/core/$SOURCE2 + WEB_SITE=http://www.gnustep.org + SOURCE_GPG=gnustep.gpg:$SOURCE2:UPSTREAM_KEY + SOURCE2_IGNORE=signature + LICENSE[0]=LGPL + ENTERED=20050908 + KEYWORDS="gnustep libs" + SHORT="It is a back-end component for the GNUstep GUI Library." + +cat << EOF +It is a back-end component for the GNUstep GUI Library. The +implementation of the GNUstep GUI Library is designed in two parts. The +first part is the front-end component which is independent of platform +and display system. This front-end is combined with a back-end +component which handles all of the display system dependent such as +specific calls to the X Window System. This design allows the GNUstep +applications to have the "look and feel" of the underlying display +system without any changes to the application, and the library can be +easily ported to other display systems. + + The GNUstep GUI Backend is for platforms using the X-Window System or +Window's Systems. It works via a DPS emulation engine to emulate the +DPS functions required by the front-end system. + +This is the art graphic enabled version. +EOF + + + diff --git a/gnustep-libs/gnustep-back/FINAL b/gnustep-libs/gnustep-back/FINAL new file mode 100755 index 0000000000..33b98ae7ee --- /dev/null +++ b/gnustep-libs/gnustep-back/FINAL @@ -0,0 +1,4 @@ +local backend +for backend in $GNUSTEP_BACKEND ; do +rm -rf $SOURCE_DIRECTORY.$backend +done diff --git a/gnustep-libs/gnustep-back/HISTORY b/gnustep-libs/gnustep-back/HISTORY new file mode 100644 index 0000000000..d42bb4444a --- /dev/null +++ b/gnustep-libs/gnustep-back/HISTORY @@ -0,0 +1,4 @@ +2007-04-16 Andraž "ruskie" Levstik + * BUILD,CONFIGURE,DEPENDS,DETAILS: created spell + * FINAL,HISTORY,INSTALL,PRE_BUILD: created spell + * CONFILCTS,TRIGGERS: created spell diff --git a/gnustep-libs/gnustep-back/INSTALL b/gnustep-libs/gnustep-back/INSTALL new file mode 100755 index 0000000000..34563e6492 --- /dev/null +++ b/gnustep-libs/gnustep-back/INSTALL @@ -0,0 +1,6 @@ +. ${TRACK_ROOT}/usr/share/GNUstep/Makefiles/GNUstep.sh +local backend +for backend in $GNUSTEP_BACKEND ; do + cd $SOURCE_DIRECTORY.$backend && + default_install +done diff --git a/gnustep-libs/gnustep-back/PRE_BUILD b/gnustep-libs/gnustep-back/PRE_BUILD new file mode 100755 index 0000000000..f5d7b11382 --- /dev/null +++ b/gnustep-libs/gnustep-back/PRE_BUILD @@ -0,0 +1,7 @@ +default_pre_build && +local backend && +for backend in $GNUSTEP_BACKEND ; do + rm -rf $SOURCE_DIRECTORY.$backend && + cp -ar $SOURCE_DIRECTORY $SOURCE_DIRECTORY.$backend +done + -- cgit v1.2.3