Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: gamemode-1.5.1
@ 2020-05-25 17:59 toluschr
  2020-05-25 18:10 ` [PR PATCH] [Updated] " toluschr
                   ` (48 more replies)
  0 siblings, 49 replies; 50+ messages in thread
From: toluschr @ 2020-05-25 17:59 UTC (permalink / raw)
  To: ml

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

There is a new 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.5.1
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: 4740 bytes --]

From be329a99065bb6596a0cfde4f7b22b01bbe358ff 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.5.1

---
 common/shlibs             |  2 ++
 srcpkgs/gamemode/template | 36 ++++++++++++++++++++++++++++++++++++
 srcpkgs/libgamemode       |  1 +
 srcpkgs/libgamemode-devel |  1 +
 4 files changed, 40 insertions(+)
 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 f18df7266ff..72038cb4c7c 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -494,6 +494,8 @@ libxenvchan.so.4.10 xen-libs-4.10.0_1
 libfsimage.so.1.0 xen-libs-4.10.0_1
 libxenstat.so.0 xen-libs-4.10.0_1
 libfam.so.0 gamin-0.1.10_1
+libgamemode.so.0 libgamemode-1.5.1_1
+libgamemodeauto.so.0 libgamemode-1.5.1_1
 libgamin-1.so.0 gamin-0.1.10_1
 libKF5SyntaxHighlighting.so.5 syntax-highlighting-5.29.0_1
 libKF5Libkleo.so.5 libkleo-17.12.3_1
diff --git a/srcpkgs/gamemode/template b/srcpkgs/gamemode/template
new file mode 100644
index 00000000000..a8415a1214e
--- /dev/null
+++ b/srcpkgs/gamemode/template
@@ -0,0 +1,36 @@
+# Template file for 'gamemode'
+pkgname=gamemode
+version=1.5.1
+revision=1
+build_style=meson
+configure_args="-Dwith-examples=false -Dwith-systemd=false -Dwith-dbus-service-dir=/usr/share/dbus-1/services --prefix=/usr --buildtype debugoptimized"
+hostmakedepends="git cmake meson ninja pkg-config"
+makedepends="inih-devel dbus-devel elogind-devel"
+depends="lib${pkgname}>=${version}_${revision} polkit"
+short_desc="Optimise Linux system performance on demand"
+maintainer="Hyper-KVM <hyperkvmx86@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/FeralInteractive/gamemode"
+distfiles="https://github.com/FeralInteractive/gamemode/archive/${version}.tar.gz"
+checksum=c510fd1391263c6fa05570de840865b1f0c8d573a7acbf488027327ae5a3bbde
+
+libgamemode_package() {
+	short_desc+=" - shared libraries"
+	pkg_install() {
+		vmove "usr/lib/*.so*"
+	}
+}
+
+libgamemode-devel_package() {
+	short_desc+=" - development files"
+	depends="lib${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/lib/pkgconfig
+		vmove usr/include
+	}
+}
+
+post_install() {
+	vsconf example/gamemode.ini
+	vlicense LICENSE.txt
+}
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 a0a05f460cc3d6ee01794cfef301bfe6771a46a9 Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Mon, 25 May 2020 19:49:49 +0200
Subject: [PATCH 2/2] New package: inih-r49

---
 common/shlibs         |  1 +
 srcpkgs/inih-devel    |  1 +
 srcpkgs/inih/template | 28 ++++++++++++++++++++++++++++
 3 files changed, 30 insertions(+)
 create mode 120000 srcpkgs/inih-devel
 create mode 100644 srcpkgs/inih/template

diff --git a/common/shlibs b/common/shlibs
index 72038cb4c7c..804a0d967a0 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2325,6 +2325,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-r49_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
diff --git a/srcpkgs/inih-devel b/srcpkgs/inih-devel
new file mode 120000
index 00000000000..e7c667bc405
--- /dev/null
+++ b/srcpkgs/inih-devel
@@ -0,0 +1 @@
+inih
\ No newline at end of file
diff --git a/srcpkgs/inih/template b/srcpkgs/inih/template
new file mode 100644
index 00000000000..a6e003b8289
--- /dev/null
+++ b/srcpkgs/inih/template
@@ -0,0 +1,28 @@
+# Template file for 'inih'
+pkgname=inih
+version=r49
+revision=1
+build_style=meson
+configure_args="-Ddistro_install=true -Ddefault_library=both"
+hostmakedepends="ninja"
+short_desc="Simple .INI file parser written in C"
+maintainer="Hyper-KVM <hyperkvmx86@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/benhoyt/inih"
+distfiles="https://github.com/benhoyt/inih/archive/${version}.tar.gz"
+checksum=197133c37a5fce2a3ac13008883b13f3a6f349881b66024c38ee9abf45e20d0c
+
+inih-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "/usr/lib/*.so"
+		vmove usr/lib/pkgconfig
+	}
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}

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

