Hello community,

here is the log from the commit of package gvfs for openSUSE:Factory checked in 
at 2019-10-30 14:38:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gvfs (Old)
 and      /work/SRC/openSUSE:Factory/.gvfs.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gvfs"

Wed Oct 30 14:38:44 2019 rev:161 rq:742519 version:1.42.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/gvfs/gvfs.changes        2019-10-17 
13:06:43.988167609 +0200
+++ /work/SRC/openSUSE:Factory/.gvfs.new.2990/gvfs.changes      2019-10-30 
14:38:45.549603934 +0100
@@ -1,0 +2,9 @@
+Mon Oct 21 07:45:59 UTC 2019 - QK ZHU <qk...@suse.com>
+
+- Rebase SLE patches gvfs-nds.patch and gvfs-nvvfs.patch for version
+  1.42.1:
+  + Add daemon/nds.mount.in.
+  + Add daemon/nvvfs.mount.in.
+  + meson porting fixes.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gvfs-nds.patch ++++++
--- /var/tmp/diff_new_pack.72Hso6/_old  2019-10-30 14:38:46.125604547 +0100
+++ /var/tmp/diff_new_pack.72Hso6/_new  2019-10-30 14:38:46.125604547 +0100
@@ -1,7 +1,8 @@
-Index: gvfs-1.42.1/daemon/gvfsbackendnds.c
-===================================================================
+diff --git a/daemon/gvfsbackendnds.c b/daemon/gvfsbackendnds.c
+new file mode 100644
+index 0000000..960d457
 --- /dev/null
-+++ gvfs-1.42.1/daemon/gvfsbackendnds.c
++++ b/daemon/gvfsbackendnds.c
 @@ -0,0 +1,747 @@
 +/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode; nil; -*- */
 +/* GIO - GLib Input, Output and Streaming Library
@@ -750,11 +751,11 @@
 +{
 +  g_set_application_name (_("Displaying Embedded Objects"));
 +}
-
-Index: gvfs-1.42.1/daemon/gvfsbackendnds.h
-===================================================================
+diff --git a/daemon/gvfsbackendnds.h b/daemon/gvfsbackendnds.h
+new file mode 100644
+index 0000000..0b48ad6
 --- /dev/null
-+++ gvfs-1.42.1/daemon/gvfsbackendnds.h
++++ b/daemon/gvfsbackendnds.h
 @@ -0,0 +1,53 @@
 +/* GIO - GLib Input, Output and Streaming Library
 + *
@@ -809,42 +810,10 @@
 +G_END_DECLS
 +
 +#endif /* __G_VFS_BACKEND_NDS_H__ */
