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 F2E731382C5 for ; Thu, 22 Mar 2018 14:24:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1E6F2E0976; Thu, 22 Mar 2018 14:24:40 +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 DCAB5E0976 for ; Thu, 22 Mar 2018 14:24:39 +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 BD5A7335C36 for ; Thu, 22 Mar 2018 14:24:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 49687266 for ; Thu, 22 Mar 2018 14:24:37 +0000 (UTC) From: "Guilherme Amadio" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Guilherme Amadio" Message-ID: <1521728610.91e8ffac654ffdb0d29bb35827e6ec0ff7ab977d.amadio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/, sci-physics/root/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-physics/root/files/root-6.12.06-disable-ftgl.patch sci-physics/root/root-6.12.06-r1.ebuild X-VCS-Directories: sci-physics/root/ sci-physics/root/files/ X-VCS-Committer: amadio X-VCS-Committer-Name: Guilherme Amadio X-VCS-Revision: 91e8ffac654ffdb0d29bb35827e6ec0ff7ab977d X-VCS-Branch: master Date: Thu, 22 Mar 2018 14:24:37 +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: 47f5900c-31e4-4d5f-bc80-8101883de7bd X-Archives-Hash: 3a7020008324bae64b7ab93901e8a1dd commit: 91e8ffac654ffdb0d29bb35827e6ec0ff7ab977d Author: Guilherme Amadio gentoo org> AuthorDate: Thu Mar 22 10:21:03 2018 +0000 Commit: Guilherme Amadio gentoo org> CommitDate: Thu Mar 22 14:23:30 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91e8ffac Revert "sci-physics/root: have root6 compile on Prefix." This reverts commit 0fa97fd6f71bb38beb26c4015a1bf6b02d6207d3. This broke the build with USE=opengl. .../root/files/root-6.12.06-disable-ftgl.patch | 45 ---------------------- sci-physics/root/root-6.12.06-r1.ebuild | 6 +-- 2 files changed, 1 insertion(+), 50 deletions(-) diff --git a/sci-physics/root/files/root-6.12.06-disable-ftgl.patch b/sci-physics/root/files/root-6.12.06-disable-ftgl.patch deleted file mode 100644 index 89d8d550d30..00000000000 --- a/sci-physics/root/files/root-6.12.06-disable-ftgl.patch +++ /dev/null @@ -1,45 +0,0 @@ -Forwarded: https://sft.its.cern.ch/jira/browse/ROOT-9315 - -Index: root-6.12.06/cmake/modules/SearchInstalledSoftware.cmake -=================================================================== ---- root-6.12.06.orig/cmake/modules/SearchInstalledSoftware.cmake -+++ root-6.12.06/cmake/modules/SearchInstalledSoftware.cmake -@@ -1075,22 +1075,24 @@ if(globus) - endif() - - #---Check for ftgl if needed---------------------------------------------------------- --if(NOT builtin_ftgl) -- find_package(FTGL) -- if(NOT FTGL_FOUND) -- if(fail-on-missing) -- message(FATAL_ERROR "ftgl library not found and is required ('builtin_ftgl' is OFF). Set varible FTGL_ROOT_DIR to installation location") -- else() -- message(STATUS "ftgl library not found. Set variable FTGL_ROOT_DIR to point to your installation") -- message(STATUS "For the time being switching ON 'builtin_ftgl' option") -- set(builtin_ftgl ON CACHE BOOL "" FORCE) -+if(buildgl) -+ if(NOT builtin_ftgl) -+ find_package(FTGL) -+ if(NOT FTGL_FOUND) -+ if(fail-on-missing) -+ message(FATAL_ERROR "ftgl library not found and is required ('builtin_ftgl' is OFF). Set varible FTGL_ROOT_DIR to installation location") -+ else() -+ message(STATUS "ftgl library not found. Set variable FTGL_ROOT_DIR to point to your installation") -+ message(STATUS "For the time being switching ON 'builtin_ftgl' option") -+ set(builtin_ftgl ON CACHE BOOL "" FORCE) -+ endif() - endif() - endif() --endif() --if(builtin_ftgl) -- set(FTGL_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/graf3d/ftgl/inc) -- set(FTGL_CFLAGS -DBUILTIN_FTGL) -- set(FTGL_LIBRARIES FTGL) -+ if(builtin_ftgl) -+ set(FTGL_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/graf3d/ftgl/inc) -+ set(FTGL_CFLAGS -DBUILTIN_FTGL) -+ set(FTGL_LIBRARIES FTGL) -+ endif() - endif() - - #---Check for chirp-------------------------------------------------------------------- diff --git a/sci-physics/root/root-6.12.06-r1.ebuild b/sci-physics/root/root-6.12.06-r1.ebuild index 6f44ce517b4..c0815302e7d 100644 --- a/sci-physics/root/root-6.12.06-r1.ebuild +++ b/sci-physics/root/root-6.12.06-r1.ebuild @@ -9,7 +9,7 @@ CMAKE_MAKEFILE_GENERATOR=emake FORTRAN_NEEDED="fortran" PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) -inherit cmake-utils elisp-common eutils fortran-2 gnome2-utils prefix \ +inherit cmake-utils elisp-common eutils fortran-2 gnome2-utils \ python-single-r1 toolchain-funcs user versionator xdg-utils DESCRIPTION="C++ data analysis framework and interpreter from CERN" @@ -115,7 +115,6 @@ PATCHES=( "${FILESDIR}"/${PN}-6.11.02-hsimple.patch "${FILESDIR}"/${PN}-6.12.04-no-ocaml.patch "${FILESDIR}"/${PN}-6.12.04-z3.patch - "${FILESDIR}"/${PN}-6.12.06-disable-ftgl.patch ) pkg_setup() { @@ -152,8 +151,6 @@ src_prepare() { # CSS should use local images sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed" - - hprefixify build/CMakeLists.txt core/clingutils/CMakeLists.txt } # Note: ROOT uses bundled LLVM, because it is patched and API-incompatible with system LLVM. @@ -165,7 +162,6 @@ src_configure() { -DCMAKE_C_FLAGS="${CFLAGS}" -DCMAKE_CXX_FLAGS="${CXXFLAGS}" -DCMAKE_INSTALL_PREFIX="${EPREFIX}/${MY_PREFIX}" - -DDEFAULT_SYSROOT="${EPREFIX}" # for llvm system headers -Dexplicitlink=ON -Dexceptions=ON -Dfail-on-missing=ON