Merge pull request #321088 from paveloom/gr-framework

gr-framework: 0.73.5 -> 0.73.6 + reformat

authored by

Peder Bergebakken Sundt and committed by
GitHub
692b3568 6154ebbd

+46 -47
+21 -22
pkgs/by-name/gr/gr-framework/package.nix
··· 1 - { lib 2 - , stdenv 3 - , fetchFromGitHub 4 - , nix-update-script 5 - , qt5 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + nix-update-script, 6 + qt5, 6 7 7 - , cmake 8 + cmake, 8 9 9 - , cairo 10 - , ffmpeg 11 - , freetype 12 - , ghostscript 13 - , glfw 14 - , libjpeg 15 - , libtiff 16 - , qhull 17 - , xorg 18 - , zeromq 10 + cairo, 11 + ffmpeg, 12 + freetype, 13 + ghostscript, 14 + glfw, 15 + libjpeg, 16 + libtiff, 17 + qhull, 18 + xorg, 19 + zeromq, 19 20 }: 20 21 21 22 stdenv.mkDerivation rec { 22 23 pname = "gr-framework"; 23 - version = "0.73.5"; 24 + version = "0.73.6"; 24 25 25 26 src = fetchFromGitHub { 26 27 owner = "sciapp"; 27 28 repo = "gr"; 28 29 rev = "v${version}"; 29 - hash = "sha256-9Py2r774GaUXWhF3yO3ceT1rPi/uqMVZVAo0xs9n+I0="; 30 + hash = "sha256-XzOII13XwxkPZhtL4USkmUmJTL7dZImx4yVYJmhcn08="; 30 31 }; 31 32 32 - patches = [ 33 - ./patches/use-the-module-mode-to-search-for-the-LibXml2-package.patch 34 - ]; 33 + patches = [ ./use-the-module-mode-to-search-for-the-LibXml2-package.patch ]; 35 34 36 35 nativeBuildInputs = [ 37 36 cmake ··· 64 63 description = "GR framework is a graphics library for visualisation applications"; 65 64 homepage = "https://gr-framework.org"; 66 65 license = licenses.mit; 67 - platforms = platforms.unix; 68 66 maintainers = with maintainers; [ paveloom ]; 67 + platforms = platforms.unix; 69 68 }; 70 69 }
-25
pkgs/by-name/gr/gr-framework/patches/use-the-module-mode-to-search-for-the-LibXml2-package.patch
··· 1 - From 78a86da95c7227cbfd0f3073841df5409a576837 Mon Sep 17 00:00:00 2001 2 - From: Pavel Sobolev <paveloomm@gmail.com> 3 - Date: Wed, 31 Jan 2024 16:50:36 +0000 4 - Subject: [PATCH] Use the module mode to search for the `LibXml2` package. 5 - 6 - --- 7 - CMakeLists.txt | 2 +- 8 - 1 file changed, 1 insertion(+), 1 deletion(-) 9 - 10 - diff --git a/CMakeLists.txt b/CMakeLists.txt 11 - index 5f865a5b..5550b493 100644 12 - --- a/CMakeLists.txt 13 - +++ b/CMakeLists.txt 14 - @@ -117,7 +117,7 @@ if(GR_USE_BUNDLED_LIBRARIES) 15 - # (`ONLY_CMAKE_FIND_ROOT_PATH` option is not inherited to `find_package` calls within the LibXml2 config file) 16 - find_package(LibXml2 NO_MODULE ONLY_CMAKE_FIND_ROOT_PATH) 17 - else() 18 - - find_package(LibXml2 NO_MODULE) 19 - + find_package(LibXml2 MODULE) 20 - endif() 21 - 22 - # Find the following packages only in 3rdparty, if `GR_USE_BUNDLED_LIBRARIES` is set 23 - -- 24 - 2.42.0 25 -
+25
pkgs/by-name/gr/gr-framework/use-the-module-mode-to-search-for-the-LibXml2-package.patch
··· 1 + From 47063bf00060dd6e8ccb384770a7c04dc534dce0 Mon Sep 17 00:00:00 2001 2 + From: Pavel Sobolev <paveloomm@gmail.com> 3 + Date: Wed, 19 Jun 2024 21:17:33 +0300 4 + Subject: [PATCH] Use the module mode to search for the `LibXml2` package. 5 + 6 + --- 7 + CMakeLists.txt | 2 +- 8 + 1 file changed, 1 insertion(+), 1 deletion(-) 9 + 10 + diff --git a/CMakeLists.txt b/CMakeLists.txt 11 + index ed36d99d..6031dc77 100644 12 + --- a/CMakeLists.txt 13 + +++ b/CMakeLists.txt 14 + @@ -123,7 +123,7 @@ else() 15 + # Therefore, disable the inspection of the `PATH` variable by setting `NO_SYSTEM_ENVIRONMENT_PATH` option. 16 + # See <https://cmake.org/cmake/help/v3.30/command/find_package.html#:~:text=Search the standard system environment 17 + # variables> for more details. 18 + - find_package(LibXml2 NO_MODULE NO_SYSTEM_ENVIRONMENT_PATH) 19 + + find_package(LibXml2 MODULE) 20 + endif() 21 + 22 + # Find the following packages only in 3rdparty, if `GR_USE_BUNDLED_LIBRARIES` is set 23 + -- 24 + 2.45.1 25 +