1 |
commit: 85bbab44ed4573d6a715ed83dbccb703b2d38fc2 |
2 |
Author: Christoph Junghans <junghans <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 23 03:02:14 2018 +0000 |
4 |
Commit: Christoph Junghans <junghans <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 23 03:02:39 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85bbab44 |
7 |
|
8 |
sci-libs/lmfit: version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.49, Repoman-2.3.11 |
11 |
Signed-off-by: Christoph Junghans <junghans <AT> gentoo.org> |
12 |
|
13 |
sci-libs/lmfit/Manifest | 1 + |
14 |
sci-libs/lmfit/files/lmfit-8.0-cmake.patch | 59 ++++++++++++++++++++++ |
15 |
sci-libs/lmfit/lmfit-7.0.ebuild | 2 +- |
16 |
.../lmfit/{lmfit-7.0.ebuild => lmfit-8.0.ebuild} | 0 |
17 |
4 files changed, 61 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/sci-libs/lmfit/Manifest b/sci-libs/lmfit/Manifest |
20 |
index a40aaa40c8e..1514817e48a 100644 |
21 |
--- a/sci-libs/lmfit/Manifest |
22 |
+++ b/sci-libs/lmfit/Manifest |
23 |
@@ -1,3 +1,4 @@ |
24 |
DIST lmfit-5.1.tgz 345077 BLAKE2B df27621745601ffacd2110b28f3e3ea2b06d4c8c3c8fad5dda13bb4d6c2bd9f2a793ff88fab4f6d8c78075278bb26f3f424bd0074095e67ab1780a9d57b72b4b SHA512 1df6ed51d7f2137529793948f6c57ef3658932c9198776925a9f6e1d586352651c93aa053a064db7a201dbb848a7108f284223feff45171d142087539d834b29 |
25 |
DIST lmfit-6.4.tgz 388809 BLAKE2B 48aa619642ac3fd009ec6a8f8b44ee4c800fc3f33e2603b557218cdf37c789159dc3947a648d560b9e2dd7fef08a6644fd25ac61505859dc3b1d151eeea58c27 SHA512 2bd0f24dd4638345b8b1ce6803ddcf45ca3ef888eb285e99f9f158c2e30b0f96016d9d84a112cdbf28f2ba98470e54fe773416179a65264426043c9a5186757d |
26 |
DIST lmfit-7.0.tgz 37950 BLAKE2B a509110f70e7e863d1172b8d91f7439763f0434702f265751e9955494f4982b4c17f0baaa080af86e5cae7f535555e27b98b45ba6a529061d107e53bdb9fd698 SHA512 78f479786c6e5c417781c6d629f5a517335fac70df049fafdefd511485da4e542c988d69c998f96eaab4306160de4bb09a631ca6ffff74bba70c51428d734fc3 |
27 |
+DIST lmfit-8.0.tgz 42833 BLAKE2B d2ad9f5cd35997c8ce6827148e9ca748f3d14044f515a927442e9e5f57508cdfb729cd7172987a0e94284d7e93f7aafc0cb572137f201994c8d3ad9a9fb64c9b SHA512 3b4e4af6c70269f8752428d416e014d4e69df3f73b25e9ba16dd07afc03598a1dca08050cecba29a3b2651e003e703ba4412716100b1bb55b1830f74f16da676 |
28 |
|
29 |
diff --git a/sci-libs/lmfit/files/lmfit-8.0-cmake.patch b/sci-libs/lmfit/files/lmfit-8.0-cmake.patch |
30 |
new file mode 100644 |
31 |
index 00000000000..367aa2147ae |
32 |
--- /dev/null |
33 |
+++ b/sci-libs/lmfit/files/lmfit-8.0-cmake.patch |
34 |
@@ -0,0 +1,59 @@ |
35 |
+from: christoph junghans <junghans@×××××.org> |
36 |
+date: mon, 22 oct 2018 21:00:00 -0600 |
37 |
+subject: [patch] cmake: minor distribution tweaks |
38 |
+ |
39 |
+- use gnuinstalldirs to allow to configure install dirs |
40 |
+- allow to disable injecting c flags |
41 |
+ |
42 |
+signed-off-by: christoph junghans <junghans@×××××.org> |
43 |
+--- |
44 |
+ cmakelists.txt | 7 +++++-- |
45 |
+ lib/cmakelists.txt | 4 ++-- |
46 |
+ man/cmakelists.txt | 2 +- |
47 |
+ 3 files changed, 8 insertions(+), 5 deletions(-) |
48 |
+ |
49 |
+diff -Naur lmfit-8.0.orig/CMakeLists.txt lmfit-8.0/CMakeLists.txt |
50 |
+--- lmfit-8.0.orig/CMakeLists.txt 2018-10-22 20:54:43.452888191 -0600 |
51 |
++++ lmfit-8.0/CMakeLists.txt 2018-10-22 20:56:00.573905982 -0600 |
52 |
+@@ -13,9 +13,12 @@ |
53 |
+ # --- Declare project-wide user flags, and set default values --- |
54 |
+ option(FITTEST "Build with FitTest" OFF) |
55 |
+ |
56 |
+-set(destination ${CMAKE_INSTALL_PREFIX}) |
57 |
++include(GNUInstallDirs) |
58 |
+ |
59 |
+-set(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} -g -O2 -pedantic -Wall -Wno-sign-compare -Wno-unused-result -Wno-parentheses -Wno-unknown-pragmas") |
60 |
++option(INJECT_C_FLAGS "Inject a bunch of useful c flags" ON) |
61 |
++if (INJECT_C_FLAGS) |
62 |
++ set(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} -g -O2 -pedantic -Wall -Wno-sign-compare -Wno-unused-result -Wno-parentheses -Wno-unknown-pragmas") |
63 |
++endif() |
64 |
+ |
65 |
+ add_subdirectory(lib) |
66 |
+ add_subdirectory(demo) |
67 |
+diff -Naur lmfit-8.0.orig/lib/CMakeLists.txt lmfit-8.0/lib/CMakeLists.txt |
68 |
+--- lmfit-8.0.orig/lib/CMakeLists.txt 2018-10-22 20:54:43.452888191 -0600 |
69 |
++++ lmfit-8.0/lib/CMakeLists.txt 2018-10-22 20:55:08.073213116 -0600 |
70 |
+@@ -17,9 +17,9 @@ |
71 |
+ |
72 |
+ install( |
73 |
+ TARGETS ${library_name} LIBRARY |
74 |
+- DESTINATION ${destination}/lib |
75 |
++ DESTINATION ${CMAKE_INSTALL_LIBDIR} |
76 |
+ COMPONENT Libraries) |
77 |
+ install( |
78 |
+ FILES ${inc_files} |
79 |
+- DESTINATION ${destination}/include |
80 |
++ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} |
81 |
+ COMPONENT Headers) |
82 |
+diff -Naur lmfit-8.0.orig/man/CMakeLists.txt lmfit-8.0/man/CMakeLists.txt |
83 |
+--- lmfit-8.0.orig/man/CMakeLists.txt 2018-10-22 20:54:43.452888191 -0600 |
84 |
++++ lmfit-8.0/man/CMakeLists.txt 2018-10-22 20:55:08.073213116 -0600 |
85 |
+@@ -15,7 +15,7 @@ |
86 |
+ ) |
87 |
+ install( |
88 |
+ FILES ${CMAKE_CURRENT_BINARY_DIR}/${pname}.${section} |
89 |
+- DESTINATION "${CMAKE_INSTALL_PREFIX}/man/man${section}" |
90 |
++ DESTINATION "${CMAKE_INSTALL_MANDIR}/man${section}" |
91 |
+ ) |
92 |
+ endfunction() |
93 |
+ |
94 |
|
95 |
diff --git a/sci-libs/lmfit/lmfit-7.0.ebuild b/sci-libs/lmfit/lmfit-7.0.ebuild |
96 |
index db342f68909..e4258a74110 100644 |
97 |
--- a/sci-libs/lmfit/lmfit-7.0.ebuild |
98 |
+++ b/sci-libs/lmfit/lmfit-7.0.ebuild |
99 |
@@ -7,7 +7,7 @@ inherit cmake-utils |
100 |
|
101 |
DESCRIPTION="library for Levenberg-Marquardt least-squares minimization and curve fitting" |
102 |
HOMEPAGE="http://apps.jcns.fz-juelich.de/doku/sc/lmfit" |
103 |
-SRC_URI="http://apps.jcns.fz-juelich.de/src/lmfit/${P}.tgz" |
104 |
+SRC_URI="http://apps.jcns.fz-juelich.de/src/lmfit/old/${P}.tgz" |
105 |
|
106 |
LICENSE="BSD-2" |
107 |
SLOT="0" |
108 |
|
109 |
diff --git a/sci-libs/lmfit/lmfit-7.0.ebuild b/sci-libs/lmfit/lmfit-8.0.ebuild |
110 |
similarity index 100% |
111 |
copy from sci-libs/lmfit/lmfit-7.0.ebuild |
112 |
copy to sci-libs/lmfit/lmfit-8.0.ebuild |