summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2018-02-16 23:22:15 +0000
committerThomas Preud'homme <robotux@celest.fr>2018-02-16 23:34:17 +0000
commitcce089aa79603068303694f1ea5956c4ca22a70d (patch)
tree6826bebe3bd2080e09758fa9e3cec4edf0476e5c
parentb6f5a676f6e4d43559bafb8a854aa6dc8ec93625 (diff)
Stop patching architecture in informations.xml files.
-rw-r--r--debian/changelog2
-rwxr-xr-xdebian/rules26
2 files changed, 1 insertions, 27 deletions
diff --git a/debian/changelog b/debian/changelog
index 9c4f84b..ee6a4ef 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,12 +9,12 @@ ultracopier (1.2.3.6-1) unstable; urgency=low
+ Bump standard version.
+ Use secure and canonical VCS URIs.
* 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.
+ Enable all hardening flags.
+ + Stop patching architecture in informations.xml files.
+ Stop fiddling with permissions of flag.png images.
* debian/patches:
+ Disable ultimate build.
diff --git a/debian/rules b/debian/rules
index 34826d7..f01d15f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,30 +6,7 @@
export QT_SELECT:=qt5
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
-archplugins:=plugins-alternative/Themes/Clean \
- plugins-alternative/Themes/Supercopier \
- plugins-alternative/Themes/Windows \
- plugins-alternative/Themes/Teracopy \
- plugins-alternative/PluginLoader/keybinding \
- plugins/CopyEngine/Ultracopier \
- 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
- ucp_arch=$$(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
@@ -43,9 +20,6 @@ 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
rm -f debian/detect_arch
build: