Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216708 - x11-libs/qt*-4.4.0_rc1 version bump
Summary: x11-libs/qt*-4.4.0_rc1 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-07 14:18 UTC by Alexey Charkov
Modified: 2008-04-11 15:45 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to make qt4-build.eclass compatible with rc* releases as well (qt4-build-rc-compatibility.patch,372 bytes, patch)
2008-04-07 14:21 UTC, Alexey Charkov
Details | Diff
Changes to the qt-gui ebuild as compared to qt-gui-4.4.0_beta1.ebuild (qt-gui-4.4.0_rc1.ebuild.patch,352 bytes, patch)
2008-04-07 14:25 UTC, Alexey Charkov
Details | Diff
Changes to the qt-qt3support ebuild as compared to qt-qt3support-4.4.0_beta1.ebuild (qt-qt3support-4.4.0_rc1.ebuild.patch,342 bytes, patch)
2008-04-07 14:31 UTC, Alexey Charkov
Details | Diff
Unset ARCH before compilation (qt-core-arch.patch,379 bytes, patch)
2008-04-07 21:54 UTC, Alexey Charkov
Details | Diff
Unset ARCH before compilation (all packages) (qt4-build-unset-arch.patch,298 bytes, patch)
2008-04-07 22:18 UTC, Alexey Charkov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Charkov 2008-04-07 14:18:38 UTC
Qt 4.4.0-rc1 was released on April, 03. Changes needed to build it are a straightforward modification of qt4-build.eclass, change in QT4_TARGET_DIRECTORIES for qt-gui and added dependency on phonon for qt-qt3support (it is checked for presence on build time).

I am currently successfully running it on my ~amd64 system, so it is probably worth consideration for inclusion in the Portage tree.

Reproducible: Always

Steps to Reproduce:
Comment 1 Alexey Charkov 2008-04-07 14:21:52 UTC
Created attachment 148982 [details, diff]
Patch to make qt4-build.eclass compatible with rc* releases as well
Comment 2 Alexey Charkov 2008-04-07 14:25:09 UTC
Created attachment 148984 [details, diff]
Changes to the qt-gui ebuild as compared to qt-gui-4.4.0_beta1.ebuild
Comment 3 Alexey Charkov 2008-04-07 14:31:32 UTC
Created attachment 148985 [details, diff]
Changes to the qt-qt3support ebuild as compared to qt-qt3support-4.4.0_beta1.ebuild

All the other ebuilds are the same as their x11-libs/qt*-4.4.0_beta1.ebuild counterparts except for 's/beta/rc/' in file names.
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-04-07 17:36:57 UTC
(In reply to comment #2)
> Created an attachment (id=148984) [edit]
> Changes to the qt-gui ebuild as compared to qt-gui-4.4.0_beta1.ebuild

So which package will install lrelease and lupdate?
Comment 5 Alexey Charkov 2008-04-07 19:54:44 UTC
(In reply to comment #4)
> (In reply to comment #2)
> > Created an attachment (id=148984) [edit]
> > Changes to the qt-gui ebuild as compared to qt-gui-4.4.0_beta1.ebuild
> 
> So which package will install lrelease and lupdate?
> 

It looks like they simply changed the source directory structure. lrelease and lupdate are no longer in src/, but are installed with qt-gui (from tools/ dir, as far as I remember):
alchark@alchark-u3s ~ $ equery f qt-gui | grep lrelease
/usr/bin/lrelease
alchark@alchark-u3s ~ $ equery f qt-gui | grep lupdate
/usr/bin/lupdate
Comment 6 Alexey Charkov 2008-04-07 21:54:24 UTC
Created attachment 149054 [details, diff]
Unset ARCH before compilation

It seems that Portage's ARCH variable incorrectly overrides architecture autodetection in the configure script (at least on amd64), which results in Qt being build with 'generic' arch instead of an optimized one, such as x86_64. If the variable is unset prior to compilation, the configure script correctly autodetects x86_64 platform and builds accordingly. I am not sure whether this variable is needed at any point later, but compilation and installation finish fine.
Comment 7 Alexey Charkov 2008-04-07 22:18:33 UTC
Created attachment 149056 [details, diff]
Unset ARCH before compilation (all packages)

The aforementioned ARCH issue affects all packages, not only qt-core, so is is better to deal with in the eclass.
Comment 8 Alexey Charkov 2008-04-11 15:45:53 UTC
Qt-4.4.0-rc1 was added to Portage on April, 10. The ${ARCH} issue is fixed in the updated qt4-build.eclass, so the workaround with unsetting is no longer needed either.