public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/miracle-wm] rawhide: Update to 0.11.0
@ 2026-09-21 20:50 Neal Gompa
0 siblings, 0 replies; only message in thread
From: Neal Gompa @ 2026-09-21 20:50 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/miracle-wm
Branch : rawhide
Commit : 1bf2314656901af72bb00c494c3b1d762078a2a8
Author : Neal Gompa <ngompa@fedoraproject.org>
Date : 2026-09-21T16:49:57-04:00
Stats : +93/-3 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/miracle-wm/c/1bf2314656901af72bb00c494c3b1d762078a2a8?branch=rawhide
Log:
Update to 0.11.0
---
diff --git a/.gitignore b/.gitignore
index 612cf97..6b7912c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,3 +17,4 @@
/miracle-wm-0.8.3.tar.gz
/miracle-wm-0.9.0.tar.gz
/miracle-wm-0.9.1.tar.gz
+/miracle-wm-0.11.0.tar.gz
diff --git a/ae5afbf1f542ebfb17ad4901f8473ba4d05a489c.patch b/ae5afbf1f542ebfb17ad4901f8473ba4d05a489c.patch
new file mode 100644
index 0000000..39333c6
--- /dev/null
+++ b/ae5afbf1f542ebfb17ad4901f8473ba4d05a489c.patch
@@ -0,0 +1,70 @@
+From ae5afbf1f542ebfb17ad4901f8473ba4d05a489c Mon Sep 17 00:00:00 2001
+From: Matt Kosarek <matt.kosarek@canonical.com>
+Date: Mon, 21 Sep 2026 13:59:53 -0400
+Subject: [PATCH] bugfix: install libmiracle-wm-plugins.so to a private
+ directory
+
+---
+ CMakeLists.txt | 9 +++++++--
+ snap/snapcraft.yaml | 1 +
+ src/plugin_manager_loader.cpp | 5 +++--
+ 3 files changed, 11 insertions(+), 4 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index e830cc16..284f147b 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -209,10 +209,15 @@ add_library(miracle-wm-implementation STATIC
+ src/occlusion_bypass.cpp src/occlusion_bypass.h
+ )
+
++# The plugin module is a dlopen()'d helper rather than a public
++# library, so it lives in its own subdirectory of libdir.
++set(MIRACLE_PLUGIN_MODULE_DIR ${CMAKE_INSTALL_LIBDIR}/miracle-wm)
++set(MIRACLE_PLUGIN_MODULE_PATH ${CMAKE_INSTALL_FULL_LIBDIR}/miracle-wm/libmiracle-wm-plugins.so)
++
+ target_compile_definitions(miracle-wm-implementation PRIVATE
+ COMPILING_AGAINST_DEV=${COMPILING_AGAINST_DEV}
+ FEATURE_PLUGIN_SYSTEM=${FEATURE_PLUGIN_SYSTEM}
+- MIRACLE_PLUGIN_MODULE_PATH="${CMAKE_INSTALL_FULL_LIBDIR}/libmiracle-wm-plugins.so")
++ MIRACLE_PLUGIN_MODULE_PATH="${MIRACLE_PLUGIN_MODULE_PATH}")
+
+ # ----------------------------------------
+ # Precompiled headers for speed
+@@ -313,7 +318,7 @@ if (FEATURE_PLUGIN_SYSTEM)
+ miracle-wm-c
+ ${WASMEDGE_LIB})
+
+- install(TARGETS miracle-wm-plugins DESTINATION ${CMAKE_INSTALL_LIBDIR})
++ install(TARGETS miracle-wm-plugins DESTINATION ${MIRACLE_PLUGIN_MODULE_DIR})
+ endif()
+
+ # ----------------------------------------
+diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
+index ba0cf391..54239abf 100644
+--- a/snap/snapcraft.yaml
++++ b/snap/snapcraft.yaml
+@@ -26,6 +26,7 @@ apps:
+ GBM_BACKENDS_PATH: ${SNAP}/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}/gbm
+ LIBGL_DRIVERS_PATH: ${SNAP}/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}/dri
+ LIBINPUT_QUIRKS_DIR: ${SNAP}/usr/share/libinput
++ MIRACLE_WM_PLUGIN_MODULE: ${SNAP}/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}/miracle-wm/libmiracle-wm-plugins.so
+ PATH: ${SNAP}/bin/:${SNAP}/usr/bin/:${SNAP}/usr/local/bin/:${PATH}
+ DRIRC_CONFIGDIR: ${SNAP}/usr/share/drirc.d
+
+diff --git a/src/plugin_manager_loader.cpp b/src/plugin_manager_loader.cpp
+index 802430d8..aac30e74 100644
+--- a/src/plugin_manager_loader.cpp
++++ b/src/plugin_manager_loader.cpp
+@@ -36,8 +36,9 @@ namespace
+ constexpr char const* soname = "libmiracle-wm-plugins.so";
+
+ /// dlopen the plugin module from the first location that works:
+- /// 1. the $MIRACLE_WM_PLUGIN_MODULE override (handy for the build tree / tests),
+- /// 2. the configured install path, then
++ /// 1. the $MIRACLE_WM_PLUGIN_MODULE override (handy for the build tree,
++ /// tests, and relocated installs such as the snap),
++ /// 2. the configured install path (${libdir}/miracle-wm/), then
+ /// 3. the bare soname (resolved via the normal loader search path).
+ ///
+ /// RTLD_LOCAL is essential: it keeps the module and its dependencies
diff --git a/miracle-wm.spec b/miracle-wm.spec
index 06dbd96..ed07f0b 100644
--- a/miracle-wm.spec
+++ b/miracle-wm.spec
@@ -10,14 +10,17 @@
%endif
Name: miracle-wm
-Version: 0.9.1
-Release: 2%{?dist}
+Version: 0.11.0
+Release: 1%{?dist}
Summary: A tiling Wayland compositor based on Mir
License: GPL-3.0-or-later and MIT
URL: https://github.com/miracle-window-manager/miracle-wm
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+# Backport from upstream
+Patch0001: https://github.com/miracle-wm-org/miracle-wm/commit/ae5afbf1f542ebfb17ad4901f8473ba4d05a489c.patch
+
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: git-core
@@ -27,6 +30,8 @@ BuildRequires: pkgconfig(mircommon) >= %{mirversion}
BuildRequires: pkgconfig(mirwayland) >= %{mirversion}
BuildRequires: pkgconfig(mirserver-internal) >= %{mirversion}
BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gtk4)
+BuildRequires: pkgconfig(gtk4-layer-shell-0)
BuildRequires: pkgconfig(yaml-cpp)
BuildRequires: pkgconfig(libevdev)
BuildRequires: cmake(nlohmann_json) >= 3.2.0
@@ -73,6 +78,12 @@ Requires: %{name}-config-libs%{?_isa} = %{version}-%{release}
This package provides the files to develop applications that use the
libraries for manipulating the configuration of %{name}.
+%package debug-tools
+Summary: Debugging tools for %{name}
+
+%description debug-tools
+This package provides additional tools useful for debugging %{name}.
+
%prep
%autosetup -S git_am
@@ -97,6 +108,7 @@ libraries for manipulating the configuration of %{name}.
%{_bindir}/miracle-wm-session
%{_bindir}/miraclemsg
%{_libexecdir}/miracle-wm-*
+%{_libdir}/miracle-wm/libmiracle-wm-plugins.so
%{_datarootdir}/miracle-wm/
%{_datarootdir}/wayland-sessions/miracle-wm.desktop
%{_userunitdir}/miracle-wm*
@@ -112,8 +124,15 @@ libraries for manipulating the configuration of %{name}.
%{_libdir}/libmiracle-wm-c.so
%{_libdir}/pkgconfig/miracle-wm-c.pc
+%files debug-tools
+%{_bindir}/miracle-wm-basic-error-reporter
+%{_bindir}/miracle-wm-debug-overlay
+
%changelog
+* Mon Sep 21 2026 Neal Gompa <ngompa@fedoraproject.org> - 0.11.0-1
+- Update to 0.11.0
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
diff --git a/sources b/sources
index 0ab1e42..07df5b1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (miracle-wm-0.9.1.tar.gz) = 49ce5955627dc072bc6e671170fc0bd32bc8e6fa48e84c75e04c3c47985ec8f6d3fa5a4a7c0f8abd29f364db6ed68bf2034097b91e3c16332d5ebde69629bdac
+SHA512 (miracle-wm-0.11.0.tar.gz) = 7101412c9a19152e22d334caeba9b7a3b67c0d22c65f80f2b0fa06fd0ab32a0e4d9f85845954e7ccbe15f7685c2fda88ec12e337b3379d0709177d6c2c672633
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-21 20:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-21 20:50 [rpms/miracle-wm] rawhide: Update to 0.11.0 Neal Gompa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox