diff --git a/ghostty.changes b/ghostty.changes index 7ff5d8a..788cb4c 100644 --- a/ghostty.changes +++ b/ghostty.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Jan 30 23:43:50 UTC 2025 - Marcus Rueckert + +- 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 @@ -5,7 +13,7 @@ Thu Jan 30 22:14:55 UTC 2025 - Marcus Rueckert 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 diff --git a/ghostty.spec b/ghostty.spec index aa1ac22..85b358b 100644 --- a/ghostty.spec +++ b/ghostty.spec @@ -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