[arch-commits] Commit in signon/repos (8 files)
Felix Yan
fyan at archlinux.org
Sat Feb 21 14:59:19 UTC 2015
Date: Saturday, February 21, 2015 @ 15:59:18
Author: fyan
Revision: 231716
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
signon/repos/testing-i686/
signon/repos/testing-i686/PKGBUILD
(from rev 231715, signon/trunk/PKGBUILD)
signon/repos/testing-i686/signon.install
(from rev 231715, signon/trunk/signon.install)
signon/repos/testing-i686/use_keyring.patch
(from rev 231715, signon/trunk/use_keyring.patch)
signon/repos/testing-x86_64/
signon/repos/testing-x86_64/PKGBUILD
(from rev 231715, signon/trunk/PKGBUILD)
signon/repos/testing-x86_64/signon.install
(from rev 231715, signon/trunk/signon.install)
signon/repos/testing-x86_64/use_keyring.patch
(from rev 231715, signon/trunk/use_keyring.patch)
----------------------------------+
testing-i686/PKGBUILD | 68 +++++++++++++++++++++++++++++++++++++
testing-i686/signon.install | 6 +++
testing-i686/use_keyring.patch | 12 ++++++
testing-x86_64/PKGBUILD | 68 +++++++++++++++++++++++++++++++++++++
testing-x86_64/signon.install | 6 +++
testing-x86_64/use_keyring.patch | 12 ++++++
6 files changed, 172 insertions(+)
Copied: signon/repos/testing-i686/PKGBUILD (from rev 231715, signon/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-02-21 14:59:18 UTC (rev 231716)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+
+pkgbase=signon
+pkgname=('libsignon-qt4' 'signon')
+pkgver=8.57
+pkgrel=2
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/accounts-sso/"
+license=('LGPL')
+makedepends=('qt4' 'libproxy' 'doxygen' 'graphviz' 'qt5-base' 'ttf-font' 'qt5-tools')
+options=('!emptydirs')
+source=("https://sources.archlinux.org/other/packages/${pkgbase}/$pkgbase-$pkgver.tar.bz2"
+ 'use_keyring.patch')
+sha1sums=('c9fa0567b68db434a7a954dcb303adf7aad1578b'
+ 'cfdd48b494ad267654ceba23f1b81bcb8f56b9a1')
+
+prepare() {
+ cd $pkgbase-$pkgver
+ # Use gnome-keyring secrets storage if signon-keyring-extension is available
+ patch -Np1 -i "$srcdir/use_keyring.patch"
+ cd ..
+
+ cp -a $pkgbase-$pkgver $pkgbase-$pkgver-qt4
+
+ # qt4 fix
+ cd $pkgbase-$pkgver-qt4
+ sed -i 's/qdbusxml2cpp/qdbusxml2cpp-qt4/' src/signond/signond.pro
+}
+
+build() {
+ cd $pkgbase-$pkgver
+ qmake PREFIX=/usr LIBDIR=/usr/lib
+ make
+
+ cd ../$pkgbase-$pkgver-qt4
+ qmake-qt4 PREFIX=/usr LIBDIR=/usr/lib
+ make
+}
+
+package_libsignon-qt4() {
+ pkgdesc="Qt4 signon library"
+ depends=('qt4' 'signon')
+ conflicts=('signon-qt4')
+ replaces=('signon-qt4')
+
+ cd $pkgbase-$pkgver-qt4/lib/SignOn
+ make INSTALL_ROOT="$pkgdir" install
+
+ # Do not ship docs
+ rm -rf "${pkgdir}"/usr/share/doc
+}
+
+package_signon() {
+ pkgdesc="Qt Framework to provide credential storage and authentication service"
+ depends=('qt5-base' 'libproxy')
+ conflicts=('signon-qt5')
+ provides=('signon-qt5')
+ replaces=('signon-qt5')
+
+ cd $pkgbase-$pkgver
+ make INSTALL_ROOT="$pkgdir" install
+
+ # Do not ship docs
+ rm -rf "${pkgdir}"/usr/share/doc
+}
+
Copied: signon/repos/testing-i686/signon.install (from rev 231715, signon/trunk/signon.install)
===================================================================
--- testing-i686/signon.install (rev 0)
+++ testing-i686/signon.install 2015-02-21 14:59:18 UTC (rev 231716)
@@ -0,0 +1,6 @@
+post_upgrade() {
+ if [ "$(vercmp 8.44 "$2")" -eq 1 ]; then
+ printf '==> Default config location changed\n'
+ printf ' Move the file signon.db from ~/.signon/ to ~/.config/signond/\n'
+ fi
+}
Copied: signon/repos/testing-i686/use_keyring.patch (from rev 231715, signon/trunk/use_keyring.patch)
===================================================================
--- testing-i686/use_keyring.patch (rev 0)
+++ testing-i686/use_keyring.patch 2015-02-21 14:59:18 UTC (rev 231716)
@@ -0,0 +1,12 @@
+=== 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
+
Copied: signon/repos/testing-x86_64/PKGBUILD (from rev 231715, signon/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-02-21 14:59:18 UTC (rev 231716)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+
+pkgbase=signon
+pkgname=('libsignon-qt4' 'signon')
+pkgver=8.57
+pkgrel=2
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/accounts-sso/"
+license=('LGPL')
+makedepends=('qt4' 'libproxy' 'doxygen' 'graphviz' 'qt5-base' 'ttf-font' 'qt5-tools')
+options=('!emptydirs')
+source=("https://sources.archlinux.org/other/packages/${pkgbase}/$pkgbase-$pkgver.tar.bz2"
+ 'use_keyring.patch')
+sha1sums=('c9fa0567b68db434a7a954dcb303adf7aad1578b'
+ 'cfdd48b494ad267654ceba23f1b81bcb8f56b9a1')
+
+prepare() {
+ cd $pkgbase-$pkgver
+ # Use gnome-keyring secrets storage if signon-keyring-extension is available
+ patch -Np1 -i "$srcdir/use_keyring.patch"
+ cd ..
+
+ cp -a $pkgbase-$pkgver $pkgbase-$pkgver-qt4
+
+ # qt4 fix
+ cd $pkgbase-$pkgver-qt4
+ sed -i 's/qdbusxml2cpp/qdbusxml2cpp-qt4/' src/signond/signond.pro
+}
+
+build() {
+ cd $pkgbase-$pkgver
+ qmake PREFIX=/usr LIBDIR=/usr/lib
+ make
+
+ cd ../$pkgbase-$pkgver-qt4
+ qmake-qt4 PREFIX=/usr LIBDIR=/usr/lib
+ make
+}
+
+package_libsignon-qt4() {
+ pkgdesc="Qt4 signon library"
+ depends=('qt4' 'signon')
+ conflicts=('signon-qt4')
+ replaces=('signon-qt4')
+
+ cd $pkgbase-$pkgver-qt4/lib/SignOn
+ make INSTALL_ROOT="$pkgdir" install
+
+ # Do not ship docs
+ rm -rf "${pkgdir}"/usr/share/doc
+}
+
+package_signon() {
+ pkgdesc="Qt Framework to provide credential storage and authentication service"
+ depends=('qt5-base' 'libproxy')
+ conflicts=('signon-qt5')
+ provides=('signon-qt5')
+ replaces=('signon-qt5')
+
+ cd $pkgbase-$pkgver
+ make INSTALL_ROOT="$pkgdir" install
+
+ # Do not ship docs
+ rm -rf "${pkgdir}"/usr/share/doc
+}
+
Copied: signon/repos/testing-x86_64/signon.install (from rev 231715, signon/trunk/signon.install)
===================================================================
--- testing-x86_64/signon.install (rev 0)
+++ testing-x86_64/signon.install 2015-02-21 14:59:18 UTC (rev 231716)
@@ -0,0 +1,6 @@
+post_upgrade() {
+ if [ "$(vercmp 8.44 "$2")" -eq 1 ]; then
+ printf '==> Default config location changed\n'
+ printf ' Move the file signon.db from ~/.signon/ to ~/.config/signond/\n'
+ fi
+}
Copied: signon/repos/testing-x86_64/use_keyring.patch (from rev 231715, signon/trunk/use_keyring.patch)
===================================================================
--- testing-x86_64/use_keyring.patch (rev 0)
+++ testing-x86_64/use_keyring.patch 2015-02-21 14:59:18 UTC (rev 231716)
@@ -0,0 +1,12 @@
+=== 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
+
More information about the arch-commits
mailing list