From: "Patrick McLean" <chutzpah@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/files/, app-misc/openrgb/
Date: Wed, 22 Sep 2021 00:05:28 +0000 (UTC) [thread overview]
Message-ID: <1632269119.8236ce5cc2b9a7f00d1342da5d3e2504fa1b5101.chutzpah@gentoo> (raw)
commit: 8236ce5cc2b9a7f00d1342da5d3e2504fa1b5101
Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Tue Sep 14 20:14:03 2021 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Wed Sep 22 00:05:19 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8236ce5c
app-misc/openrgb: update live
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
app-misc/openrgb/files/OpenRGB-0.7-plugins.patch | 24 ++++++++++++++++++++++++
app-misc/openrgb/openrgb-9999.ebuild | 3 +--
2 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/app-misc/openrgb/files/OpenRGB-0.7-plugins.patch b/app-misc/openrgb/files/OpenRGB-0.7-plugins.patch
new file mode 100644
index 00000000000..b9a6fb2cd16
--- /dev/null
+++ b/app-misc/openrgb/files/OpenRGB-0.7-plugins.patch
@@ -0,0 +1,24 @@
+Allow installation of plugins not only in ~/.config
+
+Used by app-misc/openrgb-plugin-* packages
+
+--- a/PluginManager.cpp
++++ b/PluginManager.cpp
+@@ -35,7 +35,8 @@ void PluginManager::ScanAndLoadPlugins()
+ | The plugins directory is a directory named "plugins" in |
+ | the configuration directory |
+ \*---------------------------------------------------------*/
+- const QDir plugins_dir = QString().fromStdString(ResourceManager::get()->GetConfigurationDirectory()) + "plugins/";
++ for (const QDir plugins_dir : {QString().fromStdString(ResourceManager::get()->GetConfigurationDirectory()) + "plugins/",
++ QString().fromStdString(GENTOO_PLUGINS_DIR)}) {
+
+ /*---------------------------------------------------------*\
+ | Get a list of all files in the plugins directory |
+@@ -56,6 +57,7 @@ void PluginManager::ScanAndLoadPlugins()
+
+ AddPlugin(plugin_path);
+ }
++ }
+ }
+
+ void PluginManager::AddPlugin(std::string path)
diff --git a/app-misc/openrgb/openrgb-9999.ebuild b/app-misc/openrgb/openrgb-9999.ebuild
index 9ea0dfa538f..a3d6ddefcc4 100644
--- a/app-misc/openrgb/openrgb-9999.ebuild
+++ b/app-misc/openrgb/openrgb-9999.ebuild
@@ -39,8 +39,7 @@ BDEPEND="
"
PATCHES+=(
- "${FILESDIR}"/OpenRGB-0.6-pkgconf.patch
- "${FILESDIR}"/OpenRGB-0.6-plugins.patch
+ "${FILESDIR}"/OpenRGB-0.7-plugins.patch
)
src_prepare() {
next reply other threads:[~2021-09-22 0:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-22 0:05 Patrick McLean [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-07-17 12:33 [gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/files/, app-misc/openrgb/ Maciej Barć
2023-03-28 23:07 Maciej Barć
2023-02-16 21:36 Maciej Barć
2023-01-05 14:31 Maciej Barć
2022-11-27 21:09 Andrew Ammerlaan
2022-01-11 22:15 Patrick McLean
2021-06-22 23:00 Patrick McLean
2021-06-08 23:13 [gentoo-commits] repo/gentoo:master commit in: app-misc/OpenRGB/files/, app-misc/OpenRGB/ Patrick McLean
2021-06-08 23:13 Patrick McLean
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=1632269119.8236ce5cc2b9a7f00d1342da5d3e2504fa1b5101.chutzpah@gentoo \
--to=chutzpah@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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