commit cc9ecb9c20b50c57e0c7cc5b0d01d7d9e129a6c4
parent e6db14dcfc0ee5d7fdc530e3c6c90c768b352912
Author: Jaromil <jaromil@dyne.org>
Date: Mon, 7 Feb 2011 09:44:13 +0100
TODO updates and enable-debug configure flag
Diffstat:
2 files changed, 33 insertions(+), 11 deletions(-)
diff --git a/TODO.org b/TODO.org
@@ -5,15 +5,13 @@ you are welcome to send patches to jaromil@dyne.org
* TODO Release 1.0 :80%:
-** DONE [#A] desktop integration with mime types the freedesktop way :jaromil:
-
-** DONE [#B] debian packaging with desktop integration :jaromil:
+** DONE [#A] desktop integration the freedesktop way :jaromil:
** DONE [#A] use a posix thread instead of fork for status close :jaromil:
-** TODO [#A] fix operation without DISPLAY (over SSH) :hellekin:
+** [#A] fix operation without DISPLAY (over SSH) :hellekin:
-** TODO [#A] use a config file to map bind mounts :jaromil:
+** [#A] use a config file to map bind mounts :jaromil:
useful also to choose a default file browser and other things.
@@ -21,11 +19,21 @@ you are welcome to send patches to jaromil@dyne.org
a tomb so that personal directories appear in the home folder.
-** [#C] make one single status handle more tombs
+** DONE [#B] debian packaging with desktop integration :jaromil:
+
+** [#B] incremental backup system using bup :jaromil:
+
+ tombs are modifed only where needed so file changes are local to
+ the file segment where data is stored. i've tested this idea and it
+ works! bup makes incremental backups using git as a backend, big up
+ apenwarr :) on git://github.com/apenwarr/bup
+
-** [#C] decorate creation wizard with ASCII art
+** TODO [#C] make one single status handle more tombs
-* TODO Release 2.0
+** TODO [#C] decorate creation wizard with ASCII art
+
+* TODO Release 2.0 :00%:
100% backward compatible with tombs created with 1.0
@@ -45,5 +53,3 @@ you are welcome to send patches to jaromil@dyne.org
** [#C] more gtk dialogs for configurations? keep it minimal!
-** [#C] bomb the V...... and shoot the P...
-
diff --git a/configure.ac b/configure.ac
@@ -12,7 +12,7 @@ AC_CANONICAL_HOST
dnl backwards compatibility for autoconf >= 2.64
dnl PACKAGE_URL should be the fifth argument of AC_INIT
m4_define([AC_PACKAGE_URL], [http://tomb.dyne.org])
-AC_DEFINE(PACKAGE_URL, "AC_PACKAGE_URL", [Package URL])
+dnl AC_DEFINE(PACKAGE_URL, "AC_PACKAGE_URL", [Package URL])
AC_SUBST(PACKAGE_URL, AC_PACKAGE_URL)
dnl ==============================================================
@@ -83,12 +83,28 @@ PKG_CHECK_MODULES(NOTIFY, libnotify, :,
AC_SUBST([NOTIFY_CFLAGS])
AC_SUBST([NOTIFY_LIBS])
+dnl compile with full warnings and debugging symbols
+AC_ARG_ENABLE(debug,
+ AS_HELP_STRING([--enable-debug],[compile with debug symbols (no)]),
+ [enable_debug=$enableval],
+ [enable_debug=no])
+AC_MSG_CHECKING([if compiling with debug symbols])
+if test x$enable_debug = xyes; then
+ AC_MSG_RESULT([yes])
+ CFLAGS="$CFLAGS -Wall -g -ggdb"
+else
+ AC_MSG_RESULT([no])
+fi
+AC_SUBST(CFLAGS)
+
+
PACKAGE_DATA_DIR='${prefix}/share/tomb'
AC_SUBST(PACKAGE_DATA_DIR)
# mime TODO see http://www.freedesktop.org/wiki/Specifications/AddingMIMETutor
XDG_DATA_DIR='${prefix}/share/mime/packages'
AC_SUBST(XDG_DATA_DIR)
+
dnl alphabetic order on dir/subdir, but Makefile sorts before everything
AC_CONFIG_FILES([
Makefile