summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam McArthur <sandymac@gentoo.org>2002-04-20 18:26:23 +0000
committerWilliam McArthur <sandymac@gentoo.org>2002-04-20 18:26:23 +0000
commitdbef71a479fd2d9b28ab58dcec3723fdd38c6455 (patch)
tree02ef3440ada22300a9a2510c3cd541e950ce031e /x11-libs/ecore
parenttest ecore dir (diff)
downloadgentoo-2-dbef71a479fd2d9b28ab58dcec3723fdd38c6455.tar.gz
gentoo-2-dbef71a479fd2d9b28ab58dcec3723fdd38c6455.tar.bz2
gentoo-2-dbef71a479fd2d9b28ab58dcec3723fdd38c6455.zip
Added ecore, closes: http://bugs.gentoo.org/show_bug.cgi?id=1723
Diffstat (limited to 'x11-libs/ecore')
-rw-r--r--x11-libs/ecore/ChangeLog13
-rw-r--r--x11-libs/ecore/ecore-0.0.2.ebuild34
-rw-r--r--x11-libs/ecore/files/0.0.2/ecore-0.0.2-cxxfix.patch43
-rw-r--r--x11-libs/ecore/files/digest-ecore-0.0.21
4 files changed, 91 insertions, 0 deletions
diff --git a/x11-libs/ecore/ChangeLog b/x11-libs/ecore/ChangeLog
new file mode 100644
index 000000000000..b388efe5454b
--- /dev/null
+++ b/x11-libs/ecore/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for x11-libs/ecore
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/ecore/ChangeLog,v 1.1 2002/04/20 18:26:23 sandymac Exp $
+
+*ecore-0.0.2 (20 Apr 2002)
+
+ 20 Apr 2002; Leigh Dyer <lsd@linuxgamers.net> ecore-0.0.2.ebuild :
+
+ Ecore is the core event abstraction layer and X abstraction layer that makes
+ doing selections, Xdnd, general X stuff, and event loops, timeouts and idle
+ handlers fast, optimized, and convenient. it's a separate library so anyone
+ can make use of the work put into Ecore to make this job easy for
+ applications.
diff --git a/x11-libs/ecore/ecore-0.0.2.ebuild b/x11-libs/ecore/ecore-0.0.2.ebuild
new file mode 100644
index 000000000000..5a85593d1999
--- /dev/null
+++ b/x11-libs/ecore/ecore-0.0.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: Leigh Dyer <lsd@linuxgamers.net>
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/ecore/ecore-0.0.2.ebuild,v 1.1 2002/04/20 18:26:23 sandymac Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Convenience library for Xlib from the enlightenment project"
+SRC_URI="http://prdownloads.sourceforge.net/enlightenment/${P}.tar.gz"
+HOMEPAGE="http://www.enlightenment.org"
+
+DEPEND="x11-base/xfree"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # This patch fixes a function prototype that breaks C++ compilation
+ patch -p1 < ${FILESDIR}/${PVR}/ecore-0.0.2-cxxfix.patch || die
+}
+
+src_compile() {
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man || die "./configure failed"
+
+ emake || die
+}
+
+src_install () {
+ make DESTDIR=${D} install || die
+
+ dodoc README AUTHORS
+}
diff --git a/x11-libs/ecore/files/0.0.2/ecore-0.0.2-cxxfix.patch b/x11-libs/ecore/files/0.0.2/ecore-0.0.2-cxxfix.patch
new file mode 100644
index 000000000000..2121151b9f45
--- /dev/null
+++ b/x11-libs/ecore/files/0.0.2/ecore-0.0.2-cxxfix.patch
@@ -0,0 +1,43 @@
+diff -U2 -r ecore-0.0.2/src/Ecore.h ecore-0.0.2-lsd/src/Ecore.h
+--- ecore-0.0.2/src/Ecore.h Sun Apr 8 12:00:39 2001
++++ ecore-0.0.2-lsd/src/Ecore.h Sat Apr 13 21:14:31 2002
+@@ -21,4 +21,8 @@
+ #endif
+
++#ifdef __cplusplus
++extern "C" {
++#endif
++
+ #define XEV_NONE NoEventMask
+ #define XEV_KEY KeyPressMask | KeyReleaseMask
+@@ -205,5 +209,5 @@
+ void e_window_set_name_class(Window win, char *name,
+
+- char *class);
++ char *e_class);
+ void e_window_set_min_size(Window win, int w, int h);
+ void e_window_set_max_size(Window win, int w, int h);
+@@ -771,3 +775,7 @@
+ double e_get_time(void);
+
++#ifdef __cplusplus
++}
++#endif
++
+ #endif
+diff -U2 -r ecore-0.0.2/src/e_x.c ecore-0.0.2-lsd/src/e_x.c
+--- ecore-0.0.2/src/e_x.c Sun Apr 8 12:00:26 2001
++++ ecore-0.0.2-lsd/src/e_x.c Sat Apr 13 20:51:33 2002
+@@ -2213,10 +2213,10 @@
+
+ void
+-e_window_set_name_class(Window win, char *name, char *class)
++e_window_set_name_class(Window win, char *name, char *e_class)
+ {
+ XClassHint hint;
+
+ hint.res_name = name;
+- hint.res_class = class;
++ hint.res_class = e_class;
+ XSetClassHint(disp, win, &hint);
+ }
diff --git a/x11-libs/ecore/files/digest-ecore-0.0.2 b/x11-libs/ecore/files/digest-ecore-0.0.2
new file mode 100644
index 000000000000..07320ccd230e
--- /dev/null
+++ b/x11-libs/ecore/files/digest-ecore-0.0.2
@@ -0,0 +1 @@
+MD5 544fc26bbf996e1e15430fb31d212c2a ecore-0.0.2.tar.gz 146515