From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0B879138A69 for ; Sat, 11 Apr 2015 17:11:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B20ECE09EF; Sat, 11 Apr 2015 17:11:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 44B22E09EF for ; Sat, 11 Apr 2015 17:11:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2733E3406B1 for ; Sat, 11 Apr 2015 17:11:24 +0000 (UTC) Received: by oystercatcher.gentoo.org (Postfix, from userid 2323) id B6E9615B3F; Sat, 11 Apr 2015 17:11:22 +0000 (UTC) From: "Michael Palimaka (kensington)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, kensington@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog kde5-functions.eclass kde5.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog kde5-functions.eclass kde5.eclass X-VCS-Directories: eclass X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20150411171122.B6E9615B3F@oystercatcher.gentoo.org> Date: Sat, 11 Apr 2015 17:11:22 +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-Archives-Salt: 71c3670b-f9b8-480f-b3b7-6329cfce6333 X-Archives-Hash: f2b00a21864036ac925a9899c5a86189 kensington 15/04/11 17:11:22 Modified: ChangeLog kde5-functions.eclass kde5.eclass Log: Sync with KDE overlay - don't set CMAKE_MIN_VERSION which is already set by cmake-utils, remove old extra-cmake-utils logic, and improve linguas handling. Revision Changes Path 1.1586 eclass/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1586&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1586&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1585&r2=1.1586 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v retrieving revision 1.1585 retrieving revision 1.1586 diff -u -r1.1585 -r1.1586 --- ChangeLog 11 Apr 2015 16:31:36 -0000 1.1585 +++ ChangeLog 11 Apr 2015 17:11:22 -0000 1.1586 @@ -1,6 +1,12 @@ # ChangeLog for eclass directory # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1585 2015/04/11 16:31:36 kensington Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1586 2015/04/11 17:11:22 kensington Exp $ + + 11 Apr 2015; Michael Palimaka kde5-functions.eclass, + kde5.eclass: + Sync with KDE overlay - don't set CMAKE_MIN_VERSION which is already set by + cmake-utils, remove old extra-cmake-utils logic, and improve linguas + handling. 11 Apr 2015; Michael Palimaka kde5.eclass: extra-cmake-modules moved from dev-libs to kde-frameworks. 1.6 eclass/kde5-functions.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/kde5-functions.eclass?rev=1.6&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/kde5-functions.eclass?rev=1.6&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/kde5-functions.eclass?r1=1.5&r2=1.6 Index: kde5-functions.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/kde5-functions.eclass,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- kde5-functions.eclass 18 Mar 2015 13:04:35 -0000 1.5 +++ kde5-functions.eclass 11 Apr 2015 17:11:22 -0000 1.6 @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde5-functions.eclass,v 1.5 2015/03/18 13:04:35 kensington Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde5-functions.eclass,v 1.6 2015/04/11 17:11:22 kensington Exp $ # @ECLASS: kde5-functions.eclass # @MAINTAINER: @@ -23,15 +23,10 @@ *) die "EAPI=${EAPI:-0} is not supported" ;; esac -# @ECLASS-VARIABLE: ECM_MINIMAL -# @DESCRIPTION: -# Minimal extra-cmake-modules version to require for the package. -: ${ECM_MINIMAL:=1.7.0} - # @ECLASS-VARIABLE: FRAMEWORKS_MINIMAL # @DESCRIPTION: # Minimal Frameworks version to require for the package. -: ${FRAMEWORKS_MINIMAL:=5.7.0} +: ${FRAMEWORKS_MINIMAL:=5.8.0} # @ECLASS-VARIABLE: PLASMA_MINIMAL # @DESCRIPTION: 1.6 eclass/kde5.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/kde5.eclass?rev=1.6&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/kde5.eclass?rev=1.6&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/kde5.eclass?r1=1.5&r2=1.6 Index: kde5.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/kde5.eclass,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- kde5.eclass 11 Apr 2015 16:31:36 -0000 1.5 +++ kde5.eclass 11 Apr 2015 17:11:22 -0000 1.6 @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde5.eclass,v 1.5 2015/04/11 16:31:36 kensington Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde5.eclass,v 1.6 2015/04/11 17:11:22 kensington Exp $ # @ECLASS: kde5.eclass # @MAINTAINER: @@ -12,8 +12,6 @@ if [[ -z ${_KDE5_ECLASS} ]]; then _KDE5_ECLASS=1 -CMAKE_MIN_VERSION="2.8.12" - # @ECLASS-VARIABLE: VIRTUALX_REQUIRED # @DESCRIPTION: # For proper description see virtualx.eclass manpage. @@ -40,7 +38,7 @@ # @ECLASS-VARIABLE: KDE_AUTODEPS # @DESCRIPTION: # If set to "false", do nothing. -# For any other value, add a dependency on dev-libs/extra-cmake-modules and dev-qt/qtcore:5. +# For any other value, add a dependency on dev-qt/qtcore:5 and kde-frameworks/extra-cmake-modules:5. : ${KDE_AUTODEPS:=true} # @ECLASS-VARIABLE: KDE_DEBUG @@ -107,32 +105,26 @@ case ${KDE_AUTODEPS} in false) ;; *) - if [[ ${CATEGORY} = kde-frameworks ]]; then - ECM_MINIMAL=1.$(get_version_component_range 2).0 - fi - if [[ ${KDE_BUILD_TYPE} = live ]]; then case ${CATEGORY} in kde-frameworks) - ECM_MINIMAL=9999 FRAMEWORKS_MINIMAL=9999 ;; kde-plasma) - ECM_MINIMAL=9999 FRAMEWORKS_MINIMAL=9999 ;; *) ;; esac fi - DEPEND+=" >=kde-frameworks/extra-cmake-modules-${ECM_MINIMAL}" + DEPEND+=" $(add_frameworks_dep extra-cmake-modules)" RDEPEND+=" >=kde-frameworks/kf-env-3" COMMONDEPEND+=" >=dev-qt/qtcore-${QT_MINIMAL}:5" if [[ ${CATEGORY} = kde-plasma ]]; then RDEPEND+=" !kde-apps/kde-l10n[-minimal] - !kde-base/kde-l10n:4 + !kde-base/kde-l10n:4[-minimal(-)] " fi @@ -142,8 +134,6 @@ !kde-base/${PN} " fi - - unset ecm_version ;; esac @@ -373,11 +363,21 @@ # enable only the requested translations # when required if [[ ${KDE_BUILD_TYPE} = release ]] ; then - for lang in $(ls po) ; do + for lang in $(ls po 2> /dev/null) ; do if ! has ${lang} ${LINGUAS} ; then rm -rf po/${lang} fi done + + if [[ ${KDE_HANDBOOK} = true ]] ; then + pushd doc > /dev/null + for lang in $(ls) ; do + if ! has ${lang} ${LINGUAS} ; then + comment_add_subdirectory ${lang} + fi + done + popd > /dev/null + fi else rm -rf po fi @@ -453,7 +453,7 @@ fi cmake-utils_src_test - } + } # When run as normal user during ebuild development with the ebuild command, the # kde tests tend to access the session DBUS. This however is not possible in a real