[neon/backports-jammy/accounts-qml-module/Neon/unstable] debian: debian/: Start with UBports upstream DEB packaging.

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


Git commit 958b5a7589ca1f8ac2406631f335e06c92fb7adf by Mike Gabriel.
Committed on 04/02/2023 at 08:20.
Pushed by carlosdem into branch 'Neon/unstable'.

debian/: Start with UBports upstream DEB packaging.

A  +2    -0    debian/Jenkinsfile
A  +1    -0    debian/accounts-qml-module-doc.install
A  +289  -0    debian/changelog
A  +56   -0    debian/control
A  +10   -0    debian/copyright
A  +1    -0    debian/not-installed
A  +1    -0    debian/qml-module-sso-onlineaccounts.install
A  +1    -0    debian/qml-module-ubuntu-onlineaccounts.install
A  +40   -0    debian/rules
A  +1    -0    debian/source/format
A  +2    -0    debian/ubports.source_location

https://invent.kde.org/neon/backports-jammy/accounts-qml-module/-/commit/958b5a7589ca1f8ac2406631f335e06c92fb7adf

diff --git a/debian/Jenkinsfile b/debian/Jenkinsfile
new file mode 100644
index 0000000..d3a7d9a
--- /dev/null
+++ b/debian/Jenkinsfile
@@ -0,0 +1,2 @@
+ at Library('ubports-build-tools') _
+buildAndProvideDebianPackage()
diff --git a/debian/accounts-qml-module-doc.install b/debian/accounts-qml-module-doc.install
new file mode 100644
index 0000000..4ab582f
--- /dev/null
+++ b/debian/accounts-qml-module-doc.install
@@ -0,0 +1 @@
+usr/share/*/doc
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..53a9d5c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,289 @@
+accounts-qml-module (0.7.1+git20221013+4119d52c-0ubports1) UNRELEASED; urgency=medium
+
+  * Convert to non-native package
+
+ -- Guido Berhoerster <guido+ubports at berhoerster.name>  Tue, 20 Sep 2022 14:50:01 +0200
+
+accounts-qml-module (0.7.1~ubports2) xenial; urgency=medium
+
+  * No-change rebuild.
+
+ -- Rodney Dawes <dobey at ubports.com>  Mon, 11 Jan 2021 12:53:29 -0500
+
+accounts-qml-module (0.7.1~ubports1) xenial; urgency=medium
+
+  * Update QML module dependencies.
+  * Bump version.
+
+ -- Rodney Dawes <dobey at ubports.com>  Wed, 26 Aug 2020 17:30:12 -0400
+
+accounts-qml-module (0.7+ubports) xenial; urgency=medium
+
+  * Imported to UBports
+
+ -- UBports auto importer <infra at ubports.com>  Sat, 06 Jan 2018 10:36:13 +0000
+
+accounts-qml-module (0.6+17.04.20170405-0ubuntu1) zesty; urgency=medium
+
+  [ Łukasz 'sil2100' Zemczak ]
+  * Be sure to depend on qttools5-dev-tools to be able to use the qdoc
+    binary. (LP: #1679776)
+
+ -- Łukasz Zemczak <lukasz.zemczak at canonical.com>  Wed, 05 Apr 2017 08:58:21 +0000
+
+accounts-qml-module (0.6+16.04.20151106-0ubuntu1) xenial; urgency=medium
+
+  [ Alberto Mardegan ]
+  * Merge from upstream:
+    - Hide debug messages by default (LP: #1404267)
+
+  [ CI Train Bot ]
+  * No-change rebuild.
+
+ -- David Barth <david.barth at canonical.com>  Fri, 06 Nov 2015 09:55:59 +0000
+
+accounts-qml-module (0.6+16.04.20151028-0ubuntu1) xenial; urgency=medium
+
+  [ Alberto Mardegan ]
+  * New upstream release
+    - AccountService: define an error enum
+
+  [ CI Train Bot ]
+  * New rebuild forced.
+
+ -- David Barth <david.barth at canonical.com>  Wed, 28 Oct 2015 15:58:59 +0000
+
+accounts-qml-module (0.5+15.04.20150415.1-0ubuntu1) vivid; urgency=medium
+
+  [ Alberto Mardegan ]
+  * Merge from upstream:
+    - Make the authentication() parameter optional
+    - Add manifest-files.qdoc to the documentation (LP: #1429038) 
+
+  [ CI Train Bot ]
+  * New rebuild forced.
+
+ -- CI Train Bot <ci-train-bot at canonical.com>  Wed, 15 Apr 2015 13:37:09 +0000
+
+accounts-qml-module (0.5+15.04.20141110-0ubuntu1) vivid; urgency=low
+
+  [ Ubuntu daily release ]
+  * New rebuild forced
+
+  [ Alberto Mardegan ]
+  * Rename QML module (LP: #1342031)
+
+ -- Ubuntu daily release <ps-jenkins at lists.canonical.com>  Mon, 10 Nov 2014 09:49:57 +0000
+
+accounts-qml-module (0.5+14.10.20141006-0ubuntu1) utopic; urgency=medium
+
+  [ mardy ]
+  * New upstream release
+    - Add translation information
+    - Add isSingleAccount field to provider map
+    - AccountServiceModel: add filter on application
+
+ -- Ubuntu daily release <ps-jenkins at lists.canonical.com>  Mon, 06 Oct 2014 07:59:43 +0000
+
+accounts-qml-module (0.4+14.10.20140528-0ubuntu2) utopic; urgency=low
+
+  * add "Multi-Arch: same" to qtdeclarative5-accounts-plugin
+
+ -- Michael Vogt <michael.vogt at ubuntu.com>  Tue, 02 Sep 2014 10:57:59 +0200
+
+accounts-qml-module (0.4+14.10.20140528-0ubuntu1) utopic; urgency=low
+
+  * New rebuild forced
+
+ -- Ubuntu daily release <ps-jenkins at lists.canonical.com>  Wed, 28 May 2014 13:55:42 +0000
+
+accounts-qml-module (0.4+14.10.20140513-0ubuntu1) utopic; urgency=medium
+
+  [ Alberto Mardegan ]
+  * Merge from upstream: add filter on application to AccountServiceModel.
+
+  [ Ubuntu daily release ]
+  * New rebuild forced
+
+ -- Ubuntu daily release <ps-jenkins at lists.canonical.com>  Tue, 13 May 2014 07:15:46 +0000
+
+accounts-qml-module (0.4+14.04.20140317-0ubuntu1) trusty; urgency=low
+
+  [ Colin Watson ]
+  * Switch back to Architecture: any, as qtdeclarative now supports all
+    architectures.
+
+ -- Ubuntu daily release <ps-jenkins at lists.canonical.com>  Mon, 17 Mar 2014 16:41:49 +0000
+
+accounts-qml-module (0.4+14.04.20140305-0ubuntu1) trusty; urgency=low
+
+  [ CI bot ]
+  * No change rebuild against Qt 5.2.1.
+
+  [ Albert Astals Cid ]
+  * Merge from upstream Do not pass negative ranges to model calls. (LP:
+    #1231697, #1271039, #1255343)
+
+  [ Alberto Mardegan ]
+  * Merge from upstream Do not pass negative ranges to model calls. (LP:
+    #1231697, #1271039, #1255343)
+  * Merge from upstream Fix a regression introduced with latest fix,
+    where empty models wrongly emit the rowsInserted signal. (LP:
+    #1231697, #1271039, #1255343)
+
+  [ Ubuntu daily release ]
+  * New rebuild forced
+
+ -- Ubuntu daily release <ps-jenkins at lists.canonical.com>  Wed, 05 Mar 2014 09:15:03 +0000
+
+accounts-qml-module (0.4+14.04.20131127-0ubuntu1) trusty; urgency=low
+
+  [ Alberto Mardegan ]
+  * New upstream release
+    - ProviderModel: add filtering by application
+      This will allow clients to get the list of only those providers which
+      are relevant to them.
+    - Doc: couple of documentation fixes
+    - AccountServiceModel: share account manager when possible
+  * Merge from upstream
+    - ProviderModel: always emit modelReset() signal (LP: #1255343)
+
+  [ Ubuntu daily release ]
+  * Automatic snapshot from revision 40
+
+ -- Ubuntu daily release <ps-jenkins at lists.canonical.com>  Wed, 27 Nov 2013 17:33:03 +0000
+
+accounts-qml-module (0.3+13.10.20131016.1-0ubuntu1) saucy; urgency=low
+
+  [ Alberto Mardegan ]
+  * New upstream release
+    - AccountServiceModel: emit dataChanged for displayName
+      Fixes: http://code.google.com/p/accounts-sso/issues/detail?id=204
+    - Add isSingleAccount role to ProviderModel
+      Fixes: http://code.google.com/p/accounts-sso/issues/detail?id=202
+    - Fix generation of qmltypes file
+
+  [ Ubuntu daily release ]
+  * Automatic snapshot from revision 37
+
+ -- Ubuntu daily release <ps-jenkins at lists.canonical.com>  Wed, 16 Oct 2013 14:15:21 +0000
+
+accounts-qml-module (0.2+13.10.20131011-0ubuntu1) saucy; urgency=low
+
+  [ Alberto Mardegan ]
+  * New upstream release
+    - Add a cancelAuthentication() method to AccountService (LP: #1231680)
+    - Install a typeinfo file for QtCreator
+
+  [ Ubuntu daily release ]
+  * Automatic snapshot from revision 35
+
+ -- Ubuntu daily release <ps-jenkins at lists.canonical.com>  Fri, 11 Oct 2013 04:32:50 +0000
+
+accounts-qml-module (0.1+13.10.20130725-0ubuntu1) saucy; urgency=low
+
+  [ Ken VanDine ]
+  * Bootstrapping the import from upstream git.
+
+  [ Alberto Mardegan ]
+  * Bootstrapping the import from upstream git.
+
+  [ Automatic PS uploader ]
+  * Bootstrapping the import from upstream git.
+
+  [ Ubuntu daily release ]
+  * Automatic snapshot from revision 33
+
+ -- Ubuntu daily release <ps-jenkins at lists.canonical.com>  Thu, 25 Jul 2013 04:31:50 +0000
+
+accounts-qml-module (0.1+13.10.20130626-0ubuntu1) saucy; urgency=low
+
+  [ Alberto Mardegan ]
+  * Add ApplicationModel component.
+  * AccountServiceModel: add accountHandle and accountServiceHandle
+    roles These roles replace their counterparts which don't have the
+    "Handle" suffix. The deprecated roles still continue to exist, and
+    emit a warning when accessed. .
+
+  [ Ubuntu daily release ]
+  * Automatic snapshot from revision 31
+
+ -- Ubuntu daily release <ps-jenkins at lists.canonical.com>  Wed, 26 Jun 2013 04:31:04 +0000
+
+accounts-qml-module (0.0bzr13.04.26daily13.06.18-0ubuntu1) saucy; urgency=low
+
+  [ Alberto Mardegan ]
+  * Add ApplicationModel.
+
+  [ Ubuntu daily release ]
+  * Automatic snapshot from revision 28
+
+ -- Ubuntu daily release <ps-jenkins at lists.canonical.com>  Tue, 18 Jun 2013 04:31:03 +0000
+
+accounts-qml-module (0.0bzr13.04.26daily13.06.05.1-0ubuntu1) saucy; urgency=low
+
+  [ Ken VanDine ]
+  * added top-level qdoc to generate a main page .
+
+  [ Alberto Mardegan ]
+  * Implement account editing functionality Introduce a few new objects
+    which provide functionalities exposed by other parts of the
+    framework: Account, Manager, Credentials. Expand the AccountService
+    class with methods to change account settings. Improve the
+    documentation, add one more example file.
+  * Add a way to enumerate the global accounts.
+  * Change license to LGPL 2.1 .
+  * When authenticating, use Credentials object when available When
+    performing an authentication, let the Accountservice use the
+    Credentials object attached to it, falling back to the stored
+    "credentialsId" field only if the Credentials object is not there or
+    hasn't yet been stored to the DB. .
+
+  [ Ubuntu daily release ]
+  * Automatic snapshot from revision 26
+
+ -- Ubuntu daily release <ps-jenkins at lists.canonical.com>  Wed, 05 Jun 2013 18:49:05 +0000
+
+accounts-qml-module (0.0bzr13.04.26daily13.05.01.1ubuntu.unity.next-0ubuntu1) raring; urgency=low
+
+  * Automatic snapshot from revision 22 (ubuntu-unity/next)
+
+ -- Ubuntu daily release <ps-jenkins at lists.canonical.com>  Wed, 01 May 2013 07:53:29 +0000
+
+accounts-qml-module (0.0bzr13.04.26-0ubuntu2) raring; urgency=low
+
+  [ Ken VanDine ]
+  * Automatic snapshot from revision 15 (bootstrap)
+  * debian/control
+    - Only build for arches supported by qtdeclarative5
+
+  [ Alberto Mardegan ]
+  * Support the latest libaccounts-qt
+
+ -- Alberto Mardegan <alberto.mardegan at canonical.com>  Tue, 30 Apr 2013 15:18:06 -0700
+
+accounts-qml-module (0.0bzr13.04.25-0ubuntu1) raring; urgency=low
+
+  * Added doc package
+
+ -- Ken VanDine <ken.vandine at canonical.com>  Thu, 25 Apr 2013 16:34:16 -0400
+
+accounts-qml-module (0.0bzr13.03.08-0ubuntu1) raring; urgency=low
+
+  * Upload for raring
+
+ -- Ken VanDine <ken.vandine at canonical.com>  Fri, 08 Mar 2013 08:12:25 -0500
+
+accounts-qml-module (0.0bzr13.03.07-0raring1) raring; urgency=low
+
+  * New snapshot
+  * debian/control
+    - added depends for qtdeclarative5-qtquick2-plugin
+
+ -- Ken VanDine <ken.vandine at canonical.com>  Thu, 07 Mar 2013 08:52:07 -0500
+
+accounts-qml-module (0.0bzr13.02.20-0raring1) raring; urgency=low
+
+  * Initial release.
+
+ -- Alberto Mardegan <alberto.mardegan at canonical.com>  Tue, 19 Feb 2013 10:23:10 +0400
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..4d90076
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,56 @@
+Source: accounts-qml-module
+Section: libs
+Priority: optional
+Maintainer: UBports Developers <developers at ubports.com>
+Build-Depends: dbus-test-runner,
+               debhelper-compat (= 12),
+               libaccounts-qt5-dev (>= 1.10),
+               libsignon-qt5-dev (>= 8.50),
+               pkg-config,
+               qml-module-qtquick2,
+               qtdeclarative5-dev,
+               qtdeclarative5-dev-tools,
+               qtchooser,
+               qt5-default,
+               qttools5-dev-tools <!cross>,
+               xvfb,
+Standards-Version: 3.9.3
+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
+
+Package: qml-module-sso-onlineaccounts
+Architecture: any
+Multi-Arch: same
+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.
+
+Package: accounts-qml-module-doc
+Section: doc
+Architecture: all
+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 package contains developer documentation.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..336e7b4
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,10 @@
+Format: http://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
+
+Files: *
+Copyright: 2013 Canonical 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'.
diff --git a/debian/not-installed b/debian/not-installed
new file mode 100644
index 0000000..433daa9
--- /dev/null
+++ b/debian/not-installed
@@ -0,0 +1 @@
+usr/bin/tst_plugin
diff --git a/debian/qml-module-sso-onlineaccounts.install b/debian/qml-module-sso-onlineaccounts.install
new file mode 100644
index 0000000..5f48106
--- /dev/null
+++ b/debian/qml-module-sso-onlineaccounts.install
@@ -0,0 +1 @@
+usr/lib/*/qt5/qml/SSO/
diff --git a/debian/qml-module-ubuntu-onlineaccounts.install b/debian/qml-module-ubuntu-onlineaccounts.install
new file mode 100644
index 0000000..2d9f484
--- /dev/null
+++ b/debian/qml-module-ubuntu-onlineaccounts.install
@@ -0,0 +1 @@
+usr/lib/*/qt5/qml/Ubuntu/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..4442e6c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,40 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+export DEB_BUILD_PROFILES := cross
+CONFIGURE_OPTS += CONFIG+=no_docs
+endif
+
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+override_dh_auto_configure:
+	dh_auto_configure \
+		-- LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) \
+		"QMAKE_CXXFLAGS=$(CFLAGS)" \
+		CONFIG+=ubuntu-docs \
+			$(CONFIGURE_OPTS) \
+		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
+
+	dh_install -X .gitignore
+
+override_dh_missing:
+	dh_missing --fail-missing
+
+%:
+	dh $@
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/ubports.source_location b/debian/ubports.source_location
new file mode 100644
index 0000000..d7e51a7
--- /dev/null
+++ b/debian/ubports.source_location
@@ -0,0 +1,2 @@
+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



More information about the Neon-commits mailing list