diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
commit | 75808db17caf8b960b351e3408e74142f4c85aac (patch) | |
tree | 7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig | |
parent | Initial commit. (diff) | |
download | lintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz lintian-75808db17caf8b960b351e3408e74142f4c85aac.zip |
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig')
4 files changed, 47 insertions, 0 deletions
diff --git a/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/Makefile b/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/Makefile new file mode 100644 index 0000000..5b475b1 --- /dev/null +++ b/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/Makefile @@ -0,0 +1,6 @@ +all: pargs + pod2man --section=1 pargs pargs.1 + +clean: + rm -f pargs*.1 + diff --git a/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/bar.desktop b/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/bar.desktop new file mode 100644 index 0000000..20d591d --- /dev/null +++ b/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/bar.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=GNU bar +GenericName=bar +Comment=A bar test entry for Lintian +Type=Application +Categories=Game;BoardGame;GTK; +MimeType=application/bar; +Keywords=Lintian +Icon=foo +Exec=pargs %U diff --git a/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/foo.desktop b/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/foo.desktop new file mode 100644 index 0000000..0e6c1fb --- /dev/null +++ b/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/foo.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=GNU Foo +GenericName=Foo +Comment=A foo test entry for Lintian +Type=Application +Categories=Game;BoardGame;GTK; +MimeType=application/foo; +Icon=foo +Keywords=Lintian diff --git a/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/pargs b/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/pargs new file mode 100644 index 0000000..5a0017c --- /dev/null +++ b/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/pargs @@ -0,0 +1,22 @@ +#!/usr/bin/perl + +use strict; +use warnings; + +print join("\n", @ARGV), "\n"; +exit 0; + +=head1 NAME + +pargs - print arguments (similar to echo) + +=head1 SYNOPSIS + +pargs [...] + +=head1 DESCRIPTION + +Prints all arguments separated by newlines. + +=cut + |