Difference between revisions of "Debian dependencies"

From Navit's Wiki
Jump to: navigation, search
(Absolute minimum requirements)
 
(13 intermediate revisions by 4 users not shown)
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).
+
{{warning|1='''This is a page has been migrated to readthedocs:'''https://github.com/navit-gps/navit/pull/880 . It is only kept here for archiving purposes.}}
It compiles flawlessly on a Lenny, once all dependencies installed.
+
 
 +
It compiles flawlessly on a Lenny (5.0) or later, once all dependencies installed.
 +
 
 +
Notes:
 +
 
 +
* This page is for building navit with CMake.
 +
* The Debian dependencies are 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'''
+
'''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'''
 +
 
 +
== Maptool ==
 +
'''protobuf-c-compiler  libprotobuf-c-dev'''
  
 
== 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'''
 +
 
 +
== OpenGL graphics ==
 +
'''libglc-dev freeglut3-dev libgl1-mesa-dev'''
  
 
== QT ==
 
== QT ==
'''libqt3-mt-dev libqtcore4 libqtgui4'''
+
'''libqt4-dev'''
 +
 
 +
This package will pull in all the required packages as dependencies.
  
 
== gpsd ==
 
== gpsd ==
Line 40: Line 57:
  
 
(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 ==
 
'''libsaxonb-java'''
 
'''libsaxonb-java'''
  
required for android (don't forget ''--with-saxon=saxonb-xslt'' somewhere on the ''./configure''-line)
+
only required for android
 +
 
 +
[[Category:Development]]
 +
[[Category:Building]]

Latest revision as of 04:40, 22 September 2019

It compiles flawlessly on a Lenny (5.0) or later, once all dependencies installed.

Notes:

  • This page is for building navit with CMake.
  • The Debian dependencies are the same as the Ubuntu dependencies (as Ubuntu is based on Debian). Maybe we should merge this page with Ubuntu dependencies?


Absolute minimum requirements[edit]

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[edit]

gettext

Maptool[edit]

protobuf-c-compiler libprotobuf-c-dev

GTK+[edit]

Included in minimum requirements

SDL[edit]

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

OpenGL graphics[edit]

libglc-dev freeglut3-dev libgl1-mesa-dev

QT[edit]

libqt4-dev

This package will pull in all the required packages as dependencies.

gpsd[edit]

libgps-dev

(optional, but certainly nice to have)

espeak[edit]

espeak

(optional)

speechd[edit]

libspeechd-dev

(optional, you are better off with using espeak)

dbus[edit]

libdbus-glib-1-dev

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

python[edit]

python-dev

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

saxon[edit]

libsaxonb-java

only required for android