Date: Sunday, March 26, 2017 @ 20:57:11
  Author: jgc
Revision: 291692

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  gvfs/repos/staging-i686/
  gvfs/repos/staging-i686/PKGBUILD
    (from rev 291691, gvfs/trunk/PKGBUILD)
  gvfs/repos/staging-i686/gvfs-nfs.install
    (from rev 291691, gvfs/trunk/gvfs-nfs.install)
  gvfs/repos/staging-i686/gvfsd.hook
    (from rev 291691, gvfs/trunk/gvfsd.hook)
  gvfs/repos/staging-x86_64/
  gvfs/repos/staging-x86_64/PKGBUILD
    (from rev 291691, gvfs/trunk/PKGBUILD)
  gvfs/repos/staging-x86_64/gvfs-nfs.install
    (from rev 291691, gvfs/trunk/gvfs-nfs.install)
  gvfs/repos/staging-x86_64/gvfsd.hook
    (from rev 291691, gvfs/trunk/gvfsd.hook)

---------------------------------+
 staging-i686/PKGBUILD           |  150 ++++++++++++++++++++++++++++++++++++++
 staging-i686/gvfs-nfs.install   |    7 +
 staging-i686/gvfsd.hook         |   11 ++
 staging-x86_64/PKGBUILD         |  150 ++++++++++++++++++++++++++++++++++++++
 staging-x86_64/gvfs-nfs.install |    7 +
 staging-x86_64/gvfsd.hook       |   11 ++
 6 files changed, 336 insertions(+)

