easy_xapian-ruby 1.4.20 → 1.5.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 469ce44cee2fc69c7e834168174de50e7d008528b4c174f137fe2886ac8f68f2
4
- data.tar.gz: ab5bc92c8071e7f812642efd2740ae707a36b99d6854bc4b18bda3f3bce5ded5
3
+ metadata.gz: df8c2d0a5bc0766c0db5459e6bd0cfed536f6dd5cddf76f887f495e18fcbe9a5
4
+ data.tar.gz: 5404314f682ac57d92b3d9c11af6070d894117891bcf0c47e3d085b71fb38f90
5
5
  SHA512:
6
- metadata.gz: 74e6d841aa759afbe2fc2a813f4cd462ed47902b8deb23322983bd1472cd3c64c9d7853f405fdac67170d1b3d81a551d2796f6603cfb8e32381f790174bd1e87
7
- data.tar.gz: 31bca246b8d01325d1d63e755394f78cc541b1c711b258a64948909b63c5061ad862c1cbc67358023703953680f10cb090b463a4d9835d09d0e9e1f4a4a2f3d4
6
+ metadata.gz: 28524c4551086201e59f625a6af34b1ced0bdb95cbddaf324b5d608dd19baa44bc628066df29e3ca19f150dc80c4f1582452abdabff9ce1889f83409c81fd600
7
+ data.tar.gz: 501178a137ccede8e54698c2fac5406ba759d110c1b96a8c9983a29a87b7ea3e235372fad92c24fb60e9e3cc4c092510c1bc3177fcc52fe810c3912cb0ec0a60
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 1.5.0 (Jan 26th, 2023)
2
+ - Update xapian-core to 1.4.21
3
+ - Add prototype of exact-op feature
4
+ - Force to build x64 bit (docid, termpos and termcount)
5
+
1
6
  ## 1.4.20 (Dec 3th, 2021)
2
7
 
3
8
  - 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
- puts cmd
9
- system(cmd) or raise
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-#{ver}-easy"
15
- bindings = "xapian-bindings-#{ver}"
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
- [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
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
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.20
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: 2022-12-15 00:00:00.000000000 Z
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-1.4.20.tar.xz
40
- - xapian_source/xapian-core-1.4.20-easy.tar.xz
41
- homepage: https://github.com/garaio/xapian-ruby
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.3.22
60
+ rubygems_version: 3.4.5
61
61
  signing_key:
62
62
  specification_version: 4
63
63
  summary: xapian libraries and ruby bindings