summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gpe-base/libeventdb')
-rw-r--r--gpe-base/libeventdb/ChangeLog11
-rw-r--r--gpe-base/libeventdb/files/libeventdb-unbreak-LIVE-macro.patch11
-rw-r--r--gpe-base/libeventdb/libeventdb-0.90.ebuild28
-rw-r--r--gpe-base/libeventdb/metadata.xml8
4 files changed, 58 insertions, 0 deletions
diff --git a/gpe-base/libeventdb/ChangeLog b/gpe-base/libeventdb/ChangeLog
new file mode 100644
index 000000000000..6b0b8426439c
--- /dev/null
+++ b/gpe-base/libeventdb/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for gpe-base/libeventdb
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/gpe-base/libeventdb/ChangeLog,v 1.1 2009/03/01 00:23:21 solar Exp $
+
+*libeventdb-0.90 (01 Mar 2009)
+
+ 01 Mar 2009; <solar@gentoo.org>
+ +files/libeventdb-unbreak-LIVE-macro.patch, +metadata.xml,
+ +libeventdb-0.90.ebuild:
+ Initial commit
+
diff --git a/gpe-base/libeventdb/files/libeventdb-unbreak-LIVE-macro.patch b/gpe-base/libeventdb/files/libeventdb-unbreak-LIVE-macro.patch
new file mode 100644
index 000000000000..e5da0afc89ca
--- /dev/null
+++ b/gpe-base/libeventdb/files/libeventdb-unbreak-LIVE-macro.patch
@@ -0,0 +1,11 @@
+--- libeventdb-0.90/event.h.orig 2008-03-13 23:05:10.000000000 -0700
++++ libeventdb-0.90/event.h 2008-03-13 23:05:40.000000000 -0700
+@@ -130,7 +130,7 @@ extern GSList *event_list (EventSource *
+ GError **error)
+ __attribute__ ((visibility ("hidden")));
+
+-#define LIVE(ev) (g_assert (! EVENT (ev)->dead))
++#define LIVE(ev) G_STMT_START { g_assert (! EVENT (ev)->dead); } G_STMT_END
+
+ /* Marks the event as well as the calendar in which lives as
+ modified. */
diff --git a/gpe-base/libeventdb/libeventdb-0.90.ebuild b/gpe-base/libeventdb/libeventdb-0.90.ebuild
new file mode 100644
index 000000000000..06dc8ab9385a
--- /dev/null
+++ b/gpe-base/libeventdb/libeventdb-0.90.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gpe-base/libeventdb/libeventdb-0.90.ebuild,v 1.1 2009/03/01 00:23:21 solar Exp $
+
+GPE_TARBALL_SUFFIX="bz2"
+
+inherit gpe eutils
+
+DESCRIPTION="Database access library for GPE calendar"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~arm ~amd64 ~x86"
+IUSE="${IUSE}"
+DOCS="ChangeLog"
+
+src_unpack() {
+ gpe_src_unpack "$@"
+
+ epatch "${FILESDIR}"/libeventdb-unbreak-LIVE-macro.patch
+}
+
+RDEPEND="${RDEPEND}
+ >=gpe-base/libgpewidget-0.113
+ >=gpe-base/libgpepimc-0.6
+ =dev-db/sqlite-2.8*"
+
+DEPEND="${DEPEND} ${RDEPEND}"
diff --git a/gpe-base/libeventdb/metadata.xml b/gpe-base/libeventdb/metadata.xml
new file mode 100644
index 000000000000..cb08cb1d4795
--- /dev/null
+++ b/gpe-base/libeventdb/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>gpe</herd>
+<maintainer>
+ <email>gpe@gentoo.org</email>
+</maintainer>
+</pkgmetadata>