Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 856334 - gnome-base/gvfs pass meson options onto users
Summary: gnome-base/gvfs pass meson options onto users
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-03 23:21 UTC by Gino McCarty
Modified: 2022-07-04 15:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gino McCarty 2022-07-03 23:21:11 UTC
Related to Bug 856058

gnome-base/gvfs should not force enable packages that are optional in meson
Even though this is a gnome package, its used by many other DE's

Here is a patch for the issue

```
--- /usr/portage/gnome-base/gvfs/gvfs-1.50.2.ebuild	2022-07-02 17:53:08.996432584 -0700
+++ /usr/local/portage/gnome-base/gvfs/gvfs-1.50.2.ebuild	2022-07-02 20:30:01.840440416 -0700
@@ -12,7 +12,7 @@
 LICENSE="LGPL-2+"
 SLOT="0"

-IUSE="afp archive bluray cdda elogind fuse google gnome-keyring gnome-online-accounts gphoto2 +http ios mtp nfs policykit samba systemd test +udev udisks zeroconf"
+IUSE="afp archive bluray cdda elogind fuse +gcr google gnome-keyring gnome-online-accounts gphoto2 +http ios +man mtp nfs policykit samba systemd +sftp test +udev udisks zeroconf"
 RESTRICT="!test? ( test )"
 # elogind/systemd only relevant to udisks (in v1.38.1)
 REQUIRED_USE="
@@ -30,7 +30,7 @@
 	>=gnome-base/gsettings-desktop-schemas-3.33.0
 	afp? ( >=dev-libs/libgcrypt-1.2.2:0= )
 	sys-apps/dbus
-	app-crypt/gcr:=
+	gcr? ( app-crypt/gcr:= )
 	policykit? (
 		>=sys-auth/polkit-0.114
 		sys-libs/libcap
@@ -68,14 +68,14 @@
 	google? ( >=dev-libs/libgdata-0.18.0:=[crypt,gnome-online-accounts] )
 	gphoto2? ( >=media-libs/libgphoto2-2.5.0:= )
 	nfs? ( >=net-fs/libnfs-1.9.8:= )
-	net-misc/openssh
+	sftp? ( net-misc/openssh )
 "
 DEPEND="${RDEPEND}"
 BDEPEND="
 	dev-util/glib-utils
 	app-text/docbook-xsl-stylesheets
 	app-text/docbook-xml-dtd:4.2
-	dev-libs/libxslt
+	man? ( dev-libs/libxslt )
 	>=sys-devel/gettext-0.19.8
 	virtual/pkgconfig
 	dev-util/gdbus-codegen
@@ -113,12 +113,12 @@
 		$(meson_use http)
 		$(meson_use mtp)
 		$(meson_use nfs)
-		-Dsftp=true
+		-Dsftp=$(usex sftp true false)
 		$(meson_use samba smb)
 		$(meson_use udisks udisks2)
 		$(meson_use bluray)
 		$(meson_use fuse)
-		-Dgcr=true
+		-Dgcr=$(usex gcr true false)
 		-Dgcrypt=${enable_gcrypt}
 		$(meson_use udev gudev)
 		$(meson_use gnome-keyring keyring)
@@ -126,7 +126,7 @@
 		-Dlibusb=${enable_libusb}
 		-Ddevel_utils=false # wouldn't install any of it as of 1.38.1; some tests need it, but they aren't automated tests in v1.38.1
 		-Dinstalled_tests=false
-		-Dman=true
+		-Dman=$(usex man true false)
 		-Dprivileged_group=wheel
 	)
 	meson_src_configure
```

Reproducible: Always