Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1149511 - The yelp help viewer should not depend on the gnome-user-docs package
Summary: The yelp help viewer should not depend on the gnome-user-docs package
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: yelp
Version: 21
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Matthew Barnes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1149668
TreeView+ depends on / blocked
 
Reported: 2014-10-05 17:25 UTC by Massimiliano
Modified: 2014-11-14 12:07 UTC (History)
5 users (show)

Fixed In Version: yelp-3.14.1-2.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1149668 (view as bug list)
Environment:
Last Closed: 2014-11-14 12:07:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Massimiliano 2014-10-05 17:25:41 UTC
Description of problem:

I have recently re-built my own KDE box based on F21 and I try:
 
# dnf remove gnome-user-docs
Dependencies resolved.
======================================================================
 Package             Arch       Versione            Repository   Dim.
======================================================================
Rimozione in corso:
 anaconda            x86_64     21.48.8-1.fc21      @System      18 k
 anaconda-gui        x86_64     21.48.8-1.fc21      @System     1.2 M
 gnome-user-docs     noarch     3.14.0-1.fc21       @System      39 M
 yelp                x86_64     1:3.14.0-2.fc21     @System     2.2 M
 yelp-libs           x86_64     1:3.14.0-2.fc21     @System     243 k
 yelp-xsl            noarch     3.14.0-1.fc21       @System     1.5 M

Riepilogo della transazione
======================================================================
Remove  6 Packages

So do I need other 40MB of gnome stuff in my remix? I don't think so.


Version-Release number of selected component (if applicable):
# rpm -q anaconda
anaconda-21.48.8-1.fc21.x86_64

Comment 1 Martin Kolman 2014-10-06 12:15:00 UTC
It looks like it got dragged in with yelp & dnf repoquery --whatrequires gnome-user-docs confirms that.

Anaconda recently got support for built-in help and it is using the yelp help viewer to display the help files. It indeed seems kinda weird that a help _viewer_ drags in 40 MB of documentation files.

Comment 2 Martin Kolman 2014-10-06 12:34:02 UTC
Yelp might be used for custom help content in a different desktop environment other than Gnome (XFCE, KDE, LXDE, etc.) or even outside of a normal desktop (Anaconda installation environment), so it should be possible to install just the viewer without the quite sizable accompanying Gnome user documentation that is not needed in such a case (as yelp is used to view custom content).

Comment 3 Massimiliano 2014-10-06 12:58:04 UTC
I agree, at least no gnome-user-docs. However anaconda is just an installer, maybe an help system is too much compared to simple help messages.

Comment 4 Martin Kolman 2014-10-06 13:17:39 UTC
(In reply to Massimiliano from comment #3)
> I agree, at least no gnome-user-docs. However anaconda is just an installer,
> maybe an help system is too much compared to simple help messages.
I disagree - even though we try to make the installation as easy as possible, some of the more advanced (and powerful) options (custom partitioning, advanced storage, advanced installation sources, advanced network configuration) might often require the user to consult the documentation, which should be as easily accessible as possible.

There is already the comprehensive Fedora installation guide which is available online[0] and yelp is ideally suited for directly viewing its docbook source files during the installation, without the need for either network connectivity or a second computer. This two sets of installation guides don't need to be maintained and kept in sync & that the documentation presented to the user is nicely formatted.

[0] http://docs.fedoraproject.org/en-US/Fedora/20/html/Installation_Guide/

Comment 5 Massimiliano 2014-10-06 22:24:29 UTC
Of course, we could also help users with hd videos, happy wizards, etc. Everything in a single, nice, 1TB install media...
;-)

Documentation should always be optional, expert users don't need it (they often read it before to start the installer).
IMHO a general installer, or a help viewer, also should not drag gui stuff:

# dnf repoquery --requires anaconda\* | egrep -i '(icon|theme|font|cursor)'

The predefined theme should take care of the appearance, in my case oxygen-gtk does the job.

Comment 6 Martin Kolman 2014-10-07 09:43:09 UTC
(In reply to Massimiliano from comment #5)
> Of course, we could also help users with hd videos, happy wizards, etc.
> Everything in a single, nice, 1TB install media...
> ;-)
> 
> Documentation should always be optional, expert users don't need it (they
> often read it before to start the installer).
> IMHO a general installer, or a help viewer, also should not drag gui stuff:
> 
> # dnf repoquery --requires anaconda\* | egrep -i '(icon|theme|font|cursor)'
> 
> The predefined theme should take care of the appearance, in my case
> oxygen-gtk does the job.
That's why we have the anaconda-tui package, that indeed does not have any GUI dependencies. The "anaconda" package is a metapackage of sorts that drags in the core, GUI & TUI. But anyway, I think we are getting too off-topic for this bug, which is about yelp itself and its dependencies.

We have a mailing list at anaconda-devel-list and the #anaconda IRC channel on Freenode and we can continue our discussion there if you want.

Comment 7 Massimiliano 2014-10-07 12:57:35 UTC
(In reply to Martin Kolman from comment #6)
> That's why we have the anaconda-tui package, that indeed does not have any
> GUI dependencies. The "anaconda" package is a metapackage of sorts that
> drags in the core, GUI & TUI. But anyway, I think we are getting too
> off-topic for this bug, which is about yelp itself and its dependencies.
>
I will try anaconda-tui asap, if it works as expected it could be a reasonable way to reduce the install media size (and dependencies), especially for live-remix.

Thanks
Massimiliano

Comment 8 Massimiliano 2014-10-29 23:03:15 UTC
Anaconda in text mode (liveinst --text) has not a reasonable interface, I think.

Comment 9 Fedora Update System 2014-11-10 14:23:27 UTC
yelp-3.14.1-2.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/yelp-3.14.1-2.fc21

Comment 10 Fedora Update System 2014-11-12 02:38:45 UTC
Package yelp-3.14.1-2.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing yelp-3.14.1-2.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-14740/yelp-3.14.1-2.fc21
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2014-11-14 12:07:51 UTC
yelp-3.14.1-2.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


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