Bug 721291

Summary: xfce4-power-manager depends on xfce4-doc. It should not.
Product: [Fedora] Fedora Reporter: Denys Vlasenko <dvlasenk>
Component: xfce4-power-managerAssignee: Christoph Wickert <cwickert>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: cwickert, kevin, maxamillion
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: xfce4-power-manager-1.0.10-2.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-12 03:30:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Denys Vlasenko 2011-07-14 08:40:25 UTC
I try to remove xfce4-doc, since I don't need it. Here's the result:

# yum erase xfce4-doc
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package xfce4-doc.noarch 0:4.8.1-2.fc15 will be erased
--> Processing Dependency: xfce4-doc for package: xfce-utils-4.8.1-2.fc15.i686
--> Processing Dependency: xfce4-doc for package:
xfce4-power-manager-1.0.3-1.fc15.i686
--> Processing Dependency: xfce4-doc for package: xfce4-panel-4.8.3-2.fc15.i686
--> Processing Dependency: xfce4-doc for package: xfdesktop-4.8.2-1.fc15.i686
...
Dependencies Resolved

=========================
 Package
=========================
Removing:
 xfce4-doc
Removing for dependencies:
 Thunar
 thunar-archive-plugin
 thunar-volman
 xfce-utils
 xfce4-mixer
 xfce4-panel
 xfce4-power-manager
 xfce4-session
 xfce4-session-engines
 xfce4-xkb-plugin
 xfdesktop
Transaction Summary
=========================
Remove       13 Package(s)

Installed size: 31 M
Is this ok [y/N]:


I think this is wrong. Instead of requiring xfce4-doc, these packages should
simply fail gracefully when help or doc files they try to display are not
found.

Comment 1 Christoph Wickert 2011-07-14 09:01:35 UTC
We need to ship xfce4-doc as a central part of Xfce because it contains the licenses. We also use it as a filesystem package to provide the /usr/share/xfce/doc folder hierarchy. The package itself is very small.

IHMO these are two good reasons to reason to leave it as is but I am open for suggestions.

Comment 2 Kevin Fenzi 2011-07-17 16:27:18 UTC
I think it's a reasonable way to do things... but I'm also open to suggestion if there's some more clever way to handle things. If not, I suggest we just close all these bugs. ;)

Comment 3 Kevin Fenzi 2011-07-23 20:23:47 UTC
*** Bug 721287 has been marked as a duplicate of this bug. ***

Comment 4 Kevin Fenzi 2011-07-23 20:23:50 UTC
*** Bug 721292 has been marked as a duplicate of this bug. ***

Comment 5 Kevin Fenzi 2011-07-23 20:23:53 UTC
*** Bug 721288 has been marked as a duplicate of this bug. ***

Comment 6 Christoph Wickert 2011-08-03 21:45:28 UTC
While I was updating xfce4-screenshooter I changed my mind: This is indeed a valid request, xfce4-screenshooter can be used without Xfce and should not depend on xfce4-doc.

We are shipping all licenses already in %{_docdir}/%{name}-%{version}. Now that rpm can cope with multiple directory ownership there is no need for xfce4-doc any longer. It will die sooner or later anyway since most programs in Xfce 4.8 install their help files into /usr/share/doc/xfce4 rather than /usr/share/xfce4/doc.

What do you think, Kevin? If we change this, we need to figure out which package obsoletes xfce4-doc.

Comment 7 Kevin Fenzi 2011-08-04 17:56:16 UTC
I'm fine with it as long as all the packages have their licenses and ownership doesn't cause a problem. 

Not sure what should obsolete xfce4-doc off hand. :( xfce-utils?

Comment 8 Fedora Update System 2011-11-01 22:02:46 UTC
xfce4-clipman-plugin-1.2.2-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/xfce4-clipman-plugin-1.2.2-1.fc16

Comment 9 Fedora Update System 2011-11-11 01:26:34 UTC
xfce4-clipman-plugin-1.2.2-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2011-11-11 01:29:33 UTC
xfce4-power-manager-1.0.10-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/xfce4-power-manager-1.0.10-2.fc16

Comment 11 Fedora Update System 2011-11-12 03:30:56 UTC
xfce4-power-manager-1.0.10-2.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.