[SCM] kaccounts-providers packaging branch, kubuntu_xenial_archive, updated. debian/15.08.3-1-31-g8426804
Clive Johnston
clivejo-guest at moszumanska.debian.org
Wed Feb 17 20:41:41 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/kaccounts-providers.git;a=commitdiff;h=8426804
The following commit has been merged in the kubuntu_xenial_archive branch:
commit 842680405a0297ae82ea78a96d29b7f4f0460de9
Author: Clive Johnston <clivejo at aol.com>
Date: Wed Feb 17 20:41:30 2016 +0000
Applying upstream patch to fix provider files
---
debian/changelog | 5 +
.../Upstream_Rename_the_provider_files.patch | 221 +++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 227 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 3ea8205..3e8ea8e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,14 @@
kaccounts-providers (4:15.12.1-0ubuntu1) UNRELEASED; urgency=medium
+ [ Scarlett Clark ]
* New upstream release.
* Debian merge: No remaining changes.
* Fix changelog typo.
+ [ Clive Johnston ]
+ * Applying upstream patch Upstream_Rename_the_provider_files.patch
+ closes LP: #1451728
+
-- Scarlett Clark <sgclark at kubuntu.org> Thu, 28 Jan 2016 16:40:55 -0800
kaccounts-providers (4:15.12.0-0ubuntu1) UNRELEASED; urgency=medium
diff --git a/debian/patches/Upstream_Rename_the_provider_files.patch b/debian/patches/Upstream_Rename_the_provider_files.patch
new file mode 100644
index 0000000..c690010
--- /dev/null
+++ b/debian/patches/Upstream_Rename_the_provider_files.patch
@@ -0,0 +1,221 @@
+From: Martin Klapetek <mklapetek at kde.org>
+Date: Wed, 17 Feb 2016 18:44:16 +0000
+Subject: Rename the provider files we ship
+X-Git-Url: http://quickgit.kde.org/?p=kaccounts-providers.git&a=commitdiff&h=2307d7df60ee8df6467157305a48e1b5bfd924b6
+---
+Rename the provider files we ship
+
+This is a different fix for 347219 to make Ubuntu happy, but also to
+make everyone else happy.
+
+The files will now not overlap anymore, which should fix Ubuntu
+packaging. The problem now got moved to the account management UIs,
+which we can fix on our side if we need to.
+
+BUG: 347219
+---
+
+
+--- a/providers/google.provider.in
++++ /dev/null
+@@ -1,44 +1,1 @@
+-<?xml version="1.0" encoding="UTF-8" ?>
+-<provider id="google">
+- <_name>Google</_name>
+- <!-- Tooltip text appearing over the button to create this type of account -->
+- <_description>Includes GMail, Hangouts, Google Docs, Google+, YouTube and Picasa</_description>
+- <icon>im-google</icon>
+- <translations>kaccounts-providers</translations>
+- <domains>.*google\.com</domains>
+
+- <template>
+- <group name="auth">
+- <setting name="method">oauth2</setting>
+- <setting name="mechanism">web_server</setting>
+- <group name="oauth2">
+- <group name="web_server">
+- <setting name="Host">accounts.google.com</setting>
+- <setting name="AuthPath">o/oauth2/auth?access_type=offline&approval_prompt=force</setting>
+- <setting name="TokenPath">o/oauth2/token</setting>
+- <setting name="RedirectUri">http://localhost/oauth2callback</setting>
+- <!-- HACK: access_type is non standard, but Google requires it in
+- order to return a refresh token -->
+- <setting name="ResponseType">code</setting>
+- <setting name="Scope" type="as">[
+- 'https://docs.google.com/feeds/',
+- 'https://www.googleapis.com/auth/googletalk',
+- 'https://www.googleapis.com/auth/youtube.upload',
+- 'https://www.googleapis.com/auth/youtube',
+- 'https://www.googleapis.com/auth/userinfo.email',
+- 'https://www.googleapis.com/auth/userinfo.profile',
+- 'https://picasaweb.google.com/data/',
+- 'https://www.googleapis.com/auth/calendar',
+- 'https://www.google.com/m8/feeds/',
+- 'https://www.googleapis.com/auth/tasks'
+- ]</setting>
+- <setting name="AllowedSchemes" type="as">['https','http']</setting>
+- <setting name="ClientId">876209205844-9e3g6ocf6ejv48dap37et84ks35rdre0.apps.googleusercontent.com</setting>
+- <setting name="ClientSecret">LvV-hkunrdMj4Ijr74rT6kH7</setting>
+- <setting name="ForceClientAuthViaRequestBody" type="b">true</setting>
+- </group>
+- </group>
+- </group>
+- </template>
+-</provider>
+-
+
+--- /dev/null
++++ b/providers/kde-google.provider.in
+@@ -1,1 +1,44 @@
++<?xml version="1.0" encoding="UTF-8" ?>
++<provider id="google">
++ <_name>Google</_name>
++ <!-- Tooltip text appearing over the button to create this type of account -->
++ <_description>Includes GMail, Hangouts, Google Docs, Google+, YouTube and Picasa</_description>
++ <icon>im-google</icon>
++ <translations>kaccounts-providers</translations>
++ <domains>.*google\.com</domains>
+
++ <template>
++ <group name="auth">
++ <setting name="method">oauth2</setting>
++ <setting name="mechanism">web_server</setting>
++ <group name="oauth2">
++ <group name="web_server">
++ <setting name="Host">accounts.google.com</setting>
++ <setting name="AuthPath">o/oauth2/auth?access_type=offline&approval_prompt=force</setting>
++ <setting name="TokenPath">o/oauth2/token</setting>
++ <setting name="RedirectUri">http://localhost/oauth2callback</setting>
++ <!-- HACK: access_type is non standard, but Google requires it in
++ order to return a refresh token -->
++ <setting name="ResponseType">code</setting>
++ <setting name="Scope" type="as">[
++ 'https://docs.google.com/feeds/',
++ 'https://www.googleapis.com/auth/googletalk',
++ 'https://www.googleapis.com/auth/youtube.upload',
++ 'https://www.googleapis.com/auth/youtube',
++ 'https://www.googleapis.com/auth/userinfo.email',
++ 'https://www.googleapis.com/auth/userinfo.profile',
++ 'https://picasaweb.google.com/data/',
++ 'https://www.googleapis.com/auth/calendar',
++ 'https://www.google.com/m8/feeds/',
++ 'https://www.googleapis.com/auth/tasks'
++ ]</setting>
++ <setting name="AllowedSchemes" type="as">['https','http']</setting>
++ <setting name="ClientId">876209205844-9e3g6ocf6ejv48dap37et84ks35rdre0.apps.googleusercontent.com</setting>
++ <setting name="ClientSecret">LvV-hkunrdMj4Ijr74rT6kH7</setting>
++ <setting name="ForceClientAuthViaRequestBody" type="b">true</setting>
++ </group>
++ </group>
++ </group>
++ </template>
++</provider>
++
+
+--- /dev/null
++++ b/providers/kde-owncloud.provider.in
+@@ -1,1 +1,20 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<provider id="owncloud">
++ <_name>ownCloud</_name>
++ <icon>owncloud</icon>
++ <!-- Tooltip text appearing over the button to create this type of account -->
++ <_description>ownCloud account</_description>
++ <translations>kaccounts-providers</translations>
++ <plugin>owncloud_plugin_kaccounts</plugin>
+
++ <template>
++ <group name="auth">
++ <setting name="method">password</setting>
++ <setting name="mechanism">password</setting>
++ </group>
++ <group name="dav">
++ <setting name="host"></setting>
++ </group>
++ </template>
++</provider>
++
+
+--- /dev/null
++++ b/providers/kde-twitter.provider.in
+@@ -1,1 +1,25 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<provider id="twitter">
++ <_name>Twitter</_name>
++ <icon>im-twitter</icon>
++ <translations>kaccounts-providers</translations>
++ <domains>.*twitter\.com</domains>
+
++ <template>
++ <group name="auth">
++ <setting name="method">oauth2</setting>
++ <setting name="mechanism">HMAC-SHA1</setting>
++ <group name="oauth2">
++ <group name="HMAC-SHA1">
++ <setting name="ConsumerKey">xBbiAYBmglxmRKBqimLSSw</setting>
++ <setting name="ConsumerSecret">c7QqEjrOVENhGYGFjcUsx6Nwr9GXPLjUZVY2xObrHw8</setting>
++ <setting name="RequestEndpoint">https://api.twitter.com/oauth/request_token</setting>
++ <setting name="TokenEndpoint">https://api.twitter.com/oauth/access_token</setting>
++ <setting name="AuthorizationEndpoint">https://api.twitter.com/oauth/authorize</setting>
++ <setting name="Callback">http://localhost.com/twitter_login.php</setting>
++ </group>
++ </group>
++ </group>
++ </template>
++</provider>
++
+
+--- a/providers/owncloud.provider.in
++++ /dev/null
+@@ -1,20 +1,1 @@
+-<?xml version="1.0" encoding="UTF-8"?>
+-<provider id="owncloud">
+- <_name>ownCloud</_name>
+- <icon>owncloud</icon>
+- <!-- Tooltip text appearing over the button to create this type of account -->
+- <_description>ownCloud account</_description>
+- <translations>kaccounts-providers</translations>
+- <plugin>owncloud_plugin_kaccounts</plugin>
+
+- <template>
+- <group name="auth">
+- <setting name="method">password</setting>
+- <setting name="mechanism">password</setting>
+- </group>
+- <group name="dav">
+- <setting name="host"></setting>
+- </group>
+- </template>
+-</provider>
+-
+
+--- a/providers/twitter.provider.in
++++ /dev/null
+@@ -1,25 +1,1 @@
+-<?xml version="1.0" encoding="UTF-8"?>
+-<provider id="twitter">
+- <_name>Twitter</_name>
+- <icon>im-twitter</icon>
+- <translations>kaccounts-providers</translations>
+- <domains>.*twitter\.com</domains>
+
+- <template>
+- <group name="auth">
+- <setting name="method">oauth2</setting>
+- <setting name="mechanism">HMAC-SHA1</setting>
+- <group name="oauth2">
+- <group name="HMAC-SHA1">
+- <setting name="ConsumerKey">xBbiAYBmglxmRKBqimLSSw</setting>
+- <setting name="ConsumerSecret">c7QqEjrOVENhGYGFjcUsx6Nwr9GXPLjUZVY2xObrHw8</setting>
+- <setting name="RequestEndpoint">https://api.twitter.com/oauth/request_token</setting>
+- <setting name="TokenEndpoint">https://api.twitter.com/oauth/access_token</setting>
+- <setting name="AuthorizationEndpoint">https://api.twitter.com/oauth/authorize</setting>
+- <setting name="Callback">http://localhost.com/twitter_login.php</setting>
+- </group>
+- </group>
+- </group>
+- </template>
+-</provider>
+-
+
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ec28beb
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+Upstream_Rename_the_provider_files.patch
--
kaccounts-providers packaging
More information about the pkg-kde-commits
mailing list