TODO updates and enable-debug configure flag

This commit is contained in:
Jaromil 2011-02-07 09:44:13 +01:00
parent e6db14dcfc
commit cc9ecb9c20
2 changed files with 33 additions and 11 deletions

View File

@ -5,15 +5,13 @@ you are welcome to send patches to jaromil@dyne.org
* TODO Release 1.0 :80%: * TODO Release 1.0 :80%:
** DONE [#A] desktop integration with mime types the freedesktop way :jaromil: ** DONE [#A] desktop integration the freedesktop way :jaromil:
** DONE [#B] debian packaging with desktop integration :jaromil:
** DONE [#A] use a posix thread instead of fork for status close :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. 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. 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:
** [#C] decorate creation wizard with ASCII art ** [#B] incremental backup system using bup :jaromil:
* TODO Release 2.0 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
** TODO [#C] make one single status handle more tombs
** TODO [#C] decorate creation wizard with ASCII art
* TODO Release 2.0 :00%:
100% backward compatible with tombs created with 1.0 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] more gtk dialogs for configurations? keep it minimal!
** [#C] bomb the V...... and shoot the P...

View File

@ -12,7 +12,7 @@ AC_CANONICAL_HOST
dnl backwards compatibility for autoconf >= 2.64 dnl backwards compatibility for autoconf >= 2.64
dnl PACKAGE_URL should be the fifth argument of AC_INIT dnl PACKAGE_URL should be the fifth argument of AC_INIT
m4_define([AC_PACKAGE_URL], [http://tomb.dyne.org]) 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) AC_SUBST(PACKAGE_URL, AC_PACKAGE_URL)
dnl ============================================================== dnl ==============================================================
@ -83,12 +83,28 @@ PKG_CHECK_MODULES(NOTIFY, libnotify, :,
AC_SUBST([NOTIFY_CFLAGS]) AC_SUBST([NOTIFY_CFLAGS])
AC_SUBST([NOTIFY_LIBS]) 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' PACKAGE_DATA_DIR='${prefix}/share/tomb'
AC_SUBST(PACKAGE_DATA_DIR) AC_SUBST(PACKAGE_DATA_DIR)
# mime TODO see http://www.freedesktop.org/wiki/Specifications/AddingMIMETutor # mime TODO see http://www.freedesktop.org/wiki/Specifications/AddingMIMETutor
XDG_DATA_DIR='${prefix}/share/mime/packages' XDG_DATA_DIR='${prefix}/share/mime/packages'
AC_SUBST(XDG_DATA_DIR) AC_SUBST(XDG_DATA_DIR)
dnl alphabetic order on dir/subdir, but Makefile sorts before everything dnl alphabetic order on dir/subdir, but Makefile sorts before everything
AC_CONFIG_FILES([ AC_CONFIG_FILES([
Makefile Makefile