From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/files/, app-misc/openrgb/
Date: Sun, 27 Nov 2022 21:09:37 +0000 (UTC) [thread overview]
Message-ID: <1669583368.cea9a32d1acd79e89520b6aa6f6a550f3372af11.andrewammerlaan@gentoo> (raw)
commit: cea9a32d1acd79e89520b6aa6f6a550f3372af11
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 26 16:16:48 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Nov 27 21:09:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cea9a32d
app-misc/openrgb: update patch in 9999 ebuild
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/28439
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
app-misc/openrgb/files/OpenRGB-0.8-plugins.patch | 26 ++++++++++++++++++++++++
app-misc/openrgb/openrgb-9999.ebuild | 2 +-
2 files changed, 27 insertions(+), 1 deletion(-)
diff --git a/app-misc/openrgb/files/OpenRGB-0.8-plugins.patch b/app-misc/openrgb/files/OpenRGB-0.8-plugins.patch
new file mode 100644
index 000000000000..a2d02cde3c7f
--- /dev/null
+++ b/app-misc/openrgb/files/OpenRGB-0.8-plugins.patch
@@ -0,0 +1,26 @@
+Allow installation of plugins not only in ~/.config
+
+Used by app-misc/openrgb-plugin-* packages
+
+diff --git a/PluginManager.cpp b/PluginManager.cpp
+index 6ccad72c..7b12f32e 100644
+--- a/PluginManager.cpp
++++ b/PluginManager.cpp
+@@ -41,7 +41,8 @@ void PluginManager::ScanAndLoadPlugins()
+ | The plugins directory is a directory named "plugins" in |
+ | the configuration directory |
+ \*---------------------------------------------------------*/
+- const QDir plugins_dir = QString(ResourceManager::get()->GetConfigurationDirectory().c_str()).append(plugins_path);
++ for (const QDir plugins_dir : {QString(ResourceManager::get()->GetConfigurationDirectory().c_str()).append(plugins_path),
++ QString().fromStdString(GENTOO_PLUGINS_DIR)}) {
+ LOG_INFO("[PluginManager] Scanning plugin directory: %s", plugins_dir.absolutePath().toStdString().c_str());
+
+ /*---------------------------------------------------------*\
+@@ -64,6 +65,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 44c450e3c857..74083c048810 100644
--- a/app-misc/openrgb/openrgb-9999.ebuild
+++ b/app-misc/openrgb/openrgb-9999.ebuild
@@ -40,7 +40,7 @@ BDEPEND="
"
PATCHES+=(
- "${FILESDIR}"/OpenRGB-0.7-plugins.patch
+ "${FILESDIR}"/OpenRGB-0.8-plugins.patch
"${FILESDIR}"/OpenRGB-0.7-r1-udev.patch
)
next reply other threads:[~2022-11-27 21:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-27 21:09 Andrew Ammerlaan [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-01-11 22:15 Patrick McLean
2021-09-22 0:05 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=1669583368.cea9a32d1acd79e89520b6aa6f6a550f3372af11.andrewammerlaan@gentoo \
--to=andrewammerlaan@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