easy_xapian-ruby 1.4.20 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Rakefile +28 -29
- data/xapian_source/xapian-bindings.tar.xz +0 -0
- data/xapian_source/xapian-core.tar.xz +0 -0
- metadata +6 -6
- 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
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ac1bba3059480e8bbe8479502dc2c0e42f9f5415cce1f2f12ce48edceacff56c
|
|
4
|
+
data.tar.gz: eb2265b328ccd7d7dbc32e5f64dbff8080cde248777b2258b62b71681228e4cf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4c73b5c5af62f63f6bee9cf2fe3250a6a321d9a39fa5a53bc7243ac5238d913f2a217f20129c42bcff83a2165774138c2526d7037133f250d979cf19f339472c
|
|
7
|
+
data.tar.gz: ee6f1144cf39eea44abaa474e50765523f6c7f67f16ac4a70f6e69c54c3dc4685dc0acdd482ecab6d3e11c4ec30efa6503de3229a8b868129e6d5fe045a94988
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## 1.5.1 (Aug 29th, 2024)
|
|
2
|
+
- Update ruby swig wrappers
|
|
3
|
+
|
|
4
|
+
## 1.5.0 (Jan 26th, 2023)
|
|
5
|
+
- Update xapian-core to 1.4.21
|
|
6
|
+
- Add prototype of exact-op feature
|
|
7
|
+
- Force to build x64 bit (docid, termpos and termcount)
|
|
8
|
+
|
|
1
9
|
## 1.4.20 (Dec 3th, 2021)
|
|
2
10
|
|
|
3
11
|
- Custom modification: add Polish stemmer to xapian-core
|
data/Rakefile
CHANGED
|
@@ -5,41 +5,40 @@ require 'rbconfig'
|
|
|
5
5
|
c = RbConfig::CONFIG
|
|
6
6
|
|
|
7
7
|
def system!(cmd)
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
puts cmd
|
|
9
|
+
system(cmd) or raise
|
|
10
10
|
end
|
|
11
11
|
|
|
12
|
-
ver = '1.4.20'
|
|
13
12
|
source_dir = 'xapian_source'
|
|
14
|
-
core = "xapian-core
|
|
15
|
-
bindings = "xapian-bindings
|
|
13
|
+
core = "xapian-core"
|
|
14
|
+
bindings = "xapian-bindings"
|
|
16
15
|
xapian_config = "#{Dir.pwd}/#{core}/xapian-config"
|
|
17
16
|
|
|
18
17
|
task :default do
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
18
|
+
[core, bindings].each do |x|
|
|
19
|
+
system! "tar -xJf #{source_dir}/#{x}.tar.xz"
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
prefix = Dir.pwd
|
|
23
|
+
ENV['LDFLAGS'] = "-L#{prefix}/lib"
|
|
24
|
+
ENV['CXXFLAGS'] = "-fms-extensions"
|
|
25
|
+
|
|
26
|
+
system! "mkdir -p lib"
|
|
27
|
+
|
|
28
|
+
Dir.chdir core do
|
|
29
|
+
system! 'sed -i".bak" -e "s/darwin\\[91\\]/darwin[912]/g" configure'
|
|
30
|
+
system! "./configure --prefix=#{prefix} --exec-prefix=#{prefix} --enable-64bit-docid --enable-64bit-termcount --enable-64bit-termpos --disable-documentation"
|
|
31
|
+
system! "make"
|
|
32
|
+
system! "cp -r .libs/* ../lib/"
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
Dir.chdir bindings do
|
|
36
|
+
system! 'sed -i".bak" -e "s/darwin\\[91\\]/darwin[912]/g" configure'
|
|
37
|
+
ENV['RUBY'] ||= "#{c['bindir']}/#{c['RUBY_INSTALL_NAME']}"
|
|
38
|
+
ENV['XAPIAN_CONFIG'] = xapian_config
|
|
39
|
+
system! "./configure --prefix=#{prefix} --exec-prefix=#{prefix} --with-ruby --disable-documentation"
|
|
40
|
+
system! "make"
|
|
41
|
+
end
|
|
43
42
|
|
|
44
43
|
system! "cp -r #{bindings}/ruby/.libs/_xapian.* lib"
|
|
45
44
|
system! "cp #{bindings}/ruby/xapian.rb lib"
|
|
Binary file
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: easy_xapian-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gernot Kogler
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2024-08-29 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rake
|
|
@@ -36,9 +36,9 @@ files:
|
|
|
36
36
|
- LICENSE
|
|
37
37
|
- README.rdoc
|
|
38
38
|
- Rakefile
|
|
39
|
-
- xapian_source/xapian-bindings
|
|
40
|
-
- xapian_source/xapian-core
|
|
41
|
-
homepage: https://github.com/
|
|
39
|
+
- xapian_source/xapian-bindings.tar.xz
|
|
40
|
+
- xapian_source/xapian-core.tar.xz
|
|
41
|
+
homepage: https://github.com/easysoftware/xapian-ruby
|
|
42
42
|
licenses: []
|
|
43
43
|
metadata:
|
|
44
44
|
allowed_push_host: https://rubygems.org
|
|
@@ -57,7 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
57
57
|
- !ruby/object:Gem::Version
|
|
58
58
|
version: 1.3.6
|
|
59
59
|
requirements: []
|
|
60
|
-
rubygems_version: 3.
|
|
60
|
+
rubygems_version: 3.4.22
|
|
61
61
|
signing_key:
|
|
62
62
|
specification_version: 4
|
|
63
63
|
summary: xapian libraries and ruby bindings
|
|
Binary file
|
|
Binary file
|