Properly install the missing org.freedesktop.secrets.service file.

Reported by:	Jonathan Chen <jonc@chen.org.nz>
Obtained from:	https://bugzilla.gnome.org/show_bug.cgi?id=611002
This commit is contained in:
Joe Marcus Clarke 2010-05-14 04:36:48 +00:00
parent 75c8476ff6
commit 1faf1eafac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=254294
4 changed files with 22 additions and 0 deletions

View file

@ -8,6 +8,7 @@
PORTNAME= gnome-keyring
PORTVERSION= 2.30.1
PORTREVISION= 1
CATEGORIES= security gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@ -28,4 +29,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
GCONF_SCHEMAS= gnome-keyring.schemas
SUB_FILES= org.freedesktop.secrets.service
post-install:
${INSTALL_DATA} ${WRKDIR}/org.freedesktop.secrets.service \
${PREFIX}/share/dbus-1/services
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
[D-BUS Service]
Name=org.freedesktop.secrets
Exec=%%PREFIX%%/bin/gnome-keyring-daemon --start --foreground --components=secrets

View file

@ -0,0 +1,11 @@
--- daemon/Makefile.in.orig 2010-05-14 00:25:44.000000000 -0400
+++ daemon/Makefile.in 2010-05-14 00:25:29.000000000 -0400
@@ -906,7 +906,7 @@ uninstall-am: uninstall-binPROGRAMS unin
# 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)|" $< > $@
@INTLTOOL_DESKTOP_RULE@

View file

@ -44,6 +44,7 @@ lib/pam_gnome_keyring.so
libdata/pkgconfig/gcr-0.pc
libdata/pkgconfig/gp11-0.pc
libexec/gnome-keyring-prompt
share/dbus-1/services/org.freedesktop.secrets.service
share/dbus-1/services/org.gnome.keyring.service
share/doc/gcr/ch01.html
share/doc/gcr/gcr-GcrCertificate.html