Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440594 - app-text/docbook2X-0.8.8-r2: some elog messages should only be shown when upgrading from an old enough package.
Summary: app-text/docbook2X-0.8.8-r2: some elog messages should only be shown when upg...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo SGML herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: first-time-messages
  Show dependency tree
 
Reported: 2012-10-31 11:29 UTC by poletti.marco
Modified: 2012-10-31 17:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description poletti.marco 2012-10-31 11:29:44 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package app-text/docbook2X-0.8.8-r2, the following elog messages are displayed:

 * To avoid conflict with docbook-sgml-utils, which is much more widely used,
 * all executables have been renamed to *.pl.

Such messages should only be displayed when the package is upgraded from an old enough package (and possibly for new installs).
These situations can be checked in the ebuild as follows:

if has_version '<app-text/docbook2X-0.8.8-r2-1.0'; then

Or, if the message should also be displayed for new installs:

if !has_version 'app-text/docbook2X-0.8.8-r2' || has_version '<app-text/docbook2X-0.8.8-r2-1.0'; then

Remember to replace 1.0 with the right version number.

See the tracker bug 440214 for more details.
Comment 1 Mike Gilbert gentoo-dev 2012-10-31 17:24:26 UTC
+  31 Oct 2012; Mike Gilbert <floppym@gentoo.org> -docbook2X-0.6.1-r2.ebuild,
+  -docbook2X-0.8.7-r1.ebuild, -docbook2X-0.8.8-r1.ebuild,
+  -docbook2X-0.8.8.ebuild, docbook2X-0.8.8-r2.ebuild:
+  Drop elog messages, bug 440594 by poletti.marco. Remove old.