xapian-core 1.4.2 → 1.4.6

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
- SHA1:
3
- metadata.gz: e724e852c5e7e3715788c43a074a9136bc177756
4
- data.tar.gz: '0593ba89342e09f24f51a08471b30185ce999074'
2
+ SHA256:
3
+ metadata.gz: c791d699386528f46b49f855940d71bb341dab76a31d31b9672c7569c4ffbba0
4
+ data.tar.gz: 41173b33099a9df53ddc209abde242025ef619f7b3fc14faa797e3b0ca9b8510
5
5
  SHA512:
6
- metadata.gz: 5c4a49c32a25fda55934da7b8ffc4404c3582dbe6b552c5dae44dfd09602e2b1194ca04a5e2fd4e28aedc00f85afbca309f9fbe9e348f5b6535e94a262029804
7
- data.tar.gz: 847252e33d0c977a1d2473446768f37a6b02163d9b5506115feaecbeb3004ec700ab23ef1affe640e9e8dd495ed199540bb1a00306084d77d2e752516db3761f
6
+ metadata.gz: 0f556d73dc01b92e13ca7c11a3317579d3d4cc0dc0a6e7e916e7b8fe72fe95a9e3de5fa8390b12045d355cdb8a31a7cb3ec809b81cb71106699d111a677cb3f1
7
+ data.tar.gz: c3c11d4ec1f7de2e4c3ecaea5df1abef7e2896c565dd3afa4282d8ad555a34036e4a2fe55c708140423224652999ae73cea36735bfecb9705df3240bdfff35b3
@@ -6,7 +6,7 @@ def system!(cmd)
6
6
  system(cmd) or raise
7
7
  end
8
8
 
9
- ver = '1.4.2'
9
+ ver = '1.4.6'
10
10
  core = "xapian-core-#{ver}"
11
11
  bindings = "xapian-bindings-#{ver}"
12
12
  xapian_config = "#{__dir__}/#{core}/xapian-config"
@@ -20,7 +20,7 @@ namespace :build do
20
20
  Dir.chdir core do
21
21
  system! "./configure --prefix=#{prefix} --exec-prefix=#{prefix}"
22
22
  system! "make all install"
23
-
23
+
24
24
  # Alternatively to only install libraries
25
25
  # system! "cp -r .libs/* ../lib/"
26
26
  end
@@ -31,18 +31,31 @@ namespace :build do
31
31
  ENV['RUBY'] ||= "#{c['bindir']}/#{c['RUBY_INSTALL_NAME']}"
32
32
  ENV['XAPIAN_CONFIG'] = xapian_config
33
33
 
34
- system! "cp ../Makefile.am-ruby ./ruby/Makefile.am"
35
-
36
34
  system! "./configure --prefix=#{prefix} --exec-prefix=#{prefix} --with-ruby"
37
-
35
+
38
36
  system! "make all"
39
-
37
+
40
38
  system! "cp -LR ./ruby/.libs/_xapian.* #{prefix}/lib"
41
39
  system! "cp ./ruby/xapian.rb #{prefix}/lib"
42
40
  end
43
41
  end
44
-
45
- task :all => [:core, :bindings]
42
+
43
+ desc 'Remove sources files and strip libraries'
44
+ task :cleanup do
45
+ system! "rm -rfv #{core} #{bindings} ../include"
46
+ system! "strip --strip-unneeded ../lib/_xapian.so ../lib/libxapian.so"
47
+ # we could use globbing but xapian-config is a shell script and make
48
+ # strip fail
49
+ %w[copydatabase quest simpleexpand simpleindex simplesearch
50
+ xapian-check xapian-compact xapian-delve xapian-metadata
51
+ xapian-progsrv xapian-replicate xapian-replicate-server
52
+ xapian-tcpsrv].each do |bin|
53
+
54
+ system! "strip --strip-all ../bin/#{bin}"
55
+ end
56
+ end
57
+
58
+ task :all => [:core, :bindings, :cleanup]
46
59
  end
47
60
 
48
61
  task :extract do
@@ -1,5 +1,5 @@
1
1
  module Xapian
2
2
  module Core
