Subject: [PATCH] gvfs-backends: Drop google support

From: Bastian Germann <[email-masked]>
Date: Mon, 4 Aug 2025 16:37:44 +0200

---
 debian/control               | 1 -
 debian/gvfs-backends.install | 2 --
 debian/rules                 | 3 ++-
 3 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index bf6b4ace..277f2433 100644
--- a/debian/control
+++ b/debian/control
@@ -20,7 +20,6 @@ Build-Depends: debhelper-compat (= 13),
                libfuse3-dev (>= 3.0.0) [!hurd-any],
                libgcr-4-dev,
                libgcrypt20-dev (>= 1.2.2),
-               libgdata-dev (>= 0.18) [!i386],
                libglib2.0-dev (>= 2.83.0),
                libgoa-1.0-dev (>= 3.53.1) [!i386],
                libgphoto2-dev (>= 2.5.0) [!hurd-any],
diff --git a/debian/gvfs-backends.install b/debian/gvfs-backends.install
index 2bf899de..65a38a6c 100755
--- a/debian/gvfs-backends.install
+++ b/debian/gvfs-backends.install
@@ -12,7 +12,6 @@ usr/libexec/gvfsd-cdda						[!hurd-any]
 usr/libexec/gvfsd-dav
 usr/libexec/gvfsd-dnssd
 usr/libexec/gvfsd-ftp
-usr/libexec/gvfsd-google					[!i386]
 usr/libexec/gvfsd-gphoto2					[!hurd-any]
 usr/libexec/gvfsd-http
 usr/libexec/gvfsd-mtp						[!hurd-any]
@@ -44,7 +43,6 @@ usr/share/gvfs/mounts/dns-sd.mount
 usr/share/gvfs/mounts/ftp.mount
 usr/share/gvfs/mounts/ftpis.mount
 usr/share/gvfs/mounts/ftps.mount
-usr/share/gvfs/mounts/google.mount				[!i386]
 usr/share/gvfs/mounts/gphoto2.mount				[!hurd-any]
 usr/share/gvfs/mounts/http.mount
 usr/share/gvfs/mounts/mtp.mount					[!hurd-any]
diff --git a/debian/rules b/debian/rules
index 2e65d988..b52e39f6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,7 +25,7 @@ endif
 
 # i386 is not a full architecture, especially on Ubuntu
 ifeq (i386, $(DEB_HOST_ARCH))
-        GOA_BACKEND = -Dafc=false -Dgoa=false -Dgoogle=false -Donedrive=false
+        GOA_BACKEND = -Dafc=false -Dgoa=false -Donedrive=false
 endif
 
 ifeq ($(shell dpkg-vendor --query vendor),Ubuntu)
@@ -39,6 +39,7 @@ endif
 
 override_dh_auto_configure:
 	dh_auto_configure -- \
+		-Dgoogle=false \
 		-Dman=true \
 		-Dprivileged_group=sudo \
 		$(ADMIN_BACKEND) \