unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 1f133571cb8a7334efa5edfc0d8fa3a1e345e3b2 1245 bytes (raw)
name: gnu/packages/patches/java-openjfx-build-web-OptionsJava.cmake.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
 
Subject: [PATCH] Use find_package.

We remove all embedded 3rd-party libs like icu, libxml, libxslt and sqlite,
and use libraries provided via guix inputs.
---
 .../web/src/main/native/Source/cmake/OptionsJava.cmake | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/modules/web/src/main/native/Source/cmake/OptionsJava.cmake b/modules/web/src/main/native/Source/cmake/OptionsJava.cmake
index 76a6695..73c525b 100644
--- a/modules/web/src/main/native/Source/cmake/OptionsJava.cmake
+++ b/modules/web/src/main/native/Source/cmake/OptionsJava.cmake
@@ -26,13 +26,11 @@ endif ()
 set(LIB_INSTALL_DIR "${CMAKE_INSTALL_FULL_LIBDIR}" CACHE PATH "Absolute path to library installation directory")
 set(EXEC_INSTALL_DIR "${CMAKE_INSTALL_FULL_BINDIR}" CACHE PATH "Absolute path to executable installation directory")

-set(SQLITE_LIBRARIES SqliteJava)
-set(LIBXML2_LIBRARIES XMLJava)
-set(LIBXSLT_LIBRARIES XSLTJava)

-set(ICU_LIBRARIES icuuc icudata)
-set(ICU_I18N_LIBRARIES icui18n icuuc icudata)
-set(ICU_DATA_LIBRARIES icudata)
+find_package(Sqlite REQUIRED)
+find_package(LibXml2 REQUIRED)
+find_package(LibXslt REQUIRED)
+find_package(ICU REQUIRED)

 find_package(JNI REQUIRED)
 find_package(Threads REQUIRED)
--
2.26.2

debug log:

solving 1f133571cb ...
found 1f133571cb in https://yhetil.org/guix-patches/20200607155518.1400-8-levenson@mmer.org/ ||
	https://yhetil.org/guix-patches/CAMRHuGDr_x6YdUgmOFkLkCX+ZgZpJ8o7RHwnVWuaX3TExYMqhg@mail.gmail.com/ ||
	https://yhetil.org/guix-patches/CAMRHuGCUsJDzk-LoHAA5d1fSESyb0Xjg6KUxk09HgUjHFS3W2Q@mail.gmail.com/

applying [1/1] https://yhetil.org/guix-patches/20200607155518.1400-8-levenson@mmer.org/
diff --git a/gnu/packages/patches/java-openjfx-build-web-OptionsJava.cmake.patch b/gnu/packages/patches/java-openjfx-build-web-OptionsJava.cmake.patch
new file mode 100644
index 0000000000..1f133571cb

Checking patch gnu/packages/patches/java-openjfx-build-web-OptionsJava.cmake.patch...
Applied patch gnu/packages/patches/java-openjfx-build-web-OptionsJava.cmake.patch cleanly.

skipping https://yhetil.org/guix-patches/CAMRHuGDr_x6YdUgmOFkLkCX+ZgZpJ8o7RHwnVWuaX3TExYMqhg@mail.gmail.com/ for 1f133571cb
skipping https://yhetil.org/guix-patches/CAMRHuGCUsJDzk-LoHAA5d1fSESyb0Xjg6KUxk09HgUjHFS3W2Q@mail.gmail.com/ for 1f133571cb
index at:
100644 1f133571cb8a7334efa5edfc0d8fa3a1e345e3b2	gnu/packages/patches/java-openjfx-build-web-OptionsJava.cmake.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).