2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-21 23:00:06 -07:00

gtk+3: Fix cursor issues in firefox

This commit is contained in:
Dylan Araps 2021-07-09 13:38:22 +03:00
parent 06c865d30e
commit c6e719df1a
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
5 changed files with 63 additions and 0 deletions

View File

@ -1,6 +1,27 @@
#!/bin/sh -e
patch -p1 < no-fribidi.patch
patch -p1 < schemas.patch
# GTK+3 on Wayland requires gsettings-desktop-schemas
# for gsettings to work correctly. Install the bare
# minimum needed (currently one schema).
#
# This fixes cursor icon issues and console spam when
# running Firefox.
(
cd schemas
meson \
--prefix=/usr \
-Dintrospection=false \
. output
export DESTDIR="$1"
ninja -C output
ninja -C output install
)
# Remove configure check for atk-bridge and fribidi.
sed -e 's/\(ATK_PACKAGES="atk\) atk-bridge-2.0"/\1"/' \

View File

@ -1,2 +1,4 @@
f57ec4ade8f15cab0c23a80dcaee85b876e70a8823d9105f067ce335a8268caa
7b57e54220110f00ee768536138f80e155e44b0f90d912610802c72a25a59510
e44b643a9ec01ea153817602241d6d7e6fd2d121b3ce4e29f99a87d8836a3ff0
7ee815e1d04b47d780bdbca3a30a22e1fa74a385a5443174c96315d625822216

View File

@ -6,6 +6,7 @@ gdk-pixbuf
glib
libepoxy
libxkbcommon
meson make
pango
pkgconf make
python make

View File

@ -0,0 +1,37 @@
diff --git a/schemas/meson.build b/schemas/meson.build
index 69a3f98..d10b8cd 100644
--- a/schemas/schemas/meson.build
+++ b/schemas/schemas/meson.build
@@ -1,32 +1,5 @@
schemas = [
- 'org.gnome.desktop.default-applications.gschema.xml',
'org.gnome.desktop.interface.gschema.xml',
- 'org.gnome.desktop.lockdown.gschema.xml',
- 'org.gnome.system.locale.gschema.xml',
- 'org.gnome.system.location.gschema.xml',
- 'org.gnome.system.proxy.gschema.xml',
- 'org.gnome.desktop.sound.gschema.xml',
- 'org.gnome.desktop.thumbnail-cache.gschema.xml',
- 'org.gnome.desktop.a11y.gschema.xml',
- 'org.gnome.desktop.a11y.keyboard.gschema.xml',
- 'org.gnome.desktop.a11y.applications.gschema.xml',
- 'org.gnome.desktop.a11y.magnifier.gschema.xml',
- 'org.gnome.desktop.a11y.mouse.gschema.xml',
- 'org.gnome.desktop.thumbnailers.gschema.xml',
- 'org.gnome.desktop.session.gschema.xml',
- 'org.gnome.desktop.background.gschema.xml',
- 'org.gnome.desktop.calendar.gschema.xml',
- 'org.gnome.desktop.datetime.gschema.xml',
- 'org.gnome.desktop.media-handling.gschema.xml',
- 'org.gnome.desktop.screensaver.gschema.xml',
- 'org.gnome.desktop.search-providers.gschema.xml',
- 'org.gnome.desktop.wm.keybindings.gschema.xml',
- 'org.gnome.desktop.wm.preferences.gschema.xml',
- 'org.gnome.desktop.input-sources.gschema.xml',
- 'org.gnome.desktop.privacy.gschema.xml',
- 'org.gnome.desktop.notifications.gschema.xml',
- 'org.gnome.desktop.app-folders.gschema.xml',
- 'org.gnome.desktop.peripherals.gschema.xml',
]
conf = configuration_data()

View File

@ -1,2 +1,4 @@
https://download.gnome.org/sources/gtk+/3.24/gtk+-3.24.29.tar.xz
https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/-/archive/40.0/gsettings-desktop-schemas-40.0.tar.gz schemas
patches/no-fribidi.patch
patches/schemas.patch