[pkg-wpa-devel] [wpa] 01/07: Port wpa_gui to Qt5

Andrew Shadura andrewsh at debian.org
Fri Nov 24 16:28:16 UTC 2017


This is an automated email from the git hooks/post-receive script.

andrewsh pushed a commit to branch debian/experimental
in repository wpa.

commit 42460c39c275699e93c1833d0b13384b00728765
Author: Reiner Herrmann <reiner at reiner-h.de>
Date:   Fri Nov 10 17:24:01 2017 +0100

    Port wpa_gui to Qt5
    
    Closes: #875233
---
 debian/control | 5 ++---
 debian/rules   | 7 ++++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/debian/control b/debian/control
index c9a4aa0..988ac8b 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Priority: optional
 Build-Depends: debhelper (>> 9.20120115),
  libdbus-1-dev,
  libssl-dev,
- libqt4-dev,
+ qtbase5-dev,
  libncurses5-dev,
  libpcsclite-dev,
  libnl-3-dev [linux-any],
@@ -19,7 +19,6 @@ Build-Depends: debhelper (>> 9.20120115),
  libbsd-dev [kfreebsd-any],
  libreadline-dev,
  pkg-config,
- qt4-qmake,
  docbook-to-man,
  docbook-utils
 Standards-Version: 3.9.6
@@ -60,7 +59,7 @@ Multi-Arch: foreign
 Depends: ${shlibs:Depends},
  ${misc:Depends},
  wpasupplicant (>= 0.7.3~),
- libqt4-svg
+ libqt5svg5
 Recommends: menu
 Description: graphical user interface for wpa_supplicant
  wpagui provides a Qt interface for choosing which configured network
diff --git a/debian/rules b/debian/rules
index bec85a7..95a5b41 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,6 @@
 #!/usr/bin/make -f
 
+export QT_SELECT=qt5
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 include /usr/share/dpkg/buildflags.mk
 
@@ -32,7 +33,7 @@ VERSION                       := $(shell dpkg-parsechangelog | sed -ne 's,^Versi
 ### start dh overrides
 override_dh_auto_configure:
 	dh_auto_configure --sourcedirectory=wpa_supplicant/wpa_gui-qt4 \
-	                  --buildsystem=qmake_qt4
+	                  --buildsystem=qmake
 
 override_dh_auto_build:
 	# build documentation
@@ -55,7 +56,7 @@ override_dh_auto_build:
 		      --parallel
 	# build wpa_gui-qt4
 	dh_auto_build --sourcedirectory=wpa_supplicant/wpa_gui-qt4 \
-	              --buildsystem=qmake_qt4 \
+	              --buildsystem=qmake \
 		      --parallel
 	dh_auto_clean --sourcedirectory=src --buildsystem=makefile
 	# build hostapd
@@ -71,7 +72,7 @@ override_dh_auto_clean:
 	dh_auto_clean --sourcedirectory=wpa_supplicant \
 	              --buildsystem=makefile
 	dh_auto_clean --sourcedirectory=wpa_supplicant/wpa_gui-qt4 \
-	              --buildsystem=qmake_qt4
+	              --buildsystem=qmake
 	-find wpa_supplicant/wpa_gui-qt4 -type d -name \.moc -exec rm -rf {} \;
 	-find wpa_supplicant/wpa_gui-qt4 -type d -name \.ui  -exec rm -rf {} \;
 	-find wpa_supplicant/wpa_gui-qt4 -type d -name \.obj -exec rm -rf {} \;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/wpa.git



More information about the Pkg-wpa-devel mailing list