Bug 1007801 - Cheese depends on gnome-desktop3 unnecessarily
Cheese depends on gnome-desktop3 unnecessarily
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: cheese (Show other bugs)
19
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Matthias Clasen
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-13 06:56 EDT by Maros Zatko
Modified: 2013-09-14 05:39 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-09-13 07:08:02 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Maros Zatko 2013-09-13 06:56:56 EDT
Description of problem:
Cheese depends on gnome-desktop3 unnecessarily. Obviously user should NOT
need to have gnome-desktop3 installed.

Version-Release number of selected component (if applicable):


How reproducible:
try to install and observe dependencies

Steps to Reproduce:
1. sudo yum install cheese
2. observe dependencies
3. shake your head

Actual results:
cheese needs gnome3

Expected results:
cheese should not need whole gnome3

Additional info:
It is understandable that it needs clutter and gtk, but not
foreign desktop as a whole. Similarly as Kate need a whole bunch of
KDE libs but not whole KDE.
Thanks for your understanding.
Comment 1 Hans de Goede 2013-09-13 07:08:02 EDT
Cheese does not have any superfluous dependencies. cheese only has the following explicit dependencies listed in its spec-file:

Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
Requires: gstreamer1-plugins-good
Requires: gstreamer1-plugins-bad-free
Requires: gnome-video-effects

And cheese-libs has none.

Anything also is dragged in through automatic soname dependencies and thus necessary.
Comment 2 Maros Zatko 2013-09-13 16:48:40 EDT
ARE YOU KIDDING ME?


