From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DFF981382C5 for ; Mon, 30 Nov 2020 02:19:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF6C4E087E; Mon, 30 Nov 2020 02:19:32 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CB995E087E for ; Mon, 30 Nov 2020 02:19:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 58DD7341523 for ; Mon, 30 Nov 2020 02:19:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E1348485 for ; Mon, 30 Nov 2020 02:19:27 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1606702758.bafbcc93354e2648f1853fdb0659025fdcafe000.asturm@gentoo> Subject: [gentoo-commits] proj/kde-sunset:master commit in: eclass/ X-VCS-Repository: proj/kde-sunset X-VCS-Files: eclass/qt3.eclass X-VCS-Directories: eclass/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: bafbcc93354e2648f1853fdb0659025fdcafe000 X-VCS-Branch: master Date: Mon, 30 Nov 2020 02:19:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 692f61d5-c573-43c7-91b4-cc86334daf97 X-Archives-Hash: 108f306cf2f3594c8649635b510603f4 commit: bafbcc93354e2648f1853fdb0659025fdcafe000 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Nov 30 02:15:15 2020 +0000 Commit: Andreas Sturmlechner gentoo 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 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 -# Davide Pesavento -# @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} -}