debian/0000755000000000000000000000000012143251011007154 5ustar debian/copyright0000644000000000000000000000640612143251011011115 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: tuxcmd-modules Upstream-Contact: Tomáš Bžatek Source: http://tuxcmd.sourceforge.net/download.php Files: * Copyright: Copyright 2004-2009, Tomáš Bžatek License: GPL-2+ Files: common/vfs_types.h Copyright: Copyright 2003, Radek Cervinka Copyright 2008, Tomáš Bžatek License: GPL-2+ Files: gvfs/gvfs.c Copyright: Copyright 2008, Tomas Bzatek License: LGPL-2+ Files: zip/Makefile.ziparch zip/ZipArchive/* Copyright: Copyright 2000-2007, Artpol Software - Tadeusz Dracz License: GPL-2+ Files: zip/Ziparchive/zlib/* Copyright: Copyright 1995-1998 Jean-loup Gailly Copyright 1995-1998 Mark Alder License: other Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler . This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. . Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: . 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. . Jean-loup Gailly Mark Adler jloup@gzip.org madler@alumni.caltech.edu Files: debian/* Copyright: Copyright 2008-2013, Salvatore Bonaccorso License: GPL-2+ License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty or MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . On Debian systems the full text of the GNU General Public License can be found in the `/usr/share/common-licenses/GPL-2' file. License: LGPL-2+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. . On Debian systems the full text of the GNU Library General Public License can be found in the `/usr/share/common-licenses/LGPL-2' file. debian/README.source0000644000000000000000000000212612143251011011334 0ustar tuxcmd-modules for Debian ------------------------- tuxcmd-modules ships source code which gets duplicated (libarchive, bzip2 source code shipped upstream). Note on zlib: The ZipArchive Library does not use the Zlib library that is installed in the system. The Zlib library included in the ZipArchive Library is slightly modified for its needs. The Debian orig.tar.gz is thus repackaged and reduces significantly the source package size. To get the orig.tar.gz shipped with debian you need to do the following steps: 1. Download upstream source (from project homepage): tar xjvf tuxcmd-modules-$version.tar.bz2 2. Change directory into the unpacked sources: cd tuxcmd-modules-$version 3. Remove libarchive-* source shipped upstream: rm -rf libarchive/libarchive-* 4. Remove bzip2 copy shipped with ZipArchive and only use system bz2: rm -r zip/ZipArchive/bzip2 5. Rename and repack the source: cd .. mv tuxcmd-modules-$version tuxcmd-modules-$version+ds tar cvf tuxcmd-modules_$version+ds.orig.tar \ tuxcmd-modules-$version+ds gzip --best tuxcmd-modules_$version+ds.orig.tar debian/watch0000644000000000000000000000014112143251011010201 0ustar version=3 opts=dversionmangle=s/\+ds// \ http://sf.net/tuxcmd/tuxcmd-modules-([\d\.]*)\.tar\.bz2 debian/control0000644000000000000000000000171112143251011010557 0ustar Source: tuxcmd-modules Section: utils Priority: optional Maintainer: Debian QA Group Build-Depends: debhelper (>= 9), tuxcmd (>= 0.6.69), libarchive-dev, libbz2-dev, libglib2.0-dev, zlib1g-dev Standards-Version: 3.9.4 Homepage: http://tuxcmd.sourceforge.net Package: tuxcmd-modules Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, tuxcmd (>= 0.6.69) Recommends: gvfs-backends Description: VFS modules for tuxcmd file manager This package contains additional VFS modules for tuxcmd. It provides the modules for GVFS and zip plugins. . * GVFS plugin: read/write access to network resources (FTP, SSH/SFTP, SMB, WebDAV) * zip plugin: - full read/write support for ZIP archives - full support for Unix file and directory permissions - password protection support (read/write) * libarchive plugin: - read-only support for tar, tar.gz, tar.bz2, iso (CD images/ISO9660), cpio, ar and deb archives debian/changelog0000644000000000000000000001160012143251011011024 0ustar tuxcmd-modules (0.6.70+ds-5) unstable; urgency=low * QA upload. * Set Maintainer to Debian QA Group * Bump Standards-Version to 3.9.4 * Update copyright years for debian/* packaging files -- Salvatore Bonaccorso Fri, 10 May 2013 22:00:35 +0200 tuxcmd-modules (0.6.70+ds-4) unstable; urgency=low * Add fix-FTBFS-with-gcc-4.7.patch patch. Fix FTBFS with new GCC 4.7 and add GCC 4.7 compatibility. Thanks to Matthias Klose for the report. (Closes: #667402) -- Salvatore Bonaccorso Wed, 04 Apr 2012 22:15:48 +0200 tuxcmd-modules (0.6.70+ds-3) unstable; urgency=low * Add glib-single-include.patch patch. Include now glib.h directly as including individual glib headers has been deprecated. (Closes: #665622) * Update debian/copyright information. Update format url to refer to copyright-format 1.0. No changes needed to the format. Update copyright years for debian/* packaging. * Bump Debhelper compat level to 9. Adjust versioned Build-Depends on debhelper to (>= 9). * Bump Standards-Version to 3.9.3 -- Salvatore Bonaccorso Sat, 24 Mar 2012 22:00:57 +0100 tuxcmd-modules (0.6.70+ds-2) unstable; urgency=low * Email change: Salvatore Bonaccorso -> carnil@debian.org * Bump Debhelper compat level to 8. Adjust Build-Depends on debhelper to (>= 8). * Refresh debian/copyright file. Update format to revision 174 of DEP5 for machine-readable copyright file information. Adjust copyright years for debian/* packaging * Drop DM-Upload-Allowed field in debian/control * Bump Standards-Version to 3.9.2 * Add Fix-FTBFS-because-removal-of-ARCHIVE_LIBRARY_VERSION.patch patch. Fix build failure because of removal of ARCHIVE_LIBRARY_VERSION. Use ARCHIVE_VERSION_STRING instead. Thanks to Andres Mejia for the bugreport and patch. (Closes: #653233) * Refresh debian/tuxcmd-modules.lintian-overrides. Adjust override string to new tag name 'embedded-library'. -- Salvatore Bonaccorso Sun, 25 Dec 2011 23:44:42 +0100 tuxcmd-modules (0.6.70+ds-1) unstable; urgency=low * New upstream release * debian/patches: - Drop 01_Makefile_without_unrar.patch since upstream split up the tuxcmd-modules package into tuxcmd-modules and tuxcmd-modules-unrar. - Refresh 02_do_not_install_in_lib64_for_amd64.patch patch. - Drop separate_archiving_and_networking_mode.patch which is integrated upstream. * Update README.Debian to reflect the current content of tuxcmd-modules. * Remove comments from debian/watch since upstream source location can be monitored again. * debian/copyright: Refresh copyright years and add missing copyright stanza for gvfs/gvfs.c -- Salvatore Bonaccorso Tue, 17 Nov 2009 23:16:03 +0100 tuxcmd-modules (0.6.69+dfsg-2) unstable; urgency=low * Pick patch from upstream's git repository separating archiving and networking mode (Closes: #556253). -- Salvatore Bonaccorso Sun, 15 Nov 2009 14:26:32 +0100 tuxcmd-modules (0.6.69+dfsg-1) unstable; urgency=low * New upstream version * debian/copyright: Referesh and update to machine readable format specification as proposed by DEP5. * debian/control: - Update (Build-)Depends on tuxcmd to be versioned on (>= 0.6.69). - Bump Standards-Version to 3.8.3 (no changes). * Refresh debian/patches and update patch headers. * Convert to '3.0 (quilt)' source package format. Drop explicit build dependencies in debian/control and debian/rules. -- Salvatore Bonaccorso Sun, 08 Nov 2009 22:03:01 +0100 tuxcmd-modules (0.6.50+dfsg-2) unstable; urgency=low * debian/control: - Add Build-Depends on tuxcmd to prevent build on architectures where tuxcmd is not present, and thus not having it uninstallabe on architectures where tuxcmd is not available. Thanks to Luk Claes (Closes: #540725). - Add DM-Upload-Allowed: yes field, since I'm a DM now. - Bump Standards-Version to 3.8.2 (no changes needed) * Move patches from dpatch to quilt (adjust control file and README.source accordingly). * debian/copyright: - Adjust copyright for debian/* packaging and use DEP5 proposal format. - Adjust refrence to GPL-2 text. * Use minimized debian/rules file using dh commands, add override targets and adjust Build-Depends on quilt and debhelper to required versions. * Update headers of debian/patches/* using DEP3 Patch Tagging Guidelines. * Add lintian-overrides for embedded-zlib. -- Salvatore Bonaccorso Mon, 10 Aug 2009 15:49:25 +0200 tuxcmd-modules (0.6.50+dfsg-1) unstable; urgency=low * Initial release (Closes: #508082) -- Salvatore Bonaccorso Mon, 15 Dec 2008 21:26:20 +0100 debian/README.Debian0000644000000000000000000000036312143251011011217 0ustar tuxcmd-modules for Debian ------------------------- Note on zlib: The ZipArchive Library does not use the Zlib library that is installed in the system. The Zlib library included in the ZipArchive Library is slightly modified for its needs. debian/rules0000755000000000000000000000040612143251011010234 0ustar #!/usr/bin/make -f # -*- makefile -*- PACKAGE = $(shell dh_listpackages) DESTDIR = $(CURDIR)/debian/$(PACKAGE)/usr %: dh $@ override_dh_auto_build: dh_auto_build -- DESTDIR=$(DESTDIR) shared override_dh_auto_install: dh_auto_install -- DESTDIR=$(DESTDIR) debian/tuxcmd-modules.lintian-overrides0000644000000000000000000000036012143251011015505 0ustar # The zip module in tuxcmd-modules uses zibarchive, which ships # a own, but modified zlib directory which contains the source # (e.g. zconf.h is different) for zlib. tuxcmd-modules: embedded-library usr/lib/tuxcmd/libzip_plugin.so: zlib debian/source/0000755000000000000000000000000012143251011010454 5ustar debian/source/format0000644000000000000000000000001412143251011011662 0ustar 3.0 (quilt) debian/dirs0000644000000000000000000000001712143251011010036 0ustar usr/lib/tuxcmd debian/compat0000644000000000000000000000000212143251011010352 0ustar 9 debian/patches/0000755000000000000000000000000012143251011010603 5ustar debian/patches/series0000644000000000000000000000023512143251011012020 0ustar 02_do_not_install_in_lib64_for_amd64.patch Fix-FTBFS-because-removal-of-ARCHIVE_LIBRARY_VERSION.patch glib-single-include.patch fix-FTBFS-with-gcc-4.7.patch debian/patches/02_do_not_install_in_lib64_for_amd64.patch0000644000000000000000000000406512143251011020471 0ustar Description: tuxcmd-modules Makefiles checks if uname -m returns x86_64 and if yes, modules are installed under /usr/lib64/tuxcmd. They should be installed under /usr/lib/tuxcmd on all archs. Origin: vendor Forwarded: not-needed Author: Salvatore Bonaccorso Last-Update: 2009-11-08 --- a/gvfs/Makefile +++ b/gvfs/Makefile @@ -10,8 +10,6 @@ -DG_DISABLE_DEPRECATED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -LIB_SUFFIX=`if test \`uname -m\` = x86_64 -o \`uname -m\` = ppc64; then echo 64; fi` - # VFS_COMMON_OBJECTS=strutils.o treepathutils.o treepath_vfs.o vfsutils.o VFS_COMMON_OBJECTS= @@ -34,7 +32,7 @@ treepath_vfs.o: treepath_vfs.c treepath_vfs.h install:: - $(INSTALL) ./libgvfs_plugin.so $(DESTDIR)/lib$(LIB_SUFFIX)/tuxcmd/ + $(INSTALL) ./libgvfs_plugin.so $(DESTDIR)/lib/tuxcmd/ clean: rm -f *.o *.d *.gch libgvfs_plugin.so --- a/libarchive/Makefile +++ b/libarchive/Makefile @@ -13,8 +13,6 @@ -DG_DISABLE_DEPRECATED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE \ -D__VERBOSE_DEBUGx -LIB_SUFFIX=`if test \`uname -m\` = x86_64 -o \`uname -m\` = ppc64; then echo 64; fi` - VFS_COMMON_OBJECTS=strutils.o treepathutils.o treepath_vfs.o vfsutils.o VFS_OBJECTS=libarchive.o @@ -52,7 +50,7 @@ treepath_vfs.o: treepath_vfs.c treepath_vfs.h install:: - $(INSTALL) ./libarchive_plugin.so $(DESTDIR)/lib$(LIB_SUFFIX)/tuxcmd/ + $(INSTALL) ./libarchive_plugin.so $(DESTDIR)/lib/tuxcmd/ clean: rm -f *.o *.d *.gch libarchive_plugin.so --- a/zip/Makefile +++ b/zip/Makefile @@ -12,8 +12,6 @@ -DG_DISABLE_DEPRECATED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE \ -D__VERBOSE_DEBUGx -LIB_SUFFIX=`if test \`uname -m\` = x86_64 -o \`uname -m\` = ppc64; then echo 64; fi` - VFS_COMMON_OBJECTS=strutils.o treepathutils.o treepath_vfs.o vfsutils.o @@ -43,7 +41,7 @@ install:: - $(INSTALL) ./libzip_plugin.so $(DESTDIR)/lib$(LIB_SUFFIX)/tuxcmd/ + $(INSTALL) ./libzip_plugin.so $(DESTDIR)/lib/tuxcmd/ clean: ( cd $(DIR_ZIPARCHIVE) && make -f ../Makefile.ziparch clean ) || exit 1 debian/patches/fix-FTBFS-with-gcc-4.7.patch0000644000000000000000000000510412143251011015265 0ustar Description: Fix FTBFS with gcc 4.7 . Add GCC 4.7 compatibility for ZipArchive Origin: upstream, commit:e932ebbf029a4cdb38c61a838e8f3669debd410e, commit:f4d8292cf67ab481a27ea88f04e2edd6dc16119e Bug-Debian: http://bugs.debian.org/667402 Forwarded: no Author: Salvatore Bonaccorso Last-Update: 2012-04-04 --- --- a/zip/ZipArchive/ZipCollections_stl.h +++ b/zip/ZipArchive/ZipCollections_stl.h @@ -86,10 +86,10 @@ } TYPE& GetAt(size_t uIndex) {return this->at(uIndex);} const TYPE& GetAt(size_t uIndex) const {return this->at(uIndex);} - size_t Add(const TYPE& x) {push_back(x);return GetUpperBound();} + size_t Add(const TYPE& x) {this->push_back(x);return GetUpperBound();} void RemoveAll() {this->clear();} - void RemoveAt(size_t uIndex) { erase(GetIterFromIndex(uIndex));} - void InsertAt(size_t uIndex, const TYPE& x){insert(GetIterFromIndex(uIndex), x);} + void RemoveAt(size_t uIndex) { this->erase(GetIterFromIndex(uIndex));} + void InsertAt(size_t uIndex, const TYPE& x){this->insert(GetIterFromIndex(uIndex), x);} TYPE& operator[](size_t uIndex) { @@ -114,8 +114,8 @@ typedef typename std::list::iterator iterator; typedef typename std::list::const_iterator const_iterator; size_t GetCount() const {return this->size();} - void AddTail(const TYPE& x){push_back(x);} - void AddHead(const TYPE& x){push_front(x);} + void AddTail(const TYPE& x){this->push_back(x);} + void AddHead(const TYPE& x){this->push_front(x);} void RemoveHead() {this->pop_front();} void RemoveTail() {this->pop_back();} void RemoveAll() {this->clear();} @@ -131,7 +131,7 @@ TYPE& GetPrev(iterator& pos) { return *pos--;} TYPE GetPrev(iterator& pos) const{ return *pos--;} iterator Find(TYPE& x) { return std::find(this->begin(), this->end(), x);} - void RemoveAt(iterator& pos) { erase(pos);} + void RemoveAt(iterator& pos) { this->erase(pos);} bool IteratorValid(const_iterator &iter) const { return iter != this->end(); @@ -167,11 +167,11 @@ typedef typename std::map, std::allocator > >::value_type v_type; void SetAt( KEY key, VALUE newValue) { - insert(v_type(key, newValue)); + this->insert(v_type(key, newValue)); } ZBOOL RemoveKey( KEY key ) { - return erase(key) != 0; + return this->erase(key) != 0; } ZBOOL Lookup( KEY key, VALUE& rValue ) const { --- a/zip/ZipArchive/stdafx.h +++ b/zip/ZipArchive/stdafx.h @@ -23,6 +23,7 @@ #include "_features.h" #include "_platform.h" +#include #if _MSC_VER > 1000 #pragma once debian/patches/glib-single-include.patch0000644000000000000000000000111012143251011015432 0ustar Description: Including individual glib headers is no longer supported Include now glib.h directly as including individual glib headers has been deprecated and with glib 2.32 it is now mandatory to include glib.h Origin: vendor Bug: https://bugzilla.bzatek.net/show_bug.cgi?id=17 Bug-Debian: http://bugs.debian.org/665622 Forwarded: yes Author: Salvatore Bonaccorso Last-Update: 2012-03-24 --- a/gvfs/gvfs.c +++ b/gvfs/gvfs.c @@ -25,7 +25,7 @@ #include #include -#include +#include #include "vfs_types.h" debian/patches/Fix-FTBFS-because-removal-of-ARCHIVE_LIBRARY_VERSION.patch0000644000000000000000000000154112143251011022337 0ustar Description: Fix build failure because of removal of ARCHIVE_LIBRARY_VERSION. Use ARCHIVE_VERSION_STRING instead. Bug-Debian: http://bugs.debian.org/653233 Forwarded: not-needed Author: Andres Mejia Last-Update: 2011-12-25 --- a/libarchive/libarchive.c +++ b/libarchive/libarchive.c @@ -141,7 +141,7 @@ module_info->ID = g_strdup ("libarchive_plugin"); module_info->Name = g_strdup ("libarchive plugin"); - module_info->About = g_strdup_printf ("version %s, build date: %s\nusing %s\n", VERSION, BUILD_DATE, ARCHIVE_LIBRARY_VERSION); + module_info->About = g_strdup_printf ("version %s, build date: %s\nusing %s\n", VERSION, BUILD_DATE, ARCHIVE_VERSION_STRING); module_info->Copyright = g_strdup ("Plugin Copyright (C) 2008-2009 Tomáš Bžatek\nlibarchive sources Copyright (c) 2003-2007 Tim Kientzle"); return module_info;