Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152242 - dev-libs/libsigc++ postinst improvement
Summary: dev-libs/libsigc++ postinst improvement
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: GNOME C++ Bindings Maintainers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-21 07:15 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2008-04-12 09:11 UTC (History)
1 user (show)

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 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2006-10-21 07:15:26 UTC
>pkg_postinst() {
>	ewarn "To allow parallel installation of sig++-1.0, sig++-1.2, and sig++2.0"
>	ewarn "the header files are now installed in a version specific"
>	ewarn "subdirectory.  Be sure to unmerge any libsig++ versions"
>	ewarn "< 1.0.4 that you may have previously installed."
>}

libsigc++ ebuild could detect if user really has installed <libsigc++-1.0.4 using has_version and provide more targeted information like "you have old version of libsigc++ installed. Please update it to ... (some newer version)." or not display this "Be sure to ..." warning. In my opinion it would more convenient and clear for the user.
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2008-04-12 09:11:37 UTC
It's not really needed. All libsigc++ versions are properly slotted and users should never have to worry about updating to or from a specific version.

If a package in portage incorrectly pulls libsigc++, a bug should be filed against that package. With the slotted deps in EAPI=1, this is now really easy to do.

Thanks