3
- VERSION = "1.4.2"
3
+ VERSION = '1.4.6'.freeze
4
4
  end
5
5
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["samuel.williams@oriontransfer.co.nz"]
11
11
  spec.summary = %q{Provides Xapian libraries and Ruby bindings.}
12
12
  spec.homepage = ""
13
- spec.license = "GPLv3"
13
+ spec.license = "GPL-3.0"
14
14
 
15
15
  spec.files = `git ls-files -z`.split("\x0")
16
16
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xapian-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 1.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-15 00:00:00.000000000 Z
11
+ date: 2018-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -50,17 +50,16 @@ files:
50
50
  - Gemfile
51
51
  - README.md
52
52
  - Rakefile
53
- - ext/Makefile.am-ruby
54
53
  - ext/Rakefile
55
- - ext/xapian-bindings-1.4.2.tar.xz
56
- - ext/xapian-core-1.4.2.tar.xz
54
+ - ext/xapian-bindings-1.4.6.tar.xz
55
+ - ext/xapian-core-1.4.6.tar.xz
57
56
  - lib/xapian/core/version.rb
58
57
  - test/simpleindex.rb
59
58
  - test/simplesearch.rb
60
59
  - xapian-core.gemspec
61
60
  homepage: ''
62
61
  licenses:
63
- - GPLv3
62
+ - GPL-3.0
64
63
  metadata: {}
65
64
  post_install_message:
66
65
  rdoc_options: []
@@ -78,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
77
  version: '0'
79
78
  requirements: []
80
79
  rubyforge_project:
81
- rubygems_version: 2.5.2
80
+ rubygems_version: 2.7.6
82
81
  signing_key:
83
82
  specification_version: 4
84
83
  summary: Provides Xapian libraries and Ruby bindings.
