Browse Source

git subrepo clone gitea@gitea.artixlinux.org:packagesG/gvfs.git

subrepo:
  subdir:   "gvfs"
  merged:   "564f176"
upstream:
  origin:   "gitea@gitea.artixlinux.org:packagesG/gvfs.git"
  branch:   "master"
  commit:   "564f176"
git-subrepo:
  version:  "0.4.0"
  origin:   "???"
  commit:   "???"
master
artoo 2 years ago
parent
commit
ec62a6c63f
Signed by: artoo GPG Key ID: 3292CD0BB0DB310B
  1. 5
      gvfs/.artixlinux/agent.yaml
  2. 33
      gvfs/.gitignore
  3. 12
      gvfs/.gitrepo
  4. 3
      gvfs/Jenkinsfile
  5. 2
      gvfs/README.md
  6. 161
      gvfs/repos/extra-x86_64/PKGBUILD
  7. 7
      gvfs/repos/extra-x86_64/gvfs-nfs.install
  8. 11
      gvfs/repos/extra-x86_64/gvfsd.hook
  9. 161
      gvfs/trunk/PKGBUILD
  10. 7
      gvfs/trunk/gvfs-nfs.install
  11. 11
      gvfs/trunk/gvfsd.hook

5
gvfs/.artixlinux/agent.yaml

@ -0,0 +1,5 @@
%YAML 1.2
---
label: master

33
gvfs/.gitignore

@ -0,0 +1,33 @@
# ---> ArchLinuxPackages
*.tar
*.tar.*
*.jar
*.exe
*.msi
*.zip
*.tgz
*.log
*.log.*
*.sig
pkg/
src/
# ---> Archives
*.7z
*.rar
*.gz
*.bzip
*.bz2
*.xz
*.lzma
*.cab
# ---> systemd
*.service
*.socket
*.timer
# ---> snap
*.snap

12
gvfs/.gitrepo

@ -0,0 +1,12 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = gitea@gitea.artixlinux.org:packagesG/gvfs.git
branch = master
commit = 564f17664c388e2c7f9254b3f9b5fca7b4b2be21
parent = 8a08e55069983a7dea9b498714222b787a8fc2eb
method = merge
cmdver = 0.4.0

3
gvfs/Jenkinsfile

@ -0,0 +1,3 @@
@Library('artix-ci') import org.artixlinux.RepoPackage
PackagePipeline(new RepoPackage(this))

2
gvfs/README.md

@ -0,0 +1,2 @@
# gvfs

161
gvfs/repos/extra-x86_64/PKGBUILD

