Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 126693 Details for
Bug 120116
eqmake - portage usage of qmake for qt3 and qt4
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Documentation for qt3.eclass
qt3.eclass.patch (text/plain), 1.99 KB, created by
Davide Pesavento
on 2007-08-02 10:49:13 UTC
(
hide
)
Description:
Documentation for qt3.eclass
Filename:
MIME Type:
Creator:
Davide Pesavento
Created:
2007-08-02 10:49:13 UTC
Size:
1.99 KB
patch
obsolete
>--- /usr/portage/eclass/qt3.eclass 2007-07-31 16:06:06.000000000 +0200 >+++ qt3.eclass 2007-08-02 12:44:10.633586913 +0200 >@@ -1,18 +1,15 @@ > # Copyright 2005 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/eclass/qt3.eclass,v 1.28 2007/07/31 13:42:23 caleb Exp $ >-# >-# Author Caleb Tennis <caleb@gentoo.org> >-# >-# This eclass is simple. Inherit it, and in your depend, do something like this: >-# >-# DEPEND="$(qt_min_version 3.1)" >-# >-# and it handles the rest for you >-# >-# Caveats: >-# >-# Currently, the ebuild assumes that a minimum version of Qt3 is NOT satisfied by Qt4 >+ >+# @ECLASS: qt3.eclass >+# @MAINTAINER: >+# Caleb Tennis <caleb@gentoo.org> >+# @BLURB: >+# Eclass for Qt3 packages >+# @DESCRIPTION: >+# This eclass contains various functions that may be useful >+# when dealing with packages using Qt3 libraries. > > inherit toolchain-funcs versionator > >@@ -26,11 +23,16 @@ > QTDIR="/usr/qt/3" > fi > >-PATH="${QTDIR}/bin:${PATH}" >- > addwrite "${QTDIR}/etc/settings" > addpredict "${QTDIR}/etc/settings" > >+# @FUNCTION: qt_min_version >+# @USAGE: [minimum version] >+# @DESCRIPTION: >+# This function is simple. In your depend, do something like this: >+# DEPEND="$(qt_min_version 3.1)" >+# and it handles the rest for you. Currently, the eclass assumes >+# that a minimum version of Qt3 is not satisfied by Qt4. > qt_min_version() { > local list=$(qt_min_version_list "$@") > if [[ ${list%% *} == "${list}" ]]; then >@@ -66,6 +68,12 @@ > echo ${VERSIONS} > } > >+# @FUNCTION: eqmake3 >+# @USAGE: [.pro file] [additional parameters to qmake] >+# @DESCRIPTION: >+# Runs qmake on the specified .pro file (defaults to >+# ${PN}.pro if eqmake3 was called with no argument). >+# Additional parameters are passed unmodified to qmake. > eqmake3() { > local LOGFILE="${T}/qmake-$$.out" > local projprofile="${1}" >@@ -101,6 +109,7 @@ > fi > > ${QTDIR}/bin/qmake ${projprofile} \ >+ QTDIR=${QTDIR} \ > QMAKE=${QTDIR}/bin/qmake \ > QMAKE_CC=$(tc-getCC) \ > QMAKE_CXX=$(tc-getCXX) \
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 120116
:
77957
|
77958
|
78305
|
78306
|
78307
|
78308
|
97893
|
97894
|
97895
|
97896
|
97903
|
97904
|
97986
|
97987
|
125739
|
125740
|
126353
|
126356
|
126357
|
126358
|
126616
|
126617
|
126656
|
126657
|
126693
|
126695
|
127769
|
127771
|
127984
|
128811
|
135202