blob 586e096cf4bc67212230eef9daa0470ff382c7b3 840 bytes (raw)
name: gnu/packages/patches/corectrl-polkit-install-dir.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
| | diff --git a/src/helper/CMakeLists.txt b/src/helper/CMakeLists.txt
index c262086..523ea97 100644
--- a/src/helper/CMakeLists.txt
+++ b/src/helper/CMakeLists.txt
@@ -26,15 +26,7 @@ message("D-Bus files will be installed into ${DBUS_DATADIR_PREFIX_DIR}/dbus-1")
# Find polkit
pkg_check_modules(POLKIT REQUIRED polkit-gobject-1)
-execute_process(
- COMMAND pkg-config --variable=policydir polkit-gobject-1
- RESULT_VARIABLE POLKIT_POLICY_INSTALL_DIR_RESULT
- OUTPUT_VARIABLE POLKIT_POLICY_INSTALL_DIR
- OUTPUT_STRIP_TRAILING_WHITESPACE
-)
-if(NOT POLKIT_POLICY_INSTALL_DIR_RESULT EQUAL "0")
- message(FATAL_ERROR "Failed to retrieve Polkit `policydir` variable using pkg-config")
-endif()
+option(POLKIT_POLICY_INSTALL_DIR "Polkit policy directory")
list(APPEND HELPER_COMPILE_DEFINITIONS
SPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_TRACE
|
debug log:
solving 586e096cf4 ...
found 586e096cf4 in https://yhetil.org/guix/20241228153020.20233-4-ashvith@noreply.codeberg.org/ ||
https://yhetil.org/guix/20241228104424.4001-3-ashvith@noreply.codeberg.org/ ||
https://yhetil.org/guix/20241231181027.28121-4-ashvithshetty10@gmail.com/
applying [1/1] https://yhetil.org/guix/20241228153020.20233-4-ashvith@noreply.codeberg.org/
diff --git a/gnu/packages/patches/corectrl-polkit-install-dir.patch b/gnu/packages/patches/corectrl-polkit-install-dir.patch
new file mode 100644
index 0000000000..586e096cf4
1:12: trailing whitespace.
1:25: trailing whitespace.
Checking patch gnu/packages/patches/corectrl-polkit-install-dir.patch...
Applied patch gnu/packages/patches/corectrl-polkit-install-dir.patch cleanly.
warning: 2 lines add whitespace errors.
skipping https://yhetil.org/guix/20241228104424.4001-3-ashvith@noreply.codeberg.org/ for 586e096cf4
skipping https://yhetil.org/guix/20241231181027.28121-4-ashvithshetty10@gmail.com/ for 586e096cf4
index at:
100644 586e096cf4bc67212230eef9daa0470ff382c7b3 gnu/packages/patches/corectrl-polkit-install-dir.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.