Source: gvfs Severity: important Version: 1.42.1-3 Tags: patch User: debian-hurd@lists.debian.org Usertags: hurd X-Debbugs-CC: debian-hurd@lists.debian.org
Hello, with the default build options, gvfs requires systemd, fuse and other libraries to build successfully. The applied patch disables systemd support and libraries depending on udev on non-linux architectures and disables some additional libraries on the hurd. The applied patch should not affect linux-any. Could you take a look? Thanks.
diff --git a/debian/rules b/debian/rules index 08b77598..05c6ec87 100755 --- a/debian/rules +++ b/debian/rules @@ -7,8 +7,22 @@ include /usr/share/dpkg/default.mk ifneq (,$(filter $(DEB_HOST_ARCH), hurd-i386 kfreebsd-i386 kfreebsd-amd64)) ADMIN_BACKEND=-Dadmin=false + SYSTEMD_FLAGS= \ + -Dsystemduserunitdir=no \ + -Dtmpfilesdir=no \ + -Dlogind=false \ + -Dgudev=false \ + -Dudisks2=false \ + -Dcdda=false \ + -Dgphoto2=false \ + -Dmtp=false else ADMIN_BACKEND= + SYSTEMD_FLAGS= +endif + +ifeq (hurd-i386, $(DEB_HOST_ARCH)) + HURD_FLAGS = -Dafc=false -Dfuse=false -Dlibusb=false -Dsmb=false endif ifeq (yes,$(shell dpkg-vendor --derives-from Ubuntu && echo yes)) @@ -23,7 +37,9 @@ override_dh_auto_configure: --libexecdir=/usr/lib/gvfs \ -Dman=true \ $(ADMIN_BACKEND) \ - $(BLURAY_BACKEND) + $(BLURAY_BACKEND) \ + $(SYSTEMD_FLAGS) \ + $(HURD_FLAGS) override_dh_auto_build: dh_auto_build
signature.asc
Description: This is a digitally signed message part