Difference between revisions of "Tracking Dependencies"

From Inkscape Wiki
Jump to navigation Jump to search
 
(274 intermediate revisions by 18 users not shown)
Line 1: Line 1:
(stub contents in need of filling out)
== Compilers ==


== Overview ==
Version 1.0 requires a C++11 compiler.
 
Version 1.1 requires a C++17 compiler.
We need help getting our basic lib dependencies listed out and kept up to date. Also we need to track which versions of which distros have the needed dependencies.
 
 
To get glib and GTK+ dependencies figured out, people can go through the API documentation and look for the 'since' entries saying when calls were added. Then look for those calls in our source. Voila! we'll have base minimum dependencies figured out.


See [[c++11]] and [[c++17]].


== Libs ==
== Libs ==
Line 13: Line 10:
C++ bindings are not included, since their required versions match those of the C counterparts.
C++ bindings are not included, since their required versions match those of the C counterparts.


{| class="wikitable" border="1"
{| class="wikitable"
|-
|-
! Library
! Library
! v 0.45
! v 0.92
! v 0.46
! v 1.0
! v 0.47
! v 1.1
! v 1.2
! master
|-
|-
| Boehm-GC
| Boehm-GC
| ?
| 7.2
| ?
| 7.2
| ?
| 7.2
|
|
|-
|-
| Cairo
| Cairo
| ?
| 1.14
| ?
| 1.14 (1.15.4 required for PDF links)
| ?
| 1.16*
| 1.16
| 1.16
|-
| double-conversion [https://github.com/google/double-conversion]<br/>''(lib2geom dependency)''
| ''(not required)''
| any
|
|
|
|-
| FreeType
|
|
| 2.9* (Required for Variable fonts)
| 2.9
| 2.9
|-
|-
| GDK
| GDL
| ?
| N/A<br />(3.4)
| ?
| 3.4
| ?
| Not Used
| Not Used
|-
|-
| Glib
| Glib
| ?
| 2.28
| ?
| 2.48
| ''2.16*''
| 2.56 or 2.62*
| 2.64
| 2.64
|-
|-
| GTK+
| GTK+
| 2.8
| 2.24<br />(3.8)
| 2.10
| 3.22
| ''2.12*''
| 3.24*
| 3.24
| 3.24
|-
|-
| GNU Scientific Library
| GNU Scientific Library
| X
| X
| ?
| ?
| ?
|
|
|
|-
|-
| LittleCMS
| HarfBuzz
| ?
| ?
| ?
| ?
| 1.13
| 2.2*
| 2.6
| 2.6
|-
| libsigc++
| ''2.0.12*''
| ''2.0.12*''
| ''2.0.12*''
|
|-
| libSoup
| ''(not required)''
| (any)
|
|
|
|-
| libpotrace
| ''(not required)''
| (any)
|
|
|
|-
|-
| libxml
| libxml
| ?
| ?
| ''2.6.11*''
| ''2.6.11*''
| ''2.6.11*''
|
|
|
|-
|-
| libxslt
| libxslt
| ?
| ?
| ''1.0.15*''
| ''1.0.15*''
| ''1.0.15*''
|
|
|
|-
| lcms
| 1.13
| 2.2
| 2.2 (2.9*)
| 2.9*
| 2.9*
|-
|-
| Pango
| Pango
| ?
| 1.24
| ?
| 1.24 (1.41.1 required for variable fonts)
| ?
| 1.42*
| 1.44
| 1.44 (HarfBuzz shaping)
|-
|-
| Poppler
| Poppler
| ?
| 0.20.0
| ?
| 0.20.0
| ''0.5.9*''
| 0.29 (0.71*)
| 0.29 (0.71*)
| 0.71*
|-
|-
| libsigc++
| [https://formulae.brew.sh/formula/gtk-mac-integration gtk-mac-integration]<br>[https://www.macports.org/ports.php?by=library&substr=gtk-osx-application-gtk3 gtk-osx-application-gtk3]
| ?
| N/A
| ?
| 2.0.8 ([[CompilingMacOsX|macOS only]])
| ''2.0.12*''
|
|
|
|}
|}


''* Tentative dependency''
''* Tentative dependency''


== Functions Used ==
* Pango 1.42.2 requires Harfbuzz 1.4.2
* Pango 1.44.0 requires Glib 2.59.2 and Harfbuzz 2.0. 1.44 exposes hb_font directly.
* Pango 1.45.1 requires Glib 2.60
* Pango 1.48.4 has vertical upright marks fix.


{| class="wikitable" border="1"
== Distros ==
|-
 
! Function
Note: This table is not relevant to (non-fink) MacOS X, where we ship the desired version with Inkscape.
! Lib
 
! Since
"Inkscape" column is default or distro version / oldest that builds - latest that builds. If no latest is given then that means trunk is expected to build on the given platform.
! Required
|-
| g_timeout_add_seconds
| Glib
| 2.14
| ?
|}


== Distros ==
e.g. for a distro that ships with 0.48 but should support building of trunk you might get:
0.48 / 0.47-


Note: This table is not relevant to Windows and (non-fink) MacOS X, where we ship the desired version with Inkscape.
'''General rules:'''
* Support last Debian Stable
* Support last Ubuntu LTS [https://packages.ubuntu.com/ Ubuntu packages]
* Support last CentOS/Redhat (as best effort).
* Support last two Fedora releases.
* Don't break ''point'' releases.


{| class="wikitable" border="1"
{| class="wikitable"
|-
|-
! Distro
! Distro
! Inkscape
! gcc
! clang
! cairo
! cairo
! cairomm
! freetype
! glib
! glib
! glibmm
! glibmm
! gtk+
! gtk+
! gtkmm
! gtkmm
! harfbuzz
! pango
! pango
! poppler
! gdl
! lcms2
! libsigc++
! libgc <!-- Fedora rpm: gc -->
! libsoup
|-
|-
| Fedora 13
| Windows MSYS2 (2021-04-14)<br/>([https://github.com/Alexpux/MINGW-packages mingw-w64 packages] from MSYS2 project)
| 1.8.10
  <!-- see http://quodlibet.duckdns.org/msys2/base for list of latest package versions -->
| 2.24.1
| 1.0.2
| 2.24.1
| 10.2.0
| 2.20.1
| 11.0.0
| 2.20.2
| 1.17.4
| 1.28.0
| 1.12.2
| 2.10.4
| 2.68.1
| 2.66.0
| 3.24.27
| 3.24.3
| 2.8.0
| 1.48.4
| 20.12.1
| 3.34.0
| 2.12
| 2.10.6
| 8.0.4 <!-- mingw-w64-gc -->
| 2.72.0
|-
|-
| Fedora 14
| Debian 10 (Buster, <i>oldstable</i>) <small>EOL 2024-06</small>
| 1.10.0
| 0.92.4 (1.0.2)
| 2.26.0
| 8.3.0
| 2.24.2
| 7.0
| 2.22.0
| 1.16
| 2.22.0
| 1.12.2
| 1.28.1
| 2.9.1
| 2.58.3
| 2.58.0
| 2.24.32<br />3.24.5
| 2.24.5<br />3.24.0
| 2.3.1
| 1.42.4
| 0.71.0
| 3.28.0
| 2.9
| 2.10.1
| 7.6.4
| 2.64.2
|-
|-
| Fedora 15
| Debian 11 (Bullseye, stable) <small>EOL 2026</small>
| 1.10.2
| 1.0.2
| 2.28.6
| 10.2.1
| 2.28.6
| 11.0
| 2.24.4
| 1.16
| 2.24.0
| 1.12.2
| 1.28.4
| 2.10.4
| 2.66.8
| 2.64.2
| 3.24.24
| 3.24.2
| 2.7.4
| 1.46.2
| 20.09.0
| 3.34.0
| 2.12
| 2.10.4
| 8.0.4
| 2.72.0
|-
|-
| Open SuSE 11.2 <small>EOL 2011-05-12</small>
| style="background:Violet;"|(RHEL) / CentOS 8.1 <small>EOFS 2024-05</small><br/>Based on Centros 8.1 package list
| 1.8.8
| 0.92.3
| 2.22.1
| 8.3.1
| 2.22.1
| 8.0.1
| 2.18.1
| 1.15.12
| 2.18.2
| 1.12.0
| 1.26.0
| 2.8.14
| 2.56.4
| 2.56.0
| 2.24.32<br />3.22.30
| 2.24.5<br />3.22.2
| 1.7.5
| 1.42.4
| 0.66.0
| style="background:Violet;"|?
| 2.9
| 2.10.0
| 7.6.4
| 2.62.3
|-
|-
| Open SuSE 11.3 <small>EOL 2012-01-15</small>
| Ubuntu 20.04 LTS (Focal Fossa) <small>EOL 2025-04</small>
| 1.8.10
| 0.92.5
| 2.24.1
| 10
| 2.24.2
| 10
| 2.20.1
| 1.16
| 2.20.3
| 1.12.2
| 1.28.0
| 2.10.1
| 2.64.1
| 2.64.2
| 2.24.32<br />3.24.17
| 2.24.5<br />3.24.2
| 2.6.4
| 1.44.7
| 0.86.1
| 3.34.0
| 2.9.4
| 2.10.2
| 10
| 2.70.0
|}
 
{| class="wikitable"
|-
|-
| Open SuSE 11.4 <small>EOL 2012-09-15</small>
! Legend
| 1.10.2
| 2.28.0
| 2.25.5
| 2.22.1
| 2.22.0
| 1.28.3
|-
|-
| Ubuntu 8.04 LTS (Hardy) <small>EOL 2011-05-12 (Desktop)</small>, <small>EOL 2013-04 (Server)</small>
| style="background:Orange;"| Inkscape 1.0.x unsupported
| 1.6.0
| 2.16.6
| 2.16.0
| 2.12.9
| 2.12.5
| 1.20.5
|-
|-
| Ubuntu 10.04 LTS (Lucid) <small>EOL 2013-04 (Desktop)</small>, <small>EOL 2015-04 (Server)</small>
| style="background:Violet;"| GTK+ 3 builds unsupported
| 1.8.10
| 2.24.0
| 2.24.1
| 2.20.0
| 2.20.2
| 1.28.0
|-
| Ubuntu 10.10 (Maverick) <small>EOL 2012-04 (Desktop)</small>
| 1.10.0
| 2.26.1
| 2.25.2
| 2.22.0
| 2.20.3
| 1.28.2
|}
|}


== Older Distros ==
* Agreed to at Saarbrücken hackfest.


{| class="wikitable" border="1"
== Getting and Installing Source packages ==
|-
 
! Distro
See [https://inkscape.org/develop/getting-started/ Getting Started]
! cairo
 
! glib
== Optional Dependencies ==
! glibmm
 
! gtk+
Inkscape will still compile without these, but some features may be missing if they are absent during compilation:
! gtkmm
 
! pango
{| class="wikitable"
|-
| <strike>Fedora 7</strike> <small>EOL 2008-06-13</small>
| ?
| 2.12
| ?
| 2.10.14
| ?
| ?
|-
|-
| <strike>Fedora 8</strike> <small>EOL 2009-01-07</small>
! scope="col"| Library
| ?
! scope="col"| Needed for
| 2.14
! scope="col"| Default
| ?
| 2.12.8
| ?
| ?
|-
|-
| <strike>Fedora 9</strike> <small>EOL 2009-07-10</small>
|aspell
| ?
|Dictionaries for spell checking
| 2.16
|On
| ?
| 2.12.10
| ?
| ?
|-
| <strike>Fedora 10</strike> <small>EOL 2009-12-18</small>
| ?
| ?
| ?
| ?
| ?
| ?
|-
|-
| <strike>Fedora 11</strike> <small>EOL 2010-06-25</small>
|libcdr
| 1.8.6
|Open Corel Draw files
| 2.20.1
|On
| 2.20.0
| 2.16.1
| 2.16.0
| 1.24.1
|-
|-
| <strike>Fedora 12</strike> <small>EOL 2010-12-02</small>
|gettext/msgformat
| 1.8.8
|Translation support
| 2.22.2
|On
| 2.22.1
| 2.18.3
| 2.18.1
| 1.26.0
|-
|-
| <strike>Open SuSE 10.3</strike> <small>EOL 2009-10-31</small>
|gtest/gmock
| 1.4.14
|Automatted testing
| 2.14.1
|Off
| ?
| 2.12.0
| ?
| 1.18.2
|-
|-
| <strike>Open SuSE 11.0</strike> <small>EOL 2010-07-26</small>
|gspell
| ?
|Spell checking
| ?
|On
| ?
| 2.12.9
| ?
| ?
|-
|-
| <strike>Open SuSE 11.1</strike> <small>EOL 2011-01-14</small>
|imagemagick
| ?
|Bitmap editing extensions, bitmap import resolution
| ?
|On
| ?
| ?
| ?
| ?
|-
|-
| <strike>Ubuntu 6.06 LTS (Dapper)</strike> <small>EOL 2009-07-14</small>
|jpeg
| 1.0.4
|jpeg import?
| 2.10.2
|On
| 2.10.2
| 2.8.20
| 2.2.12
| 1.12.2
|-
|-
| <strike>Ubuntu 7.10 (Gutsy)</strike> <small>EOL 2009-04-18</small>
|OpenMP
| 1.4.10
|Multi-threaded filter rendering
| 2.14.1
|On
| 2.14.0
| 2.12.0
| 2.2.12
| 1.18.3
|-
|-
| <strike>Ubuntu 8.10 (Intrepid)</strike> <small>EOL 2010-04-30</small>
|scour
| 1.8.0
|Save as Optimized SVG
| 2.18.2
|(not needed during compiling, Python)
| 2.18.1
| 2.14.4
| 2.14.1
| 1.22.1
|-
|-
| <strike>Ubuntu 9.04 (Jaunty)</strike> <small>EOL 2010-10-23</small>
|libvisio
| 1.8.6
|Open Visio Files, use Visio stencils
| 2.20.1
|On
| 2.20.0
| 2.16.1
| 2.16.0
| 1.24.1
|-
|-
| <strike>Ubuntu 9.10 (Karmic)</strike> <small>EOL 2011-04-29</small>
|libwpg
| ?
|Open WordPerfect Graphics
| ?
|On
| ?
| ?
| ?
| ?
|-
|-
| Xandros
| 1.2.4
| 2.12.4
| ?
| 2.8.20
| ?
| 1.14.8
|}
|}
[[Category:About Inkscape]]
[[Category:Developer Documentation]]

Latest revision as of 15:45, 16 August 2021

Compilers

Version 1.0 requires a C++11 compiler. Version 1.1 requires a C++17 compiler.

See c++11 and c++17.

Libs

C++ bindings are not included, since their required versions match those of the C counterparts.

Library v 0.92 v 1.0 v 1.1 v 1.2 master
Boehm-GC 7.2 7.2 7.2
Cairo 1.14 1.14 (1.15.4 required for PDF links) 1.16* 1.16 1.16
double-conversion [1]
(lib2geom dependency)
(not required) any
FreeType 2.9* (Required for Variable fonts) 2.9 2.9
GDL N/A
(3.4)
3.4 Not Used Not Used
Glib 2.28 2.48 2.56 or 2.62* 2.64 2.64
GTK+ 2.24
(3.8)
3.22 3.24* 3.24 3.24
GNU Scientific Library ? ?
HarfBuzz ? ? 2.2* 2.6 2.6
libsigc++ 2.0.12* 2.0.12* 2.0.12*
libSoup (not required) (any)
libpotrace (not required) (any)
libxml 2.6.11* 2.6.11*
libxslt 1.0.15* 1.0.15*
lcms 1.13 2.2 2.2 (2.9*) 2.9* 2.9*
Pango 1.24 1.24 (1.41.1 required for variable fonts) 1.42* 1.44 1.44 (HarfBuzz shaping)
Poppler 0.20.0 0.20.0 0.29 (0.71*) 0.29 (0.71*) 0.71*
gtk-mac-integration
gtk-osx-application-gtk3
N/A 2.0.8 (macOS only)

* Tentative dependency

  • Pango 1.42.2 requires Harfbuzz 1.4.2
  • Pango 1.44.0 requires Glib 2.59.2 and Harfbuzz 2.0. 1.44 exposes hb_font directly.
  • Pango 1.45.1 requires Glib 2.60
  • Pango 1.48.4 has vertical upright marks fix.

Distros

Note: This table is not relevant to (non-fink) MacOS X, where we ship the desired version with Inkscape.

"Inkscape" column is default or distro version / oldest that builds - latest that builds. If no latest is given then that means trunk is expected to build on the given platform.

e.g. for a distro that ships with 0.48 but should support building of trunk you might get:

0.48 / 0.47-

General rules:

  • Support last Debian Stable
  • Support last Ubuntu LTS Ubuntu packages
  • Support last CentOS/Redhat (as best effort).
  • Support last two Fedora releases.
  • Don't break point releases.
Distro Inkscape gcc clang cairo cairomm freetype glib glibmm gtk+ gtkmm harfbuzz pango poppler gdl lcms2 libsigc++ libgc libsoup
Windows MSYS2 (2021-04-14)
(mingw-w64 packages from MSYS2 project)
1.0.2 10.2.0 11.0.0 1.17.4 1.12.2 2.10.4 2.68.1 2.66.0 3.24.27 3.24.3 2.8.0 1.48.4 20.12.1 3.34.0 2.12 2.10.6 8.0.4 2.72.0
Debian 10 (Buster, oldstable) EOL 2024-06 0.92.4 (1.0.2) 8.3.0 7.0 1.16 1.12.2 2.9.1 2.58.3 2.58.0 2.24.32
3.24.5
2.24.5
3.24.0
2.3.1 1.42.4 0.71.0 3.28.0 2.9 2.10.1 7.6.4 2.64.2
Debian 11 (Bullseye, stable) EOL 2026 1.0.2 10.2.1 11.0 1.16 1.12.2 2.10.4 2.66.8 2.64.2 3.24.24 3.24.2 2.7.4 1.46.2 20.09.0 3.34.0 2.12 2.10.4 8.0.4 2.72.0
(RHEL) / CentOS 8.1 EOFS 2024-05
Based on Centros 8.1 package list
0.92.3 8.3.1 8.0.1 1.15.12 1.12.0 2.8.14 2.56.4 2.56.0 2.24.32
3.22.30
2.24.5
3.22.2
1.7.5 1.42.4 0.66.0 ? 2.9 2.10.0 7.6.4 2.62.3
Ubuntu 20.04 LTS (Focal Fossa) EOL 2025-04 0.92.5 10 10 1.16 1.12.2 2.10.1 2.64.1 2.64.2 2.24.32
3.24.17
2.24.5
3.24.2
2.6.4 1.44.7 0.86.1 3.34.0 2.9.4 2.10.2 10 2.70.0
Legend
Inkscape 1.0.x unsupported
GTK+ 3 builds unsupported
  • Agreed to at Saarbrücken hackfest.

Getting and Installing Source packages

See Getting Started

Optional Dependencies

Inkscape will still compile without these, but some features may be missing if they are absent during compilation:

Library Needed for Default
aspell Dictionaries for spell checking On
libcdr Open Corel Draw files On
gettext/msgformat Translation support On
gtest/gmock Automatted testing Off
gspell Spell checking On
imagemagick Bitmap editing extensions, bitmap import resolution On
jpeg jpeg import? On
OpenMP Multi-threaded filter rendering On
scour Save as Optimized SVG (not needed during compiling, Python)
libvisio Open Visio Files, use Visio stencils On
libwpg Open WordPerfect Graphics On