#730332 Please decouple boinc-manager from boinc-client

Package:
boinc-manager
Source:
boinc
Description:
GUI to control and monitor the BOINC core client
Submitter:
Ken Sharp
Date:
2025-12-13 10:03:02 UTC
Severity:
wishlist
#730332#5
Date:
2013-11-24 08:45:11 UTC
From:
To:
I would like to use boinc-manager without there being a need to install
boinc-client.

It doesn't take too much of a stretch of the imagination to see that
some users might want to control clients on other machines without the
need to install the client on the machine they are using. It is a waste
of space and requires additional steps to disable the client. This
becomes a particular concern on small devices such as low-end mobile phones.

It kind of defeats the point of having a boinc-manager package if it
needs to pull boinc-client anyway. The two are usually updated together
upstream.

#730332#14
Date:
2013-11-27 14:11:01 UTC
From:
To:
Hi, I see the problem, anyway I don't know how to properly fix it.

I see in the boinc-manager dependencies only listed
Depends: ${shlibs:Depends}, ${misc:Depends}


IIRC misc:Depends puts libboinc7 into manager dependencies, and according to clientgui/Makefile.am it is linked to the mananger
boincmgr_LDFLAGS = $(LIBBOINC) $(SQLITE3_LIBS) $(LIBNOTIFY_LIBS) $(CLIENTGUILIBS) $(BOINC_EXTRA_LIBS) $(CLIENTLIBS) `pkg-config --libs gtk+-2.0` -lno


So in order to avoid this link you first need to remove libboinc from the boinc manager.

This is an upstream issue, not a debian one, can you report upstream?

objdump -p `which boincmgr`

  NEEDED               libboinc.so.7


G.

#730332#19
Date:
2013-11-27 15:00:08 UTC
From:
To:
e.g. MIOFILE is defined in boinclib and used in clientgui/browser.cpp

Sent from Yahoo Mail on Android

#730332#24
Date:
2013-11-27 17:25:12 UTC
From:
To:
/boinc/clientgui/WizardAttach.h:190: undefined reference to `ACCOUNT_OUT::~ACCOUNT_OUT()'
/boinc/clientgui/WizardAttach.h:190: undefined reference to `ACCOUNT_IN::~ACCOUNT_IN()'
/boinc/clientgui/WizardAttach.h:190: undefined reference to `PROJECT_CONFIG::~PROJECT_CONFIG()'
/boinc/clientgui/WizardAttach.h:190: undefined reference to `PROJECT_CONFIG::~PROJECT_CONFIG()'
/boinc/clientgui/WizardAttach.h:190: undefined reference to `ACCOUNT_IN::~ACCOUNT_IN()'


Also this is needed for manager.

For me is won't fix, unless upstream wants to provide two different libraries or something else.
Unfortunately is too big for a downstream patch.

Bests,


Gianfranco




Il Mercoledì 27 Novembre 2013 16:03, Gianfranco Costamagna <costamagnagianfranco@yahoo.it> ha scritto:

e.g. MIOFILE is defined in boinclib and used in clientgui/browser.cpp

#730332#29
Date:
2013-11-28 10:44:27 UTC
From:
To:
libboinc7 is absolutely fine as a dependency. The problem is better
described in
https://bugs.launchpad.net/ubuntu/+source/boinc/+bug/1250652. I'm not
yet sure if Debian sees the same bug as described in comment #9 but I
would imagine it does (as Ubuntu pulls packages from Debian, of course).
I'll update once I've checked this but it's probably safe to assume that
it does.

Apologies for not responding - I didn't get any of the bug updates until
now.

#730332#34
Date:
2013-12-14 15:08:27 UTC
From:
To:
 From
https://bugs.launchpad.net/debian/+source/boinc/+bug/1250652/comments/9

"When launching BOINC Manager from the Gnome menu it produces an error
that it is unable to find /var/lib/boinc-client, which of course does
not exist unless boinc-client is also installed. Launching from the
terminal does not produce this error.

This is solved by removing the Path= variable from the .desktop file
(and logging out/in).

[Desktop Entry]
Type=Application
Version=1.0
Exec=/usr/bin/boincmgr
Path=/var/lib/boinc-client
Icon=boincmgr-32
Categories=System;Monitor;GTK;
Name=BOINC Manager
GenericName=BOINC monitor and control utility
GenericName[cs]=Monitorovací a ovládací nástroj pro BOINC
GenericName[de]=BOINC Überwachungs- und Kontrollprogramm
GenericName[pt]=Monitorização BOINC e utilitário de controlo
Comment=Configure or monitor a BOINC core client
Comment[cs]=Monitoruje a nastavuje klienta BOINC
Comment[de]=BOINC Basis Client konfigurieren oder überwachen
Comment[pt]=Configurar ou monitorizar o cliente básico do BOINC

HOWEVER:

This exists so that boincmgr can connect to the client automatically.

A better solution was a simple:
mkdir /var/lib/boinc-client
Then boincmgr does not complain.

Unless there is some intelligence that the menu system can use to ignore
the Path= if the directory does not exist, then it might be worth adding
an empty /var/lib/boinc-client to the boinc-manager package to avoid
this error."

#730332#39
Date:
2017-07-22 14:58:42 UTC
From:
To:
#730332#44
Date:
2025-12-05 18:00:20 UTC
From:
To:
Dear Maintainer,

this issue simply boils down to:

  * Having the `boinc-manager` package contain `/var/lib/boinc-client`
  * Having the `boinc-client` package use `Replaces: boinc-manager` (to allow
“file conflict”)
  * Downgrading the `Depends: boinc-client` in `boinc-manager` to `Recommends:
boinc-client`

Is this a permissable set of changes?

Thank you!

#730332#49
Date:
2025-12-13 10:00:35 UTC
From:
To:
In my tests I install libboinc7t64 and libwxgtk-webview3.2-1t64 then a copy of
boicmgr scp'd from another system works without the boinc-client package being
installed.

The best solution to the path issue that's raised might be to have a shell
script to run it which does:

cd /var/lib/boinc-client || true

Before running the program.