/[gentoo-x86]/eclass/eutils.eclass
Gentoo

Diff of /eclass/eutils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.226 Revision 1.227
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.226 2006/02/20 11:56:33 flameeyes Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.227 2006/03/10 18:05:39 carlo Exp $
4# 4#
5# Author: Martin Schlemmer <azarah@gentoo.org> 5# Author: Martin Schlemmer <azarah@gentoo.org>
6# 6#
7# This eclass is for general purpose functions that most ebuilds 7# This eclass is for general purpose functions that most ebuilds
8# have to implement themselves. 8# have to implement themselves.
1510 1510
1511# Jeremy Huddleston <eradicator@gentoo.org>: 1511# Jeremy Huddleston <eradicator@gentoo.org>:
1512# preserve_old_lib /path/to/libblah.so.0 1512# preserve_old_lib /path/to/libblah.so.0
1513# preserve_old_lib_notify /path/to/libblah.so.0 1513# preserve_old_lib_notify /path/to/libblah.so.0
1514# 1514#
1515# These functions are useful when a lib in your package changes --soname. Such 1515# These functions are useful when a lib in your package changes --library. Such
1516# an example might be from libogg.so.0 to libogg.so.1. Removing libogg.so.0 1516# an example might be from libogg.so.0 to libogg.so.1. Removing libogg.so.0
1517# would break packages that link against it. Most people get around this 1517# would break packages that link against it. Most people get around this
1518# by using the portage SLOT mechanism, but that is not always a relevant 1518# by using the portage SLOT mechanism, but that is not always a relevant
1519# solution, so instead you can add the following to your ebuilds: 1519# solution, so instead you can add the following to your ebuilds:
1520# 1520#
1551 1551
1552 ewarn "An old version of an installed library was detected on your system." 1552 ewarn "An old version of an installed library was detected on your system."
1553 ewarn "In order to avoid breaking packages that link against it, this older version" 1553 ewarn "In order to avoid breaking packages that link against it, this older version"
1554 ewarn "is not being removed. In order to make full use of this newer version," 1554 ewarn "is not being removed. In order to make full use of this newer version,"
1555 ewarn "you will need to execute the following command:" 1555 ewarn "you will need to execute the following command:"
1556 ewarn " revdep-rebuild --soname ${SONAME}" 1556 ewarn " revdep-rebuild --library ${SONAME}"
1557 ewarn 1557 ewarn
1558 ewarn "After doing that, you can safely remove ${LIB}" 1558 ewarn "After doing that, you can safely remove ${LIB}"
1559 ewarn "Note: 'emerge gentoolkit' to get revdep-rebuild" 1559 ewarn "Note: 'emerge gentoolkit' to get revdep-rebuild"
1560 fi 1560 fi
1561} 1561}

Legend:
Removed from v.1.226  
changed lines
  Added in v.1.227

  ViewVC Help
Powered by ViewVC 1.1.20