easy_xapian-ruby 1.4.20 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -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: df8c2d0a5bc0766c0db5459e6bd0cfed536f6dd5cddf76f887f495e18fcbe9a5
|
4
|
+
data.tar.gz: 5404314f682ac57d92b3d9c11af6070d894117891bcf0c47e3d085b71fb38f90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28524c4551086201e59f625a6af34b1ced0bdb95cbddaf324b5d608dd19baa44bc628066df29e3ca19f150dc80c4f1582452abdabff9ce1889f83409c81fd600
|
7
|
+
data.tar.gz: 501178a137ccede8e54698c2fac5406ba759d110c1b96a8c9983a29a87b7ea3e235372fad92c24fb60e9e3cc4c092510c1bc3177fcc52fe810c3912cb0ec0a60
|
data/CHANGELOG.md
CHANGED
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.0
|
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: 2023-01-31 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.5
|
61
61
|
signing_key:
|
62
62
|
specification_version: 4
|
63
63
|
summary: xapian libraries and ruby bindings
|
Binary file
|
Binary file
|