View previous topic :: View next topic |
Author |
Message |
Hwoarang Retired Dev
Joined: 24 Feb 2007 Posts: 701 Location: Leeds, UK
|
Posted: Fri Jan 23, 2009 10:22 pm Post subject: [qt overlay] Qt beta and live ebuilds & Qt4 apps |
|
|
Qt Overlay
Updated: 04-02-2012
In this overlay you can find the following Qt live ebuilds
1) qt-4.8.9999 -> Live ebuilds from Nokia's 4.8 git branch
2) qt-4.9999 -> Live ebuilds from Nokia's master repository
Also, the following qt4 applications are included :
1) qt-creator ( live and testing ebuilds )
2) Snapshots for PyQt4 and sip
3) Razor-qt (live and testing ebuilds)
and many more
Make sure that you have read Documentation/README file first, before emerging any qt packages
Installation:
First way ( layman ):
Second way (Direct git clone)
Code: | git clone git://git.overlays.gentoo.org/proj/qt.git |
You can browse the overlay using the below link
http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=summary
Last edited by Hwoarang on Sat Feb 04, 2012 9:41 am; edited 20 times in total |
|
Back to top |
|
|
Rion Guru
Joined: 12 Oct 2006 Posts: 383 Location: Minsk, Belarus
|
Posted: Tue Jan 27, 2009 11:27 am Post subject: |
|
|
can not build qt-core.
USE="glib pch* qt3support ssl -custom-cxxflags% -debug doc"
Code: | make[1]: Entering directory `/var/tmp/portage/x11-libs/qt-core-4.9999/work/qt-x11-opensource-src-4.9999/tools/qdoc3'
make[1]: Цель `first' не требует выполнения команд.
make[1]: Leaving directory `/var/tmp/portage/x11-libs/qt-core-4.9999/work/qt-x11-opensource-src-4.9999/tools/qdoc3'
(cd /var/tmp/portage/x11-libs/qt-core-4.9999/work/qt-x11-opensource-src-4.9999/tools/qdoc3/test && QT_BUILD_TREE=/var/tmp/portage/x11-libs/qt-core-4.9999/work/qt-x11-opensource-src-4.9999 QT_SOURCE_TREE=/var/tmp/portage/x11-libs/qt-core-4.9999/work/qt-x11-opensource-src-4.9999 /var/tmp/portage/x11-libs/qt-core-4.9999/work/qt-x11-opensource-src-4.9999/tools/qdoc3/qdoc3 -Dopensourceedition qt-build-docs.qdocconf)
/var/tmp/portage/x11-libs/qt-core-4.9999/work/qt-x11-opensource-src-4.9999/doc/src/wince-customization.qdoc:57: Cannot find example file 'doc/src/snippets/code/doc_src_wince-customization.qdoc'
/var/tmp/portage/x11-libs/qt-core-4.9999/work/qt-x11-opensource-src-4.9999/doc/src/wince-customization.qdoc:57: Unexpected '\snippet (//! [0])'
..................................................................
qdoc: Cannot find file 'qws/simpledecoration/simpledecoration.pro' or 'qws/simpledecoration/qbuild.pro'
/var/tmp/portage/x11-libs/qt-core-4.9999/work/qt-x11-opensource-src-4.9999/tools/qdoc3/qdoc3: symbol lookup error: /var/tmp/portage/x11-libs/qt-core-4.9999/work/qt-x11-opensource-src-4.9999/tools/qdoc3/qdoc3: undefined symbol: _ZNK7QString7indexOfER7QRegExpi |
_________________ rion-overlay |
|
Back to top |
|
|
Hwoarang Retired Dev
Joined: 24 Feb 2007 Posts: 701 Location: Leeds, UK
|
Posted: Tue Jan 27, 2009 12:14 pm Post subject: |
|
|
Your output doesnt help me understand much.
Could you please post the file
/var/tmp/portage/x11-libs/qt-core-4.9999/temp/build.log
Thanks |
|
Back to top |
|
|
Rion Guru
Joined: 12 Oct 2006 Posts: 383 Location: Minsk, Belarus
|
Posted: Tue Jan 27, 2009 5:22 pm Post subject: |
|
|
Hwoarang wrote: | Could you please post the file
/var/tmp/portage/x11-libs/qt-core-4.9999/temp/build.log | maybe tomorrow. or you can try yourself
USE=doc emerge =qt-core-4.9999 _________________ rion-overlay |
|
Back to top |
|
|
Hwoarang Retired Dev
Joined: 24 Feb 2007 Posts: 701 Location: Leeds, UK
|
Posted: Tue Jan 27, 2009 5:25 pm Post subject: |
|
|
It works fine here and thats why I am asking |
|
Back to top |
|
|
Rion Guru
Joined: 12 Oct 2006 Posts: 383 Location: Minsk, Belarus
|
Posted: Wed Jan 28, 2009 6:32 am Post subject: |
|
|
Hwoarang wrote: | It works fine here and thats why I am asking | heh, just tried to recompile. seem to be fixed )
i also noticed changes in overlay and qt repo. _________________ rion-overlay |
|
Back to top |
|
|
Rion Guru
Joined: 12 Oct 2006 Posts: 383 Location: Minsk, Belarus
|
Posted: Wed Jan 28, 2009 8:38 am Post subject: |
|
|
Code: | >>> Emerging (1 of 1) dev-util/qt-creator-9999 from qting-edge
>>> Creating Manifest for /usr/local/portage/layman/qting-edge/dev-util/qt-creator
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
You should enable -g (or higher) for debugging!
>>> Creating Manifest for /usr/local/portage/layman/qting-edge/dev-util/qt-creator
>>> Unpacking source...
* git clone start -->
* repository: git://labs.trolltech.com/qt-creator
Initialized empty Git repository in /usr/distfiles/git-src/qt-creator/
remote: Counting objects: 15879, done.
remote: Compressing objects: 100% (5392/5392), done.
remote: Total 15879 (delta 12893), reused 13215 (delta 10426)
Receiving objects: 100% (15879/15879), 13.40 MiB | 225 KiB/s, done.
Resolving deltas: 100% (12893/12893), done.
* local clone: /usr/distfiles/git-src/qt-creator
* committish: master
>>> Unpacked to /var/tmp/portage/dev-util/qt-creator-9999/work/qt-creator-9999
* Applying fix_headers.patch ...
* Failed Patch: fix_headers.patch !
* ( /usr/local/portage/layman/qting-edge/dev-util/qt-creator/files/fix_headers.patch ) |
UPD: path in patch is incorrect
SECOND problem: why qt-creator installs with prefix=/ but not prefix=/usr/ ? _________________ rion-overlay |
|
Back to top |
|
|
gimpel Advocate
Joined: 15 Oct 2004 Posts: 2720 Location: Munich, Bavaria
|
Posted: Fri Jan 30, 2009 12:39 pm Post subject: |
|
|
Anyone tried KDE 4 (.2 or SVN) on top of qt 4.9999?
If yes, do you also get all sorts of segfaults in dmesg for all sorts of KDE 4 stuff, like:
Code: | nepomukserver[4840]: segfault at 0 ip 00007f43fd4ac827 sp 00007fff0744c280 error 4 in libQtCore.so.4.5.0[7f43fd454000+229000]
kio_http_cache_[9911]: segfault at 0 ip 00007f8bf2769827 sp 00007ffffb2be000 error 4 in libQtCore.so.4.5.0[7f8bf2711000+229000]
kconf_update[25802]: segfault at 0 ip 00007f1ab82bd827 sp 00007fffc0e14bd0 error 4 in libQtCore.so.4.5.0[7f1ab8265000+229000] |
KDE4 works fine, no problem at all. It's just that those messages appear quite frequently.
I'm still using qt-4.5 snapshot ebuilds, and wonder if it's a problem with those, or a problem with KDE4 vs. qt-4.5. _________________ http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
|
|
Back to top |
|
|
aliquid n00b
Joined: 14 Mar 2008 Posts: 37
|
Posted: Fri Jan 30, 2009 1:51 pm Post subject: |
|
|
gimpel wrote: | Anyone tried KDE 4 (.2 or SVN) on top of qt 4.9999?
If yes, do you also get all sorts of segfaults in dmesg for all sorts of KDE 4 stuff, like:
Code: | nepomukserver[4840]: segfault at 0 ip 00007f43fd4ac827 sp 00007fff0744c280 error 4 in libQtCore.so.4.5.0[7f43fd454000+229000]
kio_http_cache_[9911]: segfault at 0 ip 00007f8bf2769827 sp 00007ffffb2be000 error 4 in libQtCore.so.4.5.0[7f8bf2711000+229000]
kconf_update[25802]: segfault at 0 ip 00007f1ab82bd827 sp 00007fffc0e14bd0 error 4 in libQtCore.so.4.5.0[7f1ab8265000+229000] |
KDE4 works fine, no problem at all. It's just that those messages appear quite frequently.
I'm still using qt-4.5 snapshot ebuilds, and wonder if it's a problem with those, or a problem with KDE4 vs. qt-4.5. |
I don't have nepomuk installed but instead I have these:
Code: |
kdostartupconfi[1814]: segfault at 0 ip 00007fc294722727 sp 00007fff9d3e8670 error 4 in libQtCore.so.4.5.0[7fc2946cb000+22a000]
kconf_update[1848]: segfault at 0 ip 00007f5d9dd39727 sp 00007fffa6c0ac90 error 4 in libQtCore.so.4.5.0[7f5d9dce2000+22a000]
kio_http_cache_[1951]: segfault at 0 ip 00007fc764e17727 sp 00007fff6e765650 error 4 in libQtCore.so.4.5.0[7fc764dc0000+22a000]
|
|
|
Back to top |
|
|
Hwoarang Retired Dev
Joined: 24 Feb 2007 Posts: 701 Location: Leeds, UK
|
Posted: Sat Jan 31, 2009 11:19 am Post subject: |
|
|
Rion wrote: | Code: | >>> Emerging (1 of 1) dev-util/qt-creator-9999 from qting-edge
>>> Creating Manifest for /usr/local/portage/layman/qting-edge/dev-util/qt-creator
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
You should enable -g (or higher) for debugging!
>>> Creating Manifest for /usr/local/portage/layman/qting-edge/dev-util/qt-creator
>>> Unpacking source...
* git clone start -->
* repository: git://labs.trolltech.com/qt-creator
Initialized empty Git repository in /usr/distfiles/git-src/qt-creator/
remote: Counting objects: 15879, done.
remote: Compressing objects: 100% (5392/5392), done.
remote: Total 15879 (delta 12893), reused 13215 (delta 10426)
Receiving objects: 100% (15879/15879), 13.40 MiB | 225 KiB/s, done.
Resolving deltas: 100% (12893/12893), done.
* local clone: /usr/distfiles/git-src/qt-creator
* committish: master
>>> Unpacked to /var/tmp/portage/dev-util/qt-creator-9999/work/qt-creator-9999
* Applying fix_headers.patch ...
* Failed Patch: fix_headers.patch !
* ( /usr/local/portage/layman/qting-edge/dev-util/qt-creator/files/fix_headers.patch ) |
UPD: path in patch is incorrect
SECOND problem: why qt-creator installs with prefix=/ but not prefix=/usr/ ? |
1)Apparently the upstream did some changes and an make the patch invalid. I ll modify it . Thanks for mention it. As you understand its hard to support live ebuilds cause the upstream is doing changes all the time
2)qt creator doesnt install much in your system. Just 5-6 libs and a binary file .
Is there a specific issue you would like me to check? |
|
Back to top |
|
|
Rion Guru
Joined: 12 Oct 2006 Posts: 383 Location: Minsk, Belarus
|
|
Back to top |
|
|
Rion Guru
Joined: 12 Oct 2006 Posts: 383 Location: Minsk, Belarus
|
Posted: Mon Feb 02, 2009 7:57 am Post subject: |
|
|
just tried to remove all qt staff from my system and install qt-4.9999
got next error while compiling qt-core
Code: | /var/tmp/portage/x11-libs/qt-core-4.9999/work/qt-x11-opensource-src-4.9999/tools/qdoc3/qdoc3: error while loading shared libraries: libQtXml.so.4: cannot open shared object file: No such file or directory |
USE="doc glib pch qt3support ssl -custom-cxxflags -debug" _________________ rion-overlay |
|
Back to top |
|
|
Hwoarang Retired Dev
Joined: 24 Feb 2007 Posts: 701 Location: Leeds, UK
|
Posted: Mon Feb 02, 2009 11:11 am Post subject: |
|
|
Seems to me that I cant reprocude it here.
As i said before, dont show us only the error. I need to see the whole build.log file to understand what is going on. But since it compiles fine here I would say to try again. Maybe upstream was messing around but now its fixed |
|
Back to top |
|
|
Rion Guru
Joined: 12 Oct 2006 Posts: 383 Location: Minsk, Belarus
|
Posted: Mon Feb 02, 2009 11:36 am Post subject: |
|
|
Hwoarang wrote: | Maybe upstream was messing around but now its fixed | nevermind. i've already compiled with USE="-doc"
AFAIK, libqtxml is part of qt-core. probably something wrong in their makefiles. btw, MAKEOPTS="-j2". _________________ rion-overlay |
|
Back to top |
|
|
Hwoarang Retired Dev
Joined: 24 Feb 2007 Posts: 701 Location: Leeds, UK
|
Posted: Mon Feb 02, 2009 1:23 pm Post subject: |
|
|
Still, I cant reproduce it with doc flag enabled |
|
Back to top |
|
|
Riklaunim Apprentice
Joined: 16 Dec 2004 Posts: 286 Location: Poland
|
|
Back to top |
|
|
Rion Guru
Joined: 12 Oct 2006 Posts: 383 Location: Minsk, Belarus
|
Posted: Tue Feb 03, 2009 1:06 pm Post subject: |
|
|
i've modified install section of qt-creator-9999
Code: | src_install() {
emake INSTALL_ROOT="${D}/usr" install || die "emake install failed"
make_desktop_entry qtcreator QtCreator qtcreator_logo_128.png \
'Qt;Development;IDE' || die "make_desktop_entry failed"
} |
now it installs as expected on gentoo. _________________ rion-overlay |
|
Back to top |
|
|
Hwoarang Retired Dev
Joined: 24 Feb 2007 Posts: 701 Location: Leeds, UK
|
Posted: Tue Feb 03, 2009 1:35 pm Post subject: |
|
|
Rion wrote: | i've modified install section of qt-creator-9999
Code: | src_install() {
emake INSTALL_ROOT="${D}/usr" install || die "emake install failed"
make_desktop_entry qtcreator QtCreator qtcreator_logo_128.png \
'Qt;Development;IDE' || die "make_desktop_entry failed"
} |
now it installs as expected on gentoo. |
Sounds about right . I will take a look
@Riklaunim
Sure why not . We ll fix them if they are bad. But note that I am short on time now due to university exams. I will be able to handle them in about 3 weeks or maybe another dev can find time and do it |
|
Back to top |
|
|
Rion Guru
Joined: 12 Oct 2006 Posts: 383 Location: Minsk, Belarus
|
Posted: Tue Feb 03, 2009 1:40 pm Post subject: |
|
|
arora-9999-r2 does not even try to unpack.
I guess some eclass overrides unpack function with wrong one. _________________ rion-overlay |
|
Back to top |
|
|
Hwoarang Retired Dev
Joined: 24 Feb 2007 Posts: 701 Location: Leeds, UK
|
Posted: Tue Feb 03, 2009 1:45 pm Post subject: |
|
|
Fixed . Seems I broke it last night
Thanks for reporting |
|
Back to top |
|
|
Riklaunim Apprentice
Joined: 16 Dec 2004 Posts: 286 Location: Poland
|
|
Back to top |
|
|
neuron Advocate
Joined: 28 May 2002 Posts: 2371
|
Posted: Thu Feb 05, 2009 10:17 am Post subject: |
|
|
qt-creator-9999 needs EAPI=2 set, other than that, great work |
|
Back to top |
|
|
gaelic Tux's lil' helper
Joined: 30 Dec 2003 Posts: 119 Location: Vienna, Austria, Europe, World, Solar System, Milky Way, Universe
|
Posted: Thu Feb 05, 2009 10:33 am Post subject: |
|
|
i`ve got several problems with qt 4.5 and kde 4.2:
lancelot takes up 100% cpu (no problem with qt 4.4)
fonts don`t work when switching tasks (alt-tab)
strange behaviour, difficult to describe (seems to be slower, composite errors, etc.)
back to 4.4 for now. |
|
Back to top |
|
|
neuron Advocate
Joined: 28 May 2002 Posts: 2371
|
Posted: Thu Feb 05, 2009 10:42 am Post subject: |
|
|
My only problem so far is that kde4.2's kio_http doesn't seem to work at all, not with webkit and not with khtml, which means anything pulling online data just dies, including akregator + konqueror.
Gonna try to rebuild all of kde and see if that solves it, but I rebuilt kdelibs and konqueror (and webkit-kpart) without success.
Unable to create io-slave: klauncher said: Error loading 'kio_http'. |
|
Back to top |
|
|
gimpel Advocate
Joined: 15 Oct 2004 Posts: 2720 Location: Munich, Bavaria
|
Posted: Thu Feb 05, 2009 9:14 pm Post subject: |
|
|
qt-copy in kde's svn got updated to qt-4.5.0-rc1, so at least trunk should be on par with that soon.
EDIT: 4.5.0-rc1 indeed fixes all those segfaults for me. _________________ http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
|
|
Back to top |
|
|
|