diff --git a/spacefm-1.0.5-force-x11-backend.patch b/spacefm-1.0.5-force-x11-backend.patch new file mode 100644 index 0000000..d8a9751 --- /dev/null +++ b/spacefm-1.0.5-force-x11-backend.patch @@ -0,0 +1,12 @@ +--- spacefm-1.0.5/src/main.c.x11 2016-01-20 22:22:23.000000000 +0900 ++++ spacefm-1.0.5/src/main.c 2017-04-04 18:27:28.487452290 +0900 +@@ -1327,6 +1327,9 @@ + bind_textdomain_codeset ( GETTEXT_PACKAGE, "UTF-8" ); + textdomain ( GETTEXT_PACKAGE ); + #endif ++#if GTK_CHECK_VERSION(3,10,0) ++ gdk_set_allowed_backends ("x11"); ++#endif + + // load spacefm.conf + load_conf(); diff --git a/spacefm.spec b/spacefm.spec index 76ad3f9..6e0a4a2 100644 --- a/spacefm.spec +++ b/spacefm.spec @@ -1,11 +1,13 @@ Name: spacefm Version: 1.0.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Multi-panel tabbed file and desktop manager License: GPLv3+ URL: http://ignorantguru.github.io/spacefm/ Source0: https://github.com/IgnorantGuru/spacefm/archive/%{version}/%{name}-%{version}.tar.gz +# Force x11 as gdk backend (bug 1438277) +Patch0: spacefm-1.0.5-force-x11-backend.patch BuildRequires: libX11-devel BuildRequires: desktop-file-utils @@ -32,6 +34,7 @@ This package contains Faenza theme files for spacefm. %prep %setup -q +%patch0 -p1 -b .x11 find . -name \*.c -print0 | xargs --null chmod 0644 %build @@ -116,6 +119,9 @@ gtk-update-icon-cache %{_datadir}/icons/Faenza &>/dev/null || : %{_datadir}/icons/Faenza/apps/*/%{name}* %changelog +* Wed Apr 5 2017 Mamoru TASAKA - 1.0.5-4 +- Force x11 as gdk backend (bug 1438277) + * Sat Feb 11 2017 Fedora Release Engineering - 1.0.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild