--- /dev/null
+# -*-shell-script-*-
+
+[Meta]
+RootName: @bzip.org/libbz2
+DisplayName: bzip2 library
+ShortName: libbz2
+Skeleton-Author: Fredrik Tolf <fredrik@dolda2000.com>
+Skeleton-Version: 1
+
+[Test]
+INTERFACE_VERSIONS=$(testForLib -i libbz2.so)
--- /dev/null
+# -*-shell-script-*-
+
+[Meta]
+RootName: @gnu.org/gdbm
+DisplayName: GNU dbm
+ShortName: gdbm
+Skeleton-Author: Fredrik Tolf <fredrik@dolda2000.com>
+Skeleton-Version: 1
+
+[Test]
+INTERFACE_VERSIONS=$(testForLib -i libgdbm.so)
Packager: Fredrik Tolf <fredrik@dolda2000.com>
Summary: A library used by programs interfacing against the Dolda Connect daemon
URL: http://www.dolda2000.com/~fredrik/doldaconnect/
-License: GNU General Public License, Version 2
+License: GNU General Public License, Version 2 or later
SoftwareVersion: @VERSION@
-AutopackageTarget: 1.0
-InterfaceVersion: 0.0
+Repository: http://www.dolda2000.com/~fredrik/doldaconnect/ap/doldaconnect-uilib.xml
+AutopackageTarget: 1.2
+InterfaceVersion: 1.1
[Description]
The Dolda Connect interface library is used by programs for talking
with the Dolda Connect daemon.
[BuildPrepare]
-prepareBuild
+prepareBuild --without-krb5 --disable-daemon --disable-gtk2ui
[BuildUnprepare]
unprepareBuild
echo lib | import
[Prepare]
-require @mit.edu/krb5 3.2
[Install]
-installLib lib/libdcui.so.0.0.0
+installLib lib/libdcui.so.1.1.0
[Uninstall]
uninstallFromLog
Packager: Fredrik Tolf <fredrik@dolda2000.com>
Summary: A user interface module for Dolda Connect using GTK 2.
URL: http://www.dolda2000.com/~fredrik/doldaconnect/
-License: GNU General Public License, Version 2
+License: GNU General Public License, Version 2 or later
SoftwareVersion: @VERSION@
-AutopackageTarget: 1.0
+AutopackageTarget: 1.2
+Repository: http://www.dolda2000.com/~fredrik/doldaconnect/ap/doldaconnect-gtk.xml
# Only uncomment InterfaceVersion if your package exposes interfaces to other software,
# for instance if it includes DSOs or python/perl modules. See the developer guide for more info,
daemon.
[BuildPrepare]
-prepareBuild --enable-gtk2ui --disable-gnomeapplet
+prepareBuild --enable-gtk2ui --disable-daemon --disable-dolconf --disable-guishell
[BuildUnprepare]
unprepareBuild
[Prepare]
require @gtk.org/gtk 2.0
-require @mit.edu/krb5 3.2
-require @dolda2000.com/fredrik/doldaconnect/dcuilib 0.0
+require @dolda2000.com/fredrik/doldaconnect/dcuilib 1.1
[Install]
-installExe dolcon
+installExe bin/dolcon
installLocale share/locale
[Uninstall]
URL: http://www.dolda2000.com/~fredrik/doldaconnect/
License: GNU General Public License, Version 2 or later
SoftwareVersion: @VERSION@
-AutopackageTarget: 1.0
+AutopackageTarget: 1.2
+Repository: http://www.dolda2000.com/~fredrik/doldaconnect/ap/doldaconnect-daemon.xml
# Only uncomment InterfaceVersion if your package exposes interfaces to other software,
# for instance if it includes DSOs or python/perl modules. See the developer guide for more info,
you will also want a user interface program to control it.
[BuildPrepare]
-prepareBuild --disable-gtk2ui --without-krb5
+prepareBuild --without-gtk2 --without-krb5 --without-keyutils --without-pam
[BuildUnprepare]
unprepareBuild
echo bin/doldacond bin/locktouch bin/tthsum libexec/speedrec share/man etc | import
[Prepare]
+require @zlib.org/zlib 1
+require @bzip.org/libbz2 1
+require @gnu.org/gdbm 3
[Install]
installExe bin/doldacond bin/locktouch bin/tthsum
int ostate;
int opos, spos, speed;
time_t lastprog;
+ int warned;
double sprog;
};
if(tri->opos != tr->curpos) {
tri->opos = tr->curpos;
tri->lastprog = now;
+ tri->warned = 0;
}
-#ifdef NOTIFY
- if((tr->state = DC_TRNS_MAIN) && (now - tri->lastprog > 600)) {
- if(dcpid == 0)
+#ifdef HAVE_NOTIFY
+ if((tr->state = DC_TRNS_MAIN) && (now - tri->lastprog > 600) && !tri->warned) {
+ if(dcpid == 0) {
notify(&trnote, "transfer.error", _("Transfer stalled"), _("The transfer of %ls from %ls has not made progress for 10 minutes"), getfilename(tr->path), tr->peernick);
+ tri->warned = 1;
+ }
}
#endif
if((tr->state == DC_TRNS_MAIN) && (dnow - tri->sprog > 10)) {