Difference between revisions of "Tracking Dependencies"
(→Libs) |
|||
(34 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
== Compilers == | == Compilers == | ||
Version 1.0 requires a C++11 compiler. | * Version 1.0 requires a C++11 compiler. | ||
Version 1.1 requires a C++17 compiler. | * Version 1.1 requires a C++17 compiler. | ||
* Version 1.4 requires a C++20 compiler. | |||
See [[c++11]] | See [[c++11]], [[c++17]], and [[C++20]]. | ||
== Libs == | == Libs == | ||
Line 22: | Line 17: | ||
! v 1.0 | ! v 1.0 | ||
! v 1.1 | ! v 1.1 | ||
! master | ! v 1.2 | ||
! v 1.3 | |||
! v 1.4 | |||
! master/gtk4 | |||
|- | |- | ||
| Boehm-GC | | Boehm-GC | ||
Line 28: | Line 26: | ||
| 7.2 | | 7.2 | ||
| 7.2 | | 7.2 | ||
| | |||
| | |||
| | |||
| | | | ||
|- | |- | ||
Line 34: | Line 35: | ||
| 1.14 (1.15.4 required for PDF links) | | 1.14 (1.15.4 required for PDF links) | ||
| 1.16* | | 1.16* | ||
| 1.16* | | 1.16 | ||
| 1.16 | |||
| | |||
| 1.18* ** | |||
|- | |- | ||
| double-conversion [https://github.com/google/double-conversion]<br/>''(lib2geom dependency)'' | | double-conversion [https://github.com/google/double-conversion]<br/>''(lib2geom dependency)'' | ||
| ''(not required)'' | | ''(not required)'' | ||
| any | | any | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 46: | Line 52: | ||
| | | | ||
| 2.9* (Required for Variable fonts) | | 2.9* (Required for Variable fonts) | ||
| 2.9 | | 2.9 | ||
| 2.9 | |||
| | |||
| | |||
|- | |- | ||
| GDL | | GDL | ||
| N/A<br />(3.4) | | N/A<br />(3.4) | ||
| 3.4 | | 3.4 | ||
| Not Used | |||
| Not Used | |||
| Not Used | |||
| Not Used | | Not Used | ||
|- | |- | ||
Line 57: | Line 69: | ||
| 2.48 | | 2.48 | ||
| 2.56 or 2.62* | | 2.56 or 2.62* | ||
| 2. | | 2.64 | ||
| 2.64 | |||
| | |||
| 2.68** | |||
|- | |- | ||
| GTK+ | | GTK+ | ||
Line 63: | Line 78: | ||
| 3.22 | | 3.22 | ||
| 3.24* | | 3.24* | ||
| 3.24 | | 3.24 | ||
| 3.24 | |||
| | |||
| 4.12<sup>+</sup> | |||
|- | |- | ||
| GNU Scientific Library | | GNU Scientific Library | ||
| ? | | ? | ||
| ? | | ? | ||
| | |||
| | |||
| | |||
| | | | ||
| | | | ||
Line 75: | Line 96: | ||
| ? | | ? | ||
| 2.2* | | 2.2* | ||
| 2.2* | | 2.6 | ||
| 2.6 | |||
| 2.6.5* | |||
| 7.0* | |||
|- | |- | ||
| libsigc++ | | libsigc++ | ||
Line 81: | Line 105: | ||
| ''2.0.12*'' | | ''2.0.12*'' | ||
| ''2.0.12*'' | | ''2.0.12*'' | ||
| | |||
| | |||
| | |||
| 3.0** | |||
|- | |- | ||
| libSoup | | libSoup | ||
| ''(not required)'' | | ''(not required)'' | ||
| (any) | | (any) | ||
| | |||
| | |||
| | |||
| | | | ||
| | | | ||
Line 91: | Line 122: | ||
| ''(not required)'' | | ''(not required)'' | ||
| (any) | | (any) | ||
| | |||
| | |||
| | |||
| | | | ||
| | | | ||
Line 97: | Line 131: | ||
| ''2.6.11*'' | | ''2.6.11*'' | ||
| ''2.6.11*'' | | ''2.6.11*'' | ||
| | |||
| | |||
| | |||
| | | | ||
| | | | ||
Line 103: | Line 140: | ||
| ''1.0.15*'' | | ''1.0.15*'' | ||
| ''1.0.15*'' | | ''1.0.15*'' | ||
| | |||
| | |||
| | |||
| | | | ||
| | | | ||
Line 110: | Line 150: | ||
| 2.2 | | 2.2 | ||
| 2.2 (2.9*) | | 2.2 (2.9*) | ||
| 2. | | 2.9* | ||
| 2.9* | |||
| | |||
| | |||
|- | |- | ||
| Pango | | Pango | ||
Line 116: | Line 159: | ||
| 1.24 (1.41.1 required for variable fonts) | | 1.24 (1.41.1 required for variable fonts) | ||
| 1.42* | | 1.42* | ||
| 1. | | 1.44 | ||
| 1.44 (HarfBuzz shaping) | |||
| | |||
| 2.48** | |||
|- | |- | ||
| Poppler | | Poppler | ||
Line 123: | Line 169: | ||
| 0.29 (0.71*) | | 0.29 (0.71*) | ||
| 0.29 (0.71*) | | 0.29 (0.71*) | ||
| 0.71* | |||
| | |||
| | |||
|- | |- | ||
| [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] | | [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 | | N/A | ||
| 2.0.8 ([[CompilingMacOsX|macOS only]]) | | 2.0.8 ([[CompilingMacOsX|macOS only]]) | ||
| | |||
| | |||
| | |||
| | | | ||
| | | | ||
Line 134: | Line 186: | ||
* Pango 1.42.2 requires Harfbuzz 1.4.2 | * Pango 1.42.2 requires Harfbuzz 1.4.2 | ||
* Pango 1.44.0 requires Glib 2.59.2 and Harfbuzz 2.0 | * 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.45.1 requires Glib 2.60 | ||
* Pango 1.48.4 has vertical upright marks fix. | |||
* Harfbuzz 4.1 changes glyph positioning for upright vertical text when font does not have vertical metrics (from glyph touching to of cell to being centered in cell). | |||
* Cairo 1.18 supports various color font formats include export to PDF. | |||
''** Gtkmm4 requires API changed Glibmm, Cairomm, and Pangomm. In particular, enums use child namespaces in newer libraries (Cairo::FORMAT_ARGB32 -> Cairo::Surface::Format::ARGB32).'' | |||
''<sup>+</sup> Decision at 5 Nov 2023 developer's meeting. Gtk4 4.10.1 has an important scrolling bug fix.'' | |||
== Distros == | == Distros == | ||
Line 147: | Line 206: | ||
'''General rules:''' | '''General rules:''' | ||
* Support | * Support latest Debian Stable (as of feature freeze) [https://www.debian.org/distrib/packages Debian packages] | ||
* Support | * Support latest Ubuntu LTS (as of feature freeze) [https://packages.ubuntu.com/ Ubuntu packages] | ||
* | **e.g. Considering Inkscape 1.2, the latest Ubuntu LTS at '''feature freeze time''' (around February 2022) would have been Ubuntu 20.04. The latest LTS at release time (around May 2022), though, will be Ubuntu 22.04. Therefore, according to the rule, we should support Ubuntu 20.04 LTS as the minimum version. | ||
* Support last two Fedora releases. | |||
* Support last two Fedora releases (as of feature freeze) [https://packages.fedoraproject.org/ Fedora packages] | |||
* Don't break ''point'' releases. | * Don't break ''point'' releases. | ||
Line 157: | Line 217: | ||
! Distro | ! Distro | ||
! Inkscape | ! Inkscape | ||
! gcc | ! gcc<sup>#</sup> | ||
! clang | ! clang<sup>#</sup> | ||
! cairo | ! cairo | ||
! cairomm | ! cairomm | ||
Line 175: | Line 235: | ||
! libsoup | ! libsoup | ||
|- | |- | ||
| Windows MSYS2 ( | | Windows MSYS2 (2021-04-14)<br/>([https://github.com/Alexpux/MINGW-packages mingw-w64 packages] from MSYS2 project) | ||
<!-- see http://quodlibet.duckdns.org/msys2/base for list of latest package versions --> | <!-- see http://quodlibet.duckdns.org/msys2/base for list of latest package versions --> | ||
| | | 1.0.2 | ||
| | | 10.2.0 | ||
| | | 11.0.0 | ||
| 1. | | 1.17.4 | ||
| 1.12.2 | | 1.12.2 | ||
| 2.10.4 | | 2.10.4 | ||
| 2. | | 2.68.1 | ||
| 2. | | 2.66.0 | ||
| | | 3.24.27 | ||
| | | 3.24.3 | ||
| 2. | | 2.8.0 | ||
| 1. | | 1.48.4 | ||
| | | 20.12.1 | ||
| 3. | | 3.34.0 | ||
| | | 2.12 | ||
| 2.10. | | 2.10.6 | ||
| | | 8.0.4 <!-- mingw-w64-gc --> | ||
| 2. | | 2.72.0 | ||
|- | |- | ||
| Debian | | Debian 11 (Bullseye, oldstable) <small>EOL 2026</small> | ||
| 0. | | 1.0.2 | ||
| | | 10.2.1 | ||
| | | 13.0.1 | ||
| 1.16 | | 1.16 | ||
| 1.12.2 | | 1.12.2 | ||
| 2. | | 2.10.4 | ||
| 2.66.8 | |||
| 2. | |||
| 2.64.2 | | 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 | |||
|- | |- | ||
| | | Debian 12 (Bookworm, stable) <small>EOL 2028?</small> | ||
| | | 1.2.2 | ||
| | | 12.2.0 | ||
| | | 15.0.6 | ||
| 1. | | 1.16.0 | ||
| 1.12. | | 1.12.1 | ||
| 2. | | 2.10.4 | ||
| 2. | | 2.74.5 | ||
| 2. | | 2.74.0 | ||
| | | 3.24.36<br />4.8.3 | ||
| | | 3.24.7<br />4.8.0 | ||
| | | 6.0.0 | ||
| 1. | | 1.50.12 | ||
| | | 22.12.0 | ||
| | | 3.40.0 | ||
| 2. | | 2.14.1 | ||
| 2. | | 2.12.0<br />3.4.0 | ||
| | | 8.2.2 | ||
| 2. | | 2.74.03<br />3.2.2 | ||
|- | |- | ||
| Ubuntu | | Ubuntu 22.04 LTS (Jammy Jellyfish) <small>EOL 2027-04</small> | ||
| | | 1.1.2 | ||
| | | 12.3.0 | ||
| | | 15.0.7 | ||
| 1. | | 1.16.0 | ||
| 1.12.2 | | 1.12.2 | ||
| 2. | | 2.11.1 | ||
| 2. | | 2.72.1 | ||
| 2. | | 2.66.2 | ||
| | | 3.24.33<br />4.6.2 | ||
| | | 3.24.5<br />no libgtkmm-4.0 | ||
| | | 2.7.4 | ||
| 1. | | 1.50.6 | ||
| | | 22.02.0 | ||
| 3. | | 3.40.0 | ||
| 2. | | 2.12-rc1 | ||
| 2.10. | | 2.10.4 | ||
| | | 8.0.6 | ||
| 2. | | 2.74.2<br />3.0.5 | ||
|- | |- | ||
| Ubuntu | | Ubuntu 24.04 LTS (Noble) <small>EOL 2029-04</small> | ||
| | | 1.2.2 | ||
| | | 13.2.0 | ||
| 18.0.0<br />(18.1.3) | |||
| 1. | | 1.18.0 | ||
| 1. | | 1.14.5<br />1.18.0 | ||
| | | 2.13.2 | ||
| 2. | | 2.80.0 | ||
| 2. | | 2.66.7<br />2.78.1 | ||
| 2. | | 3.24.41<br />4.14.2 | ||
| | | 3.24.9<br />4.10.0 | ||
| | | 8.3.0 | ||
| | | 1.52.1<br />2.52.0 | ||
| | | 24.02.0 | ||
| | | 3.40.0 | ||
| | | 2.14.2 | ||
| 2. | | 2.12.1<br />3.6.0 | ||
| 8.2.6 | |||
| 2. | | 2.74.3<br />3.4.4 | ||
| | |||
|- | |- | ||
| | | Ubuntu 24.10 (Oracular) <small>EOL 2025-06</small> | ||
| | | 1.2.2 | ||
| | | 14.1.0 | ||
| 19.0<br />(19.0) | |||
| 1.18.2 | |||
| 1.14.5<br />1.18.0 | |||
| 2.13.3 | |||
| 2.80.0 | |||
| 2.66.7<br />2.82.0 | |||
| 3.24.43<br />4.16.1 | |||
| 3.24.9<br />4.16.0 | |||
| 9.0.0 | |||
| 1.54.0<br />2.54.0 | |||
| 24.08.0 | |||
| 3.40.0 | |||
| 2.14.2 | |||
| 2.12.1<br />3.6.0 | |||
| 8.2.6 | |||
| 2.74.3<br />3.6.0 | |||
|} | |} | ||
<sup>#</sup>Debian and Ubuntu offer multiple gcc and clang versions, latest available version listed. | |||
* Agreed to at Saarbrücken hackfest. | * Agreed to at Saarbrücken hackfest. | ||
Line 290: | Line 362: | ||
== Getting and Installing Source packages == | == Getting and Installing Source packages == | ||
See [https://inkscape.org/develop/getting-started/ Getting Started] | |||
== Optional Dependencies == | == Optional Dependencies == |
Revision as of 19:13, 18 November 2024
Compilers
- Version 1.0 requires a C++11 compiler.
- Version 1.1 requires a C++17 compiler.
- Version 1.4 requires a C++20 compiler.
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 | v 1.3 | v 1.4 | master/gtk4 |
---|---|---|---|---|---|---|---|
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 | 1.18* ** | |
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 | Not Used | Not Used | |
Glib | 2.28 | 2.48 | 2.56 or 2.62* | 2.64 | 2.64 | 2.68** | |
GTK+ | 2.24 (3.8) |
3.22 | 3.24* | 3.24 | 3.24 | 4.12+ | |
GNU Scientific Library | ? | ? | |||||
HarfBuzz | ? | ? | 2.2* | 2.6 | 2.6 | 2.6.5* | 7.0* |
libsigc++ | 2.0.12* | 2.0.12* | 2.0.12* | 3.0** | |||
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) | 2.48** | |
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.
- Harfbuzz 4.1 changes glyph positioning for upright vertical text when font does not have vertical metrics (from glyph touching to of cell to being centered in cell).
- Cairo 1.18 supports various color font formats include export to PDF.
** Gtkmm4 requires API changed Glibmm, Cairomm, and Pangomm. In particular, enums use child namespaces in newer libraries (Cairo::FORMAT_ARGB32 -> Cairo::Surface::Format::ARGB32).
+ Decision at 5 Nov 2023 developer's meeting. Gtk4 4.10.1 has an important scrolling bug 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 latest Debian Stable (as of feature freeze) Debian packages
- Support latest Ubuntu LTS (as of feature freeze) Ubuntu packages
- e.g. Considering Inkscape 1.2, the latest Ubuntu LTS at feature freeze time (around February 2022) would have been Ubuntu 20.04. The latest LTS at release time (around May 2022), though, will be Ubuntu 22.04. Therefore, according to the rule, we should support Ubuntu 20.04 LTS as the minimum version.
- Support last two Fedora releases (as of feature freeze) Fedora packages
- 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 11 (Bullseye, oldstable) EOL 2026 | 1.0.2 | 10.2.1 | 13.0.1 | 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 |
Debian 12 (Bookworm, stable) EOL 2028? | 1.2.2 | 12.2.0 | 15.0.6 | 1.16.0 | 1.12.1 | 2.10.4 | 2.74.5 | 2.74.0 | 3.24.36 4.8.3 |
3.24.7 4.8.0 |
6.0.0 | 1.50.12 | 22.12.0 | 3.40.0 | 2.14.1 | 2.12.0 3.4.0 |
8.2.2 | 2.74.03 3.2.2 |
Ubuntu 22.04 LTS (Jammy Jellyfish) EOL 2027-04 | 1.1.2 | 12.3.0 | 15.0.7 | 1.16.0 | 1.12.2 | 2.11.1 | 2.72.1 | 2.66.2 | 3.24.33 4.6.2 |
3.24.5 no libgtkmm-4.0 |
2.7.4 | 1.50.6 | 22.02.0 | 3.40.0 | 2.12-rc1 | 2.10.4 | 8.0.6 | 2.74.2 3.0.5 |
Ubuntu 24.04 LTS (Noble) EOL 2029-04 | 1.2.2 | 13.2.0 | 18.0.0 (18.1.3) |
1.18.0 | 1.14.5 1.18.0 |
2.13.2 | 2.80.0 | 2.66.7 2.78.1 |
3.24.41 4.14.2 |
3.24.9 4.10.0 |
8.3.0 | 1.52.1 2.52.0 |
24.02.0 | 3.40.0 | 2.14.2 | 2.12.1 3.6.0 |
8.2.6 | 2.74.3 3.4.4 |
Ubuntu 24.10 (Oracular) EOL 2025-06 | 1.2.2 | 14.1.0 | 19.0 (19.0) |
1.18.2 | 1.14.5 1.18.0 |
2.13.3 | 2.80.0 | 2.66.7 2.82.0 |
3.24.43 4.16.1 |
3.24.9 4.16.0 |
9.0.0 | 1.54.0 2.54.0 |
24.08.0 | 3.40.0 | 2.14.2 | 2.12.1 3.6.0 |
8.2.6 | 2.74.3 3.6.0 |
#Debian and Ubuntu offer multiple gcc and clang versions, latest available version listed.
- 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 |