Add a -goa subpackage.

looks ok to sthen@
This commit is contained in:
ajacoutot 2013-03-30 18:08:04 +00:00
parent 795952df59
commit 22d7fdbae6
5 changed files with 45 additions and 25 deletions

View File

@ -1,15 +1,18 @@
# $OpenBSD: Makefile,v 1.87 2013/03/30 17:06:41 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.88 2013/03/30 18:08:04 ajacoutot Exp $
COMMENT-main= GNOME Virtual File System
COMMENT-smb= samba module for GVFS
COMMENT-smb= GVFS mount module for samba
COMMENT-goa= GVFS volume monitor for gnome-online-account
GNOME_PROJECT= gvfs
GNOME_VERSION= 1.16.0
PKGNAME-main= ${DISTNAME}
PKGNAME-smb= ${GNOME_PROJECT}-smb-${GNOME_VERSION}
PKGNAME-goa= ${GNOME_PROJECT}-goa-${GNOME_VERSION}
REVISION-main= 1
REVISION-main= 2
REVISION-smb= 0
SHARED_LIBS += gvfscommon 4.0 # .0.0
@ -20,8 +23,8 @@ MODULES= devel/gettext \
x11/gnome \
devel/dconf
WANTLIB += c ffi gcrypt gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gpg-error
WANTLIB += pcre pthread secret-1 util z
WANTLIB += c ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 pcre pthread
WANTLIB += util z
WANTLIB-main += ${WANTLIB}
WANTLIB-main += ICE SM X11 Xcomposite Xcursor Xdamage xcb-shm
@ -32,21 +35,25 @@ WANTLIB-main += fontconfig freetype gdk-3 gdk_pixbuf-2.0 xml2 archive
WANTLIB-main += gtk-3 harfbuzz icudata icule icuuc lzma m pango-1.0
WANTLIB-main += pangocairo-1.0 pangoft2-1.0 pixman-1 png pthread-stubs
WANTLIB-main += soup-2.4 soup-gnome-2.4 sqlite3 gthread-2.0 xcb xcb-render
WANTLIB-main += gcrypt gpg-error secret-1
WANTLIB-smb += ${WANTLIB}
WANTLIB-smb += gvfscommon smbclient execinfo talloc tdb wbclient
WANTLIB-smb += gcrypt gpg-error secret-1
WANTLIB-goa += ${WANTLIB}
WANTLIB-goa += goa-1.0 gvfscommon
MODGNOME_DESKTOP_FILE= Yes
# man pages
BUILD_DEPENDS += textproc/docbook-xsl
LIB_DEPENDS= x11/gnome/libsecret
LIB_DEPENDS-main= ${LIB_DEPENDS} \
archivers/libarchive \
devel/libsoup,-gnome \
net/avahi \
x11/gnome/libsecret \
x11/gtk+3
RUN_DEPENDS-smb= ${MODGETTEXT_RUN_DEPENDS}
@ -54,6 +61,11 @@ LIB_DEPENDS-smb= ${LIB_DEPENDS} \
${BASE_PKGPATH},-main=${GNOME_VERSION} \
net/samba
RUN_DEPENDS-goa= ${MODGETTEXT_RUN_DEPENDS}
LIB_DEPENDS-goa= ${LIB_DEPENDS} \
${BASE_PKGPATH},-main=${GNOME_VERSION} \
x11/gnome/online-accounts
CONFIGURE_ARGS= --disable-cdda \
--disable-bluray \
--disable-afc \
@ -62,18 +74,19 @@ CONFIGURE_ARGS= --disable-cdda \
--disable-udev \
--disable-gdu
# XXX subpackage
CONFIGURE_ARGS += --disable-goa
MULTI_PACKAGES= -main -smb -goa
MULTI_PACKAGES= -main
PSEUDO_FLAVORS= no_smb
FLAVOR?=
PSEUDO_FLAVORS= no_smb no_goa bootstrap
FLAVOR?= no_smb no_goa
.if ${FLAVOR:Mno_smb}
CONFIGURE_ARGS+= --disable-samba
.else
CONFIGURE_ARGS+= --enable-samba
MULTI_PACKAGES+= -smb
.include <bsd.port.arch.mk>
.if !${BUILD_PACKAGES:M-smb}
CONFIGURE_ARGS += --disable-samba
.endif
.if !${BUILD_PACKAGES:M-goa}
CONFIGURE_ARGS += --disable-goa
.endif
post-install:

View File

@ -0,0 +1 @@
This package provides the goa volume monitor for GVFS.

View File

@ -1,7 +1,10 @@
GVFS is a replacement for GnomeVFS, the GNOME Virtual File System.
gvfs is a userspace virtual filesystem designed to work with the i/o
abstractions of gio. It installs several modules that are automatically
used by applications using the APIs of libgio.
GVFS consists of two parts: a shared library which is loaded by
applications supporting GIO and GVFS itself, a collection of daemons
which communicate with each other and the GIO module over D-Bus. This
moves the virtual file systems out of client processes, contrary to
GnomeVFS, but somewhat similar to KIO.
gvfs comes with a set of backends, including trash support, sftp, smb,
http, dav and others.
There is a set of command line programs starting with "gvfs-" that
lets you run commands (like cat, ls, stat, etc) on files in the gvfs
mounts.

View File

@ -1,4 +1,2 @@
GVFS is a replacement for GnomeVFS, the GNOME Virtual File System.
This package provides the smb module for GVFS, which allows it to browse
networks using the SMB/CIFS protocols (a.k.a. Microsoft Networks).

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST-goa,v 1.1 2013/03/30 18:08:04 ajacoutot Exp $
@conflict gvfs-<1.16.0p1
@bin libexec/gvfs-goa-volume-monitor
share/dbus-1/services/org.gtk.Private.GoaVolumeMonitor.service
share/gvfs/remote-volume-monitors/goa.monitor