Bug 1858552 - boinc-client pulls in unwanted X11 and GTK dependencies
Summary: boinc-client pulls in unwanted X11 and GTK dependencies
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: boinc-client
Version: epel8
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Germano Massullo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-19 07:15 UTC by Franco Bugnano
Modified: 2021-01-23 23:42 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
spec file (25.88 KB, text/plain)
2020-10-30 19:16 UTC, Germano Massullo
no flags Details

Description Franco Bugnano 2020-07-19 07:15:37 UTC
Description of problem:
I have a CentOS 8 server at home, and being a headless server, no graphical packages are installed.
I want to contribute to the Rosetta@Home project, so I want to run the boinc-client on my home server, and control it remotely with my home PC using boinc-manager.

When I try to install boinc-client, the package manager pulls in a lot of graphical dependencies which I don't want to install on my headless system.

Version-Release number of selected component (if applicable):
boinc-client 7.16.6-3.el8

How reproducible:
Try installing boinc-client on a CentOS 8 system without any graphical packages.

Steps to Reproduce:
sudo dnf install boinc-client

Actual results:
So, when trying to install boinc-client (and only boinc-client), the dependency list is as follows:

Installing:
 boinc-client                 x86_64    7.16.6-3.el8         epel         652 k
Installazione dipendenze:
 adwaita-cursor-theme         noarch    3.28.0-2.el8         AppStream    647 k
 adwaita-icon-theme           noarch    3.28.0-2.el8         AppStream     11 M
 at-spi2-atk                  x86_64    2.26.2-1.el8         AppStream     89 k
 at-spi2-core                 x86_64    2.28.0-1.el8         AppStream    169 k
 atk                          x86_64    2.28.1-1.el8         AppStream    272 k
 cairo-gobject                x86_64    1.15.12-3.el8        AppStream     33 k
 colord-libs                  x86_64    1.4.2-1.el8          AppStream    236 k
 gdk-pixbuf2-modules          x86_64    2.36.12-5.el8        AppStream    109 k
 gtk-update-icon-cache        x86_64    3.22.30-5.el8        AppStream     32 k
 gtk3                         x86_64    3.22.30-5.el8        AppStream    4.5 M
 hicolor-icon-theme           noarch    0.17-2.el8           AppStream     49 k
 jasper-libs                  x86_64    2.0.14-4.el8         AppStream    167 k
 jbigkit-libs                 x86_64    2.1-14.el8           AppStream     55 k
 lcms2                        x86_64    2.9-2.el8            AppStream    165 k
 libXScrnSaver                x86_64    1.2.3-1.el8          AppStream     31 k
 libXcomposite                x86_64    0.4.4-14.el8         AppStream     28 k
 libXcursor                   x86_64    1.1.15-3.el8         AppStream     36 k
 libXinerama                  x86_64    1.1.4-1.el8          AppStream     16 k
 libXrandr                    x86_64    1.5.1-7.el8          AppStream     33 k
 libepoxy                     x86_64    1.5.3-1.el8          AppStream    225 k
 libtiff                      x86_64    4.0.9-17.el8         AppStream    188 k
 libwayland-cursor            x86_64    1.17.0-1.el8         AppStream     26 k
 libwayland-egl               x86_64    1.17.0-1.el8         AppStream     19 k
 rest                         x86_64    0.8.1-2.el8          AppStream     70 k
 avahi-libs                   x86_64    0.7-19.el8           BaseOS        62 k
 cups-libs                    x86_64    1:2.2.6-33.el8       BaseOS       432 k
 glib-networking              x86_64    2.56.1-1.1.el8       BaseOS       155 k
 gsettings-desktop-schemas    x86_64    3.32.0-4.el8         BaseOS       632 k
 json-glib                    x86_64    1.4.4-1.el8          BaseOS       144 k
 libgusb                      x86_64    0.3.0-1.el8          BaseOS        49 k
 libmodman                    x86_64    2.0.1-17.el8         BaseOS        36 k
 libproxy                     x86_64    0.4.15-5.2.el8       BaseOS        75 k
 libsoup                      x86_64    2.62.3-1.el8         BaseOS       424 k
Installazione dipendenze deboli:
 abattis-cantarell-fonts      noarch    0.0.25-4.el8         AppStream    155 k
 dconf                        x86_64    0.28.0-3.el8         AppStream    109 k


Expected results:
The package manager installs only boinc-client and the bare minimum packages needed to run it in headless mode.

Additional info:
I think that those dependencies should be the dependencies for boinc-manager only, and not for boinc-client.

Comment 1 Germano Massullo 2020-10-30 19:16:14 UTC
Created attachment 1725392 [details]
spec file

I moved

BuildRequires: desktop-file-utils
BuildRequires: freeglut-devel
BuildRequires: gtk3-devel
BuildRequires: libjpeg-devel
BuildRequires: libnotify-devel
BuildRequires: mesa-libGLU-devel
BuildRequires: wxGTK3-devel

to boinc-manager subpackage. They should be all GUI dependencies that we can move away from the boinc-client. We will never get rid of Xorg dependencies for boinc-client service because idle time detection is coded to use X screensaver APIs. Even if I disabled this feature, it's not safe to remove the Xorg dependencies.
Let's start to check if the boinc-client service is stable with these changes. Could you please test it using my Copr repository
https://copr.fedorainfracloud.org/coprs/germano/boinc-gtk_deps-moved-to-manager/
Also can you please show me output of dnf install boinc-client
Thank you


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