* [PR PATCH] New package: gamemode-1.6
@ 2022-04-07 21:15 kedodrill
2022-04-07 21:20 ` RicArch97
` (22 more replies)
0 siblings, 23 replies; 26+ messages in thread
From: kedodrill @ 2022-04-07 21:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1149 bytes --]
There is a new pull request by kedodrill against master on the void-packages repository
https://github.com/kedodrill/void-packages gamemode
https://github.com/void-linux/void-packages/pull/36564
New package: gamemode-1.6
<!-- Uncomment relevant sections and delete options which are not applicable -->
Closes #19288, #22291, #19281, #13246
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): Yes
<!-- 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
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- i686
- x86_64-musl
A patch file from https://github.com/void-linux/void-packages/pull/36564.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gamemode-36564.patch --]
[-- Type: text/x-diff, Size: 3529 bytes --]
From 0367d114adefc4b28912401614a393fa7b29874b Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Mon, 25 May 2020 19:49:29 +0200
Subject: [PATCH] New package: gamemode-1.6
---
common/shlibs | 2 ++
srcpkgs/gamemode/patches/001-fix-musl.patch | 10 ++++++
srcpkgs/gamemode/template | 39 +++++++++++++++++++++
srcpkgs/libgamemode | 1 +
srcpkgs/libgamemode-devel | 1 +
5 files changed, 53 insertions(+)
create mode 100644 srcpkgs/gamemode/patches/001-fix-musl.patch
create mode 100644 srcpkgs/gamemode/template
create mode 120000 srcpkgs/libgamemode
create mode 120000 srcpkgs/libgamemode-devel
diff --git a/common/shlibs b/common/shlibs
index 848b488bb2d0..fbb1d7f48a6a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3597,6 +3597,8 @@ libgnuradio-nrsc5-1.0.0git.so.0.0.0 gnuradio-nrsc5-1.0.0_1
libvkd3d-utils.so.1 vkd3d-1.1_1
libvkd3d-shader.so.1 vkd3d-1.3_1
libvkd3d.so.1 vkd3d-1.1_1
+libgamemode.so.0 libgamemode-1.6_1
+libgamemodeauto.so.0 libgamemode-1.6_1
libgaminggear.so.0 libgaminggear-0.15.1_1
libgaminggearfx.so.0 libgaminggear-0.15.1_1
libgaminggearwidget.so.0 libgaminggear-0.15.1_1
diff --git a/srcpkgs/gamemode/patches/001-fix-musl.patch b/srcpkgs/gamemode/patches/001-fix-musl.patch
new file mode 100644
index 000000000000..c54c0bad41fe
--- /dev/null
+++ b/srcpkgs/gamemode/patches/001-fix-musl.patch
@@ -0,0 +1,10 @@
+--- a/daemon/gamemode-context.c
++++ b/daemon/gamemode-context.c
+@@ -50,6 +50,7 @@ POSSIBILITY OF SUCH DAMAGE.
+ #include <sys/time.h>
+ #include <systemd/sd-daemon.h> /* TODO: Move usage to gamemode-dbus.c */
+ #include <unistd.h>
++#include <signal.h>
+
+ /**
+ * The GameModeClient encapsulates the remote connection, providing a list
diff --git a/srcpkgs/gamemode/template b/srcpkgs/gamemode/template
new file mode 100644
index 000000000000..736870541ef5
--- /dev/null
+++ b/srcpkgs/gamemode/template
@@ -0,0 +1,39 @@
+# Template file for 'gamemode'
+pkgname=gamemode
+version=1.6
+revision=1
+build_style=meson
+configure_args="-Dwith-sd-bus-provider=elogind"
+hostmakedepends="pkg-config"
+makedepends="inih-devel dbus-devel elogind-devel"
+depends="lib${pkgname}>=${version}_${revision}"
+short_desc="Optimise Linux system performance on demand"
+maintainer="Kenneth Dodrill <hello@kennydodrill.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/FeralInteractive/gamemode"
+distfiles="https://github.com/FeralInteractive/gamemode/archive/${version}.tar.gz"
+checksum=fda4abbae12639e0f326b2116d19302f83aad6139996c3823882e7f238e9852b
+
+post_install() {
+ vsconf example/gamemode.ini
+ vlicense LICENSE.txt
+ vdoc README.md
+}
+
+libgamemode_package() {
+ short_desc+=" - shared libraries"
+ pkg_install() {
+ # For compatibility reasons, all shlibs should go in libgamemode
+ vmove "usr/lib/*.so*"
+ }
+}
+
+libgamemode-devel_package() {
+ short_desc+=" - development files"
+ depends="lib${sourcepkg}>=${version}_${revision}"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.a"
+ vmove usr/include
+ }
+}
diff --git a/srcpkgs/libgamemode b/srcpkgs/libgamemode
new file mode 120000
index 000000000000..d1810c733eb8
--- /dev/null
+++ b/srcpkgs/libgamemode
@@ -0,0 +1 @@
+gamemode
\ No newline at end of file
diff --git a/srcpkgs/libgamemode-devel b/srcpkgs/libgamemode-devel
new file mode 120000
index 000000000000..d1810c733eb8
--- /dev/null
+++ b/srcpkgs/libgamemode-devel
@@ -0,0 +1 @@
+gamemode
\ No newline at end of file
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: New package: gamemode-1.6
2022-04-07 21:15 [PR PATCH] New package: gamemode-1.6 kedodrill
@ 2022-04-07 21:20 ` RicArch97
2022-04-07 21:28 ` [PR PATCH] [Updated] " kedodrill
` (21 subsequent siblings)
22 siblings, 0 replies; 26+ messages in thread
From: RicArch97 @ 2022-04-07 21:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 209 bytes --]
New comment by RicArch97 on void-packages repository
https://github.com/void-linux/void-packages/pull/36564#issuecomment-1092209736
Comment:
Consider bumping to version 1.6.1, which is the lastest currently
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PR PATCH] [Updated] New package: gamemode-1.6
2022-04-07 21:15 [PR PATCH] New package: gamemode-1.6 kedodrill
2022-04-07 21:20 ` RicArch97
@ 2022-04-07 21:28 ` kedodrill
2022-04-07 21:37 ` [PR REVIEW] New package: gamemode-1.6.1 RicArch97
` (20 subsequent siblings)
22 siblings, 0 replies; 26+ messages in thread
From: kedodrill @ 2022-04-07 21:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1154 bytes --]
There is an updated pull request by kedodrill against master on the void-packages repository
https://github.com/kedodrill/void-packages gamemode
https://github.com/void-linux/void-packages/pull/36564
New package: gamemode-1.6
<!-- Uncomment relevant sections and delete options which are not applicable -->
Closes #19288, #22291, #19281, #13246
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): Yes
<!-- 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
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- i686
- x86_64-musl
A patch file from https://github.com/void-linux/void-packages/pull/36564.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gamemode-36564.patch --]
[-- Type: text/x-diff, Size: 3533 bytes --]
From abab122f5c2f60f33f06797a60f2b3a6c59aa08d Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Mon, 25 May 2020 19:49:29 +0200
Subject: [PATCH] New package: gamemode-1.6.1
---
common/shlibs | 2 ++
srcpkgs/gamemode/patches/001-fix-musl.patch | 10 ++++++
srcpkgs/gamemode/template | 39 +++++++++++++++++++++
srcpkgs/libgamemode | 1 +
srcpkgs/libgamemode-devel | 1 +
5 files changed, 53 insertions(+)
create mode 100644 srcpkgs/gamemode/patches/001-fix-musl.patch
create mode 100644 srcpkgs/gamemode/template
create mode 120000 srcpkgs/libgamemode
create mode 120000 srcpkgs/libgamemode-devel
diff --git a/common/shlibs b/common/shlibs
index 848b488bb2d0..fbb1d7f48a6a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3597,6 +3597,8 @@ libgnuradio-nrsc5-1.0.0git.so.0.0.0 gnuradio-nrsc5-1.0.0_1
libvkd3d-utils.so.1 vkd3d-1.1_1
libvkd3d-shader.so.1 vkd3d-1.3_1
libvkd3d.so.1 vkd3d-1.1_1
+libgamemode.so.0 libgamemode-1.6_1
+libgamemodeauto.so.0 libgamemode-1.6_1
libgaminggear.so.0 libgaminggear-0.15.1_1
libgaminggearfx.so.0 libgaminggear-0.15.1_1
libgaminggearwidget.so.0 libgaminggear-0.15.1_1
diff --git a/srcpkgs/gamemode/patches/001-fix-musl.patch b/srcpkgs/gamemode/patches/001-fix-musl.patch
new file mode 100644
index 000000000000..c54c0bad41fe
--- /dev/null
+++ b/srcpkgs/gamemode/patches/001-fix-musl.patch
@@ -0,0 +1,10 @@
+--- a/daemon/gamemode-context.c
++++ b/daemon/gamemode-context.c
+@@ -50,6 +50,7 @@ POSSIBILITY OF SUCH DAMAGE.
+ #include <sys/time.h>
+ #include <systemd/sd-daemon.h> /* TODO: Move usage to gamemode-dbus.c */
+ #include <unistd.h>
++#include <signal.h>
+
+ /**
+ * The GameModeClient encapsulates the remote connection, providing a list
diff --git a/srcpkgs/gamemode/template b/srcpkgs/gamemode/template
new file mode 100644
index 000000000000..0bf9bea530ec
--- /dev/null
+++ b/srcpkgs/gamemode/template
@@ -0,0 +1,39 @@
+# Template file for 'gamemode'
+pkgname=gamemode
+version=1.6.1
+revision=1
+build_style=meson
+configure_args="-Dwith-sd-bus-provider=elogind"
+hostmakedepends="pkg-config"
+makedepends="inih-devel dbus-devel elogind-devel"
+depends="lib${pkgname}>=${version}_${revision}"
+short_desc="Optimise Linux system performance on demand"
+maintainer="Kenneth Dodrill <hello@kennydodrill.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/FeralInteractive/gamemode"
+distfiles="https://github.com/FeralInteractive/gamemode/archive/${version}.tar.gz"
+checksum=4377b88b5147ebf8d3f9a7a1f94c6d00f1e9624cd171d5af942ce9766be3747f
+
+post_install() {
+ vsconf example/gamemode.ini
+ vlicense LICENSE.txt
+ vdoc README.md
+}
+
+libgamemode_package() {
+ short_desc+=" - shared libraries"
+ pkg_install() {
+ # For compatibility reasons, all shlibs should go in libgamemode
+ vmove "usr/lib/*.so*"
+ }
+}
+
+libgamemode-devel_package() {
+ short_desc+=" - development files"
+ depends="lib${sourcepkg}>=${version}_${revision}"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.a"
+ vmove usr/include
+ }
+}
diff --git a/srcpkgs/libgamemode b/srcpkgs/libgamemode
new file mode 120000
index 000000000000..d1810c733eb8
--- /dev/null
+++ b/srcpkgs/libgamemode
@@ -0,0 +1 @@
+gamemode
\ No newline at end of file
diff --git a/srcpkgs/libgamemode-devel b/srcpkgs/libgamemode-devel
new file mode 120000
index 000000000000..d1810c733eb8
--- /dev/null
+++ b/srcpkgs/libgamemode-devel
@@ -0,0 +1 @@
+gamemode
\ No newline at end of file
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PR REVIEW] New package: gamemode-1.6.1
2022-04-07 21:15 [PR PATCH] New package: gamemode-1.6 kedodrill
2022-04-07 21:20 ` RicArch97
2022-04-07 21:28 ` [PR PATCH] [Updated] " kedodrill
@ 2022-04-07 21:37 ` RicArch97
2022-04-07 22:06 ` kedodrill
` (19 subsequent siblings)
22 siblings, 0 replies; 26+ messages in thread
From: RicArch97 @ 2022-04-07 21:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 288 bytes --]
New review comment by RicArch97 on void-packages repository
https://github.com/void-linux/void-packages/pull/36564#discussion_r845579613
Comment:
```suggestion
libgamemode.so.0 libgamemode-1.6.1_1
libgamemodeauto.so.0 libgamemode-1.6.1_1
```
Perhaps these need to be bumped as well
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PR REVIEW] New package: gamemode-1.6.1
2022-04-07 21:15 [PR PATCH] New package: gamemode-1.6 kedodrill
` (2 preceding siblings ...)
2022-04-07 21:37 ` [PR REVIEW] New package: gamemode-1.6.1 RicArch97
@ 2022-04-07 22:06 ` kedodrill
2022-04-07 22:08 ` [PR PATCH] [Updated] " kedodrill
` (18 subsequent siblings)
22 siblings, 0 replies; 26+ messages in thread
From: kedodrill @ 2022-04-07 22:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 183 bytes --]
New review comment by kedodrill on void-packages repository
https://github.com/void-linux/void-packages/pull/36564#discussion_r845594733
Comment:
oh yep, totally forgot about those
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PR PATCH] [Updated] New package: gamemode-1.6.1
2022-04-07 21:15 [PR PATCH] New package: gamemode-1.6 kedodrill
` (3 preceding siblings ...)
2022-04-07 22:06 ` kedodrill
@ 2022-04-07 22:08 ` kedodrill
2022-04-08 14:59 ` frankfutlg
` (17 subsequent siblings)
22 siblings, 0 replies; 26+ messages in thread
From: kedodrill @ 2022-04-07 22:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1156 bytes --]
There is an updated pull request by kedodrill against master on the void-packages repository
https://github.com/kedodrill/void-packages gamemode
https://github.com/void-linux/void-packages/pull/36564
New package: gamemode-1.6.1
<!-- Uncomment relevant sections and delete options which are not applicable -->
Closes #19288, #22291, #19281, #13246
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): Yes
<!-- 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
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- i686
- x86_64-musl
A patch file from https://github.com/void-linux/void-packages/pull/36564.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gamemode-36564.patch --]
[-- Type: text/x-diff, Size: 3537 bytes --]
From 20ab4341ff4d96a620da037f8e751a9b9ce8a7c0 Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Mon, 25 May 2020 19:49:29 +0200
Subject: [PATCH] New package: gamemode-1.6.1
---
common/shlibs | 2 ++
srcpkgs/gamemode/patches/001-fix-musl.patch | 10 ++++++
srcpkgs/gamemode/template | 39 +++++++++++++++++++++
srcpkgs/libgamemode | 1 +
srcpkgs/libgamemode-devel | 1 +
5 files changed, 53 insertions(+)
create mode 100644 srcpkgs/gamemode/patches/001-fix-musl.patch
create mode 100644 srcpkgs/gamemode/template
create mode 120000 srcpkgs/libgamemode
create mode 120000 srcpkgs/libgamemode-devel
diff --git a/common/shlibs b/common/shlibs
index 848b488bb2d0..673c62085f5b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3597,6 +3597,8 @@ libgnuradio-nrsc5-1.0.0git.so.0.0.0 gnuradio-nrsc5-1.0.0_1
libvkd3d-utils.so.1 vkd3d-1.1_1
libvkd3d-shader.so.1 vkd3d-1.3_1
libvkd3d.so.1 vkd3d-1.1_1
+libgamemode.so.0 libgamemode-1.6.1_1
+libgamemodeauto.so.0 libgamemode-1.6.1_1
libgaminggear.so.0 libgaminggear-0.15.1_1
libgaminggearfx.so.0 libgaminggear-0.15.1_1
libgaminggearwidget.so.0 libgaminggear-0.15.1_1
diff --git a/srcpkgs/gamemode/patches/001-fix-musl.patch b/srcpkgs/gamemode/patches/001-fix-musl.patch
new file mode 100644
index 000000000000..c54c0bad41fe
--- /dev/null
+++ b/srcpkgs/gamemode/patches/001-fix-musl.patch
@@ -0,0 +1,10 @@
+--- a/daemon/gamemode-context.c
++++ b/daemon/gamemode-context.c
+@@ -50,6 +50,7 @@ POSSIBILITY OF SUCH DAMAGE.
+ #include <sys/time.h>
+ #include <systemd/sd-daemon.h> /* TODO: Move usage to gamemode-dbus.c */
+ #include <unistd.h>
++#include <signal.h>
+
+ /**
+ * The GameModeClient encapsulates the remote connection, providing a list
diff --git a/srcpkgs/gamemode/template b/srcpkgs/gamemode/template
new file mode 100644
index 000000000000..0bf9bea530ec
--- /dev/null
+++ b/srcpkgs/gamemode/template
@@ -0,0 +1,39 @@
+# Template file for 'gamemode'
+pkgname=gamemode
+version=1.6.1
+revision=1
+build_style=meson
+configure_args="-Dwith-sd-bus-provider=elogind"
+hostmakedepends="pkg-config"
+makedepends="inih-devel dbus-devel elogind-devel"
+depends="lib${pkgname}>=${version}_${revision}"
+short_desc="Optimise Linux system performance on demand"
+maintainer="Kenneth Dodrill <hello@kennydodrill.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/FeralInteractive/gamemode"
+distfiles="https://github.com/FeralInteractive/gamemode/archive/${version}.tar.gz"
+checksum=4377b88b5147ebf8d3f9a7a1f94c6d00f1e9624cd171d5af942ce9766be3747f
+
+post_install() {
+ vsconf example/gamemode.ini
+ vlicense LICENSE.txt
+ vdoc README.md
+}
+
+libgamemode_package() {
+ short_desc+=" - shared libraries"
+ pkg_install() {
+ # For compatibility reasons, all shlibs should go in libgamemode
+ vmove "usr/lib/*.so*"
+ }
+}
+
+libgamemode-devel_package() {
+ short_desc+=" - development files"
+ depends="lib${sourcepkg}>=${version}_${revision}"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.a"
+ vmove usr/include
+ }
+}
diff --git a/srcpkgs/libgamemode b/srcpkgs/libgamemode
new file mode 120000
index 000000000000..d1810c733eb8
--- /dev/null
+++ b/srcpkgs/libgamemode
@@ -0,0 +1 @@
+gamemode
\ No newline at end of file
diff --git a/srcpkgs/libgamemode-devel b/srcpkgs/libgamemode-devel
new file mode 120000
index 000000000000..d1810c733eb8
--- /dev/null
+++ b/srcpkgs/libgamemode-devel
@@ -0,0 +1 @@
+gamemode
\ No newline at end of file
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: New package: gamemode-1.6.1
2022-04-07 21:15 [PR PATCH] New package: gamemode-1.6 kedodrill
` (4 preceding siblings ...)
2022-04-07 22:08 ` [PR PATCH] [Updated] " kedodrill
@ 2022-04-08 14:59 ` frankfutlg
2022-04-08 15:19 ` RicArch97
` (16 subsequent siblings)
22 siblings, 0 replies; 26+ messages in thread
From: frankfutlg @ 2022-04-08 14:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 184 bytes --]
New comment by frankfutlg on void-packages repository
https://github.com/void-linux/void-packages/pull/36564#issuecomment-1092959536
Comment:
how do i add gamemode to void packages?
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: New package: gamemode-1.6.1
2022-04-07 21:15 [PR PATCH] New package: gamemode-1.6 kedodrill
` (5 preceding siblings ...)
2022-04-08 14:59 ` frankfutlg
@ 2022-04-08 15:19 ` RicArch97
2022-04-08 16:20 ` frankfutlg
` (15 subsequent siblings)
22 siblings, 0 replies; 26+ messages in thread
From: RicArch97 @ 2022-04-08 15:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 409 bytes --]
New comment by RicArch97 on void-packages repository
https://github.com/void-linux/void-packages/pull/36564#issuecomment-1092992487
Comment:
> how do i add gamemode to void packages?
You can do the following to test this PR locally;
In your void-packages folder, run:
```console
$ git fetch origin pull/36564/head:gamemode
$ git checkout gamemode
```
And then `./xbps-src pkg gamemode` to build it
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: New package: gamemode-1.6.1
2022-04-07 21:15 [PR PATCH] New package: gamemode-1.6 kedodrill
` (6 preceding siblings ...)
2022-04-08 15:19 ` RicArch97
@ 2022-04-08 16:20 ` frankfutlg
2022-04-08 18:30 ` kedodrill
` (14 subsequent siblings)
22 siblings, 0 replies; 26+ messages in thread
From: frankfutlg @ 2022-04-08 16:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 491 bytes --]
New comment by frankfutlg on void-packages repository
https://github.com/void-linux/void-packages/pull/36564#issuecomment-1093058680
Comment:
thanks!! it built and installed succesfully (i used xi after building), but, just to confirm, to build it in x86 (in order to use gamemode on lutris and steam i need the x86 version too), i make a new masterdir in x86 with ./xbps-src -m masterdir-x86 binary-bootstrap i686 and then i build it with ./xbps-src -m masterdir-x86 pkg gamemode, right?
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: New package: gamemode-1.6.1
2022-04-07 21:15 [PR PATCH] New package: gamemode-1.6 kedodrill
` (7 preceding siblings ...)
2022-04-08 16:20 ` frankfutlg
@ 2022-04-08 18:30 ` kedodrill
2022-04-08 18:33 ` kedodrill
` (13 subsequent siblings)
22 siblings, 0 replies; 26+ messages in thread
From: kedodrill @ 2022-04-08 18:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 619 bytes --]
New comment by kedodrill on void-packages repository
https://github.com/void-linux/void-packages/pull/36564#issuecomment-1093181377
Comment:
@frankfutlg Are you essentially trying to install what would be the `gamemode-32bit` package? I'm actually not sure on that, because using another masterdir to compile for x86 would result in a 32bit package with a 32bit binary. I believe void packages *-32bit packages as just library files and they don't include binaries, so I don't think that would work. I'm unsure how you would locally build the 32bit version...some clarity on that would be good if anyone can provide.
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: New package: gamemode-1.6.1
2022-04-07 21:15 [PR PATCH] New package: gamemode-1.6 kedodrill
` (8 preceding siblings ...)
2022-04-08 18:30 ` kedodrill
@ 2022-04-08 18:33 ` kedodrill
2022-04-08 19:42 ` RicArch97
` (12 subsequent siblings)
22 siblings, 0 replies; 26+ messages in thread
From: kedodrill @ 2022-04-08 18:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 864 bytes --]
New comment by kedodrill on void-packages repository
https://github.com/void-linux/void-packages/pull/36564#issuecomment-1093181377
Comment:
@frankfutlg Are you essentially trying to install what would be the `gamemode-32bit` package? I'm actually not sure on that, because using another masterdir to compile for x86 would result in a 32bit package with a 32bit binary. I believe void packages *-32bit packages as just library files and they don't include binaries, so I don't think that would work. I'm unsure how you would locally build the 32bit version...some clarity on that would be good if anyone can provide.
Edit: I'm guessing that for lutris / steam you're trying to use it for 32bit games, therefore you would need the `gamemode-32bit` package containing libraries (and not a 32bit binary). Still not sure how you would create that locally though.
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: New package: gamemode-1.6.1
2022-04-07 21:15 [PR PATCH] New package: gamemode-1.6 kedodrill
` (9 preceding siblings ...)
2022-04-08 18:33 ` kedodrill
@ 2022-04-08 19:42 ` RicArch97
2022-04-09 10:15 ` [PR PATCH] [Merged]: " paper42
` (11 subsequent siblings)
22 siblings, 0 replies; 26+ messages in thread
From: RicArch97 @ 2022-04-08 19:42 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 529 bytes --]
New comment by RicArch97 on void-packages repository
https://github.com/void-linux/void-packages/pull/36564#issuecomment-1093295016
Comment:
> i make a new masterdir in x86 with ./xbps-src -m masterdir-x86 binary-bootstrap i686 and then i build it with ./xbps-src -m masterdir-x86 pkg gamemode, right?
This is correct. You'd basically install `gamemode`, `libgamemode` and optionally `libgamemode-devel` for 64 bit, and for 32 bit you can install `libgamemode-32bit` and optionally `libgamemode-devel-32bit` after building.
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PR PATCH] [Merged]: New package: gamemode-1.6.1
2022-04-07 21:15 [PR PATCH] New package: gamemode-1.6 kedodrill
` (10 preceding siblings ...)
2022-04-08 19:42 ` RicArch97
@ 2022-04-09 10:15 ` paper42
2022-04-10 1:46 ` frankfutlg
` (10 subsequent siblings)
22 siblings, 0 replies; 26+ messages in thread
From: paper42 @ 2022-04-09 10:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 995 bytes --]
There's a merged pull request on the void-packages repository
New package: gamemode-1.6.1
https://github.com/void-linux/void-packages/pull/36564
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
Closes #19288, #22291, #19281, #13246
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): Yes
<!-- 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
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- i686
- x86_64-musl
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: New package: gamemode-1.6.1
2022-04-07 21:15 [PR PATCH] New package: gamemode-1.6 kedodrill
` (11 preceding siblings ...)
2022-04-09 10:15 ` [PR PATCH] [Merged]: " paper42
@ 2022-04-10 1:46 ` frankfutlg
2022-04-10 1:46 ` frankfutlg
` (9 subsequent siblings)
22 siblings, 0 replies; 26+ messages in thread
From: frankfutlg @ 2022-04-10 1:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 619 bytes --]
New comment by frankfutlg on void-packages repository
https://github.com/void-linux/void-packages/pull/36564#issuecomment-1094156597
Comment:
well, i have a problem, after installing it i have not tested it to see if it works, and i tried doing gamemoded-t and if i am remembering correctly it gave a reaper thread error, and after it finished, a process called dbus-launch spammed non-stop, and it ended up overloading my ram, i had to force-shutdown and then boot again.
i also tried to play steam games with it, and when i launched it, i waited some seconds and it closed.
is there a fix for those problems?
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: New package: gamemode-1.6.1
2022-04-07 21:15 [PR PATCH] New package: gamemode-1.6 kedodrill
` (12 preceding siblings ...)
2022-04-10 1:46 ` frankfutlg
@ 2022-04-10 1:46 ` frankfutlg
2022-04-10 2:41 ` RicArch97
` (8 subsequent siblings)
22 siblings, 0 replies; 26+ messages in thread
From: frankfutlg @ 2022-04-10 1:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 677 bytes --]
New comment by frankfutlg on void-packages repository
https://github.com/void-linux/void-packages/pull/36564#issuecomment-1094156597
Comment:
well, i have a problem, after installing it i have not tested it to see if it works, and i tried doing gamemoded-t and if i am remembering correctly it gave a reaper thread error, and after it finished, a process called dbus-launch spammed non-stop, and it ended up overloading my ram, i had to force-shutdown and then boot again.
i also tried to play steam games with it, and when i launched it, i waited some seconds and it closed.
is there a fix for those problems? and sorry for the bad english, its not my first language.
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: New package: gamemode-1.6.1
2022-04-07 21:15 [PR PATCH] New package: gamemode-1.6 kedodrill
` (13 preceding siblings ...)
2022-04-10 1:46 ` frankfutlg
@ 2022-04-10 2:41 ` RicArch97
2022-04-10 3:31 ` frankfutlg
` (7 subsequent siblings)
22 siblings, 0 replies; 26+ messages in thread
From: RicArch97 @ 2022-04-10 2:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1620 bytes --]
New comment by RicArch97 on void-packages repository
https://github.com/void-linux/void-packages/pull/36564#issuecomment-1094163087
Comment:
> well, i have a problem, after installing it i have not tested it to see if it works, and i tried doing gamemoded-t and if i am remembering correctly it gave a reaper thread error, and after it finished, a process called dbus-launch spammed non-stop, and it ended up overloading my ram, i had to force-shutdown and then boot again.
>
> i also tried to play steam games with it, and when i launched it, i waited some seconds and it closed.
>
> is there a fix for those problems? and sorry for the bad english, its not my first language.
I cannot reproduce this (using default config), so likely not an issue with the package. Also works fine for me on Steam and Lutris.
```console
$ gamemoded -t
: Loading config
Loading config file [/usr/share/gamemode/gamemode.ini]
: Running tests
:: Basic client tests
:: Passed
:: Dual client tests
gamemode request succeeded and is active
Quitting by request...
:: Passed
:: Gamemoderun and reaper thread tests
...Waiting for child to quit...
...Waiting for reaper thread (reaper_frequency set to 5 seconds)...
:: Passed
:: Supervisor tests
:: Passed
:: Feature tests
::: Verifying CPU governor setting
::: Passed
::: Verifying Scripts
::: Passed (no scripts configured to run)
::: Verifying GPU Optimisations
::: Passed (gpu optimisations not configured to run)
::: Verifying renice
::: Passed (no renice configured)
::: Verifying ioprio
::: Passed
:: Passed
: All Tests Passed!
```
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: New package: gamemode-1.6.1
2022-04-07 21:15 [PR PATCH] New package: gamemode-1.6 kedodrill
` (14 preceding siblings ...)
2022-04-10 2:41 ` RicArch97
@ 2022-04-10 3:31 ` frankfutlg
2022-04-10 3:32 ` frankfutlg
` (6 subsequent siblings)
22 siblings, 0 replies; 26+ messages in thread
From: frankfutlg @ 2022-04-10 3:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 292 bytes --]
New comment by frankfutlg on void-packages repository
https://github.com/void-linux/void-packages/pull/36564#issuecomment-1094167789
Comment:
tbh, i really dont know why i have this issue, one time i used gentoo, and gamemode was available to install with elogind, and i had the same issue
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: New package: gamemode-1.6.1
2022-04-07 21:15 [PR PATCH] New package: gamemode-1.6 kedodrill
` (15 preceding siblings ...)
2022-04-10 3:31 ` frankfutlg
@ 2022-04-10 3:32 ` frankfutlg
2022-04-10 5:53 ` MCPEngu
` (5 subsequent siblings)
22 siblings, 0 replies; 26+ messages in thread
From: frankfutlg @ 2022-04-10 3:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 869 bytes --]
New comment by frankfutlg on void-packages repository
https://github.com/void-linux/void-packages/pull/36564#issuecomment-1094167789
Comment:
tbh, i really dont know why i have this issue, one time i used gentoo, and gamemode was available to install with elogind, and i had the same issue
this is my output when doing gamemoded -t:
: Loading config
Loading config file [/usr/share/gamemode/gamemode.ini]
: Running tests
:: Basic client tests
:: Passed
:: Dual client tests
gamemode request succeeded and is active
Quitting by request...
:: Passed
:: Gamemoderun and reaper thread tests
ERROR: gamemode_query_status failed to return other client connected (expected 1)!
...Waiting for child to quit...
...Waiting for reaper thread (reaper_frequency set to 5 seconds)...
i killed with ctrl+c because if i didnt it would memory leak, as i said
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: New package: gamemode-1.6.1
2022-04-07 21:15 [PR PATCH] New package: gamemode-1.6 kedodrill
` (16 preceding siblings ...)
2022-04-10 3:32 ` frankfutlg
@ 2022-04-10 5:53 ` MCPEngu
2022-04-10 10:07 ` MCPEngu
` (4 subsequent siblings)
22 siblings, 0 replies; 26+ messages in thread
From: MCPEngu @ 2022-04-10 5:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 236 bytes --]
New comment by MCPEngu on void-packages repository
https://github.com/void-linux/void-packages/pull/36564#issuecomment-1094186521
Comment:
Well even on default config, I still have dbus-launch process spammed when launching gamemode.
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: New package: gamemode-1.6.1
2022-04-07 21:15 [PR PATCH] New package: gamemode-1.6 kedodrill
` (17 preceding siblings ...)
2022-04-10 5:53 ` MCPEngu
@ 2022-04-10 10:07 ` MCPEngu
2022-04-10 10:08 ` MCPEngu
` (3 subsequent siblings)
22 siblings, 0 replies; 26+ messages in thread
From: MCPEngu @ 2022-04-10 10:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 251 bytes --]
New comment by MCPEngu on void-packages repository
https://github.com/void-linux/void-packages/pull/36564#issuecomment-1094236454
Comment:
nevermind, adding `dbus-launch --exit-with-session` on `/usr/share/xsessions` desktop exec file worked for me
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: New package: gamemode-1.6.1
2022-04-07 21:15 [PR PATCH] New package: gamemode-1.6 kedodrill
` (18 preceding siblings ...)
2022-04-10 10:07 ` MCPEngu
@ 2022-04-10 10:08 ` MCPEngu
2022-04-11 1:14 ` frankfutlg
` (2 subsequent siblings)
22 siblings, 0 replies; 26+ messages in thread
From: MCPEngu @ 2022-04-10 10:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 251 bytes --]
New comment by MCPEngu on void-packages repository
https://github.com/void-linux/void-packages/pull/36564#issuecomment-1094236454
Comment:
nevermind, adding `dbus-launch --exit-with-session` in `/usr/share/xsessions` desktop exec file worked for me
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: New package: gamemode-1.6.1
2022-04-07 21:15 [PR PATCH] New package: gamemode-1.6 kedodrill
` (19 preceding siblings ...)
2022-04-10 10:08 ` MCPEngu
@ 2022-04-11 1:14 ` frankfutlg
2022-04-11 1:19 ` frankfutlg
2022-04-11 8:59 ` MCPEngu
22 siblings, 0 replies; 26+ messages in thread
From: frankfutlg @ 2022-04-11 1:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 454 bytes --]
New comment by frankfutlg on void-packages repository
https://github.com/void-linux/void-packages/pull/36564#issuecomment-1094442950
Comment:
> nevermind, adding `dbus-launch --exit-with-session` in `/usr/share/xsessions` desktop exec file worked for me
well, i tried doing that (adding it on my .xinitrc since i dont use display managers), and it didn't work.
it still spams dbus-launch after gamemoded -t finishes and gamemode still doesn't work
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: New package: gamemode-1.6.1
2022-04-07 21:15 [PR PATCH] New package: gamemode-1.6 kedodrill
` (20 preceding siblings ...)
2022-04-11 1:14 ` frankfutlg
@ 2022-04-11 1:19 ` frankfutlg
2022-04-11 8:59 ` MCPEngu
22 siblings, 0 replies; 26+ messages in thread
From: frankfutlg @ 2022-04-11 1:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1213 bytes --]
New comment by frankfutlg on void-packages repository
https://github.com/void-linux/void-packages/pull/36564#issuecomment-1094445990
Comment:
no! nevermind.. what i needed to do was just executing gamemode with that parameter. now it works!
$ dbus-launch --exit-with-session gamemoded -t
: Loading config
Loading config file [/usr/share/gamemode/gamemode.ini]
: Running tests
:: Basic client tests
:: Passed
:: Dual client tests
gamemode request succeeded and is active
Quitting by request...
:: Passed
:: Gamemoderun and reaper thread tests
...Waiting for child to quit...
...Waiting for reaper thread (reaper_frequency set to 5 seconds)...
:: Passed
:: Supervisor tests
:: Passed
:: Feature tests
::: Verifying CPU governor setting
::: Passed
::: Verifying Scripts
::: Passed (no scripts configured to run)
::: Verifying GPU Optimisations
::: Passed (gpu optimisations not configured to run)
::: Verifying renice
::: Passed (no renice configured)
::: Verifying ioprio
::: Passed
:: Passed
: All Tests Passed
@MCPEngu thanks mate!!!
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: New package: gamemode-1.6.1
2022-04-07 21:15 [PR PATCH] New package: gamemode-1.6 kedodrill
` (21 preceding siblings ...)
2022-04-11 1:19 ` frankfutlg
@ 2022-04-11 8:59 ` MCPEngu
22 siblings, 0 replies; 26+ messages in thread
From: MCPEngu @ 2022-04-11 8:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1108 bytes --]
New comment by MCPEngu on void-packages repository
https://github.com/void-linux/void-packages/pull/36564#issuecomment-1094754733
Comment:
> no! nevermind.. what i needed to do was just executing gamemode with that parameter. now it works!
>
> $ dbus-launch --exit-with-session gamemoded -t : Loading config Loading config file [/usr/share/gamemode/gamemode.ini] : Running tests
>
> :: Basic client tests :: Passed
>
> :: Dual client tests gamemode request succeeded and is active Quitting by request... :: Passed
>
> :: Gamemoderun and reaper thread tests ...Waiting for child to quit... ...Waiting for reaper thread (reaper_frequency set to 5 seconds)... :: Passed
>
> :: Supervisor tests :: Passed
>
> :: Feature tests ::: Verifying CPU governor setting ::: Passed ::: Verifying Scripts ::: Passed (no scripts configured to run) ::: Verifying GPU Optimisations ::: Passed (gpu optimisations not configured to run) ::: Verifying renice ::: Passed (no renice configured) ::: Verifying ioprio ::: Passed :: Passed
>
> : All Tests Passed
>
> @MCPEngu thanks mate!!!
No problem :D
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PR PATCH] [Updated] New package: gamemode-1.6
2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
2020-09-13 18:49 ` [PR PATCH] [Updated] New package: gamemode-1.6 toluschr
@ 2020-09-14 11:10 ` toluschr
1 sibling, 0 replies; 26+ messages in thread
From: toluschr @ 2020-09-14 11:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 495 bytes --]
There is an updated pull request by toluschr against master on the void-packages repository
https://github.com/toluschr/void-packages new-gamemode
https://github.com/void-linux/void-packages/pull/22291
New package: gamemode-1.6
I'm reopening this, since I'm still interesting in having this package in the VoidLinux repos and the last three times a PR was opened for this, it didn't get merged. #19281
A patch file from https://github.com/void-linux/void-packages/pull/22291.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-gamemode-22291.patch --]
[-- Type: text/x-diff, Size: 4187 bytes --]
From 7ac272363f8dc7096340b9279103f01f7dd539c5 Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Mon, 25 May 2020 19:49:29 +0200
Subject: [PATCH 1/2] New package: gamemode-1.6
---
common/shlibs | 2 ++
srcpkgs/gamemode/patches/001-fix-musl.patch | 10 ++++++
srcpkgs/gamemode/template | 39 +++++++++++++++++++++
srcpkgs/libgamemode | 1 +
srcpkgs/libgamemode-devel | 1 +
5 files changed, 53 insertions(+)
create mode 100644 srcpkgs/gamemode/patches/001-fix-musl.patch
create mode 100644 srcpkgs/gamemode/template
create mode 120000 srcpkgs/libgamemode
create mode 120000 srcpkgs/libgamemode-devel
diff --git a/common/shlibs b/common/shlibs
index ec8310df7b3..4cb1a55aff6 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3643,6 +3643,8 @@ libgnuradio-rds.so.1 gnuradio-rds-3.8.0_1
libgnuradio-nrsc5-1.0.0git.so.0.0.0 gnuradio-nrsc5-1.0.0_1
libvkd3d-utils.so.1 vkd3d-1.1_1
libvkd3d.so.1 vkd3d-1.1_1
+libgamemode.so.0 libgamemode-1.6_1
+libgamemodeauto.so.0 libgamemode-1.6_1
libgaminggear.so.0 libgaminggear-0.15.1_1
libgaminggearfx.so.0 libgaminggear-0.15.1_1
libgaminggearwidget.so.0 libgaminggear-0.15.1_1
diff --git a/srcpkgs/gamemode/patches/001-fix-musl.patch b/srcpkgs/gamemode/patches/001-fix-musl.patch
new file mode 100644
index 00000000000..eb1fafb11a6
--- /dev/null
+++ b/srcpkgs/gamemode/patches/001-fix-musl.patch
@@ -0,0 +1,10 @@
+--- daemon/gamemode-context.c
++++ daemon/gamemode-context.c
+@@ -50,6 +50,7 @@ POSSIBILITY OF SUCH DAMAGE.
+ #include <sys/time.h>
+ #include <systemd/sd-daemon.h> /* TODO: Move usage to gamemode-dbus.c */
+ #include <unistd.h>
++#include <signal.h>
+
+ /**
+ * The GameModeClient encapsulates the remote connection, providing a list
diff --git a/srcpkgs/gamemode/template b/srcpkgs/gamemode/template
new file mode 100644
index 00000000000..858b67d5c4d
--- /dev/null
+++ b/srcpkgs/gamemode/template
@@ -0,0 +1,39 @@
+# Template file for 'gamemode'
+pkgname=gamemode
+version=1.6
+revision=1
+build_style=meson
+configure_args="-Dwith-sd-bus-provider=elogind"
+hostmakedepends="pkg-config"
+makedepends="inih-devel dbus-devel elogind-devel"
+depends="lib${pkgname}>=${version}_${revision}"
+short_desc="Optimise Linux system performance on demand"
+maintainer="toluschr <toluschr@protonmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/FeralInteractive/gamemode"
+distfiles="https://github.com/FeralInteractive/gamemode/archive/${version}.tar.gz"
+checksum=2d4e733c834f14d076a5062d1ecb5e32f5178014e0634c1a8e3abab21fa9a496
+
+post_install() {
+ vsconf example/gamemode.ini
+ vlicense LICENSE.txt
+ vdoc README.md
+}
+
+libgamemode_package() {
+ short_desc+=" - shared libraries"
+ pkg_install() {
+ # For compatibility reasons, all shlibs should go in libgamemode
+ vmove "usr/lib/*.so*"
+ }
+}
+
+libgamemode-devel_package() {
+ short_desc+=" - development files"
+ depends="lib${sourcepkg}>=${version}_${revision}"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.a"
+ vmove usr/include
+ }
+}
diff --git a/srcpkgs/libgamemode b/srcpkgs/libgamemode
new file mode 120000
index 00000000000..d1810c733eb
--- /dev/null
+++ b/srcpkgs/libgamemode
@@ -0,0 +1 @@
+gamemode
\ No newline at end of file
diff --git a/srcpkgs/libgamemode-devel b/srcpkgs/libgamemode-devel
new file mode 120000
index 00000000000..d1810c733eb
--- /dev/null
+++ b/srcpkgs/libgamemode-devel
@@ -0,0 +1 @@
+gamemode
\ No newline at end of file
From 2fbe445e4197261ec63752c4a36169a7d8d25a6e Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Sun, 13 Sep 2020 19:42:19 +0200
Subject: [PATCH 2/2] inih: add missing shlibs
---
common/shlibs | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/shlibs b/common/shlibs
index 4cb1a55aff6..5f08afc2351 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2385,6 +2385,7 @@ libCEGUISILLYImageCodec.so cegui-0.8.7_1
libct.so.4 freetds-0.95.19_1
libsybdb.so.5 freetds-0.95.19_1
libqqwing.so.2 qqwing-1.3.4_1
+libinih.so.0 inih-51_1
libiniparser.so.1 iniparser-4.1_1
libzita-resampler.so.1 zita-resampler-1.3.0_1
libmlt.so.6 mlt-6.4.1_1
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PR PATCH] [Updated] New package: gamemode-1.6
2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
@ 2020-09-13 18:49 ` toluschr
2020-09-14 11:10 ` toluschr
1 sibling, 0 replies; 26+ messages in thread
From: toluschr @ 2020-09-13 18:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 495 bytes --]
There is an updated pull request by toluschr against master on the void-packages repository
https://github.com/toluschr/void-packages new-gamemode
https://github.com/void-linux/void-packages/pull/22291
New package: gamemode-1.6
I'm reopening this, since I'm still interesting in having this package in the VoidLinux repos and the last three times a PR was opened for this, it didn't get merged. #19281
A patch file from https://github.com/void-linux/void-packages/pull/22291.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-gamemode-22291.patch --]
[-- Type: text/x-diff, Size: 4191 bytes --]
From 6b2f588d9c864c86065704a2b7faccdb0ae922d9 Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Mon, 25 May 2020 19:49:29 +0200
Subject: [PATCH 1/2] New package: gamemode-1.6
---
common/shlibs | 2 ++
srcpkgs/gamemode/patches/001-fix-musl.patch | 10 ++++++
srcpkgs/gamemode/template | 39 +++++++++++++++++++++
srcpkgs/libgamemode | 1 +
srcpkgs/libgamemode-devel | 1 +
5 files changed, 53 insertions(+)
create mode 100644 srcpkgs/gamemode/patches/001-fix-musl.patch
create mode 100644 srcpkgs/gamemode/template
create mode 120000 srcpkgs/libgamemode
create mode 120000 srcpkgs/libgamemode-devel
diff --git a/common/shlibs b/common/shlibs
index ec8310df7b3..b20bf6ce03c 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3643,6 +3643,8 @@ libgnuradio-rds.so.1 gnuradio-rds-3.8.0_1
libgnuradio-nrsc5-1.0.0git.so.0.0.0 gnuradio-nrsc5-1.0.0_1
libvkd3d-utils.so.1 vkd3d-1.1_1
libvkd3d.so.1 vkd3d-1.1_1
+libgamemode.so.0 libgamemode-1.5.1_1
+libgamemodeauto.so.0 libgamemode-1.5.1_1
libgaminggear.so.0 libgaminggear-0.15.1_1
libgaminggearfx.so.0 libgaminggear-0.15.1_1
libgaminggearwidget.so.0 libgaminggear-0.15.1_1
diff --git a/srcpkgs/gamemode/patches/001-fix-musl.patch b/srcpkgs/gamemode/patches/001-fix-musl.patch
new file mode 100644
index 00000000000..eb1fafb11a6
--- /dev/null
+++ b/srcpkgs/gamemode/patches/001-fix-musl.patch
@@ -0,0 +1,10 @@
+--- daemon/gamemode-context.c
++++ daemon/gamemode-context.c
+@@ -50,6 +50,7 @@ POSSIBILITY OF SUCH DAMAGE.
+ #include <sys/time.h>
+ #include <systemd/sd-daemon.h> /* TODO: Move usage to gamemode-dbus.c */
+ #include <unistd.h>
++#include <signal.h>
+
+ /**
+ * The GameModeClient encapsulates the remote connection, providing a list
diff --git a/srcpkgs/gamemode/template b/srcpkgs/gamemode/template
new file mode 100644
index 00000000000..858b67d5c4d
--- /dev/null
+++ b/srcpkgs/gamemode/template
@@ -0,0 +1,39 @@
+# Template file for 'gamemode'
+pkgname=gamemode
+version=1.6
+revision=1
+build_style=meson
+configure_args="-Dwith-sd-bus-provider=elogind"
+hostmakedepends="pkg-config"
+makedepends="inih-devel dbus-devel elogind-devel"
+depends="lib${pkgname}>=${version}_${revision}"
+short_desc="Optimise Linux system performance on demand"
+maintainer="toluschr <toluschr@protonmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/FeralInteractive/gamemode"
+distfiles="https://github.com/FeralInteractive/gamemode/archive/${version}.tar.gz"
+checksum=2d4e733c834f14d076a5062d1ecb5e32f5178014e0634c1a8e3abab21fa9a496
+
+post_install() {
+ vsconf example/gamemode.ini
+ vlicense LICENSE.txt
+ vdoc README.md
+}
+
+libgamemode_package() {
+ short_desc+=" - shared libraries"
+ pkg_install() {
+ # For compatibility reasons, all shlibs should go in libgamemode
+ vmove "usr/lib/*.so*"
+ }
+}
+
+libgamemode-devel_package() {
+ short_desc+=" - development files"
+ depends="lib${sourcepkg}>=${version}_${revision}"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.a"
+ vmove usr/include
+ }
+}
diff --git a/srcpkgs/libgamemode b/srcpkgs/libgamemode
new file mode 120000
index 00000000000..d1810c733eb
--- /dev/null
+++ b/srcpkgs/libgamemode
@@ -0,0 +1 @@
+gamemode
\ No newline at end of file
diff --git a/srcpkgs/libgamemode-devel b/srcpkgs/libgamemode-devel
new file mode 120000
index 00000000000..d1810c733eb
--- /dev/null
+++ b/srcpkgs/libgamemode-devel
@@ -0,0 +1 @@
+gamemode
\ No newline at end of file
From 33a0935ccaf803c5a7aa452ca3e3bdc521517c04 Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Sun, 13 Sep 2020 19:42:19 +0200
Subject: [PATCH 2/2] inih: add missing shlibs
---
common/shlibs | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/shlibs b/common/shlibs
index b20bf6ce03c..924ba6aaeeb 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2385,6 +2385,7 @@ libCEGUISILLYImageCodec.so cegui-0.8.7_1
libct.so.4 freetds-0.95.19_1
libsybdb.so.5 freetds-0.95.19_1
libqqwing.so.2 qqwing-1.3.4_1
+libinih.so.0 inih-51_1
libiniparser.so.1 iniparser-4.1_1
libzita-resampler.so.1 zita-resampler-1.3.0_1
libmlt.so.6 mlt-6.4.1_1
^ permalink raw reply [flat|nested] 26+ messages in thread
end of thread, other threads:[~2022-04-11 9:00 UTC | newest]
Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-07 21:15 [PR PATCH] New package: gamemode-1.6 kedodrill
2022-04-07 21:20 ` RicArch97
2022-04-07 21:28 ` [PR PATCH] [Updated] " kedodrill
2022-04-07 21:37 ` [PR REVIEW] New package: gamemode-1.6.1 RicArch97
2022-04-07 22:06 ` kedodrill
2022-04-07 22:08 ` [PR PATCH] [Updated] " kedodrill
2022-04-08 14:59 ` frankfutlg
2022-04-08 15:19 ` RicArch97
2022-04-08 16:20 ` frankfutlg
2022-04-08 18:30 ` kedodrill
2022-04-08 18:33 ` kedodrill
2022-04-08 19:42 ` RicArch97
2022-04-09 10:15 ` [PR PATCH] [Merged]: " paper42
2022-04-10 1:46 ` frankfutlg
2022-04-10 1:46 ` frankfutlg
2022-04-10 2:41 ` RicArch97
2022-04-10 3:31 ` frankfutlg
2022-04-10 3:32 ` frankfutlg
2022-04-10 5:53 ` MCPEngu
2022-04-10 10:07 ` MCPEngu
2022-04-10 10:08 ` MCPEngu
2022-04-11 1:14 ` frankfutlg
2022-04-11 1:19 ` frankfutlg
2022-04-11 8:59 ` MCPEngu
-- strict thread matches above, loose matches on Subject: below --
2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
2020-09-13 18:49 ` [PR PATCH] [Updated] New package: gamemode-1.6 toluschr
2020-09-14 11:10 ` toluschr
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).