easy_xapian-ruby 1.4.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +74 -0
- data/LICENSE +20 -0
- data/README.rdoc +4 -0
- data/Rakefile +54 -0
- data/xapian_source/xapian-bindings-1.4.20.tar.xz +0 -0
- data/xapian_source/xapian-core-1.4.20-easy.tar.xz +0 -0
- metadata +64 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 469ce44cee2fc69c7e834168174de50e7d008528b4c174f137fe2886ac8f68f2
|
4
|
+
data.tar.gz: ab5bc92c8071e7f812642efd2740ae707a36b99d6854bc4b18bda3f3bce5ded5
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 74e6d841aa759afbe2fc2a813f4cd462ed47902b8deb23322983bd1472cd3c64c9d7853f405fdac67170d1b3d81a551d2796f6603cfb8e32381f790174bd1e87
|
7
|
+
data.tar.gz: 31bca246b8d01325d1d63e755394f78cc541b1c711b258a64948909b63c5061ad862c1cbc67358023703953680f10cb090b463a4d9835d09d0e9e1f4a4a2f3d4
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
## 1.4.20 (Dec 3th, 2021)
|
2
|
+
|
3
|
+
- Custom modification: add Polish stemmer to xapian-core
|
4
|
+
|
5
|
+
## 1.4.19 (Aug 23th, 2021)
|
6
|
+
|
7
|
+
- Custom modification: add Czech stemmer to xapian-core
|
8
|
+
|
9
|
+
## 1.4.18 (June 29th, 2021)
|
10
|
+
|
11
|
+
- version bump to Xapian 1.4.18
|
12
|
+
|
13
|
+
## 1.4.17 (June 29th, 2021)
|
14
|
+
|
15
|
+
- add compatibility for macOS Big Sur
|
16
|
+
|
17
|
+
## 1.4.16 (June 21st, 2020)
|
18
|
+
|
19
|
+
- update to xapian 1.4.16
|
20
|
+
|
21
|
+
## 1.4.9 (Nove,ber 7th, 2018)
|
22
|
+
|
23
|
+
- update to xapian 1.2.22
|
24
|
+
##1.2.22 (January 12th, 2016)
|
25
|
+
|
26
|
+
- update to xapian 1.2.22
|
27
|
+
|
28
|
+
## 1.2.21 (July 14th, 2015)
|
29
|
+
|
30
|
+
- update to xapian 1.2.21
|
31
|
+
|
32
|
+
## 1.2.20 (May 5th, 2015)
|
33
|
+
|
34
|
+
- fixed tar flags
|
35
|
+
##1.2.19.1 (December 30th, 2014)
|
36
|
+
|
37
|
+
- fixed tar flags
|
38
|
+
|
39
|
+
## 1.2.19 (December 30th, 2014)
|
40
|
+
|
41
|
+
- update to xapian 1.2.19
|
42
|
+
- fix for ruby 2.2
|
43
|
+
|
44
|
+
## 1.2.17 (February 19th, 2014)
|
45
|
+
|
46
|
+
update to xapian 1.2.17
|
47
|
+
|
48
|
+
## 1.2.15.1 (April 30th, 2012)
|
49
|
+
|
50
|
+
source formats fixed (gzipped)
|
51
|
+
|
52
|
+
## 1.2.15 (April 29th, 2012)
|
53
|
+
|
54
|
+
update to xapian 1.2.15
|
55
|
+
|
56
|
+
## 1.2.12 (July 11th, 2012)
|
57
|
+
|
58
|
+
update to xapian 1.2.12
|
59
|
+
|
60
|
+
## 1.2.8 (February 19th, 2012)
|
61
|
+
|
62
|
+
update to xapian 1.2.8
|
63
|
+
|
64
|
+
## 1.2.7.1 (October 24th, 2011)
|
65
|
+
|
66
|
+
changed LDFLAGS to be more compatible
|
67
|
+
|
68
|
+
## 1.2.7 (September 5th, 2011)
|
69
|
+
|
70
|
+
update to xapian 1.2.7
|
71
|
+
|
72
|
+
## 1.2.6 (July 8th, 2011)
|
73
|
+
|
74
|
+
Initial release
|
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2010 Gernot Kogler
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.rdoc
ADDED
data/Rakefile
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Install the xapian binaries into the lib folder of the gem
|
3
|
+
require 'rbconfig'
|
4
|
+
|
5
|
+
c = RbConfig::CONFIG
|
6
|
+
|
7
|
+
def system!(cmd)
|
8
|
+
puts cmd
|
9
|
+
system(cmd) or raise
|
10
|
+
end
|
11
|
+
|
12
|
+
ver = '1.4.20'
|
13
|
+
source_dir = 'xapian_source'
|
14
|
+
core = "xapian-core-#{ver}-easy"
|
15
|
+
bindings = "xapian-bindings-#{ver}"
|
16
|
+
xapian_config = "#{Dir.pwd}/#{core}/xapian-config"
|
17
|
+
|
18
|
+
task :default do
|
19
|
+
[core,bindings].each do |x|
|
20
|
+
system! "tar -xJf #{source_dir}/#{x}.tar.xz"
|
21
|
+
end
|
22
|
+
|
23
|
+
prefix = Dir.pwd
|
24
|
+
ENV['LDFLAGS'] = "-L#{prefix}/lib"
|
25
|
+
ENV['CXXFLAGS'] = "-fms-extensions"
|
26
|
+
|
27
|
+
system! "mkdir -p lib"
|
28
|
+
|
29
|
+
Dir.chdir core do
|
30
|
+
system! 'sed -i".bak" -e "s/darwin\\[91\\]/darwin[912]/g" configure'
|
31
|
+
system! "./configure --prefix=#{prefix} --exec-prefix=#{prefix}"
|
32
|
+
system! "make clean all"
|
33
|
+
system! "cp -r .libs/* ../lib/"
|
34
|
+
end
|
35
|
+
|
36
|
+
Dir.chdir bindings do
|
37
|
+
system! 'sed -i".bak" -e "s/darwin\\[91\\]/darwin[912]/g" configure'
|
38
|
+
ENV['RUBY'] ||= "#{c['bindir']}/#{c['RUBY_INSTALL_NAME']}"
|
39
|
+
ENV['XAPIAN_CONFIG'] = xapian_config
|
40
|
+
system! "./configure --prefix=#{prefix} --exec-prefix=#{prefix} --with-ruby"
|
41
|
+
system! "make clean all"
|
42
|
+
end
|
43
|
+
|
44
|
+
system! "cp -r #{bindings}/ruby/.libs/_xapian.* lib"
|
45
|
+
system! "cp #{bindings}/ruby/xapian.rb lib"
|
46
|
+
|
47
|
+
system! "rm lib/*.a"
|
48
|
+
system! "rm lib/*.la"
|
49
|
+
system! "rm lib/*.lai"
|
50
|
+
|
51
|
+
system! "rm -R #{bindings}"
|
52
|
+
system! "rm -R #{core}"
|
53
|
+
system! "rm -R #{source_dir}"
|
54
|
+
end
|
Binary file
|
Binary file
|
metadata
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: easy_xapian-ruby
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.4.20
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Gernot Kogler
|
8
|
+
- Easy Software Ltd.
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2022-12-15 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rake
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ">="
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '12.2'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '12.2'
|
28
|
+
description:
|
29
|
+
email: gernot.kogler (at) garaio (dot) com
|
30
|
+
executables: []
|
31
|
+
extensions:
|
32
|
+
- Rakefile
|
33
|
+
extra_rdoc_files: []
|
34
|
+
files:
|
35
|
+
- CHANGELOG.md
|
36
|
+
- LICENSE
|
37
|
+
- README.rdoc
|
38
|
+
- Rakefile
|
39
|
+
- xapian_source/xapian-bindings-1.4.20.tar.xz
|
40
|
+
- xapian_source/xapian-core-1.4.20-easy.tar.xz
|
41
|
+
homepage: https://github.com/garaio/xapian-ruby
|
42
|
+
licenses: []
|
43
|
+
metadata:
|
44
|
+
allowed_push_host: https://rubygems.org
|
45
|
+
post_install_message:
|
46
|
+
rdoc_options: []
|
47
|
+
require_paths:
|
48
|
+
- lib
|
49
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 2.5.0
|
54
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: 1.3.6
|
59
|
+
requirements: []
|
60
|
+
rubygems_version: 3.3.22
|
61
|
+
signing_key:
|
62
|
+
specification_version: 4
|
63
|
+
summary: xapian libraries and ruby bindings
|
64
|
+
test_files: []
|