From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IJErMtKR4WMLwwAAbAwnHQ (envelope-from ) for ; Tue, 07 Feb 2023 00:48:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iPIRMtKR4WO8nQAAauVa8A (envelope-from ) for ; Tue, 07 Feb 2023 00:48:34 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7D4D81C1D1 for ; Tue, 7 Feb 2023 00:48:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pPBDd-0007Rh-MA; Mon, 06 Feb 2023 18:48:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pPBDQ-0007ND-3l for guix-patches@gnu.org; Mon, 06 Feb 2023 18:48:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pPBDP-0000Cx-2B for guix-patches@gnu.org; Mon, 06 Feb 2023 18:48:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pPBDO-0001IX-DC for guix-patches@gnu.org; Mon, 06 Feb 2023 18:48:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61332] [PATCH] gnu: Remove opencascade-oce. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 06 Feb 2023 23:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61332 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61332@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16757272524792 (code B ref -1); Mon, 06 Feb 2023 23:48:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Feb 2023 23:47:32 +0000 Received: from localhost ([127.0.0.1]:50418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPBCt-0001FD-R2 for submit@debbugs.gnu.org; Mon, 06 Feb 2023 18:47:32 -0500 Received: from lists.gnu.org ([209.51.188.17]:54882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPBCr-0001F1-Oa for submit@debbugs.gnu.org; Mon, 06 Feb 2023 18:47:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pPBCr-0006no-Gq for guix-patches@gnu.org; Mon, 06 Feb 2023 18:47:29 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pPBCp-00009w-33 for guix-patches@gnu.org; Mon, 06 Feb 2023 18:47:29 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id DDCA82405A4 for ; Tue, 7 Feb 2023 00:47:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1675727244; bh=tLNijQRBaemedaw5PIDbmpDOc8PVywckJHqtTYKUUvs=; h=From:To:Cc:Subject:Date:From; b=HiQ15SiO5wV+0HoBUbKplF8kXCfKx49fTmfoV9yx+kufh/h+BuNS0d4YXywwLZJUY D2UjDAEubGmLKpqZ6R6K8PBzEyT0B3Ke3BQ3QZ7ZA1GjL3rgt8chlyqNmANw4tAjz5 gCmhSDyAmD9knD6x0E2UueDn9INbnLUiOT7bu+nfapbaCwLs0gmxKyM/HxlhxG2eOz HwLfrrkx16EyTLa8RIrOD4fLZc1AEG73sRKcARTMttUbxBMbJP031Zdmf42sKcaXb7 LWuSjy99B79yHKaVqcdHwZpL12pTEKedWHzbR65scauWkpZkTYBKq7OC7Os2INSlr7 ld0CF1ruvFu3Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4P9jbv5Rl1z6tm6; Tue, 7 Feb 2023 00:47:23 +0100 (CET) From: Vinicius Monego Date: Mon, 6 Feb 2023 23:47:08 +0000 Message-Id: <20230206234708.2606276-1-monego@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=monego@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=HiQ15SiO; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675727314; a=rsa-sha256; cv=none; b=igYDSnOy/f8ePKUa7GyKMJ9mmm2OyiOngq8nzBswsxOxwFuGoucpmfUmutSuwvLCO4nbpS 6kBa2H6rtYcxgkLZPHrSIV/fSp5ftaYjboLF0XnZ68rzMeOIca+yZAEXKMnb/fA8X/cxpT N1k5W/dnHu/7tIWJ3Ekz6ZacAgZjxFELR7nvBn7nWxCpzmYc/VHmM0pAO35hGbUXL2FVsO 7mWsJRqSRSUmsKQSt6ps5VHxEji0zDjCwTOzq3wGhMG/GjhWtUs5uVSnUS4GbQmFa8+AWt TObLT2sfBKLIzyIH1pFQa2yxPGTlUeTdeaRp0GUEWHzlH0pW6HpUCt/lgxokkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675727314; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=gbvcAsTzjBhDx8OJdaADSpUCZgObVtwaZjP0jIoObjQ=; b=FddVNkNqnWnifEcprEnOUo/AvDbniM0o/cWS7rAgPuZtLmo2XMyVuz0cvZakybYgbtZBwv 7Tsug4snZWPvSvZw1sPWLilDjcdcHHCEzVzHEeqb47Vk0OJW+HDCp3AnAqcepELMekIUjd jcGVLVkjN2h8Jvbvt0Hy0ufGa2EBs9FyBiVe10fd5m1xGBGvXXAau204L8/t5Zybjp+STI 38ykcy0uN64GJRJwX5RRAIRGjO1onYP7SGirz/lh3A5efbBmZaOhlj4i5yKCWK3IGsm2+B yvNZGXssO0kRxQsU1UjEzIiSFRYPuRXfnsxr2Boi8zbmhNNvOUAvD4QAx87HwA== X-Migadu-Queue-Id: 7D4D81C1D1 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=HiQ15SiO; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) X-Migadu-Spam-Score: -1.39 X-Spam-Score: -1.39 X-TUID: 6T5BYDAJO4Ay This package is unmaintained by upstream, has no dependents and was replaced by opencascade-occt. * gnu/packages/maths.scm (opencascade-oce): Remove variable. * gnu/packages/patches/opencascade-oce-glibc-2.26.patch: Remove file. * gnu/local.mk: Unregister it. --- gnu/local.mk | 3 +- gnu/packages/maths.scm | 55 ---------------- .../patches/opencascade-oce-glibc-2.26.patch | 62 ------------------- 3 files changed, 1 insertion(+), 119 deletions(-) delete mode 100644 gnu/packages/patches/opencascade-oce-glibc-2.26.patch diff --git a/gnu/local.mk b/gnu/local.mk index fdbb8ce461..cd92d98068 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -38,7 +38,7 @@ # Copyright © 2020 Tanguy Le Carrour # Copyright © 2020 Martin Becze # Copyright © 2020 Malte Frank Gerdes -# Copyright © 2020 Vinicius Monego +# Copyright © 2020, 2023 Vinicius Monego # Copyright © 2021 Björn Höfling # Copyright © 2021 Greg Hogan # Copyright © 2021, 2022 Philip McGrath @@ -1599,7 +1599,6 @@ dist_patch_DATA = \ %D%/packages/patches/openboardview-use-system-imgui.patch \ %D%/packages/patches/openboardview-use-system-utf8.patch \ %D%/packages/patches/openbox-python3.patch \ - %D%/packages/patches/opencascade-oce-glibc-2.26.patch \ %D%/packages/patches/openfoam-4.1-cleanup.patch \ %D%/packages/patches/openjdk-10-idlj-reproducibility.patch \ %D%/packages/patches/openjdk-15-xcursor-no-dynamic.patch \ diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 4640237968..b82caf35ce 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -2968,61 +2968,6 @@ (define-public octave #t)))))) (synopsis "High-level language for numerical computation (with GUI)"))) -(define-public opencascade-oce - (package - (name "opencascade-oce") - (version "0.17.2") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/tpaviot/oce") - (commit (string-append "OCE-" version)))) - (file-name (git-file-name name version)) - (patches (search-patches "opencascade-oce-glibc-2.26.patch")) - (sha256 - (base32 "0rg5wzkvfmzfl6v2amyryb8dnjad0nn9kyr607wy2gch6rciah69")))) - (build-system cmake-build-system) - (arguments - '(#:configure-flags - (list "-DOCE_TESTING:BOOL=ON" - "-DOCE_USE_TCL_TEST_FRAMEWORK:BOOL=ON" - "-DOCE_DRAW:BOOL=ON" - (string-append "-DOCE_INSTALL_PREFIX:PATH=" - (assoc-ref %outputs "out")) - "-UCMAKE_INSTALL_RPATH"))) - (inputs - (list freetype - glu - libxmu - mesa - tcl - tk)) - (native-inputs - `(("python" ,python-wrapper))) - (home-page "https://github.com/tpaviot/oce") - (synopsis "Libraries for 3D modeling and numerical simulation") - (description - "Open CASCADE is a set of libraries for the development of applications -dealing with 3D CAD data or requiring industrial 3D capabilities. It includes -C++ class libraries providing services for 3D surface and solid modeling, CAD -data exchange, and visualization. It is used for development of specialized -software dealing with 3D models in design (CAD), manufacturing (CAM), -numerical simulation (CAE), measurement equipment (CMM), and quality -control (CAQ) domains. - -This is the ``Community Edition'' (OCE) of Open CASCADE, which gathers -patches, improvements, and experiments contributed by users over the official -Open CASCADE library.") - (license (list license:lgpl2.1; OCE libraries, with an exception for the - ; use of header files; see - ; OCCT_LGPL_EXCEPTION.txt - license:public-domain; files - ; src/Standard/Standard_StdAllocator.hxx and - ; src/NCollection/NCollection_StdAllocator.hxx - license:expat; file src/OpenGl/OpenGl_glext.h - license:bsd-3)))); test framework gtest - (define-public opencascade-occt (package (name "opencascade-occt") diff --git a/gnu/packages/patches/opencascade-oce-glibc-2.26.patch b/gnu/packages/patches/opencascade-oce-glibc-2.26.patch deleted file mode 100644 index ee5ed572c8..0000000000 --- a/gnu/packages/patches/opencascade-oce-glibc-2.26.patch +++ /dev/null @@ -1,62 +0,0 @@ -Fix build with glibc 2.26: - -https://github.com/tpaviot/oce/issues/675 - -Patch copied from upstream source repository: - -https://github.com/tpaviot/oce/commit/aa1321e68cc004e3debe38d79ae74581a617c767 - -From aa1321e68cc004e3debe38d79ae74581a617c767 Mon Sep 17 00:00:00 2001 -From: Janus Weil -Date: Mon, 18 Dec 2017 11:27:55 +0100 -Subject: [PATCH] fix build errors with glibc 2.26+ due to missing xlocale.h - (issue #675) - -* check for the presence of xlocale.h via cmake -* remove related logic from Standard_CLocaleSentry.hxx ---- - CMakeLists.txt | 1 + - src/Standard/Standard_CLocaleSentry.hxx | 15 --------------- - 2 files changed, 1 insertion(+), 15 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index b782b4101..50e9500b2 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -616,6 +616,7 @@ if (NOT WIN32) - # compilation anywhere in OCE - include(CheckIncludeFile) - check_include_file(strings.h HAVE_STRINGS_H) -+ check_include_file(xlocale.h HAVE_XLOCALE_H) - include(CheckIncludeFileCXX) - check_include_file_cxx(mm_malloc.h HAVE_MM_MALLOC_H) - check_include_file_cxx(atomic.h OCE_HAVE_ATOMIC_H) -diff --git a/src/Standard/Standard_CLocaleSentry.hxx b/src/Standard/Standard_CLocaleSentry.hxx -index 2b226e7f3..1a4c1dadc 100644 ---- a/src/Standard/Standard_CLocaleSentry.hxx -+++ b/src/Standard/Standard_CLocaleSentry.hxx -@@ -20,21 +20,6 @@ - - #include - --#ifndef HAVE_XLOCALE_H -- //! "xlocale.h" available in Mac OS X and glibc (Linux) for a long time as an extension -- //! and become part of POSIX since '2008. -- //! Notice that this is impossible to test (_POSIX_C_SOURCE >= 200809L) -- //! since POSIX didn't declared such identifier. -- #if defined(__APPLE__) -- #define HAVE_XLOCALE_H -- #endif -- -- //! We check _GNU_SOURCE for glibc extensions here and it is always defined by g++ compiler. -- #if defined(_GNU_SOURCE) && !defined(__ANDROID__) -- #define HAVE_XLOCALE_H -- #endif --#endif // ifndef HAVE_LOCALE_H -- - #ifdef HAVE_XLOCALE_H - #include - #endif --- -2.15.1 - base-commit: 1f684d00d25f0f205c4cc4b762d8f56911062581 -- 2.34.1