Commit fa17c88c authored by AlmAck's avatar AlmAck

gnome-keyring moved to gtk fix #152

parent c24ab3a7
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=gnome-keyring
pkgver=2.91.0
pkgrel=1
pkgdesc="GNOME Password Management daemon"
arch=(i686 x86_64)
license=('GPL' 'LGPL')
depends=('gconf>=2.28.1')
makedepends=('intltool' 'pkgconfig' 'python')
options=('!libtool' '!emptydirs')
url="http://www.gnome.org"
install=gnome-keyring.install
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.91/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('4a24263ab76023bdf17b9b7d6e1ad08577a0a25bf805e924d0437c20f6039598')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
--libexecdir=/usr/lib/gnome-keyring \
--with-pam-dir=/lib/security --with-root-certs=/etc/ssl/certs
make || return 1
make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-keyring ${pkgdir}/etc/gconf/schemas/*.schemas
rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
}
From b36d6beeb2fa430210c8a2aa19f772bd75325e42 Mon Sep 17 00:00:00 2001
From: Rob Bradford <rob@linux.intel.com>
Date: Wed, 14 Apr 2010 18:12:41 +0000
Subject: Add dbus activation service file for org.freedesktop.secrets
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=611002
---
diff --git a/daemon/Makefile.am b/daemon/Makefile.am
index be96523..4c95b5a 100644
--- a/daemon/Makefile.am
+++ b/daemon/Makefile.am
@@ -54,14 +54,16 @@ gnome_keyring_daemon_LDADD = \
EXTRA_DIST = \
org.gnome.keyring.service.in \
+ org.freedesktop.secrets.service.in \
$(desktop_in_files)
CLEANFILES = \
org.gnome.keyring.service \
+ org.freedesktop.service \
$(desktop_DATA)
servicedir = $(DBUS_SERVICES_DIR)
-service_in_files = org.gnome.keyring.service.in
+service_in_files = org.gnome.keyring.service.in org.freedesktop.secrets.service.in
service_DATA = $(service_in_files:.service.in=.service)
service_PATH = $(VALGRIND_RUN)$(bindir)
diff --git a/daemon/org.freedesktop.secrets.service.in b/daemon/org.freedesktop.secrets.service.in
new file mode 100644
index 0000000..d4db713
--- a/dev/null
+++ b/daemon/org.freedesktop.secrets.service.in
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=org.freedesktop.secrets
+Exec=@PATH@/gnome-keyring-daemon --start --foreground --components=secrets
--
cgit v0.8.3.1
From d6bb94e9c05072fc791fb5045f5b1ab22d11d916 Mon Sep 17 00:00:00 2001
From: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Date: Mon, 19 Apr 2010 13:47:26 +0000
Subject: Make sure the service files are created correctly
---
diff --git a/daemon/Makefile.am b/daemon/Makefile.am
index 4c95b5a..9edb13f 100644
--- a/daemon/Makefile.am
+++ b/daemon/Makefile.am
@@ -68,7 +68,7 @@ service_DATA = $(service_in_files:.service.in=.service)
service_PATH = $(VALGRIND_RUN)$(bindir)
# Rule to make the service file with bindir expanded
-$(service_DATA): $(service_in_files) Makefile
+%.service: %.service.in Makefile
@sed -e "s|\@PATH\@|$(service_PATH)|" $< > $@
desktop_in_files = \
--
cgit v0.8.3.1
pkgname=gnome-keyring
post_install() {
usr/sbin/gconfpkg --install ${pkgname}
}
pre_upgrade() {
pre_remove $1
}
post_upgrade() {
post_install $1
}
pre_remove() {
if [ -f usr/share/gconf/${pkgname}.schemas ]; then
usr/sbin/gconfpkg --uninstall ${pkgname}
fi
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment