From: suturar <suturar@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] autofirma: Add .desktop file to pkg
Date: Wed, 29 May 2024 15:46:27 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50584@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1121 bytes --]
There is a new pull request by suturar against master on the void-packages repository
https://github.com/suturar/void-packages autofirma-add_desktop
https://github.com/void-linux/void-packages/pull/50584
autofirma: Add .desktop file to pkg
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
A patch file from https://github.com/void-linux/void-packages/pull/50584.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-autofirma-add_desktop-50584.patch --]
[-- Type: text/x-diff, Size: 1527 bytes --]
From 40a302f63e1a35f4265d5bd33086804f49fd794e Mon Sep 17 00:00:00 2001
From: Seth <sutura-git@qkco.es>
Date: Wed, 29 May 2024 15:41:31 +0200
Subject: [PATCH] autofirma: Add .desktop file to pkg
---
srcpkgs/autofirma/files/autofirma.desktop | 9 +++++++++
srcpkgs/autofirma/template | 3 ++-
2 files changed, 11 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/autofirma/files/autofirma.desktop
diff --git a/srcpkgs/autofirma/files/autofirma.desktop b/srcpkgs/autofirma/files/autofirma.desktop
new file mode 100644
index 00000000000000..bf9efab844d5f0
--- /dev/null
+++ b/srcpkgs/autofirma/files/autofirma.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Encoding=UTF-8
+Version=1.0
+Type=Application
+Terminal=false
+Categories=Office;Utilities;Signature
+Exec=/usr/bin/autofirma %u
+Name=AutoFirma
+MimeType=x-scheme-handler/afirma
diff --git a/srcpkgs/autofirma/template b/srcpkgs/autofirma/template
index 3a2c21d5f953d2..6d435b1a58a037 100644
--- a/srcpkgs/autofirma/template
+++ b/srcpkgs/autofirma/template
@@ -1,7 +1,7 @@
# Template file for 'autofirma'
pkgname=autofirma
version=1.8.2
-revision=2
+revision=3
_jmulticard_version=1.8
hostmakedepends="apache-maven openjdk11"
depends="virtual?java-environment"
@@ -35,5 +35,6 @@ do_check() {
do_install() {
vmkdir usr/share/java/${pkgname}
vinstall clienteafirma-${version}/afirma-simple/target/AutoFirma.jar 644 usr/share/java/autofirma
+ vinstall ${FILESDIR}/${pkgname}.desktop 644 /usr/share/applications
vbin "${FILESDIR}/autofirma"
}
next reply other threads:[~2024-05-29 13:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-29 13:46 suturar [this message]
2024-05-29 13:47 ` [PR PATCH] [Closed]: " ahesford
2024-05-29 13:47 ` ahesford
2024-05-29 16:22 ` suturar
2024-05-29 14:18 [PR PATCH] " suturar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50584@inbox.vuxu.org \
--to=suturar@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).