[neon/backports-jammy/accounts-qml-module/Neon/unstable] debian: debian/: Prepare for official Debian upload.

Mike Gabriel null at kde.org
Thu Jun 22 01:59:10 BST 2023


Git commit 01f86a519b6c5e1ddfc44cf9c3a8677731efbc47 by Mike Gabriel.
Committed on 04/02/2023 at 10:02.
Pushed by carlosdem into branch 'Neon/unstable'.

debian/: Prepare for official Debian upload.

D  +0    -2    debian/Jenkinsfile
A  +9    -0    debian/accounts-qml-module-doc.doc-base
A  +1    -0    debian/accounts-qml-module-doc.examples
M  +1    -1    debian/accounts-qml-module-doc.install
M  +14   -24   debian/control
M  +162  -6    debian/copyright
A  +15   -0    debian/patches/2001_fix-api-doc-installation-patch.patch
A  +15   -0    debian/patches/2002_drop-google-fonts.patch
A  +82   -0    debian/patches/2003_drop-basejs-from-developers-ubuntu-com.patch
A  +3    -0    debian/patches/series
D  +0    -1    debian/qml-module-ubuntu-onlineaccounts.install
M  +4    -11   debian/rules
D  +0    -2    debian/ubports.source_location
A  +5    -0    debian/upstream/metadata
A  +4    -0    debian/watch

https://invent.kde.org/neon/backports-jammy/accounts-qml-module/-/commit/01f86a519b6c5e1ddfc44cf9c3a8677731efbc47

diff --git a/debian/Jenkinsfile b/debian/Jenkinsfile
deleted file mode 100644
index d3a7d9a..0000000
--- a/debian/Jenkinsfile
+++ /dev/null
@@ -1,2 +0,0 @@
- at Library('ubports-build-tools') _
-buildAndProvideDebianPackage()
diff --git a/debian/accounts-qml-module-doc.doc-base b/debian/accounts-qml-module-doc.doc-base
new file mode 100644
index 0000000..11f0ee4
--- /dev/null
+++ b/debian/accounts-qml-module-doc.doc-base
@@ -0,0 +1,9 @@
+Document: accounts-qml-module-doc
+Title: Online Accounts QML API Documentation
+Author: Canonical Ltd.
+Abstract: This document describes the Online Accounts QML API
+Section: Programming/C++
+
+Format: HTML
+Index: /usr/share/doc/accounts-qml-module/html/sso-onlineaccounts-qmlmodule.html
+Files: /usr/share/doc/accounts-qml-module/html/*
diff --git a/debian/accounts-qml-module-doc.examples b/debian/accounts-qml-module-doc.examples
new file mode 100644
index 0000000..4cd66f8
--- /dev/null
+++ b/debian/accounts-qml-module-doc.examples
@@ -0,0 +1 @@
+examples/*
\ No newline at end of file
diff --git a/debian/accounts-qml-module-doc.install b/debian/accounts-qml-module-doc.install
index 4ab582f..6db6160 100644
--- a/debian/accounts-qml-module-doc.install
+++ b/debian/accounts-qml-module-doc.install
@@ -1 +1 @@
-usr/share/*/doc
+usr/share/doc/accounts-qml-module/html
diff --git a/debian/control b/debian/control
index 4d90076..dec7508 100644
--- a/debian/control
+++ b/debian/control
@@ -1,9 +1,10 @@
 Source: accounts-qml-module
 Section: libs
 Priority: optional
-Maintainer: UBports Developers <developers at ubports.com>
+Maintainer: Debian UBports Team <team+ubports at tracker.debian.org>
+Uploaders: Mike Gabriel <sunweaver at debian.org>,
 Build-Depends: dbus-test-runner,
-               debhelper-compat (= 12),
+               debhelper-compat (= 13),
                libaccounts-qt5-dev (>= 1.10),
                libsignon-qt5-dev (>= 8.50),
                pkg-config,
