Skip to content

Commit

Permalink
Updates to change build system from cmake to meson/ninja
Browse files Browse the repository at this point in the history
  • Loading branch information
babluboy committed Oct 21, 2018
1 parent aebebbf commit 4f7b118
Show file tree
Hide file tree
Showing 225 changed files with 34,181 additions and 25,112 deletions.
162 changes: 0 additions & 162 deletions CMakeLists.txt

This file was deleted.

64 changes: 30 additions & 34 deletions README.md
Expand Up @@ -5,40 +5,36 @@ Author: Siddhartha Das

Read the books you love without having to worry about the different format complexities like epub, pdf, mobi, cbr, etc. This version supports EPUB, PDF and Comics (CBR and CBZ) formats with support for more formats to follow soon.

Check the Bookworm website for details on features, shortcuts, installation guides for supported distro. : https://babluboy.github.io/bookworm/


## How to build bookworm:

### On debian

```shell
sudo apt-get build-dep granite-demo
sudo apt-get install granite-demo
sudo apt-get install libgranite-dev
sudo apt-get install valac
sudo apt-get install libwebkit2gtk-4.0-37 libwebkit2gtk-4.0-dev
sudo apt-get install libsqlite3-dev
sudo apt-get install poppler-utils libpoppler-glib-dev html2text curl
```
### On fedora

```shell
sudo dnf install cmake gcc-c++ vala
sudo dnf install gtk3-devel libgee-devel granite-devel
sudo dnf install webkitgtk4-devel sqlite-devel poppler-glib-devel html2text
```

### Build and install bookworm

```shell
git clone https://github.com/babluboy/bookworm.git
cd bookworm
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ../
make
sudo make install
```
Check the Bookworm website for details on features, shortcuts, installation guides for supported distros : https://babluboy.github.io/bookworm/


## Building, Testing, and Installation

You'll need the following dependencies to build:
* libgranite-dev
* libwebkit2gtk-4.0-37
* libsqlite3-dev
* poppler-glib
* libpoppler-glib-dev
* html2text
* curl
* meson
* valac

Run `meson build` to configure the build environment and run `ninja test` to build

git clone https://github.com/babluboy/bookworm.git
cd bookworm
meson build --prefix=/usr
mkdir build && cd build
ninja

To install, use `ninja install`, then execute with `com.github.babluboy.bookworm`

sudo ninja install
com.github.babluboy.bookworm


## Screenshots

![screenshot](https://raw.githubusercontent.com/babluboy/bookworm/gh-pages/images/BookwormLibraryView.png)
Expand Down
56 changes: 0 additions & 56 deletions cmake/FindGirCompiler.cmake

This file was deleted.

65 changes: 0 additions & 65 deletions cmake/FindVala.cmake

This file was deleted.

34 changes: 0 additions & 34 deletions cmake/GObjectIntrospectionMacros.cmake

This file was deleted.

0 comments on commit 4f7b118

Please sign in to comment.