public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Daichi Yamamoto" <dev@dyama.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: x11-misc/ly/, x11-misc/ly/files/
Date: Fri, 14 Mar 2025 00:56:08 +0000 (UTC)	[thread overview]
Message-ID: <1741913568.6bbde417334b4cc93872a6d6efe5d631c140e929.dev@gentoo> (raw)

commit:     6bbde417334b4cc93872a6d6efe5d631c140e929
Author:     Daichi Yamamoto <dev <AT> dyama <DOT> net>
AuthorDate: Fri Mar 14 00:52:48 2025 +0000
Commit:     Daichi Yamamoto <dev <AT> dyama <DOT> net>
CommitDate: Fri Mar 14 00:52:48 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6bbde417

x11-misc/ly: add 1.0.3, drop 1.0.2

Signed-off-by: Daichi Yamamoto <dev <AT> dyama.net>

 x11-misc/ly/Manifest                               |   4 +-
 .../ly/files/ly-1.0.2-update-to-zig-0.13.0.patch   | 122 ---------------------
 x11-misc/ly/{ly-1.0.2.ebuild => ly-1.0.3.ebuild}   |   3 +-
 3 files changed, 3 insertions(+), 126 deletions(-)

diff --git a/x11-misc/ly/Manifest b/x11-misc/ly/Manifest
index dd4b82ea6..d70e4a077 100644
--- a/x11-misc/ly/Manifest
+++ b/x11-misc/ly/Manifest
@@ -1,4 +1,4 @@
-DIST ly-1.0.2.tar.gz 64603 BLAKE2B a1521be4d1191c0b527867e77e6968142062948b2950ef96e3ba4c90bd14386fca4248ed9942959b530c17c1a0dfc3ffbec24b1275d70af5da9fbd6fa4f41da2 SHA512 9431abcb6d3662e74a39b6ba52f2d12de83607764c8cd6e41dda0ae0c71c9618596711e9dd1f519a61835a63ea6dda5bc083509a9757d232213ddf74df3513b7
-DIST zig-clap-8c98e6404b22aafc0184e999d8f068b81cc22fa1.tar.gz 22722 BLAKE2B 2a157daf2551e78fe441322f7ad071fb8fc44ca66e8400b54ab1f061197334b766460d2db6f78d4d9f74287fe0e45f327efff9b502da3f8846d18290ed3bf763 SHA512 5ea19e67ab0c6b4a2ea439d45ae578c68eff6e62275f7901ef94984fad3b0502cb596c656aa4dc5aae5ebfca75ef3d4f6e854d6c2899984b073d6b2a28750a88
+DIST ly-1.0.3.tar.gz 64793 BLAKE2B 302a8516e674201a6e4734c17919b6c30bed996e4bdd285d3c8546ce4566cbb5df0bf58050ea413ec6603c145d8fea8e690a49539ce8e09301735c0f7d9d2f68 SHA512 7ad8ecfab4770dcafd80c512e9164bb2684278d379e10b92c34e70ad825baf0b95e6b8ac2e39e2d4eb36e1530d93d599bf158df7568a04ba4310bf087379ec60
+DIST zig-clap-0.9.1.tar.gz 22875 BLAKE2B 685208b8cb08070304c44c8a1a294d53e7eb4045585a65d5ea3297c1d50157ec8cec06c1b21e3476e3cea0518945bc77b1cf4fe349f11ddcf9aa80dbfbd87788 SHA512 759a995f3400305044ba7ae2d0fb7de1f08b55d08b3de9fbbf4afbf75cefcc779c4ae8932885e6ecface9c290fb712c72c58011091ac5bde7429926ea3f7d501
 DIST zigini-0bba97a12582928e097f4074cc746c43351ba4c8.tar.gz 5797 BLAKE2B e5c4e20e7d23bb1096c9012acd19898fb0450d33c0ee78200ee817c3658d3cad048fe6a475977fa62ad0ba254d4a78b3b1181203fa7faf81b70ff75115552681 SHA512 7d2f2ccc9bf99cb2848c1059c34cd2163d48d6fa0a090f2c03cd92e2441dc0029868e28ac23a8a310941f969c5270ad26b5768a2a303bdccf35803ac027e7a88
 DIST ziglibini-e18d36665905c1e7ba0c1ce3e8780076b33e3002.tar.gz 7398 BLAKE2B e8f8a026c876d120340f57beb4fda3fba396fe4f1f0aa5515f76399a68291087aa0909dde69139e4153a60587e37dd8b4ba94c5f481ce42c60a0cfee5f31cbe6 SHA512 3d18368d5e0e06e24a580698bec9eb35d85dfc528d4b24a354e41b402b31c06a547a3e85d59254781b1e0eafe13c1db23bebbd4a531c6a6a789af2e833e5a693

diff --git a/x11-misc/ly/files/ly-1.0.2-update-to-zig-0.13.0.patch b/x11-misc/ly/files/ly-1.0.2-update-to-zig-0.13.0.patch
deleted file mode 100644
index 7bb21a82c..000000000
--- a/x11-misc/ly/files/ly-1.0.2-update-to-zig-0.13.0.patch
+++ /dev/null
@@ -1,122 +0,0 @@
-From: Eric Joldasov <bratishkaerik@landless-city.net>
-
-Update ly source code and dependencies to Zig 0.13.0.
-
-diff --git a/build.zig b/build.zig
-index 083bd2a..720a4a5 100644
---- a/build.zig
-+++ b/build.zig
-@@ -25,7 +25,7 @@ pub fn build(b: *std.Build) !void {
- 
-     const exe = b.addExecutable(.{
-         .name = "ly",
--        .root_source_file = .{ .path = "src/main.zig" },
-+        .root_source_file = b.path("src/main.zig"),
-         .target = target,
-         .optimize = optimize,
-     });
-@@ -38,14 +38,14 @@ pub fn build(b: *std.Build) !void {
-     const clap = b.dependency("clap", .{ .target = target, .optimize = optimize });
-     exe.root_module.addImport("clap", clap.module("clap"));
- 
--    exe.addIncludePath(.{ .path = "include" });
-+    exe.addIncludePath(b.path("include"));
-     exe.linkSystemLibrary("pam");
-     exe.linkSystemLibrary("xcb");
-     exe.linkLibC();
- 
-     // HACK: Only fails with ReleaseSafe, so we'll override it.
-     const translate_c = b.addTranslateC(.{
--        .root_source_file = .{ .path = "include/termbox2.h" },
-+        .root_source_file = b.path("include/termbox2.h"),
-         .target = target,
-         .optimize = if (optimize == .ReleaseSafe) .ReleaseFast else optimize,
-     });
-@@ -94,7 +94,7 @@ pub fn build(b: *std.Build) !void {
- 
- pub fn ExeInstaller(install_conf: bool) type {
-     return struct {
--        pub fn make(step: *std.Build.Step, progress: *std.Progress.Node) !void {
-+        pub fn make(step: *std.Build.Step, progress: std.Progress.Node) !void {
-             _ = progress;
-             try install_ly(step.owner.allocator, install_conf);
-         }
-@@ -108,7 +108,7 @@ const InitSystem = enum {
- };
- pub fn ServiceInstaller(comptime init_system: InitSystem) type {
-     return struct {
--        pub fn make(step: *std.Build.Step, progress: *std.Progress.Node) !void {
-+        pub fn make(step: *std.Build.Step, progress: std.Progress.Node) !void {
-             _ = progress;
-             const allocator = step.owner.allocator;
-             switch (init_system) {
-@@ -220,7 +220,7 @@ fn install_ly(allocator: std.mem.Allocator, install_config: bool) !void {
-     }
- }
- 
--pub fn uninstallall(step: *std.Build.Step, progress: *std.Progress.Node) !void {
-+pub fn uninstallall(step: *std.Build.Step, progress: std.Progress.Node) !void {
-     _ = progress;
-     try std.fs.cwd().deleteTree(data_directory);
-     const allocator = step.owner.allocator;
-diff --git a/deps/p/122014e73fd712190e109950837b97f6143f02d7e2b6986e1db70b6f4aadb5ba6a0d/build.zig b/deps/p/122014e73fd712190e109950837b97f6143f02d7e2b6986e1db70b6f4aadb5ba6a0d/build.zig
-index 53e5f90..0e35a04 100644
---- a/deps/p/122014e73fd712190e109950837b97f6143f02d7e2b6986e1db70b6f4aadb5ba6a0d/build.zig
-+++ b/deps/p/122014e73fd712190e109950837b97f6143f02d7e2b6986e1db70b6f4aadb5ba6a0d/build.zig
-@@ -1,14 +1,14 @@
- const std = @import("std");
- 
- pub fn build(b: *std.Build) void {
--    const clap_mod = b.addModule("clap", .{ .root_source_file = .{ .path = "clap.zig" } });
-+    const clap_mod = b.addModule("clap", .{ .root_source_file = b.path("clap.zig") });
- 
-     const optimize = b.standardOptimizeOption(.{});
-     const target = b.standardTargetOptions(.{});
- 
-     const test_step = b.step("test", "Run all tests in all modes.");
-     const tests = b.addTest(.{
--        .root_source_file = .{ .path = "clap.zig" },
-+        .root_source_file = b.path("clap.zig"),
-         .target = target,
-         .optimize = optimize,
-     });
-@@ -25,7 +25,7 @@ pub fn build(b: *std.Build) void {
-     }) |example_name| {
-         const example = b.addExecutable(.{
-             .name = example_name,
--            .root_source_file = .{ .path = b.fmt("example/{s}.zig", .{example_name}) },
-+            .root_source_file = b.path(b.fmt("example/{s}.zig", .{example_name})),
-             .target = target,
-             .optimize = optimize,
-         });
-@@ -63,7 +63,7 @@ fn readMeStep(b: *std.Build) *std.Build.Step {
-         .name = "ReadMeStep",
-         .owner = b,
-         .makeFn = struct {
--            fn make(step: *std.Build.Step, _: *std.Progress.Node) anyerror!void {
-+            fn make(step: *std.Build.Step, _: std.Progress.Node) anyerror!void {
-                 @setEvalBranchQuota(10000);
-                 _ = step;
-                 const file = try std.fs.cwd().createFile("README.md", .{});
-diff --git a/src/main.zig b/src/main.zig
-index ddee718..022ff54 100644
---- a/src/main.zig
-+++ b/src/main.zig
-@@ -512,7 +512,7 @@ pub fn main() !void {
-                     run = false;
-                 } else if (pressed_key == sleep_key) {
-                     if (config.sleep_cmd) |sleep_cmd| {
--                        var sleep = std.ChildProcess.init(&[_][]const u8{ "/bin/sh", "-c", sleep_cmd }, allocator);
-+                        var sleep = std.process.Child.init(&[_][]const u8{ "/bin/sh", "-c", sleep_cmd }, allocator);
-                         _ = sleep.spawnAndWait() catch .{};
-                     }
-                 }
-@@ -617,7 +617,7 @@ pub fn main() !void {
- 
-                 update = true;
- 
--                var restore_cursor = std.ChildProcess.init(&[_][]const u8{ "/bin/sh", "-c", config.term_restore_cursor_cmd }, allocator);
-+                var restore_cursor = std.process.Child.init(&[_][]const u8{ "/bin/sh", "-c", config.term_restore_cursor_cmd }, allocator);
-                 _ = restore_cursor.spawnAndWait() catch .{};
-             },
-             else => {

diff --git a/x11-misc/ly/ly-1.0.2.ebuild b/x11-misc/ly/ly-1.0.3.ebuild
similarity index 97%
rename from x11-misc/ly/ly-1.0.2.ebuild
rename to x11-misc/ly/ly-1.0.3.ebuild
index b2bc90a1e..c6b786515 100644
--- a/x11-misc/ly/ly-1.0.2.ebuild
+++ b/x11-misc/ly/ly-1.0.3.ebuild
@@ -8,7 +8,7 @@ inherit edo pam systemd prefix
 DESCRIPTION="Ly - a TUI display manager"
 HOMEPAGE="https://github.com/fairyglade/ly"
 
-CLAP="8c98e6404b22aafc0184e999d8f068b81cc22fa1"
+CLAP="0.9.1"
 ZIGINI="0bba97a12582928e097f4074cc746c43351ba4c8"
 ZIGLIBINI="e18d36665905c1e7ba0c1ce3e8780076b33e3002"
 
@@ -45,7 +45,6 @@ QA_FLAGS_IGNORED="usr/bin/ly"
 RES="${S}/res"
 
 PATCHES=(
-	"${FILESDIR}/ly-1.0.2-update-to-zig-0.13.0.patch"
 )
 
 # copied from sys-fs/ncdu::gentoo


             reply	other threads:[~2025-03-14  0:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-14  0:56 Daichi Yamamoto [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-02 10:07 [gentoo-commits] repo/proj/guru:dev commit in: x11-misc/ly/, x11-misc/ly/files/ Michal Vu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1741913568.6bbde417334b4cc93872a6d6efe5d631c140e929.dev@gentoo \
    --to=dev@dyama.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox