Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 311481 (qt4eclass) - [tracker] Migrate ebuilds from qt4.eclass to qt4-r2.eclass usage
Summary: [tracker] Migrate ebuilds from qt4.eclass to qt4-r2.eclass usage
Status: RESOLVED FIXED
Alias: qt4eclass
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL: http://dev.gentoo.org/~wired/checks/q...
Whiteboard:
Keywords: Tracker
Depends on: 311567 314929 395557 CVE-2012-1775 409677 409689 409705 409761 409765 409767 409775 409985 409997 410025 410027 410029 410031 410107 410111 410157 410163 410169 410377 410379 411873 413551 413553 413881 414009 414011 416885 416891
Blocks:
  Show dependency tree
 
Reported: 2010-03-26 19:16 UTC by Ben de Groot (RETIRED)
Modified: 2012-10-16 14:34 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 Ben de Groot (RETIRED) gentoo-dev 2010-03-26 19:16:27 UTC
The attached URL has a list with ebuilds still using the deprecated qt4 eclass. These ebuilds should be migrated to use qt4-r2.eclass instead.

Things to note regarding this migration:

1. ebuilds with an EAPI <2 should be migrated to use EAPI=3
   this means using separate src_prepare and src_configure stages,
   as well as implementing use deps and slot notation
2. QT4_BUILT_WITH_USE_CHECK and QT4_OPTIONAL_BUILT_WITH_USE_CHECK should be
   replaced with use deps
3. eqmake4 can now find most .pro files automatically, so you most likely
   can simply use the default qt4-r2_src_configure function
4. we now have exported default src_configure, src_compile and
   src_install functions
5. LANGS and LANGSLONG variables provide automatic generation of expanded
   linguas_* useflags
6. DOCS and DOCSDIR variables will install documentation using the default
   qt4-r2_src_install function
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2010-03-26 20:18:04 UTC
Consult the Qt4-based-ebuild-howto documentation for extended info

http://www.gentoo.org/proj/en/desktop/qt/qt4-based-ebuild-howto.xml
Comment 2 Sergey Ilinykh 2010-04-12 12:38:53 UTC
it seems it's impossible anymore to call eqmake4 with arguments like:
MY_QMAKE_FLAG="VAL1 VAL2 VAL3"

worked fine with previous eclass

i have ebuild in my overlay which executes eqmake4 myapp.pro ENABLED_PLUGINS="plugin1 plugin2" and this doesn't work. just "qmake" works fine.

Comment 3 Markos Chandras (RETIRED) gentoo-dev 2010-04-12 12:56:16 UTC
There must be something wrong with your ebuild

eqmake4 <project.pro> "<parameter>=<value>" works on eqmake4

Please attach build.log and your ebuild 
Comment 4 Sergey Ilinykh 2010-04-12 13:10:35 UTC
Markos, try to read more closely my message, it contains useful info ;-)

PS values separated by space
PS2 http://code.google.com/p/rion-overlay/source/detail?r=aa6728412e5bfde85ad4979daf96d2d140312493
Comment 5 Sergey Ilinykh 2010-04-12 13:39:18 UTC
when executing qmake in the eclass you must surround ${qmake_args} with quotes to make it work properly
Comment 6 Ben de Groot (RETIRED) gentoo-dev 2012-10-16 14:34:24 UTC
All ebuilds have been migrated or removed from the tree. The qt4.eclass was lastrited a month ago and has now been removed.