Files
odoo_source/debian/control
T
Christophe Monniez 858505517a [FIX] packaging: add explicit depends on multilingual fonts
A bug[0] was detected in the Odoo Docker image 15.0 when trying to print
invoices with arabic fonts (and probably other languages that need
specific font) . It appears that the necessary fonts are not available
in the container image.

Strangely, the issue did not exists in previous Odoo Docker images.

It appears that `fonts-dejavu-core` package was installed incidentally
by `wkhtmltox`[1] which is installed from the official website.
Note that the Debian version of `wkhtmltopdf`[2] does not provide this
dependency.

In the 15.0 Docker image, while the `wkhtmltox` is installed the same
way, the `fonts-dejavu-core` package was not installed because the
dependency of `fontconfig-config`[3] was already fulfilled by the
`python3-renderpm`[4] from Debian Bullseye.

Finally, to add more confusion, the Odoo package have an indirect
dependency on `fonts-dejavu-core` through the `python3-pydot`[5] package.
This explains why the issue was not found before.

In order to avoid all this spaghetti dependency hell, this commit adds
an explicit dependency on one of the multilingual fonts available in the
Debian packages.

[0] https://github.com/odoo/docker/issues/400
[1] https://github.com/wkhtmltopdf/wkhtmltopdf/releases/0.12.5/
[2] https://packages.debian.org/bullseye/wkhtmltopdf
[3] https://packages.debian.org/bullseye/fontconfig-config
[4] https://packages.debian.org/bullseye/python3-renderpm
[5] https://packages.debian.org/bullseye/python3-pydot

closes odoo/odoo#81742

X-original-commit: 3d6043a7356b90e5a69a5b535ec6c651d0860711
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2021-12-22 08:47:41 +00:00

75 lines
2.1 KiB
Plaintext

Source: odoo
Section: net
Priority: optional
Maintainer: Odoo S.A. <info@odoo.com>
Uploaders: Aaron Bohy <aab@odoo.com>, Simon Lejeune <sle@odoo.com>
Build-Depends: debhelper-compat (= 12), dh-python, python3, rsync, python3-setuptools
Standards-Version: 4.5.0
Homepage: http://www.odoo.com/
Vcs-Git: https://github.com/odoo/odoo
Vcs-Browser: https://github.com/odoo/odoo
Package: odoo
Architecture: all
Depends:
${misc:Depends},
${python3:Depends},
adduser,
# support for multilingual fonts
fonts-dejavu-core | fonts-freefont-ttf | fonts-freefont-otf | fonts-noto-core,
fonts-inconsolata,
fonts-font-awesome,
fonts-roboto-unhinted,
gsfonts,
libjs-underscore,
lsb-base,
postgresql-client,
python3-babel,
python3-chardet,
python3-dateutil,
python3-decorator,
python3-docutils,
python3-freezegun,
python3-html2text,
python3-pil,
python3-jinja2,
python3-libsass,
python3-lxml,
python3-num2words,
python3-ofxparse,
python3-passlib,
python3-polib,
python3-psutil,
python3-psycopg2,
python3-pydot,
python3-openssl,
python3-pypdf2,
python3-qrcode,
python3-renderpm,
python3-reportlab,
python3-requests,
python3-stdnum,
python3-tz,
python3-vobject,
python3-werkzeug,
python3-xlsxwriter,
python3-xlrd,
python3-zeep,
Pre-Depends: ${misc:Pre-Depends}
Conflicts: tinyerp-server, openerp-server, openerp-web, openerp
Replaces: tinyerp-server, openerp-server, openerp-web, openerp
Recommends:
${python3:Recommends},
postgresql,
python3-ldap,
Description: Open Source Apps To Grow Your Business
Odoo, formerly known as OpenERP, is a suite of open-source business apps
written in Python and released under the LGPLv3 license. This suite of
applications covers all business needs, from Website/Ecommerce down to
manufacturing, inventory and accounting, all seamlessly integrated. Odoo's
technical features include a distributed server, flexible workflows, an object
database, a dynamic GUI, customizable reports, and an XML-RPC interface. Odoo
is the most installed business software in the world. It is used by 2.000.000
users worldwide ranging from very small companies (1 user) to very large ones
(300 000 users).