Difference between revisions of "Debian dependencies"

From Navit's Wiki
Jump to: navigation, search
(OpenGL graphics: libfreeimage-dev)
(updated for cmake etc., marked some parts as outdated)
Line 1: Line 1:
 
(as I'm only running sid on all my computers I don't know if all of those packages are available in Etch).
 
(as I'm only running sid on all my computers I don't know if all of those packages are available in Etch).
 
It compiles flawlessly on a Lenny, once all dependencies installed.
 
It compiles flawlessly on a Lenny, once all dependencies installed.
 +
 +
Notes:
 +
 +
* This page is for the CMake build. The build via autotools requires some more packages, but is no longer supported.
 +
* The Debian dependencies are almost(?) the same as the Ubuntu dependencies (as Ubuntu is based on Debian). Maybe we should merge this page with [[Ubuntu dependencies]]?
 +
  
 
== Absolute minimum requirements ==
 
== Absolute minimum requirements ==
'''libtool automake autoconf libglib2.0-dev zlib1g-dev gettext subversion cvs'''
+
'''gcc cmake zlib1g-dev libpng12-dev libgtk2.0-dev librsvg2-bin'''  
  
With Debian/squeeze or later you also need '''autopoint''' (previously included in gettext). Furthermore, you probably need the very latest config.sub and config.guess files, the ones provided by automake are outdated and do not work with ndk r5b. They can be found in '''autotools-dev''' from sid (install it manually from [http://packages.debian.org/sid/all/autotools-dev/download packages.debian.org] if sid is not in your sources.list).
+
''Note:'' Not all these packages are strictly required (for example, maptool can be built without installing GTK+), but this is the smallest practical set of packages if you want to run Navit.  
 +
== Translations for the user interface ==
 +
'''gettext'''
  
 
== GTK+ ==
 
== GTK+ ==
'''libgtk2.0-dev libtiff4-dev'''
+
''Included in minimum requirements''
  
== SDL and CeGUI ==
+
== SDL ==
'''libsdl-image1.2-dev libcegui-mk2-dev libdevil-dev libglc-dev freeglut3-dev libxmu-dev libfribidi-dev'''
+
'''libsdl-image1.2-dev libdevil-dev libglc-dev freeglut3-dev libxmu-dev libfribidi-dev'''
  
 +
''Note: List may no longer be correct (please test, then remove this note)''
 
== OpenGL graphics ==
 
== OpenGL graphics ==
'''libglc-dev freeglut3-dev libgl1-mesa-dev libfreeimage-dev''' (may be incomplete)
+
'''libglc-dev freeglut3-dev libgl1-mesa-dev libfreeimage-dev'''
  
 +
''Note: List may no longer be correct (please test, then remove this note)''
 
== QT ==
 
== QT ==
 
'''libqt3-mt-dev libqtcore4 libqtgui4'''
 
'''libqt3-mt-dev libqtcore4 libqtgui4'''
  
 +
''Note: List may no longer be correct (please test, then remove this note)''
 
== gpsd ==
 
== gpsd ==
 
'''libgps-dev'''
 
'''libgps-dev'''
Line 43: Line 54:
  
 
(optional, you most likely don't need this.)
 
(optional, you most likely don't need this.)
 
== svg to png ==
 
You can use one of those for svn2png convertion: rsvg-convert from '''librsvg2-bin''' (my preferred -- latouche), convert from '''imagemagick''', ksvg2png4 from '''kdebase-runtime''' or '''inkscape'''
 
  
 
== saxon ==
 
== saxon ==

Revision as of 15:37, 16 August 2012

(as I'm only running sid on all my computers I don't know if all of those packages are available in Etch). It compiles flawlessly on a Lenny, once all dependencies installed.

Notes:

  • This page is for the CMake build. The build via autotools requires some more packages, but is no longer supported.
  • The Debian dependencies are almost(?) the same as the Ubuntu dependencies (as Ubuntu is based on Debian). Maybe we should merge this page with Ubuntu dependencies?


Absolute minimum requirements

gcc cmake zlib1g-dev libpng12-dev libgtk2.0-dev librsvg2-bin

Note: Not all these packages are strictly required (for example, maptool can be built without installing GTK+), but this is the smallest practical set of packages if you want to run Navit.

Translations for the user interface

gettext

GTK+

Included in minimum requirements

SDL

libsdl-image1.2-dev libdevil-dev libglc-dev freeglut3-dev libxmu-dev libfribidi-dev

Note: List may no longer be correct (please test, then remove this note)

OpenGL graphics

libglc-dev freeglut3-dev libgl1-mesa-dev libfreeimage-dev

Note: List may no longer be correct (please test, then remove this note)

QT

libqt3-mt-dev libqtcore4 libqtgui4

Note: List may no longer be correct (please test, then remove this note)

gpsd

libgps-dev

(optional, but certainly nice to have)

espeak

espeak

(optional)

speechd

libspeechd-dev

(optional, you are better off with using espeak)

dbus

libdbus-glib-1-dev

(optional, you most likely don't need this.)

python

python-dev

(optional, you most likely don't need this.)

saxon

libsaxonb-java

required for android (don't forget --with-saxon=saxonb-xslt somewhere on the ./configure-line)