Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 508310 - gnome-base/gnome-extra-apps: Add a 'share' USE
Summary: gnome-base/gnome-extra-apps: Add a 'share' USE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal enhancement with 3 votes (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 508530 551592 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-04-21 09:31 UTC by Ooblick
Modified: 2015-06-10 01:57 UTC (History)
11 users (show)

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 Ooblick 2014-04-21 09:31:20 UTC
Bug https://bugs.gentoo.org/show_bug.cgi?id=506176 added gnome-user-share to gnome-extra-apps. This pulls in a load of extra dependencies including a complete install of apache. Could a new USE flag be added to the gnome-extra-apps to disable this addition, in the same way there's already a 'shotwell', 'tracker', and 'games' USE flag.
Comment 1 Pacho Ramos gentoo-dev 2014-04-23 20:07:29 UTC
*** Bug 508530 has been marked as a duplicate of this bug. ***
Comment 2 Pacho Ramos gentoo-dev 2014-05-24 06:27:49 UTC
Well, other option would be to disable "extras" USE for gnome-base/gnome. But I don't mind any solution as soon as, by default, gnome-user-share ends up being installed to prevent people from seeing some things are not working by default and failing silently (like sending files from phone to PC via bluetooth)
Comment 3 Attila Tóth 2014-05-24 10:34:16 UTC
(In reply to Pacho Ramos from comment #2)
> Well, other option would be to disable "extras" USE for gnome-base/gnome.
> But I don't mind any solution as soon as, by default, gnome-user-share ends
> up being installed to prevent people from seeing some things are not working
> by default and failing silently (like sending files from phone to PC via
> bluetooth)

An additional share USE flag can be made on by default. Therefore most users will have working share functionality. But this could provide a way for those who want to selectively disable this feature for their installation.
I for one would be very happy to see such an additional USE flag.

Thx: Dw.
Comment 4 Alexander Tsoy 2014-05-26 08:24:51 UTC
Hmm.. AFAIK apache is an *optional* runtime dependency. Can you just drop this dependency from gnome-user-share ebuild and add postinst message?

For example, apache is a suggested dependency in Ubuntu [1] and there is no such dependency in Arch [2][3]

[1] http://packages.ubuntu.com/trusty/gnome-user-share
[2] https://bugs.archlinux.org/task/10657
[3] https://projects.archlinux.org/svntogit/packages.git/tree/repos/extra-x86_64/PKGBUILD?h=packages/gnome-user-share
Comment 5 Alexander Tsoy 2014-05-26 08:33:00 UTC
(In reply to Alexander Tsoy from comment #4)
> [3]
> https://projects.archlinux.org/svntogit/packages.git/tree/repos/extra-x86_64/
> PKGBUILD?h=packages/gnome-user-share

Ooops.. There is a dependency on mod_dnssd
Comment 6 Bernd Feige 2014-05-26 09:55:21 UTC
(In reply to Alexander Tsoy from comment #5)
> (In reply to Alexander Tsoy from comment #4)
> > [3]
> > https://projects.archlinux.org/svntogit/packages.git/tree/repos/extra-x86_64/
> > PKGBUILD?h=packages/gnome-user-share
> 
> Ooops.. There is a dependency on mod_dnssd

Yes, and that's exactly the point, Pacho: If the default gnome user sharing experience should require installing apache, something would be seriously amiss. The following is the reason why I masked gnome-extra-apps-3.10.0-r1 on my system:

emerge -pv --tree gnome-user-share

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N     ] gnome-extra/gnome-user-share-3.10.2  USE="bluetooth" 375 kB
[ebuild  N     ]  www-apache/mod_dnssd-0.6  USE="-doc" 85 kB
[ebuild  N     ]   www-servers/apache-2.4.9-r3:2  USE="ldap ssl threads -debug -doc (-selinux) -static -suexec" APACHE2_MODULES="actions alias auth_basic auth_digest authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias -access_compat -asis -authn_dbd -authz_dbd -cache_disk -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -lbmethod_bybusyness -lbmethod_byrequests -lbmethod_bytraffic -lbmethod_heartbeat -log_forensic -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_fcgi -proxy_ftp -proxy_http -proxy_scgi -proxy_wstunnel -ratelimit -remoteip -reqtimeout -slotmem_shm -substitute -version" APACHE2_MPMS="-event -peruser -prefork -worker" 25 kB
[ebuild  N     ]    app-admin/apache-tools-2.4.9-r1  USE="ssl" 0 kB

Total: 4 packages (4 new), Size of downloads: 484 kB

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by gnome-extra/gnome-user-share-3.10.2
# required by gnome-user-share (argument)
>=www-servers/apache-2.4.9-r3 apache2_modules_auth_digest
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2015-06-09 22:41:31 UTC
*** Bug 551592 has been marked as a duplicate of this bug. ***
Comment 8 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-06-10 01:57:59 UTC
A hard dependency on apache is bad enough.

A hard dependency on apache *with prefork* like we have added recently is a real problem e.g. for web developers who need threaded apache or php.

I am adding a "share" USE flag, enabled by default for now.

+  10 Jun 2015; Alexandre Rostovtsev <tetromino@gentoo.org>
+  gnome-extra-apps-3.14.0-r1.ebuild, gnome-extra-apps-3.16.0.ebuild,
+  metadata.xml:
+  Make gnome-user-share optional, we don't want a hard dependency on prefork
+  apache (bug #508310)