User:Delimiter/GTimerNotes
< User:Delimiter(Redirected from User:Fostermarkd/GTimerNotes)
Jump to navigation
Jump to search
First of all, it appears the GTimer on Ubuntu Intrepid is compiled for the GTK+ 1.2 libraries.
GTK 1.2
Before diving into GTK 2 I want to make sure the program compiles on GTK 1.2 libs. Download the source and extract.
Install this package as it contains gtk-config which is needed
sudo aptitude install libgtk1.2-dev
Now, the file gtimer-1.16/readme says to just type 'make' but that is wrong. The first step to compile is to run configure
./configure make gcc -DPACKAGE=\"gtimer\" -DVERSION=\"1.1.2\" -DHAVE_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_LIBINTL_H=1 -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -g -O2 -c annotate.c annotate.c: In function ‘ok_callback’: annotate.c:98: error: cannot convert to a pointer type make: *** [annotate.o] Error 1
GTK 2.0
I want to recompile for GTK+ 2.x so the first order of business is to get the headers and documentation installed.
aptitude install libgtk2.0-dev libgtk2.0-doc
Wishlist & Bugs
- Delete tasks with the del key
- Create tasks with the ins key
- Stop timing of all tasks with the esc key
- Auto-hide functionality - tasks untouched in 7 days could go grey and in 10 could go hidden
- Ability to override that, in essence "pinning" a task to make it permanent
- Implement a task cleanup mechanism ( to expire old tasks that haven't been timed in N days)
- Project - let's you create duplicates - BUG?
- Multiple instances of gtimer can run at once, but only one is responsive
- Not packaged for Jaunty - unsure why