[neon/backports-noble/libsignon-glib-noble/Neon/unstable] debian: update the patches
Pino Toscano
null at kde.org
Tue Sep 3 02:46:17 BST 2024
Git commit 3464a16c4b6b92ecbdcb68b98e9e983740e7e2a8 by Pino Toscano.
Committed on 31/12/2020 at 13:39.
Pushed by carlosdem into branch 'Neon/unstable'.
update the patches
- disable-deprecation-error.patch: drop, the upstream buildsystem does
not set -Werror anymore
- signon-dbus-specification-interfaces.diff: drop, the files are
shipped now
- fix-gtkdoc-comments.diff: drop, fixed upstream
M +6 -0 debian/changelog
D +0 -13 debian/patches/disable-deprecation-error.patch
D +0 -49 debian/patches/fix-gtkdoc-comments.diff
D +0 -3 debian/patches/series
D +0 -409 debian/patches/signon-dbus-specification-interfaces.diff
https://invent.kde.org/neon/backports-noble/libsignon-glib-noble/-/commit/3464a16c4b6b92ecbdcb68b98e9e983740e7e2a8
diff --git a/debian/changelog b/debian/changelog
index bbcf958..9f16725 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,12 @@ libsignon-glib (2.1-0r1) UNRELEASED; urgency=medium
[ Pino Toscano ]
* New upstream release. (Closes: #968534)
+ * Update the patches:
+ - disable-deprecation-error.patch: drop, the upstream buildsystem does not
+ set -Werror anymore
+ - signon-dbus-specification-interfaces.diff: drop, the files are shipped
+ now
+ - fix-gtkdoc-comments.diff: drop, fixed upstream
-- Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde at lists.debian.org> Thu, 31 Dec 2020 14:37:44 +0100
diff --git a/debian/patches/disable-deprecation-error.patch b/debian/patches/disable-deprecation-error.patch
deleted file mode 100644
index a18c894..0000000
--- a/debian/patches/disable-deprecation-error.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Author: Adrian Bunk
-Subject: Don't build with -Werror
---- a/libsignon-glib/Makefile.am
-+++ b/libsignon-glib/Makefile.am
-@@ -9,7 +9,7 @@ libsignon_glib_la_CPPFLAGS = \
- libsignon_glib_la_CFLAGS = \
- $(DEPS_CFLAGS) \
- $(COVERAGE_CFLAGS) \
-- -Wall -Werror -Wno-error=deprecated-declarations
-+ -Wall -Wno-error=deprecated-declarations
- libsignon_glib_la_LIBADD = $(DEPS_LIBS)
- libsignon_glib_la_LDFLAGS = \
- $(COVERAGE_LDFLAGS) \
diff --git a/debian/patches/fix-gtkdoc-comments.diff b/debian/patches/fix-gtkdoc-comments.diff
deleted file mode 100644
index 8b4abf7..0000000
--- a/debian/patches/fix-gtkdoc-comments.diff
+++ /dev/null
@@ -1,49 +0,0 @@
-Author: Pino Toscano
-Description: Fix invalid gtk-doc comments
- Taken from the (much larger) upstream commit
- 5172fbcb3ca691f947baa6e9ded6b4ee48c18707.
-Forwarded: not-needed
-Last-Update: 2020-12-31
-
---- a/libsignon-glib/signon-auth-session.c
-+++ b/libsignon-glib/signon-auth-session.c
-@@ -85,27 +85,27 @@ struct _SignonAuthSessionPrivate
- };
-
- enum SignonAuthSessionState {
-- SIGNON_AUTH_SESSION_STATE_NOT_STARTED = 0, /**< No message. */
-- SIGNON_AUTH_SESSION_STATE_RESOLVING_HOST, /**< Resolving remote server
-+ SIGNON_AUTH_SESSION_STATE_NOT_STARTED = 0, /* No message. */
-+ SIGNON_AUTH_SESSION_STATE_RESOLVING_HOST, /* Resolving remote server
- host name. */
-- SIGNON_AUTH_SESSION_STATE_CONNECTING, /**< Connecting to remote
-+ SIGNON_AUTH_SESSION_STATE_CONNECTING, /* Connecting to remote
- server. */
-- SIGNON_AUTH_SESSION_STATE_SENDING_DATA, /**< Sending data to remote
-+ SIGNON_AUTH_SESSION_STATE_SENDING_DATA, /* Sending data to remote
- server. */
-- SIGNON_AUTH_SESSION_STATE_WAITING_REPLY, /**< Waiting reply from remote
-+ SIGNON_AUTH_SESSION_STATE_WAITING_REPLY, /* Waiting reply from remote
- server. */
-- SIGNON_AUTH_SESSION_STATE_USER_PENDING, /**< Waiting response from
-+ SIGNON_AUTH_SESSION_STATE_USER_PENDING, /* Waiting response from
- user. */
-- SIGNON_AUTH_SESSION_STATE_UI_REFRESHING, /**< Refreshing ui request. */
-- SIGNON_AUTH_SESSION_STATE_PROCESS_PENDING, /**< Waiting another process
-+ SIGNON_AUTH_SESSION_STATE_UI_REFRESHING, /* Refreshing ui request. */
-+ SIGNON_AUTH_SESSION_STATE_PROCESS_PENDING, /* Waiting another process
- to start. */
-- SIGNON_AUTH_SESSION_STATE_STARTED, /**< Authentication session is
-+ SIGNON_AUTH_SESSION_STATE_STARTED, /* Authentication session is
- started. */
-- SIGNON_AUTH_SESSION_STATE_PROCESS_CANCELING, /**< Canceling.current
-+ SIGNON_AUTH_SESSION_STATE_PROCESS_CANCELING, /* Canceling.current
- process. */
-- SIGNON_AUTH_SESSION_STATE_PROCESS_DONE, /**< Authentication
-+ SIGNON_AUTH_SESSION_STATE_PROCESS_DONE, /* Authentication
- completed. */
-- SIGNON_AUTH_SESSION_STATE_CUSTOM, /**< Custom message. */
-+ SIGNON_AUTH_SESSION_STATE_CUSTOM, /* Custom message. */
- SIGNON_AUTH_SESSION_STATE_LAST
- };
-
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 2e8fc96..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1,3 +0,0 @@
-disable-deprecation-error.patch
-signon-dbus-specification-interfaces.diff
-fix-gtkdoc-comments.diff
diff --git a/debian/patches/signon-dbus-specification-interfaces.diff b/debian/patches/signon-dbus-specification-interfaces.diff
deleted file mode 100644
index b59abab..0000000
--- a/debian/patches/signon-dbus-specification-interfaces.diff
+++ /dev/null
@@ -1,409 +0,0 @@
-Author: Pino Toscano
-Description: Import D-Bus interfaces from signon-dbus-specification repository
- libsignon-glib uses a git submodule for the D-Bus interfaces XMLs; has the
- drawback of not being exported when requesting the tarball of a tag from
- GitLab.
- .
- As workaround, import the files statically for now.
-Forwarded: no
-Last-Update: 2020-12-31
-
---- /dev/null
-+++ b/libsignon-glib/interfaces/com.google.code.AccountsSSO.SingleSignOn.AuthService.xml
-@@ -0,0 +1,146 @@
-+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
-+<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
-+
-+ <!--
-+ com.google.code.AccountsSSO.SingleSignOn.AuthService:
-+ @short_description: Manages Signon identities.
-+
-+ The signond D-Bus APIs are unstable, subject to change and should not be
-+ used by client applications, which should use libsignon-glib or
-+ libsignon-qt instead.
-+
-+ Query information on available authentication methods and mechanisms, as
-+ well as create identities and authentication sessions.
-+ -->
-+ <interface name="com.google.code.AccountsSSO.SingleSignOn.AuthService">
-+ <!--
-+ registerNewIdentity:
-+ @short_description: Create a new Identity.
-+ @applicationContext: the application security context
-+ @objectPath: the D-Bus object path of the new Identity
-+
-+ Create a new (empty) Identity in the Signon database.
-+ -->
-+ <method name="registerNewIdentity">
-+ <arg name="applicationContext" type="s" direction="in"/>
-+ <arg name="objectPath" type="o" direction="out"/>
-+ </method>
-+ <!--
-+ getIdentity:
-+ @short_description: Get an Identity from the Signon database.
-+ @id: the ID of the Identity in the Signon database
-+ @applicationContext: the application security context
-+ @objectPath: the D-Bus object path for the Identity
-+ @identityData: the information associated with the Identity
-+
-+ Get an Identity from the Signon database, creating it if it does not
-+ exist.
-+ -->
-+ <method name="getIdentity">
-+ <arg name="id" type="u" direction="in"/>
-+ <arg name="applicationContext" type="s" direction="in"/>
-+ <arg name="objectPath" type="o" direction="out"/>
-+ <arg name="identityData" type="a{sv}" direction="out"/>
-+ </method>
-+ <!--
-+ getAuthSessionObjectPath:
-+ @short_description: Get a D-Bus object path for an AuthSession.
-+ @path: the D-Bus object path
-+ @id: ID to use for the new AuthSession
-+ @applicationContext: the application security context
-+ @type: the authentication method to use for the new AuthSession
-+
-+ Return a D-Bus object path for a newly-created AuthSession.
-+ -->
-+ <method name="getAuthSessionObjectPath">
-+ <arg name="path" type="o" direction="out"/>
-+ <arg name="id" type="u" direction="in"/>
-+ <arg name="applicationContext" type="s" direction="in"/>
-+ <arg name="type" type="s" direction="in"/>
-+ </method>
-+ <!--
-+ queryMethods:
-+ @short_description: List the available authentication methods.
-+ @methods: an array of the available authentication methods
-+
-+ Query the list of all available authentication methods.
-+ -->
-+ <method name="queryMethods">
-+ <arg name="methods" type="as" direction="out"/>
-+ <!--
-+ queryMechanisms:
-+ @short_description: List the available authentication mechanisms.
-+ @mechanisms: an array of the available authentication mechanisms
-+ @method: the authentication method for which to query the available mechanisms
-+
-+ Query the list of available authentication mechanisms for a given
-+ authentication method.
-+ -->
-+ </method>
-+ <method name="queryMechanisms">
-+ <arg name="mechanisms" type="as" direction="out"/>
-+ <arg name="method" type="s" direction="in"/>
-+ </method>
-+ <!--
-+ queryIdentities:
-+ @short_description: Request an array of stored identities.
-+ @filter: the filter to apply to the returned identities
-+ @applicationContext: the application security context
-+ @identites: the list of stored identities
-+
-+ Request an array of identities which are stored in the Signon database.
-+ -->
-+ <method name="queryIdentities">
-+ <arg name="filter" type="a{sv}" direction="in"/>
-+ <arg name="applicationContext" type="s" direction="in"/>
-+ <arg name="identities" type="aa{sv}" direction="out"/>
-+ <annotation name="com.trolltech.QtDBus.QtTypeName.In0" value="QVariantMap"/>
-+ </method>
-+ <!--
-+ clear:
-+ @short_description: Remove all identities from the Signon database.
-+ @success: whether the clear succeeded
-+
-+ Clear the Signon database by removing all stored identities.
-+ -->
-+ <method name="clear">
-+ <arg name="success" type="b" direction="out"/>
-+ </method>
-+ <!--
-+ backupStarts:
-+ @short_description: TODO
-+
-+ TODO
-+ -->
-+ <method name="backupStarts">
-+ <arg type="y" direction="out"/>
-+ </method>
-+ <!--
-+ backupFinished:
-+ @short_description: TODO
-+
-+ TODO
-+ -->
-+ <method name="backupFinished">
-+ <arg type="y" direction="out"/>
-+ </method>
-+ <!--
-+ restoreStarts:
-+ @short_description: TODO
-+
-+ TODO
-+ -->
-+ <method name="restoreStarts">
-+ <arg type="y" direction="out"/>
-+ </method>
-+ <!--
-+ restoreFinished:
-+ @short_description: TODO
-+
-+ TODO
-+ -->
-+ <method name="restoreFinished">
-+ <arg type="y" direction="out"/>
-+ </method>
-+ </interface>
-+</node>
---- /dev/null
-+++ b/libsignon-glib/interfaces/com.google.code.AccountsSSO.SingleSignOn.AuthSession.xml
-@@ -0,0 +1,101 @@
-+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
-+<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
-+
-+ <!--
-+ com.google.code.AccountsSSO.SingleSignOn.AuthSession:
-+ @short_description: An authentication session for an Identity.
-+
-+ The signond D-Bus APIs are unstable, subject to change and should not be
-+ used by client applications, which should use libsignon-glib or
-+ libsignon-qt instead.
-+
-+ Handle the client authentication process.
-+ -->
-+ <interface name="com.google.code.AccountsSSO.SingleSignOn.AuthSession">
-+ <!--
-+ stateChanged:
-+ @short_description: Emitted when the authentication state changes.
-+ @state: the current state of the AuthSession
-+ @message: a message associated with the state change
-+
-+ Emitted when the current authentication state changed, such as when the
-+ Ideneity was signed out.
-+ -->
-+ <signal name="stateChanged">
-+ <arg name="state" type="i" direction="out"/>
-+ <arg name="message" type="s" direction="out"/>
-+ </signal>
-+ <!--
-+ unregistered:
-+ @short_description: Emitted when the AuthSession is removed.
-+
-+ Emitted when the AuthSession is removed or destroyed, such as when using
-+ objectUnref.
-+ -->
-+ <signal name="unregistered">
-+ </signal>
-+ <!--
-+ queryAvailableMechanisms:
-+ @short_description: List the available authentication mechanisms for this
-+ AuthSession
-+ @mechanisms: the available authentication mechanisms
-+ @wantedMechanisms: the desired authentication mechanisms
-+
-+ Query the available authentication mechanisms for this AuthSession. The
-+ result will be the intersection of the desired authentication mechanisms
-+ and those that are supported by the AuthSession.
-+ -->
-+ <method name="queryAvailableMechanisms">
-+ <arg name="mechanisms" type="as" direction="out"/>
-+ <arg name="wantedMechanisms" type="as" direction="in"/>
-+ </method>
-+ <!--
-+ process:
-+ @short_description: Perform one step of the authentication process.
-+ @sessionDataVa: the returned session data parameters
-+ @sessionDataVa: additional session data parameters
-+ @mechanism: the authentication mechanism to use
-+
-+ Using the available parameters in the Identity or @sessionDataVa, start
-+ the authentication process by passing the parameters to the
-+ authentication plugin.
-+ -->
-+ <method name="process">
-+ <arg name="sessionData" type="a{sv}" direction="out"/>
-+ <annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
-+ <arg name="sessionDataVa" type="a{sv}" direction="in"/>
-+ <annotation name="com.trolltech.QtDBus.QtTypeName.In0" value="QVariantMap"/>
-+ <arg name="mechanism" type="s" direction="in"/>
-+ </method>
-+ <!--
-+ cancel:
-+ @short_description: Cancel the authentication session.
-+
-+ Cancel the current authentication session
-+ -->
-+ <method name="cancel">
-+ <annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>
-+ </method>
-+ <!--
-+ setId:
-+ @short_description: Set the ID of the AuthSession.
-+ @id: the ID to set
-+
-+ Set the ID of the AuthSession.
-+ -->
-+ <method name="setId">
-+ <arg name="id" type="u" direction="in"/>
-+ <annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>
-+ </method>
-+ <!--
-+ objectUnref:
-+ @short_description: Remove the AuthSession.
-+
-+ Forcibly remove the AuthSession.
-+ -->
-+ <method name="objectUnref">
-+ <annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>
-+ <annotation name="org.freedesktop.DBus.Deprecated" value="true"/>
-+ </method>
-+ </interface>
-+</node>
---- /dev/null
-+++ b/libsignon-glib/interfaces/com.google.code.AccountsSSO.SingleSignOn.Identity.xml
-@@ -0,0 +1,143 @@
-+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
-+<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
-+
-+ <!--
-+ com.google.code.AccountsSSO.SingleSignOn.Identity:
-+ @short_description: Representation of a single identity.
-+
-+ The signond D-Bus APIs are unstable, subject to change and should not be
-+ used by client applications, which should use libsignon-glib or
-+ libsignon-qt instead.
-+
-+ A single credential stored in the Signon database.
-+ -->
-+ <interface name="com.google.code.AccountsSSO.SingleSignOn.Identity">
-+ <!--
-+ unregistered:
-+ @short_description: Emitted when the identity is removed
-+
-+ Emitted when the Identity is removed from the Signon database.
-+ -->
-+ <signal name="unregistered">
-+ </signal>
-+ <!--
-+ infoUpdated:
-+ @short_description: Emitted when the Identity information has been
-+ updated.
-+ @type: the type of update that occurred
-+
-+ Emitted when credentials information has been updated is the Signon
-+ database, such as when the credentials were updated or removed, or when
-+ the identity was signed out.
-+ -->
-+ <signal name="infoUpdated">
-+ <arg name="type" type="i" direction="out"/>
-+ </signal>
-+ <!--
-+ requestCredentialsUpdate:
-+ @short_description: Request that the user enters a new (updated) secret.
-+ @id: the ID of the Identity
-+ @message: message to be shown to the user
-+
-+ Request that the user enters a new secret, which is then stored in the
-+ Signon database.
-+ -->
-+ <method name="requestCredentialsUpdate">
-+ <arg name="id" type="u" direction="out"/>
-+ <arg name="message" type="s" direction="in"/>
-+ </method>
-+ <!--
-+ getInfo:
-+ @short_description: Fetch additional information about the Identity.
-+ @info: a dictionary of additional information
-+
-+ Fetch a large amount of additional information on the Identity, such as
-+ the username, type, method and so on.
-+ -->
-+ <method name="getInfo">
-+ <arg name="info" type="a{sv}" direction="out"/>
-+ </method>
-+ <!--
-+ verifyUser:
-+ @short_description: Verify the secret against a user-supplied secret.
-+ @valid: whether the supplied secret is valid
-+ @params: parameters to pass to the authentication plugin
-+
-+ Request that the user enters a secret, and verify that against the secret
-+ stored in the Signon database.
-+ -->
-+ <method name="verifyUser">
-+ <arg name="valid" type="b" direction="out"/>
-+ <arg name="params" type="a{sv}" direction="in"/>
-+ <annotation name="com.trolltech.QtDBus.QtTypeName.In4" value="QVariantMap"/>
-+ </method>
-+ <!--
-+ verifySecret:
-+ @short_description: Verify that the secret is valid.
-+ @valid: whether the secret is valid
-+ @secret: the secret to verify
-+
-+ Verifies that the supplied secret is valid by comparing it to the secret
-+ stored in the Signon database.
-+ -->
-+ <method name="verifySecret">
-+ <arg name="valid" type="b" direction="out"/>
-+ <arg name="secret" type="s" direction="in"/>
-+ </method>
-+ <!--
-+ remove:
-+ @short_description: Remove the Identity.
-+
-+ Remove the identity from the Signon database.
-+ -->
-+ <method name="remove">
-+ </method>
-+ <!--
-+ signOut:
-+ @short_description: Sign out the identity.
-+
-+ Close all authentication sessions for the identity.
-+ -->
-+ <method name="signOut">
-+ <arg type="b" direction="out"/>
-+ </method>
-+ <!--
-+ store:
-+ @short_description: Store credentials in the identity.
-+ @id: a numeric ID for the identity in the database
-+ @info: information to store in the Identity
-+
-+ Store the given credentials information in the identity, returning a
-+ numeric ID for the identity in the Signon database.
-+ -->
-+ <method name="store">
-+ <arg name="id" type="u" direction="out"/>
-+ <arg name="info" type="a{sv}" direction="in"/>
-+ <annotation name="com.trolltech.QtDBus.QtTypeName.In4" value="QVariantMap"/>
-+ </method>
-+ <!--
-+ addReference:
-+ @short_description: Add a reference to the Identity.
-+ @id: the ID of the reference in the database
-+ @reference: a named reference to add
-+
-+ Add a named reference to the Identity.
-+ -->
-+ <method name="addReference">
-+ <arg name="id" type="i" direction="out"/>
-+ <arg name="reference" type="s" direction="in"/>
-+ </method>
-+ <!--
-+ removeReference:
-+ @short_description: Remove a reference from the Identity.
-+ @id: the ID of the reference in the database
-+ @reference: a named reference to removed
-+
-+ Remove a named reference from the Identity.
-+ -->
-+ <method name="removeReference">
-+ <arg name="id" type="i" direction="out"/>
-+ <arg name="reference" type="s" direction="in"/>
-+ </method>
-+ </interface>
-+</node>
More information about the Neon-commits
mailing list