Commit d2b465fc authored by Olivier Duchateau's avatar Olivier Duchateau
Browse files

Update to 1.46.0

parent dad76808
# $FreeBSD$
PORTREVISION= 0
COMMENT= DNS-SD backend for GVfs
MASTERDIR= ${.CURDIR}/../../devel/gvfs
PLIST= ${.CURDIR}/pkg-plist
_SLAVE_PORT= avahi
pre-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/gvfs/mounts
@${MKDIR} ${STAGEDIR}${PREFIX}/share/glib-2.0/schemas
@${MKDIR} ${STAGEDIR}${PREFIX}/share/GConf/gsettings
do-install:
@${INSTALL_SCRIPT} ${BUILD_WRKSRC}/daemon/gvfsd-dnssd \
${STAGEDIR}${PREFIX}/libexec/
@${INSTALL_DATA} ${BUILD_WRKSRC}/daemon/dns-sd.mount \
${STAGEDIR}${PREFIX}/share/gvfs/mounts/
@${INSTALL_DATA} ${WRKSRC}/daemon/gvfs-dns-sd.convert \
${STAGEDIR}${PREFIX}/share/GConf/gsettings/
@${INSTALL_DATA} ${WRKSRC}/daemon/org.gnome.system.dns_sd.gschema.xml \
${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/gvfsd-dnssd
.include "${MASTERDIR}/Makefile"
libexec/gvfsd-dnssd
share/GConf/gsettings/gvfs-dns-sd.convert
share/gvfs/mounts/dns-sd.mount
# $FreeBSD$
PORTREVISION= 0
COMMENT= FUSE backend for GVfs
MASTERDIR= ${.CURDIR}/../../devel/gvfs
PLIST= ${.CURDIR}/pkg-plist
_SLAVE_PORT= fuse
do-install:
@${INSTALL_SCRIPT} ${BUILD_WRKSRC}/client/gvfsd-fuse \
${STAGEDIR}${PREFIX}/libexec/
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/gvfsd-fuse
.include "${MASTERDIR}/Makefile"
libexec/gvfsd-fuse
# $FreeBSD$
PORTREVISION= 0
COMMENT= GNOME Online Accounts backend for GVfs
MASTERDIR= ${.CURDIR}/../../devel/gvfs
PLIST= ${.CURDIR}/pkg-plist
_SLAVE_PORT= goa
pre-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/gvfs/mounts
@${MKDIR} ${STAGEDIR}${PREFIX}/share/gvfs/remote-volume-monitors
@${MKDIR} ${STAGEDIR}${PREFIX}/share/dbus-1/services
do-install:
@${INSTALL_SCRIPT} ${BUILD_WRKSRC}/daemon/gvfsd-google \
${STAGEDIR}${PREFIX}/libexec
@${INSTALL_DATA} ${BUILD_WRKSRC}/daemon/google.mount \
${STAGEDIR}${PREFIX}/share/gvfs/mounts/
@${INSTALL_SCRIPT} ${BUILD_WRKSRC}/monitor/goa/gvfs-goa-volume-monitor \
${STAGEDIR}${PREFIX}/libexec
@${INSTALL_DATA} ${BUILD_WRKSRC}/monitor/org.gtk.vfs.GoaVolumeMonitor.service \
${STAGEDIR}${PREFIX}/share/dbus-1/services/
@${INSTALL_DATA} ${WRKSRC}/monitor/goa/goa.monitor \
${STAGEDIR}${PREFIX}/share/gvfs/remote-volume-monitors
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/gvfs-goa-volume-monitor
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/gvfsd-google
.include "${MASTERDIR}/Makefile"
libexec/gvfs-goa-volume-monitor
libexec/gvfsd-google
share/dbus-1/services/org.gtk.vfs.GoaVolumeMonitor.service
share/gvfs/mounts/google.mount
share/gvfs/remote-volume-monitors/goa.monitor
# $FreeBSD$
PORTREVISION= 0
COMMENT= NFS backend for GVfs
MASTERDIR= ${.CURDIR}/../../devel/gvfs
PLIST= ${.CURDIR}/pkg-plist
_SLAVE_PORT= nfs
pre-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/gvfs/mounts
do-install:
@${INSTALL_SCRIPT} ${BUILD_WRKSRC}/daemon/gvfsd-nfs \
${STAGEDIR}${PREFIX}/libexec/
@${INSTALL_DATA} ${BUILD_WRKSRC}/daemon/nfs.mount \
${STAGEDIR}${PREFIX}/share/gvfs/mounts
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/gvfsd-nfs
.include "${MASTERDIR}/Makefile"
libexec/gvfsd-nfs
share/gvfs/mounts/nfs.mount
# $FreeBSD$
PORTREVISION= 0
COMMENT= Free SMB/CIFS backend for GVfs
MASTERDIR= ${.CURDIR}/../../devel/gvfs
PLIST= ${.CURDIR}/pkg-plist
_SLAVE_PORT= smb
pre-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/gvfs/mounts
@${MKDIR} ${STAGEDIR}${PREFIX}/share/glib-2.0/schemas
@${MKDIR} ${STAGEDIR}${PREFIX}/share/GConf/gsettings
do-install:
@${INSTALL_SCRIPT} ${BUILD_WRKSRC}/daemon/gvfsd-smb \
${STAGEDIR}${PREFIX}/libexec/
@${INSTALL_SCRIPT} ${BUILD_WRKSRC}/daemon/gvfsd-smb-browse \
${STAGEDIR}${PREFIX}/libexec/
@${INSTALL_DATA} ${BUILD_WRKSRC}/daemon/smb.mount \
${STAGEDIR}${PREFIX}/share/gvfs/mounts/
@${INSTALL_DATA} ${BUILD_WRKSRC}/daemon/smb-browse.mount \
${STAGEDIR}${PREFIX}/share/gvfs/mounts/
@${INSTALL_DATA} ${WRKSRC}/daemon/gvfs-smb.convert \
${STAGEDIR}${PREFIX}/share/GConf/gsettings/
@${INSTALL_DATA} ${WRKSRC}/daemon/org.gnome.system.smb.gschema.xml \
${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/gvfsd-smb
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/gvfsd-smb-browse
.include "${MASTERDIR}/Makefile"
libexec/gvfsd-smb
libexec/gvfsd-smb-browse
share/GConf/gsettings/gvfs-smb.convert
share/gvfs/mounts/smb-browse.mount
share/gvfs/mounts/smb.mount
# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD: head/devel/gvfs/Makefile 546967 2020-08-30 03:10:23Z novel $
PORTNAME= gvfs
PORTVERSION= 1.46.0
CATEGORIES= devel gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME virtual file system
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas
RUN_DEPENDS= dbus>0:devel/dbus \
gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas
PORTSCOUT= limitw:1,even
USES= gettext gnome localbase meson \
pkgconfig tar:xz
USE_GNOME= glib20 libxml2 libxslt:build
# Options which depend of systemd and/or gudev
MESON_ARGS= -Dbluray=false \
-Dgudev=false \
-Dlogind=false \
-Dsystemduserunitdir=no \
-Dudisks2=false \
-Dgphoto2=false \
-Dlibusb=false \
-Dcdda=false \
-Dgphoto2=false \
-Dmtp=false \
-Dadmin=false \
-Dafc=false \
-Dtmpfilesdir=no
_SLAVE_PORT?= main
.if ${_SLAVE_PORT} == main
LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \
libgcrypt.so:security/libgcrypt \
libgcr-base-3.so:security/gcr \
libsecret-1.so:security/libsecret
USES+= libarchive
# Deactive every each slave ports
MESON_ARGS+= -Ddnssd=false \
-Dfuse=false \
-Dgoa=false \
-Dgoogle=false \
-Dnfs=false \
-Dsmb=false
OPTIONS_SUB= yes
OPTIONS_DEFINE= MANPAGES
OPTIONS_DEFAULT= MANPAGES
MANPAGES_BUILD_DEPENDS= docbook-xsl>=0:textproc/docbook-xsl
MANPAGES_MESON_TRUE= man
GLIB_SCHEMAS= org.gnome.system.gvfs.enums.xml
.else
PKGNAMESUFFIX= -${_SLAVE_PORT}
RUN_DEPENDS+= ${LOCALBASE}/lib/gvfs/libgvfsdaemon.so:devel/gvfs
# Deactive defaults options for slave ports
MESON_ARGS+= -Darchive=false \
-Dhttp=false \
-Dsftp=false \
-Dafp=false \
-Dkeyring=false \
-Dgcr=false \
-Dgcrypt=false \
-Dsftp=false
INSTALL_TARGET= # empty
.endif
.if ${_SLAVE_PORT} == avahi
LIB_DEPENDS+= libavahi-glib.so:net/avahi-app
MESON_ARGS+= -Ddnssd=true \
-Dfuse=false \
-Dgoa=false \
-Dgoogle=false \
-Dnfs=false \
-Dsmb=false
GLIB_SCHEMAS= org.gnome.system.dns_sd.gschema.xml
.elif ${_SLAVE_PORT} == fuse
USES+= fuse:3
MESON_ARGS+= -Ddnssd=false \
-Dfuse=true \
-Dgoa=false \
-Dgoogle=false \
-Dnfs=false \
-Dsmb=false
.elif ${_SLAVE_PORT} == goa
LIB_DEPENDS+= libgoa-1.0.so:net/gnome-online-accounts \
libgdata.so:devel/libgdata
MESON_ARGS+= -Ddnssd=false \
-Dfuse=false \
-Dgoa=true \
-Dgoogle=true \
-Dnfs=false \
-Dsmb=false
.elif ${_SLAVE_PORT} == nfs
LIB_DEPENDS+= libnfs.so:net/libnfs
MESON_ARGS+= -Ddnssd=false \
-Dfuse=false \
-Dgoa=false \
-Dgoogle=false \
-Dnfs=true \
-Dsmb=false
.elif ${_SLAVE_PORT} == smb
USES+= samba:lib
MESON_ARGS+= -Ddnssd=false \
-Dfuse=false \
-Dgoa=false \
-Dgoogle=false \
-Dnfs=false \
-Dsmb=true
GLIB_SCHEMAS= org.gnome.system.smb.gschema.xml
.endif
.include <bsd.port.mk>
TIMESTAMP = 1600266418
SHA256 (gnome/gvfs-1.46.0.tar.xz) = 78ba73a6da09a21ce3acc776b46c26dd5bea216463a65d65b4052a57f5d970e9
SIZE (gnome/gvfs-1.46.0.tar.xz) = 1219720
--- client/gvfsfusedaemon.c.orig 2012-05-15 20:01:49.000000000 +0200
+++ client/gvfsfusedaemon.c 2012-05-31 14:00:26.000000000 +0200
@@ -2361,7 +2361,9 @@
subthread = g_thread_new ("gvfs-fuse-sub", (GThreadFunc) subthread_main, NULL);
/* Indicate O_TRUNC support for open() */
+#ifdef FUSE_CAP_ATOMIC_O_TRUNC
conn->want |= FUSE_CAP_ATOMIC_O_TRUNC;
+#endif
return NULL;
}
--- daemon/gvfswritechannel.c.orig 2007-12-22 18:50:10.000000000 -0500
+++ daemon/gvfswritechannel.c 2007-12-22 18:50:20.000000000 -0500
@@ -30,6 +30,7 @@
#include <sys/un.h>
#include <unistd.h>
#include <fcntl.h>
+#include <string.h>
#include <glib.h>
#include <glib-object.h>
GVFS allows applications and users to treat any number of file system
concepts as a part of the local filesystem. With GVFS, filesystems across
the internet, on connected devices, and in multiple formats are as simple
to access (and write code for) as any directory on the local machine.
WWW: http://www.gnome.org/
include/gvfs-client/gvfs/gvfsurimapper.h
include/gvfs-client/gvfs/gvfsuriutils.h
lib/gio/modules/libgioremote-volume-monitor.so
lib/gio/modules/libgvfsdbus.so
lib/gvfs/libgvfscommon.so
lib/gvfs/libgvfsdaemon.so
libexec/gvfsd
libexec/gvfsd-afp
libexec/gvfsd-afp-browse
libexec/gvfsd-archive
libexec/gvfsd-burn
libexec/gvfsd-computer
libexec/gvfsd-dav
libexec/gvfsd-ftp
libexec/gvfsd-http
libexec/gvfsd-localtest
libexec/gvfsd-metadata
libexec/gvfsd-network
libexec/gvfsd-recent
libexec/gvfsd-sftp
libexec/gvfsd-trash
%%MANPAGES%%man/man1/gvfsd-fuse.1.gz
%%MANPAGES%%man/man1/gvfsd-metadata.1.gz
%%MANPAGES%%man/man1/gvfsd.1.gz
%%MANPAGES%%man/man7/gvfs.7.gz
share/dbus-1/services/org.gtk.vfs.Daemon.service
share/dbus-1/services/org.gtk.vfs.Metadata.service
%%DATADIR%%/mounts/afp-browse.mount
%%DATADIR%%/mounts/afp.mount
%%DATADIR%%/mounts/archive.mount
%%DATADIR%%/mounts/burn.mount
%%DATADIR%%/mounts/computer.mount
%%DATADIR%%/mounts/dav.mount
%%DATADIR%%/mounts/ftp.mount
%%DATADIR%%/mounts/ftpis.mount
%%DATADIR%%/mounts/ftps.mount
%%DATADIR%%/mounts/http.mount
%%DATADIR%%/mounts/localtest.mount
%%DATADIR%%/mounts/network.mount
%%DATADIR%%/mounts/recent.mount
%%DATADIR%%/mounts/sftp.mount
%%DATADIR%%/mounts/trash.mount
share/locale/af/LC_MESSAGES/gvfs.mo
share/locale/ar/LC_MESSAGES/gvfs.mo
share/locale/as/LC_MESSAGES/gvfs.mo
share/locale/ast/LC_MESSAGES/gvfs.mo
share/locale/be/LC_MESSAGES/gvfs.mo
share/locale/be@latin/LC_MESSAGES/gvfs.mo
share/locale/bg/LC_MESSAGES/gvfs.mo
share/locale/bn/LC_MESSAGES/gvfs.mo
share/locale/bn_IN/LC_MESSAGES/gvfs.mo
share/locale/bs/LC_MESSAGES/gvfs.mo
share/locale/ca/LC_MESSAGES/gvfs.mo
share/locale/ca@valencia/LC_MESSAGES/gvfs.mo
share/locale/cs/LC_MESSAGES/gvfs.mo
share/locale/da/LC_MESSAGES/gvfs.mo
share/locale/de/LC_MESSAGES/gvfs.mo
share/locale/el/LC_MESSAGES/gvfs.mo
share/locale/en@shaw/LC_MESSAGES/gvfs.mo
share/locale/en_GB/LC_MESSAGES/gvfs.mo
share/locale/eo/LC_MESSAGES/gvfs.mo
share/locale/es/LC_MESSAGES/gvfs.mo
share/locale/et/LC_MESSAGES/gvfs.mo
share/locale/eu/LC_MESSAGES/gvfs.mo
share/locale/fa/LC_MESSAGES/gvfs.mo
share/locale/fi/LC_MESSAGES/gvfs.mo
share/locale/fr/LC_MESSAGES/gvfs.mo
share/locale/fur/LC_MESSAGES/gvfs.mo
share/locale/ga/LC_MESSAGES/gvfs.mo
share/locale/gl/LC_MESSAGES/gvfs.mo
share/locale/gu/LC_MESSAGES/gvfs.mo
share/locale/he/LC_MESSAGES/gvfs.mo
share/locale/hi/LC_MESSAGES/gvfs.mo
share/locale/hr/LC_MESSAGES/gvfs.mo
share/locale/hu/LC_MESSAGES/gvfs.mo
share/locale/id/LC_MESSAGES/gvfs.mo
share/locale/it/LC_MESSAGES/gvfs.mo
share/locale/ja/LC_MESSAGES/gvfs.mo
share/locale/kk/LC_MESSAGES/gvfs.mo
share/locale/kn/LC_MESSAGES/gvfs.mo
share/locale/ko/LC_MESSAGES/gvfs.mo
share/locale/ku/LC_MESSAGES/gvfs.mo
share/locale/lt/LC_MESSAGES/gvfs.mo
share/locale/lv/LC_MESSAGES/gvfs.mo
share/locale/mai/LC_MESSAGES/gvfs.mo
share/locale/mk/LC_MESSAGES/gvfs.mo
share/locale/ml/LC_MESSAGES/gvfs.mo
share/locale/mr/LC_MESSAGES/gvfs.mo
share/locale/ms/LC_MESSAGES/gvfs.mo
share/locale/nb/LC_MESSAGES/gvfs.mo
share/locale/nds/LC_MESSAGES/gvfs.mo
share/locale/ne/LC_MESSAGES/gvfs.mo
share/locale/nl/LC_MESSAGES/gvfs.mo
share/locale/nn/LC_MESSAGES/gvfs.mo
share/locale/oc/LC_MESSAGES/gvfs.mo
share/locale/or/LC_MESSAGES/gvfs.mo
share/locale/pa/LC_MESSAGES/gvfs.mo
share/locale/pl/LC_MESSAGES/gvfs.mo
share/locale/pt/LC_MESSAGES/gvfs.mo
share/locale/pt_BR/LC_MESSAGES/gvfs.mo
share/locale/ro/LC_MESSAGES/gvfs.mo
share/locale/ru/LC_MESSAGES/gvfs.mo
share/locale/sk/LC_MESSAGES/gvfs.mo
share/locale/sl/LC_MESSAGES/gvfs.mo
share/locale/sq/LC_MESSAGES/gvfs.mo
share/locale/sr/LC_MESSAGES/gvfs.mo
share/locale/sr@latin/LC_MESSAGES/gvfs.mo
share/locale/sv/LC_MESSAGES/gvfs.mo
share/locale/ta/LC_MESSAGES/gvfs.mo
share/locale/te/LC_MESSAGES/gvfs.mo
share/locale/tg/LC_MESSAGES/gvfs.mo
share/locale/th/LC_MESSAGES/gvfs.mo
share/locale/tr/LC_MESSAGES/gvfs.mo
share/locale/ug/LC_MESSAGES/gvfs.mo
share/locale/uk/LC_MESSAGES/gvfs.mo
share/locale/vi/LC_MESSAGES/gvfs.mo
share/locale/zh_CN/LC_MESSAGES/gvfs.mo
share/locale/zh_HK/LC_MESSAGES/gvfs.mo
share/locale/zh_TW/LC_MESSAGES/gvfs.mo
Supports Markdown
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