aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/clucene-contribs-lib.patch
blob: be11551893bc762e52654f5d3b668b1fb3cf24e3 (about) (plain)
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
# Source: http://sourceforge.net/p/clucene/bugs/200/
diff -NaurpBb clucene-core-2.3.3.4/CMakeLists.txt clucene-core-2.3.3.4-mod/CMakeLists.txt
--- clucene-core-2.3.3.4/CMakeLists.txt	2011-03-17 03:21:07.000000000 +0300
+++ clucene-core-2.3.3.4-mod/CMakeLists.txt	2011-08-16 16:56:55.968268152 +0400
@@ -163,7 +163,7 @@ IF ( BUILD_CONTRIBS )
   SET(BUILD_CONTRIBS_LIB 1)
 ENDIF ( BUILD_CONTRIBS )
 IF ( BUILD_CONTRIBS_LIB )
-  ADD_SUBDIRECTORY (src/contribs-lib EXCLUDE_FROM_ALL)
+  ADD_SUBDIRECTORY (src/contribs-lib)
 ENDIF ( BUILD_CONTRIBS_LIB )
 
 
diff -NaurpBb clucene-core-2.3.3.4/src/contribs-lib/CMakeLists.txt clucene-core-2.3.3.4-mod/src/contribs-lib/CMakeLists.txt
--- clucene-core-2.3.3.4/src/contribs-lib/CMakeLists.txt	2011-03-17 03:21:07.000000000 +0300
+++ clucene-core-2.3.3.4-mod/src/contribs-lib/CMakeLists.txt	2011-08-16 17:14:13.499275499 +0400
@@ -106,9 +106,26 @@ add_library(clucene-contribs-lib SHARED
 )
 TARGET_LINK_LIBRARIES(clucene-contribs-lib ${clucene_contrib_extra_libs})
 
+#install public headers.
+FOREACH(file ${HEADERS})
+	get_filename_component(apath ${file} PATH)
+	get_filename_component(aname ${file} NAME)
+	file(RELATIVE_PATH relpath ${CMAKE_SOURCE_DIR}/src/contribs-lib ${apath})
+	IF ( NOT aname MATCHES "^_.*" )
+		install(FILES ${file} 
+		        DESTINATION include/${relpath}
+		        COMPONENT development)
+	ENDIF ( NOT aname MATCHES "^_.*" )
+ENDFOREACH(file)
+
 #set properties on the libraries
 SET_TARGET_PROPERTIES(clucene-contribs-lib PROPERTIES
     VERSION ${CLUCENE_VERSION}
     SOVERSION ${CLUCENE_SOVERSION}
     COMPILE_DEFINITIONS_DEBUG _DEBUG
 )
+
+#and install library
+install(TARGETS clucene-contribs-lib 
+        DESTINATION ${LIB_DESTINATION}  
+        COMPONENT runtime )
nsq: Fix build on i686-linux....As seen in https://ci.guix.gnu.org/build/3329277/details * gnu/packages/high-availability.scm (nsq)[arguments]<#:phases>{check}: Skip '-race' option during tests on i686-linux. Change-Id: I952d7187443835d5fbcb74f0ae09b923bd6bdb29 Sharlatan Hellseher 2024-01-18gnu: pacemaker: Update to 2.1.7....* gnu/packages/high-availability.scm (pacemaker): Update to 2.1.7. Change-Id: I5df38ef3c937e6ab3c902afae3525df61d358bb7 Sharlatan Hellseher 2024-01-18gnu: corosync: Update to 3.1.8....* gnu/packages/high-availability.scm (corosync): Update to 3.1.8. Change-Id: Iaf623ccf3a75cd8aac007a5425d245f9c238789c Sharlatan Hellseher 2024-01-18gnu: nsq: Update to 1.3.0....* gnu/packages/high-availability.scm (nsq): Update to 1.3.0. Change-Id: If092367dbb7413ba177edeac494924b2e170120f Sharlatan Hellseher 2024-01-18gnu: kronosnet: Update to 1.28....* gnu/packages/high-availability.scm (kronosnet): Update to 1.28. Change-Id: Id2974609b7cc8429b6ee8faf8752eed0ddfa1f00 Sharlatan Hellseher 2024-01-18gnu: libqb: Update to 2.0.8....* gnu/packages/high-availability.scm (libqb): Update to 2.0.8. Change-Id: I602a3c3d3b792bc316e699632af6b5dda75fd394 Sharlatan Hellseher 2024-01-18gnu: haproxy: Update to 2.9.0....* gnu/packages/high-availability.scm (haproxy): Update to 2.9.0. Change-Id: I430c0694ba682b3be5332fdafb20ba7ac5996402 Sharlatan Hellseher 2024-01-03gnu: go-github-com-julienschmidt-httprouter: Move to (gnu packages golang-web)....* gnu/packages/golang.scm (go-github-com-julienschmidt-httprouter): Move from here... * gnu/packages/golang-web.scm: ...to here. * gnu/packages/high-availability.scm: Add (gnu packages golang-web) module. Change-Id: I277e4a7ed835b0dc00f08e102e982e0cd019b828 Sharlatan Hellseher 2023-09-04gnu: Add nsq....* gnu/packages/high-availability.scm (nsq): New variable. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Sharlatan Hellseher 2023-07-16gnu: libqb: Tweak description....* gnu/packages/high-availability.scm (libqb)[synopsis]: Fix spelling. [description]: Use @acronym{}. Tobias Geerinckx-Rice 2023-07-16gnu: libqb: Update to 2.0.7....* gnu/packages/high-availability.scm (libqb): Update to 2.0.7. Tobias Geerinckx-Rice 2023-07-16gnu: libqb: Fix cross-compilation....* gnu/packages/high-availability.scm (libqb)[native-inputs]: Move libxml2 from here… [inputs]: …to here. Tobias Geerinckx-Rice 2023-07-16gnu: libqb: Remove obsolete bootstrapping inputs....* gnu/packages/high-availability.scm (libqb)[native-inputs]: Remove autoconf, automake, and libtool. Tobias Geerinckx-Rice 2023-04-09gnu: haproxy: Update to 2.7.6....* gnu/packages/high-availability.scm (haproxy): Update to 2.7.6. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Yovan Naumovski 2023-03-26gnu: haproxy: Move to (gnu packages high-availability)....Copyright records were synchronized based on commit history. * gnu/packages/networking.scm (haproxy): Move this variable from here... * gnu/packages/high-availability.scm (haproxy): ...to here. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Sharlatan Hellseher