- Rename the nautilus plugin to just ghostty.py:
It looks like the loader interprets the path com.mitchellh.ghostty.py as a python class hierachy and fails to load the plugin because of that. new BuildRequires python3-nautilus python3-gobject OBS-URL: https://build.opensuse.org/package/show/X11:terminals/ghostty?expand=0&rev=20
This commit is contained in:
parent
a64a8fd37c
commit
0c8a4339c7
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 30 23:43:50 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- Rename the nautilus plugin to just ghostty.py:
|
||||
It looks like the loader interprets the path
|
||||
com.mitchellh.ghostty.py as a python class hierachy and fails to
|
||||
load the plugin because of that.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 30 22:14:55 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
@ -5,7 +13,7 @@ Thu Jan 30 22:14:55 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
|
||||
https://ghostty.org/docs/install/release-notes/1-1-0
|
||||
- drop https://github.com/ghostty-org/ghostty/commit/f60068eabd94e6784f3b557c7287c49dd36bb24c.diff
|
||||
- new subpackage for nautilus plugin
|
||||
new BuildRequires python-nautilus-common-files python3-gobject
|
||||
new BuildRequires python3-nautilus python3-gobject
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 16 10:44:40 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
@ -46,8 +46,8 @@ BuildRequires: pkgconfig(bash-completion)
|
||||
# BuildRequires: pkgconfig(spirv-cross-c-shared)
|
||||
#
|
||||
BuildRequires: pkgconfig(bzip2)
|
||||
BuildRequires: python-nautilus-common-files
|
||||
BuildRequires: python3-gobject
|
||||
BuildRequires: python3-nautilus
|
||||
BuildRequires: pkgconfig(fontconfig)
|
||||
BuildRequires: pkgconfig(freetype2)
|
||||
BuildRequires: pkgconfig(gtk4)
|
||||
@ -137,8 +137,8 @@ emulator that uses platform-native UI and GPU acceleration.
|
||||
Summary: Nautilus extension for ghostty
|
||||
Requires: %{name} = %{version}
|
||||
Requires: nautilus
|
||||
Requires: python-nautilus-common-files
|
||||
Requires: python3-gobject
|
||||
Requires: python3-nautilus
|
||||
Supplements: (%{name} and nautilus)
|
||||
BuildArch: noarch
|
||||
|
||||
@ -170,6 +170,8 @@ zig build %{common_build_flags} --prefix %{_prefix}
|
||||
rm -rv %{buildroot}%{_datadir}/terminfo/
|
||||
%endif
|
||||
|
||||
mv %{buildroot}%{_datadir}/nautilus-python/extensions/{com.mitchellh.ghostty,ghostty}.py
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%{_bindir}/%{name}
|
||||
@ -209,7 +211,7 @@ rm -rv %{buildroot}%{_datadir}/terminfo/
|
||||
%{_datadir}/kio/servicemenus/com.mitchellh.ghostty.desktop
|
||||
|
||||
%files -n nautilus-extension-ghostty
|
||||
%{_datadir}/nautilus-python/extensions/com.mitchellh.ghostty.py
|
||||
%{_datadir}/nautilus-python/extensions/ghostty.py
|
||||
|
||||
%files neovim
|
||||
%{_datadir}/nvim/site/ftdetect/ghostty.vim
|
||||
|
Loading…
Reference in New Issue
Block a user