5
0
mirror of git://git.proxmox.com/git/novnc-pve.git synced 2024-12-22 17:34:20 +03:00

add DSC source package and fix its reported lintian errors

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-05-22 19:31:36 +02:00
parent e4d1a2f4e8
commit 018065f9c4
5 changed files with 19 additions and 7 deletions

View File

@ -8,24 +8,34 @@ BUILDDIR=${SRCDIR}.tmp
GITVERSION:=$(shell git rev-parse HEAD)
DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
DSC=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.dsc
all: ${DEB}
@echo ${DEB}
.PHONY: deb
deb: ${DEB}
${DEB}: | submodule
${SRCDIR}/vnc.html: submodule
${BUILDDIR}: $(SRCDIR)/vnc.html
rm -rf ${BUILDDIR}
cp -rpa ${SRCDIR} ${BUILDDIR}
cp -a debian ${BUILDDIR}
echo "git clone git://git.proxmox.com/git/novnc-pve.git\\ngit checkout ${GITVERSION}" > ${BUILDDIR}/debian/SOURCE
cd ${BUILDDIR}; dpkg-buildpackage -rfakeroot -b -uc -us
.PHONY: deb
deb: ${DEB}
${DEB}: ${BUILDDIR}
cd ${BUILDDIR}; dpkg-buildpackage -b -uc -us
lintian ${DEB}
@echo ${DEB}
.PHONY: dsc
dsc: ${DSC}
${DSC}: ${BUILDDIR}
cd ${BUILDDIR}; dpkg-buildpackage -S -uc -us -d
lintian ${DSC}
.PHONY: submodule
submodule:
test -f "${SRCDIR}/vnc.html" || git submodule update --init
git submodule update --init
.PHONY: download
download ${SRCDIR}:

2
debian/control vendored
View File

@ -2,7 +2,7 @@ Source: novnc-pve
Section: web
Priority: optional
Maintainer: Proxmox Support Team <support@proxmox.com>
Build-Depends: debhelper (>= 10~),
Build-Depends: debhelper (>= 11~),
node-es6-module-transpiler,
quilt,
Standards-Version: 4.1.3

View File

@ -9,4 +9,4 @@
0009-decrease-animation-time.patch
0010-use-only-app.js.patch
0011-add-localCursor-setting-to-rfb.patch
0012-pass-custom-command-to-vnc.patch
0012-pass-custom-command-to-vnc.patch

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
1.0

1
debian/source/lintian-overrides vendored Normal file
View File

@ -0,0 +1 @@
novnc-pve source: source-is-missing core/util/browser.js line length is *