all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 06f3d9acb16bb16e88b1e047d8509d6b1725f83e 919 bytes (raw)
name: gnu/packages/patches/glvis-fix-cmake-install.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
 
From 3983c1988d586f79c421f657f06f4f22dd7a9eb2 Mon Sep 17 00:00:00 2001
From: "Paul A. Patience" <paul@apatience.com>
Date: Tue, 9 Apr 2024 11:18:14 -0400
Subject: [PATCH] Don't install app and code in full installation

---
 CMakeLists.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b940ec0..387cdb9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -331,12 +331,14 @@ if(NOT EMSCRIPTEN)
       MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/share/Info.cmake.plist.in)
   target_link_libraries(app PRIVATE glvis glvis_logo)
   install(TARGETS app
+    EXCLUDE_FROM_ALL
     RUNTIME DESTINATION .
     BUNDLE DESTINATION .)
   install(CODE [[
     include (BundleUtilities)
     fixup_bundle("${CMAKE_INSTALL_PREFIX}/GLVis.app" "" "")
-  ]] COMPONENT RUNTIME)
+  ]] COMPONENT RUNTIME
+    EXCLUDE_FROM_ALL)
 
 endif(NOT EMSCRIPTEN)
 
-- 
2.41.0


debug log:

solving 06f3d9acb1 ...
found 06f3d9acb1 in https://yhetil.org/guix/26c2c0ab2274cc68b1fae1e257dca4b14036c8a3.1712681651.git.paul@apatience.com/

applying [1/1] https://yhetil.org/guix/26c2c0ab2274cc68b1fae1e257dca4b14036c8a3.1712681651.git.paul@apatience.com/
diff --git a/gnu/packages/patches/glvis-fix-cmake-install.patch b/gnu/packages/patches/glvis-fix-cmake-install.patch
new file mode 100644
index 0000000000..06f3d9acb1

1:33: trailing whitespace.
 
1:35: trailing whitespace.
 
1:36: trailing whitespace.
-- 
Checking patch gnu/packages/patches/glvis-fix-cmake-install.patch...
1:38: new blank line at EOF.
+
Applied patch gnu/packages/patches/glvis-fix-cmake-install.patch cleanly.
warning: 4 lines add whitespace errors.

index at:
100644 06f3d9acb16bb16e88b1e047d8509d6b1725f83e	gnu/packages/patches/glvis-fix-cmake-install.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.