chore(ghostty,ghostty-nightly): Do not bundle themes (#6928) (#6937)

* chore(ghostty,ghostty-nightly): Do not bundle themes

* fix: Themes folder be gone

* feat: Changelogs

(cherry picked from commit d8a6c6b9ea)

Co-authored-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
Raboneko
2025-10-28 20:02:03 -07:00
committed by GitHub
parent 2ff642d8e1
commit 461433f71f
2 changed files with 14 additions and 6 deletions
@@ -9,7 +9,7 @@
Name: %{base_name}-nightly
Version: %{ver}~tip^%{commit_date}git%{shortcommit}
Release: 1%?dist
Release: 2%?dist
%if 0%{?fedora} <= 41
Epoch: 1
%endif
@@ -196,7 +196,8 @@ DESTDIR="%{buildroot}" \
-Dversion-string="%{ver}-dev+%{shortcommit}" \
-Dstrip=false \
-Dpie=true \
-Demit-docs
-Demit-docs \
-Demit-themes=false
# Don't conflict with ncurses-term on F42 and up
%if 0%{?fedora} >= 42
@@ -212,7 +213,6 @@ rm -rf %{buildroot}%{_datadir}/terminfo/g/%{base_name}
%{_datadir}/applications/%{appid}.desktop
%dir %{_datadir}/%{base_name}
%{_datadir}/%{base_name}/doc
%{_datadir}/%{base_name}/themes
%{_datadir}/metainfo/%{appid}.metainfo.xml
%{_datadir}/dbus-1/services/%{appid}.service
%{_iconsdir}/hicolor/16x16/apps/%{appid}.png
@@ -289,6 +289,10 @@ rm -rf %{buildroot}%{_datadir}/terminfo/g/%{base_name}
%systemd_user_postun app-%{appid}.service
%changelog
* Tue Oct 28 2025 Gilver E. <rockgrub@disroot.org> - 1.3.0~tip^20251027gitd40321a-2
- Disabled bundled themes
* This is necessary to address licensing issues in the themes repo Ghostty uses
* See: https://github.com/mbadolato/iTerm2-Color-Schemes/issues/638
* Sat May 31 2025 Gilver E. <rockgrub@disroot.org> - 1.1.4~tip^20250531git1ff9162
- Updated for Zig 0.14.0
- Updated for ncurses-term compatibility in Fedora 42 and Rawhide
+7 -3
View File
@@ -4,7 +4,7 @@
Name: ghostty
Version: 1.2.3
Release: 1%?dist
Release: 2%?dist
Summary: A fast, native terminal emulator written in Zig.
License: MIT AND MPL-2.0 AND OFL-1.1 AND (WTFPL OR CC0-1.0) AND Apache-2.0
URL: https://ghostty.org/
@@ -160,7 +160,8 @@ DESTDIR="%{buildroot}" \
-Dversion-string="%{version}" \
-Dstrip=false \
-Dpie=true \
-Demit-docs
-Demit-docs \
-Demit-themes=false
# Don't conflict with ncurses-term on F42 and up
%if 0%{?fedora} >= 42
@@ -176,7 +177,6 @@ rm -rf %{buildroot}%{_datadir}/terminfo/g/%{name}
%{_datadir}/applications/%{appid}.desktop
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/doc
%{_datadir}/%{name}/themes
%{_datadir}/metainfo/%{appid}.metainfo.xml
%{_datadir}/dbus-1/services/%{appid}.service
%{_iconsdir}/hicolor/16x16/apps/%{appid}.png
@@ -248,6 +248,10 @@ rm -rf %{buildroot}%{_datadir}/terminfo/g/%{name}
%systemd_user_postun app-%{appid}.service
%changelog
* Tue Oct 28 2025 Gilver E. <rockgrub@disroot.org> - 1.2.3-2
- Disabled bundled themes
* This is necessary to address licensing issues in the themes repo Ghostty uses
* See: https://github.com/mbadolato/iTerm2-Color-Schemes/issues/638
* Fri Jan 31 2025 Gilver E. <rockgrub@disroot.org>
- Update to 1.1.0-1%{?dist}
* Low GHSA-98wc-794w-gjx3: Ghostty leaked file descriptors allowing the shell and any of its child processes to impact other Ghostty terminal instances