From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sAZrLvAryWX0GgEAe85BDQ:P1 (envelope-from ) for ; Sun, 11 Feb 2024 21:20:00 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id sAZrLvAryWX0GgEAe85BDQ (envelope-from ) for ; Sun, 11 Feb 2024 21:20:00 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=CmAYovOW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707682800; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=T06XW9lhos499zY6gv3Tb5jD8cymWv25/iFX5TW9YcY=; b=i3opY59Shx4lkTqkQNUQ35xvlegul/UPsgsir7NoE8E92TvOvJIu1KvS2L6Z7FVygCx7Kw o+roVzVRIqLqkGSwNKnqiR5x29z8WGTASo1ETiFJuoXIYgXrqwrA+if73uzY0zJu5gvFps 0aCd10I6D7waWn8xQfJHfApifnuCFxQv7V4JO+6WGxF1UW+TMiEMTOC6xrmj7ldpmojCMq k/PDNLvNsPHg3qQqFW7dDk/rWp7s2cZwdmhMqGhKjeJtmAQCvJ6s7x4uGNCjBU1m4eG83i YJnZAMUrMhENBFV6ezkqgcvMOh8AUVClqyokdW62rXpe1mRJkxAsaCkPsROs+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=CmAYovOW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707682800; a=rsa-sha256; cv=none; b=d0Xc6UOV+yjify3JQ9kC6CJg/qPkXrBJsKHnpNVQSjyz6EA2+/6HA4I0hj13bTeYO0emm/ gcWniE87P/7kg5WWIOaH6qhaN06PrPjgL7Ma6C0CubuNqepMQUUNroNF+MiK3VU14MMeXu uJXH+jGP+QKPZWxZDzVIZg1z1QGOXjgxY7bZHWH7ZU+wzZ07yHwJQ1abj+xRX6Iuxxic/V XGQgqMDn4lfTCAcv8Eateba36g3ATpB/rbvPoAd1EAk0NchLugA4RTxuzZzMAmSw4CyFJZ nv94qw5YNEgPcVd+Yy2lVki2iMAESy+fw65ttg51/ek3IQGy/Byu+bTnwywcRw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4F96D10E37 for ; Sun, 11 Feb 2024 21:20:00 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZGIo-0005ux-RF; Sun, 11 Feb 2024 15:19:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZGIl-0005uY-GA for guix-patches@gnu.org; Sun, 11 Feb 2024 15:19:49 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rZGIl-0003Ol-0v for guix-patches@gnu.org; Sun, 11 Feb 2024 15:19:47 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZGJ1-0000Eo-4c for guix-patches@gnu.org; Sun, 11 Feb 2024 15:20:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68549] [PATCH] gnu: Add "go-github-com-coreos-go-systemd" sub-packages. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 11 Feb 2024 20:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68549 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: 68549@debbugs.gnu.org Received: via spool by 68549-submit@debbugs.gnu.org id=B68549.1707682775826 (code B ref 68549); Sun, 11 Feb 2024 20:20:03 +0000 Received: (at 68549) by debbugs.gnu.org; 11 Feb 2024 20:19:35 +0000 Received: from localhost ([127.0.0.1]:45179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZGIX-0000DE-Pn for submit@debbugs.gnu.org; Sun, 11 Feb 2024 15:19:34 -0500 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]:51437) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZGIU-0000Cr-79 for 68549@debbugs.gnu.org; Sun, 11 Feb 2024 15:19:32 -0500 Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2d0a0873404so31560411fa.2 for <68549@debbugs.gnu.org>; Sun, 11 Feb 2024 12:19:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707682747; x=1708287547; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=T06XW9lhos499zY6gv3Tb5jD8cymWv25/iFX5TW9YcY=; b=CmAYovOWgkkP1l6T3fmlRzD5lQsFoyWNhnjw/AqcHqORtAIDe0w3dVuaRIiSTmLxxo ZyDYj92knE4X9gA0iMMa29ymhiNM5F4n8MJe3Azr3R41hgh83vIly6W8BB03wAega2Yo /yt0BIcLDqgkb3IilOZeE2SlN7omQWsmn8Ec5eMRaHpsMZ40Al4Ot6Jw8etjqkwyYkEP ArHWehKIycKOttdtng7xQ2ua8w7r3vM2Tz1DSV3jwWVa2K+9Tmx0FcsjSCS4MgGrhBmE MEvAQksKL8fh9mQ2S5KLguYqHceH3h2zscVPxAOIgi5erYyBlNRi/52bZ7zRUgXO9kw+ ANJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707682747; x=1708287547; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=T06XW9lhos499zY6gv3Tb5jD8cymWv25/iFX5TW9YcY=; b=TDtJhijeVybiY1y7FgKAvJd2SWQWhJ4hb7ENM/kK5R66ebmEGdrnfFCWC8ZbN8Ycka 7biq6xpchBHao6gmcForBp5tJveTfrXa27+rQ+HRCP1U0KmCIysb0p/176nDo1074pXy RJrCKmBCoslexcKlQFhGQQVSjqt38gXEo77uO3gOS0j1Z9vk7ljYNYPndDGFD5EoSUC+ ijNeDnyEarYqyLwi6EbcQPtvrFSfuFw+F7oRQT/IhBF4pU+9FR31dCwm8L2qJItPW/CG 6te+agbAsD7+fYOMT9y+k9Uy/cXr/UwAM/pQRNEcxuu/3s0rWy5Ox0axdLKcXF8TIBeO HYoA== X-Gm-Message-State: AOJu0YxA4fBUOIRg6bgWEhLi93fG4RrjQyT+uw9DYuajyEFd09LJy1u1 EGOLz6ujlzxUPcq+APBf4Y0IAed6Egd1Ltc4zwTzBtu1WV7EB+5C488m6NXm X-Google-Smtp-Source: AGHT+IE8jO3Y10vfxqoe8C6eV67SogO3g+UteMaGip9VxmK/mPtMYEOmovE+8lhg+cxD64SZ5NCmdg== X-Received: by 2002:ac2:47fb:0:b0:50e:937e:b00e with SMTP id b27-20020ac247fb000000b0050e937eb00emr3184172lfp.46.1707682746650; Sun, 11 Feb 2024 12:19:06 -0800 (PST) Received: from elephant ([5.164.220.172]) by smtp.gmail.com with ESMTPSA id g9-20020a19ee09000000b00511749fec62sm613827lfb.72.2024.02.11.12.19.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 12:19:05 -0800 (PST) From: "Artyom V. Poptsov" In-Reply-To: <87cytqydhj.fsf@gmail.com> (Maxim Cournoyer's message of "Wed, 24 Jan 2024 10:09:44 -0500") References: <87jzo7pwi9.fsf@gmail.com> <87cytqydhj.fsf@gmail.com> Date: Sun, 11 Feb 2024 23:19:04 +0300 Message-ID: <87sf1ypxdz.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 0.22 X-Spam-Score: 0.22 X-Migadu-Queue-Id: 4F96D10E37 X-Migadu-Scanner: mx12.migadu.com X-TUID: sjzNOB1VZYkU --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello Maxim! Thank you for the patch review! Here's the fixed version of the patches. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-gnu-Add-go-github-com-coreos-go-systemd-daemon.patch Content-Transfer-Encoding: quoted-printable From=20b580cf281893bca1cf42296430099668e12d3d5e Mon Sep 17 00:00:00 2001 Message-ID: From: "Artyom V. Poptsov" Date: Wed, 17 Jan 2024 22:25:00 +0300 Subject: [PATCH 1/7] gnu: Add go-github-com-coreos-go-systemd-daemon. * gnu/packages/golang.scm (go-github-com-coreos-go-systemd-daemon): New variable. Change-Id: If79215d0676b9bb8dfe6e12a144a9b156f43f9be =2D-- gnu/packages/golang.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 163691a1e6..9d732b595d 100644 =2D-- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -8625,6 +8625,19 @@ (define-public go-github-com-coreos-go-systemd-activ= ation using socket activation from Go.") (license license:asl2.0))) =20 +(define-public go-github-com-coreos-go-systemd-daemon + (package + (inherit go-github-com-coreos-go-systemd-activation) + (name "go-github-com-coreos-go-systemd-daemon") + (arguments + '(#:import-path "github.com/coreos/go-systemd/daemon" + #:unpack-path "github.com/coreos/go-systemd")) + (home-page "https://github.com/coreos/go-systemd") + (synopsis "Go bindings to systemd for notifications") + (description "Go bindings to systemd for notifying the daemon of servi= ce status +changes") + (license license:asl2.0))) + (define-public go-github-com-emirpasic-gods (package (name "go-github-com-emirpasic-gods") base-commit: 9edbb2d7a40c9da7583a1046e39b87633459f656 =2D-=20 2.41.0 --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0002-gnu-Add-go-github-com-coreos-go-systemd-dbus.patch Content-Transfer-Encoding: quoted-printable From=202990002874fcec1feca941b5d1137fc73ef04138 Mon Sep 17 00:00:00 2001 Message-ID: <2990002874fcec1feca941b5d1137fc73ef04138.1707682476.git.poptso= v.artyom@gmail.com> In-Reply-To: References: From: "Artyom V. Poptsov" Date: Wed, 17 Jan 2024 22:34:12 +0300 Subject: [PATCH 2/7] gnu: Add go-github-com-coreos-go-systemd-dbus. * gnu/packages/golang.scm (go-github-com-coreos-go-systemd-dbus): New variable. Change-Id: Ib50ff86ec7c03fd8b5e732dc9b3ec5e4196d8d3b =2D-- gnu/packages/golang.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 9d732b595d..ec5f4f1919 100644 =2D-- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -8638,6 +8638,22 @@ (define-public go-github-com-coreos-go-systemd-daemon changes") (license license:asl2.0))) =20 +(define-public go-github-com-coreos-go-systemd-dbus + (package + (inherit go-github-com-coreos-go-systemd-activation) + (name "go-github-com-coreos-go-systemd-dbus") + (arguments + '(#:tests? #f ;Tests require D-Bus daemon running. + #:import-path "github.com/coreos/go-systemd/dbus" + #:unpack-path "github.com/coreos/go-systemd")) + (native-inputs (list go-github-com-godbus-dbus)) + (home-page "https://github.com/coreos/go-systemd") + (synopsis "Go bindings to systemd for managing services") + (description + "Go bindings to systemd for starting/stopping/inspecting running serv= ices and +units.") + (license license:asl2.0))) + (define-public go-github-com-emirpasic-gods (package (name "go-github-com-emirpasic-gods") =2D-=20 2.41.0 --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0003-gnu-Add-go-github-com-coreos-go-systemd-journal.patch Content-Transfer-Encoding: quoted-printable From=20529d69e701b8bf8eb33d0bae832618ddbe0c8a1c Mon Sep 17 00:00:00 2001 Message-ID: <529d69e701b8bf8eb33d0bae832618ddbe0c8a1c.1707682476.git.poptso= v.artyom@gmail.com> In-Reply-To: References: From: "Artyom V. Poptsov" Date: Wed, 17 Jan 2024 22:38:38 +0300 Subject: [PATCH 3/7] gnu: Add go-github-com-coreos-go-systemd-journal. * gnu/packages/golang.scm (go-github-com-coreos-go-systemd-journal): New variable. Change-Id: I6a8ae9d416ce7c4236ce0d8a8388da130964144c =2D-- gnu/packages/golang.scm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index ec5f4f1919..4fae497d87 100644 =2D-- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -8654,6 +8654,21 @@ (define-public go-github-com-coreos-go-systemd-dbus units.") (license license:asl2.0))) =20 +(define-public go-github-com-coreos-go-systemd-journal + (package + (inherit go-github-com-coreos-go-systemd-activation) + (name "go-github-com-coreos-go-systemd-journal") + (arguments + '(#:tests? #f ;Tests require access to journald socket. + #:import-path "github.com/coreos/go-systemd/journal" + #:unpack-path "github.com/coreos/go-systemd")) + (home-page "https://github.com/coreos/go-systemd") + (synopsis "Go bindings to systemd for writing journald") + (description + "Go bindings to systemd for writing to systemd's logging service, +journald.") + (license license:asl2.0))) + (define-public go-github-com-emirpasic-gods (package (name "go-github-com-emirpasic-gods") =2D-=20 2.41.0 --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0004-gnu-Add-go-github-com-coreos-go-systemd-login1.patch Content-Transfer-Encoding: quoted-printable From=20b19724ad1418b870b1cc121960ac1b547feceb26 Mon Sep 17 00:00:00 2001 Message-ID: In-Reply-To: References: From: "Artyom V. Poptsov" Date: Wed, 17 Jan 2024 22:43:37 +0300 Subject: [PATCH 4/7] gnu: Add go-github-com-coreos-go-systemd-login1. * gnu/packages/golang.scm (go-github-com-coreos-go-systemd-login1): New variable. Change-Id: I815e67c119b00232a620004f72e6b61d90d2c06a =2D-- gnu/packages/golang.scm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 4fae497d87..2a36f6b299 100644 =2D-- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -8669,6 +8669,21 @@ (define-public go-github-com-coreos-go-systemd-journ= al journald.") (license license:asl2.0))) =20 +(define-public go-github-com-coreos-go-systemd-login1 + (package + (inherit go-github-com-coreos-go-systemd-activation) + (name "go-github-com-coreos-go-systemd-login1") + (arguments + '(#:tests? #f ;Tests require D-Bus daemon running. + #:import-path "github.com/coreos/go-systemd/login1" + #:unpack-path "github.com/coreos/go-systemd")) + (native-inputs (list go-github-com-godbus-dbus)) + (home-page "https://github.com/coreos/go-systemd") + (synopsis "Go bindings to systemd for integration with logind API") + (description + "Go bindings to systemd for integration with the systemd logind API.") + (license license:asl2.0))) + (define-public go-github-com-emirpasic-gods (package (name "go-github-com-emirpasic-gods") =2D-=20 2.41.0 --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0005-gnu-Add-go-github-com-coreos-go-systemd-machine1.patch Content-Transfer-Encoding: quoted-printable From=20f824cfcd0db64e77715fa1a8a8f37e3e520a17c4 Mon Sep 17 00:00:00 2001 Message-ID: In-Reply-To: References: From: "Artyom V. Poptsov" Date: Wed, 17 Jan 2024 22:46:31 +0300 Subject: [PATCH 5/7] gnu: Add go-github-com-coreos-go-systemd-machine1. * gnu/packages/golang.scm (go-github-com-coreos-go-systemd-machine1): New variable. Change-Id: I2d9340a2b70dd68e24e4a88bdcd1f4c289100c6d =2D-- gnu/packages/golang.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 2a36f6b299..860195ded1 100644 =2D-- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -8684,6 +8684,20 @@ (define-public go-github-com-coreos-go-systemd-login1 "Go bindings to systemd for integration with the systemd logind API.") (license license:asl2.0))) =20 +(define-public go-github-com-coreos-go-systemd-machine1 + (package + (inherit go-github-com-coreos-go-systemd-activation) + (name "go-github-com-coreos-go-systemd-machine1") + (arguments + '(#:tests? #f ;Tests require D-Bus daemon running. + #:import-path "github.com/coreos/go-systemd/machine1" + #:unpack-path "github.com/coreos/go-systemd")) + (native-inputs (list go-github-com-godbus-dbus)) + (home-page "https://github.com/coreos/go-systemd") + (synopsis "Go bindings to systemd for registering machines/containers") + (description "Go bindings to systemd for registering machines/containe= rs.") + (license license:asl2.0))) + (define-public go-github-com-emirpasic-gods (package (name "go-github-com-emirpasic-gods") =2D-=20 2.41.0 --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0006-gnu-Add-go-github-com-coreos-go-systemd-unit.patch Content-Transfer-Encoding: quoted-printable From=209bfd2545ed69424a2934a7639bfa7fd8bcff1c4f Mon Sep 17 00:00:00 2001 Message-ID: <9bfd2545ed69424a2934a7639bfa7fd8bcff1c4f.1707682476.git.poptso= v.artyom@gmail.com> In-Reply-To: References: From: "Artyom V. Poptsov" Date: Wed, 17 Jan 2024 22:48:36 +0300 Subject: [PATCH 6/7] gnu: Add go-github-com-coreos-go-systemd-unit. * gnu/packages/golang.scm (go-github-com-coreos-go-systemd-unit): New variable. Change-Id: I4103a0a8a3fe8f0efe4e21b053cecda9825efdc1 =2D-- gnu/packages/golang.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 860195ded1..5b1835aca1 100644 =2D-- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -8698,6 +8698,22 @@ (define-public go-github-com-coreos-go-systemd-machi= ne1 (description "Go bindings to systemd for registering machines/containe= rs.") (license license:asl2.0))) =20 +(define-public go-github-com-coreos-go-systemd-unit + (package + (inherit go-github-com-coreos-go-systemd-activation) + (name "go-github-com-coreos-go-systemd-unit") + (arguments + '(#:tests? #f ;Tests require D-Bus daemon running. + #:import-path "github.com/coreos/go-systemd/unit" + #:unpack-path "github.com/coreos/go-systemd")) + (native-inputs (list go-github-com-godbus-dbus)) + (home-page "https://github.com/coreos/go-systemd") + (synopsis "Go bindings to systemd for working with unit files") + (description + "Go bindings to systemd for (de)serialization and comparison of unit +files.") + (license license:asl2.0))) + (define-public go-github-com-emirpasic-gods (package (name "go-github-com-emirpasic-gods") =2D-=20 2.41.0 --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0007-gnu-Add-go-github-com-coreos-go-systemd-sdjournal.patch Content-Transfer-Encoding: quoted-printable From=20e8fe9949443c5b7b71e7ace257fc220d81cc89db Mon Sep 17 00:00:00 2001 Message-ID: In-Reply-To: References: From: "Artyom V. Poptsov" Date: Mon, 29 Jan 2024 21:29:46 +0300 Subject: [PATCH 7/7] gnu: Add go-github-com-coreos-go-systemd-sdjournal. * gnu/packages/golang.scm (go-github-com-coreos-go-systemd-sdjournal): New variable. Change-Id: I48d6d6e888ab757363a16bae9f50c1ff955f287a =2D-- gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 5b1835aca1..6f5534265d 100644 =2D-- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -78,6 +78,7 @@ (define-module (gnu packages golang) #:use-module ((gnu packages bootstrap) #:select (glibc-dynamic-linker)) #:use-module (gnu packages check) #:use-module (gnu packages fonts) + #:use-module (gnu packages freedesktop) #:use-module (gnu packages gcc) #:use-module (gnu packages glib) #:use-module (gnu packages gnupg) @@ -8714,6 +8715,33 @@ (define-public go-github-com-coreos-go-systemd-unit files.") (license license:asl2.0))) =20 +(define-public go-github-com-coreos-go-systemd-sdjournal + (package + (inherit go-github-com-coreos-go-systemd-activation) + (name "go-github-com-coreos-go-systemd-sdjournal") + (arguments + '(#:tests? #f ;Tests require D-Bus daemon running. + #:import-path "github.com/coreos/go-systemd/sdjournal" + #:unpack-path "github.com/coreos/go-systemd" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-sdjournal-header + (lambda* (#:key import-path #:allow-other-keys) + (substitute* (format #f + "src/~a/journal.go" + import-path) + (("systemd/sd-journal.h") + "elogind/sd-journal.h") + (("systemd/sd-id128.h") + "elogind/sd-id128.h"))))))) + (inputs (list elogind)) + (home-page "https://github.com/coreos/go-systemd") + (synopsis "Go bindings to systemd for journald") + (description + "Go bindings to systemd for reading from journald by wrapping its C +API.") + (license license:asl2.0))) + (define-public go-github-com-emirpasic-gods (package (name "go-github-com-emirpasic-gods") =2D-=20 2.41.0 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable The updated version of my patch set includes "sdjournal" where all references on "systemd" package were replaced with "elogind". Also I rebased the patchset on "master" branch. Thanks, =2D avp =2D-=20 Artyom "avp" Poptsov Home page: https://memory-heap.org/~avp/ CADR Hackerspace co-founder: https://cadrspace.ru/ GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJNBAEBCgA3FiEEAf2F9Bp7f4IFgwalk16+BzbchX4FAmXJK7gZHHBvcHRzb3Yu YXJ0eW9tQGdtYWlsLmNvbQAKCRCTXr4HNtyFfieRD/9KBlE8N3nDpsQvzg9Gcn/8 uPch8tN+oeO6ca7OvMA7zJ+12I2o+qaSOtod3m36iX0cBa2qih1wel7sJebb8LH5 Qid6u4EyH9ZVku/JWhUA9ROfF0dzSY4Oja9zZ5IUnlsCT3leY3449IKwFKDx7xTO QHznwXWFDuCB0RZs5afuT1ngLo/gsQVEx1auP9Bo8Tg1iIDq8H9eQMGz5gqWUajm 5eh8tI68xGrklSdXAfjb//0PHy9c8N/rEwuls9tlNy5V/Z8eOepKluYH5HWaPuc0 aH4zsIEgTjwz4zOQnXBVyoUOuN/OORa7pk3LlOWaM2ThAFXOgnjcAY2NftMnJuyg KjINCEsLh56sVeF8QhyuWTR9Uzn1XM29wOyudV+dwZJozFxvFiqdocq2WqrCZgkq aLQVgjwm5Kn6xVCVBMDrPhiBSo0R1ejqzCtGzoyh/dvrA5svQ5tC3kD8AfrpMdNk xuYU8TzYPPr+T69y4Kj43OaKvEJmPuwex+0P32ApG3BK9NVkpuK8YfgBYnShM59f 5uAMW/qMJvjEFtvvsYcP5jV4Lrp65XOR4Sh2QovDY5voOz+eGiIjhUzwHr+UUWdY E991FRf6u2X6Po8e/6BSxyh93dxCD4Eg0ogmBoXMH3Yk9fU7DCmu9EkCorWvobst 3xZMoJ3T5oIzOzSC/YxMsA== =2jfH -----END PGP SIGNATURE----- --==-=-=--