Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390773 - x11-misc/zim-0.53 version bump
Summary: x11-misc/zim-0.53 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-17 00:43 UTC by Alastair Murray
Modified: 2011-11-17 13:03 UTC (History)
1 user (show)

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


Attachments
ebuild with additional run-time depenencies. (zim-0.53.ebuild,1.68 KB, text/plain)
2011-11-17 00:43 UTC, Alastair Murray
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alastair Murray 2011-11-17 00:43:54 UTC
Created attachment 292825 [details]
ebuild with additional run-time depenencies.

Renaming the current x11-misc/zim-0.52 ebuild to version 0.53 works (tested on amd64).

I have, however, modified the ebuild to correctly list additional run-time dependencies based on appropriate use-flags.  zim already correctly detects the presence (or lack-of) these at run-time, so no changes are made to the installed files, but the dependency graph is now more complete.

Added run-time dependencies (all optional based on use-flags) for:
* bazaar? ( dev-vcs/bzr )
* gnuplot? ( sci-visualization/gnuplot )
* imagemagick? ( media-gfx/imagemagick )
* R? ( dev-lang/R )

Modified ebuild is attached.
Comment 1 Michael Weber (RETIRED) gentoo-dev 2011-11-17 08:12:53 UTC
Hi,

as far as i can say, the mentioned dependencies are optional and there is no build-system that changes installed files, if these are pre- or absent.

Therefore, use flags would result in useless re-emerges w/o effect on the installed files. I would suggest an elog message in pkg_postinst informing the user about the packages needed for specific VCS.

I'll finish this in 12 hours.

Michael
Comment 2 Alastair Murray 2011-11-17 11:47:01 UTC
That same logic may be applicable to all of the RDEPENDS in the ebuild then (the one currently in portage).

None of those use flags affect the ebuild, though I haven't checked to see if the install script checks for them (but RDEPENDS aren't guaranteed to exist at build time?  I'm not certain on the ebuild semantics.).
Comment 3 Michael Weber (RETIRED) gentoo-dev 2011-11-17 12:14:19 UTC
(In reply to comment #2)

yeah, test needs bzr for example.
Comment 4 Michael Weber (RETIRED) gentoo-dev 2011-11-17 13:03:54 UTC
+*zim-0.53 (17 Nov 2011)
+
+  17 Nov 2011; Michael Weber <xmw@gentoo.org> -zim-0.28.ebuild,
+  -files/zim-0.28-disable-updates.patch, -zim-0.46.ebuild,
+  -files/zim-0.46-disable-updates.patch, -zim-0.47.ebuild, +zim-0.53.ebuild:
+  Version bump (thanks to Alastair Murray for the report bug 390773), drop use
+  flags, remove old versions.
+