Official FBReader C++ project repository
C++ HTML Objective-C Makefile C Shell Other
Clone or download
geometer Merge pull request #271 from paper-pauper/master
Added key shortcuts to Desktop build for quit and forceQuit commands
Latest commit 9e608db Oct 2, 2016
Failed to load latest commit information.
atom-tests changed copyright notices Jan 12, 2010
distributions 0.14.20100422 Apr 22, 2010
docs better documentation Aug 14, 2008
fbreader Added key shortcuts to Desktop build for quit and forceQuit commands Dec 19, 2014
libs missing files have been added Apr 5, 2010
makefiles more experiments with maemo5 platform May 14, 2010
third-party/liblinebreak/debian 7 -> 5 Jan 10, 2009
tools publish_i18n_archives script is not public now Nov 5, 2011
trash building system refactoring Dec 6, 2007
.gitignore More changes to .gitignore Apr 7, 2011
CHANGES-0.11.0 merging with experimental branch Dec 10, 2009
CHANGES-0.11.0-RUSSIAN merging with experimental branch Dec 10, 2009
ChangeLog new item Aug 31, 2011
MISSED-ACTION-CODES List of missed actions codes on the "Keys" page Sep 21, 2010
Makefile merging with experimental branch Dec 10, 2009 added a line for Mac OS X Apr 5, 2010
ShucangBugs merging with experimental branch Dec 10, 2009
TODO.fileChooser file filter is used in MacOSX 10.6 Apr 5, 2010
TODO.mac new TODO items Feb 8, 2010 Minor changes in TODO and recources Sep 21, 2010
TODO.tags fixed node height Dec 10, 2009
ToFix network subsystem refactoring Jan 18, 2009
WhatIsNew.0.11.3 merging with experimental branch Dec 10, 2009

This is a very short description of FBReader build procedure.

1. Compiler.

All version of FBReader are configured for building on linux desktop
computer. You need gcc compiler for building desktop version or cross
gcc compiler for building package for another platform.

2. Libraries.

FBReader requires
  ** expat -- library for XML parsing. AFAIK, all popular destributions
     includes package with name like 'expat-dev' or 'libexpat-dev'.
     If you cannot find expat in your distribution, please visit
  ** libz and libbz2 -- libraries for zip and bzip2 (de)compression
  ** UI library -- this depends on your target platform. For desktop,
       Qt library, version 3.* or 4.*
       GTK+ library, version >= 2.4 
     should be installed
  ** liblinebreak ( -- library for line breaking in a Unicode sequence
  ** libfribidi -- for bidirectional text support
  ** lincurl, version >= 7.17 -- for network libraries integration
	** libsqlite3
  ** for win32 version, we use also libpng, libungif, libjpeg and libtiff

3. How to configure.

Before building FBReader, you should check (and maybe edit) 2 files:
  ** makefiles/
     In this file you should define 3 variables:
       TARGET_ARCH -- target platform for building FBReader
       UI_TYPE -- UI library
       TARGET_STATUS -- "release", "debug" or "profile". "release" is
         reasonable choice for almost all users.

     Possible pairs for TARGET_ARCH + UI_TYPE are:
        TARGET_ARCH = desktop               UI_TYPE = gtk
        TARGET_ARCH = desktop               UI_TYPE = qt
        TARGET_ARCH = desktop               UI_TYPE = qt4
        TARGET_ARCH = pepperpad3            UI_TYPE = gtk
        TARGET_ARCH = zaurus                UI_TYPE = qtopia-240x320
        TARGET_ARCH = zaurus                UI_TYPE = qtopia-640x480
        TARGET_ARCH = openzaurus            UI_TYPE = opie
        TARGET_ARCH = openzaurus            UI_TYPE = gpe
        TARGET_ARCH = pdaxrom               UI_TYPE = gtk
        TARGET_ARCH = pdaxrom               UI_TYPE = qt
        TARGET_ARCH = opensimpad-0.9.0      UI_TYPE = opie
        TARGET_ARCH = maemo                 UI_TYPE = maemo2
        TARGET_ARCH = maemo                 UI_TYPE = maemo4
        TARGET_ARCH = pma400                UI_TYPE = qtopia
        TARGET_ARCH = moto                  UI_TYPE = ezx
        TARGET_ARCH = win32                 UI_TYPE = win32
        TARGET_ARCH = macosx                UI_TYPE = cocoa

  ** makefiles/arch/$(TARGET_ARCH).mk
     This file defines compiler name and location, headers and libraries
     locations, compilation flags, installation path (for desktop), etc.

4. How to build.

Just type 'make' in FBReader root directory. (FBReader root directory ==
directory containing this file.)

5. How to install.

If you want to install FBReader on your desktop computer, just run 'make install'
as root in FBReader root directory.

If you want to create package for another platform, run 'make packages' in
FBReader root directory.