summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2017-11-24 23:57:52 +0000
committerThomas Preud'homme <robotux@celest.fr>2017-11-24 23:57:52 +0000
commitc0956ca4c4bfd29b0f0a1370ec5e5d0317a9d87a (patch)
tree6c4b86dd95dd6f12b6ae7720f4a03187a6b3d18c
parent840ba05a8de25838487ec1af732c0a31ad026f66 (diff)
parentba06d5fa2b662f921dada44cd859259ef59b2a19 (diff)
Merge branch 'adapt_packaging'
-rw-r--r--debian/changelog14
-rw-r--r--debian/control3
-rwxr-xr-xdebian/rules19
3 files changed, 28 insertions, 8 deletions
diff --git a/debian/changelog b/debian/changelog
index 88d21eb..5462bc1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,19 @@
-ultracopier (0.3.1.0-2) UNRELEASED; urgency=low
+ultracopier (1.2.3.6-1) UNRELEASED; urgency=low
+ * New upstream release:
+ + Drop all patches.
+ * debian/control:
+ + Build-depend on Qt5 libraries.
+ * debian/rules:
+ + Update list of informations.xml to patch.
+ + Update qmake project file to build.
+ + Generate and clean Qt message files.
+ + Select Qt5 libraries.
+ + Configure and enable installation.
* debian/watch:
+ Fix URL to upstream tarballs (thanks Bart Martens).
- -- Thomas Preud'homme <robotux@debian.org> Fri, 22 Mar 2013 11:31:37 +0100
+ -- Thomas Preud'homme <robotux@debian.org> Fri, 24 Nov 2017 23:12:33 +0000
ultracopier (0.3.1.0-1) unstable; urgency=low
diff --git a/debian/control b/debian/control
index fa4f19e..6e9d7a0 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,8 @@ Source: ultracopier
Section: utils
Priority: extra
Maintainer: Thomas Preud'homme <robotux@debian.org>
-Build-Depends: debhelper (>= 9), libqt4-dev, kdelibs5-dev, qt4-qmake
+Build-Depends: debhelper (>= 9), qtbase5-dev, kdelibs5-dev, qt5-qmake,
+ qttools5-dev-tools
Standards-Version: 3.9.4
Homepage: http://ultracopier.first-world.info/
Vcs-Git: git://git.debian.org/collab-maint/ultracopier.git
diff --git a/debian/rules b/debian/rules
index 85c2083..91078b4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,11 +3,14 @@
# 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 \
+export QT_SELECT:=qt5
+
+archplugins:=plugins-alternative/Themes/Clean \
+ plugins-alternative/Themes/Supercopier \
+ plugins-alternative/Themes/Windows \
plugins-alternative/Themes/Teracopy \
- plugins/CopyEngine/Ultracopier-0.3 \
+ plugins-alternative/PluginLoader/keybinding \
+ plugins/CopyEngine/Ultracopier \
plugins/Listener/catchcopy-v0002 \
plugins/Listener/dbus \
plugins/PluginLoader/catchcopy-v0002 \
@@ -27,13 +30,19 @@ override_dh_auto_configure: debian/detect_arch
for pluginsxml in $(patsubst %,%/informations.xml,$(archplugins)) ; do \
sed -i -r "s|(<architecture>).*(</architecture>)|\1$$ucp_arch\2|" $$pluginsxml; \
done
+ lrelease ultracopier-all-in-one-direct.pro
+ lrelease plugins/CopyEngine/Ultracopier/CopyEngine.pro
+ lrelease plugins/Themes/Oxygen/interface.pro
dh_auto_configure --buildsystem=qmake -- \
QMAKE_CXXFLAGS_RELEASE="$(CXXFLAGS) $(CPPFLAGS)" \
- QMAKE_CXXFLAGS_DEBUG="$(CXXFLAGS) $(CPPFLAGS)" build.pro
+ QMAKE_CXXFLAGS_DEBUG="$(CXXFLAGS) $(CPPFLAGS)" \
+ target.path=/usr/bin "INSTALLS+=target" \
+ ultracopier-all-in-one-direct.pro
clean:
rm -f build
dh clean --buildsystem=qmake
+ find -name \*.qm -delete
for pluginsxml in $(patsubst %,%/informations.xml,$(archplugins)) ; do \
sed -i -r 's|(<architecture>).*(</architecture>)|\1windows-x86\2|' $$pluginsxml; \
done