[dasher] Added CI for Linux (#138)



commit 42de76a2bd7e743a98d6fce793df21d5b694a0c3
Author: Enes Çakır <24372126+mortheria users noreply github com>
Date:   Sun Mar 18 05:57:02 2018 +0300

    Added CI for Linux (#138)
    
    * Setting up config file for Travis.
    
    * Trigger travis
    
    * Updated travis config.
    
    * Added required packages for autogen.sh to Travis config.
    
    * Updated travis config.
    
    * Updated configuration file and travis config.
    
    * Updated config files.
    
    * Updated configure.ac
    
    * Trying to fix AC_INIT bug
    
    * Updated compiler version.
    
    * Added sudo to make install.
    
    * Removed unnecessary package installs.
    
    * Added new readme.md
    
    * Update README.md
    
    * Update .travis.yml
    
    Add a newline at the end

 .travis.yml  |  32 +++++++++++++++++
 README.md    | 113 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 configure.ac |   3 +-
 3 files changed, 146 insertions(+), 2 deletions(-)
---
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..72dc80ad
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,32 @@
+language: cpp
+compiler: g++
+
+os: linux
+dist: xenial
+
+before_install:
+  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
+  - sudo apt-get update -qq
+
+install:
+  - sudo apt-get install -qq g++-5
+  - export CXX="g++-5"
+  - sudo apt-get install m4
+  - sudo apt-get install libevent-dev
+  - sudo apt-get install pkg-config 
+  - sudo apt-get install expat
+  - sudo apt-get install gnome-common
+  - sudo apt-get install gnome-doc-utils
+  - sudo apt-get install libatspi2.0-dev
+  - sudo apt-get install libgtk-3-dev
+  - sudo apt-get install libspeechd-dev
+
+before_script:
+  - ./autogen.sh --enable-speech=yes
+
+script:
+  - ./configure && make
+  - sudo make install
+
+after_failure:
+  - cat ./config.log
diff --git a/README.md b/README.md
new file mode 100644
index 00000000..cae77ff2
--- /dev/null
+++ b/README.md
@@ -0,0 +1,113 @@
+## Build Status:
+Linux:
+[![Build 
Status](https://travis-ci.org/dasher-project/dasher.svg?branch=master)](https://travis-ci.org/dasher-project/dasher)
+
+## Dasher Version 4.11
+
+Dasher is a zooming predictive text entry system, designed for situations
+where keyboard input is impractical (for instance, accessibility or PDAs). It
+is usable with highly limited amounts of physical input while still allowing
+high rates of text entry.
+
+Dasher is Free software released under the GPL. Further documentation
+may be found in the Doc/ subdirectory
+
+## Requirements
+
+Dasher makes use of the following third party software (note that this
+list is potentially inaccurate or incomplete - please send any
+corrections to 'dasherteam yahoogroups com):
+
+General:
+
+* The Expat XML parser (required)
+
+Linux (see INSTALL.Linux for build time requirements):
+
+* GTK+ (2.6 or greater) (required)
+* GNOME (optional, but highly recommended)
+* Libcanna (optional, for Hiragana to Kanji conversion)
+
+MS Windows:
+
+* MS Speech API (optional)
+* MS Table API (optional - required for tablet start/stop mode)
+
+MS Windows CE:
+
+* (not sure - if anyone knows then please fill this in)
+
+## Platform Specific Notes
+
+* Solaris: Dasher has been tested on Solaris 10. You will need to
+  upgrade to gnome-doc-utils 0.3.2 to install the documentation, which
+  in turn will require libxml 2.6.12 and libxslt 1.1.8. These packages
+  are not required to run dasher once it is built.
+
+There have been some issues with the gthread-2.0 pkgconfig file
+including compiler flags which are not understood by the compiler. You
+may need to shadow this file in another directory with these flags
+removed.
+
+GNU make (gmake) must be used if building gnome documentation.
+
+* Darwin / OS-X: The native UI in the macos directory is badly out of
+  date and will almost definitely require considerable effort to
+  build. We do not currently have the resources to maintain this port,
+  but if you are interested in contributing then let us know
+  (dasher inf phy cam ac uk). The GTK2 front end should build on Darwin
+  with minimal changes, and with a recent enough version of GTK will not
+  require the X11 server.
+
+## Installation Instructions
+
+Please see the file INSTALL.<platform> for details on how to build and
+install Dasher from source on your host system.
+
+## Font Support
+
+Dasher includes some alphabets which require fonts that you probably don't
+have installed; for example, for the International Phonetic Alphabet, Korean
+and Hiragana (Japanese). We aren't legally allowed to distribute a font for
+the IPA, but you can download one yourself from:
+
+http://www.sil.org/computing/fonts/encore-ipa.html
+
+## Kanji Entry
+
+As of Dasher 3.99.0, experimental support for Japanese Kanji entry
+by Hiragana conversion. To build Dasher with this enabled on Linux,
+you need the libcanna conversion library. You also need to be able to
+access a canna conversion server, which can be on the local machine or
+over a network. Please note that Dasher will not start a canna server
+if none is running - you must do so manually before running Dasher.
+Please see the Canna documentation for more details.
+
+Kanji conversion in Microsoft Windows is via the IME API, which is
+part of Windows XP and Asian builds of earlier Windows
+versions. Support for Kanji conversion in Dasher under Windows is
+still very much under development, so please take care when trying
+it out. In particular, Dasher will crash if you try to enable Kanji
+conversion on a machine which does not have Japanese localisation
+installed.
+
+To use Kanji conversion in Dasher, you must select 'Japanese Canna'
+from the 'Alphabet' section of the preferences dialogue, and the
+Japanese language model from the 'Prediction' section.
+
+## Support and Feedback
+
+Please file any bug reports in the GNOME Bugzilla system:
+
+http://bugzilla.gnome.org/
+
+using the 'dasher' package name. We also appreciate general feedback -
+please send any comments to 'dasher inf phy cam ac uk'.
+
+You can find the Dasher website at:
+
+http://www.inference.phy.cam.ac.uk/dasher/
+
+Thank you for trying Dasher,
+
+The Dasher Team
diff --git a/configure.ac b/configure.ac
index 43f958f8..8382fc92 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,5 @@
 AC_PREREQ(2.59)
-AC_INIT([dasher],
-  m4_esyscmd([build-aux/mkversion]),
+AC_INIT([dasher], [m4_esyscmd_s([build-aux/mkversion])],
   [http://bugzilla.gnome.org/enter_bug.cgi?product=dasher],
   [dasher],
   [http://www.inference.phy.cam.ac.uk/dasher/])


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]