* [gentoo-commits] repo/proj/guru:master commit in: gui-apps/hyprpaper/files/, gui-apps/hyprpaper/
@ 2024-12-31 20:04 Julien Roy
0 siblings, 0 replies; only message in thread
From: Julien Roy @ 2024-12-31 20:04 UTC (permalink / raw
To: gentoo-commits
commit: b7d4945908ffe2e89a297aa4668329484a366769
Author: John M. Harris Jr. <johnmh <AT> johnmh <DOT> me>
AuthorDate: Tue Dec 31 02:33:06 2024 +0000
Commit: Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Tue Dec 31 02:36:02 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b7d49459
gui-apps/hyprpaper: 0.7.3, patch hyprwayland-scanner
This patch adds support for hyprwayland-scanner 0.4.4,
while still supporting 0.4.2.
Signed-off-by: John M. Harris Jr. <johnmh <AT> johnmh.me>
.../files/hyprpaper-0.7.3-fix-wayland-scanner.patch | 14 ++++++++++++++
.../{hyprpaper-0.7.3.ebuild => hyprpaper-0.7.3-r1.ebuild} | 6 +++++-
gui-apps/hyprpaper/metadata.xml | 4 ++++
3 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/gui-apps/hyprpaper/files/hyprpaper-0.7.3-fix-wayland-scanner.patch b/gui-apps/hyprpaper/files/hyprpaper-0.7.3-fix-wayland-scanner.patch
new file mode 100644
index 000000000..96fa4e02b
--- /dev/null
+++ b/gui-apps/hyprpaper/files/hyprpaper-0.7.3-fix-wayland-scanner.patch
@@ -0,0 +1,14 @@
+diff --git a/src/Hyprpaper.cpp b/src/Hyprpaper.cpp
+index e83c36d..1825288 100644
+--- a/src/Hyprpaper.cpp
++++ b/src/Hyprpaper.cpp
+@@ -201,7 +201,7 @@ void CHyprpaper::createSeat(SP<CCWlSeat> pSeat) {
+ else
+ m_pSeatCursorShapeDevice = makeShared<CCWpCursorShapeDeviceV1>(m_pCursorShape->sendGetPointer(m_pSeatPointer->resource()));
+
+- m_pSeatPointer->setEnter([this](CCWlPointer* r, uint32_t serial, wl_resource* surface, wl_fixed_t x, wl_fixed_t y) {
++ m_pSeatPointer->setEnter([this](CCWlPointer* r, uint32_t serial, wl_proxy* surface, wl_fixed_t x, wl_fixed_t y) {
+ if (!m_pCursorShape) {
+ m_pSeatPointer->sendSetCursor(serial, nullptr, 0, 0);
+ return;
+
diff --git a/gui-apps/hyprpaper/hyprpaper-0.7.3.ebuild b/gui-apps/hyprpaper/hyprpaper-0.7.3-r1.ebuild
similarity index 87%
rename from gui-apps/hyprpaper/hyprpaper-0.7.3.ebuild
rename to gui-apps/hyprpaper/hyprpaper-0.7.3-r1.ebuild
index 5f855dbbd..8ca2c1a74 100644
--- a/gui-apps/hyprpaper/hyprpaper-0.7.3.ebuild
+++ b/gui-apps/hyprpaper/hyprpaper-0.7.3-r1.ebuild
@@ -29,12 +29,16 @@ DEPEND="
dev-libs/wayland-protocols
"
BDEPEND="
- >=dev-util/hyprwayland-scanner-0.4.0
+ >=dev-util/hyprwayland-scanner-0.4.2
dev-util/wayland-scanner
dev-vcs/git
virtual/pkgconfig
"
+PATCHES=(
+ "${FILESDIR}/hyprpaper-0.7.3-fix-wayland-scanner.patch"
+)
+
src_compile() {
emake protocols
cmake_src_compile
diff --git a/gui-apps/hyprpaper/metadata.xml b/gui-apps/hyprpaper/metadata.xml
index 685dcc15c..59e9e82f2 100644
--- a/gui-apps/hyprpaper/metadata.xml
+++ b/gui-apps/hyprpaper/metadata.xml
@@ -5,6 +5,10 @@
<name>Julien Roy</name>
<email>julien@jroy.ca</email>
</maintainer>
+ <maintainer type="person">
+ <name>John M. Harris, Jr.</name>
+ <email>johnmh@johnmh.me</email>
+ </maintainer>
<upstream>
<bugs-to>https://github.com/hyprwm/hyprpaper/issues</bugs-to>
<changelog>https://github.com/hyprwm/hyprpaper/releases</changelog>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-12-31 20:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-31 20:04 [gentoo-commits] repo/proj/guru:master commit in: gui-apps/hyprpaper/files/, gui-apps/hyprpaper/ Julien Roy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox