unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 564293c082179e642cd0c6bd4505f467cc9e7184 1306 bytes (raw)
name: gnu/packages/patches/freesolid-pkgconfig.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
 
Upstream-status: https://sourceforge.net/p/freesolid/patches/5/

diff --git a/FreeSOLID.pc.in b/FreeSOLID.pc.in
new file mode 100644
index 0000000..c354f05
--- /dev/null
+++ b/FreeSOLID.pc.in
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: FreeSolid
+Description: 3D collision detection C++ library
+Version: @VERSION@
+
+Libs: -L${libdir} -lFreeSOLID @QHULL_LIBS@
+Cflags: -I${includedir} -I${includedir}/FreeSOLID
+
diff --git a/configure.in b/configure.in
index 41a761c..a4bc7d4 100644
--- a/configure.in
+++ b/configure.in
@@ -52,4 +52,11 @@ dnl Checks for library functions.
 AC_CHECK_FUNCS(sqrt)
 AC_CHECK_FUNCS(fabs)
 
-AC_OUTPUT(doc/Makefile sample/Makefile Makefile libbroad/Makefile libmoto/Makefile libsolid/Makefile freesolid-config)
+AC_OUTPUT([ doc/Makefile 
+            sample/Makefile 
+            Makefile 
+            libbroad/Makefile 
+            libmoto/Makefile 
+            libsolid/Makefile 
+            freesolid-config
+            FreeSOLID.pc])
--- a/Makefile.am	2024-10-28 10:49:24.006849578 +0900
+++ b/Makefile.am	2024-10-28 10:50:13.378839511 +0900
@@ -3,3 +3,6 @@
 
 EXTRA_DIST = include
 bin_SCRIPTS = freesolid-config
+
+pkgconfigdir         = $(libdir)/pkgconfig
+dist_pkgconfig_DATA  = FreeSOLID.pc

debug log:

solving 564293c082 ...
found 564293c082 in https://yhetil.org/guix-patches/f31f33b52776e8e7d398a9ace4c08c78b9608edf.1730086201.git.maxim.cournoyer@gmail.com/ ||
	https://yhetil.org/guix-patches/b10b03479170ae6dc901fe2c304996685fea5331.1730096728.git.maxim.cournoyer@gmail.com/

applying [1/1] https://yhetil.org/guix-patches/f31f33b52776e8e7d398a9ace4c08c78b9608edf.1730086201.git.maxim.cournoyer@gmail.com/
diff --git a/gnu/packages/patches/freesolid-pkgconfig.patch b/gnu/packages/patches/freesolid-pkgconfig.patch
new file mode 100644
index 0000000000..564293c082

1:34: trailing whitespace.
 
1:36: trailing whitespace.
+AC_OUTPUT([ doc/Makefile 
1:37: trailing whitespace.
+            sample/Makefile 
1:38: trailing whitespace.
+            Makefile 
1:39: trailing whitespace.
+            libbroad/Makefile 
Checking patch gnu/packages/patches/freesolid-pkgconfig.patch...
Applied patch gnu/packages/patches/freesolid-pkgconfig.patch cleanly.
warning: squelched 3 whitespace errors
warning: 8 lines add whitespace errors.

skipping https://yhetil.org/guix-patches/b10b03479170ae6dc901fe2c304996685fea5331.1730096728.git.maxim.cournoyer@gmail.com/ for 564293c082
index at:
100644 564293c082179e642cd0c6bd4505f467cc9e7184	gnu/packages/patches/freesolid-pkgconfig.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).