# yum install cheese
Loaded plugins: langpacks, refresh-packagekit
adobe-linux-x86_64                                                                                               |  951 B  00:00:00     
deslicer                                                                                                         | 2.9 kB  00:00:00     
fedora-chromium-stable                                                                                           | 3.4 kB  00:00:00     
fedora-steam                                                                                                     | 1.3 kB  00:00:00     
rpmfusion-free-updates                                                                                           | 3.3 kB  00:00:00     
rpmfusion-nonfree-updates                                                                                        | 3.3 kB  00:00:00     
updates/19/x86_64/metalink                                                                                       |  29 kB  00:00:00     
updates                                                                                                          | 4.6 kB  00:00:00     
updates/19/x86_64/primary_db                                                                                     | 8.2 MB  00:00:03     
(1/3): adobe-linux-x86_64/primary                                                                                | 1.2 kB  00:00:00     
(2/3): updates/19/x86_64/updateinfo                                                                              | 891 kB  00:00:00     
(3/3): updates/19/x86_64/pkgtags                                                                                 | 579 kB  00:00:01     
adobe-linux-x86_64                                                                                                                  2/2
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum history redo last", first to finish them. If that doesn't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package cheese.x86_64 2:3.8.2-4.fc19 will be installed
--> Processing Dependency: cheese-libs(x86-64) = 2:3.8.2-4.fc19 for package: 2:cheese-3.8.2-4.fc19.x86_64
--> Processing Dependency: gnome-video-effects for package: 2:cheese-3.8.2-4.fc19.x86_64
--> Processing Dependency: libgnome-desktop-3.so.7()(64bit) for package: 2:cheese-3.8.2-4.fc19.x86_64
--> Processing Dependency: libcogl.so.12()(64bit) for package: 2:cheese-3.8.2-4.fc19.x86_64
--> Processing Dependency: libcogl-pango.so.12()(64bit) for package: 2:cheese-3.8.2-4.fc19.x86_64
--> Processing Dependency: libclutter-gtk-1.0.so.0()(64bit) for package: 2:cheese-3.8.2-4.fc19.x86_64
--> Processing Dependency: libclutter-gst-2.0.so.0()(64bit) for package: 2:cheese-3.8.2-4.fc19.x86_64
--> Processing Dependency: libclutter-1.0.so.0()(64bit) for package: 2:cheese-3.8.2-4.fc19.x86_64
--> Processing Dependency: libcheese.so.7()(64bit) for package: 2:cheese-3.8.2-4.fc19.x86_64
--> Processing Dependency: libcheese-gtk.so.23()(64bit) for package: 2:cheese-3.8.2-4.fc19.x86_64
--> Running transaction check
---> Package cheese-libs.x86_64 2:3.8.2-4.fc19 will be installed
---> Package clutter.x86_64 0:1.14.4-4.fc19 will be installed
---> Package clutter-gst2.x86_64 0:2.0.4-1.fc19 will be installed
---> Package clutter-gtk.x86_64 0:1.4.4-1.fc19 will be installed
---> Package cogl.x86_64 0:1.14.0-3.fc19 will be installed
---> Package gnome-desktop3.x86_64 0:3.8.4-1.fc19 will be installed
--> Processing Dependency: system-backgrounds-gnome for package: gnome-desktop3-3.8.4-1.fc19.x86_64
--> Processing Dependency: redhat-menus for package: gnome-desktop3-3.8.4-1.fc19.x86_64
---> Package gnome-video-effects.noarch 0:0.4.0-5.fc19 will be installed
--> Processing Dependency: frei0r-plugins for package: gnome-video-effects-0.4.0-5.fc19.noarch
--> Running transaction check
---> Package desktop-backgrounds-gnome.noarch 0:19.0.0-2.fc19 will be installed
--> Processing Dependency: schroedinger-cat-backgrounds-gnome for package: desktop-backgrounds-gnome-19.0.0-2.fc19.noarch
---> Package frei0r-plugins.x86_64 0:1.3-10.fc19 will be installed
--> Processing Dependency: libgavl.so.1()(64bit) for package: frei0r-plugins-1.3-10.fc19.x86_64
---> Package redhat-menus.noarch 0:12.0.2-6.fc19 will be installed
--> Running transaction check
---> Package gavl.x86_64 0:1.4.0-2.fc19 will be installed
--> Processing Dependency: libgdither.so.1()(64bit) for package: gavl-1.4.0-2.fc19.x86_64
---> Package schroedinger-cat-backgrounds-gnome.noarch 0:18.91.0-1.fc19 will be installed
--> Processing Dependency: schroedinger-cat-backgrounds-animated = 18.91.0-1.fc19 for package: schroedinger-cat-backgrounds-gnome-18.91.0-1.fc19.noarch
--> Running transaction check
---> Package libgdither.x86_64 0:0.6-6.fc19 will be installed
---> Package schroedinger-cat-backgrounds-animated.noarch 0:18.91.0-1.fc19 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================
 Package                                              Arch                  Version                        Repository              Size
========================================================================================================================================
Installing:
 cheese                                               x86_64                2:3.8.2-4.fc19                 updates                182 k
Installing for dependencies:
 cheese-libs                                          x86_64                2:3.8.2-4.fc19                 updates                1.3 M
 clutter                                              x86_64                1.14.4-4.fc19                  updates                971 k
 clutter-gst2                                         x86_64                2.0.4-1.fc19                   fedora                  57 k
 clutter-gtk                                          x86_64                1.4.4-1.fc19                   fedora                  41 k
 cogl                                                 x86_64                1.14.0-3.fc19                  fedora                 389 k
 desktop-backgrounds-gnome                            noarch                19.0.0-2.fc19                  fedora                  14 k
 frei0r-plugins                                       x86_64                1.3-10.fc19                    fedora                 438 k
 gavl                                                 x86_64                1.4.0-2.fc19                   fedora                 2.6 M
 gnome-desktop3                                       x86_64                3.8.4-1.fc19                   updates                556 k
 gnome-video-effects                                  noarch                0.4.0-5.fc19                   fedora                  64 k
 libgdither                                           x86_64                0.6-6.fc19                     fedora                  19 k
 redhat-menus                                         noarch                12.0.2-6.fc19                  fedora                 148 k
 schroedinger-cat-backgrounds-animated                noarch                18.91.0-1.fc19                 fedora                 5.0 M
 schroedinger-cat-backgrounds-gnome                   noarch                18.91.0-1.fc19                 fedora                 4.0 k

