debian/0000755000000000000000000000000012122705005007160 5ustar debian/changelog0000644000000000000000000000624212122704370011042 0ustar ultracopier (0.3.1.0-1) unstable; urgency=low * New upstream release * Remove merged patches: - 0001-Also-search-resources-in-var-lib-ultracopier.patch - 0002-Update-the-list-of-available-translations.patch * debian/rules: + Explicitly set ultracopier.pro as the main project file. + Stop creating player_pause.png resource for Teracopy theme since it is now in upstream tarball. + Drop executable permissions on flag.png images at build time. * Drop hardening-no-fortify-functions lintian override since it is a false positive (thanks Paul Tagliamonte). -- Thomas Preud'homme Thu, 21 Mar 2013 15:31:34 +0100 ultracopier (0.3.0.5-1) unstable; urgency=low * New upstream release. * debian/patches: + 0001-Also-search-resources-in-var-lib-ultracopier.patch + 0002-Update-the-list-of-available-translations.patch + 0003-Create-a-rule-to-compile-.ts-into-.qm.patch + 0004-Set-resources-installation-path.patch + 0005-Build-ultracopier-with-resources.patch + 0006-Avoid-linking-against-libpthread.patch + 0007-Fix-typos-in-string-shown-to-the-user.patch * debian/rules: + Explicitly set build.pro as the main project file. + Create missing resources/player_pause.png resource in plugins-alternative/Themes/Teracopy via a symlink to plugins/Themes/Oxygen/resources/player_pause.png. + Stop making i18n files executable. + Set QMAKE_CXXFLAGS_RELEASE and QMAKE_CXXFLAGS_DEBUG from CPPFLAGS and CXXFLAGS when invoking qmake. * debian/control: + Bump Standards-Version to 3.9.4 (no changes needed). + Update build dependency version on debhelper to reflect compatibility. + Update maintainer email address. * debian/copyright: + Update and complete copyright information. + Use version 1.0 of the format specification. + Update maintainer email address. * Bump debhelper compatibility to 9. * Override no-upstream-changelog lintian warning as there simply is no upstream changelog. * Override hardening-no-fortify-functions warning as -D_FORTIFY_SOURCE=2 is correctly passed to g++. -- Thomas Preud'homme Mon, 31 Dec 2012 20:00:53 +0100 ultracopier (0.2.0.16-2) unstable; urgency=low * debian/rules: + Use dpkg-buildflags to set build flags (CPPFLAGS, CFLAGS and LDFLAGS). * debian/copyright: + Document global license and copyright. + Add missing dots in Expat license block. -- Thomas Preud'homme Thu, 16 Jun 2011 16:16:43 +0200 ultracopier (0.2.0.16-1) unstable; urgency=low * Initial release (Closes: #599008). * Modifications made to upstream archive: + Remove the inclusion of a non-existent file in qmake project file. + Set the name of the executable. + Populate INSTALLS variable to create an install target in generated Makefile. + Avoid linking Ultracopier against libpthread. + Remove deprecated TerminalOptions key in desktop entry. + Fix two typos affecting the binary. + Fix program version number * Add a manpage. * debian/copyright: + Use DEP5 candidate format. -- Thomas Preud'homme Thu, 30 Sep 2010 21:58:07 +0200 debian/compat0000644000000000000000000000000212122704370010362 0ustar 9 debian/control0000644000000000000000000000135112122704370010567 0ustar Source: ultracopier Section: utils Priority: extra Maintainer: Thomas Preud'homme Build-Depends: debhelper (>= 9), libqt4-dev, kdelibs5-dev, qt4-qmake Standards-Version: 3.9.4 Homepage: http://ultracopier.first-world.info/ Vcs-Git: git://git.debian.org/collab-maint/ultracopier.git Vcs-Browser: http://git.debian.org/?p=collab-maint/ultracopier.git;a=summary Package: ultracopier Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: advanced graphical file copy system Ultracopier is a graphical file copy system featuring: - transfer suspend - speed control - transfer list management - advanced name colision and error management . Ultracopier also supports multiple skins and languages. debian/copyright0000644000000000000000000001245612122704370011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Ultracopier Upstream-Contact: Herman Brule Source: http://files.first-world.info/ultracopier/ License: GPL-3 Files: * Copyright: 2010-2011 Herman Brule License: GPL-3 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 3 of the License, or (at your option) any later version. . This package 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 General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". Files: debian/* Copyright: 2010-2012 Thomas Preud'homme License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: resources/*.png resources/img-src/* Copyright: 2007 Nuno Pinheiro 2007 David Vignoni 2007 David Miller 2007 Johann Ollivier Lapeyre 2007 Kenneth Wimer 2007 Riccardo Iaconelli License: LGPL-3+ Files: plugins/Languages/*.png ./resources/Languages/*.png Copyright: 2012 Matthieu Aubry License: GPL-3+ Files: lib/qt-tar-xz/xz* Copyright: Lasse Collin Igor Pavlov License: public-domain XZ Embedded has been put into the public domain, thus you can do whatever you want with it. All the files in XZ Embedded have been written by Lasse Collin, but some files are heavily based on public domain code written by Igor Pavlov. License: GPL-3 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, version 3 of the License. . This program 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 General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the full text of the GNU General Public License version 3 can be found in the file `/usr/share/common-licenses/GPL-3'. License: GPL-3+ 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 3 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 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the full text of the GNU General Public License version 3 can be found in the file `/usr/share/common-licenses/GPL-3'. License: LGPL-3+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 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 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . . On Debian systems, the full text of the GNU Lesser General Public License version 3 can be found in the file `/usr/share/common-licenses/GPL-3'. debian/detect_arch.cpp0000644000000000000000000000016712122704370012141 0ustar #include #include int main(void) { std::cout << ULTRACOPIER_PLATFORM_CODE; return 0; } debian/detect_arch.pro0000644000000000000000000000020512122704370012150 0ustar TEMPLATE = app TARGET = detect_arch target.path = . INSTALLS += target HEADERS += PlatformMacro.h SOURCES += debian/detect_arch.cpp debian/patches/0000755000000000000000000000000012122704370010613 5ustar debian/patches/0001-Update-the-list-of-available-translations.patch0000644000000000000000000000272612122704370022231 0ustar From 2e38eecc0ce22daa8dd41f7d12a61570f62ce631 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Thu, 21 Mar 2013 17:01:14 +0100 Subject: Update the list of available translations Update *.pro about the list of available translations. Origin: vendor Forwarded: yes Last-Update: 2013-03-21 --- plugins-alternative/Themes/Clean/interface.pro | 1 - plugins-alternative/Themes/Teracopy/interface.pro | 1 - 2 files changed, 2 deletions(-) diff --git a/plugins-alternative/Themes/Clean/interface.pro b/plugins-alternative/Themes/Clean/interface.pro index 20fd1dd..316eb4e 100644 --- a/plugins-alternative/Themes/Clean/interface.pro +++ b/plugins-alternative/Themes/Clean/interface.pro @@ -24,7 +24,6 @@ TRANSLATIONS += Languages/fr/translation.ts \ Languages/hi/translation.ts \ Languages/nl/translation.ts \ Languages/no/translation.ts \ - Languages/pt/translation.ts \ Languages/ko/translation.ts FORMS += \ diff --git a/plugins-alternative/Themes/Teracopy/interface.pro b/plugins-alternative/Themes/Teracopy/interface.pro index 4cecacb..37f352d 100644 --- a/plugins-alternative/Themes/Teracopy/interface.pro +++ b/plugins-alternative/Themes/Teracopy/interface.pro @@ -29,7 +29,6 @@ TRANSLATIONS += Languages/fr/translation.ts \ Languages/hi/translation.ts \ Languages/nl/translation.ts \ Languages/no/translation.ts \ - Languages/pt/translation.ts \ Languages/ko/translation.ts RESOURCES += resources.qrc debian/patches/0002-Create-a-rule-to-compile-.ts-into-.qm.patch0000644000000000000000000001173312122704370021016 0ustar From f788a1a901d7cc6794906591ca12c8630183f33c Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Thu, 3 Jan 2013 14:58:39 +0100 Subject: Create a rule to compile *.ts into *.qm Add a new compiler to compile *.ts files into *.qm. Origin: vendor Forwarded: no Last-Update: 2013-03-21 --- plugins-alternative/CopyEngine/Rsync/copyEngine.pro | 1 + plugins-alternative/Themes/Clean/interface.pro | 1 + plugins-alternative/Themes/Teracopy/interface.pro | 1 + plugins/CopyEngine/Ultracopier-0.3/copyEngine.pro | 1 + plugins/PluginLoader/catchcopy-v0002/pluginLoader.pro | 1 + plugins/Themes/Oxygen/interface.pro | 1 + ultracopier.pro | 1 + updateqm.pri | 10 ++++++++++ 8 files changed, 17 insertions(+) create mode 100644 updateqm.pri diff --git a/plugins-alternative/CopyEngine/Rsync/copyEngine.pro b/plugins-alternative/CopyEngine/Rsync/copyEngine.pro index 13ab523..68b7eb2 100644 --- a/plugins-alternative/CopyEngine/Rsync/copyEngine.pro +++ b/plugins-alternative/CopyEngine/Rsync/copyEngine.pro @@ -46,6 +46,7 @@ SOURCES = copyEngine.cpp \ RenamingRules.cpp \ ListThread_InodeAction.cpp TARGET = $$qtLibraryTarget(copyEngine) +include(../../../updateqm.pri) TRANSLATIONS += Languages/fr/translation.ts \ Languages/ar/translation.ts \ Languages/zh/translation.ts \ diff --git a/plugins-alternative/Themes/Clean/interface.pro b/plugins-alternative/Themes/Clean/interface.pro index 316eb4e..a794407 100644 --- a/plugins-alternative/Themes/Clean/interface.pro +++ b/plugins-alternative/Themes/Clean/interface.pro @@ -8,6 +8,7 @@ HEADERS = interface.h \ SOURCES = interface.cpp \ factory.cpp TARGET = $$qtLibraryTarget(interface) +include(../../../updateqm.pri) TRANSLATIONS += Languages/fr/translation.ts \ Languages/ar/translation.ts \ Languages/zh/translation.ts \ diff --git a/plugins-alternative/Themes/Teracopy/interface.pro b/plugins-alternative/Themes/Teracopy/interface.pro index 37f352d..de396b6 100644 --- a/plugins-alternative/Themes/Teracopy/interface.pro +++ b/plugins-alternative/Themes/Teracopy/interface.pro @@ -13,6 +13,7 @@ SOURCES = interface.cpp \ factory.cpp \ TransferModel.cpp TARGET = $$qtLibraryTarget(interface) +include(../../../updateqm.pri) TRANSLATIONS += Languages/fr/translation.ts \ Languages/ar/translation.ts \ Languages/zh/translation.ts \ diff --git a/plugins/CopyEngine/Ultracopier-0.3/copyEngine.pro b/plugins/CopyEngine/Ultracopier-0.3/copyEngine.pro index 13ab523..68b7eb2 100644 --- a/plugins/CopyEngine/Ultracopier-0.3/copyEngine.pro +++ b/plugins/CopyEngine/Ultracopier-0.3/copyEngine.pro @@ -46,6 +46,7 @@ SOURCES = copyEngine.cpp \ RenamingRules.cpp \ ListThread_InodeAction.cpp TARGET = $$qtLibraryTarget(copyEngine) +include(../../../updateqm.pri) TRANSLATIONS += Languages/fr/translation.ts \ Languages/ar/translation.ts \ Languages/zh/translation.ts \ diff --git a/plugins/PluginLoader/catchcopy-v0002/pluginLoader.pro b/plugins/PluginLoader/catchcopy-v0002/pluginLoader.pro index f383793..9229f31 100755 --- a/plugins/PluginLoader/catchcopy-v0002/pluginLoader.pro +++ b/plugins/PluginLoader/catchcopy-v0002/pluginLoader.pro @@ -13,6 +13,7 @@ SOURCES = \ pluginLoader.cpp \ OptionsWidget.cpp TARGET = $$qtLibraryTarget(pluginLoader) +include(../../../updateqm.pri) TRANSLATIONS += Languages/fr/translation.ts \ Languages/ar/translation.ts \ Languages/zh/translation.ts \ diff --git a/plugins/Themes/Oxygen/interface.pro b/plugins/Themes/Oxygen/interface.pro index dda4098..f0ac34f 100644 --- a/plugins/Themes/Oxygen/interface.pro +++ b/plugins/Themes/Oxygen/interface.pro @@ -14,6 +14,7 @@ SOURCES = interface.cpp \ factory.cpp \ TransferModel.cpp TARGET = $$qtLibraryTarget(interface) +include(../../../updateqm.pri) TRANSLATIONS += Languages/fr/translation.ts \ Languages/ar/translation.ts \ Languages/zh/translation.ts \ diff --git a/ultracopier.pro b/ultracopier.pro index dd33bc5..dfdad84 100644 --- a/ultracopier.pro +++ b/ultracopier.pro @@ -1,5 +1,6 @@ TEMPLATE = app QT += network xml +include(updateqm.pri) TRANSLATIONS += plugins/Languages/fr/translation.ts \ plugins/Languages/ar/translation.ts \ plugins/Languages/zh/translation.ts \ diff --git a/updateqm.pri b/updateqm.pri new file mode 100644 index 0000000..4fc4ebc --- /dev/null +++ b/updateqm.pri @@ -0,0 +1,10 @@ +isEmpty(QMAKE_LRELEASE) { + win32:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe + else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease +} +updateqm.input = TRANSLATIONS +updateqm.output = ${QMAKE_FILE_PATH}/${QMAKE_FILE_BASE}.qm +updateqm.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN} -qm ${QMAKE_FILE_OUT} +updateqm.CONFIG += no_link +QMAKE_EXTRA_COMPILERS += updateqm +PRE_TARGETDEPS += compiler_updateqm_make_all debian/patches/0003-Set-resources-installation-path.patch0000644000000000000000000002152112122704370020411 0ustar From 93611e31b329d3baa9215c68f6107cdc39836c4e Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Thu, 3 Jan 2013 15:16:14 +0100 Subject: Set resources installation path. Set the place to install resources (executable, lang files, themes, plugins). Origin: vendor Forwarded: no Last-Update: 2013-03-21 --- extratool.pri | 4 ++++ plugins-alternative/Themes/Clean/interface.pro | 8 ++++++++ plugins-alternative/Themes/Teracopy/interface.pro | 8 ++++++++ plugins/CopyEngine/Ultracopier-0.3/copyEngine.pro | 8 ++++++++ plugins/Listener/catchcopy-v0002/listener.pro | 6 +++++- plugins/PluginLoader/catchcopy-v0002/pluginLoader.pro | 6 ++++++ plugins/SessionLoader/KDE4/sessionLoader.pro | 5 +++++ plugins/SessionLoader/Windows/sessionLoader.pro | 6 +++++- plugins/Themes/Oxygen/interface.pro | 8 ++++++++ ultracopier.pro | 4 ++++ 10 files changed, 61 insertions(+), 2 deletions(-) create mode 100644 extratool.pri diff --git a/extratool.pri b/extratool.pri new file mode 100644 index 0000000..618456a --- /dev/null +++ b/extratool.pri @@ -0,0 +1,4 @@ +defineReplace(superBaseName) { + THEMEDIR = $$dirname($$1) + return($$basename(THEMEDIR)/$$basename($$1)) +} diff --git a/plugins-alternative/Themes/Clean/interface.pro b/plugins-alternative/Themes/Clean/interface.pro index a794407..836369f 100644 --- a/plugins-alternative/Themes/Clean/interface.pro +++ b/plugins-alternative/Themes/Clean/interface.pro @@ -8,6 +8,8 @@ HEADERS = interface.h \ SOURCES = interface.cpp \ factory.cpp TARGET = $$qtLibraryTarget(interface) +include(../../../extratool.pri) +target.path = $${PREFIX}/lib/ultracopier/$$superBaseName(_PRO_FILE_PWD_) include(../../../updateqm.pri) TRANSLATIONS += Languages/fr/translation.ts \ Languages/ar/translation.ts \ @@ -27,6 +29,12 @@ TRANSLATIONS += Languages/fr/translation.ts \ Languages/no/translation.ts \ Languages/ko/translation.ts +translations.files = Languages +translations.path = $${PREFIX}/lib/ultracopier/$$superBaseName(_PRO_FILE_PWD_) +infos.files = informations.xml +infos.path = $${PREFIX}/lib/ultracopier/$$superBaseName(_PRO_FILE_PWD_) +INSTALLS += target translations infos + FORMS += \ interface.ui diff --git a/plugins-alternative/Themes/Teracopy/interface.pro b/plugins-alternative/Themes/Teracopy/interface.pro index de396b6..84bffbc 100644 --- a/plugins-alternative/Themes/Teracopy/interface.pro +++ b/plugins-alternative/Themes/Teracopy/interface.pro @@ -13,6 +13,8 @@ SOURCES = interface.cpp \ factory.cpp \ TransferModel.cpp TARGET = $$qtLibraryTarget(interface) +include(../../../extratool.pri) +target.path = $${PREFIX}/lib/ultracopier/$$superBaseName(_PRO_FILE_PWD_) include(../../../updateqm.pri) TRANSLATIONS += Languages/fr/translation.ts \ Languages/ar/translation.ts \ @@ -32,6 +34,12 @@ TRANSLATIONS += Languages/fr/translation.ts \ Languages/no/translation.ts \ Languages/ko/translation.ts +translations.files = Languages +translations.path = $${PREFIX}/lib/ultracopier/$$superBaseName(_PRO_FILE_PWD_) +infos.files = informations.xml +infos.path = $${PREFIX}/lib/ultracopier/$$superBaseName(_PRO_FILE_PWD_) +INSTALLS += target translations infos + RESOURCES += resources.qrc FORMS += \ diff --git a/plugins/CopyEngine/Ultracopier-0.3/copyEngine.pro b/plugins/CopyEngine/Ultracopier-0.3/copyEngine.pro index 68b7eb2..a5a2af3 100644 --- a/plugins/CopyEngine/Ultracopier-0.3/copyEngine.pro +++ b/plugins/CopyEngine/Ultracopier-0.3/copyEngine.pro @@ -46,6 +46,8 @@ SOURCES = copyEngine.cpp \ RenamingRules.cpp \ ListThread_InodeAction.cpp TARGET = $$qtLibraryTarget(copyEngine) +include(../../../extratool.pri) +target.path = $${PREFIX}/lib/ultracopier/$$superBaseName(_PRO_FILE_PWD_) include(../../../updateqm.pri) TRANSLATIONS += Languages/fr/translation.ts \ Languages/ar/translation.ts \ @@ -66,6 +68,12 @@ TRANSLATIONS += Languages/fr/translation.ts \ Languages/pt/translation.ts \ Languages/ko/translation.ts +translations.files = Languages +translations.path = $${PREFIX}/lib/ultracopier/$$superBaseName(_PRO_FILE_PWD_) +infos.files = informations.xml +infos.path = $${PREFIX}/lib/ultracopier/$$superBaseName(_PRO_FILE_PWD_) +INSTALLS += target translations infos + FORMS += \ options.ui \ fileErrorDialog.ui \ diff --git a/plugins/Listener/catchcopy-v0002/listener.pro b/plugins/Listener/catchcopy-v0002/listener.pro index 5903fa4..4f141b6 100644 --- a/plugins/Listener/catchcopy-v0002/listener.pro +++ b/plugins/Listener/catchcopy-v0002/listener.pro @@ -14,4 +14,8 @@ SOURCES = listener.cpp \ catchcopy-api-0002/ServerCatchcopy.cpp \ catchcopy-api-0002/ExtraSocketCatchcopy.cpp TARGET = $$qtLibraryTarget(listener) - +include(../../../extratool.pri) +target.path = $${PREFIX}/lib/ultracopier/$$superBaseName(_PRO_FILE_PWD_) +infos.files = informations.xml +infos.path = $${PREFIX}/lib/ultracopier/$$superBaseName(_PRO_FILE_PWD_) +INSTALLS += target infos diff --git a/plugins/PluginLoader/catchcopy-v0002/pluginLoader.pro b/plugins/PluginLoader/catchcopy-v0002/pluginLoader.pro index 9229f31..57831d4 100755 --- a/plugins/PluginLoader/catchcopy-v0002/pluginLoader.pro +++ b/plugins/PluginLoader/catchcopy-v0002/pluginLoader.pro @@ -33,6 +33,12 @@ TRANSLATIONS += Languages/fr/translation.ts \ Languages/pt/translation.ts \ Languages/ko/translation.ts +include(../../../extratool.pri) +target.path = $${PREFIX}/lib/ultracopier/$$superBaseName(_PRO_FILE_PWD_) +infos.files = informations.xml +infos.path = $${PREFIX}/lib/ultracopier/$$superBaseName(_PRO_FILE_PWD_) +INSTALLS += taget infos + LIBS += -lole32 FORMS += \ diff --git a/plugins/SessionLoader/KDE4/sessionLoader.pro b/plugins/SessionLoader/KDE4/sessionLoader.pro index e036663..0f62558 100644 --- a/plugins/SessionLoader/KDE4/sessionLoader.pro +++ b/plugins/SessionLoader/KDE4/sessionLoader.pro @@ -8,3 +8,8 @@ HEADERS = sessionLoader.h \ ../../../interface/PluginInterface_SessionLoader.h SOURCES = sessionLoader.cpp TARGET = $$qtLibraryTarget(sessionLoader) +include(../../../extratool.pri) +target.path = $${PREFIX}/lib/ultracopier/$$superBaseName(_PRO_FILE_PWD_) +infos.files = informations.xml +infos.path = $${PREFIX}/lib/ultracopier/$$superBaseName(_PRO_FILE_PWD_) +INSTALLS += target infos diff --git a/plugins/SessionLoader/Windows/sessionLoader.pro b/plugins/SessionLoader/Windows/sessionLoader.pro index c454601..0f62558 100644 --- a/plugins/SessionLoader/Windows/sessionLoader.pro +++ b/plugins/SessionLoader/Windows/sessionLoader.pro @@ -8,4 +8,8 @@ HEADERS = sessionLoader.h \ ../../../interface/PluginInterface_SessionLoader.h SOURCES = sessionLoader.cpp TARGET = $$qtLibraryTarget(sessionLoader) - +include(../../../extratool.pri) +target.path = $${PREFIX}/lib/ultracopier/$$superBaseName(_PRO_FILE_PWD_) +infos.files = informations.xml +infos.path = $${PREFIX}/lib/ultracopier/$$superBaseName(_PRO_FILE_PWD_) +INSTALLS += target infos diff --git a/plugins/Themes/Oxygen/interface.pro b/plugins/Themes/Oxygen/interface.pro index f0ac34f..e845c5f 100644 --- a/plugins/Themes/Oxygen/interface.pro +++ b/plugins/Themes/Oxygen/interface.pro @@ -14,6 +14,8 @@ SOURCES = interface.cpp \ factory.cpp \ TransferModel.cpp TARGET = $$qtLibraryTarget(interface) +include(../../../extratool.pri) +target.path = $${PREFIX}/lib/ultracopier/$$superBaseName(_PRO_FILE_PWD_) include(../../../updateqm.pri) TRANSLATIONS += Languages/fr/translation.ts \ Languages/ar/translation.ts \ @@ -34,6 +36,12 @@ TRANSLATIONS += Languages/fr/translation.ts \ Languages/pt/translation.ts \ Languages/ko/translation.ts +translations.files = Languages +translations.path = $${PREFIX}/lib/ultracopier/$$superBaseName(_PRO_FILE_PWD_) +infos.files = informations.xml +infos.path = $${PREFIX}/lib/ultracopier/$$superBaseName(_PRO_FILE_PWD_) +INSTALLS += target translations infos + win32 { RESOURCES += resources_windows.qrc } diff --git a/ultracopier.pro b/ultracopier.pro index dfdad84..62ae4c1 100644 --- a/ultracopier.pro +++ b/ultracopier.pro @@ -19,9 +19,13 @@ TRANSLATIONS += plugins/Languages/fr/translation.ts \ plugins/Languages/no/translation.ts \ plugins/Languages/pt/translation.ts \ plugins/Languages/ko/translation.ts +translations.files += plugins/Languages +translations.path = $${PREFIX}/share/ultracopier win32:RC_FILE += resources/resources-windows.rc TARGET = ultracopier +target.path = $${PREFIX}/bin +INSTALLS += target translations macx { ICON = resources/ultracopier.icns } debian/patches/0004-Build-ultracopier-with-resources.patch0000644000000000000000000000257312122704370020573 0ustar From b808eb75923217d31abf3bef1820cc04bce0975d Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Thu, 3 Jan 2013 15:21:53 +0100 Subject: Build ultracopier with resources Add a .pro file to build ultracopier with plugins and themes. Origin: vendor Forwarded: no Last-Update: 2013-03-21 --- build.pro | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 build.pro diff --git a/build.pro b/build.pro new file mode 100644 index 0000000..7d9001b --- /dev/null +++ b/build.pro @@ -0,0 +1,19 @@ +# Build ultracopier and the right plugins for the host system +TEMPLATE = subdirs +SUBDIRS = ultracopier copyengine listener oxygen clean teracopy sessionloader +ultracopier.file = ultracopier.pro +copyengine.file = plugins/CopyEngine/Ultracopier-0.3/copyEngine.pro +listener.file = plugins/Listener/catchcopy-v0002/listener.pro +oxygen.file = plugins/Themes/Oxygen/interface.pro +clean.file = plugins-alternative/Themes/Clean/interface.pro +teracopy.file = plugins-alternative/Themes/Teracopy/interface.pro +unix { + sessionloader.file = plugins/SessionLoader/KDE4/sessionLoader.pro + SUBDIRS += dbus + dbus.file = plugins/Listener/dbus/listener.pro +} +win32 { + sessionloader.file = plugins/SessionLoader/Windows/sessionLoader.pro + SUBDIRS += pluginloader + pluginloader.file = plugins/PluginLoader/catchcopy-v0002/pluginLoader.pro +} debian/patches/0005-Avoid-linking-against-libpthread.patch0000644000000000000000000000133512122704370020453 0ustar From cf6ccd22cd7ff4be7e7c83219e0b43efbdc3e780 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Thu, 3 Jan 2013 15:27:59 +0100 Subject: Avoid linking against libpthread Link with --as-needed to avoid linking to libpthread. Origin: vendor Forwarded: no Last-Update: 2013-03-21 --- ultracopier.pro | 1 + 1 file changed, 1 insertion(+) diff --git a/ultracopier.pro b/ultracopier.pro index 62ae4c1..2aba5b5 100644 --- a/ultracopier.pro +++ b/ultracopier.pro @@ -24,6 +24,7 @@ translations.path = $${PREFIX}/share/ultracopier win32:RC_FILE += resources/resources-windows.rc TARGET = ultracopier +QMAKE_LFLAGS += -Wl,--as-needed target.path = $${PREFIX}/bin INSTALLS += target translations macx { debian/patches/0006-Fix-typos-in-string-shown-to-the-user.patch0000644000000000000000000003345012122704370021344 0ustar From c325734ec5f282af878119a0f79a5f91f47ada99 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Thu, 3 Jan 2013 16:46:23 +0100 Subject: Fix typos in string shown to the user. s/authentification/authentication/ AuthPlugin.cpp s/informations/information/ SystrayIcon.cpp s/informations/information/ HelpDialog.ui s/informations/information/ plugins/Languages/*/translation.ts s/informations/information/ plugins/Themes/Oxygen/options.ui s/informations/information/ plugins/Themes/Oxygen/interface.ui s/informations/information/ plugins/Themes/Oxygen/Languages/*/translation.ts Origin: vendor Forwarded: no Last-Update: 2013-03-21 --- AuthPlugin.cpp | 2 +- SystrayIcon.cpp | 2 +- plugins/Themes/Oxygen/Languages/ar/translation.ts | 2 +- plugins/Themes/Oxygen/Languages/de/translation.ts | 2 +- plugins/Themes/Oxygen/Languages/el/translation.ts | 2 +- plugins/Themes/Oxygen/Languages/es/translation.ts | 2 +- plugins/Themes/Oxygen/Languages/fr/translation.ts | 4 ++-- plugins/Themes/Oxygen/Languages/hi/translation.ts | 2 +- plugins/Themes/Oxygen/Languages/id/translation.ts | 2 +- plugins/Themes/Oxygen/Languages/it/translation.ts | 2 +- plugins/Themes/Oxygen/Languages/ja/translation.ts | 2 +- plugins/Themes/Oxygen/Languages/nl/translation.ts | 2 +- plugins/Themes/Oxygen/Languages/no/translation.ts | 2 +- plugins/Themes/Oxygen/Languages/pl/translation.ts | 2 +- plugins/Themes/Oxygen/Languages/pt/translation.ts | 2 +- plugins/Themes/Oxygen/Languages/ru/translation.ts | 2 +- plugins/Themes/Oxygen/Languages/th/translation.ts | 2 +- plugins/Themes/Oxygen/Languages/tr/translation.ts | 2 +- plugins/Themes/Oxygen/Languages/zh/translation.ts | 2 +- plugins/Themes/Oxygen/interface.ui | 2 +- plugins/Themes/Oxygen/options.ui | 2 +- 21 files changed, 22 insertions(+), 22 deletions(-) diff --git a/AuthPlugin.cpp b/AuthPlugin.cpp index fcea81c..0d624d9 100644 --- a/AuthPlugin.cpp +++ b/AuthPlugin.cpp @@ -94,7 +94,7 @@ void AuthPlugin::run() if(key==folderHash.result()) emit authentifiedPath(pluginBasePath); else - ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Warning,"This plugin have wrong authentification"); + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Warning,"This plugin have wrong authentication"); } keyDescriptor.close(); } diff --git a/SystrayIcon.cpp b/SystrayIcon.cpp index 4a1c8f1..a811628 100644 --- a/SystrayIcon.cpp +++ b/SystrayIcon.cpp @@ -124,7 +124,7 @@ void SystrayIcon::updateSystrayIcon() QString icon; if(!haveListenerInfo || !havePluginLoaderInfo) { - toolTip=tr("Searching informations..."); + toolTip=tr("Searching information..."); icon="Uncaught"; } else diff --git a/plugins/Themes/Oxygen/Languages/ar/translation.ts b/plugins/Themes/Oxygen/Languages/ar/translation.ts index 0708252..610a7a2 100644 --- a/plugins/Themes/Oxygen/Languages/ar/translation.ts +++ b/plugins/Themes/Oxygen/Languages/ar/translation.ts @@ -140,7 +140,7 @@ - Show speed as main informations + Show speed as main information diff --git a/plugins/Themes/Oxygen/Languages/de/translation.ts b/plugins/Themes/Oxygen/Languages/de/translation.ts index f1f2eee..fc759f2 100644 --- a/plugins/Themes/Oxygen/Languages/de/translation.ts +++ b/plugins/Themes/Oxygen/Languages/de/translation.ts @@ -150,7 +150,7 @@ - Show speed as main informations + Show speed as main information Zeige Geschwindigkeit als Haupt-Informationen diff --git a/plugins/Themes/Oxygen/Languages/el/translation.ts b/plugins/Themes/Oxygen/Languages/el/translation.ts index 0708252..610a7a2 100644 --- a/plugins/Themes/Oxygen/Languages/el/translation.ts +++ b/plugins/Themes/Oxygen/Languages/el/translation.ts @@ -140,7 +140,7 @@ - Show speed as main informations + Show speed as main information diff --git a/plugins/Themes/Oxygen/Languages/es/translation.ts b/plugins/Themes/Oxygen/Languages/es/translation.ts index 3e9fb5b..9cc1d37 100644 --- a/plugins/Themes/Oxygen/Languages/es/translation.ts +++ b/plugins/Themes/Oxygen/Languages/es/translation.ts @@ -140,7 +140,7 @@ - Show speed as main informations + Show speed as main information Mostrar la velocidad como principales informaciones diff --git a/plugins/Themes/Oxygen/Languages/fr/translation.ts b/plugins/Themes/Oxygen/Languages/fr/translation.ts index 18396c2..1801e30 100644 --- a/plugins/Themes/Oxygen/Languages/fr/translation.ts +++ b/plugins/Themes/Oxygen/Languages/fr/translation.ts @@ -140,7 +140,7 @@ - Show speed as main informations + Show speed as main information Montrer la vitesse comme une information principale @@ -188,7 +188,7 @@ options - Show speed as main informations + Show speed as main information Montrer la vitesse comme une information principale diff --git a/plugins/Themes/Oxygen/Languages/hi/translation.ts b/plugins/Themes/Oxygen/Languages/hi/translation.ts index 0708252..610a7a2 100644 --- a/plugins/Themes/Oxygen/Languages/hi/translation.ts +++ b/plugins/Themes/Oxygen/Languages/hi/translation.ts @@ -140,7 +140,7 @@ - Show speed as main informations + Show speed as main information diff --git a/plugins/Themes/Oxygen/Languages/id/translation.ts b/plugins/Themes/Oxygen/Languages/id/translation.ts index 0708252..610a7a2 100644 --- a/plugins/Themes/Oxygen/Languages/id/translation.ts +++ b/plugins/Themes/Oxygen/Languages/id/translation.ts @@ -140,7 +140,7 @@ - Show speed as main informations + Show speed as main information diff --git a/plugins/Themes/Oxygen/Languages/it/translation.ts b/plugins/Themes/Oxygen/Languages/it/translation.ts index 0f65cfb..8a6d9eb 100644 --- a/plugins/Themes/Oxygen/Languages/it/translation.ts +++ b/plugins/Themes/Oxygen/Languages/it/translation.ts @@ -140,7 +140,7 @@ - Show speed as main informations + Show speed as main information Mostra velocità come principali informazioni diff --git a/plugins/Themes/Oxygen/Languages/ja/translation.ts b/plugins/Themes/Oxygen/Languages/ja/translation.ts index c5fd56b..9afbf91 100644 --- a/plugins/Themes/Oxygen/Languages/ja/translation.ts +++ b/plugins/Themes/Oxygen/Languages/ja/translation.ts @@ -150,7 +150,7 @@ - Show speed as main informations + Show speed as main information diff --git a/plugins/Themes/Oxygen/Languages/nl/translation.ts b/plugins/Themes/Oxygen/Languages/nl/translation.ts index 0708252..610a7a2 100644 --- a/plugins/Themes/Oxygen/Languages/nl/translation.ts +++ b/plugins/Themes/Oxygen/Languages/nl/translation.ts @@ -140,7 +140,7 @@ - Show speed as main informations + Show speed as main information diff --git a/plugins/Themes/Oxygen/Languages/no/translation.ts b/plugins/Themes/Oxygen/Languages/no/translation.ts index 0708252..610a7a2 100644 --- a/plugins/Themes/Oxygen/Languages/no/translation.ts +++ b/plugins/Themes/Oxygen/Languages/no/translation.ts @@ -140,7 +140,7 @@ - Show speed as main informations + Show speed as main information diff --git a/plugins/Themes/Oxygen/Languages/pl/translation.ts b/plugins/Themes/Oxygen/Languages/pl/translation.ts index 0708252..610a7a2 100644 --- a/plugins/Themes/Oxygen/Languages/pl/translation.ts +++ b/plugins/Themes/Oxygen/Languages/pl/translation.ts @@ -140,7 +140,7 @@ - Show speed as main informations + Show speed as main information diff --git a/plugins/Themes/Oxygen/Languages/pt/translation.ts b/plugins/Themes/Oxygen/Languages/pt/translation.ts index 0708252..610a7a2 100644 --- a/plugins/Themes/Oxygen/Languages/pt/translation.ts +++ b/plugins/Themes/Oxygen/Languages/pt/translation.ts @@ -140,7 +140,7 @@ - Show speed as main informations + Show speed as main information diff --git a/plugins/Themes/Oxygen/Languages/ru/translation.ts b/plugins/Themes/Oxygen/Languages/ru/translation.ts index 565a194..b7ba367 100644 --- a/plugins/Themes/Oxygen/Languages/ru/translation.ts +++ b/plugins/Themes/Oxygen/Languages/ru/translation.ts @@ -140,7 +140,7 @@ - Show speed as main informations + Show speed as main information Показать скорости в качестве основной информации diff --git a/plugins/Themes/Oxygen/Languages/th/translation.ts b/plugins/Themes/Oxygen/Languages/th/translation.ts index 0708252..610a7a2 100644 --- a/plugins/Themes/Oxygen/Languages/th/translation.ts +++ b/plugins/Themes/Oxygen/Languages/th/translation.ts @@ -140,7 +140,7 @@ - Show speed as main informations + Show speed as main information diff --git a/plugins/Themes/Oxygen/Languages/tr/translation.ts b/plugins/Themes/Oxygen/Languages/tr/translation.ts index 0708252..610a7a2 100644 --- a/plugins/Themes/Oxygen/Languages/tr/translation.ts +++ b/plugins/Themes/Oxygen/Languages/tr/translation.ts @@ -140,7 +140,7 @@ - Show speed as main informations + Show speed as main information diff --git a/plugins/Themes/Oxygen/Languages/zh/translation.ts b/plugins/Themes/Oxygen/Languages/zh/translation.ts index c5fd56b..9afbf91 100644 --- a/plugins/Themes/Oxygen/Languages/zh/translation.ts +++ b/plugins/Themes/Oxygen/Languages/zh/translation.ts @@ -150,7 +150,7 @@ - Show speed as main informations + Show speed as main information diff --git a/plugins/Themes/Oxygen/interface.ui b/plugins/Themes/Oxygen/interface.ui index ae628ba..8e3ed1a 100644 --- a/plugins/Themes/Oxygen/interface.ui +++ b/plugins/Themes/Oxygen/interface.ui @@ -936,7 +936,7 @@ p, li { white-space: pre-wrap; } - Show speed as main informations + Show speed as main information diff --git a/plugins/Themes/Oxygen/options.ui b/plugins/Themes/Oxygen/options.ui index ad4826e..09d8b40 100644 --- a/plugins/Themes/Oxygen/options.ui +++ b/plugins/Themes/Oxygen/options.ui @@ -17,7 +17,7 @@ - Show speed as main informations + Show speed as main information debian/patches/series0000644000000000000000000000043212122704370012027 0ustar 0001-Update-the-list-of-available-translations.patch 0002-Create-a-rule-to-compile-.ts-into-.qm.patch 0003-Set-resources-installation-path.patch 0004-Build-ultracopier-with-resources.patch 0005-Avoid-linking-against-libpthread.patch 0006-Fix-typos-in-string-shown-to-the-user.patch debian/rules0000755000000000000000000000271112122704370010245 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 exelang:=de it el ja pl zh tr archplugins:=plugins-alternative/CopyEngine/Rsync \ plugins-alternative/Themes/Clean \ plugins-alternative/Themes/Teracopy \ plugins/CopyEngine/Ultracopier-0.3 \ plugins/Listener/catchcopy-v0002 \ plugins/Listener/dbus \ plugins/PluginLoader/catchcopy-v0002 \ plugins/SessionLoader/KDE4 \ plugins/SessionLoader/Windows \ plugins/Themes/Oxygen debian/detect_arch: debian/detect_arch.cpp dh_auto_configure --buildsystem=qmake -- debian/detect_arch.pro make make install make distclean override_dh_auto_configure: debian/detect_arch find plugins/Languages -name flag.png -exec chmod a-x {} + ucp_arch=$$(debian/detect_arch) ; \ for pluginsxml in $(patsubst %,%/informations.xml,$(archplugins)) ; do \ sed -i -r "s|().*()|\1$$ucp_arch\2|" $$pluginsxml; \ done dh_auto_configure --buildsystem=qmake -- \ QMAKE_CXXFLAGS_RELEASE="$(CXXFLAGS) $(CPPFLAGS)" \ QMAKE_CXXFLAGS_DEBUG="$(CXXFLAGS) $(CPPFLAGS)" build.pro clean: rm -f build dh clean --buildsystem=qmake for pluginsxml in $(patsubst %,%/informations.xml,$(archplugins)) ; do \ sed -i -r 's|().*()|\1windows-x86\2|' $$pluginsxml; \ done rm -f debian/detect_arch for dir in $(exelang); do chmod go+x plugins/Languages/$$dir/flag.png ; done build: dh build --buildsystem=qmake touch build %: dh $@ --buildsystem=qmake debian/source/0000755000000000000000000000000012122704370010464 5ustar debian/source/format0000644000000000000000000000001412122704370011672 0ustar 3.0 (quilt) debian/ultracopier.10000644000000000000000000000306312122704370011601 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH ULTRACOPIER 1 "October 3, 2010" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME ultracopier \- Advanced graphical file copy system .SH SYNOPSIS .B ultracopier .SH DESCRIPTION This manual page documents briefly the .B ultracopier command. .PP .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. \fBultracopier\fP is a program that offers a graphical user interface to enhance control over file copying and renaming. Enhanced control includes: \- transfer suspend \- speed control \- transfer list management \- advanced name colision and error management .br \fBultracopier\fP also supports multiple skins and languages, and takes no argument. .SH AUTHOR ultracopier was written by Herman Brule . .PP This manual page was written by Thomas Preud'homme , for the Debian project (and may be used by others). debian/ultracopier.lintian-overrides0000644000000000000000000000013312122704370015072 0ustar # Upstream archive doesn't contain any changelog ultracopier binary: no-upstream-changelog debian/ultracopier.manpages0000644000000000000000000000002512122704370013227 0ustar debian/ultracopier.1 debian/ultracopier.menu0000644000000000000000000000021112122704370012375 0ustar ?package(ultracopier):\ needs="X11"\ section="Applications/File Management"\ title="Ultracopier"\ command="/usr/bin/ultracopier" debian/watch0000644000000000000000000000022412122704370010213 0ustar version=3 # Recursive directory scanning http://files.first-world.info/ultracopier/(\d[\d\.]+)/ ultracopier-src-([\d\.]+)\.tar\.bz2 debian uupdate