doc
This commit is contained in:
parent
7079534ab3
commit
0ab2796baa
2 changed files with 75 additions and 4 deletions
|
@ -229,22 +229,35 @@ many distributions.</p>
|
|||
|
||||
<p><i>Except they're not at the moment (2015-10)...</i>. So
|
||||
I am maintaining a repository for packages built for Debian Wheezy,
|
||||
which also work on Jessie. This currently has recoll 1.20.6 (the
|
||||
and Jessie. This currently has recoll 1.20.6 (the
|
||||
standard repos have 1.17...) To add the repository to your
|
||||
sources:</p>
|
||||
|
||||
<p>The public part of the key used to sign the repositories can
|
||||
be downloaded and installed as follows:</p>
|
||||
|
||||
<div class="code">
|
||||
wget -O - http://www.lesbonscomptes.com/key/jf@dockes.org.gpg.key | sudo apt-key add -
|
||||
</div>
|
||||
|
||||
<ul>
|
||||
<li>Create and edit <span class="filename">
|
||||
/etc/apt/sources.list.d/recoll.list</span>
|
||||
and add the following lines:<br>
|
||||
for wheezy (debian 7.x):<br>
|
||||
<div class="code">
|
||||
deb http://www.lesbonscomptes.com/recoll/debian/ unstable main
|
||||
deb-src http://www.lesbonscomptes.com/recoll/debian/ unstable main
|
||||
deb http://www.lesbonscomptes.com/recoll/debian/ wheezy main
|
||||
deb-src http://www.lesbonscomptes.com/recoll/debian/ wheezy main
|
||||
</div>
|
||||
for jessie (debian 8.x):<br>
|
||||
<div class="code">
|
||||
deb http://www.lesbonscomptes.com/recoll/debian/ jessie main
|
||||
deb-src http://www.lesbonscomptes.com/recoll/debian/ jessie main
|
||||
</div>
|
||||
<li>Then:
|
||||
<div class="code">
|
||||
sudo apt-get update
|
||||
sudo apt-get install recoll
|
||||
sudo apt-get install recoll [python-recoll python3-recoll]
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -202,6 +202,64 @@ http://blog.alivate.com.au/poppler-windows/
|
|||
There is a copy in the recoll-windows-deps repository, it will be copied by
|
||||
the mkinstdir.sh script.
|
||||
|
||||
== libwpd
|
||||
|
||||
We use the wpd2html tool from libwpd 0.10.0, unmodified. This depends on
|
||||
librevenge 0.0.1 which has been slightly modified to not depend on boost (a
|
||||
500 MB install if you can believe it). Both files can be found under the
|
||||
libwpd directory of the recoll-windows-deps repository.
|
||||
|
||||
mkdir c:/temp/libwpd
|
||||
cd c:/temp/libwpd
|
||||
|
||||
tar xf librevenge-0.0.1.jfd.tar.gz
|
||||
cd librevenge-0.0.1.jfd
|
||||
CPPFLAGS=-I/c/temp/zlib-1.2.8 LDFLAGS=-L/c/temp/zlib-1.2.8 configure --disable-tests --without-docs
|
||||
make
|
||||
|
||||
cd ..
|
||||
|
||||
tar xf /data/source/00DISTS/libwpd-0.10.0.tar.gz
|
||||
cd libwpd-0.10.0
|
||||
REVENGE_CFLAGS=-Ic:/temp/libwpd/librevenge-0.0.1.jfd/inc \
|
||||
REVENGE_LIBS="-Lc:/temp/libwpd/librevenge-0.0.1.jfd/src/lib/.libs -lrevenge-0.0" \
|
||||
REVENGE_GENERATORS_CFLAGS=-Ic:/temp/libwpd/librevenge-0.0.1.jfd/inc \
|
||||
REVENGE_GENERATORS_LIBS="-Lc:/temp/libwpd/librevenge-0.0.1.jfd/src/lib/.libs -lrevenge-generators-0.0" \
|
||||
REVENGE_STREAM_CFLAGS=-Ic:/temp/libwpd/librevenge-0.0.1.jfd/inc \
|
||||
REVENGE_STREAM_LIBS="-Lc:/temp/libwpd/librevenge-0.0.1.jfd/src/lib/.libs -lrevenge-stream-0.0" \
|
||||
configure --without-docs
|
||||
make
|
||||
|
||||
== chm
|
||||
|
||||
This build uses a slightly modified pychm python modules: for
|
||||
simplification, the relevant C files from chmlib were included in the
|
||||
python module itself (in addition to its own C extension file).
|
||||
|
||||
The source package is inside the recoll-windows-deps repository as
|
||||
pychm-0.8.4.1-git.tar.gz. The build result is also stored, and will be used
|
||||
directly by the install building script, so the following instructions are
|
||||
for reference.
|
||||
|
||||
To build the pychm module:
|
||||
|
||||
cd c:/temp
|
||||
tar xf pychm-0.8.4.1-git.tar.gz
|
||||
cd pychm-0.8.4.1-git
|
||||
python setup.py build
|
||||
|
||||
Will probably complain about a missing vc++ compiler, and indicate where to
|
||||
download VC++ for Python 2.7 (an official Microsoft location). Do it, then
|
||||
repeat the command:
|
||||
|
||||
python setup.py build
|
||||
python setup.py bdist
|
||||
|
||||
This creates a zip file inside the dist subdirectory. The contents of this
|
||||
zip are extracted and the chm/ directory is stored in the
|
||||
recoll-windows-deps repo for convenience (under pychm/chm) and copied to
|
||||
the recoll install dir by the install script.
|
||||
|
||||
== Building the install directory
|
||||
|
||||
Once the builds above are performed, edit the mkinstdir.sh script to adjust
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue