diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-15 06:41:45 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-15 06:41:45 +0000 |
commit | 8e26aeaca2a19592a9eea3917f3139bfde8641f0 (patch) | |
tree | 3ddb856d2a1de70a5caf3b8f7737425b7f8b0796 /x11-terms | |
parent | 6e1fc32629c46e29012a7e22b07085307d65ac96 (diff) |
gentoo auto-resync : 15:01:2025 - 06:41:45
Diffstat (limited to 'x11-terms')
-rw-r--r-- | x11-terms/Manifest.gz | bin | 4899 -> 4892 bytes | |||
-rw-r--r-- | x11-terms/alacritty/Manifest | 2 | ||||
-rw-r--r-- | x11-terms/alacritty/alacritty-0.14.0-r1.ebuild | 4 | ||||
-rw-r--r-- | x11-terms/ghostty/Manifest | 3 | ||||
-rw-r--r-- | x11-terms/ghostty/files/ghostty-1.0.1-apprt-gtk-move-most-version-checks-to-runtime.patch | 125 | ||||
-rw-r--r-- | x11-terms/ghostty/ghostty-1.0.1-r2.ebuild (renamed from x11-terms/ghostty/ghostty-1.0.1-r1.ebuild) | 1 |
6 files changed, 131 insertions, 4 deletions
diff --git a/x11-terms/Manifest.gz b/x11-terms/Manifest.gz Binary files differindex 767bc7d4bb7b..df7aa70da2fb 100644 --- a/x11-terms/Manifest.gz +++ b/x11-terms/Manifest.gz diff --git a/x11-terms/alacritty/Manifest b/x11-terms/alacritty/Manifest index 2ea2e1e4e23e..1a34aebe8a6d 100644 --- a/x11-terms/alacritty/Manifest +++ b/x11-terms/alacritty/Manifest @@ -591,6 +591,6 @@ DIST zerocopy-derive-0.7.32.crate 37623 BLAKE2B 8b583d39d7bf9c3dbbba578120751c66 DIST zerocopy-derive-0.7.35.crate 37829 BLAKE2B badeb7fa5e0bfe93a6788d93fd297604ed31de526b121549300ead3c49d450f49265f499e2e7ce606dcce2b59dd01f7fa817b8fbb3f237475185c5b42f5299c4 SHA512 dbe23573b62a6267d7bc8c744320b75b2fbda03b908c1d175211f7394374fe182bce58021e25485c10671d726b2007f250565dfe53134d51c89293bb607e9feb EBUILD alacritty-0.12.3-r1.ebuild 7168 BLAKE2B abb611808ca1f6f3021ebb521f7d4fceea74e7931c0c0c4b74051eadc3b3e19d4dd95ce1a3a47a4d20baf66a3493ffa04df04827c62850542217bc6aab044931 SHA512 bc7dcda4946a926fee28c72cc79330c1b9a89078223ccf1640c4ce6b035f896c2d09691bcd47f18ada42e32626b4178bbd65c9e204996ab1346f080ae900f78b EBUILD alacritty-0.13.2-r1.ebuild 7641 BLAKE2B bbb4d457106aa077c1b4c37794c688f3a5712c05c2f3e87ad20fd6aa6917bcd25881d0e7a892da53516375c092a1b6469fca47bc7c20e3ab89e23cb87905ab5e SHA512 99d3955f45f30ec8f0b1f7bf0322df1ed2e77004aa5cc6a89dd8e9537a014f8f22fb7b5fea5dbebe86b017c29c47ed6c5050ab60e82dd6480a043a8b64ac120f -EBUILD alacritty-0.14.0-r1.ebuild 8237 BLAKE2B 1e5548bff7d757deb5e5553eeea8b135543c6bd6c3030cc9963e768f2dc57cfd4e1fbb71b00b6a5cf4e14d3d7843f93eddcb290b5b0d2f9899de9f164809c590 SHA512 320d874d6bdd5d326c32c95e9c06552f9e0c7958ecb691f37d924f640fc24601450dd9841ea2093d27b23af5875b1a8b0b9807776af25eadeca5286fd719b109 +EBUILD alacritty-0.14.0-r1.ebuild 8233 BLAKE2B 144d7928df9e86ef3c9c46f40d845cc47d35b185d7b819e50f02d0d0abcb03cfce948b7a9b8dd68e73bdf912c16ec5da31e969ef270350c19908ec26fb596e66 SHA512 2538ac80195408395fb2b74551f2b4226ce15c121d6b526c90ff249f45d3cad4b88774712721c54a94e9a2070a6cec1283ae08ee6a4ee25c082ab74de24c5639 EBUILD alacritty-9999.ebuild 2806 BLAKE2B e2c4730a340ebbe5f8fc0869c43bf78acee0cad0dfa7aad0c3c7f967919d4e0f8c3325061d09dff0dad455ea8e196801cb05deae556bbbf4098ae7ca61462485 SHA512 9fd42e4461673fd1a55d5a324e7bd35659d54c48628b554d660ff00e3b7d5d76b162c4a0a78ac0511b09682645a1d3ba4efaa0ed08db914ef2d81bbfeb0f349c MISC metadata.xml 1081 BLAKE2B 75dcf05c19658f43131f5fd32ae9b122c6d70d913c2767bd72b9a6a35090d0445c0b5f6948a43830d3a18029968e0695494b48ca7a8c8c189c5a9c045fa7dca0 SHA512 f21e1d97f8d960fc32633d6bb8484d70a79fd1f7672390cbac54bd2fbdea308895b887628cc2684c9c884725cd6aa0e8f36b88fb541b682ec569be0cddc89e3f diff --git a/x11-terms/alacritty/alacritty-0.14.0-r1.ebuild b/x11-terms/alacritty/alacritty-0.14.0-r1.ebuild index b9100de330a0..b0542bd469e6 100644 --- a/x11-terms/alacritty/alacritty-0.14.0-r1.ebuild +++ b/x11-terms/alacritty/alacritty-0.14.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2017-2024 Gentoo Authors +# Copyright 2017-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -299,7 +299,7 @@ else https://github.com/${PN}/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz ${CARGO_CRATE_URIS} " - KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + KEYWORDS="amd64 arm64 ppc64 ~riscv x86" fi S="${WORKDIR}/${PN}-${MY_PV}" diff --git a/x11-terms/ghostty/Manifest b/x11-terms/ghostty/Manifest index dde9f92e7ebc..71304891d9b1 100644 --- a/x11-terms/ghostty/Manifest +++ b/x11-terms/ghostty/Manifest @@ -1,4 +1,5 @@ AUX ghostty-1.0.0-bzip2-dependency.patch 560 BLAKE2B f737d770da6e8a84098655d6983ccad70a22952b7bcabce9d9d34032ebb69c5427458347a4118944587b238854e1c579c923aac3e91d76f3f2660e8cf43afd35 SHA512 efde14f8d15afd7c169c30cbe5ab7ce4928ae6869e02cac4e2c8a6cac3f9604aed7bd43a40fcc975070c80802cfdcba10e63e1473e36ae2a65e9912dfee34b18 +AUX ghostty-1.0.1-apprt-gtk-move-most-version-checks-to-runtime.patch 5981 BLAKE2B d1b097036b690d749d83fefe2e624874667fd32f28196951739da8b57da944f142b20532a7fd5d97ad563d35982a822e51789cdc822a0b353b67420b593fb248 SHA512 82999010bd7f1540850456ae7ef924a72dff5c009a9798c5c94a21e13c4d8d14ecc11317f76b03aec3c36dae8fa99473f6dbde329478ca32801cac1b98f7a98f AUX ghostty-1.0.1-copy-terminfo-using-installdir.patch 2103 BLAKE2B 342d75c0b8555828f836c751679f2c36953a1640a2c8e4a021ac75689e5687ad7895b3e16e1bdded78d45d2c6711777b2df4f5d1e945e557fed987dced551f17 SHA512 eec5fdda83a104b338db2a0f47e1b44a99311ea2b6196783c14ad36c993365909c234ce47cc3616e5790d3e4eaccfe059b5c5b9a2dec6b812e77f3ac91f3a15f DIST breakpad-12207fd37bb8251919c112dcdd8f616a491857b34a451f7e4486490077206dc2a1ea.tar.gz 5475126 BLAKE2B 67af8bc3227723e9056eb5d7e6f85809037d1b6f62c57bf447b04648c43c299a3840ac7a9ced2431343beb47332079c1827fd4d0a301fe0c6b24992f9b1b6fd9 SHA512 740b70daaf150a7619839f467eea6dc6d5dcd599861a977b1638c308b7902cb2de5d3927081143c2314e9b0c46c07d646ecec0e9e8d5097ddaa958766c07074d DIST fontconfig-12201149afb3326c56c05bb0a577f54f76ac20deece63aa2f5cd6ff31a4fa4fcb3b7.tar.gz 2122247 BLAKE2B c8f6a33b62141eb732e74194076627072fc7dca19eea797ae256e169f07e4722f47e20e65ffd3152bfb7c98eb5e8a5bc1b5d90b22640c911889c4f29fb2f7e34 SHA512 73287cc3f8f8261a27c2920b0f9430dd6e3ac8733fb2ba55e1b5934cee211023b6415e1d14ddad04ef3c7819727ed34d80aa503d2734bdfc2f1c733c4096463f @@ -33,5 +34,5 @@ DIST zig_js-12205a66d423259567764fa0fc60c82be35365c21aeb76c5a7dc99698401f4f6fefc DIST zigimg-1220dd654ef941fc76fd96f9ec6adadf83f69b9887a0d3f4ee5ac0a1a3e11be35cf5.tar.gz 132016 BLAKE2B ef50ad59811637d16b8eabfa4c16243fe48ff0de032f3de405af8cfea841d6320e34b9fb6e3c5bbdd8cb90681a69c7f82e6a8d2bce264de7e931b69998180560 SHA512 188173710eeeca319338c6d35fbfb6948f6ac5f8a354492db5d32d654e684c2f441676ea0160985969128aa0489a6ce841e700c721bd7d22c45d13b48f977c33 DIST ziglyph-12207831bce7d4abce57b5a98e8f3635811cfefd160bca022eb91fe905d36a02cf25.tar.gz 562290 BLAKE2B bc5efc55442634c17357182d71881b3ae8d92b338abaaeb25d0ec548fa4d940d0c0efd5b281167a6d02d20213261799ba3008f4513a5014cf7d9f92c7b6f0322 SHA512 b7d5502bc03a0396a064080ddaebf503ab35e13384fe3e332832f64696c241d5f978997816c09d8e855173ccc7d312244397f5f8076a4d207b065bd6f304ff0e DIST zlib-1220fed0c74e1019b3ee29edae2051788b080cd96e90d56836eea857b0b966742efb.tar.gz 1572744 BLAKE2B 6d15d8f3c8feaf602043bb6e72316ee721c33ef24e110e3bf03fb12eac9703fd29e352268d202ecd2f18b526b4f1dbd90c8046e01ad8e64ddce3e55ad5db513e SHA512 8c9642495bafd6fad4ab9fb67f09b268c69ff9af0f4f20cf15dfc18852ff1f312bd8ca41de761b3f8d8e90e77d79f2ccacd3d4c5b19e475ecf09d021fdfe9088 -EBUILD ghostty-1.0.1-r1.ebuild 8650 BLAKE2B 1e1c0bd08216f848b2b2520b36b91a3fbb5c898436c961705a13432126f824ff4cf62de0715cf545fd79b30e2dc3396dcba19f8c3a974b17445529d38d8f23d4 SHA512 5e46d161ef9e65bc45524c7136ded0867b98b5cd536148264943166f39b6aadcae5bbb6e44721b721ec24df9c23b459f0313e19303eb08c30370ad5627e10749 +EBUILD ghostty-1.0.1-r2.ebuild 8729 BLAKE2B 942a089917b18a9906160a8cecfe2f33255a5a21f98cb760bb5af7a4d46ff33ed57c7f5efd77345c8d23b2c4a2c3410f93bd73fa4dc217a7996c2dd080723656 SHA512 c7fa9acf21916b30a22060c24defc9d35196413fc71ae20ec2b43fe5fa9b868b19b47f4232aed9da3f2b61d3134d1d0657ca663901d2a3922456dbfee943c087 MISC metadata.xml 1256 BLAKE2B d39c386cd087e0503b8f4387199e18e17fe3889f8195c8cfa6f91bb8549f2674767bad65aa47a0abb3f266c665658a7944b25d8ea4f9feb9f4c15f5d1f71d795 SHA512 494ddcb89c8ae6cc0a1ca46b24ccedf29f25d117cfeb7c53f3e36c1b260d7c548571de96e0bf218f20be9a3dc6c1b60d546f6e92ad279e4157abb8e800b782e5 diff --git a/x11-terms/ghostty/files/ghostty-1.0.1-apprt-gtk-move-most-version-checks-to-runtime.patch b/x11-terms/ghostty/files/ghostty-1.0.1-apprt-gtk-move-most-version-checks-to-runtime.patch new file mode 100644 index 000000000000..f8dca8663911 --- /dev/null +++ b/x11-terms/ghostty/files/ghostty-1.0.1-apprt-gtk-move-most-version-checks-to-runtime.patch @@ -0,0 +1,125 @@ +From 83bb35ffa3dae7093b829aec380d1ef322a10efb Mon Sep 17 00:00:00 2001 +From: sin-ack <sin-ack@protonmail.com> +Date: Tue, 7 Jan 2025 19:12:53 +0000 +Subject: [PATCH 1/2] apprt/gtk: Add version.runtimeAtLeast + +This will be used for version checks that are independent of the version +of GTK we built against. +--- + src/apprt/gtk/version.zig | 38 ++++++++++++++++++++++++++++++-------- + 1 file changed, 30 insertions(+), 8 deletions(-) + +diff --git a/src/apprt/gtk/version.zig b/src/apprt/gtk/version.zig +index af7ad12ea0..d8686fa28a 100644 +--- a/src/apprt/gtk/version.zig ++++ b/src/apprt/gtk/version.zig +@@ -7,6 +7,11 @@ const c = @import("c.zig").c; + /// in the headers. If it is run in a runtime context, it will + /// check the actual version of the library we are linked against. + /// ++/// This function should be used in cases where the version check ++/// would affect code generation, such as using symbols that are ++/// only available beyond a certain version. For checks which only ++/// depend on GTK's runtime behavior, use `runtimeAtLeast`. ++/// + /// This is inlined so that the comptime checks will disable the + /// runtime checks if the comptime checks fail. + pub inline fn atLeast( +@@ -26,6 +31,20 @@ pub inline fn atLeast( + // If we're in comptime then we can't check the runtime version. + if (@inComptime()) return true; + ++ return runtimeAtLeast(major, minor, micro); ++} ++ ++/// Verifies that the GTK version at runtime is at least the given ++/// version. ++/// ++/// This function should be used in cases where the only the runtime ++/// behavior is affected by the version check. For checks which would ++/// affect code generation, use `atLeast`. ++pub inline fn runtimeAtLeast( ++ comptime major: u16, ++ comptime minor: u16, ++ comptime micro: u16, ++) bool { + // We use the functions instead of the constants such as + // c.GTK_MINOR_VERSION because the function gets the actual + // runtime version. +@@ -44,15 +63,18 @@ test "atLeast" { + const std = @import("std"); + const testing = std.testing; + +- try testing.expect(atLeast(c.GTK_MAJOR_VERSION, c.GTK_MINOR_VERSION, c.GTK_MICRO_VERSION)); ++ const funs = &.{ atLeast, runtimeAtLeast }; ++ inline for (funs) |fun| { ++ try testing.expect(fun(c.GTK_MAJOR_VERSION, c.GTK_MINOR_VERSION, c.GTK_MICRO_VERSION)); + +- try testing.expect(!atLeast(c.GTK_MAJOR_VERSION, c.GTK_MINOR_VERSION, c.GTK_MICRO_VERSION + 1)); +- try testing.expect(!atLeast(c.GTK_MAJOR_VERSION, c.GTK_MINOR_VERSION + 1, c.GTK_MICRO_VERSION)); +- try testing.expect(!atLeast(c.GTK_MAJOR_VERSION + 1, c.GTK_MINOR_VERSION, c.GTK_MICRO_VERSION)); ++ try testing.expect(!fun(c.GTK_MAJOR_VERSION, c.GTK_MINOR_VERSION, c.GTK_MICRO_VERSION + 1)); ++ try testing.expect(!fun(c.GTK_MAJOR_VERSION, c.GTK_MINOR_VERSION + 1, c.GTK_MICRO_VERSION)); ++ try testing.expect(!fun(c.GTK_MAJOR_VERSION + 1, c.GTK_MINOR_VERSION, c.GTK_MICRO_VERSION)); + +- try testing.expect(atLeast(c.GTK_MAJOR_VERSION - 1, c.GTK_MINOR_VERSION, c.GTK_MICRO_VERSION)); +- try testing.expect(atLeast(c.GTK_MAJOR_VERSION - 1, c.GTK_MINOR_VERSION + 1, c.GTK_MICRO_VERSION)); +- try testing.expect(atLeast(c.GTK_MAJOR_VERSION - 1, c.GTK_MINOR_VERSION, c.GTK_MICRO_VERSION + 1)); ++ try testing.expect(fun(c.GTK_MAJOR_VERSION - 1, c.GTK_MINOR_VERSION, c.GTK_MICRO_VERSION)); ++ try testing.expect(fun(c.GTK_MAJOR_VERSION - 1, c.GTK_MINOR_VERSION + 1, c.GTK_MICRO_VERSION)); ++ try testing.expect(fun(c.GTK_MAJOR_VERSION - 1, c.GTK_MINOR_VERSION, c.GTK_MICRO_VERSION + 1)); + +- try testing.expect(atLeast(c.GTK_MAJOR_VERSION, c.GTK_MINOR_VERSION - 1, c.GTK_MICRO_VERSION + 1)); ++ try testing.expect(fun(c.GTK_MAJOR_VERSION, c.GTK_MINOR_VERSION - 1, c.GTK_MICRO_VERSION + 1)); ++ } + } + +From 8a7e6c050c556463b126181e01f256a0043ca14a Mon Sep 17 00:00:00 2001 +From: sin-ack <sin-ack@protonmail.com> +Date: Tue, 7 Jan 2025 19:53:27 +0000 +Subject: [PATCH 2/2] apprt/gtk: Move most version checks to runtime + +Unless we are guarding against symbols added in new versions we now +check against the runtime version of GTK to handle them even when we +didn't build against that version. +--- + src/apprt/gtk/App.zig | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/src/apprt/gtk/App.zig b/src/apprt/gtk/App.zig +index 3cc1782c86..993dfcc328 100644 +--- a/src/apprt/gtk/App.zig ++++ b/src/apprt/gtk/App.zig +@@ -104,12 +104,12 @@ pub fn init(core_app: *CoreApp, opts: Options) !App { + // Disabling Vulkan can improve startup times by hundreds of + // milliseconds on some systems. We don't use Vulkan so we can just + // disable it. +- if (version.atLeast(4, 16, 0)) { ++ if (version.runtimeAtLeast(4, 16, 0)) { + // From gtk 4.16, GDK_DEBUG is split into GDK_DEBUG and GDK_DISABLE. + // For the remainder of "why" see the 4.14 comment below. + _ = internal_os.setenv("GDK_DISABLE", "gles-api,vulkan"); + _ = internal_os.setenv("GDK_DEBUG", "opengl"); +- } else if (version.atLeast(4, 14, 0)) { ++ } else if (version.runtimeAtLeast(4, 14, 0)) { + // We need to export GDK_DEBUG to run on Wayland after GTK 4.14. + // Older versions of GTK do not support these values so it is safe + // to always set this. Forwards versions are uncertain so we'll have to +@@ -131,7 +131,7 @@ pub fn init(core_app: *CoreApp, opts: Options) !App { + _ = internal_os.setenv("GDK_DEBUG", "vulkan-disable"); + } + +- if (version.atLeast(4, 14, 0)) { ++ if (version.runtimeAtLeast(4, 14, 0)) { + // We need to export GSK_RENDERER to opengl because GTK uses ngl by + // default after 4.14 + _ = internal_os.setenv("GSK_RENDERER", "opengl"); +@@ -983,7 +983,7 @@ fn loadRuntimeCss( + unfocused_fill.b, + }); + +- if (version.atLeast(4, 16, 0)) { ++ if (version.runtimeAtLeast(4, 16, 0)) { + switch (window_theme) { + .ghostty => try writer.print( + \\:root {{ diff --git a/x11-terms/ghostty/ghostty-1.0.1-r1.ebuild b/x11-terms/ghostty/ghostty-1.0.1-r2.ebuild index 95117192ae04..d9694b9dbe7c 100644 --- a/x11-terms/ghostty/ghostty-1.0.1-r1.ebuild +++ b/x11-terms/ghostty/ghostty-1.0.1-r2.ebuild @@ -99,6 +99,7 @@ QA_PRESTRIPPED="usr/bin/ghostty" PATCHES=( "${FILESDIR}"/${PN}-1.0.0-bzip2-dependency.patch "${FILESDIR}"/${PN}-1.0.1-copy-terminfo-using-installdir.patch + "${FILESDIR}"/${PN}-1.0.1-apprt-gtk-move-most-version-checks-to-runtime.patch ) src_configure() { |