@@ -11,13 +12,14 @@ Build-Depends: dbus-test-runner,
                qtdeclarative5-dev,
                qtdeclarative5-dev-tools,
                qtchooser,
-               qt5-default,
                qttools5-dev-tools <!cross>,
+               xauth,
                xvfb,
-Standards-Version: 3.9.3
+Standards-Version: 4.6.2
+Rules-Requires-Root: no
 Homepage: https://gitlab.com/accounts-sso/accounts-qml-module
-Vcs-Git: https://gitlab.com/accounts-sso/accounts-qml-module.git
-Vcs-Browser: https://gitlab.com/accounts-sso/accounts-qml-module.git
+Vcs-Git: https://salsa.debian.org/ubports-team/accounts-qml-module.git
+Vcs-Browser: https://salsa.debian.org/ubports-team/accounts-qml-module/
 
 Package: qml-module-sso-onlineaccounts
 Architecture: any
@@ -26,21 +28,9 @@ Depends: ${misc:Depends},
          ${shlibs:Depends},
          qml-module-qtquick2,
 Description: Expose the Online Accounts API to QML applications
- This module provides access to the Online Accounts framework from QML
- applications.
-
-Package: qml-module-ubuntu-onlineaccounts
-Architecture: any
-Multi-Arch: same
-Depends: ${misc:Depends},
-         ${shlibs:Depends},
-         qml-module-sso-onlineaccounts,
-Description: Compatibility layer for the old Online Accounts API
- This is a compatibility layer for the now deprecated Ubuntu.OnlineAccounts
- QML API.
- .
- Please don't use it, and migrate your projects to
- qml-module-sso-onlineaccounts instead.
+ This QML module provides access to the Online Accounts framework from
+ QML applications. It provides bindings to libaccounts-qt and
+ libsignon-qt.
 
 Package: accounts-qml-module-doc
 Section: doc
@@ -49,8 +39,8 @@ Multi-Arch: foreign
 Build-Profiles: <!cross>
 Depends: ${misc:Depends},
 Description: Online Accounts QML - documentation
- This module provides access to the Online Accounts framework from QML
- applications.
+ This QML module provides access to the Online Accounts framework from
+ QML applications. It provides bindings to libaccounts-qt and
+ libsignon-qt.
  .
  This package contains developer documentation.
-
diff --git a/debian/copyright b/debian/copyright
index 336e7b4..a3ebcc4 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,10 +1,166 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: accounts-qml-module
 Upstream-Contact: Alberto Mardegan <alberto.mardegan at canonical.com>
-Source: https://launchpad.net/accounts-qml-module
+Source: https://gitlab.com/accounts-sso/accounts-qml-module
 
-Files: *
-Copyright: 2013 Canonical Ltd.
+Files: .gitignore
+ .gitlab-ci.yml
+ README.md
+ accounts-qml-module.pro
+ common-installs-config.pri
+ common-project-config.pri
+ common-vars.pri
+ coverage.pri
+ doc/accounts-qml-module-ubuntu.qdocconf
+ doc/accounts-qml-module-common.qdocconf
+ doc/accounts-qml-module.qdocconf
+ doc/css/qtquick.css
+ doc/css/scratch.css
+ doc/doc.pri
+ doc/html/.gitignore
+ doc/qtquick.css
+ doc/ubuntu-appdev-site-footer.qdocconf
+ doc/ubuntu-appdev-site-header.qdocconf
+ src/qmldir.in
+ src/src.pro
+ tests/data/applications/mailer.desktop
+ tests/data/bad.provider
+ tests/data/badmail.service
+ tests/data/badshare.service
+ tests/data/cool.provider
+ tests/data/coolmail.service
+ tests/data/coolpublisher.application
+ tests/data/coolshare.service
+ tests/data/e-mail.service-type
+ tests/data/mailer.application
+ tests/data/sharing.service-type
+ tests/mock/mock.pro
+ tests/tests.pro
+ tests/tst_plugin.pro
+Copyright: 2013-2016, Canoncal Ltd.
 License: LGPL-2.1
