Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] sauerbraten: add application menu
@ 2022-03-26  6:27 hervyqa
  2022-03-27 18:12 ` Vaelatern
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: hervyqa @ 2022-03-26  6:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 937 bytes --]

There is a new pull request by hervyqa against master on the void-packages repository

https://github.com/hervyqa/void-packages sauerbraten
https://github.com/void-linux/void-packages/pull/36357

sauerbraten: add application menu
[Sauerbraten](http://sauerbraten.org/) is a free multiplayer & singleplayer first person shooter, the successor of the [Cube](http://www.cubeengine.com/) FPS.
`sauerbraten` does not provide a desktop menu, so it can only be opened via the cli.

```
➜  ~ xbps-query --regex -Rf sauerbraten
/usr/bin/sauer_client
/usr/bin/sauerbraten
```
#### Testing the changes
- I tested the changes in this PR: **briefly** (testing by adding .desktop manually. not build package)

![Screenshot_20220326_132604](https://user-images.githubusercontent.com/45872139/160227628-63cd0e47-361f-4cd6-a7e8-795038c5ea19.png)



A patch file from https://github.com/void-linux/void-packages/pull/36357.patch is attached

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

From c6b7ea6ff7e22039c312c0d0edbb4fbaee4e31b4 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@pm.me>
Date: Sat, 26 Mar 2022 13:02:52 +0700
Subject: [PATCH] sauerbraten: add application menu

---
 srcpkgs/sauerbraten/files/sauerbraten.desktop | 10 ++++++++++
 srcpkgs/sauerbraten/template                  |  3 ++-
 2 files changed, 12 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/sauerbraten/files/sauerbraten.desktop

diff --git a/srcpkgs/sauerbraten/files/sauerbraten.desktop b/srcpkgs/sauerbraten/files/sauerbraten.desktop
new file mode 100644
index 000000000000..ef04888dd6ba
--- /dev/null
+++ b/srcpkgs/sauerbraten/files/sauerbraten.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=Application
+Name=Sauerbraten
+Comment=Free multiplayer & singleplayer first person shooter
+Exec=sauerbraten %u
+Icon=sauerbraten
+Terminal=false
+StartupNotify=false
+Categories=Application;Game;ActionGame;
diff --git a/srcpkgs/sauerbraten/template b/srcpkgs/sauerbraten/template
index 5251a99d10b2..08c51c1c174d 100644
--- a/srcpkgs/sauerbraten/template
+++ b/srcpkgs/sauerbraten/template
@@ -1,7 +1,7 @@
 # Template file for 'sauerbraten'
 pkgname=sauerbraten
 version=2020.12.29
-revision=1
+revision=2
 wrksrc=$pkgname
 build_wrksrc=src
 build_style=gnu-makefile
@@ -21,6 +21,7 @@ archs="i686* x86_64*"
 post_install() {
 	vbin $wrksrc/bin_unix/native_client sauer_client
 	vbin ${FILESDIR}/sauerbraten
+	vinstall ${FILESDIR}/sauerbraten.desktop 0644 usr/share/applications
 }
 
 sauerbraten-data_package() {

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

* Re: sauerbraten: add application menu
  2022-03-26  6:27 [PR PATCH] sauerbraten: add application menu hervyqa
@ 2022-03-27 18:12 ` Vaelatern
  2022-03-28 14:18 ` hervyqa
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Vaelatern @ 2022-03-27 18:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 218 bytes --]

New comment by Vaelatern on void-packages repository

https://github.com/void-linux/void-packages/pull/36357#issuecomment-1079987235

Comment:
Isn't there a desktop file we can have as a distfile instead of vendoring?

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

* Re: sauerbraten: add application menu
  2022-03-26  6:27 [PR PATCH] sauerbraten: add application menu hervyqa
  2022-03-27 18:12 ` Vaelatern
@ 2022-03-28 14:18 ` hervyqa
  2022-03-28 23:40 ` Vaelatern
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hervyqa @ 2022-03-28 14:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 435 bytes --]

New comment by hervyqa on void-packages repository

https://github.com/void-linux/void-packages/pull/36357#issuecomment-1080714325

Comment:
Not available. in [arch linux](https://github.com/archlinux/svntogit-community/blob/packages/sauerbraten/trunk/sauerbraten.desktop) and [openmandriva](https://github.com/OpenMandrivaAssociation/sauerbraten/blob/646e875d9e91a7b0502e2c96a82f70192962aa69/sauerbraten.spec#L168) also added manual.

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

* Re: sauerbraten: add application menu
  2022-03-26  6:27 [PR PATCH] sauerbraten: add application menu hervyqa
  2022-03-27 18:12 ` Vaelatern
  2022-03-28 14:18 ` hervyqa
@ 2022-03-28 23:40 ` Vaelatern
  2022-03-28 23:46 ` the-maldridge
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Vaelatern @ 2022-03-28 23:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 246 bytes --]

New comment by Vaelatern on void-packages repository

https://github.com/void-linux/void-packages/pull/36357#issuecomment-1081255924

Comment:
The chaos agent in me wants to download it from another distro.

What do you think, @the-maldridge ?

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

* Re: sauerbraten: add application menu
  2022-03-26  6:27 [PR PATCH] sauerbraten: add application menu hervyqa
                   ` (2 preceding siblings ...)
  2022-03-28 23:40 ` Vaelatern
@ 2022-03-28 23:46 ` the-maldridge
  2022-07-01  2:15 ` github-actions
  2022-07-16  2:13 ` [PR PATCH] [Closed]: " github-actions
  5 siblings, 0 replies; 7+ messages in thread
From: the-maldridge @ 2022-03-28 23:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 288 bytes --]

New comment by the-maldridge on void-packages repository

https://github.com/void-linux/void-packages/pull/36357#issuecomment-1081258659

Comment:
I would prefer not vendor, if we really must have this (and I think that's questionable) I'd prefer to just snag the file from someone else.

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

* Re: sauerbraten: add application menu
  2022-03-26  6:27 [PR PATCH] sauerbraten: add application menu hervyqa
                   ` (3 preceding siblings ...)
  2022-03-28 23:46 ` the-maldridge
@ 2022-07-01  2:15 ` github-actions
  2022-07-16  2:13 ` [PR PATCH] [Closed]: " github-actions
  5 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2022-07-01  2:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/36357#issuecomment-1171851788

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: [PR PATCH] [Closed]: sauerbraten: add application menu
  2022-03-26  6:27 [PR PATCH] sauerbraten: add application menu hervyqa
                   ` (4 preceding siblings ...)
  2022-07-01  2:15 ` github-actions
@ 2022-07-16  2:13 ` github-actions
  5 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2022-07-16  2:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 782 bytes --]

There's a closed pull request on the void-packages repository

sauerbraten: add application menu
https://github.com/void-linux/void-packages/pull/36357

Description:
[Sauerbraten](http://sauerbraten.org/) is a free multiplayer & singleplayer first person shooter, the successor of the [Cube](http://www.cubeengine.com/) FPS.
`sauerbraten` does not provide a desktop menu, so it can only be opened via the cli.

```
➜  ~ xbps-query --regex -Rf sauerbraten
/usr/bin/sauer_client
/usr/bin/sauerbraten
```
#### Testing the changes
- I tested the changes in this PR: **briefly** (testing by adding .desktop manually. not build package)

![Screenshot_20220326_132604](https://user-images.githubusercontent.com/45872139/160227628-63cd0e47-361f-4cd6-a7e8-795038c5ea19.png)



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

end of thread, other threads:[~2022-07-16  2:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-26  6:27 [PR PATCH] sauerbraten: add application menu hervyqa
2022-03-27 18:12 ` Vaelatern
2022-03-28 14:18 ` hervyqa
2022-03-28 23:40 ` Vaelatern
2022-03-28 23:46 ` the-maldridge
2022-07-01  2:15 ` github-actions
2022-07-16  2:13 ` [PR PATCH] [Closed]: " github-actions

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