Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 218945 Details for
Bug 304077
Patch to kde4-base.eclass for cross-compilation
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to kde4-base.eclass for cross-compilation
cross-kde.patch (text/plain), 1.47 KB, created by
Matthias Fauconneau
on 2010-02-08 22:40:21 UTC
(
hide
)
Description:
Patch to kde4-base.eclass for cross-compilation
Filename:
MIME Type:
Creator:
Matthias Fauconneau
Created:
2010-02-08 22:40:21 UTC
Size:
1.47 KB
patch
obsolete
>--- kde4-base.eclass.orig 2010-01-25 13:38:15.000000000 +0100 >+++ kde4-base.eclass 2010-02-08 23:08:37.000000000 +0100 >@@ -233,7 +233,6 @@ > > # KDE dependencies > kdecommondepend=" >- dev-lang/perl > >=x11-libs/qt-core-${QT_MINIMAL}:4[qt3support,ssl] > >=x11-libs/qt-gui-${QT_MINIMAL}:4[accessibility,dbus] > >=x11-libs/qt-qt3support-${QT_MINIMAL}:4[accessibility,kde] >@@ -247,6 +246,9 @@ > x11-libs/libXxf86vm > ) > " >+#perl is not needed on host (+ difficult crosscompilation) >+tc-is-cross-compiler || kdecommondepend="$kdecommondepend dev-lang/perl" >+ > if [[ ${PN} != kdelibs ]]; then > if [[ ${KDEBASE} = kde-base ]]; then > kdecommondepend+=" $(add_kdebase_dep kdelibs)" >@@ -578,7 +580,7 @@ > [[ ${PN} = kdelibs ]] && cmakeargs+=(-DKDE_DISTRIBUTION_TEXT=Gentoo) > > # Here we set the install prefix >- cmakeargs+=(-DCMAKE_INSTALL_PREFIX="${EPREFIX}${PREFIX}") >+ tc-is-cross-compiler || cmakeargs+=(-DCMAKE_INSTALL_PREFIX="${EPREFIX}${PREFIX}") > > # Use colors > QTEST_COLORED=1 >@@ -601,6 +603,11 @@ > cmakeargs+=(-DCMAKE_SYSTEM_PREFIX_PATH="${EKDEDIR}") > fi > >+ #qmake -query QT_INSTALL_LIBS unavailable when cross-compiling >+ tc-is-cross-compiler && cmakeargs+=(-DQT_LIBRARY_DIR=${ROOT}/usr/lib/qt4) >+ #kde-config -path data unavailable when cross-compiling >+ tc-is-cross-compiler && cmakeargs+=(-DKDE4_DATA_DIR=${ROOT}/usr/share/apps/) >+ > # Handle kdeprefix in application itself > if ! has kdeprefix ${IUSE//+} || ! use kdeprefix; then > # If prefix is /usr, sysconf needs to be /etc, not /usr/etc
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 304077
: 218945