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; 51+ 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] 51+ messages in thread
* [PR PATCH] New package: gamemode-1.6
@ 2022-04-07 21:15 kedodrill
  2022-04-07 21:20 ` RicArch97
  0 siblings, 1 reply; 51+ messages in thread
From: kedodrill @ 2022-04-07 21:15 UTC (permalink / raw)
  To: ml

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

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

https://github.com/kedodrill/void-packages gamemode
https://github.com/void-linux/void-packages/pull/36564

New package: gamemode-1.6
<!-- Uncomment relevant sections and delete options which are not applicable -->

Closes #19288, #22291, #19281, #13246

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): Yes

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, x86_64
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - i686
  - x86_64-musl


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

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

From 0367d114adefc4b28912401614a393fa7b29874b Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Mon, 25 May 2020 19:49:29 +0200
Subject: [PATCH] New package: gamemode-1.6

---
 common/shlibs                               |  2 ++
 srcpkgs/gamemode/patches/001-fix-musl.patch | 10 ++++++
 srcpkgs/gamemode/template                   | 39 +++++++++++++++++++++
 srcpkgs/libgamemode                         |  1 +
 srcpkgs/libgamemode-devel                   |  1 +
 5 files changed, 53 insertions(+)
 create mode 100644 srcpkgs/gamemode/patches/001-fix-musl.patch
 create mode 100644 srcpkgs/gamemode/template
 create mode 120000 srcpkgs/libgamemode
 create mode 120000 srcpkgs/libgamemode-devel

diff --git a/common/shlibs b/common/shlibs
index 848b488bb2d0..fbb1d7f48a6a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3597,6 +3597,8 @@ libgnuradio-nrsc5-1.0.0git.so.0.0.0 gnuradio-nrsc5-1.0.0_1
 libvkd3d-utils.so.1 vkd3d-1.1_1
 libvkd3d-shader.so.1 vkd3d-1.3_1
 libvkd3d.so.1 vkd3d-1.1_1
+libgamemode.so.0 libgamemode-1.6_1
+libgamemodeauto.so.0 libgamemode-1.6_1
 libgaminggear.so.0 libgaminggear-0.15.1_1
 libgaminggearfx.so.0 libgaminggear-0.15.1_1
 libgaminggearwidget.so.0 libgaminggear-0.15.1_1
diff --git a/srcpkgs/gamemode/patches/001-fix-musl.patch b/srcpkgs/gamemode/patches/001-fix-musl.patch
new file mode 100644
index 000000000000..c54c0bad41fe
--- /dev/null
+++ b/srcpkgs/gamemode/patches/001-fix-musl.patch
@@ -0,0 +1,10 @@
+--- a/daemon/gamemode-context.c
++++ b/daemon/gamemode-context.c
+@@ -50,6 +50,7 @@ POSSIBILITY OF SUCH DAMAGE.
+ #include <sys/time.h>
+ #include <systemd/sd-daemon.h> /* TODO: Move usage to gamemode-dbus.c */
+ #include <unistd.h>
++#include <signal.h>
+ 
+ /**
+  * The GameModeClient encapsulates the remote connection, providing a list
diff --git a/srcpkgs/gamemode/template b/srcpkgs/gamemode/template
new file mode 100644
index 000000000000..736870541ef5
--- /dev/null
+++ b/srcpkgs/gamemode/template
@@ -0,0 +1,39 @@
+# Template file for 'gamemode'
+pkgname=gamemode
+version=1.6
+revision=1
+build_style=meson
+configure_args="-Dwith-sd-bus-provider=elogind"
+hostmakedepends="pkg-config"
+makedepends="inih-devel dbus-devel elogind-devel"
+depends="lib${pkgname}>=${version}_${revision}"
+short_desc="Optimise Linux system performance on demand"
+maintainer="Kenneth Dodrill <hello@kennydodrill.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/FeralInteractive/gamemode"
+distfiles="https://github.com/FeralInteractive/gamemode/archive/${version}.tar.gz"
+checksum=fda4abbae12639e0f326b2116d19302f83aad6139996c3823882e7f238e9852b
+
+post_install() {
+	vsconf example/gamemode.ini
+	vlicense LICENSE.txt
+	vdoc README.md
+}
+
+libgamemode_package() {
+	short_desc+=" - shared libraries"
+	pkg_install() {
+		# For compatibility reasons, all shlibs should go in libgamemode
+		vmove "usr/lib/*.so*"
+	}
+}
+
+libgamemode-devel_package() {
+	short_desc+=" - development files"
+	depends="lib${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove usr/include
+	}
+}
diff --git a/srcpkgs/libgamemode b/srcpkgs/libgamemode
new file mode 120000
index 000000000000..d1810c733eb8
--- /dev/null
+++ b/srcpkgs/libgamemode
@@ -0,0 +1 @@
+gamemode
\ No newline at end of file
diff --git a/srcpkgs/libgamemode-devel b/srcpkgs/libgamemode-devel
new file mode 120000
index 000000000000..d1810c733eb8
--- /dev/null
+++ b/srcpkgs/libgamemode-devel
@@ -0,0 +1 @@
+gamemode
\ No newline at end of file

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

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

Thread overview: 51+ 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
2022-04-07 21:15 [PR PATCH] " kedodrill
2022-04-07 21:20 ` RicArch97

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