Skip to content

Commit

Permalink
Fix adwaita-icon-theme wrong cursor location
Browse files Browse the repository at this point in the history
  • Loading branch information
danyeaw authored and nacho committed Feb 26, 2024
1 parent d89d455 commit c5cd613
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Subject: [PATCH] Wrong cursor directory
---
Index: meson.build
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/meson.build b/meson.build
--- a/meson.build (revision 0d44a3fec0171cb8689e79df0186082907533383)
+++ b/meson.build (date 1708871122562)
@@ -27,12 +27,13 @@
win32_cursors = command_output.stdout().strip().split('\n')
if host_machine.system() == 'windows'
cursors_with_rel_path = []
+ icons_dir = get_option('datadir') / 'icons'
foreach cursor : win32_cursors
cursors_with_rel_path += f'Adwaita/cursors/@cursor@'
endforeach
install_data(
cursors_with_rel_path,
- install_dir: adwaita_dir,
+ install_dir: icons_dir,
preserve_path: true,
install_tag : 'runtime',
)
1 change: 1 addition & 0 deletions gvsbuild/projects/adwaita_icon_theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def __init__(self):
"hicolor-icon-theme",
"librsvg",
],
patches=["001-fix-relative-cursor-path.patch"],
)

def build(self):
Expand Down

0 comments on commit c5cd613

Please sign in to comment.