Bug#1072914: xdg-terminal-exec: [Debdiff] Run upstream tests and provide manual page.
Nathan Pratta Teodosio
nathan.teodosio at canonical.com
Mon Jun 10 10:20:30 BST 2024
Package: xdg-terminal-exec
Version: 0~20230318-1
Severity: normal
Tags: patch
X-Debbugs-Cc: nathan.teodosio at canonical.com
Dear Maintainer,
I send a debdiff to provide a manual page and to run upstream tests both as
autopkgtest and as build time test.
-------------- next part --------------
diff -Nru xdg-terminal-exec-0~20230318/debian/changelog xdg-terminal-exec-0~20230318/debian/changelog
--- xdg-terminal-exec-0~20230318/debian/changelog 2023-03-29 17:32:54.000000000 +0200
+++ xdg-terminal-exec-0~20230318/debian/changelog 2024-06-10 10:07:55.000000000 +0200
@@ -1,3 +1,10 @@
+xdg-terminal-exec (0~20230318-2) unstable; urgency=medium
+
+ * Run upstream tests at build time and as autopkgtest.
+ * Provide a manual page (fixes no-manual-page lintian warning).
+
+ -- Nathan Pratta Teodosio <nathan.teodosio at canonical.com> Mon, 10 Jun 2024 10:07:55 +0200
+
xdg-terminal-exec (0~20230318-1) unstable; urgency=medium
* New upstream snapshot
diff -Nru xdg-terminal-exec-0~20230318/debian/control xdg-terminal-exec-0~20230318/debian/control
--- xdg-terminal-exec-0~20230318/debian/control 2023-03-29 17:32:54.000000000 +0200
+++ xdg-terminal-exec-0~20230318/debian/control 2024-06-10 10:07:55.000000000 +0200
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian freedesktop.org maintainers <pkg-freedesktop-maintainers at lists.alioth.debian.org>
Uploaders: Jeremy Bicha <jbicha at ubuntu.com>
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: debhelper-compat (= 13), bats
Standards-Version: 4.6.2
Rules-Requires-Root: no
Vcs-Browser: https://salsa.debian.org/freedesktop-team/xdg-terminal-exec
diff -Nru xdg-terminal-exec-0~20230318/debian/rules xdg-terminal-exec-0~20230318/debian/rules
--- xdg-terminal-exec-0~20230318/debian/rules 2023-03-29 17:32:54.000000000 +0200
+++ xdg-terminal-exec-0~20230318/debian/rules 2024-06-10 10:07:55.000000000 +0200
@@ -2,3 +2,7 @@
%:
dh $@
+
+override_dh_auto_test:
+ bats ./test/*.bats
+ dh_auto_test
diff -Nru xdg-terminal-exec-0~20230318/debian/tests/control xdg-terminal-exec-0~20230318/debian/tests/control
--- xdg-terminal-exec-0~20230318/debian/tests/control 1970-01-01 01:00:00.000000000 +0100
+++ xdg-terminal-exec-0~20230318/debian/tests/control 2024-06-10 10:00:17.000000000 +0200
@@ -0,0 +1,3 @@
+Test-command: bats ./test/tests.bats
+Depends: @, bats
+Restrictions: allow-stderr
diff -Nru xdg-terminal-exec-0~20230318/debian/xdg-terminal-exec.1 xdg-terminal-exec-0~20230318/debian/xdg-terminal-exec.1
--- xdg-terminal-exec-0~20230318/debian/xdg-terminal-exec.1 1970-01-01 01:00:00.000000000 +0100
+++ xdg-terminal-exec-0~20230318/debian/xdg-terminal-exec.1 2024-06-10 10:07:55.000000000 +0200
@@ -0,0 +1,34 @@
+.\" Title : xdg-terminal-exec
+.\" Author : Nathan Pratta Teodosio
+.\" June, 2024
+.\"
+.TH XDG-TERMINAL-EXEC 1 "Xdg-terminal-exec manual"
+.SH NAME
+xdg-terminal-exec \- terminal execution utility
+.SH SYNOPSIS
+\fBxdg-terminal-exec [command [arguments]]
+.br
+.SH DESCRIPTION
+Xdg-terminal-exec calculates and launches the default system terminal, as determined
+by the XDG specification.
+
+.SH OPTIONS
+If run without any arguments, only the terminal itself will be launched.
+
+If command and, possibly, its arguments are given, the terminal will be launched
+with the corresponding command argument list being executed.
+
+.SH ENVIRONMENT
+.TP
+.B DEBUG
+Print debug statements to stderr.
+
+.SH SEE ALSO
+For more comprehensive instructions please read the documentation in
+.B /usr/share/doc/xdg-terminal-exec/
+or consult the package's homepage as listed in
+\fBapt show xdg-terminal-exec\fP.
+
+.SH AUTHORS
+This manual page was originally written by Nathan Pratta Teodosio
+for the Debian project.
diff -Nru xdg-terminal-exec-0~20230318/debian/xdg-terminal-exec.manpages xdg-terminal-exec-0~20230318/debian/xdg-terminal-exec.manpages
--- xdg-terminal-exec-0~20230318/debian/xdg-terminal-exec.manpages 1970-01-01 01:00:00.000000000 +0100
+++ xdg-terminal-exec-0~20230318/debian/xdg-terminal-exec.manpages 2024-06-10 10:07:55.000000000 +0200
@@ -0,0 +1 @@
+debian/xdg-terminal-exec.1
More information about the Pkg-freedesktop-maintainers
mailing list