Copied: gvfs/repos/staging-i686/PKGBUILD (from rev 291691, gvfs/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD                               (rev 0)
+++ staging-i686/PKGBUILD       2017-03-26 20:57:11 UTC (rev 291692)
@@ -0,0 +1,150 @@
+# $Id$
+# Maintainer: Jan de Groot <j...@archlinux.org>
+
+pkgbase=gvfs
+pkgname=(gvfs gvfs-{smb,afc,gphoto2,goa,mtp,nfs,google})
+pkgver=1.30.3+4+gd79b4650
+pkgrel=1
+pkgdesc="Virtual filesystem implementation for GIO"
+url="https://wiki.gnome.org/Projects/gvfs";
+arch=(i686 x86_64)
+license=(LGPL)
+depends=(avahi dconf fuse libarchive libcdio-paranoia libsoup udisks2 libsecret
+         libbluray libgudev gcr psmisc)
+makedepends=(dbus intltool libgphoto2 libimobiledevice smbclient docbook-xsl
+             gtk3 libmtp gnome-online-accounts libnfs libgdata git gtk-doc 
python)
+groups=(gnome)
+_commit=d79b46508bd3a34edb1deaadc4142c22d97de913  # gnome-3-22
+source=("git+https://git.gnome.org/browse/gvfs#commit=$_commit";
+        gvfsd.hook)
+sha256sums=('SKIP'
+            '478b9cf7b4c242959fc640dbf0cd4935f16c59b81f5828a3af102d608d7a9d72')
+
+prepare() {
+  cd $pkgbase
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+pkgver() {
+  cd $pkgbase
+  git describe --tags | sed 's/-/+/g'
+}
+
+build() {
+  cd $pkgbase
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-static \
+      --libexecdir=/usr/lib/gvfs \
+      --with-bash-completion-dir=/usr/share/bash-completion/completions
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package_gvfs() {
+  replaces=(gvfs-{obexftp,afp})
+  optdepends=('gvfs-afc: AFC (mobile devices) support'
+              'gvfs-smb: SMB/CIFS (Windows client) support'
+              'gvfs-gphoto2: gphoto2 (PTP camera/MTP media player) support'
+              'gvfs-mtp: MTP device support'
+              'gvfs-goa: gnome-online-accounts (e.g. OwnCloud) support'
+              'gvfs-nfs: NFS support'
+              'gvfs-google: Google Drive support'
+              'gtk3: Recent files support')
+
+  cd $pkgbase
+  sed -e 's/^am__append_4/#am__append_4/' \
+      -e 's/^am__append_5/#am__append_5/' \
+      -e 's/^am__append_6/#am__append_6/' \
+      -e 's/^am__append_7/#am__append_7/' \
+      -i monitor/Makefile
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 ../gvfsd.hook "$pkgdir/usr/share/libalpm/hooks/gvfsd.hook"
+  install -d -o root -g 102 -m 750 "$pkgdir/usr/share/polkit-1/rules.d"
+
+  cd "$pkgdir"
+  rm usr/lib/gvfs/gvfsd-{smb,smb-browse,afc,gphoto2,mtp,nfs,google}
+  rm usr/share/gvfs/mounts/{smb,smb-browse,afc,gphoto2,mtp,nfs,google}.mount
+  rm usr/share/glib-2.0/schemas/org.gnome.system.smb.gschema.xml
+  rm usr/share/GConf/gsettings/gvfs-smb.convert
+}
+
+package_gvfs-smb() {
+  pkgdesc+=" (SMB/CIFS backend; Windows client)"
+  depends=("gvfs=$pkgver" smbclient)
+
+  cd $pkgbase/daemon
+  install -m755 -d "$pkgdir/usr/lib/gvfs"
+  install -m755 -d "$pkgdir/usr/share/gvfs/mounts"
+
+  install -m755 .libs/gvfsd-smb{,-browse} "$pkgdir/usr/lib/gvfs/"
+  install -m644 smb{,-browse}.mount "$pkgdir/usr/share/gvfs/mounts/"
+
+  install -Dm644 org.gnome.system.smb.gschema.xml \
+    "$pkgdir/usr/share/glib-2.0/schemas/org.gnome.system.smb.gschema.xml"
+  install -Dm644 gvfs-smb.convert \
+    "$pkgdir/usr/share/GConf/gsettings/gvfs-smb.convert"
+}
+
+package_gvfs-afc() {
+  pkgdesc+=" (AFC backend; Apple mobile devices)"
+  depends=("gvfs=$pkgver" libimobiledevice usbmuxd)
+
+  cd $pkgbase/daemon
+  install -D .libs/gvfsd-afc "$pkgdir/usr/lib/gvfs/gvfsd-afc"
+  install -Dm644 afc.mount "$pkgdir/usr/share/gvfs/mounts/afc.mount"
+
+  cd "$srcdir/$pkgbase/monitor/afc"
+  make DESTDIR="$pkgdir" install
+}
+
+package_gvfs-gphoto2() {
+  pkgdesc+=" (gphoto2 backend; PTP camera, MTP media player)"
+  depends=("gvfs=$pkgver" libgphoto2)
+
+  cd $pkgbase/daemon
+  install -D .libs/gvfsd-gphoto2 "$pkgdir/usr/lib/gvfs/gvfsd-gphoto2"
+  install -Dm644 gphoto2.mount "$pkgdir/usr/share/gvfs/mounts/gphoto2.mount"
+
+  cd "$srcdir/$pkgbase/monitor/gphoto2"
+  make DESTDIR="$pkgdir" install
+}
+
+package_gvfs-mtp() {
+  pkgdesc+=" (MTP backend; Android, media player)"
+  depends=("gvfs=$pkgver" libmtp)
+
+  cd $pkgbase/daemon
+  install -D .libs/gvfsd-mtp "$pkgdir/usr/lib/gvfs/gvfsd-mtp"
+  install -Dm644 mtp.mount "$pkgdir/usr/share/gvfs/mounts/mtp.mount"
+
+  cd "$srcdir/$pkgbase/monitor/mtp"
+  make DESTDIR="$pkgdir" install
+}
+
+package_gvfs-goa() {
+  pkgdesc+=" (Gnome Online Accounts backend; cloud storage)"
+  depends=("gvfs=$pkgver" gnome-online-accounts)
+
+  cd "$srcdir/$pkgbase/monitor/goa"
+  make DESTDIR="$pkgdir" install
+}
+
+package_gvfs-nfs() {
+  pkgdesc+=" (NFS backend)"
+  depends=("gvfs=$pkgver" libnfs)
+  install=gvfs-nfs.install
+
+  cd $pkgbase/daemon
+  install -D .libs/gvfsd-nfs "$pkgdir/usr/lib/gvfs/gvfsd-nfs"
+  install -Dm644 nfs.mount "$pkgdir/usr/share/gvfs/mounts/nfs.mount"
+}
+
+package_gvfs-google() {
+  pkgdesc+=" (Google Drive backend)"
+  depends=("gvfs-goa=$pkgver" libgdata)
+
+  cd $pkgbase/daemon
+  install -D .libs/gvfsd-google "$pkgdir/usr/lib/gvfs/gvfsd-google"
+  install -Dm644 google.mount "$pkgdir/usr/share/gvfs/mounts/google.mount"
+}

Copied: gvfs/repos/staging-i686/gvfs-nfs.install (from rev 291691, 
gvfs/trunk/gvfs-nfs.install)
===================================================================
--- staging-i686/gvfs-nfs.install                               (rev 0)
+++ staging-i686/gvfs-nfs.install       2017-03-26 20:57:11 UTC (rev 291692)
@@ -0,0 +1,7 @@
+post_install() {
+  setcap 'cap_net_bind_service=+ep' usr/lib/gvfs/gvfsd-nfs
+}
+
+post_upgrade() {
+  post_install
+}

Copied: gvfs/repos/staging-i686/gvfsd.hook (from rev 291691, 
gvfs/trunk/gvfsd.hook)
===================================================================
--- staging-i686/gvfsd.hook                             (rev 0)
+++ staging-i686/gvfsd.hook     2017-03-26 20:57:11 UTC (rev 291692)
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/share/gvfs/*
+
+[Action]
+Description = Reloading GVFS config...
+When = PostTransaction
+Exec = /bin/sh -c 'killall -q -s USR1 gvfsd || true'

Copied: gvfs/repos/staging-x86_64/PKGBUILD (from rev 291691, 
gvfs/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2017-03-26 20:57:11 UTC (rev 291692)
@@ -0,0 +1,150 @@
+# $Id$
+# Maintainer: Jan de Groot <j...@archlinux.org>
+
+pkgbase=gvfs
+pkgname=(gvfs gvfs-{smb,afc,gphoto2,goa,mtp,nfs,google})
+pkgver=1.30.3+4+gd79b4650
+pkgrel=1
+pkgdesc="Virtual filesystem implementation for GIO"
+url="https://wiki.gnome.org/Projects/gvfs";
+arch=(i686 x86_64)
+license=(LGPL)
+depends=(avahi dconf fuse libarchive libcdio-paranoia libsoup udisks2 libsecret
+         libbluray libgudev gcr psmisc)
+makedepends=(dbus intltool libgphoto2 libimobiledevice smbclient docbook-xsl
+             gtk3 libmtp gnome-online-accounts libnfs libgdata git gtk-doc 
python)
+groups=(gnome)
+_commit=d79b46508bd3a34edb1deaadc4142c22d97de913  # gnome-3-22
+source=("git+https://git.gnome.org/browse/gvfs#commit=$_commit";
+        gvfsd.hook)
+sha256sums=('SKIP'
+            '478b9cf7b4c242959fc640dbf0cd4935f16c59b81f5828a3af102d608d7a9d72')
+
+prepare() {
+  cd $pkgbase
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+pkgver() {
+  cd $pkgbase
+  git describe --tags | sed 's/-/+/g'
+}
+
+build() {
+  cd $pkgbase
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-static \
+      --libexecdir=/usr/lib/gvfs \
+      --with-bash-completion-dir=/usr/share/bash-completion/completions
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package_gvfs() {
+  replaces=(gvfs-{obexftp,afp})
+  optdepends=('gvfs-afc: AFC (mobile devices) support'
+              'gvfs-smb: SMB/CIFS (Windows client) support'
+              'gvfs-gphoto2: gphoto2 (PTP camera/MTP media player) support'
+              'gvfs-mtp: MTP device support'
+              'gvfs-goa: gnome-online-accounts (e.g. OwnCloud) support'
+              'gvfs-nfs: NFS support'
+              'gvfs-google: Google Drive support'
+              'gtk3: Recent files support')
+
+  cd $pkgbase
+  sed -e 's/^am__append_4/#am__append_4/' \
+      -e 's/^am__append_5/#am__append_5/' \
+      -e 's/^am__append_6/#am__append_6/' \
+      -e 's/^am__append_7/#am__append_7/' \
+      -i monitor/Makefile
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 ../gvfsd.hook "$pkgdir/usr/share/libalpm/hooks/gvfsd.hook"
+  install -d -o root -g 102 -m 750 "$pkgdir/usr/share/polkit-1/rules.d"
+
+  cd "$pkgdir"
+  rm usr/lib/gvfs/gvfsd-{smb,smb-browse,afc,gphoto2,mtp,nfs,google}
+  rm usr/share/gvfs/mounts/{smb,smb-browse,afc,gphoto2,mtp,nfs,google}.mount
+  rm usr/share/glib-2.0/schemas/org.gnome.system.smb.gschema.xml
+  rm usr/share/GConf/gsettings/gvfs-smb.convert
+}
+
+package_gvfs-smb() {
+  pkgdesc+=" (SMB/CIFS backend; Windows client)"
+  depends=("gvfs=$pkgver" smbclient)
+
+  cd $pkgbase/daemon
+  install -m755 -d "$pkgdir/usr/lib/gvfs"
+  install -m755 -d "$pkgdir/usr/share/gvfs/mounts"
+
+  install -m755 .libs/gvfsd-smb{,-browse} "$pkgdir/usr/lib/gvfs/"
+  install -m644 smb{,-browse}.mount "$pkgdir/usr/share/gvfs/mounts/"
+
+  install -Dm644 org.gnome.system.smb.gschema.xml \
+    "$pkgdir/usr/share/glib-2.0/schemas/org.gnome.system.smb.gschema.xml"
+  install -Dm644 gvfs-smb.convert \
+    "$pkgdir/usr/share/GConf/gsettings/gvfs-smb.convert"
+}
+
+package_gvfs-afc() {
+  pkgdesc+=" (AFC backend; Apple mobile devices)"
+  depends=("gvfs=$pkgver" libimobiledevice usbmuxd)
+
+  cd $pkgbase/daemon
+  install -D .libs/gvfsd-afc "$pkgdir/usr/lib/gvfs/gvfsd-afc"
+  install -Dm644 afc.mount "$pkgdir/usr/share/gvfs/mounts/afc.mount"
+
+  cd "$srcdir/$pkgbase/monitor/afc"
+  make DESTDIR="$pkgdir" install
+}
+
+package_gvfs-gphoto2() {
+  pkgdesc+=" (gphoto2 backend; PTP camera, MTP media player)"
+  depends=("gvfs=$pkgver" libgphoto2)
+
+  cd $pkgbase/daemon
+  install -D .libs/gvfsd-gphoto2 "$pkgdir/usr/lib/gvfs/gvfsd-gphoto2"
+  install -Dm644 gphoto2.mount "$pkgdir/usr/share/gvfs/mounts/gphoto2.mount"
+
+  cd "$srcdir/$pkgbase/monitor/gphoto2"
+  make DESTDIR="$pkgdir" install
+}
+
+package_gvfs-mtp() {
+  pkgdesc+=" (MTP backend; Android, media player)"
+  depends=("gvfs=$pkgver" libmtp)
+
+  cd $pkgbase/daemon
+  install -D .libs/gvfsd-mtp "$pkgdir/usr/lib/gvfs/gvfsd-mtp"
+  install -Dm644 mtp.mount "$pkgdir/usr/share/gvfs/mounts/mtp.mount"
+
+  cd "$srcdir/$pkgbase/monitor/mtp"
+  make DESTDIR="$pkgdir" install
+}
+
+package_gvfs-goa() {
+  pkgdesc+=" (Gnome Online Accounts backend; cloud storage)"
+  depends=("gvfs=$pkgver" gnome-online-accounts)
+
+  cd "$srcdir/$pkgbase/monitor/goa"
+  make DESTDIR="$pkgdir" install
+}
+
+package_gvfs-nfs() {
+  pkgdesc+=" (NFS backend)"
+  depends=("gvfs=$pkgver" libnfs)
+  install=gvfs-nfs.install
+
+  cd $pkgbase/daemon
+  install -D .libs/gvfsd-nfs "$pkgdir/usr/lib/gvfs/gvfsd-nfs"
+  install -Dm644 nfs.mount "$pkgdir/usr/share/gvfs/mounts/nfs.mount"
+}
+
+package_gvfs-google() {
+  pkgdesc+=" (Google Drive backend)"
+  depends=("gvfs-goa=$pkgver" libgdata)
+
+  cd $pkgbase/daemon
+  install -D .libs/gvfsd-google "$pkgdir/usr/lib/gvfs/gvfsd-google"
+  install -Dm644 google.mount "$pkgdir/usr/share/gvfs/mounts/google.mount"
+}

Copied: gvfs/repos/staging-x86_64/gvfs-nfs.install (from rev 291691, 
gvfs/trunk/gvfs-nfs.install)
===================================================================
--- staging-x86_64/gvfs-nfs.install                             (rev 0)
+++ staging-x86_64/gvfs-nfs.install     2017-03-26 20:57:11 UTC (rev 291692)
@@ -0,0 +1,7 @@
+post_install() {
+  setcap 'cap_net_bind_service=+ep' usr/lib/gvfs/gvfsd-nfs
+}
+
+post_upgrade() {
+  post_install
+}

Copied: gvfs/repos/staging-x86_64/gvfsd.hook (from rev 291691, 
gvfs/trunk/gvfsd.hook)
===================================================================
--- staging-x86_64/gvfsd.hook                           (rev 0)
+++ staging-x86_64/gvfsd.hook   2017-03-26 20:57:11 UTC (rev 291692)
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/share/gvfs/*
+
+[Action]
+Description = Reloading GVFS config...
+When = PostTransaction
+Exec = /bin/sh -c 'killall -q -s USR1 gvfsd || true'

Reply via email to