* Re: New package: gamemode-1.5.1
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20424@inbox.vuxu.org>
@ 2020-03-28 20:48 ` Hyper-KVM
2020-03-31 6:56 ` Hyper-KVM
` (13 subsequent siblings)
14 siblings, 0 replies; 23+ messages in thread
From: Hyper-KVM @ 2020-03-28 20:48 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 291 bytes --]
New comment by Hyper-KVM on void-packages repository
https://github.com/void-linux/void-packages/pull/20424#issuecomment-605517719
Comment:
> Did you addressed problems mentioned in #19288?
It works, I'm using dwm however so it requires dbus-launch until I fix dbus-session for my WM.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: New package: gamemode-1.5.1
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20424@inbox.vuxu.org>
2020-03-28 20:48 ` New package: gamemode-1.5.1 Hyper-KVM
@ 2020-03-31 6:56 ` Hyper-KVM
2020-04-02 9:10 ` toluschr
` (12 subsequent siblings)
14 siblings, 0 replies; 23+ messages in thread
From: Hyper-KVM @ 2020-03-31 6:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 324 bytes --]
New comment by Hyper-KVM on void-packages repository
https://github.com/void-linux/void-packages/pull/20424#issuecomment-605517719
Comment:
> Did you addressed problems mentioned in #19288?
~~It works, I'm using dwm however so it requires dbus-launch until I fix dbus-session for my WM.~~
Edit: Ok works normally now.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: New package: gamemode-1.5.1
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20424@inbox.vuxu.org>
2020-03-28 20:48 ` New package: gamemode-1.5.1 Hyper-KVM
2020-03-31 6:56 ` Hyper-KVM
@ 2020-04-02 9:10 ` toluschr
2020-04-02 9:19 ` toluschr
` (11 subsequent siblings)
14 siblings, 0 replies; 23+ messages in thread
From: toluschr @ 2020-04-02 9:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 164 bytes --]
New comment by toluschr on void-packages repository
https://github.com/void-linux/void-packages/pull/20424#issuecomment-607721660
Comment:
This works fine for me
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: New package: gamemode-1.5.1
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20424@inbox.vuxu.org>
` (2 preceding siblings ...)
2020-04-02 9:10 ` toluschr
@ 2020-04-02 9:19 ` toluschr
2020-04-02 21:49 ` [PR PATCH] [Updated] " Hyper-KVM
` (10 subsequent siblings)
14 siblings, 0 replies; 23+ messages in thread
From: toluschr @ 2020-04-02 9:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 266 bytes --]
New comment by toluschr on void-packages repository
https://github.com/void-linux/void-packages/pull/20424#issuecomment-607721660
Comment:
This works fine for me.
I'd prefer to have the package split into `libgamemode`, `gamemode` and `libgamemode-devel` though.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PR PATCH] [Updated] New package: gamemode-1.5.1
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20424@inbox.vuxu.org>
` (3 preceding siblings ...)
2020-04-02 9:19 ` toluschr
@ 2020-04-02 21:49 ` Hyper-KVM
2020-04-02 21:50 ` Hyper-KVM
` (9 subsequent siblings)
14 siblings, 0 replies; 23+ messages in thread
From: Hyper-KVM @ 2020-04-02 21:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 322 bytes --]
There is an updated pull request by Hyper-KVM against master on the void-packages repository
https://github.com/Hyper-KVM/void-packages gamemode
https://github.com/void-linux/void-packages/pull/20424
New package: gamemode-1.5.1
A patch file from https://github.com/void-linux/void-packages/pull/20424.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gamemode-20424.patch --]
[-- Type: text/x-diff, Size: 5714 bytes --]
From 6982bdcd89f1003e9930e4db7c9b618a34b272ac Mon Sep 17 00:00:00 2001
From: Hyper-KVM <hyperkvmx86@gmail.com>
Date: Fri, 27 Mar 2020 17:40:10 -0400
Subject: [PATCH 1/2] New package: gamemode-1.5.1
---
common/shlibs | 3 +++
srcpkgs/gamemode/template | 39 +++++++++++++++++++++++++++++++++++++++
srcpkgs/libgamemode | 1 +
srcpkgs/libgamemode-devel | 1 +
4 files changed, 44 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 938781153e2..6bdae73281c 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -493,6 +493,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 gamemode-1.5.1_1
+libgamemodeauto.so.0 gamemode-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
@@ -2314,6 +2316,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-r48_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/gamemode/template b/srcpkgs/gamemode/template
new file mode 100644
index 00000000000..4e4de744f18
--- /dev/null
+++ b/srcpkgs/gamemode/template
@@ -0,0 +1,39 @@
+# Template file for 'gamemode'
+pkgname=gamemode
+version=1.5.1
+revision=1
+build_style=meson
+configure_args="-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"
+short_desc="Daemon/lib combo for optimisations running games"
+maintainer="Hyper-KVM <hyperkvmx86@gmail.com>"
+license="BSD 3-Clause License (Revised)"
+homepage="https://github.com/FeralInteractive/gamemode"
+distfiles="https://github.com/FeralInteractive/gamemode/archive/${version}.tar.gz"
+checksum="c510fd1391263c6fa05570de840865b1f0c8d573a7acbf488027327ae5a3bbde"
+
+post_install() {
+ cd ${wrksrc}
+ vdoc example/gamemode.ini
+ vlicense LICENSE.txt
+}
+
+depends="lib${pkgname}>=${version}_${revision} polkit"
+
+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/*.so"
+ vmove usr/lib/pkgconfig
+ 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 6b31817b35942bd0ee149ef4c5a86a16a000a869 Mon Sep 17 00:00:00 2001
From: Hyper-KVM <hyperkvmx86@gmail.com>
Date: Sat, 28 Mar 2020 14:00:21 -0400
Subject: [PATCH 2/2] New package: inih-r48
---
common/shlibs | 1 +
srcpkgs/gamemode/template | 2 +-
srcpkgs/inih-devel | 1 +
srcpkgs/inih/template | 28 ++++++++++++++++++++++++++++
4 files changed, 31 insertions(+), 1 deletion(-)
create mode 120000 srcpkgs/inih-devel
create mode 100644 srcpkgs/inih/template
diff --git a/common/shlibs b/common/shlibs
index 6bdae73281c..ee6f317da22 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2318,6 +2318,7 @@ libsybdb.so.5 freetds-0.95.19_1
libqqwing.so.2 qqwing-1.3.4_1
libinih.so.0 inih-r48_1
libiniparser.so.1 iniparser-4.1_1
+libINIReader.so.0 inih-r48_1
libzita-resampler.so.1 zita-resampler-1.3.0_1
libmlt.so.6 mlt-6.4.1_1
libmlt++.so.3 mlt-6.4.1_1
diff --git a/srcpkgs/gamemode/template b/srcpkgs/gamemode/template
index 4e4de744f18..4925f11d7e6 100644
--- a/srcpkgs/gamemode/template
+++ b/srcpkgs/gamemode/template
@@ -8,7 +8,7 @@ hostmakedepends="git cmake meson ninja pkg-config"
makedepends="inih-devel dbus-devel elogind-devel"
short_desc="Daemon/lib combo for optimisations running games"
maintainer="Hyper-KVM <hyperkvmx86@gmail.com>"
-license="BSD 3-Clause License (Revised)"
+license="BSD-3-Clause"
homepage="https://github.com/FeralInteractive/gamemode"
distfiles="https://github.com/FeralInteractive/gamemode/archive/${version}.tar.gz"
checksum="c510fd1391263c6fa05570de840865b1f0c8d573a7acbf488027327ae5a3bbde"
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..9bdd3f298d0
--- /dev/null
+++ b/srcpkgs/inih/template
@@ -0,0 +1,28 @@
+# Template file for 'inih'
+pkgname=inih
+version=r48
+revision=1
+archs="*"
+build_style=meson
+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="e4596c6bdae4df80765aa40eed2fa7df0eb7fef03cedd8da67e8e8061db3fbd8"
+
+post_install() {
+ vlicense LICENSE.txt
+}
+
+inih-devel_package() {
+ short_desc+=" - development files"
+ depends="inih"
+ pkg_install() {
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "/usr/lib/*.so"
+ vmove usr/lib/pkgconfig
+ }
+}
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: New package: gamemode-1.5.1
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20424@inbox.vuxu.org>
` (4 preceding siblings ...)
2020-04-02 21:49 ` [PR PATCH] [Updated] " Hyper-KVM
@ 2020-04-02 21:50 ` Hyper-KVM
2020-04-02 21:50 ` Hyper-KVM
` (8 subsequent siblings)
14 siblings, 0 replies; 23+ messages in thread
From: Hyper-KVM @ 2020-04-02 21:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 261 bytes --]
New comment by Hyper-KVM on void-packages repository
https://github.com/void-linux/void-packages/pull/20424#issuecomment-608109404
Comment:
> I messed around with this a little and it seems the package builds just fine on other archs
Ok I added the changes.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: New package: gamemode-1.5.1
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20424@inbox.vuxu.org>
` (5 preceding siblings ...)
2020-04-02 21:50 ` Hyper-KVM
@ 2020-04-02 21:50 ` Hyper-KVM
2020-04-03 2:15 ` [PR PATCH] [Updated] " Hyper-KVM
` (7 subsequent siblings)
14 siblings, 0 replies; 23+ messages in thread
From: Hyper-KVM @ 2020-04-02 21:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 263 bytes --]
New comment by Hyper-KVM on void-packages repository
https://github.com/void-linux/void-packages/pull/20424#issuecomment-608109404
Comment:
> I messed around with this a little and it seems the package builds just fine on other archs
Ok I added the changes.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PR PATCH] [Updated] New package: gamemode-1.5.1
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20424@inbox.vuxu.org>
` (6 preceding siblings ...)
2020-04-02 21:50 ` Hyper-KVM
@ 2020-04-03 2:15 ` Hyper-KVM
2020-04-03 2:33 ` Hyper-KVM
` (6 subsequent siblings)
14 siblings, 0 replies; 23+ messages in thread
From: Hyper-KVM @ 2020-04-03 2:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 322 bytes --]
There is an updated pull request by Hyper-KVM against master on the void-packages repository
https://github.com/Hyper-KVM/void-packages gamemode
https://github.com/void-linux/void-packages/pull/20424
New package: gamemode-1.5.1
A patch file from https://github.com/void-linux/void-packages/pull/20424.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gamemode-20424.patch --]
[-- Type: text/x-diff, Size: 5745 bytes --]
From 4a9bdd38fd60f464541db1360325c9b9f7d9e3eb Mon Sep 17 00:00:00 2001
From: Hyper-KVM <hyperkvmx86@gmail.com>
Date: Fri, 27 Mar 2020 17:40:10 -0400
Subject: [PATCH 1/2] New package: gamemode-1.5.1
---
common/shlibs | 2 ++
srcpkgs/gamemode/template | 38 ++++++++++++++++++++++++++++++++++++++
srcpkgs/libgamemode | 1 +
srcpkgs/libgamemode-devel | 1 +
4 files changed, 42 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 938781153e2..62838aaf0f9 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -493,6 +493,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 gamemode-1.5.1_1
+libgamemodeauto.so.0 gamemode-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..724d686f36b
--- /dev/null
+++ b/srcpkgs/gamemode/template
@@ -0,0 +1,38 @@
+# Template file for 'gamemode'
+pkgname=gamemode
+version=1.5.1
+revision=1
+build_style=meson
+configure_args="-Dwith-systemd=false -Dwith-dbus-service-dir=/usr/share/dbus-1/services"
+hostmakedepends="git cmake meson ninja pkg-config"
+makedepends="inih-devel dbus-devel elogind-devel"
+short_desc="Optimise Linux system performance on demand"
+maintainer="Hyper-KVM <hyperkvmx86@gmail.com>"
+license="BSD 3-Clause License (Revised)"
+homepage="https://github.com/FeralInteractive/gamemode"
+distfiles="https://github.com/FeralInteractive/gamemode/archive/${version}.tar.gz"
+checksum="c510fd1391263c6fa05570de840865b1f0c8d573a7acbf488027327ae5a3bbde"
+depends="libgamemode polkit"
+subpackages="libgamemode libgamemode-devel"
+
+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="libgamemode"
+ pkg_install() {
+ vmove "usr/lib/*.so"
+ vmove usr/lib/pkgconfig
+ 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 6c67467a917a450c988ff29b03b1c8fdd9122c20 Mon Sep 17 00:00:00 2001
From: Hyper-KVM <hyperkvmx86@gmail.com>
Date: Sat, 28 Mar 2020 14:00:21 -0400
Subject: [PATCH 2/2] New package: inih-r48
---
common/shlibs | 4 ++--
srcpkgs/gamemode/template | 2 +-
srcpkgs/inih-devel | 1 +
srcpkgs/inih/template | 28 ++++++++++++++++++++++++++++
4 files changed, 32 insertions(+), 3 deletions(-)
create mode 120000 srcpkgs/inih-devel
create mode 100644 srcpkgs/inih/template
diff --git a/common/shlibs b/common/shlibs
index 62838aaf0f9..bba633040a0 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -493,8 +493,6 @@ 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 gamemode-1.5.1_1
-libgamemodeauto.so.0 gamemode-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
@@ -2317,6 +2315,8 @@ libct.so.4 freetds-0.95.19_1
libsybdb.so.5 freetds-0.95.19_1
libqqwing.so.2 qqwing-1.3.4_1
libiniparser.so.1 iniparser-4.1_1
+libinih.so.0 inih-r48_1
+libINIReader.so.0 inih-r48_1
libzita-resampler.so.1 zita-resampler-1.3.0_1
libmlt.so.6 mlt-6.4.1_1
libmlt++.so.3 mlt-6.4.1_1
diff --git a/srcpkgs/gamemode/template b/srcpkgs/gamemode/template
index 724d686f36b..2b315ff0b73 100644
--- a/srcpkgs/gamemode/template
+++ b/srcpkgs/gamemode/template
@@ -8,7 +8,7 @@ hostmakedepends="git cmake meson ninja pkg-config"
makedepends="inih-devel dbus-devel elogind-devel"
short_desc="Optimise Linux system performance on demand"
maintainer="Hyper-KVM <hyperkvmx86@gmail.com>"
-license="BSD 3-Clause License (Revised)"
+license="BSD-3-Clause"
homepage="https://github.com/FeralInteractive/gamemode"
distfiles="https://github.com/FeralInteractive/gamemode/archive/${version}.tar.gz"
checksum="c510fd1391263c6fa05570de840865b1f0c8d573a7acbf488027327ae5a3bbde"
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..9bdd3f298d0
--- /dev/null
+++ b/srcpkgs/inih/template
@@ -0,0 +1,28 @@
+# Template file for 'inih'
+pkgname=inih
+version=r48
+revision=1
+archs="*"
+build_style=meson
+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="e4596c6bdae4df80765aa40eed2fa7df0eb7fef03cedd8da67e8e8061db3fbd8"
+
+post_install() {
+ vlicense LICENSE.txt
+}
+
+inih-devel_package() {
+ short_desc+=" - development files"
+ depends="inih"
+ pkg_install() {
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "/usr/lib/*.so"
+ vmove usr/lib/pkgconfig
+ }
+}
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PR PATCH] [Updated] New package: gamemode-1.5.1
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20424@inbox.vuxu.org>
` (7 preceding siblings ...)
2020-04-03 2:15 ` [PR PATCH] [Updated] " Hyper-KVM
@ 2020-04-03 2:33 ` Hyper-KVM
2020-04-03 5:54 ` toluschr
` (5 subsequent siblings)
14 siblings, 0 replies; 23+ messages in thread
From: Hyper-KVM @ 2020-04-03 2:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 322 bytes --]
There is an updated pull request by Hyper-KVM against master on the void-packages repository
https://github.com/Hyper-KVM/void-packages gamemode
https://github.com/void-linux/void-packages/pull/20424
New package: gamemode-1.5.1
A patch file from https://github.com/void-linux/void-packages/pull/20424.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gamemode-20424.patch --]
[-- Type: text/x-diff, Size: 5723 bytes --]
From 64589bba91369322e85c27804a8b983eadfd6971 Mon Sep 17 00:00:00 2001
From: Hyper-KVM <hyperkvmx86@gmail.com>
Date: Fri, 27 Mar 2020 17:40:10 -0400
Subject: [PATCH 1/2] New package: gamemode-1.5.1
---
common/shlibs | 2 ++
srcpkgs/gamemode/template | 38 ++++++++++++++++++++++++++++++++++++++
srcpkgs/libgamemode | 1 +
srcpkgs/libgamemode-devel | 1 +
4 files changed, 42 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 938781153e2..62838aaf0f9 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -493,6 +493,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 gamemode-1.5.1_1
+libgamemodeauto.so.0 gamemode-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..b65a9e68f2e
--- /dev/null
+++ b/srcpkgs/gamemode/template
@@ -0,0 +1,38 @@
+# Template file for 'gamemode'
+pkgname=gamemode
+version=1.5.1
+revision=1
+build_style=meson
+configure_args="-Dwith-systemd=false -Dwith-dbus-service-dir=/usr/share/dbus-1/services"
+hostmakedepends="git cmake meson ninja pkg-config"
+makedepends="inih-devel dbus-devel elogind-devel"
+depends="libgamemode polkit"
+short_desc="Optimise Linux system performance on demand"
+maintainer="Hyper-KVM <hyperkvmx86@gmail.com>"
+license="BSD 3-Clause License (Revised)"
+homepage="https://github.com/FeralInteractive/gamemode"
+distfiles="https://github.com/FeralInteractive/gamemode/archive/${version}.tar.gz"
+checksum="c510fd1391263c6fa05570de840865b1f0c8d573a7acbf488027327ae5a3bbde"
+subpackages="libgamemode libgamemode-devel"
+
+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="libgamemode"
+ pkg_install() {
+ vmove "usr/lib/*.so"
+ vmove usr/lib/pkgconfig
+ 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 16ad4679c83f55f2b44b8ce93113257d231cbb9e Mon Sep 17 00:00:00 2001
From: Hyper-KVM <hyperkvmx86@gmail.com>
Date: Sat, 28 Mar 2020 14:00:21 -0400
Subject: [PATCH 2/2] New package: inih-r48
---
common/shlibs | 4 ++--
srcpkgs/gamemode/template | 2 +-
srcpkgs/inih-devel | 1 +
srcpkgs/inih/template | 28 ++++++++++++++++++++++++++++
4 files changed, 32 insertions(+), 3 deletions(-)
create mode 120000 srcpkgs/inih-devel
create mode 100644 srcpkgs/inih/template
diff --git a/common/shlibs b/common/shlibs
index 62838aaf0f9..bba633040a0 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -493,8 +493,6 @@ 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 gamemode-1.5.1_1
-libgamemodeauto.so.0 gamemode-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
@@ -2317,6 +2315,8 @@ libct.so.4 freetds-0.95.19_1
libsybdb.so.5 freetds-0.95.19_1
libqqwing.so.2 qqwing-1.3.4_1
libiniparser.so.1 iniparser-4.1_1
+libinih.so.0 inih-r48_1
+libINIReader.so.0 inih-r48_1
libzita-resampler.so.1 zita-resampler-1.3.0_1
libmlt.so.6 mlt-6.4.1_1
libmlt++.so.3 mlt-6.4.1_1
diff --git a/srcpkgs/gamemode/template b/srcpkgs/gamemode/template
index b65a9e68f2e..e486ac704c4 100644
--- a/srcpkgs/gamemode/template
+++ b/srcpkgs/gamemode/template
@@ -9,7 +9,7 @@ makedepends="inih-devel dbus-devel elogind-devel"
depends="libgamemode polkit"
short_desc="Optimise Linux system performance on demand"
maintainer="Hyper-KVM <hyperkvmx86@gmail.com>"
-license="BSD 3-Clause License (Revised)"
+license="BSD-3-Clause"
homepage="https://github.com/FeralInteractive/gamemode"
distfiles="https://github.com/FeralInteractive/gamemode/archive/${version}.tar.gz"
checksum="c510fd1391263c6fa05570de840865b1f0c8d573a7acbf488027327ae5a3bbde"
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..9bdd3f298d0
--- /dev/null
+++ b/srcpkgs/inih/template
@@ -0,0 +1,28 @@
+# Template file for 'inih'
+pkgname=inih
+version=r48
+revision=1
+archs="*"
+build_style=meson
+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="e4596c6bdae4df80765aa40eed2fa7df0eb7fef03cedd8da67e8e8061db3fbd8"
+
+post_install() {
+ vlicense LICENSE.txt
+}
+
+inih-devel_package() {
+ short_desc+=" - development files"
+ depends="inih"
+ pkg_install() {
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "/usr/lib/*.so"
+ vmove usr/lib/pkgconfig
+ }
+}
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: New package: gamemode-1.5.1
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20424@inbox.vuxu.org>
` (8 preceding siblings ...)
2020-04-03 2:33 ` Hyper-KVM
@ 2020-04-03 5:54 ` toluschr
2020-04-03 6:41 ` xtraeme
` (4 subsequent siblings)
14 siblings, 0 replies; 23+ messages in thread
From: toluschr @ 2020-04-03 5:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 427 bytes --]
New comment by toluschr on void-packages repository
https://github.com/void-linux/void-packages/pull/20424#issuecomment-608244284
Comment:
Lutris preloads `libgamemodeauto.so` instead of `libgamemodeauto.so.0`.
When this gets merged, lutris would depend on `libgamemode-devel`.
This might probably be worth adding to the wiki page, or creating a patch for the lutris package.
@duncaen Please tell me what you would prefer.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: New package: gamemode-1.5.1
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20424@inbox.vuxu.org>
` (9 preceding siblings ...)
2020-04-03 5:54 ` toluschr
@ 2020-04-03 6:41 ` xtraeme
2020-04-03 7:50 ` toluschr
` (3 subsequent siblings)
14 siblings, 0 replies; 23+ messages in thread
From: xtraeme @ 2020-04-03 6:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 202 bytes --]
New comment by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/pull/20424#issuecomment-608259012
Comment:
In this case the .so symlink might be moved to the main pkg.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: New package: gamemode-1.5.1
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20424@inbox.vuxu.org>
` (10 preceding siblings ...)
2020-04-03 6:41 ` xtraeme
@ 2020-04-03 7:50 ` toluschr
2020-04-03 7:52 ` xtraeme
` (2 subsequent siblings)
14 siblings, 0 replies; 23+ messages in thread
From: toluschr @ 2020-04-03 7:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 938 bytes --]
New comment by toluschr on void-packages repository
https://github.com/void-linux/void-packages/pull/20424#issuecomment-608285454
Comment:
The patch for lutris would be rather simple
```patch
--- lutris/game.py
+++ lutris/game.py
@@ -513,7 +513,7 @@ class Game(GObject.Object):
env["LD_PRELOAD"] = ":".join(
[
path
- for path in [env.get("LD_PRELOAD"), "libgamemodeauto.so", ]
+ for path in [env.get("LD_PRELOAD"), "libgamemodeauto.so.0", ]
if path
]
)
--- lutris/util/linux.py
+++ lutris/util/linux.py
@@ -78,7 +78,7 @@ SYSTEM_COMPONENTS = {
"VULKAN": ["libvulkan.so.1"],
"WINE": ["libsqlite3.so.0"],
"RADEON": ["libvulkan_radeon.so"],
- "GAMEMODE": ["libgamemodeauto.so"],
+ "GAMEMODE": ["libgamemodeauto.so.0"],
},
}
```
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: New package: gamemode-1.5.1
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20424@inbox.vuxu.org>
` (11 preceding siblings ...)
2020-04-03 7:50 ` toluschr
@ 2020-04-03 7:52 ` xtraeme
2020-04-04 15:35 ` [PR PATCH] [Updated] " Hyper-KVM
2020-04-25 15:59 ` [PR PATCH] [Closed]: " Hyper-KVM
14 siblings, 0 replies; 23+ messages in thread
From: xtraeme @ 2020-04-03 7:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 167 bytes --]
New comment by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/pull/20424#issuecomment-608286306
Comment:
@toluschr :+1: much better
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PR PATCH] [Updated] New package: gamemode-1.5.1
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20424@inbox.vuxu.org>
` (12 preceding siblings ...)
2020-04-03 7:52 ` xtraeme
@ 2020-04-04 15:35 ` Hyper-KVM
2020-04-25 15:59 ` [PR PATCH] [Closed]: " Hyper-KVM
14 siblings, 0 replies; 23+ messages in thread
From: Hyper-KVM @ 2020-04-04 15:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 322 bytes --]
There is an updated pull request by Hyper-KVM against master on the void-packages repository
https://github.com/Hyper-KVM/void-packages gamemode
https://github.com/void-linux/void-packages/pull/20424
New package: gamemode-1.5.1
A patch file from https://github.com/void-linux/void-packages/pull/20424.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gamemode-20424.patch --]
[-- Type: text/x-diff, Size: 5689 bytes --]
From 04eda9faa7a0d98fc38929a248c883c46c63d7ed Mon Sep 17 00:00:00 2001
From: Hyper-KVM <hyperkvmx86@gmail.com>
Date: Fri, 27 Mar 2020 17:40:10 -0400
Subject: [PATCH 1/2] New package: gamemode-1.5.1
---
common/shlibs | 2 ++
srcpkgs/gamemode/template | 37 +++++++++++++++++++++++++++++++++++++
srcpkgs/libgamemode | 1 +
srcpkgs/libgamemode-devel | 1 +
4 files changed, 41 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 938781153e2..62838aaf0f9 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -493,6 +493,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 gamemode-1.5.1_1
+libgamemodeauto.so.0 gamemode-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..268c3ee7e99
--- /dev/null
+++ b/srcpkgs/gamemode/template
@@ -0,0 +1,37 @@
+# Template file for 'gamemode'
+pkgname=gamemode
+version=1.5.1
+revision=1
+build_style=meson
+configure_args="-Dwith-systemd=false -Dwith-dbus-service-dir=/usr/share/dbus-1/services"
+hostmakedepends="git cmake meson ninja pkg-config"
+makedepends="inih-devel dbus-devel elogind-devel"
+depends="libgamemode polkit"
+short_desc="Optimise Linux system performance on demand"
+maintainer="Hyper-KVM <hyperkvmx86@gmail.com>"
+license="BSD 3-Clause License (Revised)"
+homepage="https://github.com/FeralInteractive/gamemode"
+distfiles="https://github.com/FeralInteractive/gamemode/archive/${version}.tar.gz"
+checksum="c510fd1391263c6fa05570de840865b1f0c8d573a7acbf488027327ae5a3bbde"
+
+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="libgamemode"
+ pkg_install() {
+ vmove "usr/lib/*.so"
+ vmove usr/lib/pkgconfig
+ 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 b7186158f17bb82eabfc1f58e065d3808ef34dff Mon Sep 17 00:00:00 2001
From: Hyper-KVM <hyperkvmx86@gmail.com>
Date: Sat, 28 Mar 2020 14:00:21 -0400
Subject: [PATCH 2/2] New package: inih-r48
---
common/shlibs | 4 ++--
srcpkgs/gamemode/template | 2 +-
srcpkgs/inih-devel | 1 +
srcpkgs/inih/template | 27 +++++++++++++++++++++++++++
4 files changed, 31 insertions(+), 3 deletions(-)
create mode 120000 srcpkgs/inih-devel
create mode 100644 srcpkgs/inih/template
diff --git a/common/shlibs b/common/shlibs
index 62838aaf0f9..bba633040a0 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -493,8 +493,6 @@ 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 gamemode-1.5.1_1
-libgamemodeauto.so.0 gamemode-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
@@ -2317,6 +2315,8 @@ libct.so.4 freetds-0.95.19_1
libsybdb.so.5 freetds-0.95.19_1
libqqwing.so.2 qqwing-1.3.4_1
libiniparser.so.1 iniparser-4.1_1
+libinih.so.0 inih-r48_1
+libINIReader.so.0 inih-r48_1
libzita-resampler.so.1 zita-resampler-1.3.0_1
libmlt.so.6 mlt-6.4.1_1
libmlt++.so.3 mlt-6.4.1_1
diff --git a/srcpkgs/gamemode/template b/srcpkgs/gamemode/template
index 268c3ee7e99..5cca6eb6acd 100644
--- a/srcpkgs/gamemode/template
+++ b/srcpkgs/gamemode/template
@@ -9,7 +9,7 @@ makedepends="inih-devel dbus-devel elogind-devel"
depends="libgamemode polkit"
short_desc="Optimise Linux system performance on demand"
maintainer="Hyper-KVM <hyperkvmx86@gmail.com>"
-license="BSD 3-Clause License (Revised)"
+license="BSD-3-Clause"
homepage="https://github.com/FeralInteractive/gamemode"
distfiles="https://github.com/FeralInteractive/gamemode/archive/${version}.tar.gz"
checksum="c510fd1391263c6fa05570de840865b1f0c8d573a7acbf488027327ae5a3bbde"
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..18cd927f48b
--- /dev/null
+++ b/srcpkgs/inih/template
@@ -0,0 +1,27 @@
+# Template file for 'inih'
+pkgname=inih
+version=r48
+revision=1
+build_style=meson
+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="e4596c6bdae4df80765aa40eed2fa7df0eb7fef03cedd8da67e8e8061db3fbd8"
+
+post_install() {
+ vlicense LICENSE.txt
+}
+
+inih-devel_package() {
+ short_desc+=" - development files"
+ depends="inih>=${version}_${revision}"
+ pkg_install() {
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "/usr/lib/*.so"
+ vmove usr/lib/pkgconfig
+ }
+}
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PR PATCH] [Closed]: New package: gamemode-1.5.1
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20424@inbox.vuxu.org>
` (13 preceding siblings ...)
2020-04-04 15:35 ` [PR PATCH] [Updated] " Hyper-KVM
@ 2020-04-25 15:59 ` Hyper-KVM
14 siblings, 0 replies; 23+ messages in thread
From: Hyper-KVM @ 2020-04-25 15:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 161 bytes --]
There's a closed pull request on the void-packages repository
New package: gamemode-1.5.1
https://github.com/void-linux/void-packages/pull/20424
Description:
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PR PATCH] [Updated] New package: gamemode-1.5.1
2020-05-25 17:59 [PR PATCH] " toluschr
` (2 preceding siblings ...)
2020-09-13 17:50 ` toluschr
@ 2020-09-13 17:55 ` toluschr
3 siblings, 0 replies; 23+ 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] 23+ messages in thread
* Re: [PR PATCH] [Updated] New package: gamemode-1.5.1
2020-05-25 17:59 [PR PATCH] " toluschr
2020-05-25 18:10 ` [PR PATCH] [Updated] " toluschr
2020-09-13 17:46 ` toluschr
@ 2020-09-13 17:50 ` toluschr
2020-09-13 17:55 ` toluschr
3 siblings, 0 replies; 23+ 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] 23+ messages in thread
* Re: [PR PATCH] [Updated] New package: gamemode-1.5.1
2020-05-25 17:59 [PR PATCH] " toluschr
2020-05-25 18:10 ` [PR PATCH] [Updated] " toluschr
@ 2020-09-13 17:46 ` toluschr
2020-09-13 17:50 ` toluschr
2020-09-13 17:55 ` toluschr
3 siblings, 0 replies; 23+ 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] 23+ messages in thread
* Re: [PR PATCH] [Updated] New package: gamemode-1.5.1
2020-05-25 17:59 [PR PATCH] " toluschr
@ 2020-05-25 18:10 ` toluschr
2020-09-13 17:46 ` toluschr
` (2 subsequent siblings)
3 siblings, 0 replies; 23+ 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] 23+ messages in thread
* Re: [PR PATCH] [Updated] New package: gamemode-1.5.1
2020-04-04 18:08 [PR PATCH] " toluschr
` (2 preceding siblings ...)
2020-04-21 18:14 ` toluschr
@ 2020-05-25 13:53 ` toluschr
3 siblings, 0 replies; 23+ messages in thread
From: toluschr @ 2020-05-25 13:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 468 bytes --]
There is an updated pull request by toluschr against master on the void-packages repository
https://github.com/toluschr/void-packages add-gamemode
https://github.com/void-linux/void-packages/pull/20653
New package: gamemode-1.5.1
I had nothing else to do, so I fetched Hyper-KVM's PR (#20424), added the lutris patch and made the changes requested by @Duncaen and @Chocimier
A patch file from https://github.com/void-linux/void-packages/pull/20653.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-add-gamemode-20653.patch --]
[-- Type: text/x-diff, Size: 5439 bytes --]
From 22f9bd64467e2c11c1bd6c623b60ae26fddefb31 Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Fri, 8 May 2020 18:37:05 +0200
Subject: [PATCH 1/2] New package: inih-r48
---
common/shlibs | 2 ++
srcpkgs/inih-devel | 1 +
srcpkgs/inih/template | 27 +++++++++++++++++++++++++++
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 fa8af66f925..355bcbf22da 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2322,6 +2322,8 @@ libct.so.4 freetds-0.95.19_1
libsybdb.so.5 freetds-0.95.19_1
libqqwing.so.2 qqwing-1.3.4_1
libiniparser.so.1 iniparser-4.1_1
+libinih.so.0 inih-r48_1
+libINIReader.so.0 inih-r48_1
libzita-resampler.so.1 zita-resampler-1.3.0_1
libmlt.so.6 mlt-6.4.1_1
libmlt++.so.3 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..6ad3298b6f2
--- /dev/null
+++ b/srcpkgs/inih/template
@@ -0,0 +1,27 @@
+# Template file for 'inih'
+pkgname=inih
+version=r48
+revision=1
+build_style=meson
+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=e4596c6bdae4df80765aa40eed2fa7df0eb7fef03cedd8da67e8e8061db3fbd8
+
+post_install() {
+ vlicense LICENSE.txt
+}
+
+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
+ }
+}
From 89d6f2c8097cf95dc442a698e5045d9dbe93d236 Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Fri, 8 May 2020 18:38:14 +0200
Subject: [PATCH 2/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 355bcbf22da..d5d61f3f80b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -491,6 +491,8 @@ libxencall.so.1 xen-libs-4.10.0_1
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
+libgamemode.so.0 libgamemode-1.5.1_1
+libgamemodeauto.so.0 libgamemode-1.5.1_1
libfam.so.0 gamin-0.1.10_1
libgamin-1.so.0 gamin-0.1.10_1
libKF5SyntaxHighlighting.so.5 syntax-highlighting-5.29.0_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
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PR PATCH] [Updated] New package: gamemode-1.5.1
2020-04-04 18:08 [PR PATCH] " toluschr
2020-04-19 9:59 ` [PR PATCH] [Updated] " toluschr
2020-04-21 18:13 ` toluschr
@ 2020-04-21 18:14 ` toluschr
2020-05-25 13:53 ` toluschr
3 siblings, 0 replies; 23+ messages in thread
From: toluschr @ 2020-04-21 18:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 468 bytes --]
There is an updated pull request by toluschr against master on the void-packages repository
https://github.com/toluschr/void-packages add-gamemode
https://github.com/void-linux/void-packages/pull/20653
New package: gamemode-1.5.1
I had nothing else to do, so I fetched Hyper-KVM's PR (#20424), added the lutris patch and made the changes requested by @Duncaen and @Chocimier
A patch file from https://github.com/void-linux/void-packages/pull/20653.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-add-gamemode-20653.patch --]
[-- Type: text/x-diff, Size: 7229 bytes --]
From 3f1f4f4ef123b7ef0426b4279041e0f95fa23acd Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Sat, 4 Apr 2020 18:53:24 +0200
Subject: [PATCH 1/3] New package: inih-r48
---
common/shlibs | 2 ++
srcpkgs/inih-devel | 1 +
srcpkgs/inih/template | 27 +++++++++++++++++++++++++++
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 14e6c812fe2..46d97f0701e 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2322,6 +2322,8 @@ libct.so.4 freetds-0.95.19_1
libsybdb.so.5 freetds-0.95.19_1
libqqwing.so.2 qqwing-1.3.4_1
libiniparser.so.1 iniparser-4.1_1
+libinih.so.0 inih-r48_1
+libINIReader.so.0 inih-r48_1
libzita-resampler.so.1 zita-resampler-1.3.0_1
libmlt.so.6 mlt-6.4.1_1
libmlt++.so.3 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..6ad3298b6f2
--- /dev/null
+++ b/srcpkgs/inih/template
@@ -0,0 +1,27 @@
+# Template file for 'inih'
+pkgname=inih
+version=r48
+revision=1
+build_style=meson
+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=e4596c6bdae4df80765aa40eed2fa7df0eb7fef03cedd8da67e8e8061db3fbd8
+
+post_install() {
+ vlicense LICENSE.txt
+}
+
+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
+ }
+}
From a3bcac3d464afcd401f053bb6a66423c70da4c10 Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Sat, 4 Apr 2020 19:00:23 +0200
Subject: [PATCH 2/3] New package: gamemode-1.5.1
---
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 46d97f0701e..f8d75616275 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -493,6 +493,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..553d2c22a97
--- /dev/null
+++ b/srcpkgs/gamemode/template
@@ -0,0 +1,37 @@
+# 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/*.so"
+ 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 bc575fe27a256933d3f6b65ecdadbdd1f71070aa Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Sat, 4 Apr 2020 18:57:35 +0200
Subject: [PATCH 3/3] lutris: Preload correct gamemode shlib
---
srcpkgs/lutris/patches/001-fix-gamemode.patch | 22 +++++++++++++++++++
srcpkgs/lutris/template | 2 +-
2 files changed, 23 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/lutris/patches/001-fix-gamemode.patch
diff --git a/srcpkgs/lutris/patches/001-fix-gamemode.patch b/srcpkgs/lutris/patches/001-fix-gamemode.patch
new file mode 100644
index 00000000000..d768b0f6abd
--- /dev/null
+++ b/srcpkgs/lutris/patches/001-fix-gamemode.patch
@@ -0,0 +1,22 @@
+--- lutris/game.py
++++ lutris/game.py
+@@ -513,7 +513,7 @@ class Game(GObject.Object):
+ env["LD_PRELOAD"] = ":".join(
+ [
+ path
+- for path in [env.get("LD_PRELOAD"), "libgamemodeauto.so", ]
++ for path in [env.get("LD_PRELOAD"), "libgamemodeauto.so.0", ]
+ if path
+ ]
+ )
+
+--- lutris/util/linux.py
++++ lutris/util/linux.py
+@@ -78,7 +78,7 @@ SYSTEM_COMPONENTS = {
+ "VULKAN": ["libvulkan.so.1"],
+ "WINE": ["libsqlite3.so.0"],
+ "RADEON": ["libvulkan_radeon.so"],
+- "GAMEMODE": ["libgamemodeauto.so"],
++ "GAMEMODE": ["libgamemodeauto.so.0"],
+ },
+ }
diff --git a/srcpkgs/lutris/template b/srcpkgs/lutris/template
index 7f7373a8be3..fe6544ba5c7 100644
--- a/srcpkgs/lutris/template
+++ b/srcpkgs/lutris/template
@@ -1,7 +1,7 @@
# Template file for 'lutris'
pkgname=lutris
version=0.5.5
-revision=1
+revision=2
archs=noarch
build_style=python3-module
build_helper="gir"
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PR PATCH] [Updated] New package: gamemode-1.5.1
2020-04-04 18:08 [PR PATCH] " toluschr
2020-04-19 9:59 ` [PR PATCH] [Updated] " toluschr
@ 2020-04-21 18:13 ` toluschr
2020-04-21 18:14 ` toluschr
2020-05-25 13:53 ` toluschr
3 siblings, 0 replies; 23+ messages in thread
From: toluschr @ 2020-04-21 18:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 468 bytes --]
There is an updated pull request by toluschr against master on the void-packages repository
https://github.com/toluschr/void-packages add-gamemode
https://github.com/void-linux/void-packages/pull/20653
New package: gamemode-1.5.1
I had nothing else to do, so I fetched Hyper-KVM's PR (#20424), added the lutris patch and made the changes requested by @Duncaen and @Chocimier
A patch file from https://github.com/void-linux/void-packages/pull/20653.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-add-gamemode-20653.patch --]
[-- Type: text/x-diff, Size: 7229 bytes --]
From 3f1f4f4ef123b7ef0426b4279041e0f95fa23acd Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Sat, 4 Apr 2020 18:53:24 +0200
Subject: [PATCH 1/3] New package: inih-r48
---
common/shlibs | 2 ++
srcpkgs/inih-devel | 1 +
srcpkgs/inih/template | 27 +++++++++++++++++++++++++++
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 14e6c812fe2..46d97f0701e 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2322,6 +2322,8 @@ libct.so.4 freetds-0.95.19_1
libsybdb.so.5 freetds-0.95.19_1
libqqwing.so.2 qqwing-1.3.4_1
libiniparser.so.1 iniparser-4.1_1
+libinih.so.0 inih-r48_1
+libINIReader.so.0 inih-r48_1
libzita-resampler.so.1 zita-resampler-1.3.0_1
libmlt.so.6 mlt-6.4.1_1
libmlt++.so.3 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..6ad3298b6f2
--- /dev/null
+++ b/srcpkgs/inih/template
@@ -0,0 +1,27 @@
+# Template file for 'inih'
+pkgname=inih
+version=r48
+revision=1
+build_style=meson
+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=e4596c6bdae4df80765aa40eed2fa7df0eb7fef03cedd8da67e8e8061db3fbd8
+
+post_install() {
+ vlicense LICENSE.txt
+}
+
+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
+ }
+}
From a3bcac3d464afcd401f053bb6a66423c70da4c10 Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Sat, 4 Apr 2020 19:00:23 +0200
Subject: [PATCH 2/3] New package: gamemode-1.5.1
---
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 46d97f0701e..f8d75616275 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -493,6 +493,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..553d2c22a97
--- /dev/null
+++ b/srcpkgs/gamemode/template
@@ -0,0 +1,37 @@
+# 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/*.so"
+ 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 bc575fe27a256933d3f6b65ecdadbdd1f71070aa Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Sat, 4 Apr 2020 18:57:35 +0200
Subject: [PATCH 3/3] lutris: Preload correct gamemode shlib
---
srcpkgs/lutris/patches/001-fix-gamemode.patch | 22 +++++++++++++++++++
srcpkgs/lutris/template | 2 +-
2 files changed, 23 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/lutris/patches/001-fix-gamemode.patch
diff --git a/srcpkgs/lutris/patches/001-fix-gamemode.patch b/srcpkgs/lutris/patches/001-fix-gamemode.patch
new file mode 100644
index 00000000000..d768b0f6abd
--- /dev/null
+++ b/srcpkgs/lutris/patches/001-fix-gamemode.patch
@@ -0,0 +1,22 @@
+--- lutris/game.py
++++ lutris/game.py
+@@ -513,7 +513,7 @@ class Game(GObject.Object):
+ env["LD_PRELOAD"] = ":".join(
+ [
+ path
+- for path in [env.get("LD_PRELOAD"), "libgamemodeauto.so", ]
++ for path in [env.get("LD_PRELOAD"), "libgamemodeauto.so.0", ]
+ if path
+ ]
+ )
+
+--- lutris/util/linux.py
++++ lutris/util/linux.py
+@@ -78,7 +78,7 @@ SYSTEM_COMPONENTS = {
+ "VULKAN": ["libvulkan.so.1"],
+ "WINE": ["libsqlite3.so.0"],
+ "RADEON": ["libvulkan_radeon.so"],
+- "GAMEMODE": ["libgamemodeauto.so"],
++ "GAMEMODE": ["libgamemodeauto.so.0"],
+ },
+ }
diff --git a/srcpkgs/lutris/template b/srcpkgs/lutris/template
index 7f7373a8be3..fe6544ba5c7 100644
--- a/srcpkgs/lutris/template
+++ b/srcpkgs/lutris/template
@@ -1,7 +1,7 @@
# Template file for 'lutris'
pkgname=lutris
version=0.5.5
-revision=1
+revision=2
archs=noarch
build_style=python3-module
build_helper="gir"
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PR PATCH] [Updated] New package: gamemode-1.5.1
2020-04-04 18:08 [PR PATCH] " toluschr
@ 2020-04-19 9:59 ` toluschr
2020-04-21 18:13 ` toluschr
` (2 subsequent siblings)
3 siblings, 0 replies; 23+ messages in thread
From: toluschr @ 2020-04-19 9:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 468 bytes --]
There is an updated pull request by toluschr against master on the void-packages repository
https://github.com/toluschr/void-packages add-gamemode
https://github.com/void-linux/void-packages/pull/20653
New package: gamemode-1.5.1
I had nothing else to do, so I fetched Hyper-KVM's PR (#20424), added the lutris patch and made the changes requested by @Duncaen and @Chocimier
A patch file from https://github.com/void-linux/void-packages/pull/20653.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-add-gamemode-20653.patch --]
[-- Type: text/x-diff, Size: 7229 bytes --]
From 3f1f4f4ef123b7ef0426b4279041e0f95fa23acd Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Sat, 4 Apr 2020 18:53:24 +0200
Subject: [PATCH 1/3] New package: inih-r48
---
common/shlibs | 2 ++
srcpkgs/inih-devel | 1 +
srcpkgs/inih/template | 27 +++++++++++++++++++++++++++
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 14e6c812fe2..46d97f0701e 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2322,6 +2322,8 @@ libct.so.4 freetds-0.95.19_1
libsybdb.so.5 freetds-0.95.19_1
libqqwing.so.2 qqwing-1.3.4_1
libiniparser.so.1 iniparser-4.1_1
+libinih.so.0 inih-r48_1
+libINIReader.so.0 inih-r48_1
libzita-resampler.so.1 zita-resampler-1.3.0_1
libmlt.so.6 mlt-6.4.1_1
libmlt++.so.3 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..6ad3298b6f2
--- /dev/null
+++ b/srcpkgs/inih/template
@@ -0,0 +1,27 @@
+# Template file for 'inih'
+pkgname=inih
+version=r48
+revision=1
+build_style=meson
+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=e4596c6bdae4df80765aa40eed2fa7df0eb7fef03cedd8da67e8e8061db3fbd8
+
+post_install() {
+ vlicense LICENSE.txt
+}
+
+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
+ }
+}
From a3bcac3d464afcd401f053bb6a66423c70da4c10 Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Sat, 4 Apr 2020 19:00:23 +0200
Subject: [PATCH 2/3] New package: gamemode-1.5.1
---
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 46d97f0701e..f8d75616275 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -493,6 +493,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..553d2c22a97
--- /dev/null
+++ b/srcpkgs/gamemode/template
@@ -0,0 +1,37 @@
+# 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/*.so"
+ 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 bc575fe27a256933d3f6b65ecdadbdd1f71070aa Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Sat, 4 Apr 2020 18:57:35 +0200
Subject: [PATCH 3/3] lutris: Preload correct gamemode shlib
---
srcpkgs/lutris/patches/001-fix-gamemode.patch | 22 +++++++++++++++++++
srcpkgs/lutris/template | 2 +-
2 files changed, 23 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/lutris/patches/001-fix-gamemode.patch
diff --git a/srcpkgs/lutris/patches/001-fix-gamemode.patch b/srcpkgs/lutris/patches/001-fix-gamemode.patch
new file mode 100644
index 00000000000..d768b0f6abd
--- /dev/null
+++ b/srcpkgs/lutris/patches/001-fix-gamemode.patch
@@ -0,0 +1,22 @@
+--- lutris/game.py
++++ lutris/game.py
+@@ -513,7 +513,7 @@ class Game(GObject.Object):
+ env["LD_PRELOAD"] = ":".join(
+ [
+ path
+- for path in [env.get("LD_PRELOAD"), "libgamemodeauto.so", ]
++ for path in [env.get("LD_PRELOAD"), "libgamemodeauto.so.0", ]
+ if path
+ ]
+ )
+
+--- lutris/util/linux.py
++++ lutris/util/linux.py
+@@ -78,7 +78,7 @@ SYSTEM_COMPONENTS = {
+ "VULKAN": ["libvulkan.so.1"],
+ "WINE": ["libsqlite3.so.0"],
+ "RADEON": ["libvulkan_radeon.so"],
+- "GAMEMODE": ["libgamemodeauto.so"],
++ "GAMEMODE": ["libgamemodeauto.so.0"],
+ },
+ }
diff --git a/srcpkgs/lutris/template b/srcpkgs/lutris/template
index 7f7373a8be3..fe6544ba5c7 100644
--- a/srcpkgs/lutris/template
+++ b/srcpkgs/lutris/template
@@ -1,7 +1,7 @@
# Template file for 'lutris'
pkgname=lutris
version=0.5.5
-revision=1
+revision=2
archs=noarch
build_style=python3-module
build_helper="gir"
^ permalink raw reply [flat|nested] 23+ messages in thread
end of thread, other threads:[~2020-09-13 17:55 UTC | newest]
Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20424@inbox.vuxu.org>
2020-03-28 20:48 ` New package: gamemode-1.5.1 Hyper-KVM
2020-03-31 6:56 ` Hyper-KVM
2020-04-02 9:10 ` toluschr
2020-04-02 9:19 ` toluschr
2020-04-02 21:49 ` [PR PATCH] [Updated] " Hyper-KVM
2020-04-02 21:50 ` Hyper-KVM
2020-04-02 21:50 ` Hyper-KVM
2020-04-03 2:15 ` [PR PATCH] [Updated] " Hyper-KVM
2020-04-03 2:33 ` Hyper-KVM
2020-04-03 5:54 ` toluschr
2020-04-03 6:41 ` xtraeme
2020-04-03 7:50 ` toluschr
2020-04-03 7:52 ` xtraeme
2020-04-04 15:35 ` [PR PATCH] [Updated] " Hyper-KVM
2020-04-25 15:59 ` [PR PATCH] [Closed]: " Hyper-KVM
2020-04-04 18:08 [PR PATCH] " toluschr
2020-04-19 9:59 ` [PR PATCH] [Updated] " toluschr
2020-04-21 18:13 ` toluschr
2020-04-21 18:14 ` toluschr
2020-05-25 13:53 ` toluschr
2020-05-25 17:59 [PR PATCH] " toluschr
2020-05-25 18:10 ` [PR PATCH] [Updated] " toluschr
2020-09-13 17:46 ` toluschr
2020-09-13 17:50 ` toluschr
2020-09-13 17:55 ` 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).