@ -0,0 +1,161 @@
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgbase=gvfs
pkgname=(gvfs gvfs-{smb,afc,gphoto2,goa,mtp,nfs,google})
pkgver=1.40.2
pkgrel=1
pkgdesc="Virtual filesystem implementation for GIO"
url="https://wiki.gnome.org/Projects/gvfs"
arch=(x86_64)
license=(LGPL)
depends=(avahi dconf fuse libarchive libcdio-paranoia libsoup udisks2 libsecret
libbluray libgudev gcr psmisc)
makedepends=(dbus libgphoto2 libimobiledevice smbclient docbook-xsl gtk3 libmtp
gnome-online-accounts libnfs libgdata git gtk-doc python meson openssh)
groups=(gnome)
_commit=b7dc2daf2af667f1816ecdb8561c5a21beca85a8 # tags/1.40.2^0
source=("git+https://gitlab.gnome.org/GNOME/gvfs.git#commit=$_commit"
gvfsd.hook)
sha256sums=('SKIP'
'478b9cf7b4c242959fc640dbf0cd4935f16c59b81f5828a3af102d608d7a9d72')
prepare() {
cd $pkgbase
}
pkgver() {
cd $pkgbase
git describe --tags | sed 's/-/+/g'
}
build() {
arch-meson $pkgbase build -D man=true \
-D logind=true -D systemduserunitdir=no \
-D tmpfilesdir=/usr/lib/tmpfiles.d
ninja -C build
}
check() {
meson test -C build
}
_split() {
local name="$1" src dest
shift
for src do
echo "$name: /usr/$src"
dest="$srcdir/$name/$src"
mkdir -p "${dest%/*}"
mv -T "$src" "$dest"
done
}
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')
options=(!emptydirs)
DESTDIR="$pkgdir" meson install -C build
install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
install -d -o root -g 102 -m 750 "$pkgdir/usr/share/polkit-1/rules.d"
cd "$pkgdir/usr"
_split smb \
lib/gvfsd-smb{,-browse} \
share/GConf/gsettings/gvfs-smb.convert \
share/glib-2.0/schemas/org.gnome.system.smb.gschema.xml \
share/gvfs/mounts/smb{,-browse}.mount
_split afc \
lib/gvfs{-afc-volume-monitor,d-afc} \
share/dbus-1/services/org.gtk.vfs.AfcVolumeMonitor.service \
share/gvfs/mounts/afc.mount \
share/gvfs/remote-volume-monitors/afc.monitor
_split gphoto2 \
lib/gvfs{-gphoto2-volume-monitor,d-gphoto2} \
share/dbus-1/services/org.gtk.vfs.GPhoto2VolumeMonitor.service \
share/gvfs/mounts/gphoto2.mount \
share/gvfs/remote-volume-monitors/gphoto2.monitor
_split mtp \
lib/gvfs{-mtp-volume-monitor,d-mtp} \
share/dbus-1/services/org.gtk.vfs.MTPVolumeMonitor.service \
share/gvfs/mounts/mtp.mount \
share/gvfs/remote-volume-monitors/mtp.monitor
_split goa \
lib/gvfs-goa-volume-monitor \
share/dbus-1/services/org.gtk.vfs.GoaVolumeMonitor.service \
share/gvfs/remote-volume-monitors/goa.monitor
_split nfs \
lib/gvfsd-nfs \
share/gvfs/mounts/nfs.mount
_split google \
lib/gvfsd-google \
share/gvfs/mounts/google.mount
}
package_gvfs-smb() {
pkgdesc+=" (SMB/CIFS backend; Windows client)"
depends=("gvfs=$pkgver" smbclient)
mv "$srcdir/smb" "$pkgdir/usr"
}
package_gvfs-afc() {
pkgdesc+=" (AFC backend; Apple mobile devices)"
depends=("gvfs=$pkgver" libimobiledevice usbmuxd)
mv "$srcdir/afc" "$pkgdir/usr"
}
package_gvfs-gphoto2() {
pkgdesc+=" (gphoto2 backend; PTP camera, MTP media player)"
depends=("gvfs=$pkgver" libgphoto2)
mv "$srcdir/gphoto2" "$pkgdir/usr"
}
package_gvfs-mtp() {
pkgdesc+=" (MTP backend; Android, media player)"
depends=("gvfs=$pkgver" libmtp)
mv "$srcdir/mtp" "$pkgdir/usr"
}
package_gvfs-goa() {
pkgdesc+=" (Gnome Online Accounts backend; cloud storage)"
depends=("gvfs=$pkgver" gnome-online-accounts)
mv "$srcdir/goa" "$pkgdir/usr"
}
package_gvfs-nfs() {
pkgdesc+=" (NFS backend)"
depends=("gvfs=$pkgver" libnfs)
install=gvfs-nfs.install
mv "$srcdir/nfs" "$pkgdir/usr"
}
package_gvfs-google() {
pkgdesc+=" (Google Drive backend)"
depends=("gvfs-goa=$pkgver" libgdata)
mv "$srcdir/google" "$pkgdir/usr"
}
# vim:set sw=2 et:

7
gvfs/repos/extra-x86_64/gvfs-nfs.install

@ -0,0 +1,7 @@
post_install() {
setcap 'cap_net_bind_service=+ep' usr/lib/gvfsd-nfs
}
post_upgrade() {
post_install
}

11
gvfs/repos/extra-x86_64/gvfsd.hook

@ -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'

161
gvfs/trunk/PKGBUILD