- On Debian systems, the complete text of the GNU Lesser General
- Public License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'.
+Comment:
+ Files listed above don't provide license headers. Assuming
+ copyright holdership and license as found in majority of
+ other code files.
+
+Files: examples/create-account.qml
+ examples/simple-view.qml
+ examples/ubuntu-sdk-view.qml
+ src/account-service-model.cpp
+ src/account-service-model.h
+ src/account-service.cpp
+ src/account-service.h
+ src/account.cpp
+ src/account.h
+ src/application-model.cpp
+ src/application-model.h
+ src/application.cpp
+ src/application.h
+ src/credentials.cpp
+ src/credentials.h
+ src/debug.cpp
+ src/debug.h
+ src/manager.cpp
+ src/manager.h
+ src/plugin.cpp
+ src/plugin.h
+ src/provider-model.cpp
+ src/provider-model.h
+ tests/mock/signon.cpp
+ tests/mock/signon.h
+ tests/tst_plugin.cpp
+Copyright: 2013, Canonical Ltd.
+  2013-2016, Canonical Ltd.
+  2015-2016, Canonical Ltd.
+License: LGPL-2.1
+
+Files: doc/generate_html.sh
+ doc/index.qdoc
+ doc/manifest-files.qdoc
+ src/accounts.qdoc
+Copyright: 2012, Canonical Ltd.
+  2013, Canonical Ltd.
+  2016, Canonical Ltd.
+License: LGPL-3
+
+Files: doc/css/base.css
+Copyright: 2011, Canonical Ltd.
+License: LGPL-3
+Comment:
+ No license given in base.css, only copyright holder.
+ .
+ Assuming license from other documentation files.
+
+Files: doc/css/reset.css
+Copyright: 2010, Yahoo! Inc.
+License: BSD-3-clause
+Comment:
+ Clarifying the BSD version of the license lead to the
+ Yui project:
+ https://github.com/yui/yui3/blob/master/LICENSE.md
+ .
+ Thus, applying BSD-3-clause for the reset.css file.
+
+Files: debian/*
+Copyright: 2013-2016, Canonical Ltd.
+  2023, Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+License: LGPL-2.1 or LGPL-3
+
+License: LGPL-2.1
+ This package is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License, version 2.1 as
+ published by the Free Software Foundation.
+ .
+ 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 Lesser
+ 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 <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU Lesser General Public
+ License can be found in "/usr/share/common-licenses/LGPL-2.1".
+
+License: LGPL-3
+ This package is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License, version 3 as
+ published by the Free Software Foundation.
+ .
+ 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 Lesser
+ 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 <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU Lesser General Public
+ License can be found in "/usr/share/common-licenses/LGPL-3".
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ 3. Neither the name of the copyright holder nor the names of its
+    contributors may be used to endorse or promote products derived from
+    this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/patches/2001_fix-api-doc-installation-patch.patch b/debian/patches/2001_fix-api-doc-installation-patch.patch
new file mode 100644
index 0000000..725193a
--- /dev/null
+++ b/debian/patches/2001_fix-api-doc-installation-patch.patch
@@ -0,0 +1,15 @@
+Description: Make API doc installation path suitable for Debian.
+Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+Forwarded: not needed, Debian-specific
+
+--- a/doc/doc.pri
++++ b/doc/doc.pri
+@@ -13,7 +13,7 @@
+ }
+ 
+ docs.files = $$PWD/html
+-docs.path = $${INSTALL_PREFIX}/share/accounts-qml-module/doc
++docs.path = $${INSTALL_PREFIX}/share/doc/accounts-qml-module
+ docs.depends = docs-html
+ 
+ INSTALLS += docs
diff --git a/debian/patches/2002_drop-google-fonts.patch b/debian/patches/2002_drop-google-fonts.patch
new file mode 100644
index 0000000..9d06903
--- /dev/null
+++ b/debian/patches/2002_drop-google-fonts.patch
@@ -0,0 +1,15 @@
+Description: Don't use Google Fonts API
+Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+Forwarded: not needed, Debian-specific
+
+--- a/doc/accounts-qml-module-ubuntu.qdocconf
++++ b/doc/accounts-qml-module-ubuntu.qdocconf
+@@ -9,8 +9,6 @@
+     doc/css/scratch.css
+ 
+ HTML.headerstyles = \
+-  "<link rel=\"stylesheet\" type=\"text/css\" href=\"http://fonts.googleapis.com/css?family=Ubuntu:400,400italic\">\n" \
+-  "<link rel=\"stylesheet\" type=\"text/css\" href=\"http://fonts.googleapis.com/css?family=Ubuntu+Mono:400\">\n" \
+   "<link rel=\"stylesheet\" type=\"text/css\" href=\"style/reset.css\" />\n" \
+   "<link rel=\"stylesheet\" type=\"text/css\" href=\"style/qtquick.css\" />\n" \
+   "<link rel=\"stylesheet\" type=\"text/css\" href=\"style/base.css\" />\n" \
diff --git a/debian/patches/2003_drop-basejs-from-developers-ubuntu-com.patch b/debian/patches/2003_drop-basejs-from-developers-ubuntu-com.patch
new file mode 100644
index 0000000..7050889
--- /dev/null
+++ b/debian/patches/2003_drop-basejs-from-developers-ubuntu-com.patch
@@ -0,0 +1,82 @@
+Description: Drop all URL hrefs pointing to Ubuntu websites. (Quick'n'dirty approach, layout might be broken).
+Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+Forwarded: not needed, Debian-specific
+
+--- a/doc/ubuntu-appdev-site-footer.qdocconf
++++ b/doc/ubuntu-appdev-site-footer.qdocconf
+@@ -6,10 +6,6 @@
+     "		<nav role=\"navigation\" class=\"clearfix\">\n" \
+     "			<ul>\n" \
+     "				<li><a href=\"/get-started\">Get started</a></li>\n" \
+-    "				<li class=\"page_item page-item-16\"><a href=\"http://developer.ubuntu.com/get-started/quickly-workflow/\">Quickly workflow</a></li>\n" \
+-    "<li class=\"page_item page-item-18\"><a href=\"http://developer.ubuntu.com/get-started/qt-creator/\">Qt Creator</a></li>\n" \
+-    "<li class=\"page_item page-item-20\"><a href=\"http://developer.ubuntu.com/get-started/eclipse/\">Eclipse</a></li>\n" \
+-    "<li class=\"page_item page-item-22\"><a href=\"http://developer.ubuntu.com/get-started/monodevelop/\">MonoDevelop</a></li>\n" \
+     "			</ul>\n" \
+     "			<ul>\n" \
+     "				<li><a href=\"/resources\">Resources</a></li>\n" \
+@@ -19,32 +15,16 @@
+     "			</ul>\n" \
+     "			<ul>\n" \
+     "				<li><a href=\"/publish\">Publish</a></li>\n" \
+-    "				<li class=\"page_item page-item-24\"><a href=\"http://developer.ubuntu.com/publish/commercial-software-faqs/\">Commercial software FAQs</a></li>\n" \
+-    "<li class=\"page_item page-item-34\"><a href=\"http://developer.ubuntu.com/publish/application-states/\">Application states</a></li>\n" \
+-    "<li class=\"page_item page-item-577\"><a href=\"http://developer.ubuntu.com/publish/my-apps-packages/\">Uploading your app</a></li>\n" \
+-    "<li class=\"page_item page-item-404\"><a href=\"http://developer.ubuntu.com/publish/ubuntu-software-centre/\">Ubuntu Software Centre</a></li>\n" \
+-    "<li class=\"page_item page-item-427\"><a href=\"http://developer.ubuntu.com/publish/licence-key-infrastructure/\">Licence key infrastructure</a></li>\n" \
+-    "<li class=\"page_item page-item-1230\"><a href=\"http://developer.ubuntu.com/publish/updating-your-app/\">Updating your app</a></li>\n" \
+     "			</ul>\n" \
+     "			<ul>\n" \
+     "				<li><a href=\"/community\">Community</a></li>\n" \
+-    "				<li class=\"page_item page-item-28\"><a href=\"http://developer.ubuntu.com/community/app-developer-blog/\">App Developer Blog</a></li>\n" \
+-    "<li class=\"page_item page-item-30\"><a href=\"http://developer.ubuntu.com/community/submit-a-tutorial/\">Submit a tutorial</a></li>\n" \
+-    "<li class=\"page_item page-item-32\"><a href=\"http://developer.ubuntu.com/community/app-review-board-charter/\">App Review Board charter</a></li>\n" \
+-    "<li class=\"page_item page-item-2987\"><a href=\"http://developer.ubuntu.com/community/on-air/\">On air</a>\n" \
+     "<ul class='children'>\n" \
+-    "	<li class=\"page_item page-item-3066\"><a href=\"http://developer.ubuntu.com/community/on-air/recordings/\">Recordings</a></li>\n" \
+     "</ul>\n" \
+     "</li>\n" \
+     "			</ul>\n" \
+     "			<ul class=\"last\">\n" \
+-    "				<li><a href=\"https://myapps.developer.ubuntu.com/dev\">My Apps</a></li>\n" \
+-    "				<li><a href=\"https://myapps.developer.ubuntu.com/openid/login/?next=/dev\">Sign in or register</a></li>\n" \
+-    "				<li><a href=\"https://myapps.developer.ubuntu.com/dev/account\">My account</a></li>\n" \
+     "			</ul>\n" \
+     "		</nav>\n" \
+-    "		<p>© 2013 Canonical Ltd. Ubuntu and Canonical are registered trademarks of Canonical Ltd. <a class=\"link-bug\" href=\"https://bugs.launchpad.net/ubuntudeveloperportal/+filebug\">Report a bug on this site</a></p>\n" \
++    "		<p>© 2013 Canonical Ltd. Ubuntu and Canonical are registered trademarks of Canonical Ltd.</p>\n" \
+     "	</div>\n" \
+     "</footer>\n" \
+-    "<script type=\"text/javascript\" src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js\"></script>\n" \
+-    "<script type=\"text/javascript\" src=\"http://developer.ubuntu.com/wp-content/themes/wordpress-theme-ubuntudeveloper/js/base.js\"></script>\n"
+--- a/doc/ubuntu-appdev-site-header.qdocconf
++++ b/doc/ubuntu-appdev-site-header.qdocconf
+@@ -1,20 +1,9 @@
+ HTML.postheader = \
+     "<header>\n" \
+-    "	<div class=\"header-login\">\n" \
+-    "		<ul>\n" \
+-    "			<li><a href=\"https://myapps.developer.ubuntu.com/openid/login/?next\=/dev\">Sign in or register</a></li>\n" \
+-    "		</ul>\n" \
+-    "	</div>\n" \
+     "	<div class=\"header-navigation\">\n" \
+     "		<div>\n" \
+     "			<nav role=\"navigation\">\n" \
+     "				<ul>\n" \
+-    "					<li class=\"page_item page-item-5\"><a href=\"http://developer.ubuntu.com/\">Home</a></li>\n" \
+-    "					<li class=\"page_item page-item-7\"><a href=\"http://developer.ubuntu.com/get-started/\">Get started</a></li>\n" \
+-    "					<li class=\"page_item page-item-9\"><a href=\"http://developer.ubuntu.com/resources/\">Resources</a></li>\n" \
+-    "					<li class=\"page_item page-item-11\"><a href=\"http://developer.ubuntu.com/publish/\">Publish</a></li>\n" \
+-    "					<li class=\"page_item page-item-13\"><a href=\"http://developer.ubuntu.com/community/\">Community</a></li>\n" \
+-    "					<li><a href=\"https://myapps.developer.ubuntu.com/dev\">My Apps</a></li>\n" \
+     "					<li>\n" \
+     "						<form id=\"form-search\" method=\"get\" action=\"/\">\n" \
+     "							<fieldset>\n" \
+@@ -24,7 +13,6 @@
+     "					</li>\n" \
+     "				</ul>\n" \
+     "			</nav>\n" \
+-    "			<a class=\"logo-ubuntu\" href=\"/\"><img src=\"http://developer.ubuntu.com/wp-content/themes/wordpress-theme-ubuntudeveloper/img/logo-ubuntu.png\" width=\"119\" height=\"27\" alt=\"Ubuntu logo\" /></a>\n" \
+     "			<h2><a href=\"/\">App Developer</a></h2>\n" \
+     "		</div>\n" \
+     "	</div>\n" \
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..08b904a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,3 @@
+2001_fix-api-doc-installation-patch.patch
+2002_drop-google-fonts.patch
+2003_drop-basejs-from-developers-ubuntu-com.patch
diff --git a/debian/qml-module-ubuntu-onlineaccounts.install b/debian/qml-module-ubuntu-onlineaccounts.install
deleted file mode 100644
index 2d9f484..0000000
--- a/debian/qml-module-ubuntu-onlineaccounts.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/*/qt5/qml/Ubuntu/
diff --git a/debian/rules b/debian/rules
index 4442e6c..d9b61d0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,17 +20,7 @@ override_dh_auto_configure:
 		accounts-qml-module.pro
 
 override_dh_install:
