From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde-sunset:master commit in: eclass/
Date: Mon, 30 Nov 2020 02:19:27 +0000 (UTC) [thread overview]
Message-ID: <1606702758.bafbcc93354e2648f1853fdb0659025fdcafe000.asturm@gentoo> (raw)
commit: bafbcc93354e2648f1853fdb0659025fdcafe000
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 30 02:15:15 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Nov 30 02:19:18 2020 +0000
URL: https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=bafbcc93
qt3.eclass: Remove unused eclass
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
eclass/qt3.eclass | 141 ------------------------------------------------------
1 file changed, 141 deletions(-)
diff --git a/eclass/qt3.eclass b/eclass/qt3.eclass
deleted file mode 100644
index cd59f8e3..00000000
--- a/eclass/qt3.eclass
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 2005-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt3.eclass,v 1.41 2009/05/17 15:17:03 hwoarang Exp $
-
-# @ECLASS: qt3.eclass
-# @MAINTAINER:
-# kde-sunset overlay maintainers
-# @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 eutils
-
-QTPKG="dev-qt/qt-"
-QT3MAJORVERSIONS="3.3 3.2 3.1 3.0"
-QT3VERSIONS="3.3.8b-r1 3.3.8b 3.3.8-r4 3.3.8-r3 3.3.8-r2 3.3.8-r1 3.3.8 3.3.6-r5 3.3.6-r4 3.3.6-r3 3.3.6-r2 3.3.6-r1 3.3.6 3.3.5-r1 3.3.5 3.3.4-r9 3.3.4-r8 3.3.4-r7 3.3.4-r6 3.3.4-r5 3.3.4-r4 3.3.4-r3 3.3.4-r2 3.3.4-r1 3.3.4 3.3.3-r3 3.3.3-r2 3.3.3-r1 3.3.3 3.3.2 3.3.1-r2 3.3.1-r1 3.3.1 3.3.0-r1 3.3.0 3.2.3-r1 3.2.3 3.2.2-r1 3.2.2 3.2.1-r2 3.2.1-r1 3.2.1 3.2.0 3.1.2-r4 3.1.2-r3 3.1.2-r2 3.1.2-r1 3.1.2 3.1.1-r2 3.1.1-r1 3.1.1 3.1.0-r3 3.1.0-r2 3.1.0-r1 3.1.0"
-
-if [[ -z "${QTDIR}" ]]; then
- export QTDIR="/usr/qt/3"
-fi
-
-addwrite "${QTDIR}/etc/settings"
-addpredict "${QTDIR}/etc/settings"
-
-# @FUNCTION: qt_min_version
-# @USAGE: [minimum version]
-# @DESCRIPTION:
-# This function is deprecated. Use slot dependencies instead.
-qt_min_version() {
- local list=$(qt_min_version_list "$@")
- ewarn "${CATEGORY}/${PF}: qt_min_version() is deprecated. Use slot dependencies instead."
- if [[ ${list%% *} == "${list}" ]]; then
- echo "${list}"
- else
- echo "|| ( ${list} )"
- fi
-}
-
-qt_min_version_list() {
- local MINVER="$1"
- local VERSIONS=""
-
- case "${MINVER}" in
- 3|3.0|3.0.0) VERSIONS="=${QTPKG}3*";;
- 3.1|3.1.0|3.2|3.2.0|3.3|3.3.0)
- for x in ${QT3MAJORVERSIONS}; do
- if $(version_is_at_least "${MINVER}" "${x}"); then
- VERSIONS="${VERSIONS} =${QTPKG}${x}*"
- fi
- done
- ;;
- 3*)
- for x in ${QT3VERSIONS}; do
- if $(version_is_at_least "${MINVER}" "${x}"); then
- VERSIONS="${VERSIONS} =${QTPKG}${x}"
- fi
- done
- ;;
- *) VERSIONS="=${QTPKG}3*";;
- esac
-
- echo ${VERSIONS}
-}
-
-# @FUNCTION: eqmake3
-# @USAGE: [.pro file] [additional parameters to qmake]
-# @MAINTAINER:
-# Przemyslaw Maciag <troll@gentoo.org>
-# Davide Pesavento <davidepesa@gmail.com>
-# @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}"
- [[ -z ${projprofile} ]] && projprofile="${PN}.pro"
- shift 1
-
- ebegin "Processing qmake ${projprofile}"
-
- # file exists?
- if [[ ! -f ${projprofile} ]]; then
- echo
- eerror "Project .pro file \"${projprofile}\" does not exist"
- eerror "qmake cannot handle non-existing .pro files"
- echo
- eerror "This shouldn't happen - please send a bug report to bugs.gentoo.org"
- echo
- die "Project file not found in ${PN} sources"
- fi
-
- echo >> ${LOGFILE}
- echo "****** qmake ${projprofile} ******" >> ${LOGFILE}
- echo >> ${LOGFILE}
-
- # some standard config options
- local configoptplus="CONFIG += no_fixpath"
- local configoptminus="CONFIG -="
- if has debug ${IUSE} && use debug; then
- configoptplus="${configoptplus} debug"
- configoptminus="${configoptminus} release"
- else
- configoptplus="${configoptplus} release"
- configoptminus="${configoptminus} debug"
- fi
-
- ${QTDIR}/bin/qmake ${projprofile} \
- QTDIR=${QTDIR} \
- QMAKE=${QTDIR}/bin/qmake \
- QMAKE_CC=$(tc-getCC) \
- QMAKE_CXX=$(tc-getCXX) \
- QMAKE_LINK=$(tc-getCXX) \
- QMAKE_CFLAGS_RELEASE="${CFLAGS}" \
- QMAKE_CFLAGS_DEBUG="${CFLAGS}" \
- QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \
- QMAKE_CXXFLAGS_DEBUG="${CXXFLAGS}" \
- QMAKE_LFLAGS_RELEASE="${LDFLAGS}" \
- QMAKE_LFLAGS_DEBUG="${LDFLAGS}" \
- "${configoptminus}" \
- "${configoptplus}" \
- QMAKE_RPATH= \
- QMAKE_STRIP= \
- ${@} >> ${LOGFILE} 2>&1
-
- local result=$?
- eend ${result}
-
- # was qmake successful?
- if [[ ${result} -ne 0 ]]; then
- echo
- eerror "Running qmake on \"${projprofile}\" has failed"
- echo
- eerror "This shouldn't happen - please send a bug report to bugs.gentoo.org"
- echo
- die "qmake failed on ${projprofile}"
- fi
-
- return ${result}
-}
next reply other threads:[~2020-11-30 2:19 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-30 2:19 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-04-27 15:48 [gentoo-commits] proj/kde-sunset:master commit in: eclass/ Andreas Sturmlechner
2021-04-27 15:48 Andreas Sturmlechner
2020-12-07 20:53 Andreas Sturmlechner
2020-11-30 2:19 Andreas Sturmlechner
2020-11-30 2:19 Andreas Sturmlechner
2020-11-30 2:19 Andreas Sturmlechner
2020-11-30 2:19 Andreas Sturmlechner
2020-09-20 12:06 Andreas Sturmlechner
2020-08-25 14:59 Andreas Sturmlechner
2020-08-25 14:51 Andreas Sturmlechner
2020-08-23 19:46 Andreas Sturmlechner
2020-08-16 20:05 Andreas Sturmlechner
2020-08-13 14:50 Andreas Sturmlechner
2020-08-13 14:50 Andreas Sturmlechner
2020-08-13 14:50 Andreas Sturmlechner
2020-08-13 14:50 Andreas Sturmlechner
2018-09-12 20:41 Andreas Sturmlechner
2018-06-30 8:45 Andreas Sturmlechner
2018-06-30 8:45 Andreas Sturmlechner
2018-06-20 12:08 Andreas Sturmlechner
2018-05-31 20:31 Andreas Sturmlechner
2018-05-31 18:30 Andreas Sturmlechner
2018-05-31 18:30 Andreas Sturmlechner
2018-05-03 12:30 Andreas Sturmlechner
2018-04-10 13:32 Andreas Sturmlechner
2018-04-06 0:53 Andreas Sturmlechner
2016-12-17 19:08 Johannes Huber
2016-08-03 20:18 Johannes Huber
2016-04-24 7:07 Lars Wendler
2015-04-28 19:16 Ian Stakenvicius
2013-11-13 22:24 Lars Wendler
2011-05-05 21:11 Ladislav Láska
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1606702758.bafbcc93354e2648f1853fdb0659025fdcafe000.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox