Menu

Tree [aa52c3] master /
 History

HTTPS access


File Date Author Commit
 apps 2018-10-06 Matteo Vescovi Matteo Vescovi [4ef484] update for Visual Studio 2017
 bindings 2018-10-06 Matteo Vescovi Matteo Vescovi [4ef484] update for Visual Studio 2017
 doc 2018-09-29 Matteo Vescovi Matteo Vescovi [8b5676] update MSYS2 build instructions for Windows.
 m4 2011-01-21 Matteo Vescovi Matteo Vescovi [21acea] adding cppunit.m4
 packaging 2018-10-06 Matteo Vescovi Matteo Vescovi [aa52c3] update to latest MSYS2 build env
 resources 2018-08-19 Matteo Vescovi Matteo Vescovi [1c073d] customize site header and navigation.
 src 2016-11-15 Matteo Vescovi Matteo Vescovi [0a9263] Remove narrowing conversion from int to char er...
 test 2015-09-05 Matteo Vescovi Matteo Vescovi [53adf6] Add COUNT_THRESHOLD configuration variable to s...
 utils 2008-07-14 Matteo Vescovi Matteo Vescovi [e1438e] updated license notices to reflect project name...
 website 2018-09-01 Matteo Vescovi Matteo Vescovi [622170] update presage URL to new https address.
 .gitignore 2018-08-05 Matteo Vescovi Matteo Vescovi [ef7a7f] add couple of autotools files to .gitignore
 .gitmodules 2018-08-05 Matteo Vescovi Matteo Vescovi [b48d43] commit initial hugo website sources.
 AUTHORS 2010-07-08 Matteo Vescovi Matteo Vescovi [caa634] minor updates.
 COPYING 2007-01-22 Matteo Vescovi Matteo Vescovi [b60866] Initial commit
 ChangeLog 2018-10-06 Matteo Vescovi Matteo Vescovi [aa52c3] update to latest MSYS2 build env
 FAQ 2012-05-24 Matteo Vescovi Matteo Vescovi [83e275] Add answers to questions asked on mailing list ...
 INSTALL 2014-08-06 Matteo Vescovi Matteo Vescovi [1af133] fix problems caused by subdir-objects automake ...
 Makefile.am 2010-04-14 Matteo Vescovi Matteo Vescovi [e630fe] switching debian packaging to 3.0 quilt format.
 NEWS 2015-04-20 Matteo Vescovi Matteo Vescovi [09c03e] Preparing for 0.9.1 release.
 README 2018-09-02 Matteo Vescovi Matteo Vescovi [914812] update list of dependencies on Linux/Unix systems.
 THANKS 2010-07-08 Matteo Vescovi Matteo Vescovi [caa634] minor updates.
 TODO 2014-02-16 Matteo Vescovi Matteo Vescovi [60cfec] bumped version up to 0.9~beta, fix presage.net ...
 bootstrap 2007-08-30 Matteo Vescovi Matteo Vescovi [a4dff4] Added support for building python binding exten...
 configure.ac 2018-01-21 Matteo Vescovi Matteo Vescovi [d9a86e] Fixed cppunit detection and distcheck target.

Read Me

Copyright (C) 2008-2018  Matteo Vescovi <matteo.vescovi@yahoo.co.uk>
___________________
The Presage project
~~~~~~~~~~~~~~~~~~~

Welcome to Presage, the intelligent predictive text entry system.


This document will guide you through the steps required to configure
and build the Presage system and libraries. You should be ready to run
Presage in a few minutes.

This README does not contain the answers to all the questions you
might have. If you run into troubles, if you have problems, or if you
have a question, please look for answers in the doc/ directory. If you
cannot find an answer there, get in touch.


Requirements:

  - A working development enviroment.

    On Linux/Unix systems, this means having GCC (g++), the GNU Compiler
    Collection packages, make, as well as libraries for these languages
    (libstdc++, glibc, etc). To regenerate the autotools machinery,
    you'll need autoconf, automake, libtool and pkg-config packages.

    On Solaris systems, this means having Studio 10 or later compilers.

    On Windows systems, please install the MSYS2 development
    environment. Instructions on how to setup MSYS2 and required
    packages can be found in the doc/INSTALL_MSYS2_dev_env.txt file.

  - SQLite package. SQLite is a small C library that implements a
    self-contained, embeddable, zero-configuration SQL database engine.
    SQLite can be obtained from http://www.sqlite.org

    On Debian systems, install libsqlite3-dev and sqlite3 packages.


Optional:

  - Curses library. On Debian systems, install libncurses5-dev.

  - CPPUnit library. On Debian systems, install libcppunit-dev.

  - Python package. On Debian systems, install python-dev.

  - SWIG package. On Debian systems, install swig.

  - help2man package. On Debian systems, install help2man.

  - doxygen package. On Debian systems, install doxygen.

  - dot program. On Debian systems, install graphviz.

  - GNOME development package. On Debian systems, install gnome-devel.

  - D-BUS python package. On Debian systems, install python-dbus.

  - wxPython package. On Debian systems, install python-wxgtk3.0-dev.

  - GTK 2 python dev package. On Debian systems, install python-gtk2-dev.

  - Xlib python package. On Debian systems, install python-xlib.

  - AT-SPI python package. On Debian systems, install python-pyatspi.

  - X11 EvIE extension library. On Debian systems, install libxevie-dev
    (obsolete).

  - CMU-Cambridge Statistical Language Modeling toolkit.


_______________________
STEP 0: Getting Presage
~~~~~~~~~~~~~~~~~~~~~~~

Official releases and development snapshots are available from the
download section of the official website hosted by SourceForge

    https://presage.sourceforge.io/

Alternatively, get the latest and greatest sources from the source
repository.


_________________________
STEP 1: Unpacking Presage
~~~~~~~~~~~~~~~~~~~~~~~~~

Uncompress and untar the distribution with:

    tar zxvf presage-*.tar.gz


___________________________
STEP 2: Configuring Presage
~~~~~~~~~~~~~~~~~~~~~~~~~~~

Configuring Presage to different platforms, environments and
operating systems is simply a matter of running:

    ./configure

in the top-level directory of the distribution. This will configure
Presage for your system. If you are starting from a source repository
checkout, you will need to bootstrap the autotools machinery with
`autoreconf -i'.

Should you require additional options, try:

    ./configure --help

to see the available options.


_________________________
STEP 3: Compiling Presage
~~~~~~~~~~~~~~~~~~~~~~~~~

Build Presage with:

    make

Some components (mostly Windows components) will require an additional
build step. See READMEs in the bindings/csharp/, bindings/c/,
apps/qt/, apps/notepad++/ directories.


__________________________
STEP 4: Installing Presage
~~~~~~~~~~~~~~~~~~~~~~~~~~

Install Presage with:

    make install


__________________________________
STEP 5: Let Presage read your mind
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Presage includes some demonstration programs that will read the user
input and guess what the user intends to type using its predictive
technology. These programs require additional libraries that are not
needed by the presage library and might not be configured to build,
depending on the build system installed libraries (except
presage_demo_text, which has no extra dependencies and is therefore
always built). To start, type:

 * presage_demo_text

   Simple textual console application designed to interactively test
   presage predictive functionality. The program reads strings from
   standard input and returns predictions.


 * presage_demo

   Ncurses based demo program similar to presage_demo_text.


 * presage_simulator

   Console application that simulates presage predictive process and
   reports on predictive performance.


 * presage_python_demo

   Simple console application designed to interactively test presage
   python binding.


 * gprompter

   Cross-platform predictive text editor. gprompter displays
   predictions in a contextual pop-up box as each letter is
   typed. Predictions can be easily selected and inserted in the
   document. gprompter is a cross-platform GTK+ application.


 * pyprompter

   Text editor with autocompletion popups displaying predictions and
   enabling users to quickly and efficiently select the correct
   prediction or requesting more predictions. pyprompter is a
   cross-platform wxPython application.


 * pypresagemate

   Universal predictive text companion. Pypresagemate works alongside
   any AT-SPI aware application. The Assistive Technology Service
   Provider Interface (AT-SPI) is a toolkit-neutral way of providing
   accessibility facilities in applications. Pypresagemate works in
   the background by tracking what keystrokes are typed and displaying
   predictions in its window. When a prediction is selected, text is
   sent to the active application.

 * gpresagemate

   X application that monitors all X events and display predictions in
   its window. When users select the correct prediction, it is sent to
   the current active X application as if it had been typed
   in. Requires that XEvIE X extension is enabled.


########/

Copyright (C) 2008-2018  Matteo Vescovi <matteo.vescovi@yahoo.co.uk>

Presage is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

########\