Gentoo Archives: gentoo-dev

From: tot-to <gentoo-dev.list@××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] USE=desktop-file request
Date: Wed, 06 Jan 2016 19:48:03
Message-Id: 20160106194808.241d549d@localhost
In Reply to: Re: [gentoo-dev] USE=desktop-file request by Sergey Popov
1 Hi Sergey,
2
3 It would be great to make the intallation of desktop-files optional,
4 but I mostly concerned about the dependency on
5 dev-util/desktop-file-utils. This dependency was introduced very
6 recently, i.e. none of those packages had such dependency before and
7 everythigh was working fine. Moreover, currently they still compile work
8 fine without this package (added to package.provided). So, I don't
9 understand why one needs a compile-time switch in order to disable
10 just a redundant software.
11
12 I think such dependency should be either removed, because it's not
13 really required or at least be optional.
14
15 -----Original Message-----
16 Date: Wed, 06 Jan 2016 21:59:47 +0300
17 From: Sergey Popov <pinkbyte@g.o>
18 To: gentoo-dev@l.g.o
19 Subject: Re: [gentoo-dev] USE=desktop-file request
20
21
22 Unfortunately i doubt that we could help with that. I did not look into
23 every software package from your list, but many of those packages did
24 not have compile time switch for (not)using desktop-file-utils.
25
26 If you are still needed to clean up files, that cause no harm to your
27 system - i can only suggest you to mask /usr/share/applications via
28 INSTALL_MASK(to prevent these desktop files from installing at all)
29
30 06.01.2016 19:23, tot-to пишет:
31 > I'm a user of a KISS wm, which does not provide Windows™-like menus,
32 > desktop icons, etc. GUI software is called just by typing the binary
33 > name in PATH, just like any other software. For me the desktop-files are
34 > some kind of useless junk.
35 >
36 > Recently a lot of software were made harddep on
37 > dev-util/desktop-file-utils, i.e. from now on there are not only junk
38 > text files, but also a junk software required without any reason. I've
39 > added it to /etc/portage/profile/package.provided and everything
40 > compiles and works just fine. It means that in reality there is no real
41 > need in this software.
42 >
43 > Please make these dependencies optional.
44 >
45 > Reproducible: Always
46 >
47 > Steps to Reproduce:
48 > 1. echo dev-util/desktop-file-utils-0.22
49 >>> /etc/portage/profile/package.provided
50 > 2. emerge -C dev-util/desktop-file-utils
51 > 3. emerge -1 `equery d dev-util/desktop-file-utils | awk '{print $1}' |
52 > sed s/^/=/g`
53 >
54 > Actual Results:
55 > No crashes or any kind of problems
56 >
57 > Expected Results:
58 > Build crash due to lack of hard dependency
59 >
60 > To be more specific, here is all the software on my system, that
61 > depends on dev-util/desktop-file-utils, but compiles and works just
62 > fine without it: $ equery d dev-util/desktop-file-utils
63 > * These packages depend on dev-util/desktop-file-utils:
64 > app-office/dia-0.97.3 (dev-util/desktop-file-utils)
65 > app-text/evince-2.32.0-r4 (dev-util/desktop-file-utils)
66 > app-text/gnome-doc-utils-0.20.10-r1 (dev-util/desktop-file-utils)
67 > dev-cpp/atkmm-2.24.1 (dev-util/desktop-file-utils)
68 > dev-cpp/cairomm-1.12.0-r1 (dev-util/desktop-file-utils)
69 > dev-cpp/glibmm-2.46.1 (dev-util/desktop-file-utils)
70 > dev-cpp/gtkmm-2.24.4-r3 (dev-util/desktop-file-utils)
71 > dev-cpp/pangomm-2.38.1 (dev-util/desktop-file-utils)
72 > dev-libs/atk-2.18.0 (dev-util/desktop-file-utils)
73 > dev-libs/libIDL-0.8.14 (dev-util/desktop-file-utils)
74 > dev-libs/libcroco-0.6.9 (dev-util/desktop-file-utils)
75 > dev-libs/libsigc++-2.6.2 (dev-util/desktop-file-utils)
76 > dev-python/pygobject-2.28.6-r55 (dev-util/desktop-file-utils)
77 > dev-python/pygtk-2.24.0-r4 (dev-util/desktop-file-utils)
78 > dev-util/gtk-update-icon-cache-3.16.7 (dev-util/desktop-file-utils)
79 > gnome-base/gsettings-desktop-schemas-3.18.1
80 > (dev-util/desktop-file-utils) gnome-base/libglade-2.6.4-r2
81 > (dev-util/desktop-file-utils) gnome-base/librsvg-2.40.11
82 > (dev-util/desktop-file-utils) gnome-extra/libgsf-1.14.34
83 > (dev-util/desktop-file-utils) media-libs/libart_lgpl-2.3.21-r2
84 > (dev-util/desktop-file-utils) sys-block/gparted-0.24.0
85 > (dev-util/desktop-file-utils) x11-libs/gdk-pixbuf-2.32.2
86 > (dev-util/desktop-file-utils) x11-libs/gtk+-2.24.28-r1
87 > (dev-util/desktop-file-utils) x11-libs/pango-1.38.1
88 > (dev-util/desktop-file-utils) x11-themes/gtk-engines-2.20.2-r2
89 > (dev-util/desktop-file-utils)
90 >
91
92
93 --
94 Best regards, Sergey Popov
95 Gentoo developer
96 Gentoo Desktop-effects project lead
97 Gentoo Quality Assurance project lead

Replies

Subject Author
Re: [gentoo-dev] USE=desktop-file request Rich Freeman <rich0@g.o>