Commit e95312ed authored by svilayphiou's avatar svilayphiou

Update README.md

parent e3ea1ad2
......@@ -5,12 +5,6 @@ This browser is meant to be used with the project html2print available here: <ht
The aim is to lay out printed documents within a web browser.
We built our own webkit browser in order to have a faster browser and good typography (weirdly, the bearings and kernings can be weird in certain webkit browsers).
For Ubuntu user, before compilation
-----------------------------------
sudo apt install qt5-default libqt5webkit5-dev ruby-dev qtpositioning5-dev
sudo apt install libqt5sensors5-dev libxcomposite-dev libglib2.0-dev libxrender-dev
Download
--------
......@@ -20,7 +14,14 @@ Download the zip file and decompress it (or git clone it), then go into the dire
cd tools.ospkit
Compile
QTwebkit Install
----------------
bash install-qtwebkit.sh
OSPKit Install
--------------
cd src
......@@ -43,35 +44,7 @@ Available shortcuts
- Ctrl + Shift + P: Print dialog (allows output page resizing)
- Ctrl + R: Reload
Using our patched version of QTWebkit
-------------------------------------
See <https://github.com/annulen/webkit/wiki>
sudo apt-get install build-essential perl python ruby flex gperf bison qtbase5-private-dev libhyphen-dev libicu-dev libjpeg-dev ccache
echo "export PATH=/usr/lib/ccache:$PATH" >> ~/.bashrc
cmake ninja-build libfontconfig1-dev libicu-dev libsqlite3-dev
cmake zlib1g-dev libpng12-dev libjpeg-dev libxslt1-dev libxml2-dev libhyphen-dev
cd ../..
Git clone our version of webkit with specifying only the last version with '--depth 1' (if not, it's heavy, around 6,3GB as it is 3 millions of files!)
git clone -b ospkit --depth 1 --single-branch https://github.com/aleray/webkit.git
Compile. It is a heavy operation, fans will work on you computer...
cd webkit
WEBKIT_OUTPUTDIR=`pwd`/build/qt
Tools/Scripts/build-webkit --qt --release --no-web-audio --no-video
cd WebKitBuild/qt/Release
sudo ninja install
Run OSPKit with this newly-built code
......@@ -81,4 +54,25 @@ Run OSPKit with this newly-built code
./OSPKit
Is it working? If not, send us feedback on miam@osp.kitchen (we will try to help if possible). If yes, a blank window is still not really exciting :) but we are preparing a boilerplate to start really to use it!
Does the software launch itself with a black background? If not, send us feedback on miam@osp.kitchen (we will try to help if possible). If yes, a blank window is still not really exciting :) but we are preparing a boilerplate to start really to use it!
Césures françaises
==================
Pour installer ce dictionnaire sur votre système:
sudo apt update && sudo apt install hyphen-fr
cd /usr/share/hyphen
Déplacer le dict système qu'on vient d'installer:
sudo mv hyph_fr.dic hyph_fr.dic.orig
Remplacer le fichier par celui-ci https://gitlab.com/medor/hyph_fr/blob/master/hyph_fr_FR.dic
sudo wget -O hyph_fr.dic https://gitlab.com/medor/hyph_fr/raw/master/hyph_fr_FR.dic
Redémarrer votre navigateur web, OSPkit ou logiciel qui se sert du dict de césures
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment