AC_MSG_ERROR(Unable to find Qt4 installation needed by bat)
fi
fi
+
+#
+# If bat is enabled, we need the qwt library
+got_qwt=no
+if test x$support_bat = xyes; then
+ AC_ARG_WITH(qwt,
+ [ --with-qwt@<:@=DIR@:>@ specify qwt library directory],
+ [
+ case "$with_qwt" in
+ no) : ;;
+ yes|*)
+ if test -f ${with_qwt}/include/qwt.h; then
+ QWT_INC="${with_qwt}/include"
+ QWT_LDFLAGS="-L${with_qwt}/lib"
+ else
+ echo " "
+ echo "qwt.h not found. bat turned off ..."
+ echo " "
+ BAT_DIR=
+ support_bat=no
+ fi
+ ;;
+ esac
+ ]
+ )
+fi
+
AC_SUBST(BAT_DIR)
+AC_SUBST(QWT_INC)
+AC_SUBST(QWT_LDFLAGS)
# -------------------------------------------
cd src/qt-console
a=`pwd`
chmod 755 install_conf_file build-depkgs-qt-console
- echo " "
- echo "Downloading, building, and installing the qwt graphics library"
- echo " The install will be to directory ${a}/qwt ..."
- echo " "
- ./build-depkgs-qt-console
echo "Creating bat Makefile"
qmake
fi
GNOME_LIBS
GNOME_DIR
BAT_DIR
+QWT_INC
+QWT_LDFLAGS
WXCONS_CPPFLAGS
WXCONS_LDFLAGS
WX_DIR
--with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
--without-libintl-prefix don't search for libintl in includedir and libdir
--with-included-gettext use the GNU gettext library included here
+ --with-qwt[=DIR] specify qwt library directory
--with-readline[=DIR] specify readline library directory
--with-python[=DIR] Include Python support. DIR is the Python base
fi
fi
+#
+# If bat is enabled, we need the qwt library
+got_qwt=no
+if test x$support_bat = xyes; then
+
+# Check whether --with-qwt was given.
+if test "${with_qwt+set}" = set; then
+ withval=$with_qwt;
+ case "$with_qwt" in
+ no) : ;;
+ yes|*)
+ if test -f ${with_qwt}/include/qwt.h; then
+ QWT_INC="${with_qwt}/include"
+ QWT_LDFLAGS="-L${with_qwt}/lib"
+ else
+ echo " "
+ echo "qwt.h not found. bat turned off ..."
+ echo " "
+ BAT_DIR=
+ support_bat=no
+ fi
+ ;;
+ esac
+
+
+fi
+
+fi
+
+
+
+
# -------------------------------------------
GNOME_LIBS!$GNOME_LIBS$ac_delim
GNOME_DIR!$GNOME_DIR$ac_delim
BAT_DIR!$BAT_DIR$ac_delim
+QWT_INC!$QWT_INC$ac_delim
+QWT_LDFLAGS!$QWT_LDFLAGS$ac_delim
WXCONS_CPPFLAGS!$WXCONS_CPPFLAGS$ac_delim
WXCONS_LDFLAGS!$WXCONS_LDFLAGS$ac_delim
WX_DIR!$WX_DIR$ac_delim
dump_email!$dump_email$ac_delim
job_email!$job_email$ac_delim
smtp_host!$smtp_host$ac_delim
-piddir!$piddir$ac_delim
-subsysdir!$subsysdir$ac_delim
_ACEOF
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
ac_delim='%!_!# '
for ac_last_try in false false false false false :; do
cat >conf$$subs.sed <<_ACEOF
+piddir!$piddir$ac_delim
+subsysdir!$subsysdir$ac_delim
baseport!$baseport$ac_delim
dir_port!$dir_port$ac_delim
fd_port!$fd_port$ac_delim
LTLIBOBJS!$LTLIBOBJS$ac_delim
_ACEOF
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 48; then
+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 50; then
break
elif $ac_last_try; then
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
cd src/qt-console
a=`pwd`
chmod 755 install_conf_file build-depkgs-qt-console
- echo " "
- echo "Downloading, building, and installing the qwt graphics library"
- echo " The install will be to directory ${a}/qwt ..."
- echo " "
- ./build-depkgs-qt-console
echo "Creating bat Makefile"
qmake
fi
- Make restore use the in-use volume reservation algorithm.
- Look at mincore: http://insights.oetiker.ch/linux/fadvise.html
- Unicode input http://en.wikipedia.org/wiki/Byte_Order_Mark
-- How does restore JobId=nnn work? (Dirk)
-- What does: restore select fileset="TestSet" client="workplay-fd" pool="Default"
-> storage="File2" before="2007-02-05 23:05:04" do? (Dirk)
-
-- Implement update jobid=
-- Mention Eric and Marc's work + Marc's doc.
-- Add TLS to bat
+- Add TLS to bat (should be done).
- When Pool specifies Storage command override does not work.
- Implement wait_for_sysop() message display in wait_for_device(), which
now prints warnings too often.
-
- Ensure that each device in an Autochanger has a different
Device Index.
- Add Catalog = to Pool resource so that pools will exist
> configuration string value to a CRYPTO_CIPHER_* value, if anyone is
> interested in implementing this functionality.
-- Ensure that moving a purged Volume in ua_purge.c to the RecyclePool
- does the right thing.
- Why doesn't @"xxx abc" work in a conf file?
- Figure out some way to "automatically" backup conf changes.
- Add the OS version back to the Win32 client info.
- Test Volume compatibility between machine architectures
- Encryption documentation
- Wrong jobbytes with query 12 (todo)
-- bacula-1.38.2-ssl.patch
- Bare-metal recovery Windows (todo)
- Look at Webmin
http://www.orangecrate.com/modules.php?name=News&file=article&sid=501
- Performance
- - FD-SD quick disconnect
- Despool attributes in separate thread
- Database speedups
- Embedded MySQL
- Check why restore repeatedly sends Rechdrs between
each data chunk -- according to James Harper 9Jan07.
- - Building the in memory restore tree is slow.
- Features
- Better scheduling
- Full at least once a month, ...
apparently not. This happened when I removed the pool directive and
started the director.
- Add Where: client:/.... to restore job report.
+- Ensure that moving a purged Volume in ua_purge.c to the RecyclePool
+ does the right thing.
+- FD-SD quick disconnect
+- Building the in memory restore tree is slow.
+
return stat;
}
-
+bool db_get_query_dbids(JCR *jcr, B_DB *mdb, POOL_MEM &query, dbid_list &ids)
+{ return false; }
int db_get_file_attributes_record(JCR *jcr, B_DB *mdb, char *fname, JOB_DBR *jr, FILE_DBR *fdbr)
{ return 0; }
TEMPLATE = app
TARGET = bat
DEPENDPATH += .
-INCLUDEPATH += . ./console ./restore ./select
-INCLUDEPATH += .. ./qwt/include
+INCLUDEPATH += .. . ./console ./restore ./select
+INCLUDEPATH += @QWT_INC@
LIBS += -L../lib
LIBS += -lbac
LIBS += -lssl -lcrypto
-LIBS += -L./qwt/lib -lqwt
+LIBS += @QWT_LDFLAGS@ -lqwt
RESOURCES = main.qrc
MOC_DIR = moc
OBJECTS_DIR = obj
#undef VERSION
#define VERSION "2.1.25"
-#define BDATE "07 July 2007"
-#define LSMDATE "07Jul07"
+#define BDATE "11 July 2007"
+#define LSMDATE "11Jul07"
#define PROG_COPYRIGHT "Copyright (C) %d-2007 Free Software Foundation Europe e.V.\n"
#define BYEAR "2007" /* year for copyright messages in progs */
Technical notes on version 2.1
General:
+11Jul07
+kes Move qwt (Graphics libarary for Qt4) to depkgs.
+kes Update src/win32/cats/bacula_cats.def to include the new
+ db_get_query_dbids() call on Win32.
07Jul07
kes Correct a problem when selecting a scratch volume and moving
it to another pool that lost some columns.