GithubHelp home page GithubHelp logo

martahilmar / gnome-books Goto Github PK

View Code? Open in Web Editor NEW
51.0 11.0 13.0 4.74 MB

Google Summer of Code project for GNOME

License: Other

JavaScript 35.39% CSS 1.61% Python 0.25% C 3.01% Shell 0.04% Makefile 0.39% M4 0.05% HTML 59.25%

gnome-books's Introduction

GNOME Books

Google Summer of Code project for GNOME.

Books is application for listing, searching and reading eBooks. More information on https://wiki.gnome.org/Outreach/SummerOfCode/2014/Projects/MartaMilakovic_GnomeBooks

Books will be implemented upon the application gnome-documents, and it is going to live in the same git repository. This would be a great solution regarding code duplication, because it would be possible to reuse relevant code blocks from gnome-documents and add extra features related to eBooks.

Using epub.js library for the reading mode.

The idea is to integrate Books with an existing online eBook store.

1. Installing GNOME Books

$ ./autogen.sh
$ make
$ sudo make install
$ cd src/ && glib-compile-resources gnome-books.gresource.xml
$ export LD_LIBRARY_PATH=`pwd`/src/.libs:$LD_LIBRARY_PATH
$ export GI_TYPELIB_PATH=`pwd`/src

2. Running GNOME Books

Make a folder Books in your $home directory and add all the .epubs you would like to read.

$ gnome-books

When GNOME Books is running choose your eBook and press 'Load Table of Contents'. This will load the chapters and notify you when finished with the pop-up bar. Next you should click on 'Load Total Pages' and you are ready to enjoy your EBook. (These steps should be removed in the future.)

gnome-books's People

Contributors

martahilmar avatar mvaello avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gnome-books's Issues

Implement a version command

]$ gnome-books --version
Unknown option --version

For everyone to know what version they are on when posting issues.

No Books Found

Running Gnome-Books 3.16.0 in Fedora 22, Gnome 3.16.

I have created a folder named Books in my Home folder. Added 2 books in epub format, But the application doesn't show the books in collection nor in recent.

error running .autogen.sh

I am on Ubuntu-Gnome 14.04 with automake-1.14.1. When I try to run ./autogen.sh , I get the following error:

automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.

autogen.sh file mentions the automake version 1.9. I have tried to install that and force use of that using update-alternatives. When running .autogen.sh under this scenario, I get error as :

autoreconf: running: /usr/bin/autoconf --force --warnings=no-portability
configure.ac:41: error: possibly undefined macro: AM_PROG_AR
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

How can I compile gnome-books.

Update: Forgot to mention Gnome-shell version is 3.10

Cannot be run

(gnome-books:26916): GLib-GObject-WARNING **: The property GSettings:schema is deprecated and shouldn't be used anymore. It will be removed in a future version.

There's no schema file anywhere inside the source code.

(Also, what are the plans regarding merging this back into gnome-documents?)

Can't open book from command line

If I try to do gnome-books <filename>, it fails with the message (org.gnome.Books:6098): GLib-GIO-CRITICAL **: This application can not open files.
I discovered this when I tryed to edit the desktop file changing the Exec command to gnome-books %F in order for it to appear in open with dialog or have it configured to open an ebook just by double clicking it on nautilus.
As this is open any ebook not present in books collection. It would also be nice to just open an ebook by drag and drop it inside the application.

Allow font size setting

A basic feature for all eReaders is the font size setting, which makes reading easy in any circumstance.

This feature is missing so far. I envy a clean UI, but this feature is essential.

This project is finished?

I can't compile it with ubuntu 14.04 but I would like to know if this project is finished or at leat work in some way? Thank you.

No package 'webkit2gtk-3.0' found

The package is installed and all other requirements as well but autogen still doesn't find the package :( I'm using GNOME Shell 3.14 on hAntergos (based on Arch Linux). Any idea how to solve this?

Search only searches within chapter

I consider it a nice solution for big screens to split a book by chapters.

But when searching I want to search the whole book, as when searching a PDF I want to search the whole document.

Right now only the current chapter gets searched.

Maybe a in-between-step would be to search the whole book and jump from match to match, a full-feature-search would give a chapter index with matches, as the Gnome Document Viewer.

Extra information

How to compile it in ubuntu 14.04?
What are the prerequisites? To build gnome-books?

Can't open books

If I put epubs into my Documents folder they don't appear. The same thing happens when I move them into the Books directory I created

UI ignoring font size

Gnome has a setting large font for accessibility (useful also on HDPI screens).

The ebooks render in tiny letters, regardless of that setting.

./autogen.sh fail..

$ ./autogen.sh
/usr/bin/gnome-autogen.sh
Submodule 'libgd' (git://git.gnome.org/libgd) registered for path 'libgd'
Cloning into 'libgd'...
remote: Counting objects: 1061, done.
remote: Compressing objects: 100% (1061/1061), done.
remote: Total 1061 (delta 755), reused 0 (delta 0)
Receiving objects: 100% (1061/1061), 223.79 KiB | 85.00 KiB/s, done.
Resolving deltas: 100% (755/755), done.
Checking connectivity... done.
Submodule path 'libgd': checked out '4d0e605e81517beb550c212fd14d5060eefe321c'
checking for automake >= 1.9...
  testing automake... found 1.15
checking for autoreconf >= 2.53...
  testing autoreconf... found 2.69
checking for intltool >= 0.40.0...
  testing intltoolize... found 0.50.2
checking for pkg-config >= 0.22...
  testing pkg-config... found 0.28
Checking for required M4 macros...
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.

Processing ./configure.ac
Running intltoolize...
Running autoreconf...
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force --warnings=no-portability -I m4 -I libgd ${ACLOCAL_FLAGS}
autoreconf: configure.ac: tracing
autoreconf: configure.ac: creating directory config
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
libtoolize: copying file `config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force --warnings=no-portability
autoreconf: running: /usr/bin/autoheader --force --warnings=no-portability
autoreconf: running: automake --add-missing --copy --force-missing --warnings=no-portability
configure.ac:43: installing 'config/ar-lib'
configure.ac:15: installing 'config/compile'
configure.ac:24: installing 'config/config.guess'
configure.ac:24: installing 'config/config.sub'
configure.ac:12: installing 'config/install-sh'
configure.ac:12: installing 'config/missing'
libgd/Makefile.am: installing 'config/depcomp'
src/Makefile-lib.am:36: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL
src/Makefile.am:39:   'src/Makefile-lib.am' included from here
autoreconf: automake failed with exit status: 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.