Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100235 - Depending on qt3 when qt4 is in portage
Summary: Depending on qt3 when qt4 is in portage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 97404
  Show dependency tree
 
Reported: 2005-07-25 08:07 UTC by Caleb Tennis (RETIRED)
Modified: 2005-12-17 08:22 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 Caleb Tennis (RETIRED) gentoo-dev 2005-07-25 08:07:31 UTC
Ebuilds which currently have a depend on ">=x11-libs/qt-3.x.x" will cause an 
incorrect dependency structure on qt-4.x.x when it is release into stable 
portage. 
 
Steps to correct this: 
 
1) Make sure you have no greater-than(-or-equal-to) deps on qt3 in your 
ebuild/eclass. 
 
2) If you inherit the kde/kde-functions eclass to use the need-qt/set-qtdir 
function, you have a couple of options: 
 
 a) If your ebuilds relies only on qt, you can switch over to using the qt3 
eclass. 
 b) If you need kde related functions, you can keep the ebuild as is.  The 
kde-functions eclass inherits the qt3 eclass. 
 
 
3) The qt3 eclass provides a qt_min_version function which you can use in your 
depend statement, (e.g): 
 
  DEPEND="$(qt_min_version 3.2)" 
 
3a) Inheritors of the kde-functions eclass can still continue to use the 
need-qt function, which now calls qt_min_version, though the use of this 
function may be deprecated sometime in the future.  You are encouraged to use 
qt_min_version directly instead. 
 
4) You may, alternatively, come up with your own depend syntax.  This is valid 
(and encouraged if you know that it works): 
 
  DEPEND="=x11-libs/qt-3*" 
 
Other trickery like: 
 
  DEPEND="x11-libs/qt-3.3*"  
 
is also valid, though if a qt-3.4 version is released in the future this may 
cause problems upgrading.   
 
Summary: Using qt_min_version will probably cause the least amount of 
problems.
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2005-07-28 07:49:21 UTC
I have most of portage *fixed* now, except for cjk:  
  
app-i18n/uim/uim-0.4.6-r2.ebuild:       immqt? ( >=x11-libs/qt-3.3.3-r1 )  
app-i18n/uim/uim-0.4.6-r2.ebuild:       immqt-bc? ( >=x11-libs/qt-3.3.3-r1 )  
app-i18n/uim/uim-0.4.6-r2.ebuild:       qt? ( >=x11-libs/qt-3.3.3-r1 )  
app-i18n/uim/uim-0.4.7.ebuild:  immqt? ( >=x11-libs/qt-3.3.3-r1 )  
app-i18n/uim/uim-0.4.7.ebuild:  immqt-bc? ( >=x11-libs/qt-3.3.3-r1 )  
app-i18n/uim/uim-0.4.7.ebuild:  qt? ( >=x11-libs/qt-3.3.3-r1 )  
app-i18n/uim/uim-0.4.7.1.ebuild:        immqt? ( >=x11-libs/qt-3.3.3-r1 )  
app-i18n/uim/uim-0.4.7.1.ebuild:        immqt-bc? ( >=x11-libs/qt-3.3.3-r1 )  
app-i18n/uim/uim-0.4.7.1.ebuild:        qt? ( >=x11-libs/qt-3.3.3-r1 )  
app-i18n/uim/uim-0.4.7.1-r1.ebuild:     immqt? ( >=x11-libs/qt-3.3.3-r1 )  
app-i18n/uim/uim-0.4.7.1-r1.ebuild:     immqt-bc? ( >=x11-libs/qt-3.3.3-r1 )  
app-i18n/uim/uim-0.4.7.1-r1.ebuild:     qt? ( >=x11-libs/qt-3.3.3-r1 )  
app-i18n/qimhangul/qimhangul-0.0.1.ebuild:DEPEND=">=x11-libs/qt-3.3.3-r1"  
app-i18n/qimhangul/qimhangul-0.0.1.ebuild:              die "You need to  
rebuild >=x11-libs/qt-3.3.3-r1 with immqt-bc or immqt USE flag enabled."  
app-i18n/uim-svn/uim-svn-20050505.ebuild:       immqt?  
( >=x11-libs/qt-3.3.3-r1 )  
app-i18n/uim-svn/uim-svn-20050505.ebuild:       qt? ( >=x11-libs/qt-3.3.3-r1 )  
app-i18n/uim-qt/uim-qt-0.2.0.ebuild:    >=x11-libs/qt-3.3.3-r1"  
app-i18n/uim-qt/uim-qt-0.2.0.ebuild:    econf || die "You need to rebuild  
>=x11-libs/qt-3.3.3-r1 with immqt-bc(recommended) or immqt USE flag enabled."  
app-i18n/scim-qtimm/scim-qtimm-0.9.1.ebuild:            die "You need to  
rebuild >=x11-libs/qt-3.3.3-r1 with immqt-bc(recommended) or immqt USE flag  
enabled."  
app-i18n/scim-qtimm/scim-qtimm-0.8.95.ebuild:           die "You need to  
rebuild >=x11-libs/qt-3.3.3-r1 with immqt-bc(recommended) or immqt USE flag  
enabled."  
app-i18n/scim-qtimm/scim-qtimm-0.8.9.ebuild:            die "You need to  
rebuild >=x11-libs/qt-3.3.3-r1 with immqt-bc(recommended) or immqt USE flag  
enabled."  
app-i18n/scim-qtimm/scim-qtimm-0.9.2.ebuild:            die "You need to  
rebuild >=x11-libs/qt-3.3.3-r1 with immqt-bc(recommended) or immqt USE flag  
enabled."  
 
CCing.  
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-12-17 08:17:20 UTC
Sorry for the delay. Fixed all cjk stuff.
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2005-12-17 08:22:14 UTC
Sounds good.  Going to close as fixed