summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2009-01-23 20:13:20 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2009-01-23 20:13:20 +0000
commit71b6d21a9203ad656b0613999869946594b884ef (patch)
tree4e9c8658840aefb57d222689d1cd7e737d775770 /app-misc/tasque
parentppc stable (diff)
downloadgentoo-2-71b6d21a9203ad656b0613999869946594b884ef.tar.gz
gentoo-2-71b6d21a9203ad656b0613999869946594b884ef.tar.bz2
gentoo-2-71b6d21a9203ad656b0613999869946594b884ef.zip
Add Tasque. Ebuild by Andreas Proschofsky, bugs by me :-).
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/tasque')
-rw-r--r--app-misc/tasque/ChangeLog11
-rw-r--r--app-misc/tasque/files/tasque-0.1.8-debug-fixup.patch183
-rw-r--r--app-misc/tasque/metadata.xml17
-rw-r--r--app-misc/tasque/tasque-0.1.8.ebuild67
4 files changed, 278 insertions, 0 deletions
diff --git a/app-misc/tasque/ChangeLog b/app-misc/tasque/ChangeLog
new file mode 100644
index 000000000000..44f3024839c4
--- /dev/null
+++ b/app-misc/tasque/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-misc/tasque
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tasque/ChangeLog,v 1.1 2009/01/23 20:13:19 loki_val Exp $
+
+*tasque-0.1.8 (23 Jan 2009)
+
+ 23 Jan 2009; Peter Alfredsen <loki_val@gentoo.org>
+ +files/tasque-0.1.8-debug-fixup.patch, +metadata.xml,
+ +tasque-0.1.8.ebuild:
+ Add Tasque. Ebuild by Andreas Proschofsky, bugs by me :-).
+
diff --git a/app-misc/tasque/files/tasque-0.1.8-debug-fixup.patch b/app-misc/tasque/files/tasque-0.1.8-debug-fixup.patch
new file mode 100644
index 000000000000..8fbe3426a8de
--- /dev/null
+++ b/app-misc/tasque/files/tasque-0.1.8-debug-fixup.patch
@@ -0,0 +1,183 @@
+http://bugzilla.gnome.org/show_bug.cgi?id=566355
+
+diff -NrU5 tasque-0.1.8.orig/configure.ac tasque-0.1.8/configure.ac
+--- tasque-0.1.8.orig/configure.ac 2009-01-09 18:44:30.000000000 +0100
++++ tasque-0.1.8/configure.ac 2009-01-09 19:19:06.000000000 +0100
+@@ -53,39 +53,12 @@
+ AC_SUBST(NOTIFY_SHARP_LIBS)
+
+ AC_ARG_ENABLE(debug,
+ AC_HELP_STRING([--enable-debug],
+ [Use 'Debug' Configuration [default=yes]]),
+- enable_debug=$enableval, enable_debug=no)
++ enable_debug=$enableval, enable_debug=yes)
+ AM_CONDITIONAL(ENABLE_DEBUG, test "x$enable_debug" = "xyes")
+-if test "x$enable_debug" = "xyes" ; then
+-# DEBUG_CONFIG_LIBRARIES=' ${pkglibdir}/Db4objects.Db4o.dll'
+-# DEBUG_CONFIG_LIBS=' -r:${pkglibdir}/Db4objects.Db4o.dll'
+-# AC_SUBST(DEBUG_CONFIG_LIBRARIES)
+-# AC_SUBST(DEBUG_CONFIG_LIBS)
+- CONFIG_REQUESTED="yes"
+-fi
+-AC_ARG_ENABLE(release,
+- AC_HELP_STRING([--enable-release],
+- [Use 'Release' Configuration [default=no]]),
+- enable_release=$enableval, enable_release=no)
+-AM_CONDITIONAL(ENABLE_RELEASE, test "x$enable_release" = "xyes")
+-if test "x$enable_release" = "xyes" ; then
+-# RELEASE_CONFIG_LIBRARIES=' ${pkglibdir}/Db4objects.Db4o.dll'
+-# RELEASE_CONFIG_LIBS=' -r:${pkglibdir}/Db4objects.Db4o.dll'
+-# AC_SUBST(RELEASE_CONFIG_LIBRARIES)
+-# AC_SUBST(RELEASE_CONFIG_LIBS)
+- CONFIG_REQUESTED="yes"
+-fi
+-if test -z "$CONFIG_REQUESTED" ; then
+-# DEBUG_CONFIG_LIBRARIES=' ${pkglibdir}/Db4objects.Db4o.dll'
+-# DEBUG_CONFIG_LIBS=' -r:${pkglibdir}/Db4objects.Db4o.dll'
+-# AC_SUBST(DEBUG_CONFIG_LIBRARIES)
+-# AC_SUBST(DEBUG_CONFIG_LIBS)
+- AM_CONDITIONAL(ENABLE_DEBUG, true)
+-fi
+-
+
+ #
+ # DEFINES uses for #if statements
+ #
+ AC_ARG_WITH(dbus_service_dir, [ --with-dbus-service-dir=DIR Where to install Tasque's DBus service file.])
+@@ -225,11 +198,10 @@
+ echo "
+ Configuration:
+
+ Prefix: ${prefix}
+ Debug build: ${enable_debug}
+- Release build: ${enable_release}
+ Notification: ${enable_notify_sharp}
+ Dummy Backend: ${enable_backend_dummy}
+ Evolution Backend: ${enable_backend_eds}
+ ICECore Backend: ${enable_backend_icecore}
+ RTM Backend: ${enable_backend_rtm}
+diff -NrU5 tasque-0.1.8.orig/RtmNet/Makefile.am tasque-0.1.8/RtmNet/Makefile.am
+--- tasque-0.1.8.orig/RtmNet/Makefile.am 2009-01-09 18:44:30.000000000 +0100
++++ tasque-0.1.8/RtmNet/Makefile.am 2009-01-09 19:26:42.000000000 +0100
+@@ -1,16 +1,18 @@
+ CSC = $(GMCS)
+
+ TARGET = RtmNet.dll
+
++CSFLAGS = -t:library -noconfig -codepage:utf8
++
+ if ENABLE_DEBUG
+-CSFLAGS = -t:library -noconfig -codepage:utf8 -warn:4 -debug -d:DEBUG
+-endif
+-if ENABLE_RELEASE
+-CSFLAGS = -t:library -noconfig -codepage:utf8 -warn:4
++CSFLAGS += -warn:4 -debug -d:DEBUG
++TARGET_DEBUG_FILE = $(TARGET).mdb
++$(TARGET).mdb: $(TARGET)
+ endif
+
++
+ CSFILES = \
+ $(srcdir)/ApiKeyRequiredException.cs \
+ $(srcdir)/AssemblyInfo.cs \
+ $(srcdir)/Auth.cs \
+ $(srcdir)/AuthenticationRequiredException.cs \
+@@ -45,20 +47,20 @@
+
+ $(TARGET): $(CSFILES)
+ $(CSC) -unsafe -out:$@ $(CSFLAGS) $^ $(ASSEMBLIES) $(RESOURCES)
+
+ tasquelibdir = $(prefix)/lib/tasque
+-tasquelib_DATA = $(TARGET)
++tasquelib_DATA = $(TARGET) $(TARGET_DEBUG_FILE)
+
+ bin_SCRIPTS = $(WRAPPER)
+
+
+ EXTRA_DIST = \
+ $(CSFILES)
+
+ CLEANFILES = \
+- $(TARGET) \
+- $(TARGET).mdb
++ $(TARGET_DEBUG_FILE) \
++ $(TARGET)
+
+ DISTCLEANFILES = \
+- $(TARGET) \
+- $(TARGET).mdb
++ $(TARGET_DEBUG_FILE) \
++ $(TARGET)
+diff -NrU5 tasque-0.1.8.orig/src/Makefile.am tasque-0.1.8/src/Makefile.am
+--- tasque-0.1.8.orig/src/Makefile.am 2009-01-09 18:44:30.000000000 +0100
++++ tasque-0.1.8/src/Makefile.am 2009-01-09 19:15:58.000000000 +0100
+@@ -2,20 +2,21 @@
+
+ CSC = $(GMCS)
+
+ TARGET = Tasque.exe
+ WRAPPER = tasque
++CSFLAGS = -noconfig -codepage:utf8
+
+ if GTK_2_12
+ GTK_2_12_CSFLAGS = -define:GTK_2_12
++CSFLAGS += $(GTK_2_12_CSFLAGS)
+ endif
+
+ if ENABLE_DEBUG
+-CSFLAGS = -noconfig -codepage:utf8 -warn:4 -debug -d:DEBUG $(GTK_2_12_CSFLAGS)
+-endif
+-if ENABLE_RELEASE
+-CSFLAGS = -noconfig -codepage:utf8 -warn:4 $(GTK_2_12_CSFLAGS)
++CSFLAGS += -warn:4 -debug -d:DEBUG
++TARGET_DEBUG_FILE = $(TARGET).mdb
++$(TARGET).mdb: $(TARGET)
+ endif
+
+ if ENABLE_NOTIFY_SHARP
+ NOTIFY_SHARP_CSFLAGS = -define:ENABLE_NOTIFY_SHARP
+ endif
+@@ -138,11 +139,11 @@
+
+ $(TARGET): $(CSFILES) Defines.cs
+ $(CSC) -unsafe -out:$@ $(CSFLAGS) $(NOTIFY_SHARP_CSFLAGS) $^ $(ASSEMBLIES) $(RESOURCES)
+
+ tasquelibdir = $(libdir)/tasque
+-tasquelib_DATA = $(TARGET) $(TARGET).config $(TARGET).mdb
++tasquelib_DATA = $(TARGET) $(TARGET).config $(TARGET_DEBUG_FILE)
+
+ bin_SCRIPTS = $(WRAPPER)
+
+ $(WRAPPER): $(srcdir)/$(WRAPPER).in Makefile
+ sed -e "s|\@prefix\@|$(prefix)|g" \
+@@ -154,12 +155,10 @@
+ -e "s|\@wrapper\@|$(WRAPPER)|g" \
+ -e "s|\@srcdir\@|$(PWD)|g" \
+ < $< > $@
+ chmod +x $(WRAPPER)
+
+-$(TARGET).mdb: $(TARGET)
+-
+ $(TARGET).config: $(srcdir)/$(TARGET).config.in Makefile
+ sed -e "s|\@pkglibdir\@|$(pkglibdir)|" \
+ < $< > $@
+
+ Defines.cs: $(srcdir)/Defines.cs.in Makefile
+@@ -187,15 +186,15 @@
+ pkgconfig_DATA = tasque.pc
+
+ CLEANFILES = \
+ $(TARGET) \
+ $(TARGET).config \
+- $(TARGET).mdb \
++ $(TARGET_DEBUG_FILE) \
+ $(WRAPPER) \
+ Defines.cs
+
+ DISTCLEANFILES = \
+ $(WRAPPER) \
+ $(TARGET) \
+ $(TARGET).config \
+- $(TARGET).mdb \
++ $(TARGET_DEBUG_FILE) \
+ Defines.cs
diff --git a/app-misc/tasque/metadata.xml b/app-misc/tasque/metadata.xml
new file mode 100644
index 000000000000..0d070c987577
--- /dev/null
+++ b/app-misc/tasque/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>dotnet</herd>
+ <maintainer>
+ <email>suka@gentoo.org</email>
+ <name>Andreas Proschofsky</name>
+ </maintainer>
+ <use>
+ <flag name='rememberthemilk'>
+ Allows you to use http://www.rememberthemilk.com/ as your storage backend.
+ </flag>
+ <flag name='hiveminder'>
+ Allows you to use http://www.hiveminder.com/ as your storage backend.
+ </flag>
+ </use>
+</pkgmetadata>
diff --git a/app-misc/tasque/tasque-0.1.8.ebuild b/app-misc/tasque/tasque-0.1.8.ebuild
new file mode 100644
index 000000000000..ce6eba63d40c
--- /dev/null
+++ b/app-misc/tasque/tasque-0.1.8.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2000-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tasque/tasque-0.1.8.ebuild,v 1.1 2009/01/23 20:13:19 loki_val Exp $
+
+EAPI=2
+
+inherit gnome.org mono autotools
+
+DESCRIPTION="Tasky is a simple task management app (TODO list) for the Linux Desktop"
+HOMEPAGE="http://live.gnome.org/Tasque"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="+rememberthemilk eds +sqlite hiveminder debug"
+
+RDEPEND=">=dev-dotnet/gtk-sharp-2.12.7-r5
+ >=dev-dotnet/gnome-sharp-2.24.0
+ >=dev-dotnet/notify-sharp-0.4.0_pre20080912
+ >=dev-dotnet/dbus-sharp-0.6
+ >=dev-dotnet/dbus-glib-sharp-0.4
+ eds? ( >=dev-dotnet/evolution-sharp-0.18.1 )
+ sqlite? ( dev-db/sqlite:3 )
+ "
+
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ BACKEND=false
+ for usef in eds sqlite hiveminder rememberthemilk
+ do
+ use $usef && BACKEND=true
+ done
+ if [[ "${BACKEND}" != "true" ]]
+ then
+ eerror "You must select one of the following backends by enabling their useflag:"
+ eerror "eds ( integrates with the evolution schedule )"
+ eerror "sqlite ( uses a local, file-backed database to keep track of your TODO list )"
+ eerror "rememberthemilk ( integrates with www.rememberthemilk.com )"
+ eerror "hiveminder ( integrates with www.hiveminder.com )"
+ die "Please select a backend"
+ fi
+}
+
+
+src_prepare() {
+ #http://bugzilla.gnome.org/show_bug.cgi?id=566355
+ epatch "${FILESDIR}"/${P}-debug-fixup.patch
+ eautoreconf
+}
+
+src_configure() {
+ #http://bugzilla.gnome.org/show_bug.cgi?id=568910
+ export GTK_DOTNET_20_LIBS=" " \
+ GTK_DOTNET_20_CFLAGS=" "
+ econf --disable-backend-icecore \
+ --enable-backend-rtm \
+ $(use_enable sqlite backend-sqlite) \
+ $(use_enable eds backend-eds) \
+ $(use_enable hiveminder backend-hiveminder) \
+ $(use_enable debug)
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "emake failed"
+ dodoc NEWS TODO README AUTHORS || die "docs installation failed"
+}