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 )
dovic Courtès 2018-05-18system: Add u-boot-pine64-plus installer....Vagrant Cascadian 2018-05-12bootloader: extlinux: Fix menu support with u-boot....Vagrant Cascadian 2018-05-11system: Add u-boot-novena installer....Vagrant Cascadian 2018-05-11system: Add wandboard installer....Vagrant Cascadian 2018-05-11system: Add mx6cuboxi installer....Vagrant Cascadian 2018-02-18gnu: Pass "--target=i386-pc" when installing GRUB for legacy BIOS....Ricardo Wurmus 2018-01-22system: Add A20 OLinuXino LIME installer....Danny Milosavljevic 2018-01-20system: Add Nintendo NES Classic Edition installer....Danny Milosavljevic 2018-01-20system: Add A20 OLinuXino MICRO installer....Danny Milosavljevic 2018-01-20system: Add A20 OLinuXino LIME2 installer....Danny Milosavljevic 2018-01-20system: Add Banana Pi M2 Ultra installer....Danny Milosavljevic 2017-12-15system: Add BeagleBone Black installer....Mathieu Othacehe 2017-12-15bootloader: Factorize write-file-on-device....Mathieu Othacehe 2017-12-04bootloader: extlinux: Stop using dd binary....Mathieu Othacehe 2017-11-23bootloader: extlinux: Fix device tree path....Mathieu Othacehe 2017-09-11system: Introduce a disjoint UUID type....Ludovic Courtès 2017-08-20gnu: grub-efi-bootloader: Specialize grub-install invocation....Andy Wingo 2017-08-03vm: Use grub-hybrid's grub-mkrescue....Danny Milosavljevic 2017-07-28bootloader: Use <menu-entry> for the bootloader side....Danny Milosavljevic 2017-07-15bootloader: Add u-boot....Danny Milosavljevic 2017-07-02gnu: Switch guile-cairo and dependents to Guile 2.2 again....Ludovic Courtès 2017-06-21bootloader: extlinux: Add extlinux-bootloader-gpt....Mathieu Othacehe 2017-06-08bootloader: Use menu-entry to define custom bootloader entries....Mathieu Othacehe 2017-05-21bootloader: extlinux: Add a warning message on top of generated conf file....Mathieu Othacehe 2017-05-18bootloader: extlinux: Remove syslinux-bootloader....Mathieu Othacehe 2017-05-18bootloader: extlinux: Remove undefined symbols from export list....Mathieu Othacehe 2017-05-16bootloader: Add extlinux support....Mathieu Othacehe