-	# Create the compat module for Ubuntu.OnlineAccounts
-	mkdir -p debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/qt5/qml/Ubuntu/OnlineAccounts
-	for FILE in qmldir plugin.qmltypes; do \
-	        sed \
-	                -e 's/SSO/Ubuntu/' \
-	                debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/qt5/qml/SSO/OnlineAccounts/$${FILE} \
-	                > debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/qt5/qml/Ubuntu/OnlineAccounts/$${FILE}; \
-	done
-	ln -sr debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/qt5/qml/SSO/OnlineAccounts/libAccounts.so \
-	        debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/qt5/qml/Ubuntu/OnlineAccounts/libAccounts.so
-
+	rmdir debian/tmp/usr/share/doc/accounts-qml-module/html/images/
 	dh_install -X .gitignore
 
 override_dh_missing:
@@ -38,3 +28,6 @@ override_dh_missing:
 
 %:
 	dh $@
+
+get-orig-source:
+	uscan --noconf --force-download --rename --download-current-version --destdir=..
diff --git a/debian/ubports.source_location b/debian/ubports.source_location
deleted file mode 100644
index d7e51a7..0000000
--- a/debian/ubports.source_location
+++ /dev/null
@@ -1,2 +0,0 @@
-https://gitlab.com/accounts-sso/accounts-qml-module/-/archive/4119d52cb969b57fcab63f6bdf543e73c9c17092/accounts-qml-module-4119d52cb969b57fcab63f6bdf543e73c9c17092.tar.gz
-accounts-qml-module_0.7.1+git20221013+4119d52c.orig.tar.gz
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..1bb942e
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+Bug-Database: https://gitlab.com/accounts-sso/accounts-qml-module/issues
+Bug-Submit: https://gitlab.com/accounts-sso/accounts-qml-module/issues/new
+Donation: https://ubports.com/donate
+Repository: https://gitlab.com/accounts-sso/accounts-qml-module
+Repository-Browse: https://gitlab.com/accounts-sso/accounts-qml-module
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..7bfe1cb
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts="mode=git, pgpmode=none,  pretty=0.7+git%cd.%h" \
+https://gitlab.com/accounts-sso/accounts-qml-module \
+HEAD debian uupdate



More information about the Neon-commits mailing list