debian/0000775000000000000000000000000012320647531007173 5ustar debian/rules0000775000000000000000000000054212320647332010253 0ustar #!/usr/bin/make -f export DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,defs -Wl,--as-needed -Wl,-O1 export DEB_BUILD_MAINT_OPTIONS=hardening=+all override_dh_install: dh_install --fail-missing find debian/`dh_listpackages`/usr/lib -name '*.la' -delete override_dh_auto_configure: dh_auto_configure -- --disable-static %: dh $@ --parallel --with autotools-dev debian/watch0000664000000000000000000000020712320647332010222 0ustar version=3 http://archive.xfce.org/src/panel-plugins/xfce4-fsguard-plugin/([\d\.]+)/ \ xfce4-fsguard-plugin-([\d\.]+)\.tar\.(?:gz|bz2) debian/changelog0000664000000000000000000001511012320647353011045 0ustar xfce4-fsguard-plugin (1.0.1-2ubuntu1) trusty; urgency=medium * Add 01-small-drives.patch to better support sizes below ~1GB -- Jackson Doak Mon, 07 Apr 2014 06:40:36 +1000 xfce4-fsguard-plugin (1.0.1-2) unstable; urgency=low * debian/rules: - enable all hardening flags. * debian/control: - drop build-dep on dpkg-dev, stable has a recent enough version. - drop dependency on xfce4-panel build-dep, stable has Xfce 4.8. -- Yves-Alexis Perez Fri, 24 May 2013 07:33:25 +0200 xfce4-fsguard-plugin (1.0.1-1) unstable; urgency=low * New upstream release. * debian/patches: - 01_fix-resource-file-loading dropped, included upstream. - 02_include_sys_vfs_h_on_gnu as well. * debian/control: - replace libxfcegui4 dependency by libxfce4ui. - add build-dep on autotools-dev. * debian/rules: - use autotools-dev addon to get rid of old config.{guess,sub} files. - pass --disable-static to configure and use find to delete .la files. - stop disabling tests. -- Yves-Alexis Perez Sat, 30 Jun 2012 15:30:45 +0200 xfce4-fsguard-plugin (1.0.0-4) unstable; urgency=low * debian/patches: - 02_include_sys_vfs_h_on_gnu added, fix FTBFS on GNU/Hurd, thanks Cyril Brulebois. closes: #670879 * debian/rules: - build with --parallel. * debian/control: - update standards version to 3.9.3. - update debhelper build-dep to 9. -- Yves-Alexis Perez Thu, 03 May 2012 07:55:50 +0200 xfce4-fsguard-plugin (1.0.0-3) unstable; urgency=low [ Lionel Le Folgoc ] * debian/patches/01_fix-resource-file-loading.patch: updated, fix segfault when no config exists, and correctly initialize settings with default values. closes: #637160 [ Yves-Alexis Perez ] * debian/rules: - use dpkg-dev 1.16.1 and dh9 hardening support - use multiarch paths * debian/compat bumped to 9. * debian/control: - drop build-dep on hardening-includes - add build-dep on debhelper 8.9.4 and dpkg-dev 1.16.1 for hardening support. - only set uploaders to Lionel and me, thanks to all the others for the past work! * debian/compat bumped to 9. -- Lionel Le Folgoc Sat, 03 Dec 2011 20:21:27 +0100 xfce4-fsguard-plugin (1.0.0-2) unstable; urgency=low * debian/patches: - 01_fix-resource-file-loading added, use the correct function to lookup resource file so default are correctly used. closes: #637161 -- Yves-Alexis Perez Sun, 04 Sep 2011 22:36:20 +0200 xfce4-fsguard-plugin (1.0.0-1) unstable; urgency=low [ Evgeni Golov ] * Fix Vcs-* fields, they were missing 'trunk' in the path. [ Yves-Alexis Perez ] * debian/watch edited to track Xfce archive reorganisation. * debian/control: - update standards version to 3.9.2. - update Xfce build-deps to 4.8. [ Stefan Ott ] * Increment debhelper compatibility to version 5 * debian/control: - incremented debhelper build-dep to version >= 5. - move to xfce section. [ Lionel Le Folgoc ] * New upstream release. * debian/compat: bump to 7. * debian/control: - drop cdbs and bump dh b-dep to >= 7.0.50~ - b-dep on hardening-includes. * Switch to 3.0 (quilt) source format. * debian/rules: - switch to dh. - pick {C,LD}FLAGS from dpkg-buildflags. - add -O1, -z,defs and --as-needed to LDFLAGS. - add hardening flags to {C,LD}FLAGS. -- Yves-Alexis Perez Tue, 19 Apr 2011 22:59:01 +0200 xfce4-fsguard-plugin (0.4.2-1) unstable; urgency=low [ Stefan Ott ] * debian/control: update e-mail address [ Yves-Alexis Perez ] * New upstream release. * debian/control: - add build-dep on intltool, libx11-dev, pkg-config, libgtk2.0-dev, libxfcegui4-dev. - update standards version to 3.8.0. - add depend on ${misc:Depends}. * debian/patches: - 01_ja.po dropped, merged upstream. -- Yves-Alexis Perez Sun, 22 Feb 2009 19:21:49 +0100 xfce4-fsguard-plugin (0.4.1-2) unstable; urgency=low * debian/patches: - 01_ja.po.diff added, update ja translation. closes: #475912 -- Yves-Alexis Perez Mon, 14 Apr 2008 22:44:05 +0200 xfce4-fsguard-plugin (0.4.1-1) unstable; urgency=low * New upstream release. * debian/copyright: update copyright notices. -- Yves-Alexis Perez Sun, 17 Feb 2008 14:48:12 +0100 xfce4-fsguard-plugin (0.4.0-1) unstable; urgency=low [ Yves-Alexis Perez] * New upstream release. * debian/control: - updated standard versions to 3.7.3. - changed my email address. [ Simon Huggins] * debian/control: Move fake Homepage field to a real one now dpkg supports it. * Add Vcs-* headers to debian/control -- Yves-Alexis Perez Sat, 08 Dec 2007 06:17:04 +0100 xfce4-fsguard-plugin (0.3.0-3) unstable; urgency=low (Stefan Ott) * debian/control: updated the url (Yves-Alexis Perez) * debian/control: - removed Jani from uploaders as he's not anymore in the team. - removed gtk from build-dep as it's pulled by xfce4-panel-dev anyway. * debian/rules: added cdbs simple-patchsys rules * debian/patches: - 01_fix-ftbfs-kfreebsd.patch added, thanks Cyril Brulebois. closes: #415661 (Simon Huggins) - Updated standard versions to 3.7.2.2. - Build-dep on latest xfce4-panel-dev. -- Yves-Alexis Perez Sun, 29 Apr 2007 14:49:59 +0100 xfce4-fsguard-plugin (0.3.0-2) unstable; urgency=low * Incremented build-deps to 4.3.90.2 (Xfce 4.4 Beta2). * Updated standards version to 3.7.2. -- Yves-Alexis Perez Wed, 26 Jul 2006 17:49:08 +0100 xfce4-fsguard-plugin (0.3.0-1) unstable; urgency=low * New upstream release * Removed explicit dependency on xfce4-panel (managed by shlibs) -- Yves-Alexis Perez Wed, 03 May 2006 19:17:15 +0100 xfce4-fsguard-plugin (0.2.1-1) unstable; urgency=low * (Rudy Godoy) * Updated standards version * Removed dependency and not bootstraping autotools since upstream is using an up to date version * Fixed wrongly named post-install target * Initial Release closes: #309863 * (Simon Huggins) * Add build-depends on >= 4.2.2 (though this won't matter now the autobuilders have actually all installed it but hey) * (Stefan Ott) * Reorganized the changelog -- Stefan Ott Mon, 19 Dec 2005 16:21:42 +0100 debian/compat0000664000000000000000000000000212320647332010370 0ustar 9 debian/copyright0000664000000000000000000000363212320647332011131 0ustar This package was debianized by Rudy Godoy on Tue, 01 Feb 2005 12:36:12 -0500. It was downloaded from Upstream Authors and copyright holders: © 2003 Andre Lerche © 2003 Benedikt Meurer © 2007 Mike Massonnet Translations © 2003-2004 Andre Lerche except: ca.po, hu.po, ja.po, ko.po, lt.po, pl.po, sq.po, zh_TW.po: © 2003-2004 Andre Lerche © 2005 Stefan Ott de.po, eu.po, fr.po: © 2005 Stefan Ott . gl.po: © 2006 Canonical Ltd, and Rosetta Contributors 2006 uk.po: © 2007 Dmitry Nikitin Licensing: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/source/0000775000000000000000000000000012320647530010472 5ustar debian/source/format0000664000000000000000000000001412320647332011700 0ustar 3.0 (quilt) debian/control0000664000000000000000000000201312320647353010574 0ustar Source: xfce4-fsguard-plugin Section: xfce Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Xfce Maintainers Uploaders: Yves-Alexis Perez , Lionel Le Folgoc Build-Depends: debhelper (>= 9), xfce4-panel-dev, libxml2-dev, libxml-parser-perl, intltool, libx11-dev, pkg-config, libgtk2.0-dev, libxfce4ui-1-dev, autotools-dev Standards-Version: 3.9.3 Homepage: http://goodies.xfce.org/projects/panel-plugins/xfce4-fsguard-plugin Vcs-Svn: svn://svn.debian.org/pkg-xfce/goodies/trunk/xfce4-fsguard-plugin/ Vcs-Browser: http://svn.debian.org/wsvn/pkg-xfce/goodies/trunk/xfce4-fsguard-plugin/ Package: xfce4-fsguard-plugin Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: filesystem monitor plugin for the Xfce4 panel The fsguard plugin checks free space on a chosen mount point frequently and displays an alarm if free space is less than given alarm limit. debian/patches/0000775000000000000000000000000012320647530010621 5ustar debian/patches/series0000664000000000000000000000002612320647353012037 0ustar 01-small-drives.patch debian/patches/01-small-drives.patch0000664000000000000000000000246012320647353014467 0ustar Author: Stephen Lyons Description: BugFix: Tool-tip giving wrong message for fs size < ~1GB. Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=722489 --- panel-plugin/fsguard.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) --- a/panel-plugin/fsguard.c +++ b/panel-plugin/fsguard.c @@ -291,10 +291,15 @@ fsguard_check_fs (FsGuard *fsguard) (*(fsguard->name) != '\0' && strcmp(fsguard->path, fsguard->name)) ? _("%s/%s space left on %s (%s)") : _("%s/%s space left on %s"), msg_size, msg_total_size, fsguard->path, fsguard->name); - } else { + } else if (total > 0 ) { g_snprintf (msg_total_size, sizeof (msg_total_size), _("%.0f MB"), total); g_snprintf (msg_size, sizeof (msg_size), _("%.0f MB"), freespace); g_snprintf (msg, sizeof (msg), + (*(fsguard->name) != '\0' && strcmp(fsguard->path, fsguard->name)) ? + _("%s/%s space left on %s (%s)") : _("%s/%s space left on %s"), + msg_size, msg_total_size, fsguard->path, fsguard->name); + } else { + g_snprintf (msg, sizeof (msg), _("could not check mountpoint %s, please check your config"), fsguard->path); }