Transaction Summary
========================================================================================================================================
Install  1 Package (+14 Dependent packages)

Total download size: 12 M
Installed size: 26 M
Is this ok [y/d/N]: n
Exiting on user command
Comment 3 Hans de Goede 2013-09-14 04:45:55 EDT
(In reply to Maros Zatko from comment #2)
> ARE YOU KIDDING ME?

Don't shoot the messenger please :)

[hans@shalem ~]$ rpm -q --requires cheese
cheese-3.9.91-3.fc21.x86_64
/bin/sh
/bin/sh
/bin/sh
cheese-libs(x86-64) = 2:3.9.91-3.fc21
gnome-video-effects
gstreamer1-plugins-bad-free
gstreamer1-plugins-good
libEGL.so.1()(64bit)
libX11.so.6()(64bit)
libXcomposite.so.1()(64bit)
libXdamage.so.1()(64bit)
libXext.so.6()(64bit)
libXfixes.so.3()(64bit)
libXi.so.6()(64bit)
libXrandr.so.2()(64bit)
libatk-1.0.so.0()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libcairo-gobject.so.2()(64bit)
libcairo.so.2()(64bit)
libcanberra-gtk3.so.0()(64bit)
libcanberra.so.0()(64bit)
libcheese-gtk.so.23()(64bit)
libcheese.so.7()(64bit)
libclutter-1.0.so.0()(64bit)
libclutter-gst-2.0.so.0()(64bit)
libclutter-gtk-1.0.so.0()(64bit)
libcogl-pango.so.15()(64bit)
libcogl.so.15()(64bit)
libgcc_s.so.1()(64bit)
libgcc_s.so.1(GCC_3.0)(64bit)
libgcc_s.so.1(GCC_3.3.1)(64bit)
libgdk-3.so.0()(64bit)
libgdk_pixbuf-2.0.so.0()(64bit)
libgio-2.0.so.0()(64bit)
libglib-2.0.so.0()(64bit)
libgmodule-2.0.so.0()(64bit)
libgnome-desktop-3.so.8()(64bit)
libgobject-2.0.so.0()(64bit)
libgstbase-1.0.so.0()(64bit)
libgstpbutils-1.0.so.0()(64bit)
libgstreamer-1.0.so.0()(64bit)
libgtk-3.so.0()(64bit)
libgudev-1.0.so.0()(64bit)
libjson-glib-1.0.so.0()(64bit)
libm.so.6()(64bit)
libpango-1.0.so.0()(64bit)
libpangocairo-1.0.so.0()(64bit)
libpthread.so.0()(64bit)
libpthread.so.0(GLIBC_2.2.5)(64bit)
librsvg-2.so.2()(64bit)
libwayland-client.so.0()(64bit)
libwayland-cursor.so.0()(64bit)
libwayland-egl.so.1()(64bit)
libxkbcommon.so.0()(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH)
rpmlib(PayloadIsXz) <= 5.2-1
[hans@shalem ~]$

So it seems that gnome-desktop3 is being dragged in by a 'libgnome-desktop-3.so.8()(64bit)' dependency, which is quite normal for a gnome app to depend upon.

It seems that gnome-desktop3 in turn drags in system-backgrounds-gnome, which is a bit excessive, so it might be useful to file a bug against gnome-desktop3 asking for a -libs sub-package with just the lib in there.
Comment 4 Maros Zatko 2013-09-14 05:39:13 EDT
(In reply to Hans de Goede from comment #3)
> (In reply to Maros Zatko from comment #2)
> > ARE YOU KIDDING ME?
> 
> Don't shoot the messenger please :)
> 

I'm sorry for overreaction, didn't really mean that.

> It seems that gnome-desktop3 in turn drags in system-backgrounds-gnome,
> which is a bit excessive, so it might be useful to file a bug against
> gnome-desktop3 asking for a -libs sub-package with just the lib in there.

I'll do so.

Thanks for your assistance.

Note You need to log in before you can comment on or make changes to this bug.