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 3222F138334 for ; Wed, 27 Jun 2018 19:01:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD9CCE0922; Wed, 27 Jun 2018 19:01:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 892C6E090E for ; Wed, 27 Jun 2018 19:01:02 +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 73A2D335CB6 for ; Wed, 27 Jun 2018 19:01:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 069E5353 for ; Wed, 27 Jun 2018 19:00:58 +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: <1530126021.e0b122677c959ea9ecb1c99ca85a85a817a0c689.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/qtcurve/files/, x11-themes/qtcurve/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-themes/qtcurve/files/qtcurve-1.9.0-build_testing.patch x11-themes/qtcurve/qtcurve-1.9.0_rc1-r2.ebuild x11-themes/qtcurve/qtcurve-9999.ebuild X-VCS-Directories: x11-themes/qtcurve/files/ x11-themes/qtcurve/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: e0b122677c959ea9ecb1c99ca85a85a817a0c689 X-VCS-Branch: master Date: Wed, 27 Jun 2018 19:00:58 +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: c6fd2c86-88b4-4a77-8c40-f09ed574bdd1 X-Archives-Hash: 7488c183b1d8563db5099ee7da76bbc2 commit: e0b122677c959ea9ecb1c99ca85a85a817a0c689 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Jun 26 16:13:04 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Jun 27 19:00:21 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0b12267 x11-themes/qtcurve: Drop 2/3 unused cmake variables Already upstreamed patch enables kde5.eclass to handle the option. Bug: https://bugs.gentoo.org/659190 Package-Manager: Portage-2.3.40, Repoman-2.3.9 .../files/qtcurve-1.9.0-build_testing.patch | 44 ++++++++++++++++++++++ x11-themes/qtcurve/qtcurve-1.9.0_rc1-r2.ebuild | 2 +- x11-themes/qtcurve/qtcurve-9999.ebuild | 1 - 3 files changed, 45 insertions(+), 2 deletions(-) diff --git a/x11-themes/qtcurve/files/qtcurve-1.9.0-build_testing.patch b/x11-themes/qtcurve/files/qtcurve-1.9.0-build_testing.patch new file mode 100644 index 00000000000..16f7198aba8 --- /dev/null +++ b/x11-themes/qtcurve/files/qtcurve-1.9.0-build_testing.patch @@ -0,0 +1,44 @@ +From 237912b291dcc706fcc1d9b02a8398385d19f38f Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner +Date: Tue, 26 Jun 2018 18:03:06 +0200 +Subject: [PATCH] Switch from ENABLE_TEST to the ECM/CMake standard + BUILD_TESTING + +Summary: +BUILD_TESTING is used throughout KDE projects as provided by +CTest and/or KDECMakeSettings. + +Reviewers: yuyichao + +Reviewed By: yuyichao + +Differential Revision: https://phabricator.kde.org/D13741 +--- + CMakeLists.txt | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 70e21b3a..15f6b177 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -52,7 +52,7 @@ qtc_option(ENABLE_QT4 "Building Qt4 theme." On) + qtc_option(ENABLE_QT5 "Building Qt5 theme." On) + qtc_option(ENABLE_GTK2 "Building Gtk2 theme." On) + # option(ENABLE_GTK3 "Building Gtk3 theme." On) +-option(ENABLE_TEST "Enable testing." On) ++option(BUILD_TESTING "Enable testing." On) + option(QTC_ENABLE_X11 "Enable X11" On) + option(QTC_INSTALL_PO "Install translation files." On) + +@@ -247,7 +247,7 @@ if(ENABLE_GTK2) + add_subdirectory(gtk2) + endif() + add_subdirectory(tools) +-if(ENABLE_TEST) ++if(BUILD_TESTING) + enable_testing() + add_subdirectory(test) + endif() +-- +2.18.0 + diff --git a/x11-themes/qtcurve/qtcurve-1.9.0_rc1-r2.ebuild b/x11-themes/qtcurve/qtcurve-1.9.0_rc1-r2.ebuild index ae1d8dc5cf1..e795ba2ee0f 100644 --- a/x11-themes/qtcurve/qtcurve-1.9.0_rc1-r2.ebuild +++ b/x11-themes/qtcurve/qtcurve-1.9.0_rc1-r2.ebuild @@ -67,6 +67,7 @@ DOCS=( AUTHORS ChangeLog.md README.md TODO.md ) PATCHES=( "${FILESDIR}/${PN}-1.9.0-rare_crash_hang_fix.patch" + "${FILESDIR}/${PN}-1.9.0-build_testing.patch" ) src_configure() { @@ -77,7 +78,6 @@ src_configure() { -DQTC_KDE4_DEFAULT_HOME=ON -DENABLE_GTK2="$(usex gtk)" -DENABLE_QT5="$(usex qt5)" - -DENABLE_TEST="$(usex test)" -DQTC_ENABLE_X11="$(usex X)" -DQTC_INSTALL_PO="$(usex nls)" -DQTC_QT5_ENABLE_KDE="$(usex plasma)" diff --git a/x11-themes/qtcurve/qtcurve-9999.ebuild b/x11-themes/qtcurve/qtcurve-9999.ebuild index ca3205965a3..d5f28086e7c 100644 --- a/x11-themes/qtcurve/qtcurve-9999.ebuild +++ b/x11-themes/qtcurve/qtcurve-9999.ebuild @@ -77,7 +77,6 @@ src_configure() { -DQTC_KDE4_DEFAULT_HOME=ON -DENABLE_GTK2="$(usex gtk)" -DENABLE_QT5="$(usex qt5)" - -DENABLE_TEST="$(usex test)" -DQTC_ENABLE_X11="$(usex X)" -DQTC_INSTALL_PO="$(usex nls)" -DQTC_QT5_ENABLE_KDE="$(usex plasma)"