mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: clucene: Add patch to indicate linking with clucene-shared, not only
clucene-core, to pkgconfig. * gnu/packages/patches/clucene-pkgconfig.patch: New file. * gnu-system.am (dist_patch_DATA): Register patch. * gnu/packages/rdf.scm (clucene): Use patch.
This commit is contained in:
parent
8a79ec41e8
commit
7051054a0a
3 changed files with 26 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
# GNU Guix --- Functional package management for GNU
|
||||
# Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
|
||||
# Copyright © 2013 Andreas Enge <andreas@enge.fr>
|
||||
# Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
|
||||
# Copyright © 2013, 2014 Mark H Weaver <mhw@netris.org>
|
||||
#
|
||||
# This file is part of GNU Guix.
|
||||
|
@ -261,6 +261,7 @@ dist_patch_DATA = \
|
|||
gnu/packages/patches/bitlbee-fix-tests.patch \
|
||||
gnu/packages/patches/bitlbee-memset-fix.patch \
|
||||
gnu/packages/patches/cdparanoia-fpic.patch \
|
||||
gnu/packages/patches/clucene-pkgconfig.patch \
|
||||
gnu/packages/patches/cmake-fix-tests.patch \
|
||||
gnu/packages/patches/coreutils-dummy-man.patch \
|
||||
gnu/packages/patches/coreutils-skip-nohup.patch \
|
||||
|
|
21
gnu/packages/patches/clucene-pkgconfig.patch
Normal file
21
gnu/packages/patches/clucene-pkgconfig.patch
Normal file
|
@ -0,0 +1,21 @@
|
|||
Taken from the Debian package.
|
||||
|
||||
From 7be4a19b76d98260cf95040a47935f854a4ba7a4 Mon Sep 17 00:00:00 2001
|
||||
From: Valentin Rusu <kde@rusu.info>
|
||||
Date: Sat, 17 Dec 2011 13:47:58 +0100
|
||||
Subject: [PATCH] Fix .pc file by adding clucene-shared library
|
||||
|
||||
---
|
||||
src/core/libclucene-core.pc.cmake | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/src/core/libclucene-core.pc.cmake
|
||||
+++ b/src/core/libclucene-core.pc.cmake
|
||||
@@ -6,6 +6,6 @@ includedir=${prefix}/include:${prefix}/i
|
||||
Name: libclucene
|
||||
Description: CLucene - a C++ search engine, ported from the popular Apache Lucene
|
||||
Version: @CLUCENE_VERSION_MAJOR@.@CLUCENE_VERSION_MINOR@.@CLUCENE_VERSION_REVISION@.@CLUCENE_VERSION_PATCH@
|
||||
-Libs: -L${prefix}/@LIB_DESTINATION@/ -lclucene-core
|
||||
+Libs: -L${prefix}/@LIB_DESTINATION@/ -lclucene-core -lclucene-shared
|
||||
Cflags: -I${prefix}/include -I${prefix}/include/CLucene/ext
|
||||
~
|
|
@ -22,6 +22,7 @@ (define-module (gnu packages rdf)
|
|||
#:use-module (guix download)
|
||||
#:use-module (guix build-system cmake)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages boost)
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages curl)
|
||||
|
@ -72,7 +73,8 @@ (define-public clucene
|
|||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1arffdwivig88kkx685pldr784njm0249k0rb1f1plwavlrw9zfx"))))
|
||||
"1arffdwivig88kkx685pldr784njm0249k0rb1f1plwavlrw9zfx"))
|
||||
(patches (list (search-patch "clucene-pkgconfig.patch")))))
|
||||
(build-system cmake-build-system)
|
||||
(inputs
|
||||
`(("boost" ,boost) ; could also use bundled copy
|
||||
|
|
Loading…
Reference in a new issue