Merge pull request #819 from alihanozturk/master

signon, libsignon-glib, kaccounts-integration add
This commit is contained in:
Ertuğrul Erata
2015-11-15 07:44:59 +02:00
13 changed files with 506 additions and 0 deletions
@@ -0,0 +1,18 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import kde5
from pisi.actionsapi import pisitools
def setup():
kde5.configure("-DKDE_INSTALL_USE_QT_SYS_PATHS=ON")
def build():
kde5.make()
def install():
kde5.install()
pisitools.dodoc("COPYING", "TODO", "README")
@@ -0,0 +1,84 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>kaccounts-integration</Name>
<Homepage>https://projects.kde.org/projects/kdereview/kaccounts-integration</Homepage>
<Packager>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app</IsA>
<Summary>Small system to administer web accounts for the sites and services across the KDE desktop, including: Google, Facebook, Owncloud, IMAP,
Jabber and others</Summary>
<Description>Small system to administer web accounts for the sites and services across the KDE desktop, including: Google, Facebook, Owncloud, IMAP,
Jabber and others</Description>
<Archive sha1sum="ac46dd6b4f08a7644e1075cdf0d1f95f22100a2e" type="tarxz">http://download.kde.org/stable/applications/15.08.3/src/kaccounts-integration-15.08.3.tar.xz</Archive>
<BuildDependencies>
<Dependency>extra-cmake-modules</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-declarative-devel</Dependency>
<Dependency>kcmutils-devel</Dependency>
<Dependency>kio-devel</Dependency>
<Dependency>ki18n-devel</Dependency>
<Dependency>kwidgetsaddons-devel</Dependency>
<Dependency>kcoreaddons-devel</Dependency>
<Dependency>kiconthemes-devel</Dependency>
<Dependency>kconfig-devel</Dependency>
<Dependency>kwallet-devel</Dependency>
<Dependency>kdbusaddons-devel</Dependency>
<Dependency>libaccounts-qt5-devel</Dependency>
<Dependency>signon-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>kaccounts-integration</Name>
<RuntimeDependencies>
<Dependency>kio</Dependency>
<Dependency>ki18n</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>signon</Dependency>
<Dependency>kconfig</Dependency>
<Dependency>kwallet</Dependency>
<Dependency>qt5-base</Dependency>
<Dependency>kcoreaddons</Dependency>
<Dependency>kdbusaddons</Dependency>
<Dependency>kiconthemes</Dependency>
<Dependency>kconfigwidgets</Dependency>
<Dependency>kwidgetsaddons</Dependency>
<Dependency>libaccounts-qt5</Dependency>
<Dependency>qt5-declarative</Dependency>
</RuntimeDependencies>
<Summary>Small system to administer web accounts for the sites and services across the KDE desktop, including: Google, Facebook, Owncloud, IMAP,
Jabber and others</Summary>
<Files>
<Path fileType="data">/usr/share</Path>
<Path fileType="data">/usr/share/kservices5</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="library">/usr/lib</Path>
</Files>
</Package>
<Package>
<Name>kaccounts-integration-devel</Name>
<Summary>Development files for kaccounts-integration</Summary>
<RuntimeDependencies>
<Dependency release="current">kaccounts-integration</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2015-11-14</Date>
<Version>15.08.3</Version>
<Comment>First release</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,20 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import kde5
from pisi.actionsapi import pisitools
def setup():
kde5.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release")
def build():
kde5.make()
def install():
kde5.install()
pisitools.dodoc("COPYING")
@@ -0,0 +1,55 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>kaccounts-providers</Name>
<Homepage>https://projects.kde.org/projects/playground/base/kde-accounts/kaccounts-providers</Homepage>
<Packager>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app</IsA>
<Summary>Small system to administer web accounts for the sites and services across the KDE desktop, including: Google, Facebook, Owncloud, IMAP,
Jabber and others</Summary>
<Description>Small system to administer web accounts for the sites and services across the KDE desktop, including: Google, Facebook, Owncloud, IMAP,
Jabber and others</Description>
<Archive sha1sum="eb6a855639d54ae331e88680cd5a8caae0118368" type="tarxz">http://download.kde.org/stable/applications/15.08.3/src/kaccounts-providers-15.08.3.tar.xz</Archive>
<BuildDependencies>
<Dependency>extra-cmake-modules</Dependency>
<Dependency>intltool</Dependency>
<Dependency>kaccounts-integration-devel</Dependency>
<Dependency>qt5-declarative-devel</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>kcoreaddons-devel</Dependency>
<Dependency>libaccounts-qt5-devel</Dependency>
<Dependency>libaccounts-glib-devel</Dependency>
<Dependency>signon-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>kaccounts-providers</Name>
<RuntimeDependencies>
<Dependency>kaccounts-integration</Dependency>
<Dependency>libaccounts-glib</Dependency>
</RuntimeDependencies>
<Summary>Small system to administer web accounts for the sites and services across the KDE desktop, including: Google, Facebook, Owncloud, IMAP,
Jabber and others</Summary>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2015-11-15</Date>
<Version>15.08.3</Version>
<Comment>First release</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,27 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.system("./autogen.sh \
--prefix=/usr \
--localstatedir=/var \
--sysconfdir=/etc \
--disable-static")
autotools.autoreconf()
def build():
autotools.make("-j1")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("README*", "AUTHORS", "COPYING", "NEWS")
@@ -0,0 +1,107 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libsignon-glib</Name>
<Homepage>https://code.google.com/p/accounts-sso</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2</License>
<Summary>Authorization and authentication management for glib</Summary>
<Description>libsignon-glib provides authorization and authentication management for GLib applications.</Description>
<Archive sha1sum="4bef140ff918862e326f435cd8d10dc6cc8c34a4" type="targz">https://gitlab.com/accounts-sso/libsignon-glib/repository/archive.tar.gz</Archive>
<BuildDependencies>
<Dependency>glib2-devel</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
<Dependency>signon-devel</Dependency>
<Dependency>gtk-doc</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libsignon-glib</Name>
<RuntimeDependencies>
<Dependency>gobject-introspection</Dependency>
<Dependency>glib2</Dependency>
<Dependency>signon</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/</Path>
<Path fileType="data">/usr/share/gir-1.0</Path>
<Path fileType="data">/usr/share/vala/vapi/signon.vapi</Path>
</Files>
</Package>
<Package>
<Name>libsignon-glib-devel</Name>
<Summary>Development files for libsignon-glib</Summary>
<RuntimeDependencies>
<Dependency release="current">libsignon-glib</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>signon-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<Package>
<Name>libsignon-glib-doc</Name>
<Summary>Document files for libsignon-glib</Summary>
<RuntimeDependencies>
<Dependency release="current">libsignon-glib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="doc">/usr/share/gtk-doc/html</Path>
</Files>
</Package>
<History>
<Update release="6">
<Date>2015-11-14</Date>
<Version>1.12</Version>
<Comment>Version bump.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2014-03-09</Date>
<Version>1.9</Version>
<Comment>Rebuild.</Comment>
<Name>Kamil Atlı</Name>
<Email>suvarice@gmail.com</Email>
</Update>
<Update release="4">
<Date>2013-07-28</Date>
<Version>1.9</Version>
<Comment>Dep Fixed</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-07-28</Date>
<Version>1.9</Version>
<Comment>Move pc files to devel pack, rebuild</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-05-07</Date>
<Version>1.9</Version>
<Comment>Fixed</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2013-03-22</Date>
<Version>1.9</Version>
<Comment>First release</Comment>
<Name>Erdinç Gültekin</Name>
<Email>erdincgultekin@gmail.com</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,19 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libsignon-glib</Name>
<Summary xml:lang="en">Authorization and authentication management for glib</Summary>
<Description xml:lang="en">libsignon-glib provides authorization and authentication management for GLib applications.</Description>
</Source>
<Package>
<Name>libsignon-glib-devel</Name>
<Summary xml:lang="tr">libsignon-glib için kütüphaneler</Summary>
<Description xml:lang="tr">libsignon-glib geliştirme paketi, libsignon-glib için geliştirme dosyaları sunar.</Description>
</Package>
<Package>
<Name>libsignon-glib-doc</Name>
<Summary xml:lang="en">Document files for libsignon-glib</Summary>
</Package>
</PISI>
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import qt5
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.system("sed -i -e 's/qdbusxml2cpp/qdbusxml2cpp-qt5/' src/signond/signond.pro")
qt5.configure(parameters="PREFIX=/usr LIBDIR=/usr/lib")
def build():
qt5.make()
def install():
qt5.install()
@@ -0,0 +1,9 @@
--- a/lib/plugins/signon-plugins-common/SignOn/blobiohandler.cpp 2014-08-25 10:33:29.000000000 -0400
+++ b/lib/plugins/signon-plugins-common/SignOn/blobiohandler.cpp 2015-07-09 11:25:07.686154044 -0400
@@ -26,6 +26,7 @@
#include <QDBusArgument>
#include <QBuffer>
#include <QDebug>
+#include <QDataStream>
#include "SignOn/signonplugincommon.h"
@@ -0,0 +1,9 @@
diff --git a/src/remotepluginprocess/remotepluginprocess.cpp b/src/remotepluginprocess/remotepluginprocess.cpp
index bb11baf..58cc3f4 100644
--- a/src/remotepluginprocess/remotepluginprocess.cpp
+++ b/src/remotepluginprocess/remotepluginprocess.cpp
@@ -560,3 +560,4 @@ void CancelEventThread::cancel()
} //namespace RemotePluginProcessNS
+#include "moc_authpluginif.cpp"
@@ -0,0 +1,11 @@
=== modified file 'src/signond/signond.conf'
--- old/src/signond/signond.conf 2012-07-25 14:57:50 +0000
+++ new/src/signond/signond.conf 2012-07-25 19:27:16 +0000
@@ -17,6 +17,7 @@
FileSystemName=signonfs
Size=8
FileSystemType=ext2
+SecretsStorage=gnome-keyring
[ObjectTimeouts]
IdentityTimeout=300
+111
View File
@@ -0,0 +1,111 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>signon</Name>
<Homepage>https://code.google.com/p/accounts-sso</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2</License>
<Summary>A framework for centrally storing authentication credentials</Summary>
<Description>Single Sign-On is a framework for centrally storing authentication credentials and handling authentication on behalf of applications as requested by applicationsIt consists of
a secure storage of login credentials (for example usernames and passwords), plugins for different authentication systems and a client library for applications to communicate with this system.</Description>
<Archive sha1sum="15a0963980ad596b0aafc6ff27eb28566ad7d4af" type="tarbz2">https://gitlab.com/accounts-sso/signond/repository/archive.tar.bz2</Archive>
<BuildDependencies>
<Dependency>qt5-base-devel</Dependency>
<Dependency>doxygen</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">qt5.5.diff</Patch>
<Patch level="1">use_keyring.patch</Patch>
<!-- <Patch level="1">signon-8.56-missing-moc-include.patch</Patch> -->
</Patches>
</Source>
<Package>
<Name>signon</Name>
<RuntimeDependencies>
<Dependency>qt5-base</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>doxygen</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="config">/etc</Path>
<Path fileType="data">/usr/share/dbus-1</Path>
</Files>
</Package>
<Package>
<Name>signon-devel</Name>
<Summary>Development files for signon</Summary>
<RuntimeDependencies>
<Dependency release="current">signon</Dependency>
<Dependency>qt5-base-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<Package>
<Name>signon-docs</Name>
<IsA>data:doc</IsA>
<Summary>Help files and API documents for signon</Summary>
<RuntimeDependencies>
<Dependency release="current">signon</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="6">
<Date>2015-11-14</Date>
<Version>8.58</Version>
<Comment>Version bump.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2014-05-24</Date>
<Version>8.56</Version>
<Comment>Version bump.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2014-03-09</Date>
<Version>8.48</Version>
<Comment>Rebuild</Comment>
<Name>Varol Maksutoğlu</Name>
<Email>waroi@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-07-28</Date>
<Version>8.48</Version>
<Comment>Dep Fixed</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-07-26</Date>
<Version>8.48</Version>
<Comment>Move pc files to devel pack,release bump.</Comment>
<Name>Erdinç Gültekin</Name>
<Email>erdincgultekin@gmail.com</Email>
</Update>
<Update release="1">
<Date>2013-03-08</Date>
<Version>8.48</Version>
<Comment>First release</Comment>
<Name>Erdinç Gültekin</Name>
<Email>erdincgultekin@gmail.com</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,15 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>signon</Name>
<Summary xml:lang="en">A framework for centrally storing authentication credentials</Summary>
<Description xml:lang="en">Single Sign-On is a framework for centrally storing authentication credentials and handling authentication on behalf of applications as requested by applicationsIt consists of
a secure storage of login credentials (for example usernames and passwords), plugins for different authentication systems and a client library for applications to communicate with this system.</Description>
</Source>
<Package>
<Name>signon-devel</Name>
<Summary xml:lang="tr">Signon için kütüphaneler</Summary>
<Description xml:lang="tr">Signon geliştirme paketi, Signon için geliştirme dosyaları sunar.</Description>
</Package>
</PISI>