unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 09e6b905a997ee4029af9727bd92886fb81c1939 2096 bytes (raw)
name: gnu/packages/patches/freesolid-automake.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
 
FreeSOLID-2.1.1-Makefile.am-update.patch

From: Alec Leamas <alec@tests.notat.diaspora.com>

This patch causes a few extra header files to be installed; they are used by
Speed-Dreams for example.

Source: https://src.fedoraproject.org/rpms/FreeSOLID/raw/rawhide/f/FreeSOLID-2.1.1-Makefile.am-update.patch
Rebased on top of 2.1.2 by Maxim Cournoyer
Upstream-status: https://sourceforge.net/p/freesolid/patches/11/

---

 Makefile.am          |   20 ++++++++++++++++++--
 libsolid/Makefile.am |    2 +-
 2 files changed, 19 insertions(+), 3 deletions(-)

--- a/Makefile.am	2024-10-28 15:17:22.787773430 +0900
+++ b/Makefile.am	2024-10-28 15:19:02.367752961 +0900
@@ -1,8 +1,24 @@
 ACLOCAL_AMFLAGS = -I m4
 SUBDIRS = libmoto libbroad libsolid sample doc
 
-EXTRA_DIST = include
+EXTRA_DIST = FreeSOLID.pc.in
 bin_SCRIPTS = freesolid-config
 
 pkgconfigdir         = $(libdir)/pkgconfig
-dist_pkgconfig_DATA  = FreeSOLID.pc
+nodist_pkgconfig_DATA  = FreeSOLID.pc
+
+FreeSOLID_3Ddir = $(includedir)/FreeSOLID/3D
+FreeSOLID_3D_HEADERS =
+FreeSOLID_3D_HEADERS += include/3D/Basic.h
+FreeSOLID_3D_HEADERS += include/3D/Matrix.h
+FreeSOLID_3D_HEADERS += include/3D/Point.h
+FreeSOLID_3D_HEADERS += include/3D/Quaternion.h
+FreeSOLID_3D_HEADERS += include/3D/Tuple3.h
+FreeSOLID_3D_HEADERS += include/3D/Tuple4.h
+FreeSOLID_3D_HEADERS += include/3D/Vector.h
+
+FreeSOLID_SOLIDdir = $(includedir)/FreeSOLID/SOLID
+FreeSOLID_SOLID_HEADERS =
+FreeSOLID_SOLID_HEADERS += include/SOLID/solid.h
+FreeSOLID_SOLID_HEADERS += include/SOLID/broad.h
+FreeSOLID_SOLID_HEADERS += include/SOLID/types.h

diff --git a/libsolid/Makefile.am b/libsolid/Makefile.am
index f722be3..623b2e8 100644
--- a/libsolid/Makefile.am
+++ b/libsolid/Makefile.am
@@ -21,7 +21,7 @@ libFreeSOLID_la_SOURCES = \
 	../libmoto/MT_Vector4.cpp
 
 
-libFreeSOLID_la_LDFLAGS = -no-undefined -version-info @FREESOLID_CURRENT@:@FREESOLID_REVISION@:@FREESOLID_AGE@ -release @VERSION@
+libFreeSOLID_la_LDFLAGS = -no-undefined -version-info @FREESOLID_CURRENT@:@FREESOLID_REVISION@:@FREESOLID_AGE@ 
 
 AM_CPPFLAGS = @CPPFLAGS@
 LIBS = @QHULL_LIBS@ -lm

debug log:

solving 09e6b905a9 ...
found 09e6b905a9 in https://yhetil.org/guix-patches/b10b03479170ae6dc901fe2c304996685fea5331.1730096728.git.maxim.cournoyer@gmail.com/

applying [1/1] https://yhetil.org/guix-patches/b10b03479170ae6dc901fe2c304996685fea5331.1730096728.git.maxim.cournoyer@gmail.com/
diff --git a/gnu/packages/patches/freesolid-automake.patch b/gnu/packages/patches/freesolid-automake.patch
new file mode 100644
index 0000000000..09e6b905a9

1:29: trailing whitespace.
 
1:33: trailing whitespace.
 
1:59: space before tab in indent.
 	../libmoto/MT_Vector4.cpp
1:60: trailing whitespace.
 
1:61: trailing whitespace.
 
Checking patch gnu/packages/patches/freesolid-automake.patch...
Applied patch gnu/packages/patches/freesolid-automake.patch cleanly.
warning: squelched 2 whitespace errors
warning: 7 lines add whitespace errors.

index at:
100644 09e6b905a997ee4029af9727bd92886fb81c1939	gnu/packages/patches/freesolid-automake.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).