* Re: [PR PATCH] [Updated] New package: gamemode-1.5.1
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
@ 2020-05-25 18:10 ` toluschr
  2020-05-25 18:10 ` toluschr
                   ` (47 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: toluschr @ 2020-05-25 18:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 497 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.5.1
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: 5492 bytes --]

From 1dd77645d7657314cf2617512e9c9b62c398c4ec 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.5.1

---
 common/shlibs                               |  2 ++
 srcpkgs/gamemode/patches/001-fix-musl.patch | 10 ++++++
 srcpkgs/gamemode/template                   | 36 +++++++++++++++++++++
 srcpkgs/libgamemode                         |  1 +
 srcpkgs/libgamemode-devel                   |  1 +
 5 files changed, 50 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 f18df7266ff..72038cb4c7c 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -494,6 +494,8 @@ libxenvchan.so.4.10 xen-libs-4.10.0_1
 libfsimage.so.1.0 xen-libs-4.10.0_1
 libxenstat.so.0 xen-libs-4.10.0_1
 libfam.so.0 gamin-0.1.10_1
+libgamemode.so.0 libgamemode-1.5.1_1
+libgamemodeauto.so.0 libgamemode-1.5.1_1
 libgamin-1.so.0 gamin-0.1.10_1
 libKF5SyntaxHighlighting.so.5 syntax-highlighting-5.29.0_1
 libKF5Libkleo.so.5 libkleo-17.12.3_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..a8415a1214e
--- /dev/null
+++ b/srcpkgs/gamemode/template
@@ -0,0 +1,36 @@
+# Template file for 'gamemode'
+pkgname=gamemode
+version=1.5.1
+revision=1
+build_style=meson
+configure_args="-Dwith-examples=false -Dwith-systemd=false -Dwith-dbus-service-dir=/usr/share/dbus-1/services --prefix=/usr --buildtype debugoptimized"
+hostmakedepends="git cmake meson ninja pkg-config"
+makedepends="inih-devel dbus-devel elogind-devel"
+depends="lib${pkgname}>=${version}_${revision} polkit"
+short_desc="Optimise Linux system performance on demand"
+maintainer="Hyper-KVM <hyperkvmx86@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/FeralInteractive/gamemode"
+distfiles="https://github.com/FeralInteractive/gamemode/archive/${version}.tar.gz"
+checksum=c510fd1391263c6fa05570de840865b1f0c8d573a7acbf488027327ae5a3bbde
+
+libgamemode_package() {
+	short_desc+=" - shared libraries"
+	pkg_install() {
+		vmove "usr/lib/*.so*"
+	}
+}
+
+libgamemode-devel_package() {
+	short_desc+=" - development files"
+	depends="lib${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/lib/pkgconfig
+		vmove usr/include
+	}
+}
+
+post_install() {
+	vsconf example/gamemode.ini
+	vlicense LICENSE.txt
+}
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 6491ceae5e90514482d6e11fcfe5940feef58d59 Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Mon, 25 May 2020 19:49:49 +0200
Subject: [PATCH 2/2] New package: inih-r49

---
 common/shlibs         |  1 +
 srcpkgs/inih-devel    |  1 +
 srcpkgs/inih/template | 28 ++++++++++++++++++++++++++++
 3 files changed, 30 insertions(+)
 create mode 120000 srcpkgs/inih-devel
 create mode 100644 srcpkgs/inih/template

diff --git a/common/shlibs b/common/shlibs
index 72038cb4c7c..804a0d967a0 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2325,6 +2325,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-r49_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
diff --git a/srcpkgs/inih-devel b/srcpkgs/inih-devel
new file mode 120000
index 00000000000..e7c667bc405
--- /dev/null
+++ b/srcpkgs/inih-devel
@@ -0,0 +1 @@
+inih
\ No newline at end of file
diff --git a/srcpkgs/inih/template b/srcpkgs/inih/template
new file mode 100644
index 00000000000..a6e003b8289
--- /dev/null
+++ b/srcpkgs/inih/template
@@ -0,0 +1,28 @@
+# Template file for 'inih'
+pkgname=inih
+version=r49
+revision=1
+build_style=meson
+configure_args="-Ddistro_install=true -Ddefault_library=both"
+hostmakedepends="ninja"
+short_desc="Simple .INI file parser written in C"
+maintainer="Hyper-KVM <hyperkvmx86@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/benhoyt/inih"
+distfiles="https://github.com/benhoyt/inih/archive/${version}.tar.gz"
+checksum=197133c37a5fce2a3ac13008883b13f3a6f349881b66024c38ee9abf45e20d0c
+
+inih-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "/usr/lib/*.so"
+		vmove usr/lib/pkgconfig
+	}
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}

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

* Re: New package: gamemode-1.5.1
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
  2020-05-25 18:10 ` [PR PATCH] [Updated] " toluschr
