Commit Graph

28 Commits

Author SHA1 Message Date
Thomas Lamprecht
393cdaebf8 d/control: ensure docs are build with compatible asciidoc
As commit 5832a54 ("fix running a2x under new package structure") in
the upstream asciidoc-py repo broke overriding the backend with our
own config for the docbook target, which broke our thumbnail
attribute for paragraphs for the PDF output (HTML is done directly by
asciidoc, and there overriding the config still worked).

Reported upstream [0] and workarounded with the proposed fix applied
to an asciidoc package re-build that got uploaded to our devel repo
for bookworm, so ensure that builds are done with a new enough
version.

[0]: https://github.com/asciidoc-py/asciidoc-py/issues/266

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-25 14:31:29 +02:00
Thomas Lamprecht
c7ce74f4d0 mark pve-doc-generator an arch-independent package
only contains a bit of perl code and some asciidoc files.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-18 15:46:14 +02:00
Thomas Lamprecht
fc356f9e6e d/control: raise standards version compliance to 4.6.2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-18 15:46:14 +02:00
Thomas Lamprecht
d75de4c3de d/control: define compat level via build-depends and raise to 13
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-18 15:46:14 +02:00
Thomas Lamprecht
78835c7aa6 d/control: add missing ${misc:Depends}
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-18 15:46:14 +02:00
Thomas Lamprecht
1e2297a307 debian: run wrap-and-sort -tkn
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-02 16:28:21 +02:00
Dominik Csapak
37d44f8e21 build api-viewer from widget-toolkit-dev
build-depends naturally on the new proxmox-widget-toolkit-dev package

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-06-02 15:35:48 +02:00
Thomas Lamprecht
82458168d0 d/control: document libmediawiki-api-perl as pve-docs-mediawiki depends
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-07-11 16:05:53 +02:00
Thomas Lamprecht
3567593e1f d/control: update standards version
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-21 17:47:07 +02:00
Thomas Lamprecht
76834d385d d/control: pass ${perl:Depends} everywhere it is defined
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-16 17:02:06 +02:00
Thomas Lamprecht
4f2bdd7660 d/control: Priority extra got replaced by optional
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-16 17:01:26 +02:00
Thomas Lamprecht
2996c79096 d/control: rsync is a build dependency
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-16 16:54:47 +02:00
Fabian Grünbichler
68a192b5be d/control: minimize pve-doc-generator depends
we don't actually need the whole dblatex/texlive dependency chain to
generate man pages.

this reduces the current dependency chain of pve-doc-generator in a
minimal chroot from 184 packages (556mb) to 72 packages (90mb):

-asciidoc-dblatex
-dblatex
-dirmngr
-docbook-dsssl
-docbook-utils
-fontconfig-config
-fonts-dejavu-core
-fonts-lmodern
-gnupg
-gnupg-agent
-jadetex
-libassuan0
-libavahi-client3
-libavahi-common-data
-libavahi-common3
-libbsd0
-libcairo2
-libcups2
-libcupsimage2
-libfontconfig1
-libfreetype6
-libglib2.0-0
-libgnutls30
-libgraphite2-3
-libgs9
-libgs9-common
-libgssapi-krb5-2
-libharfbuzz-icu0
-libharfbuzz0b
-libhogweed4
-libice6
-libidn11
-libijs-0.35
-libjbig0
-libjbig2dec0
-libjpeg62-turbo
-libk5crypto3
-libkeyutils1
-libkpathsea6
-libkrb5-3
-libkrb5support0
-libksba8
-liblcms2-2
-libldap-2.4-2
-libldap-common
-libnettle6
-libnpth0
-libnspr4
-libnss3
-libopenjp2-7
-libosp5
-libostyle1c2
-libp11-kit0
-libpaper-utils
-libpaper1
-libpixman-1-0
-libpng16-16
-libpoppler64
-libpotrace0
-libptexenc1
-libsasl2-2
-libsasl2-modules-db
-libsgmls-perl
-libsm6
-libsynctex1
-libtasn1-6
-libtexlua52
-libtexluajit2
-libtiff5
-libx11-6
-libx11-data
-libxau6
-libxaw7
-libxcb-render0
-libxcb-shm0
-libxcb1
-libxdmcp6
-libxext6
-libxi6
-libxmu6
-libxpm4
-libxrender1
-libxt6
-libzzip-0-13
-lynx
-lynx-common
-openjade
-opensp
-pinentry-curses
-poppler-data
-preview-latex-style
-python-apt
-python-apt-common
-sgmlspl
-t1utils
-tex-common
-texlive
-texlive-base
-texlive-bibtex-extra
-texlive-binaries
-texlive-extra-utils
-texlive-fonts-recommended
-texlive-generic-recommended
-texlive-htmlxml
-texlive-latex-base
-texlive-latex-extra
-texlive-latex-recommended
-texlive-pictures
-texlive-science
-ucf
-x11-common
-xdg-utils

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-10-18 14:12:20 +02:00
Fabian Grünbichler
c8311c1edd d/control: add missing build-dependencies
gathered by building in a minimal Debian Stretch chroot with just the
listed build-dependencies installed.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-09-13 09:06:15 +02:00
Fabian Grünbichler
b5b9709a1c d/control: bump debhelper build-dependency
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-09-13 08:50:20 +02:00
Fabian Grünbichler
bd21aef95d build: wrap-and-sort debian/
for consistency and easier diffing

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-09-13 08:50:11 +02:00
Fabian Grünbichler
fa764571f6 build: refactor build process
build packages in one go by moving individual .deb targets into install
targets called by dpkg-buildpackage.

all three binary packages are bootstrappable on a straight Debian host,
so there is no need to call dpkg-buildpackage separately for each of
them.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-09-13 08:40:01 +02:00
Wolfgang Bumiller
c8bdafbd1a buildsys: split the packages
This way each package can be built separately. This also
allows for much easier package bootstrapping (eg. for
stretch)
2017-02-03 14:35:28 +01:00
Fabian Grünbichler
9d3ff47813 add missing build dependencies 2017-01-27 11:18:46 +01:00
Dietmar Maurer
3f4666b456 pve-docs-mediawiki-import.in: include text version inside pvehide tag
So that wiki search returns useful content.
2016-10-17 10:35:55 +02:00
Dietmar Maurer
cfabc2e9b3 add new pve-docs-mediawiki package 2016-08-09 07:55:35 +02:00
Wolfgang Bumiller
68318ffb59 build-deps: dblatex, source-highlight 2016-06-28 15:08:38 +02:00
Dietmar Maurer
ceb4ea5b61 simplify package build system (single debian dir) 2016-05-25 07:25:05 +02:00
Dietmar Maurer
27de6ae95d improve package description 2016-05-25 06:42:17 +02:00
Dietmar Maurer
c93c582946 include footnotes inside manual pages
We need to use xmlto
2016-05-24 11:56:05 +02:00
Dietmar Maurer
f8866417db improve package dependencies, add README 2016-04-29 14:33:58 +02:00
Dietmar Maurer
03a9e24795 only depend on asciidoc and libpve-common-perl 2016-04-06 17:47:19 +02:00
Dietmar Maurer
9344ee0d0b create debian package with all sources to generate pve manual pages 2016-04-06 09:58:22 +02:00