summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Klar <phoenix@gentoo.org>2002-10-20 10:48:00 +0000
committerTilman Klar <phoenix@gentoo.org>2002-10-20 10:48:00 +0000
commitd2a77fe9f1bd18418cdd9f24474085853d14abf5 (patch)
treecb30a09f1068fe2baa658342204c02327a8533c3 /fresco-base
parentremove bogus patch (diff)
downloadhistorical-d2a77fe9f1bd18418cdd9f24474085853d14abf5.tar.gz
historical-d2a77fe9f1bd18418cdd9f24474085853d14abf5.tar.bz2
historical-d2a77fe9f1bd18418cdd9f24474085853d14abf5.zip
Initial import of fresco-cvs
Diffstat (limited to 'fresco-base')
-rw-r--r--fresco-base/fresco-cvs/ChangeLog13
-rw-r--r--fresco-base/fresco-cvs/files/digest-fresco-cvs-200210200
-rw-r--r--fresco-base/fresco-cvs/files/gcc-3.2.patch.bz2bin0 -> 5177 bytes
-rw-r--r--fresco-base/fresco-cvs/files/rundemo.sh21
-rw-r--r--fresco-base/fresco-cvs/fresco-cvs-20021020.ebuild61
5 files changed, 95 insertions, 0 deletions
diff --git a/fresco-base/fresco-cvs/ChangeLog b/fresco-base/fresco-cvs/ChangeLog
new file mode 100644
index 000000000000..ec1bf8227739
--- /dev/null
+++ b/fresco-base/fresco-cvs/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for fresco-base/fresco-cvs
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/fresco-base/fresco-cvs/ChangeLog,v 1.1 2002/10/20 10:48:00 phoenix Exp $
+
+*fresco-20021020.ebuild (20 Oct 2002)
+
+ 20 Oct 2002; phoen][x <phoenix@gentoo.org> fresco-cvs-20021006.ebuild
+ files/digest-fresco-cvs-20021006, files/gcc-3.2.patch.bz2, files/rundemo.sh :
+
+ Initial import. This is the cvs ebuild for fresco. Fresco is far from
+ finished, so it makes definitely no sense to have a static ebuild for
+ it yet. This ebuild features a gcc3.2 patch and a nice runscript which
+ makes it possible to run fresco w/o omniORB.
diff --git a/fresco-base/fresco-cvs/files/digest-fresco-cvs-20021020 b/fresco-base/fresco-cvs/files/digest-fresco-cvs-20021020
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/fresco-base/fresco-cvs/files/digest-fresco-cvs-20021020
diff --git a/fresco-base/fresco-cvs/files/gcc-3.2.patch.bz2 b/fresco-base/fresco-cvs/files/gcc-3.2.patch.bz2
new file mode 100644
index 000000000000..2b37a6065cc5
--- /dev/null
+++ b/fresco-base/fresco-cvs/files/gcc-3.2.patch.bz2
Binary files differ
diff --git a/fresco-base/fresco-cvs/files/rundemo.sh b/fresco-base/fresco-cvs/files/rundemo.sh
new file mode 100644
index 000000000000..ff90d0829a67
--- /dev/null
+++ b/fresco-base/fresco-cvs/files/rundemo.sh
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+TMPFILE="/tmp/orbref"
+if([ -e ${TMPFILE} ]) then
+ echo "${TMPFILE} already exists. Delete it please."
+ exit
+fi
+
+pushd /opt/fresco &> /dev/null
+
+echo "Starting up the server..."
+bin/server -R ior &> ${TMPFILE} &
+sleep 2
+
+REF=`head -1 ${TMPFILE} | cut -d " " -f 3`
+rm ${TMPFILE}
+
+echo "Starting the demo..."
+bin/demo -ORBInitRef ${REF}
+
+popd &> /dev/null
diff --git a/fresco-base/fresco-cvs/fresco-cvs-20021020.ebuild b/fresco-base/fresco-cvs/fresco-cvs-20021020.ebuild
new file mode 100644
index 000000000000..3f6a72852bbb
--- /dev/null
+++ b/fresco-base/fresco-cvs/fresco-cvs-20021020.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/fresco-base/fresco-cvs/fresco-cvs-20021020.ebuild,v 1.1 2002/10/20 10:48:00 phoenix Exp $
+
+ECVS_SERVER="cvs.fresco.org:/cvs/fresco"
+ECVS_MODULE="Fresco"
+#ECVS_BRANCH=${PN/cvs/}${PV/./-}
+ECVS_TOP_DIR="${DISTDIR}/cvs-src/${ECVS_BRANCH}"
+
+inherit cvs
+inherit gcc
+
+MY_PN="${PN/fresco-cvs/Fresco}"
+S="${WORKDIR}/${MY_PN}"
+DESCRIPTION="fresco -- A free X11 replacement which is under heavy development. CVS ebuild."
+HOMEPAGE="http://www2.fresco.org"
+LICENSE="fresco"
+SLOT="0"
+KEYWORDS="~x86"
+PATCH="gcc-3.2.patch"
+
+DEPEND="net-misc/omniORB
+ media-libs/libggi
+ media-libs/libsdl
+ dev-libs/DirectFB
+ virtual/opengl
+ media-libs/libart_lgpl
+ >=media-libs/freetype-2.0.0
+ sys-libs/zlib
+ media-libs/libpng
+ fresco-base/fresco-env"
+
+
+src_compile() {
+ cd ${S}
+
+ # Apply the patch on gcc3.2 boxes
+ if([ "`gcc-version`" == "3.2" ]) then
+ einfo "GCC 3.2 found. Applying patch"
+ cp ${FILESDIR}/${PATCH}.bz2 ${S}
+ bunzip2 ${S}/${PATCH}.bz2
+ patch -p0 < ${PATCH}
+ fi
+
+ ./autogen.sh || die "autogen.sh failed"
+ ./configure || die "configure failed"
+ make configure_args="--prefix=/opt/fresco --enable-tracer" || die "make failed"
+}
+
+src_install () {
+ make DESTDIR=${D} install || die
+ exeinto /opt/fresco
+ doexe ${FILESDIR}/rundemo.sh
+ dodoc INSTALL README
+}
+
+pkg_postinst () {
+ einfo "***********************************************"
+ einfo "* Use /opt/fresco/rundemo.sh to run the demo. *"
+ einfo "***********************************************"
+}