@@ -1,121 +0,0 @@
1
- ## Process this file with automake to produce Makefile.in
2
-
3
- include ../generic/generic.mk
4
-
5
- ## Test programs to be run
6
- TESTS = smoketest.rb
7
- LOG_COMPILER = $(OSX_SIP_HACK_ENV) $(RUBY)
8
- AM_LOG_FLAGS = -I.libs -I'$(srcdir)'
9
-
10
- installcheck-local:
11
- $(MAKE) check AM_LOG_FLAGS=
12
-
13
- SWIG_GENERATED = xapian_wrap.cc xapian_wrap.h
14
-
15
- EXTRA_DIST = ruby.i extra.i docs/index.rst $(TESTS) \
16
- $(SWIG_GENERATED)
17
-
18
- BUILT_SOURCES = $(SWIG_GENERATED)
19
-
20
- rubylibdir = $(RUBY_LIB)
21
- dist_rubylib_DATA = xapian.rb
22
-
23
- rubylibarchdir = $(RUBY_LIB_ARCH)
24
- rubylibarch_LTLIBRARIES = _xapian.la
25
-
26
- # Remove the .la file - _xapian.la is never linked against (it's a module)
27
- # and Ruby doesn't use libltdl. Note that the library gets installed by
28
- # install-data, so that's where we need to hook.
29
- install-data-hook:
30
- rm -f $(DESTDIR)$(rubylibarchdir)/_xapian.la
31
-
32
- AM_CPPFLAGS = -I$(RUBY_INC) -I$(RUBY_INC_ARCH)
33
- AM_CXXFLAGS = @SWIG_CXXFLAGS@ $(XAPIAN_CXXFLAGS)
34
- _xapian_la_LDFLAGS = -avoid-version -module -shrext ".$(RUBY_DLEXT)" $(NO_UNDEFINED)
35
- _xapian_la_SOURCES = xapian_wrap.cc xapian_wrap.h
36
- _xapian_la_LIBADD = $(XAPIAN_LIBS) $(RUBY_LIBS)
37
-
38
- CLEANFILES =
39
- if MAINTAINER_MODE
40
- stamp = xapian_wrap.stamp
41
- RUN_SWIG = $(PERL) '$(top_srcdir)'/swig-depcomp $(SWIG)
42
-
43
- xapian_wrap.cc xapian_wrap.h: $(stamp)
44
- $(make_many_locked)
45
- $(stamp):
46
- $(multitarget_begin)
47
- $(RUN_SWIG) $(SWIG_WERROR) -I'$(srcdir)' $(SWIG_FLAGS) -c++ \
48
- -initname _xapian -ruby \
49
- -o xapian_wrap.cc '$(srcdir)/'ruby.i
50
- $(multitarget_end)
51
-
52
- -include xapian_wrap.d
53
-
54
- CLEANFILES += $(stamp)
55
- endif
56
- MAINTAINERCLEANFILES = $(BUILT_SOURCES)
57
-
58
- # Compatibility wrapper which configure creates when required.
59
- DISTCLEANFILES = rubyio.h
60
-
61
- exampledatadir = $(docdir)/ruby/examples
62
- dist_exampledata_DATA = \
63
- docs/examples/simpleexpand.rb \
64
- docs/examples/simpleindex.rb \
65
- docs/examples/simplematchdecider.rb \
66
- docs/examples/simplesearch.rb
67
-
68
- install-data-local:
69
- $(mkinstalldirs) $(DESTDIR)$(docdatadir)
70
- ## In a VPATH build, install files from srcdir first. Use
71
- ## $(abs_builddir) because we need to cd there having already
72
- ## changed directory.
73
- @paths=docs ; \
74
- test '$(abs_srcdir)' == '$(abs_builddir)' || paths='$(srcdir)/docs $(abs_builddir)/docs' ; \
75
- for docs in $$paths ; do \
76
- cd "$$docs" && for dir in `find rdocs -type d -print` ; do \
77
- echo " $(mkinstalldirs) '$(DESTDIR)$(docdatadir)/$$dir'"; \
78
- $(mkinstalldirs) "$(DESTDIR)$(docdatadir)/$$dir"; \
79
- done && for f in `find rdocs -type f -print` ; do \
80
- echo " $(INSTALL_DATA) '$$f' '$(DESTDIR)$(docdatadir)/$$f'"; \
81
- $(INSTALL_DATA) "$$f" "$(DESTDIR)$(docdatadir)/$$f"; \
82
- done ; \
83
- done
84
-
85
- uninstall-local:
86
- ## Because we don't install the .la file, "make uninstall" doesn't work
87
- ## and we need to remove the file ourselves.
88
- rm -f $(DESTDIR)$(rubylibarchdir)/_xapian.$(RUBY_DLEXT)
89
- @paths=docs ; \
90
- test '$(abs_srcdir)' == '$(abs_builddir)' || paths='$(srcdir)/docs $(abs_builddir)/docs' ; \
91
- for docs in $$paths ; do \
92
- cd "$$docs" && for f in `find rdocs -type f -print` ; do \
93
- echo " rm -f '$(DESTDIR)$(docdatadir)/$$f'"; \
94
- rm -f "$(DESTDIR)$(docdatadir)/$$f"; \
95
- done; \
96
- done
97
-
98
- docdatadir = $(docdir)/ruby
99
- dist_docdata_DATA = docs/index.html
100
-
101
- if DOCUMENTATION_RULES
102
- EXTRA_DIST += generate-rdoc-stubs docs/xapian.rb
103
-
104
- BUILT_SOURCES += docs/rdocs/index.html
105
-
106
- docs/rdocs/index.html: docs/xapian.rb
107
- rm -rf docs/rdocs
108
- $(MKDIR_P) docs
109
- cd docs && $(RDOC) --op rdocs `test -f xapian.rb||echo '$(abs_srcdir)/'`xapian.rb
110
-
111
- docs/xapian.rb: generate-rdoc-stubs xapian.rb ../doxygen-xml/index.xml
112
- $(PERL) $(srcdir)/generate-rdoc-stubs
113
-
114
- BUILT_SOURCES += docs/index.html
115
-
116
- .rst.html:
117
- -case "$@" in */*) d=`echo "$@"|sed 's,/[^/]*$$,,'`; $(MKDIR_P) "$$d" ;; esac
118
- $(RST2HTML) --exit-status=warning $< $@
119
- endif
120
-
121
- CLEANFILES += docs/xapian.rb
Binary file