Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Sep 2003 01:57:51 -0500 (CDT)
From:      Jeremy Messenger <mezz7@cox.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        gnome@freebsd.org
Subject:   New port: deskutils/gtodo, A Gtk2 Todo list manager
Message-ID:  <200309290657.h8T6vpMo032415@ns1.mezzweb.com>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Mezz
>Organization:	
>Confidential:	no 
>Synopsis:	New port: deskutils/gtodo, A Gtk2 Todo list manager
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		change-request
>Release:	FreeBSD 5.1-CURRENT i386
>Environment:
System: FreeBSD ns1.mezzweb.com 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Wed Aug 13 22:39:47 CDT 2003 mezz@mezz.mezzweb.com:/usr/obj/usr/src/sys/BSDROCKS i386

>Description:
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.

Screenshot: http://qball.no-ip.com/test/index.php?s=46

I have fixed few bugs and now it should be function perfect. It's a very nice
app and able to leave it in the 'systray' in Gnome.

>How-To-Repeat:
n/a

>Fix:
If you think, it doesn't belong to gnome category then please edit the
CATEGORIES. Current, the CATEGORIES has deskutils and gnome.


--- gtodo.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	gtodo
#	gtodo/pkg-descr
#	gtodo/Makefile
#	gtodo/distinfo
#	gtodo/pkg-plist
#	gtodo/files
#	gtodo/files/patch-src::callback.c
#	gtodo/files/patch-src::interface.c
#	gtodo/files/patch-src::mcategory.c
#	gtodo/files/patch-src::todo_db.c
#
echo c - gtodo
mkdir -p gtodo > /dev/null 2>&1
echo x - gtodo/pkg-descr
sed 's/^X//' >gtodo/pkg-descr << 'END-of-gtodo/pkg-descr'
XgToDo is as the name suggests a todo list application. The goal of the program
Xis to be simple and easy to use. The program is made to fill up the gap of a
Xmissing gtk+-2.0 standalone todo list.
X
XWWW: http://qball.no-ip.com/test/index.php?s=44
END-of-gtodo/pkg-descr
echo x - gtodo/Makefile
sed 's/^X//' >gtodo/Makefile << 'END-of-gtodo/Makefile'
X# New ports collection makefile for:	gtodo
X# Date created:				29 September 2003
X# Whom:					Mezz <mezz7@cox.net>
X#
X# $FreeBSD: $
X#
X
XPORTNAME=	gtodo
XPORTVERSION=	0.13
XCATEGORIES=	deskutils gnome
XMASTER_SITES=	http://qball.no-ip.com/
X
XMAINTAINER=	mezz7@cox.net
XCOMMENT=	An Gtk2 Todo list manager
X
XBUILD_DEPENDS=	intltool-extract:${PORTSDIR}/textproc/intltool
X
XUSE_GMAKE=	yes
XUSE_X_PREFIX=	yes
XUSE_GNOME=	gnomeprefix gnomehack gnometarget gtk20 libxml2
XGNU_CONFIGURE=	yes
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
X		LIBS="-L${LOCALBASE}/lib"
X
X.include <bsd.port.mk>
END-of-gtodo/Makefile
echo x - gtodo/distinfo
sed 's/^X//' >gtodo/distinfo << 'END-of-gtodo/distinfo'
XMD5 (gtodo-0.13.tar.gz) = 8522ab159fc30a2b4500eb54d6ef694b
END-of-gtodo/distinfo
echo x - gtodo/pkg-plist
sed 's/^X//' >gtodo/pkg-plist << 'END-of-gtodo/pkg-plist'
Xbin/gtodo
Xshare/gnome/applications/gtodo.desktop
Xshare/gnome/pixmaps/gtodo-about.png
Xshare/gnome/pixmaps/gtodo-edit.png
Xshare/gnome/pixmaps/gtodo.png
Xshare/gnome/pixmaps/gtodo_tray.svg
Xshare/locale/sr/LC_MESSAGES/gtodo.mo
Xshare/locale/sr@Latn/LC_MESSAGES/gtodo.mo
END-of-gtodo/pkg-plist
echo c - gtodo/files
mkdir -p gtodo/files > /dev/null 2>&1
echo x - gtodo/files/patch-src::callback.c
sed 's/^X//' >gtodo/files/patch-src::callback.c << 'END-of-gtodo/files/patch-src::callback.c'
X--- src/callback.c.orig	Mon Sep 29 01:45:56 2003
X+++ src/callback.c	Mon Sep 29 01:48:27 2003
X@@ -26,8 +26,8 @@
X 
X     if(cur != root) 
X 	{
X-	xmlFreeNode(cur);
X 	xmlUnlinkNode(cur);
X+	xmlFreeNode(cur);
X 	gtk_list_store_remove(mw.list, &iter);
X 	}
X     else{
X@@ -167,8 +167,8 @@
X 	    if(xmlStrEqual(temp, (const xmlChar *)tm))
X  		{
X 		g_signal_handler_block(mw.option, shand);
X-		xmlFreeNode(cur);
X 		xmlUnlinkNode(cur);
X+		xmlFreeNode(cur);
X 		read_categorys();
X 		g_signal_handler_unblock(mw.option, shand);
X 		cur = NULL;
X@@ -302,8 +302,8 @@
X     			cur = get_id_node(category, value);
X 			if(cur != root) 
X 				{
X-				xmlFreeNode(cur);
X 				xmlUnlinkNode(cur);
X+				xmlFreeNode(cur);
X 				//gtk_list_store_remove(mw.list, &nextiter);
X 				}
X     			else{
END-of-gtodo/files/patch-src::callback.c
echo x - gtodo/files/patch-src::interface.c
sed 's/^X//' >gtodo/files/patch-src::interface.c << 'END-of-gtodo/files/patch-src::interface.c'
X--- src/interface.c.orig	Mon Sep 29 01:33:44 2003
X+++ src/interface.c	Mon Sep 29 01:33:52 2003
X@@ -179,8 +179,8 @@
X 
X 	
X     g_signal_connect(G_OBJECT (mw.treeview), "row-activated", G_CALLBACK (gui_add_todo_item), GINT_TO_POINTER(1));
X- 	g_signal_connect(mw.window, "delete-event", G_CALLBACK(window_close), NULL);
X-	g_signal_connect(mw.window, "destroy-event", G_CALLBACK(quit_program), NULL);
X+ 	g_signal_connect(mw.window, "delete-event", G_CALLBACK(gtk_main_quit), NULL);
X+	g_signal_connect(mw.window, "destroy-event", G_CALLBACK(gtk_main_quit), NULL);
X     gtk_window_add_accel_group(GTK_WINDOW(mw.window), mw.accel_group);
X     
X 	if(settings.do_tray) tray_init();
END-of-gtodo/files/patch-src::interface.c
echo x - gtodo/files/patch-src::mcategory.c
sed 's/^X//' >gtodo/files/patch-src::mcategory.c << 'END-of-gtodo/files/patch-src::mcategory.c'
X--- src/mcategory.c.orig	Mon Sep 29 01:41:35 2003
X+++ src/mcategory.c	Mon Sep 29 01:41:41 2003
X@@ -99,8 +99,8 @@
X 	    if(xmlStrEqual(temp, (const xmlChar *)category))
X  		{
X 		g_signal_handler_block(mw.option, shand);
X-		xmlFreeNode(cur);
X 		xmlUnlinkNode(cur);
X+		xmlFreeNode(cur);
X 		read_categorys();
X 		g_signal_handler_unblock(mw.option, shand);
X 		cur = NULL;
END-of-gtodo/files/patch-src::mcategory.c
echo x - gtodo/files/patch-src::todo_db.c
sed 's/^X//' >gtodo/files/patch-src::todo_db.c << 'END-of-gtodo/files/patch-src::todo_db.c'
X--- src/todo_db.c.orig	Mon Sep 29 01:51:18 2003
X+++ src/todo_db.c	Mon Sep 29 01:51:55 2003
X@@ -399,8 +399,8 @@
X 				    item = g_ascii_strtoull(due, NULL,0);
X 				    if(atoi(done) &&  item < (now-settings.purge_days))
X 					{
X-					xmlFreeNode(cur1);
X 					xmlUnlinkNode(cur1);
X+					xmlFreeNode(cur1);
X 					cur1= root->xmlChildrenNode;
X 					if(cur1 != NULL) cur2= cur1->xmlChildrenNode;
X 					else cur2 = NULL;
END-of-gtodo/files/patch-src::todo_db.c
exit
--- gtodo.shar ends here ---




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309290657.h8T6vpMo032415>