[neon/3rdparty/libaccounts-qt/Neon/unstable] debian: get a qt5 build out for testing/stable edition
Carlos De Maine
null at kde.org
Wed Jul 5 08:53:12 BST 2023
Git commit 202cfaeecf31ff6694bf2e6f8cbe94033268f9f1 by Carlos De Maine.
Committed on 05/07/2023 at 07:53.
Pushed by carlosdem into branch 'Neon/unstable'.
get a qt5 build out for testing/stable edition
M +2 -26 debian/control
D +0 -2 debian/libaccounts-qt6-1.install
D +0 -4 debian/libaccounts-qt6-dev.install
M +0 -3 debian/patches/series
M +14 -23 debian/rules
https://invent.kde.org/neon/3rdparty/libaccounts-qt/-/commit/202cfaeecf31ff6694bf2e6f8cbe94033268f9f1
diff --git a/debian/control b/debian/control
index 4ae7a4e..d63f464 100644
--- a/debian/control
+++ b/debian/control
@@ -9,9 +9,8 @@ Build-Depends: debhelper-compat (= 13),
pkg-config,
qt5-qmake,
qtbase5-dev,
- qtchooser,
- qt6-base-dev,
-Build-Depends-Indep: doxygen, graphviz, qttools5-dev-tools, qt6-base-dev
+ qtchooser
+Build-Depends-Indep: doxygen, graphviz, qttools5-dev-tools
Standards-Version: 4.5.1
Rules-Requires-Root: no
Homepage: https://gitlab.com/accounts-sso/libaccounts-qt
@@ -41,29 +40,6 @@ Description: Accounts database access Qt version - Qt5 shared library
.
This package contains shared libraries to be used by Qt5 applications.
-Package: libaccounts-qt6-dev
-Section: libdevel
-Architecture: any
-Depends: libaccounts-qt6-1 (= ${binary:Version}),
- ${misc:Depends},
-Description: Accounts database access Qt version - Qt6 development files
- Accounts and SSO (Single Sign-On) framework for Linux and POSIX based
- platforms.
- .
- This package contains files the development files of the accounts database
- access Qt6 API.
-
-Package: libaccounts-qt6-1
-Architecture: any
-Multi-Arch: same
-Pre-Depends: ${misc:Pre-Depends}
-Depends: ${misc:Depends}, ${shlibs:Depends}
-Description: Accounts database access Qt version - Qt6 shared library
- Accounts and SSO (Single Sign-On) framework for Linux and POSIX based
- platforms.
- .
- This package contains shared libraries to be used by Qt5 applications.
-
Package: libaccounts-qt-doc
Section: doc
Architecture: all
diff --git a/debian/libaccounts-qt6-1.install b/debian/libaccounts-qt6-1.install
deleted file mode 100644
index 0dd637c..0000000
--- a/debian/libaccounts-qt6-1.install
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/lib/*/libaccounts-qt6.so.1
-usr/lib/*/libaccounts-qt6.so.1.*
diff --git a/debian/libaccounts-qt6-dev.install b/debian/libaccounts-qt6-dev.install
deleted file mode 100644
index 04aa8dc..0000000
--- a/debian/libaccounts-qt6-dev.install
+++ /dev/null
@@ -1,4 +0,0 @@
-usr/include/accounts-qt6/
-usr/lib/*/cmake/AccountsQt6/
-usr/lib/*/libaccounts-qt6.so
-usr/lib/*/pkgconfig/accounts-qt6.pc
diff --git a/debian/patches/series b/debian/patches/series
index 8a0cae7..a6fc60b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,5 +1,2 @@
Install-the-doc-FILES.patch
Build-docs-if-doxygen-is-available.patch
-qt6-toset.diff
-dualbuild.diff
-linkingtoo.diff
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index 6331cd6..d7463cb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,35 +2,26 @@
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
-export DH_VERBOSE=1
+#export DH_VERBOSE=1
export DPKG_GENSYMBOLS_CHECK_LEVEL=4
-
-%:
- dh $@
-
-override_dh_auto_clean:
- -dh_auto_clean -- cleandocs
- dh_auto_clean
-
-execute_after_dh_auto_clean:
- rm -rf build6
+export QT_SELECT=5
override_dh_auto_configure:
-# mkdir -p build6 && cd build6 && qmake6 "QMAKE_CFLAGS_RELEASE=${CFLAGS} ${CPPFLAGS}" "QMAKE_CFLAGS_DEBUG=${CFLAGS} ${CPPFLAGS}" "QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS} ${CPPFLAGS}" "QMAKE_CXXFLAGS_DEBUG=${CXXFLAGS} ${CPPFLAGS}" "QMAKE_LFLAGS_RELEASE=${LDFLAGS}" "QMAKE_LFLAGS_DEBUG=${LDFLAGS}" QMAKE_STRIP=: PREFIX=/usr .. && cd ..
- mkdir -p build6 && cd build6 && QT_SELECT=qt6 qmake .. -- LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
- mkdir -p build && cd build && QT_SELECT=qt5 qmake .. -- LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
- #QT_SELECT=qt5 dh_auto_configure -- LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
-
-override_dh_auto_build:
- cd build6 && make
- cd build && make
-
+ dh_auto_configure -- LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
override_dh_auto_install:
- cd build6 && dh_auto_install && find debian/tmp -name jquery.js -exec ln -sfv /usr/share/javascript/jquery/jquery.js {} \;
- cd build && dh_auto_install && find debian/tmp -name jquery.js -exec ln -sfv /usr/share/javascript/jquery/jquery.js {} \;
+ dh_auto_install
+ find debian/tmp -name jquery.js -exec ln -sfv /usr/share/javascript/jquery/jquery.js {} \;
+ # test stuff
+ rm debian/tmp/usr/bin/accountstest
override_dh_auto_test:
# Disable unittests
:
- :
+
+override_dh_auto_clean:
+ -dh_auto_clean -- cleandocs
+ dh_auto_clean
+
+%:
+ dh $@
More information about the Neon-commits
mailing list