Skip to content

Commit

Permalink
[FIX] packaging: sync debian packaging with salsa repo
Browse files Browse the repository at this point in the history
closes odoo#64007

X-original-commit: cffe65f
Signed-off-by: Christophe Monniez (moc) <[email protected]>
  • Loading branch information
sdelafond authored and d-fence committed Jan 4, 2021
1 parent dfcfca1 commit 19383af
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 2 deletions.
12 changes: 12 additions & 0 deletions debian/README.Debian
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Printing pages from Odoo result in missing footer and header, as per #977534
and #885833. There is currently no Debian-supported workaround for that, as
Debian does not ship a wkhtmltopdf version built against a patched version of
qt.

wkhtmltopdf's upstream proposes a package[0] that has been briefly
tested and proved to work with 14.0.0+dfsg.2-1 in sid, it is still
still officially considered as unsupported.

[0] https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.buster_amd64.deb

-- Sebastien Delafond <[email protected]>, Wed, 16 Dec 2020 08:17:10 +0100
11 changes: 9 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
odoo (14.0.0) unstable; urgency=medium
odoo (14.0.0+dfsg.2-1) unstable; urgency=medium

* 14.0.0 (Closes: #638720)
* Add missing sources, remove sourceless parts, and add lintian
overrides where needed (Closes: #973603, #973605)

-- Sebastien Delafond <[email protected]> Tue, 15 Dec 2020 10:28:49 +0100

odoo (14.0.0+dfsg-1) unstable; urgency=medium

* 14.0.0-1 (Closes: #638720)

-- Sebastien Delafond <[email protected]> Mon, 12 Oct 2020 14:02:16 +0200

Expand Down
46 changes: 46 additions & 0 deletions debian/lintian-overrides
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# correct spelling
odoo: spelling-error-in-copyright Ang And
odoo: spelling-error-in-copyright Filsystem Filesystem

# placeholder test.external.link
odoo: privacy-breach-generic usr/lib/python3/dist-packages/odoo/addons/test_assetsbundle/views/views.xml [<link rel="stylesheet" href="http://test.external.link/style1.css"/>] (http://test.external.link/style1.css)
odoo: privacy-breach-generic usr/lib/python3/dist-packages/odoo/addons/test_assetsbundle/views/views.xml [<link rel="stylesheet" href="http://test.external.link/style2.css"/>] (http://test.external.link/style2.css)
odoo: privacy-breach-generic usr/lib/python3/dist-packages/odoo/addons/test_assetsbundle/views/views.xml [<script type="text/javascript" src="http://test.external.link/javascript1.js">] (http://test.external.link/javascript1.js)
odoo: privacy-breach-generic usr/lib/python3/dist-packages/odoo/addons/test_assetsbundle/views/views.xml [<script type="text/javascript" src="http://test.external.link/javascript2.js">] (http://test.external.link/javascript2.js)
odoo: privacy-breach-generic usr/lib/python3/dist-packages/odoo/addons/website/tests/template_qweb_test.xml [<img src="http://test.external.link/img.png"/>] (http://test.external.link/img.png)
odoo: privacy-breach-generic usr/lib/python3/dist-packages/odoo/addons/website/tests/template_qweb_test.xml [<link rel="stylesheet" href="http://test.external.link/style1.css"/>] (http://test.external.link/style1.css)
odoo: privacy-breach-generic usr/lib/python3/dist-packages/odoo/addons/website/tests/template_qweb_test.xml [<link rel="stylesheet" href="http://test.external.link/style2.css"/>] (http://test.external.link/style2.css)
odoo: privacy-breach-generic usr/lib/python3/dist-packages/odoo/addons/website/tests/template_qweb_test.xml [<script type="text/javascript" src="http://test.external.link/javascript1.js">] (http://test.external.link/javascript1.js)
odoo: privacy-breach-generic usr/lib/python3/dist-packages/odoo/addons/website/tests/template_qweb_test.xml [<script type="text/javascript" src="http://test.external.link/javascript2.js">] (http://test.external.link/javascript2.js)

# false positive: this is SIL, as per debian/copyright:396
odoo: truetype-font-prohibits-installable-embedding [preview/print only] usr/lib/python3/dist-packages/odoo/addons/web/static/src/fonts/lato/Lato-BlaIta-webfont.ttf
odoo: truetype-font-prohibits-installable-embedding [preview/print only] usr/lib/python3/dist-packages/odoo/addons/web/static/src/fonts/lato/Lato-BolIta-webfont.ttf
odoo: truetype-font-prohibits-installable-embedding [preview/print only] usr/lib/python3/dist-packages/odoo/addons/web/static/src/fonts/lato/Lato-HaiIta-webfont.ttf
odoo: truetype-font-prohibits-installable-embedding [preview/print only] usr/lib/python3/dist-packages/odoo/addons/web/static/src/fonts/lato/Lato-LigIta-webfont.ttf
odoo: truetype-font-prohibits-installable-embedding [preview/print only] usr/lib/python3/dist-packages/odoo/addons/web/static/src/fonts/lato/Lato-RegIta-webfont.ttf

# only present in emails sent from the "digest" addon, and are not
# served from the odoo instance itself. This addon is only enabled
# when the user explicitely activates it after install.
odoo: privacy-breach-generic usr/lib/python3/dist-packages/odoo/addons/digest/data/digest_data.xml [<img class="download_app" src="https://www.odoo.com/digest/static/src/img/app_store.png" />] (https://www.odoo.com/digest/static/src/img/app_store.png)
odoo: privacy-breach-generic usr/lib/python3/dist-packages/odoo/addons/digest/data/digest_data.xml [<img class="download_app" src="https://www.odoo.com/digest/static/src/img/google_play.png" />] (https://www.odoo.com/digest/static/src/img/google_play.png)
odoo: privacy-breach-generic usr/lib/python3/dist-packages/odoo/addons/digest/data/digest_data.xml [<img src="https://www.odoo.com/web/image/24717933/odoo-mobile.png" alt="odoo mobile" />] (https://www.odoo.com/web/image/24717933/odoo-mobile.png)

# only present in emails sent from the "event" addon, and are not
# served from the odoo instance itself. This addon is only enabled
# when the user explicitely activates it after install.
odoo: privacy-breach-generic usr/lib/python3/dist-packages/odoo/addons/event/data/email_template_data.xml [<img src="http://maps.googleapis.com/maps/api/staticmap?autoscale=1&amp;size=598x200&amp;maptype=roadmap&amp;format=png&amp;visual_refresh=true&amp;markers=size:mid%7ccolor:0xa5117d%7clabel:%7c${location}" style="vertical-align:bottom; width: 100%;" alt="google maps"/>] (http://maps.googleapis.com/maps/api/staticmap?autoscale=1&amp;size=598x200&amp;maptype=roadmap&amp;format=png&amp;visual_refresh=true&amp;markers=size:mid%7ccolor:0xa5117d%7clabel:%7c${location})

# part of the demo data, and meant to show how to how to use the
# optional "survey" addon. This addon is only enabled when the user
# explicitely activates it after install.
odoo: privacy-breach-generic usr/lib/python3/dist-packages/odoo/addons/survey/data/survey_demo_quiz.xml [<iframe src="//www.youtube.com/embed/7y4t6yv5l1k?autoplay=0&amp;rel=0" frameborder="0" contenteditable="false">] (//www.youtube.com/embed/7y4t6yv5l1k?autoplay=0&amp;rel=0)

# only present in websites created by the user in the "website" and "website_google_map"
# addons. Those addons are only enabled when the user explicitely
# activates them after install.
# The font preloading is only an optimization, and could be removed in a
# Debian patch if needed.
odoo: privacy-breach-generic usr/lib/python3/dist-packages/odoo/addons/website/views/website_templates.xml [<link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin=""/>] (https://fonts.gstatic.com/)
odoo: privacy-breach-generic usr/lib/python3/dist-packages/odoo/addons/website_google_map/views/google_map_templates.xml [<script src="//maps.google.com/maps/api/js">] (//maps.google.com/maps/api/js)

0 comments on commit 19383af

Please sign in to comment.