From 7f0df47278dd93745e492242e439d42840e07976 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Tue, 5 Nov 2024 19:51:50 -0600 Subject: [PATCH] Make Lintian happy --- debian/control | 4 ++-- debian/screengrab.doc-base | 7 +++++++ debian/screengrab.install | 1 + debian/screengrab.lintian-overrides | 4 ++++ debian/source/include-binaries | 6 ------ debian/watch | 9 ++++----- 6 files changed, 18 insertions(+), 13 deletions(-) create mode 100644 debian/screengrab.doc-base create mode 100644 debian/screengrab.install create mode 100644 debian/screengrab.lintian-overrides delete mode 100644 debian/source/include-binaries diff --git a/debian/control b/debian/control index 3cea8c4..ad41046 100644 --- a/debian/control +++ b/debian/control @@ -1,6 +1,6 @@ Source: screengrab Maintainer: Lubuntu Developers -XSBC-Original-Maintainer: LXQt Packaging Team +Original-Maintainer: LXQt Packaging Team Uploaders: Alf Gaida , ChangZhuo Chen (陳昌倬) , Andrew Lee (李健秋) @@ -20,7 +20,7 @@ Rules-Requires-Root: no Package: screengrab Architecture: any -Depends: ${misc:Depends}, ${shlibs:Depends} +Depends: ${misc:Depends}, ${shlibs:Depends}, doc-base Description: Crossplatform tool for getting screenshots Screengrab working in Linux and Windows. The program uses Qt and is independent of any desktop environment. diff --git a/debian/screengrab.doc-base b/debian/screengrab.doc-base new file mode 100644 index 0000000..a6b1547 --- /dev/null +++ b/debian/screengrab.doc-base @@ -0,0 +1,7 @@ +Document: screengrab +Title: Screengrab Documentation +Section: Viewers + +Format: HTML +Index: /usr/share/doc/screengrab/html/en/index.html +Files: /usr/share/doc/screengrab/html/*/*.html diff --git a/debian/screengrab.install b/debian/screengrab.install new file mode 100644 index 0000000..904fd2c --- /dev/null +++ b/debian/screengrab.install @@ -0,0 +1 @@ +debian/screengrab.doc-base usr/share/doc-base/ diff --git a/debian/screengrab.lintian-overrides b/debian/screengrab.lintian-overrides new file mode 100644 index 0000000..edc715d --- /dev/null +++ b/debian/screengrab.lintian-overrides @@ -0,0 +1,4 @@ +# This is expected +screengrab: desktop-entry-lacks-keywords-entry [usr/share/applications/*.desktop] +screengrab: appstream-metadata-validation-failed * +screengrab: no-manual-page [usr/bin/*] diff --git a/debian/source/include-binaries b/debian/source/include-binaries deleted file mode 100644 index d113f20..0000000 --- a/debian/source/include-binaries +++ /dev/null @@ -1,6 +0,0 @@ -localize/screengrab_de_DE.qm -localize/screengrab_es_ES.qm -localize/screengrab_it_IT.qm -localize/screengrab_pt_BR.qm -localize/screengrab_ru.qm -localize/screengrab_uk_UA.qm \ No newline at end of file diff --git a/debian/watch b/debian/watch index b75fbc5..a544020 100644 --- a/debian/watch +++ b/debian/watch @@ -1,6 +1,5 @@ version=4 - -# See https://davesteele.github.io/development/2015/05/02/debian-watch-file-format-for-signed-github-source-tars/ for GitHub workaround for releases page. - -opts="downloadurlmangle=s/archive\/refs\/tags\/@ANY_VERSION@@ARCHIVE_EXT@/releases\/download\/$1\/@PACKAGE@-$1\.tar\.xz/,filenamemangle=s/@ANY_VERSION@@ARCHIVE_EXT@/@PACKAGE@-$1\.tar\.xz/,pgpsigurlmangle=s/$/.asc/" \ -https://github.com/lxqt/@PACKAGE@/tags .*/@ANY_VERSION@@ARCHIVE_EXT@ +opts="searchmode=plain, \ +pgpsigurlmangle=s/$/.asc/, \ +uversionmangle=s/(\d+\.\d+\.\d+).*/$1/" \ + https://api.github.com/repos/lxqt/@PACKAGE@/releases https:\/\/github.com\/lxqt\/@PACKAGE@\/releases\/download\/@ANY_VERSION@\/@PACKAGE@-@ANY_VERSION@.tar.xz