xapian-core 1.2.20.2 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of xapian-core might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0abd0b09087d8fbf861bfc466b834b8e3805f028
4
- data.tar.gz: 986bc83a688ce6330d6f74848b8e546109a8d24a
3
+ metadata.gz: e724e852c5e7e3715788c43a074a9136bc177756
4
+ data.tar.gz: '0593ba89342e09f24f51a08471b30185ce999074'
5
5
  SHA512:
6
- metadata.gz: 0fddeb47d8b36c4d47ca3c54d4616c1314114a6edd7cda97a5d770b3ae69303771a00ace94c5c26d7a3bea74073b9f77241ad47b5e202fc98face630db6bee2c
7
- data.tar.gz: dc712389398736da74d6b9f58903f5865eb0696ebbb1c4fb73877f2841bb7a5e7145e9e503bbc5eae3657808099a3eaedd130fdb1cb5248529bbffb0b22aa0bc
6
+ metadata.gz: 5c4a49c32a25fda55934da7b8ffc4404c3582dbe6b552c5dae44dfd09602e2b1194ca04a5e2fd4e28aedc00f85afbca309f9fbe9e348f5b6535e94a262029804
7
+ data.tar.gz: 847252e33d0c977a1d2473446768f37a6b02163d9b5506115feaecbeb3004ec700ab23ef1affe640e9e8dd495ed199540bb1a00306084d77d2e752516db3761f
@@ -0,0 +1,121 @@
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
data/ext/Rakefile CHANGED
@@ -6,37 +6,49 @@ def system!(cmd)
6
6
  system(cmd) or raise
7
7
  end
8
8
 
9
- ver = '1.2.20'
9
+ ver = '1.4.2'
10
10
  core = "xapian-core-#{ver}"
11
11
  bindings = "xapian-bindings-#{ver}"
12
- xapian_config = "#{Dir.pwd}/#{core}/xapian-config"
12
+ xapian_config = "#{__dir__}/#{core}/xapian-config"
13
+ prefix = ENV['PREFIX'] || File.dirname(__dir__)
14
+ puts "prefix = #{prefix}"
15
+ #ENV['LDFLAGS'] = "-R#{prefix}/lib"
16
+ docdir = File.join(prefix, "share/doc/xapian")
13
17
 
14
- task :default do
15
- [core,bindings].each do |x|
16
- system! "tar -xvf #{x}.tar.xz"
18
+ namespace :build do
19
+ task :core do
20
+ Dir.chdir core do
21
+ system! "./configure --prefix=#{prefix} --exec-prefix=#{prefix}"
22
+ system! "make all install"
23
+
24
+ # Alternatively to only install libraries
25
+ # system! "cp -r .libs/* ../lib/"
26
+ end
17
27
  end
18
28
 
19
- prefix = File.dirname(Dir.pwd)
20
- puts "prefix = #{prefix}"
21
-
22
- #ENV['LDFLAGS'] = "-R#{prefix}/lib"
23
-
24
- Dir.chdir core do
25
- system! "./configure --prefix=#{prefix} --exec-prefix=#{prefix}"
26
- system! "make clean all install"
27
-
28
- # Alternatively to only install libraries
29
- # system! "cp -r .libs/* ../lib/"
29
+ task :bindings do
30
+ Dir.chdir bindings do
31
+ ENV['RUBY'] ||= "#{c['bindir']}/#{c['RUBY_INSTALL_NAME']}"
32
+ ENV['XAPIAN_CONFIG'] = xapian_config
33
+
34
+ system! "cp ../Makefile.am-ruby ./ruby/Makefile.am"
35
+
36
+ system! "./configure --prefix=#{prefix} --exec-prefix=#{prefix} --with-ruby"
37
+
38
+ system! "make all"
39
+
40
+ system! "cp -LR ./ruby/.libs/_xapian.* #{prefix}/lib"
41
+ system! "cp ./ruby/xapian.rb #{prefix}/lib"
42
+ end
30
43
  end
44
+
45
+ task :all => [:core, :bindings]
46
+ end
31
47
 
32
- Dir.chdir bindings do
33
- ENV['RUBY'] ||= "#{c['bindir']}/#{c['RUBY_INSTALL_NAME']}"
34
- ENV['XAPIAN_CONFIG'] = xapian_config
35
-
36
- system! "./configure --prefix=#{prefix} --exec-prefix=#{prefix} --with-ruby"
37
- system! "make clean all"
38
-
39
- system! "cp -LR ./ruby/.libs/_xapian.* #{prefix}/lib"
40
- system! "cp ./ruby/xapian.rb #{prefix}/lib"
48
+ task :extract do
49
+ [core,bindings].each do |x|
50
+ system! "tar -xvf #{x}.tar.xz"
41
51
  end
42
52
  end
53
+
54
+ task :default => [:extract, 'build:all']
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  module Xapian
2
2
  module Core
3
- VERSION = "1.2.20.2"
3
+ VERSION = "1.4.2"
4
4
  end
5
5
  end
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.2.20.2
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-07 00:00:00.000000000 Z
11
+ date: 2017-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -50,9 +50,10 @@ files:
50
50
  - Gemfile
51
51
  - README.md
52
52
  - Rakefile
53
+ - ext/Makefile.am-ruby
53
54
  - ext/Rakefile
54
- - ext/xapian-bindings-1.2.20.tar.xz
55
- - ext/xapian-core-1.2.20.tar.xz
55
+ - ext/xapian-bindings-1.4.2.tar.xz
56
+ - ext/xapian-core-1.4.2.tar.xz
56
57
  - lib/xapian/core/version.rb
57
58
  - test/simpleindex.rb
58
59
  - test/simplesearch.rb
@@ -77,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
78
  version: '0'
78
79
  requirements: []
79
80
  rubyforge_project:
80
- rubygems_version: 2.4.6
81
+ rubygems_version: 2.5.2
81
82
  signing_key:
82
83
  specification_version: 4
83
84
  summary: Provides Xapian libraries and Ruby bindings.
Binary file
Binary file