Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] autofirma: Add .desktop file to pkg
@ 2024-05-29 14:18 suturar
  2024-05-29 14:21 ` suturar
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: suturar @ 2024-05-29 14:18 UTC (permalink / raw)
  To: ml

[-- 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/50586

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/50586.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-autofirma-add_desktop-50586.patch --]
[-- Type: text/x-diff, Size: 1040 bytes --]

From 2d56258427ed260c8dff61317e8ced3ef86c6c9e 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/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/autofirma/template b/srcpkgs/autofirma/template
index 3a2c21d5f953d2..be2e7d18d82007 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 clienteafirma-${version}/afirma-simple-installer/linux/instalador_deb/src/usr/share/applications/afirma.desktop 644 /usr/share/applications
 	vbin "${FILESDIR}/autofirma"
 }

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PR PATCH] autofirma: Add .desktop file to pkg
@ 2024-05-29 13:46 suturar
  2024-05-29 13:47 ` ahesford
  2024-05-29 16:22 ` suturar
  0 siblings, 2 replies; 6+ messages in thread
From: suturar @ 2024-05-29 13:46 UTC (permalink / raw)
  To: ml

[-- 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"
 }

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-05-29 19:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-29 14:18 [PR PATCH] autofirma: Add .desktop file to pkg suturar
2024-05-29 14:21 ` suturar
2024-05-29 17:48 ` suturar
2024-05-29 19:30 ` [PR PATCH] [Merged]: " classabbyamp
  -- strict thread matches above, loose matches on Subject: below --
2024-05-29 13:46 [PR PATCH] " suturar
2024-05-29 13:47 ` ahesford
2024-05-29 16:22 ` suturar

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).