Github messages for voidlinux
 help / color / mirror / Atom feed
From: toluschr <toluschr@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: gamemode-1.5.1
Date: Sun, 13 Sep 2020 19:55:28 +0200	[thread overview]
Message-ID: <20200913175528.9ULwXSk0EWTo4_y8g7GSP0e2Oh5vYE_WUMTfra2E8hQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22291@inbox.vuxu.org>

[-- 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

  parent reply	other threads:[~2020-09-13 17:55 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-25 17:59 [PR PATCH] " 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 ` toluschr [this message]
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 ` paper42
2022-04-09 10:16 ` [PR PATCH] [Closed]: " paper42
  -- strict thread matches above, loose matches on Subject: below --
2020-04-04 18:08 [PR PATCH] New package: gamemode-1.5.1 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
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20424@inbox.vuxu.org>
2020-04-02 21:49 ` Hyper-KVM
2020-04-03  2:15 ` Hyper-KVM
2020-04-03  2:33 ` Hyper-KVM
2020-04-04 15:35 ` Hyper-KVM

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200913175528.9ULwXSk0EWTo4_y8g7GSP0e2Oh5vYE_WUMTfra2E8hQ@z \
    --to=toluschr@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).