Commit Graph

20 Commits

Author SHA1 Message Date
Thomas Lamprecht
3ae37775bb d/control: add hint w.r.t. pve-common/pmg-api B-D
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-26 13:37:01 +02:00
Thomas Lamprecht
6ec5b7d09e d/control: drop lintian from build-dependcies
we don't use it for building the package, and what's happening
afterwards isn't really the task of d/control to enforce.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-26 13:37:01 +02:00
Thomas Lamprecht
30466ac437 d/control: ensure docs are build with compatible asciidoc
follows pve-docs' 393cdae ("d/control: ensure docs are build with
compatible asciidoc")

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-26 13:37:01 +02:00
Stoiko Ivanov
a370b24fb2 d/control: raise standards version compliance to 4.6.2
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-26 13:37:01 +02:00
Stoiko Ivanov
f84243b5e5 d/control: define compat level via build-depends and raise to 13
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-26 13:37:01 +02:00
Stoiko Ivanov
163affa4fe mark pmg-doc-generator an arch-independent package
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-26 13:37:01 +02:00
Stoiko Ivanov
4a6dd634ae d/control: add missing ${misc:Depends}
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-26 13:37:01 +02:00
Stoiko Ivanov
0c3c738f7d d/control: add rsync as build dependency
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-26 13:37:01 +02:00
Thomas Lamprecht
0abdf4fd0c drop pmg-docs-apache
only one line here and we changed that already in the live config,
just not worth the hassle for that..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-15 11:12:28 +02:00
Thomas Lamprecht
27745dc080 d/control: bump standards version
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-29 11:20:24 +02:00
Dominik Csapak
4413eb7106 build api-viewer from proxmox-widget-toolkit-dev
build-depends on the new proxmox-widget-toolkit-dev package

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-06-09 16:31:01 +00:00
Stoiko Ivanov
cf90cd8818 buildsys: bump debhelper compat to 12
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2021-06-01 13:38:34 +00:00
Thomas Lamprecht
ddc224d888 api-viewer: use our extjs package instead of the cloudflare cdn
The loading of an external hosted ExtJS is from a time where we did
not have a extra ExtJS package as it still was in the pve-manager
one, which was not desired to be installed on a non-pmg machine.
Add a dependency on libjs-extjs and a link from api-viewer/extjs to
the installation directory of the ExtJS package, this allows to reuse
ExtJS on PMG node hosted docs and on the hosted docs from proxmox.com
at the same time.

Adapted from the Proxmox VE version[0] of this change.

[0]: https://git.proxmox.com/?p=pve-docs.git;a=commitdiff;h=e56030c4d7c3bd0de1ebc109d528fb6b7bef05a3

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-08-17 12:48:25 +02:00
Thomas Lamprecht
b4cffe3c98 docs-apache: fix lintian error and warning
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-31 14:05:40 +02:00
Stoiko Ivanov
0d15b893c6 add new pmg-docs-apache package
containing a short apache-config snippet for delivering the pmg-docs via apache.

Mostly added for consistency between pve-docs (containing pve-docs-mediawiki)
and pmg-docs (containing pmg-docs-apache, because it does not have a wiki)

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2019-05-31 13:19:11 +02:00
Thomas Lamprecht
69b465bf57 d/control: build-depend on source-highlight
This ensures that code blocks with [source,<lang>] blocks get
rendered correctly in HTML output.

While we only have one such block, and we could remove the
source highlighting tag completely here we use this in pve-docs and
also have the dependency there correctly, so it makes sense to make
share this here, else a copied text from pve-docs may be incompatible
here

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-16 13:11:13 +02:00
Stoiko Ivanov
7fa162f527 d/control: add/remove build-dependencies
gathered by building in a minimal Debian Stretch chroot with just the
listed build-dependencies installed.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2019-02-28 07:02:59 +01:00
Stoiko Ivanov
156988f90a d/control: bump debhelper build-dependency
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2019-02-28 07:02:47 +01:00
Stoiko Ivanov
7da428e842 bsys: wrap-and-sort debian/
for consistency and easier diffing

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2019-02-28 07:02:36 +01:00
Stoiko Ivanov
1a8e71a93b bsys: refactor build process
build packages in one go by moving individual .deb targets into install
targets called by dpkg-buildpackage.

ported from pve-docs:fa764571f6a0c5bfc62ee1cda6bffcfae40e9ec9
and pve-docs:60955877b11cde0865a258ece040bd124fb07bdc

Additionally I added the fixups from Thomas in
pve-docs:2d11c86883c4b1150afcc97eedfbf1b2a07de105
pve-docs:fd880d44c7d3876add7acd659641668bfa09c71b

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2019-02-28 07:02:21 +01:00