@ 2020-05-25 18:10 ` toluschr
  2020-09-12 13:56 ` RoundDuckKira
                   ` (46 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: toluschr @ 2020-05-25 18:10 UTC (permalink / raw)
  To: ml

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

New comment by toluschr on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#issuecomment-633672946

Comment:
forgot to add patch

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

* Re: New package: gamemode-1.5.1
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
  2020-05-25 18:10 ` [PR PATCH] [Updated] " toluschr
  2020-05-25 18:10 ` toluschr
@ 2020-09-12 13:56 ` RoundDuckKira
  2020-09-12 13:57 ` RoundDuckKira
                   ` (45 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: RoundDuckKira @ 2020-09-12 13:56 UTC (permalink / raw)
  To: ml

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

New comment by RoundDuckKira on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#issuecomment-691492688

Comment:
@toluschr as it seems here, it seems that gamemode itself didn't get imported into the Void repos. That said, gamemode 1.6 promotes the fact it has more systemd-free-friendly functionality in the form of `elogind`, maybe I can help with editing the gamemode template to now feature 1.6 and get this package into Void?

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

* Re: New package: gamemode-1.5.1
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (2 preceding siblings ...)
  2020-09-12 13:56 ` RoundDuckKira
@ 2020-09-12 13:57 ` RoundDuckKira
  2020-09-13 15:37 ` toluschr
                   ` (44 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: RoundDuckKira @ 2020-09-12 13:57 UTC (permalink / raw)
  To: ml

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

New comment by RoundDuckKira on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#issuecomment-691492688

Comment:
@toluschr as it seems here, it seems that gamemode itself didn't get imported into the Void repos. That said, gamemode 1.6 promotes the fact it has more systemd-free-friendly functionality in the form of `elogind` support, maybe I can help with editing the gamemode template to now feature 1.6 and get this package into Void?

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

* Re: New package: gamemode-1.5.1
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (3 preceding siblings ...)
  2020-09-12 13:57 ` RoundDuckKira
@ 2020-09-13 15:37 ` toluschr
  2020-09-13 16:06 ` [PR REVIEW] " ericonr
                   ` (43 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: toluschr @ 2020-09-13 15:37 UTC (permalink / raw)
  To: ml

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

New comment by toluschr on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#issuecomment-691686845

Comment:
Maybe I could get confirmation that the VoidLinux-Team is interested in including this in their repos. Otherwise updating it would be pointless.

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

* Re: [PR REVIEW] New package: gamemode-1.5.1
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (4 preceding siblings ...)
  2020-09-13 15:37 ` toluschr
@ 2020-09-13 16:06 ` ericonr
  2020-09-13 16:06 ` ericonr
                   ` (42 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: ericonr @ 2020-09-13 16:06 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#discussion_r487545945

Comment:
Has this patch been upstreamed?

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

* Re: [PR REVIEW] New package: gamemode-1.5.1
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (5 preceding siblings ...)
  2020-09-13 16:06 ` [PR REVIEW] " ericonr
@ 2020-09-13 16:06 ` ericonr
  2020-09-13 16:06 ` ericonr
                   ` (41 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: ericonr @ 2020-09-13 16:06 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#discussion_r487546206

Comment:
Doesn't need to be listed, is implied by `meson` build style.

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

* Re: [PR REVIEW] New package: gamemode-1.5.1
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (6 preceding siblings ...)
  2020-09-13 16:06 ` ericonr
@ 2020-09-13 16:06 ` ericonr
  2020-09-13 16:06 ` ericonr
                   ` (40 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: ericonr @ 2020-09-13 16:06 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#discussion_r487546309

Comment:
`lib${pkgname}` should be detected automatically, since it's listed in `common/shlibs`

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

* Re: [PR REVIEW] New package: gamemode-1.5.1
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (7 preceding siblings ...)
  2020-09-13 16:06 ` ericonr
@ 2020-09-13 16:06 ` ericonr
  2020-09-13 16:06 ` ericonr
                   ` (39 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: ericonr @ 2020-09-13 16:06 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#discussion_r487546452

Comment:
`meson` and ``ninja` don't need to be here. What is `git` used for? You probably want to add versioned tarballs in `distfiles`.

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

* Re: [PR REVIEW] New package: gamemode-1.5.1
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (8 preceding siblings ...)
  2020-09-13 16:06 ` ericonr
@ 2020-09-13 16:06 ` ericonr
  2020-09-13 16:06 ` ericonr
                   ` (38 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: ericonr @ 2020-09-13 16:06 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#discussion_r487546360

Comment:
Please break long strings at around 80 chars.

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

* Re: [PR REVIEW] New package: gamemode-1.5.1
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (9 preceding siblings ...)
  2020-09-13 16:06 ` ericonr
@ 2020-09-13 16:06 ` ericonr
  2020-09-13 16:07 ` ericonr
                   ` (37 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: ericonr @ 2020-09-13 16:06 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#discussion_r487546544

Comment:
I prefer to have `post_install` before the subpackage functions.

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

* Re: [PR REVIEW] New package: gamemode-1.5.1
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (10 preceding siblings ...)
  2020-09-13 16:06 ` ericonr
@ 2020-09-13 16:07 ` ericonr
  2020-09-13 16:08 ` ericonr
                   ` (36 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: ericonr @ 2020-09-13 16:07 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#discussion_r487546452

Comment:
`meson` and `ninja` don't need to be here. What is `git` used for? You probably want to add versioned tarballs in `distfiles`.

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

* Re: New package: gamemode-1.5.1
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (11 preceding siblings ...)
  2020-09-13 16:07 ` ericonr
@ 2020-09-13 16:08 ` ericonr
  2020-09-13 17:46 ` [PR PATCH] [Updated] " toluschr
                   ` (35 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: ericonr @ 2020-09-13 16:08 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#issuecomment-691690661

Comment:
Hmm, seems `inih` has been added to the repos already.

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

* Re: [PR PATCH] [Updated] New package: gamemode-1.5.1
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (12 preceding siblings ...)
  2020-09-13 16:08 ` ericonr
@ 2020-09-13 17:46 ` toluschr
  2020-09-13 17:46 ` [PR REVIEW] " toluschr
                   ` (34 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: toluschr @ 2020-09-13 17:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 497 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.5.1
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: 4104 bytes --]

From 6b364fc15310c4790cf424b63d6b5148ee2488d3 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                   | 37 +++++++++++++++++++++
 srcpkgs/libgamemode                         |  1 +
 srcpkgs/libgamemode-devel                   |  1 +
 5 files changed, 51 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..379fab4f5ae 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -491,6 +491,8 @@ libxenvchan.so.4.14 xen-libs-4.14.0_1
 libfsimage.so.1.0 xen-libs-4.10.0_1
 libxenstat.so.4.14 xen-libs-4.14.0_1
 libfam.so.0 gamin-0.1.10_1
+libgamemode.so.0 libgamemode-1.5.1_1
+libgamemodeauto.so.0 libgamemode-1.5.1_1
 libgamin-1.so.0 gamin-0.1.10_1
 libKF5SyntaxHighlighting.so.5 syntax-highlighting-5.29.0_1
 libKF5Libkleo.so.5 libkleo-17.12.3_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..486bf5f71aa
--- /dev/null
+++ b/srcpkgs/gamemode/template
@@ -0,0 +1,37 @@
+# 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"
+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
+}
+
+libgamemode_package() {
+	short_desc+=" - shared libraries"
+	pkg_install() {
+		vmove "usr/lib/*.so*"
+	}
+}
+
+libgamemode-devel_package() {
+	short_desc+=" - development files"
+	depends="lib${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/lib/pkgconfig
+		# For compatibility reasons, unversioned shlibs should go in main package
+		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 20655dc9a625563ae5da72b5207e32c631a9ba1e 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 379fab4f5ae..f5c6550cada 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2387,6 +2387,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] 50+ messages in thread

* Re: [PR REVIEW] New package: gamemode-1.5.1
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (13 preceding siblings ...)
  2020-09-13 17:46 ` [PR PATCH] [Updated] " toluschr
@ 2020-09-13 17:46 ` toluschr
  2020-09-13 17:48 ` toluschr
                   ` (33 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: toluschr @ 2020-09-13 17:46 UTC (permalink / raw)
  To: ml

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

New review comment by toluschr on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#discussion_r487557204

Comment:
No, aparently not

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

* Re: [PR REVIEW] New package: gamemode-1.5.1
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (14 preceding siblings ...)
  2020-09-13 17:46 ` [PR REVIEW] " toluschr
@ 2020-09-13 17:48 ` toluschr
  2020-09-13 17:50 ` [PR PATCH] [Updated] " toluschr
                   ` (32 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: toluschr @ 2020-09-13 17:48 UTC (permalink / raw)
  To: ml

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

New review comment by toluschr on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#discussion_r487557368

Comment:
Most of the args were unnecessary anyways, since they are already set by the meson build helper by default.

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

* Re: [PR PATCH] [Updated] New package: gamemode-1.5.1
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (15 preceding siblings ...)
  2020-09-13 17:48 ` toluschr
@ 2020-09-13 17:50 ` toluschr
  2020-09-13 17:52 ` [PR REVIEW] " toluschr
                   ` (31 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: toluschr @ 2020-09-13 17:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 497 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.5.1
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: 4153 bytes --]

From 033f1beb7e1cd44391702870e229ff47da1933a8 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                   | 38 +++++++++++++++++++++
 srcpkgs/libgamemode                         |  1 +
 srcpkgs/libgamemode-devel                   |  1 +
 5 files changed, 52 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..379fab4f5ae 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -491,6 +491,8 @@ libxenvchan.so.4.14 xen-libs-4.14.0_1
 libfsimage.so.1.0 xen-libs-4.10.0_1
 libxenstat.so.4.14 xen-libs-4.14.0_1
 libfam.so.0 gamin-0.1.10_1
+libgamemode.so.0 libgamemode-1.5.1_1
+libgamemodeauto.so.0 libgamemode-1.5.1_1
 libgamin-1.so.0 gamin-0.1.10_1
 libKF5SyntaxHighlighting.so.5 syntax-highlighting-5.29.0_1
 libKF5Libkleo.so.5 libkleo-17.12.3_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..34fc5bdb87c
--- /dev/null
+++ b/srcpkgs/gamemode/template
@@ -0,0 +1,38 @@
+# 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
+}
+
+libgamemode_package() {
+	short_desc+=" - shared libraries"
+	pkg_install() {
+		vmove "usr/lib/*.so*"
+	}
+}
+
+libgamemode-devel_package() {
+	short_desc+=" - development files"
+	depends="lib${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/lib/pkgconfig
+		# For compatibility reasons, unversioned shlibs should go in main package
+		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 7505d55dc640984216192268a76306a34bb907d3 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 379fab4f5ae..f5c6550cada 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2387,6 +2387,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] 50+ messages in thread

* Re: [PR REVIEW] New package: gamemode-1.5.1
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (16 preceding siblings ...)
  2020-09-13 17:50 ` [PR PATCH] [Updated] " toluschr
@ 2020-09-13 17:52 ` toluschr
  2020-09-13 17:52 ` toluschr
                   ` (30 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: toluschr @ 2020-09-13 17:52 UTC (permalink / raw)
  To: ml

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

New review comment by toluschr on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#discussion_r487557731

Comment:
It seems that the gamemoderun binaries are not linked against libgamemode.
```xml
	<key>shlib-requires</key>
	<array>
		<string>libc.so.6</string>
		<string>libelogind.so.0</string>
		<string>libinih.so.0</string>
		<string>libdl.so.2</string>
		<string>libpthread.so.0</string>
	</array>
```

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

* Re: [PR REVIEW] New package: gamemode-1.5.1
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (17 preceding siblings ...)
  2020-09-13 17:52 ` [PR REVIEW] " toluschr
@ 2020-09-13 17:52 ` toluschr
  2020-09-13 17:55 ` kostadin04
                   ` (29 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: toluschr @ 2020-09-13 17:52 UTC (permalink / raw)
  To: ml

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

New review comment by toluschr on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#discussion_r487557204

Comment:
No, apparently not

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

* Re: New package: gamemode-1.5.1
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (18 preceding siblings ...)
  2020-09-13 17:52 ` toluschr
@ 2020-09-13 17:55 ` kostadin04
  2020-09-13 17:55 ` [PR PATCH] [Updated] " toluschr
                   ` (28 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: kostadin04 @ 2020-09-13 17:55 UTC (permalink / raw)
  To: ml

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

New comment by kostadin04 on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#issuecomment-691702917

Comment:
Does this include the 32-bit version of gamemode?

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

* Re: [PR PATCH] [Updated] New package: gamemode-1.5.1
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (19 preceding siblings ...)
  2020-09-13 17:55 ` kostadin04
@ 2020-09-13 17:55 ` toluschr
  2020-09-13 17:56 ` toluschr
                   ` (27 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: toluschr @ 2020-09-13 17:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 497 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.5.1
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: 4144 bytes --]

From 9741f027f83029f938bf4f00922bab9c71cf3893 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                   | 38 +++++++++++++++++++++
 srcpkgs/libgamemode                         |  1 +
 srcpkgs/libgamemode-devel                   |  1 +
 5 files changed, 52 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..379fab4f5ae 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -491,6 +491,8 @@ libxenvchan.so.4.14 xen-libs-4.14.0_1
 libfsimage.so.1.0 xen-libs-4.10.0_1
 libxenstat.so.4.14 xen-libs-4.14.0_1
 libfam.so.0 gamin-0.1.10_1
+libgamemode.so.0 libgamemode-1.5.1_1
+libgamemodeauto.so.0 libgamemode-1.5.1_1
 libgamin-1.so.0 gamin-0.1.10_1
 libKF5SyntaxHighlighting.so.5 syntax-highlighting-5.29.0_1
 libKF5Libkleo.so.5 libkleo-17.12.3_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..f03031efd8b
--- /dev/null
+++ b/srcpkgs/gamemode/template
@@ -0,0 +1,38 @@
+# 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
+}
+
+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 e8a1c694a64c259e6d57268f5c926796d0725fee 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 379fab4f5ae..f5c6550cada 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2387,6 +2387,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] 50+ messages in thread

* Re: New package: gamemode-1.5.1
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (20 preceding siblings ...)
  2020-09-13 17:55 ` [PR PATCH] [Updated] " toluschr
@ 2020-09-13 17:56 ` toluschr
  2020-09-13 17:57 ` kostadin04
                   ` (26 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: toluschr @ 2020-09-13 17:56 UTC (permalink / raw)
  To: ml

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

New comment by toluschr on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#issuecomment-691703088

Comment:
@kostadin04 You can build it using `./xbps-src -a i686`

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

* Re: New package: gamemode-1.5.1
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (21 preceding siblings ...)
  2020-09-13 17:56 ` toluschr
@ 2020-09-13 17:57 ` kostadin04
  2020-09-13 18:24 ` [PR REVIEW] New package: gamemode-1.6 ericonr
                   ` (25 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: kostadin04 @ 2020-09-13 17:57 UTC (permalink / raw)
  To: ml

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

New comment by kostadin04 on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#issuecomment-691703174

Comment:
@toluschr Oh okay, thank you so much!

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

* Re: [PR REVIEW] New package: gamemode-1.6
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (22 preceding siblings ...)
  2020-09-13 17:57 ` kostadin04
@ 2020-09-13 18:24 ` ericonr
  2020-09-13 18:25 ` ericonr
                   ` (24 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: ericonr @ 2020-09-13 18:24 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#discussion_r487560710

Comment:
I'm not sure it's still required, then. If someone has a game that uses it, it should ship its own library, right?

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

* Re: [PR REVIEW] New package: gamemode-1.6
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (23 preceding siblings ...)
  2020-09-13 18:24 ` [PR REVIEW] New package: gamemode-1.6 ericonr
@ 2020-09-13 18:25 ` ericonr
  2020-09-13 18:29 ` toluschr
                   ` (23 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: ericonr @ 2020-09-13 18:25 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#discussion_r487560837

Comment:
Although the README had a thing with preloading the library, so I guess it makes sense.

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

* Re: [PR REVIEW] New package: gamemode-1.6
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (24 preceding siblings ...)
  2020-09-13 18:25 ` ericonr
@ 2020-09-13 18:29 ` toluschr
  2020-09-13 18:30 ` toluschr
                   ` (22 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: toluschr @ 2020-09-13 18:29 UTC (permalink / raw)
  To: ml

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

New review comment by toluschr on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#discussion_r487561238

Comment:
I believe it is still needed, as the binary included in the main package just sets `LD_PRELOAD`
```sh
$ gamemoderun sh -c 'echo ${LD_PRELOAD}' 
libgamemodeauto.so.0
```

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

* Re: [PR REVIEW] New package: gamemode-1.6
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (25 preceding siblings ...)
  2020-09-13 18:29 ` toluschr
@ 2020-09-13 18:30 ` toluschr
  2020-09-13 18:30 ` toluschr
                   ` (21 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: toluschr @ 2020-09-13 18:30 UTC (permalink / raw)
  To: ml

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

New review comment by toluschr on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#discussion_r487561238

Comment:
I believe it is still needed, as the binary included in the main package just sets `LD_PRELOAD`
```sh
$ gamemoderun sh -c 'echo ${LD_PRELOAD}' 
libgamemodeauto.so.0
```

didn't read the new message

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

* Re: [PR REVIEW] New package: gamemode-1.6
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (26 preceding siblings ...)
  2020-09-13 18:30 ` toluschr
@ 2020-09-13 18:30 ` toluschr
  2020-09-13 18:30 ` toluschr
                   ` (20 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: toluschr @ 2020-09-13 18:30 UTC (permalink / raw)
  To: ml

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

New review comment by toluschr on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#discussion_r487561238

Comment:
I believe it is still needed, as the binary included in the main package just sets `LD_PRELOAD`
```sh
$ gamemoderun sh -c 'echo ${LD_PRELOAD}' 
libgamemodeauto.so.0
```

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

* Re: [PR REVIEW] New package: gamemode-1.6
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (27 preceding siblings ...)
  2020-09-13 18:30 ` toluschr
@ 2020-09-13 18:30 ` toluschr
  2020-09-13 18:39 ` ericonr
                   ` (19 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: toluschr @ 2020-09-13 18:30 UTC (permalink / raw)
  To: ml

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

New review comment by toluschr on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#discussion_r487561404

Comment:
Sorry, I didn't read the new message

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

* Re: [PR REVIEW] New package: gamemode-1.6
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (28 preceding siblings ...)
  2020-09-13 18:30 ` toluschr
@ 2020-09-13 18:39 ` ericonr
  2020-09-13 18:49 ` [PR PATCH] [Updated] " toluschr
                   ` (18 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: ericonr @ 2020-09-13 18:39 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#discussion_r487562282

Comment:
No prob ;)

^ permalink raw reply	[flat|nested] 50+ 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
                   ` (29 preceding siblings ...)
  2020-09-13 18:39 ` ericonr
@ 2020-09-13 18:49 ` toluschr
  2020-09-14  5:01 ` RoundDuckKira
                   ` (17 subsequent siblings)
  48 siblings, 0 replies; 50+ 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] 50+ messages in thread

* Re: New package: gamemode-1.6
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (30 preceding siblings ...)
  2020-09-13 18:49 ` [PR PATCH] [Updated] " toluschr
@ 2020-09-14  5:01 ` RoundDuckKira
  2020-09-14 11:10 ` [PR PATCH] [Updated] " toluschr
                   ` (16 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: RoundDuckKira @ 2020-09-14  5:01 UTC (permalink / raw)
  To: ml

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

New comment by RoundDuckKira on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#issuecomment-691811455

Comment:
well this is nice to see, guess I don't need to do it then myself heh. :p

^ permalink raw reply	[flat|nested] 50+ 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
                   ` (31 preceding siblings ...)
  2020-09-14  5:01 ` RoundDuckKira
@ 2020-09-14 11:10 ` toluschr
  2020-09-29  2:10 ` ericonr
                   ` (15 subsequent siblings)
  48 siblings, 0 replies; 50+ 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] 50+ messages in thread

* Re: New package: gamemode-1.6
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (32 preceding siblings ...)
  2020-09-14 11:10 ` [PR PATCH] [Updated] " toluschr
@ 2020-09-29  2:10 ` ericonr
  2020-09-30  8:43 ` toluschr
                   ` (14 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: ericonr @ 2020-09-29  2:10 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#issuecomment-700383414

Comment:
Has this package been working well locally?

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

* Re: New package: gamemode-1.6
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (33 preceding siblings ...)
  2020-09-29  2:10 ` ericonr
@ 2020-09-30  8:43 ` toluschr
  2020-09-30  8:47 ` toluschr
                   ` (13 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: toluschr @ 2020-09-30  8:43 UTC (permalink / raw)
  To: ml

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

New comment by toluschr on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#issuecomment-701252150

Comment:
> Has this package been working well locally?

It's working, but I can't really confirm that it actually benefits performance.

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

* Re: New package: gamemode-1.6
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (34 preceding siblings ...)
  2020-09-30  8:43 ` toluschr
@ 2020-09-30  8:47 ` toluschr
  2022-01-06  4:06 ` RicArch97
                   ` (12 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: toluschr @ 2020-09-30  8:47 UTC (permalink / raw)
  To: ml

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

New comment by toluschr on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#issuecomment-701252150

Comment:
> Has this package been working well locally?

It's working, but I can't really confirm that it actually benefits the performance.

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

* Re: New package: gamemode-1.6
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (35 preceding siblings ...)
  2020-09-30  8:47 ` toluschr
@ 2022-01-06  4:06 ` RicArch97
  2022-01-06 22:16 ` paper42
                   ` (11 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: RicArch97 @ 2022-01-06  4:06 UTC (permalink / raw)
  To: ml

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

New comment by RicArch97 on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#issuecomment-1006268397

Comment:
Pulled the changes to test them locally, but ran into a dependency conflict;
```console
$ ./xbps-src pkg gamemode 
=> xbps-src: updating repositories for host (x86_64)...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/nonfree/x86_64-repodata' ...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/debug/x86_64-repodata' ...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/multilib/x86_64-repodata' ...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> gamemode-1.6_1: removing autodeps, please wait...
=> gamemode-1.6_1: building [meson] for x86_64...
   [host] pkg-config-0.29.2_2: found (/host/binpkgs)
   [host] meson-0.55.3_1: not found
   [target] inih-devel-51_1: not found
   [target] dbus-devel-1.12.20_1: found (https://alpha.de.repo.voidlinux.org/current)
   [target] elogind-devel-243.4_3: not found
   [runtime] libgamemode-1.6_1: not found (subpkg, ignored)
   [runtime] libgamemode-1.6_1: not found (subpkg, ignored)
   [runtime] libgamemode-1.6_1: not found (subpkg, ignored)
=> meson-0.55.3_1: building [python3-module] (dependency of gamemode) for x86_64...
   [host] python3-devel-3.8.5_1: not found
   [host] python3-setuptools-50.3.0_1: not found
   [target] python3-3.8.5_1: not found
   [runtime] ninja-1.10.1_1: not found
   [runtime] python3-setuptools-50.3.0_1: not found
=> python3-3.8.5_1: building (dependency of meson) for x86_64...
   [host] pkgconf-1.7.3_1: found (/host/binpkgs)
   [target] libffi-devel-3.3_2: found (https://alpha.de.repo.voidlinux.org/current)
   [target] readline-devel-8.0.004_1: not found
   [target] gdbm-devel-1.18.1_1: not found
   [target] libressl-devel-3.1.4_1: not found
   [target] expat-devel-2.2.9_1: not found
   [target] sqlite-devel-3.33.0_1: not found
   [target] bzip2-devel-1.0.8_1: found (https://alpha.de.repo.voidlinux.org/current)
   [target] zlib-devel-1.2.11_3: not found
   [target] liblzma-devel-5.2.5_1: not found
   [runtime] ca-certificates-20200601_1: not found
   [runtime] python3-3.8.5_1: not found (self, ignored)
=> libreadline8-8.0.004_1: building [gnu-configure] (dependency of python3) for x86_64...
   [target] ncurses-devel-6.2_3: found (/host/binpkgs)
   [runtime] ncurses-devel-6.2_3: found (/host/binpkgs)
   [runtime] libreadline8-8.0.004_1: not found (self, ignored)
   [runtime] libhistory8-8.0.004_1: not found (subpkg, ignored)
=> libreadline8-8.0.004_1: installing target dependencies: ncurses-devel-6.2_3 ...
=> libreadline8-8.0.004_1: removing autodeps, please wait...
=> ERROR: libreadline8-8.0.004_1: failed to install 'ncurses-devel-6.2_3' dependency! (error 19)
ncurses-libs-6.2_3 in transaction breaks installed pkg `ncurses-6.2_4'
Transaction aborted due to unresolved dependencies.
=> ERROR: Please see above for the real error, exiting...
```

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

* Re: New package: gamemode-1.6
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (36 preceding siblings ...)
  2022-01-06  4:06 ` RicArch97
@ 2022-01-06 22:16 ` paper42
  2022-01-07  4:08 ` [PR REVIEW] " RicArch97
                   ` (10 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: paper42 @ 2022-01-06 22:16 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#issuecomment-1006975120

Comment:
> python3-3.8.5_1

We are on python3-3.10.1_1, rebase on top of master.

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

* Re: [PR REVIEW] New package: gamemode-1.6
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (37 preceding siblings ...)
  2022-01-06 22:16 ` paper42
@ 2022-01-07  4:08 ` RicArch97
  2022-01-07  4:08 ` RicArch97
                   ` (9 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: RicArch97 @ 2022-01-07  4:08 UTC (permalink / raw)
  To: ml

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

New review comment by RicArch97 on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#discussion_r780013974

Comment:
```suggestion
checksum=fda4abbae12639e0f326b2116d19302f83aad6139996c3823882e7f238e9852b
```

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

* Re: [PR REVIEW] New package: gamemode-1.6
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (38 preceding siblings ...)
  2022-01-07  4:08 ` [PR REVIEW] " RicArch97
@ 2022-01-07  4:08 ` RicArch97
  2022-01-07  4:08 ` RicArch97
                   ` (8 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: RicArch97 @ 2022-01-07  4:08 UTC (permalink / raw)
  To: ml

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

New review comment by RicArch97 on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#discussion_r780013288

Comment:
```suggestion
--- a/daemon/gamemode-context.c
+++ b/daemon/gamemode-context.c
```

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

* Re: [PR REVIEW] New package: gamemode-1.6
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (39 preceding siblings ...)
  2022-01-07  4:08 ` RicArch97
@ 2022-01-07  4:08 ` RicArch97
  2022-04-07 16:07 ` kedodrill
                   ` (7 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: RicArch97 @ 2022-01-07  4:08 UTC (permalink / raw)
  To: ml

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

New review comment by RicArch97 on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#discussion_r780013156

Comment:
```suggestion
```
This has been added already

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

* Re: New package: gamemode-1.6
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (40 preceding siblings ...)
  2022-01-07  4:08 ` RicArch97
@ 2022-04-07 16:07 ` kedodrill
  2022-04-07 20:43 ` paper42
                   ` (6 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: kedodrill @ 2022-04-07 16:07 UTC (permalink / raw)
  To: ml

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

New comment by kedodrill on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#issuecomment-1091924632

Comment:
Am I good to take this over and make a new PR? I have the changes that were mentioned applied to a branch and it works fine. Noticeable difference in performance in CSGO, but haven't tested with much else.

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

* Re: New package: gamemode-1.6
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (41 preceding siblings ...)
  2022-04-07 16:07 ` kedodrill
@ 2022-04-07 20:43 ` paper42
  2022-04-07 21:00 ` RicArch97
                   ` (5 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: paper42 @ 2022-04-07 20:43 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#issuecomment-1092183282

Comment:
> Am I good to take this over and make a new PR? I have the changes that were mentioned applied to a branch and it works fine. Noticeable difference in performance in CSGO, but haven't tested with much else.

Go ahead

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

* Re: New package: gamemode-1.6
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (42 preceding siblings ...)
  2022-04-07 20:43 ` paper42
@ 2022-04-07 21:00 ` RicArch97
  2022-04-07 21:24 ` kedodrill
                   ` (4 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: RicArch97 @ 2022-04-07 21:00 UTC (permalink / raw)
  To: ml

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

New comment by RicArch97 on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#issuecomment-1092195719

Comment:
I've been using my own template for version 1.6.1 (lastest) and built both 64 and 32 bit, it works great the only thing i noticed is that the `/usr/bin/gamemoded` process is still running after closing a game which was ran using the `gamemoderun` command, not sure if that's intended

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

* Re: New package: gamemode-1.6
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (43 preceding siblings ...)
  2022-04-07 21:00 ` RicArch97
@ 2022-04-07 21:24 ` kedodrill
  2022-04-07 21:24 ` kedodrill
                   ` (3 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: kedodrill @ 2022-04-07 21:24 UTC (permalink / raw)
  To: ml

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

New comment by kedodrill on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#issuecomment-1092212837

Comment:
@RicArch97 I have noticed the same thing, and I think it is intended, but 100% sure. You can use `gamemoded -s` to see it's status. When I close a game I use it for, it says it's inactive.

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

* Re: New package: gamemode-1.6
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (44 preceding siblings ...)
  2022-04-07 21:24 ` kedodrill
@ 2022-04-07 21:24 ` kedodrill
  2022-04-07 21:27 ` RicArch97
                   ` (2 subsequent siblings)
  48 siblings, 0 replies; 50+ messages in thread
From: kedodrill @ 2022-04-07 21:24 UTC (permalink / raw)
  To: ml

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

New comment by kedodrill on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#issuecomment-1092212837

Comment:
@RicArch97 I have noticed the same thing, and I think it is intended, but not 100% sure. You can use `gamemoded -s` to see it's status. When I close a game I use it for, it says it's inactive.

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

* Re: New package: gamemode-1.6
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (45 preceding siblings ...)
  2022-04-07 21:24 ` kedodrill
@ 2022-04-07 21:27 ` RicArch97
  2022-04-09 10:16 ` [PR PATCH] [Closed]: " paper42
  2022-04-09 10:16 ` paper42
  48 siblings, 0 replies; 50+ messages in thread
From: RicArch97 @ 2022-04-07 21:27 UTC (permalink / raw)
  To: ml

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

New comment by RicArch97 on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#issuecomment-1092215579

Comment:
Ah yes, you're right. It probably "lazy loads" the daemon on first usage of gamemode rather than having it autostart with the system since you might not even use it.

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

* Re: New package: gamemode-1.6
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (47 preceding siblings ...)
  2022-04-09 10:16 ` [PR PATCH] [Closed]: " paper42
@ 2022-04-09 10:16 ` paper42
  48 siblings, 0 replies; 50+ messages in thread
From: paper42 @ 2022-04-09 10:16 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/22291#issuecomment-1093861317

Comment:
merged in #36564

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

* Re: [PR PATCH] [Closed]: New package: gamemode-1.6
  2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
                   ` (46 preceding siblings ...)
  2022-04-07 21:27 ` RicArch97
@ 2022-04-09 10:16 ` paper42
  2022-04-09 10:16 ` paper42
  48 siblings, 0 replies; 50+ messages in thread
From: paper42 @ 2022-04-09 10:16 UTC (permalink / raw)
  To: ml

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

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

New package: gamemode-1.6
https://github.com/void-linux/void-packages/pull/22291

Description:
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

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

end of thread, other threads:[~2022-04-09 10:16 UTC | newest]

Thread overview: 50+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-25 17:59 [PR PATCH] New package: gamemode-1.5.1 toluschr
2020-05-25 18:10 ` [PR PATCH] [Updated] " toluschr
2020-05-25 18:10 ` toluschr
2020-09-12 13:56 ` RoundDuckKira
2020-09-12 13:57 ` RoundDuckKira
2020-09-13 15:37 ` toluschr
2020-09-13 16:06 ` [PR REVIEW] " ericonr
2020-09-13 16:06 ` ericonr
2020-09-13 16:06 ` ericonr
2020-09-13 16:06 ` ericonr
2020-09-13 16:06 ` ericonr
2020-09-13 16:06 ` ericonr
2020-09-13 16:07 ` ericonr
2020-09-13 16:08 ` ericonr
2020-09-13 17:46 ` [PR PATCH] [Updated] " toluschr
2020-09-13 17:46 ` [PR REVIEW] " toluschr
2020-09-13 17:48 ` toluschr
2020-09-13 17:50 ` [PR PATCH] [Updated] " toluschr
2020-09-13 17:52 ` [PR REVIEW] " toluschr
2020-09-13 17:52 ` toluschr
2020-09-13 17:55 ` kostadin04
2020-09-13 17:55 ` [PR PATCH] [Updated] " toluschr
2020-09-13 17:56 ` toluschr
2020-09-13 17:57 ` kostadin04
2020-09-13 18:24 ` [PR REVIEW] New package: gamemode-1.6 ericonr
2020-09-13 18:25 ` ericonr
2020-09-13 18:29 ` toluschr
2020-09-13 18:30 ` toluschr
2020-09-13 18:30 ` toluschr
2020-09-13 18:30 ` toluschr
2020-09-13 18:39 ` ericonr
2020-09-13 18:49 ` [PR PATCH] [Updated] " toluschr
2020-09-14  5:01 ` RoundDuckKira
2020-09-14 11:10 ` [PR PATCH] [Updated] " toluschr
2020-09-29  2:10 ` ericonr
2020-09-30  8:43 ` toluschr
2020-09-30  8:47 ` toluschr
2022-01-06  4:06 ` RicArch97
2022-01-06 22:16 ` paper42
2022-01-07  4:08 ` [PR REVIEW] " RicArch97
2022-01-07  4:08 ` RicArch97
2022-01-07  4:08 ` RicArch97
2022-04-07 16:07 ` kedodrill
2022-04-07 20:43 ` paper42
2022-04-07 21:00 ` RicArch97
2022-04-07 21:24 ` kedodrill
2022-04-07 21:24 ` kedodrill
2022-04-07 21:27 ` RicArch97
2022-04-09 10:16 ` [PR PATCH] [Closed]: " paper42
2022-04-09 10:16 ` paper42

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