@ -0,0 +1,161 @@
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgbase=gvfs
pkgname=(gvfs gvfs-{smb,afc,gphoto2,goa,mtp,nfs,google})
pkgver=1.40.2
pkgrel=1
pkgdesc="Virtual filesystem implementation for GIO"
url="https://wiki.gnome.org/Projects/gvfs"
arch=(x86_64)
license=(LGPL)
depends=(avahi dconf fuse libarchive libcdio-paranoia libsoup udisks2 libsecret
libbluray libgudev gcr psmisc)
makedepends=(dbus libgphoto2 libimobiledevice smbclient docbook-xsl gtk3 libmtp
gnome-online-accounts libnfs libgdata git gtk-doc python meson openssh)
groups=(gnome)
_commit=b7dc2daf2af667f1816ecdb8561c5a21beca85a8 # tags/1.40.2^0
source=("git+https://gitlab.gnome.org/GNOME/gvfs.git#commit=$_commit"
gvfsd.hook)
sha256sums=('SKIP'
'478b9cf7b4c242959fc640dbf0cd4935f16c59b81f5828a3af102d608d7a9d72')
prepare() {
cd $pkgbase
}
pkgver() {
cd $pkgbase
git describe --tags | sed 's/-/+/g'
}
build() {
arch-meson $pkgbase build -D man=true \
-D logind=true -D systemduserunitdir=no \
-D tmpfilesdir=/usr/lib/tmpfiles.d
ninja -C build
}
check() {
meson test -C build
}
_split() {
local name="$1" src dest
shift
for src do
echo "$name: /usr/$src"
dest="$srcdir/$name/$src"
mkdir -p "${dest%/*}"
mv -T "$src" "$dest"
done
}
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')
options=(!emptydirs)
DESTDIR="$pkgdir" meson install -C build
install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
install -d -o root -g 102 -m 750 "$pkgdir/usr/share/polkit-1/rules.d"
cd "$pkgdir/usr"
_split smb \
lib/gvfsd-smb{,-browse} \
share/GConf/gsettings/gvfs-smb.convert \
share/glib-2.0/schemas/org.gnome.system.smb.gschema.xml \
share/gvfs/mounts/smb{,-browse}.mount
_split afc \
lib/gvfs{-afc-volume-monitor,d-afc} \
share/dbus-1/services/org.gtk.vfs.AfcVolumeMonitor.service \
share/gvfs/mounts/afc.mount \
share/gvfs/remote-volume-monitors/afc.monitor
_split gphoto2 \
lib/gvfs{-gphoto2-volume-monitor,d-gphoto2} \
share/dbus-1/services/org.gtk.vfs.GPhoto2VolumeMonitor.service \
share/gvfs/mounts/gphoto2.mount \
share/gvfs/remote-volume-monitors/gphoto2.monitor
_split mtp \
lib/gvfs{-mtp-volume-monitor,d-mtp} \
share/dbus-1/services/org.gtk.vfs.MTPVolumeMonitor.service \
share/gvfs/mounts/mtp.mount \
share/gvfs/remote-volume-monitors/mtp.monitor
_split goa \
lib/gvfs-goa-volume-monitor \
share/dbus-1/services/org.gtk.vfs.GoaVolumeMonitor.service \
share/gvfs/remote-volume-monitors/goa.monitor
_split nfs \
lib/gvfsd-nfs \
share/gvfs/mounts/nfs.mount
_split google \
lib/gvfsd-google \
share/gvfs/mounts/google.mount
}
package_gvfs-smb() {
pkgdesc+=" (SMB/CIFS backend; Windows client)"
depends=("gvfs=$pkgver" smbclient)
mv "$srcdir/smb" "$pkgdir/usr"
}
package_gvfs-afc() {
pkgdesc+=" (AFC backend; Apple mobile devices)"
depends=("gvfs=$pkgver" libimobiledevice usbmuxd)
mv "$srcdir/afc" "$pkgdir/usr"
}
package_gvfs-gphoto2() {
pkgdesc+=" (gphoto2 backend; PTP camera, MTP media player)"
depends=("gvfs=$pkgver" libgphoto2)
mv "$srcdir/gphoto2" "$pkgdir/usr"
}
package_gvfs-mtp() {
pkgdesc+=" (MTP backend; Android, media player)"
depends=("gvfs=$pkgver" libmtp)
mv "$srcdir/mtp" "$pkgdir/usr"
}
package_gvfs-goa() {
pkgdesc+=" (Gnome Online Accounts backend; cloud storage)"
depends=("gvfs=$pkgver" gnome-online-accounts)
mv "$srcdir/goa" "$pkgdir/usr"
}
package_gvfs-nfs() {
pkgdesc+=" (NFS backend)"
depends=("gvfs=$pkgver" libnfs)
install=gvfs-nfs.install
mv "$srcdir/nfs" "$pkgdir/usr"
}
package_gvfs-google() {
pkgdesc+=" (Google Drive backend)"
depends=("gvfs-goa=$pkgver" libgdata)
mv "$srcdir/google" "$pkgdir/usr"
}
# vim:set sw=2 et:

7
gvfs/trunk/gvfs-nfs.install

@ -0,0 +1,7 @@
post_install() {
setcap 'cap_net_bind_service=+ep' usr/lib/gvfsd-nfs
}
post_upgrade() {
post_install
}

11
gvfs/trunk/gvfsd.hook

@ -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'
Loading…
Cancel
Save