-
-Index: gvfs-1.42.1/meson_options.txt
-===================================================================
---- gvfs-1.42.1.orig/meson_options.txt
-+++ gvfs-1.42.1/meson_options.txt
-@@ -12,6 +12,7 @@ option('google', type: 'boolean', value:
- option('gphoto2', type: 'boolean', value: true, description: 'build with 
gphoto2 backend and volume monitor')
- option('http', type: 'boolean', value: true, description: 'build with 
http/dav backends')
- option('mtp', type: 'boolean', value: true, description: 'build with mtp 
backend and volume monitor')
-+option('nds', type: 'boolean', value: true, description: 'build with nds 
backend')
- option('nfs', type: 'boolean', value: true, description: 'build with nfs 
backend')
- option('sftp', type: 'boolean', value: true, description: 'build with sftp 
backend')
- option('smb', type: 'boolean', value: true, description: 'build with smb 
backends')
-
-Index: gvfs-1.42.1/meson.build
-===================================================================
---- gvfs-1.42.1.orig/meson.build
-+++ gvfs-1.42.1/meson.build
-@@ -449,6 +449,12 @@ config_h.set('HAVE_LIBMTP', enable_mtp)
- # *** AFP backend ***
- enable_afp = get_option('afp')
- 
-+# *** NDS backend ***
-+enable_nds = get_option('nds')
-+if enable_nds
-+  libdl_dep = cc.find_library('dl')
-+endif
-+
- # *** NFS backend ***
- enable_nfs = get_option('nfs')
- if enable_nfs
-
-Index: gvfs-1.42.1/daemon/meson.build
-===================================================================
---- gvfs-1.42.1.orig/daemon/meson.build
-+++ gvfs-1.42.1/daemon/meson.build
+diff --git a/daemon/meson.build b/daemon/meson.build
+index dffeef3..dabdcb2 100644
+--- a/daemon/meson.build
++++ b/daemon/meson.build
 @@ -530,6 +530,22 @@ if enable_afp
    mounts += ['afp-browse']
  endif
@@ -857,14 +826,62 @@
 +  cflags = [
 +      '-DBACKEND_HEADER=gvfsbackendnds.h',
 +      '-DDEFAULT_BACKEND_TYPE=nds',
-+      '-DBACKEND_TYPES="nds", G_VFS_TYPE_BACKEND_NDS',
-+      '-DMAX_JOB_THREADS=1'
++      '-DBACKEND_TYPES="nds", G_VFS_TYPE_BACKEND_NDS,',
++      '-DMAX_JOB_THREADS=1',
 +  ]
 +
-+  programs += [['gvfsd-nds', sources, deps, cflags]]
++  programs += [['gvfsd-nds', {'sources': sources, 'dependencies': deps, 
'c_args': cflags}]]
 +  mounts += ['nds']
 +endif
 +
  if enable_nfs
    cflags = [
      '-DBACKEND_HEADER=gvfsbackendnfs.h',
+diff --git a/daemon/nds.mount.in b/daemon/nds.mount.in
+new file mode 100644
+index 0000000..1068344
+--- /dev/null
++++ b/daemon/nds.mount.in
+@@ -0,0 +1,5 @@
++[Mount]
++Type=nds
++Exec=@libexecdir@/gvfsd-nds
++AutoMount=false
++Scheme=nds
+diff --git a/meson.build b/meson.build
+index 080637b..6525b79 100644
+--- a/meson.build
++++ b/meson.build
+@@ -449,6 +449,12 @@ config_h.set('HAVE_LIBMTP', enable_mtp)
+ # *** AFP backend ***
+ enable_afp = get_option('afp')
+ 
++# *** NDS backend ***
++enable_nds = get_option('nds')
++if enable_nds
++  libdl_dep = cc.find_library('dl')
++endif
++
+ # *** NFS backend ***
+ enable_nfs = get_option('nfs')
+ if enable_nfs
+@@ -507,6 +513,7 @@ output += '  google: ' + enable_google.to_string() + '\n'
+ output += '  gphoto2: ' + enable_gphoto2.to_string() + '\n'
+ output += '  http: ' + enable_http.to_string() + '\n'
+ output += '  mtp: ' + enable_mtp.to_string() + '\n'
++output += '  nds: ' + enable_nds.to_string() + '\n'
+ output += '  nfs: ' + enable_nfs.to_string() + '\n'
+ output += '  sftp: ' + enable_sftp.to_string() + '\n'
+ output += '  smb: ' + enable_samba.to_string() + '\n'
+diff --git a/meson_options.txt b/meson_options.txt
+index 32f10d4..dced004 100644
+--- a/meson_options.txt
++++ b/meson_options.txt
+@@ -12,6 +12,7 @@ option('google', type: 'boolean', value: true, description: 
'build with google b
+ option('gphoto2', type: 'boolean', value: true, description: 'build with 
gphoto2 backend and volume monitor')
+ option('http', type: 'boolean', value: true, description: 'build with 
http/dav backends')
+ option('mtp', type: 'boolean', value: true, description: 'build with mtp 
backend and volume monitor')
++option('nds', type: 'boolean', value: true, description: 'build with nds 
backend')
+ option('nfs', type: 'boolean', value: true, description: 'build with nfs 
backend')
+ option('sftp', type: 'boolean', value: true, description: 'build with sftp 
backend')
+ option('smb', type: 'boolean', value: true, description: 'build with smb 
backends')

++++++ gvfs-nvvfs.patch ++++++
--- /var/tmp/diff_new_pack.72Hso6/_old  2019-10-30 14:38:46.133604556 +0100
+++ /var/tmp/diff_new_pack.72Hso6/_new  2019-10-30 14:38:46.133604556 +0100
@@ -1,7 +1,8 @@
-Index: gvfs-1.42.1/daemon/gvfsbackendnvvfs.c
-===================================================================
+diff --git a/daemon/gvfsbackendnvvfs.c b/daemon/gvfsbackendnvvfs.c
+new file mode 100644
+index 0000000..2e5abdc
 --- /dev/null
-+++ gvfs-1.42.1/daemon/gvfsbackendnvvfs.c
++++ b/daemon/gvfsbackendnvvfs.c
 @@ -0,0 +1,591 @@
 +/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 +/* GIO - GLib Input, Output and Streaming Library
@@ -594,11 +595,11 @@
 +  backend_class->try_query_info = try_query_info;
 +  backend_class->try_enumerate = try_enumerate;
 +}
-
-Index: gvfs-1.42.1/daemon/gvfsbackendnvvfs.h
-===================================================================
+diff --git a/daemon/gvfsbackendnvvfs.h b/daemon/gvfsbackendnvvfs.h
+new file mode 100644
+index 0000000..eebf062
 --- /dev/null
-+++ gvfs-1.42.1/daemon/gvfsbackendnvvfs.h
++++ b/daemon/gvfsbackendnvvfs.h
 @@ -0,0 +1,50 @@
 +/* GIO - GLib Input, Output and Streaming Library
 + *
@@ -650,59 +651,73 @@
 +G_END_DECLS
 +
 +#endif /* __G_VFS_BACKEND_NVVFS_H__ */
-
-Index: gvfs-1.42.1/meson_options.txt
-===================================================================
---- gvfs-1.42.1.orig/meson_options.txt
-+++ gvfs-1.42.1/meson_options.txt
-@@ -14,6 +14,7 @@ option('http', type: 'boolean', value: t
- option('mtp', type: 'boolean', value: true, description: 'build with mtp 
backend and volume monitor')
- option('nds', type: 'boolean', value: true, description: 'build with nds 
backend')
- option('nfs', type: 'boolean', value: true, description: 'build with nfs 
backend')
-+option('nvvfs', type: 'boolean', value: true, description: 'build with nvvfs 
backend')
- option('sftp', type: 'boolean', value: true, description: 'build with sftp 
backend')
- option('smb', type: 'boolean', value: true, description: 'build with smb 
backends')
- option('udisks2', type: 'boolean', value: true, description: 'build with 
udisks2 volume monitor')
-
-Index: gvfs-1.42.1/meson.build
-===================================================================
---- gvfs-1.42.1.orig/meson.build
-+++ gvfs-1.42.1/meson.build
-@@ -461,6 +461,9 @@ if enable_nfs
-   libnfs_dep = dependency('libnfs', version: '>= 1.9.8')
- endif
- 
-+# *** NVVFS backend ***
-+enable_nvvfs = get_option('nvvfs')
-+
- # *** SFTP backend ***
- enable_sftp = get_option('sftp')
- if enable_sftp
-
-Index: gvfs-1.42.1/daemon/meson.build
-===================================================================
---- gvfs-1.42.1.orig/daemon/meson.build
-+++ gvfs-1.42.1/daemon/meson.build
-@@ -558,6 +558,22 @@ if enable_nfs
+diff --git a/daemon/meson.build b/daemon/meson.build
+index dabdcb2..81e219a 100644
+--- a/daemon/meson.build
++++ b/daemon/meson.build
+@@ -558,6 +558,20 @@ if enable_nfs
    mounts += ['nfs']
  endif
  
 +if enable_nvvfs
 +  sources = daemon_main_sources + files('gvfsbackendnvvfs.c')
 +
-+  deps = []
-+
 +  cflags = [
 +      '-DBACKEND_HEADER=gvfsbackendnvvfs.h',
 +      '-DDEFAULT_BACKEND_TYPE=nvvfs',
-+      '-DBACKEND_TYPES="nvvfs", G_VFS_TYPE_BACKEND_NVVFS',
-+      '-DMA_JOB_THREADS=1'
++      '-DBACKEND_TYPES="nvvfs", G_VFS_TYPE_BACKEND_NVVFS,',
++      '-DMA_JOB_THREADS=1',
 +  ]
 +
-+  programs += [['gvfsd-nvvfs', sources, deps, cflags]]
++  programs += [['gvfsd-nvvfs', {'sources': sources, 'dependencies': 
[gio_unix_dep], 'c_args': cflags}]]
 +  mounts += ['nvvfs']
 +endif
 +
  foreach program: programs
    options = program[1]
    kwargs = {
+diff --git a/daemon/nvvfs.mount.in b/daemon/nvvfs.mount.in
+new file mode 100644
+index 0000000..c5d6f8e
+--- /dev/null
++++ b/daemon/nvvfs.mount.in
+@@ -0,0 +1,5 @@
++[Mount]
++Type=nvvfs
++Exec=@libexecdir@/gvfsd-nvvfs
++AutoMount=false
++Scheme=nvvfs
+diff --git a/meson.build b/meson.build
+index 6525b79..016d4c7 100644
+--- a/meson.build
++++ b/meson.build
+@@ -461,6 +461,9 @@ if enable_nfs
+   libnfs_dep = dependency('libnfs', version: '>= 1.9.8')
+ endif
+ 
++# *** NVVFS backend ***
++enable_nvvfs = get_option('nvvfs')
++
+ # *** SFTP backend ***
+ enable_sftp = get_option('sftp')
+ if enable_sftp
+@@ -514,6 +517,7 @@ output += '  gphoto2: ' + enable_gphoto2.to_string() + '\n'
+ output += '  http: ' + enable_http.to_string() + '\n'
+ output += '  mtp: ' + enable_mtp.to_string() + '\n'
+ output += '  nds: ' + enable_nds.to_string() + '\n'
++output += '  nvvfs: ' + enable_nvvfs.to_string() + '\n'
+ output += '  nfs: ' + enable_nfs.to_string() + '\n'
+ output += '  sftp: ' + enable_sftp.to_string() + '\n'
+ output += '  smb: ' + enable_samba.to_string() + '\n'
+diff --git a/meson_options.txt b/meson_options.txt
+index dced004..e7a9398 100644
+--- a/meson_options.txt
++++ b/meson_options.txt
+@@ -14,6 +14,7 @@ option('http', type: 'boolean', value: true, description: 
'build with http/dav b
+ option('mtp', type: 'boolean', value: true, description: 'build with mtp 
backend and volume monitor')
+ option('nds', type: 'boolean', value: true, description: 'build with nds 
backend')
+ option('nfs', type: 'boolean', value: true, description: 'build with nfs 
backend')
++option('nvvfs', type: 'boolean', value: true, description: 'build with nvvfs 
backend')
+ option('sftp', type: 'boolean', value: true, description: 'build with sftp 
backend')
+ option('smb', type: 'boolean', value: true, description: 'build with smb 
backends')
+ option('udisks2', type: 'boolean', value: true, description: 'build with 
udisks2 volume monitor')


Reply via email to