Bug 1847554

Summary: Turn lilypond into a weak dependency
Product: [Fedora] Fedora Reporter: Federico Bruni <fede>
Component: frescobaldiAssignee: Gwyn Ciesla <gwync>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: fede, gwync, oget.fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: frescobaldi-3.1.2-4.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-01 01:50:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Federico Bruni 2020-06-16 15:35:06 UTC
lilypond is currently a requirement to install Frescobaldi.
I suggest to make it a weak dependency (recommends). As Debian does, see:
https://packages.debian.org/buster/frescobaldi

This would allow to easily install Frescobaldi indipendently from lilypond (and its many dependencies, including texlive).

Several users prefer installing the "self-contained" installers available on lilypond.org. For a number of good reasons.
A weak dependency would be a good option for them.


PS
I thought I made a similar report some months ago, but I cannot find it anymore.
I hope I've not duplicated it.

Comment 1 Gwyn Ciesla 2020-06-19 19:06:35 UTC
Are you thinking Recommends: or Suggests: ?

https://docs.fedoraproject.org/en-US/packaging-guidelines/WeakDependencies/

I'm thinking Suggests.

Comment 2 Federico Bruni 2020-06-19 21:38:36 UTC
IIUC, Suggests: is a hint and hints are by default ignored by dnf.
So lilypond would not be installed by default.

Recommends: is a weak dependency, which is added to the dnf transaction.
So lilypond would be installed by default, unless --setopt=install_weak_deps=False is used.
It could also be removed later without forcing the uninstallation of Frescobaldi.

If my understanding is correct, I would lean towards Recommends.
Easier for regular users, but still configurable for advanced users.

Comment 3 Gwyn Ciesla 2020-06-22 15:38:35 UTC
Works for me. I'll build this when koji is back to full speed.

Comment 4 Fedora Update System 2020-06-22 16:47:50 UTC
FEDORA-2020-1b4d9096a5 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-1b4d9096a5

Comment 5 Fedora Update System 2020-06-23 01:05:19 UTC
FEDORA-2020-1b4d9096a5 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-1b4d9096a5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-1b4d9096a5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2020-07-01 01:50:26 UTC
FEDORA-2020-1b4d9096a5 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.