diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-24 04:34:48 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-24 04:34:48 +0800 |
commit | 6a6af1c7727308fd81d3fa8cfd8a67a1d79e80c6 (patch) | |
tree | 81f3a8c4095040ea7f5dc4fabf06780b4abd2111 /deskutils/gtodo | |
parent | 3f2d648b714133754d45834582aebaf05cef4600 (diff) | |
download | marcuscom-ports-6a6af1c7727308fd81d3fa8cfd8a67a1d79e80c6.tar marcuscom-ports-6a6af1c7727308fd81d3fa8cfd8a67a1d79e80c6.tar.gz marcuscom-ports-6a6af1c7727308fd81d3fa8cfd8a67a1d79e80c6.tar.bz2 marcuscom-ports-6a6af1c7727308fd81d3fa8cfd8a67a1d79e80c6.tar.lz marcuscom-ports-6a6af1c7727308fd81d3fa8cfd8a67a1d79e80c6.tar.xz marcuscom-ports-6a6af1c7727308fd81d3fa8cfd8a67a1d79e80c6.tar.zst marcuscom-ports-6a6af1c7727308fd81d3fa8cfd8a67a1d79e80c6.zip |
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9242 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils/gtodo')
-rw-r--r-- | deskutils/gtodo/Makefile | 28 | ||||
-rw-r--r-- | deskutils/gtodo/distinfo | 3 | ||||
-rw-r--r-- | deskutils/gtodo/files/patch-libgtodo-libgtodo.c | 47 | ||||
-rw-r--r-- | deskutils/gtodo/pkg-descr | 5 | ||||
-rw-r--r-- | deskutils/gtodo/pkg-plist | 13 |
5 files changed, 96 insertions, 0 deletions
diff --git a/deskutils/gtodo/Makefile b/deskutils/gtodo/Makefile new file mode 100644 index 000000000..cced0855c --- /dev/null +++ b/deskutils/gtodo/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: gtodo +# Date created: 29 September 2003 +# Whom: Mezz <mezz7@cox.net> +# +# $FreeBSD$ +# + +PORTNAME= gtodo +PORTVERSION= 0.14 +PORTREVISION= 6 +CATEGORIES= deskutils gnome +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= gtodo + +MAINTAINER= ports@FreeBSD.org +COMMENT= An Gtk2 Todo list manager + +USE_GMAKE= yes +USE_GETTEXT= yes +USE_X_PREFIX= yes +USE_GNOME= gnomeprefix gnomehack gnometarget gnomevfs2 +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +GCONF_SCHEMAS= gtodo.schemas + +.include <bsd.port.mk> diff --git a/deskutils/gtodo/distinfo b/deskutils/gtodo/distinfo new file mode 100644 index 000000000..a30b10c8b --- /dev/null +++ b/deskutils/gtodo/distinfo @@ -0,0 +1,3 @@ +MD5 (gtodo-0.14.tar.gz) = 51f5d71c51374931a24cce1839402457 +SHA256 (gtodo-0.14.tar.gz) = 4cd0a263f9a4ab2b45ed1677fe933bc79a46766083936b8b004aab67798475e8 +SIZE (gtodo-0.14.tar.gz) = 198798 diff --git a/deskutils/gtodo/files/patch-libgtodo-libgtodo.c b/deskutils/gtodo/files/patch-libgtodo-libgtodo.c new file mode 100644 index 000000000..3da2a8d6b --- /dev/null +++ b/deskutils/gtodo/files/patch-libgtodo-libgtodo.c @@ -0,0 +1,47 @@ +--- libgtodo/libgtodo.c.orig Sun Feb 15 22:03:09 2004 ++++ libgtodo/libgtodo.c Sun Mar 7 21:58:55 2004 +@@ -770,10 +770,10 @@ + GTodoClient * gtodo_client_new_default(GError **error) + { + GError *tmp_error = NULL; ++ GTodoClient *cl = NULL; + /* check if the error is good or wrong. */ + g_return_val_if_fail(error == NULL || *error == NULL,FALSE); + +- GTodoClient *cl = NULL; + cl = g_malloc(sizeof(GTodoClient)); + cl->xml_path = g_strdup_printf("file:///%s/.gtodo/todos", g_getenv("HOME")); + /* check, open or create the correct xml file */ +@@ -793,6 +793,7 @@ + GTodoClient * gtodo_client_new_from_file(char *filename, GError **error) + { + GError *tmp_error = NULL; ++ GTodoClient *cl = NULL; + /* check if the error is good or wrong. */ + g_return_val_if_fail(error == NULL || *error == NULL,FALSE); + if(debug)g_print("Trying to create a new client %s\n", filename); +@@ -802,7 +803,6 @@ + g_propagate_error(error, tmp_error); + return NULL; + } +- GTodoClient *cl = NULL; + cl = g_malloc(sizeof(GTodoClient)); + cl->xml_path = g_strdup(filename); + /* check, open or create the correct xml file */ +@@ -832,12 +832,13 @@ + GTodoList * gtodo_client_get_category_list(GTodoClient *cl) + { + xmlNodePtr cur; +- GTodoList *list = g_malloc(sizeof(GTodoList)); +- list->list = NULL; + int repos = 0; ++ GTodoCategory *cat; ++ GTodoList *list; + cl->number_of_categories = 0; ++ list = g_malloc(sizeof(GTodoList)); ++ list->list = NULL; + cur = cl->root->xmlChildrenNode; +- GTodoCategory *cat; + + while(cur != NULL){ + if(xmlStrEqual(cur->name, (const xmlChar *)"category")){ diff --git a/deskutils/gtodo/pkg-descr b/deskutils/gtodo/pkg-descr new file mode 100644 index 000000000..11bc297d3 --- /dev/null +++ b/deskutils/gtodo/pkg-descr @@ -0,0 +1,5 @@ +gToDo is as the name suggests a todo list application. The goal of the program +is to be simple and easy to use. The program is made to fill up the gap of a +missing gtk+-2.0 standalone todo list. + +WWW: http://cms.qballcow.nl/index.php?page=Gnome_Task_List_Manager diff --git a/deskutils/gtodo/pkg-plist b/deskutils/gtodo/pkg-plist new file mode 100644 index 000000000..d5cd9a9b5 --- /dev/null +++ b/deskutils/gtodo/pkg-plist @@ -0,0 +1,13 @@ +bin/gtodo +share/applications/gtodo.desktop +share/pixmaps/gtodo-about.png +share/pixmaps/gtodo-edit.png +share/pixmaps/gtodo.png +share/pixmaps/gtodo_tray.png +share/locale/cs/LC_MESSAGES/gtodo.mo +share/locale/de/LC_MESSAGES/gtodo.mo +share/locale/ja/LC_MESSAGES/gtodo.mo +share/locale/pl/LC_MESSAGES/gtodo.mo +share/locale/ru/LC_MESSAGES/gtodo.mo +share/locale/sr/LC_MESSAGES/gtodo.mo +share/locale/sr@Latn/LC_MESSAGES/gtodo.mo |