diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-03-28 23:07:19 +0100 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-03-28 23:11:57 +0100 |
commit | c54576fb442f1198b70fc7f3021d2bbeaa2fc045 (patch) | |
tree | 799c6e3459a57817637d62996aa457a8fc78f7ff /doc | |
parent | 7c4b08769c178e5884d82f218887c7966b409ed5 (diff) |
Add Windows install instructions
Diffstat (limited to 'doc')
-rw-r--r-- | doc/install.md | 54 |
1 files changed, 53 insertions, 1 deletions
diff --git a/doc/install.md b/doc/install.md index 6bc1ef70..4830bb33 100644 --- a/doc/install.md +++ b/doc/install.md @@ -43,7 +43,7 @@ $ sudo make install-strip ### From git ```sh -$ git clone git@github.com:dillo-browser/dillo.git +$ git clone https://github.com/dillo-browser/dillo.git $ cd dillo $ ./autogen.sh $ ./configure @@ -128,3 +128,55 @@ For OpenSSL you can use either 1.1 or 3.X (recommended): $ brew install openssl@1.1 $ brew install openssl@3 ``` + +## Windows via Cygwin + +Dillo can be built for Windows (tested on Windows 11) by using the +[Cygwin](https://www.cygwin.com/) POSIX portability layer and run with Xorg. You +will need the following dependencies to build Dillo (with mbedTLS): + +``` +gcc-core gcc-g++ autoconf automake make zlib-devel mbedtls-devel libfltk-devel +libiconv-devel libpng-devel libjpeg-devel libgif-devel +``` + +You will also need [Xorg](https://x.cygwin.com/docs/ug/cygwin-x-ug.html) to run +Dillo graphically: + +``` +xorg-server xinit +``` + +You can also install all the dependencies from the command line with: +``` +setup-x86_64.exe -q -P gcc-core,gcc-g++,autoconf,automake,make,zlib-devel,mbedtls-devel,libfltk-devel,libiconv-devel,libpng-devel,libjpeg-devel,libgif-devel,xorg-server,xinit +``` + +To build Dillo, follow the usual steps from a Cygwin shell: + +```sh +$ git clone https://github.com/dillo-browser/dillo.git +$ cd dillo +$ ./autogen.sh +$ mkdir build +$ cd build +$ ../configure --prefix=/usr/local +$ make +$ make install +``` + +You should be able to find Dillo in the `$PATH` as it should be installed in +`/usr/local/bin/dillo`. To run it, you first need to have an [Xorg server +running](https://x.cygwin.com/docs/ug/using.html#using-starting), which you can +do from a shell: + +```sh +$ startxwin +``` + +And then, from another shell: + +```sh +$ export DISPLAY=:0 +$ dillo +``` |