GNU bug report logs - #71587
[PATCH 0/2] Rename mastodon.scm -> fediverse.scm and add snac2

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Sergio Durigan Junior <sergiodj@HIDDEN>; Keywords: patch; Done: Andreas Enge <andreas@HIDDEN>; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 71587-done <at> debbugs.gnu.org:


Received: (at 71587-done) by debbugs.gnu.org; 30 Jun 2024 09:45:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 30 05:45:26 2024
Received: from localhost ([127.0.0.1]:55132 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sNr7e-0005lw-MW
	for submit <at> debbugs.gnu.org; Sun, 30 Jun 2024 05:45:26 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:58296)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andreas@HIDDEN>) id 1sNr7c-0005li-KQ
 for 71587-done <at> debbugs.gnu.org; Sun, 30 Jun 2024 05:45:25 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 768E21E6;
 Sun, 30 Jun 2024 11:44:48 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 5hv_a1ytuugi; Sun, 30 Jun 2024 11:44:48 +0200 (CEST)
Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id DF73C1C7;
 Sun, 30 Jun 2024 11:44:47 +0200 (CEST)
Date: Sun, 30 Jun 2024 11:44:46 +0200
From: Andreas Enge <andreas@HIDDEN>
To: 71587-done <at> debbugs.gnu.org
Subject: Close
Message-ID: <ZoEpDve9ztBNUtI3@jurong>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 71587-done
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

thanks for the patches!

I think renaming is a good idea; details are of course of the order of
bikeshedding. Since I like fediverse better, I kept your patch.

Concerning snac2, I have decided to call it snac instead. This is how it
is called on the author's github page (the largest heading), and it is
also the name of the binary. I have modernised the patch using gexps,
removed the #t return value of a phase, and added a comment why tests
are disabled.

There is no need to sign off your own patches, since you are already the
author.

Something strange happened with the change ids, there were two of them
in each commit; I have kept one every time.

Andreas





Notification sent to Sergio Durigan Junior <sergiodj@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Andreas Enge <andreas@HIDDEN>:
You have taken responsibility. Full text available.

Message received at 71587 <at> debbugs.gnu.org:


Received: (at 71587) by debbugs.gnu.org; 29 Jun 2024 21:11:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 29 17:11:50 2024
Received: from localhost ([127.0.0.1]:53772 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sNfML-0000wY-U6
	for submit <at> debbugs.gnu.org; Sat, 29 Jun 2024 17:11:50 -0400
Received: from mail.sergiodj.net ([195.201.110.160]:54944)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sergiodj@HIDDEN>) id 1sNfMJ-0000wI-TQ
 for 71587 <at> debbugs.gnu.org; Sat, 29 Jun 2024 17:11:48 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sergiodj.net;
 s=20160602; t=1719692254;
 bh=CSE1MpAZ+InMAwOW2HU323AuHlqQV7v6I5Bx6S1XIRw=;
 h=From:To:Subject:In-Reply-To:References:Date:From;
 b=XgrHanMsm7D0X1Qu7uLI+tlC6zvzWGHEzLgw87HiEYjuVW8wf8h+8sCY9HCpSSpl0
 z+alLAotUlIPQuv7gtGCB6UtadRDpDRe3Q87koXnxlNgwDEz8W6cg0bVVEmhXEczg5
 xoJfxv4u1Nl+ko1lkJeNd0u7VbcevXZHd+cU6Qg8=
From: Sergio Durigan Junior <sergiodj@HIDDEN>
To: 71587 <at> debbugs.gnu.org
Subject: Re: [bug#71587] [PATCH 0/2] Rename mastodon.scm -> fediverse.scm
 and add snac2
In-Reply-To: <874j9neitz.fsf@HIDDEN> (Sergio Durigan Junior's message of
 "Thu, 20 Jun 2024 11:26:32 -0400")
References: <cover.1718512816.git.sergiodj@HIDDEN>
 <874j9neitz.fsf@HIDDEN>
X-URL: http://blog.sergiodj.net
Date: Sat, 29 Jun 2024 16:17:32 -0400
Message-ID: <87sewv7bc3.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 71587
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On Thursday, June 20 2024, I wrote:

> On Sunday, June 16 2024, I wrote:
>
>> I would like to propose the renaming of mastodon.scm to the more
>> generic name fediverse.scm.  This makes it possible to stuff more
>> fediverse-related packages into it, which is what the second patch in
>> the series does: it adds a package for snac2, which is a very simple
>> and elegant server that has great support for the Mastodon API.
>
> Ping.

Ping^2.

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
https://sergiodj.net/




Information forwarded to guix-patches@HIDDEN:
bug#71587; Package guix-patches. Full text available.

Message received at 71587 <at> debbugs.gnu.org:


Received: (at 71587) by debbugs.gnu.org; 20 Jun 2024 15:27:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 20 11:27:17 2024
Received: from localhost ([127.0.0.1]:33401 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sKJgz-0004ie-Ah
	for submit <at> debbugs.gnu.org; Thu, 20 Jun 2024 11:27:17 -0400
Received: from mail.sergiodj.net ([195.201.110.160]:51628)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sergiodj@HIDDEN>) id 1sKJgw-0004iK-OP
 for 71587 <at> debbugs.gnu.org; Thu, 20 Jun 2024 11:27:15 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sergiodj.net;
 s=20160602; t=1718897194;
 bh=iCxVCHn2SXOl/y0KVCO6YFVXMuY/kA98jpGsbfNPhqs=;
 h=From:To:Subject:In-Reply-To:References:Date:From;
 b=Zreb6vfD4d8uHfoEgWwz9B8MSyqHQWedHgbw+XrBbNo85rfquTJkig+hwoEvCWnQB
 EYUPx1Sw0squ7ZtGFxmk3eCNWColB0RIYwLbmII/dX1lKfU2S3VNDn4IxND5wjXV5H
 5EN8nCG1cR2VtX3qVDUo0N3HBpc4lCMgCb/74/Vo=
From: Sergio Durigan Junior <sergiodj@HIDDEN>
To: 71587 <at> debbugs.gnu.org
Subject: Re: [bug#71587] [PATCH 0/2] Rename mastodon.scm -> fediverse.scm
 and add snac2
In-Reply-To: <cover.1718512816.git.sergiodj@HIDDEN> (Sergio Durigan
 Junior's message of "Sun, 16 Jun 2024 00:46:19 -0400")
References: <cover.1718512816.git.sergiodj@HIDDEN>
X-URL: http://blog.sergiodj.net
Date: Thu, 20 Jun 2024 11:26:32 -0400
Message-ID: <874j9neitz.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 71587
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On Sunday, June 16 2024, I wrote:

> I would like to propose the renaming of mastodon.scm to the more
> generic name fediverse.scm.  This makes it possible to stuff more
> fediverse-related packages into it, which is what the second patch in
> the series does: it adds a package for snac2, which is a very simple
> and elegant server that has great support for the Mastodon API.

Ping.

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
https://sergiodj.net/




Information forwarded to guix-patches@HIDDEN:
bug#71587; Package guix-patches. Full text available.

Message received at 71587 <at> debbugs.gnu.org:


Received: (at 71587) by debbugs.gnu.org; 17 Jun 2024 17:56:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 17 13:56:37 2024
Received: from localhost ([127.0.0.1]:35301 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sJGar-0007Qx-0m
	for submit <at> debbugs.gnu.org; Mon, 17 Jun 2024 13:56:37 -0400
Received: from mail.sergiodj.net ([195.201.110.160]:55602)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sergiodj@HIDDEN>) id 1sJGam-0007Qg-Tu
 for 71587 <at> debbugs.gnu.org; Mon, 17 Jun 2024 13:56:35 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sergiodj.net;
 s=20160602; t=1718646983;
 bh=dP8Ft3KJ14mnbS9RRU74SQa9KjnbYHL8tzdFrSvcVVA=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=sQ9uJoWSIKB6zN9fz1WVyqlZpZx6rNx8H6KS0fAZlO8QdaKnLtlLIy1/KcrKjnQP8
 hOUdhG1D3JWWN+pi1WNp1ebCc2W9oHZlryr07uweuvmnSrYjjt1K7GzDZt7uCEBjAH
 l0xuozKW/ifAm6ZD1xegJMigGABEyXf2lhQK6yB4=
From: Sergio Durigan Junior <sergiodj@HIDDEN>
To: MSavoritias <email@HIDDEN>
Subject: Re: [bug#71587] [PATCH 0/2] Rename mastodon.scm -> fediverse.scm
 and add snac2
In-Reply-To: <20240617134302.04312eb5@HIDDEN> (MSavoritias's message of
 "Mon, 17 Jun 2024 13:43:02 +0300")
References: <cover.1718512816.git.sergiodj@HIDDEN>
 <20240617134302.04312eb5@HIDDEN>
X-URL: http://blog.sergiodj.net
Date: Mon, 17 Jun 2024 13:56:21 -0400
Message-ID: <87plsflagq.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 71587
Cc: 71587 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On Monday, June 17 2024, MSavoritias wrote:

> On Sun, 16 Jun 2024 00:46:19 -0400
> Sergio Durigan Junior <sergiodj@HIDDEN> wrote:
>
>> Hi there,
>> 
>> I would like to propose the renaming of mastodon.scm to the more
>> generic name fediverse.scm.  This makes it possible to stuff more
>> fediverse-related packages into it, which is what the second patch in
>> the series does: it adds a package for snac2, which is a very simple
>> and elegant server that has great support for the Mastodon API.
>
> What about renaming it to activitypub.scm ?
> Since we want it to describe the protocol i guess.
> "fediverse" seems to generic and i doubt people would know what it is
> if they don't know the context it is used in.

Thanks for the reply!

In my experience the term "fediverse" is more popular, while ActivityPub
is more technical.  On top of that,
https://en.wikipedia.org/wiki/Fediverse implies that Fediverse is
composed of more than ActivityPub instances.

Either way, I'm open to renaming the file if you really think it's
better.

Thanks!

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
https://sergiodj.net/




Information forwarded to guix-patches@HIDDEN:
bug#71587; Package guix-patches. Full text available.

Message received at 71587 <at> debbugs.gnu.org:


Received: (at 71587) by debbugs.gnu.org; 17 Jun 2024 10:43:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 17 06:43:16 2024
Received: from localhost ([127.0.0.1]:59715 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sJ9pU-0006IE-1I
	for submit <at> debbugs.gnu.org; Mon, 17 Jun 2024 06:43:16 -0400
Received: from mail.webarch.email ([81.95.52.48]:35308)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <email@HIDDEN>) id 1sJ9pR-0006I5-4p
 for 71587 <at> debbugs.gnu.org; Mon, 17 Jun 2024 06:43:14 -0400
Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon)
 with ESMTPSA id 1A66B1A88788; Mon, 17 Jun 2024 11:43:05 +0100 (BST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=msavoritias.me;
 s=20210930; t=1718620988;
 h=from:subject:date:message-id:to:cc:mime-version:content-type:
 content-transfer-encoding:in-reply-to:references;
 bh=My24Wzkq/D8LMj7xCj9P0lTuRmt7O8Niks+nbCZwsV4=;
 b=ssdnp3Y5KPv5bAdO8ZH9FzmMdQhTe5AmYUbCbkC/ZRp1WVXp5EcTmPQcqyrU2U1KhtL4OT
 aiMxHk2EOX3JUNhfz/rmmx5FMgKspwyln9iLjRYx86304DNHKAG54UIOVrVggUeRcU6yNF
 0QoZq7erVq+zPaJLj/mF6ikoFH0EqMnvt1QkYGoEFjBiJn9GHFxXt83/FQjoVs1AQ7UUFW
 ckYVbw0qnJhAQX5GJcPcNFkK/G/rIyuz2525tfrvfaZrD/9GDebGNb1zg2+3/civbmamDM
 ytL0a3cF1zRaAPSlfunJp/o30AS4h44NiiFZH8W56XT4UCMHRj+UB8i2iFGNMw==
Date: Mon, 17 Jun 2024 13:43:02 +0300
From: MSavoritias <email@HIDDEN>
To: Sergio Durigan Junior <sergiodj@HIDDEN>
Subject: Re: [bug#71587] [PATCH 0/2] Rename mastodon.scm -> fediverse.scm
 and add snac2
Message-ID: <20240617134302.04312eb5@HIDDEN>
In-Reply-To: <cover.1718512816.git.sergiodj@HIDDEN>
References: <cover.1718512816.git.sergiodj@HIDDEN>
X-Mailer: Claws Mail 4.1.1 (GTK 3.24.41; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Last-TLS-Session-Version: TLSv1.3
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 71587
Cc: 71587 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On Sun, 16 Jun 2024 00:46:19 -0400
Sergio Durigan Junior <sergiodj@HIDDEN> wrote:

> Hi there,
> 
> I would like to propose the renaming of mastodon.scm to the more
> generic name fediverse.scm.  This makes it possible to stuff more
> fediverse-related packages into it, which is what the second patch in
> the series does: it adds a package for snac2, which is a very simple
> and elegant server that has great support for the Mastodon API.

What about renaming it to activitypub.scm ?
Since we want it to describe the protocol i guess.
"fediverse" seems to generic and i doubt people would know what it is
if they don't know the context it is used in.

MSavoritias
> 
> Thanks,
> 
> Sergio Durigan Junior (2):
>   gnu: mastodon: Rename to fediverse.scm
>   gnu: fediverse: Add snac2
> 
>  gnu/local.mk                                 |  2 +-
>  gnu/packages/{mastodon.scm => fediverse.scm} | 61
> +++++++++++++++++++- 2 files changed, 61 insertions(+), 2 deletions(-)
>  rename gnu/packages/{mastodon.scm => fediverse.scm} (75%)
> 
> 
> base-commit: 612e4dd98f7d1d015e405af9d029bede3fe3c280





Information forwarded to guix-patches@HIDDEN:
bug#71587; Package guix-patches. Full text available.

Message received at 71587 <at> debbugs.gnu.org:


Received: (at 71587) by debbugs.gnu.org; 16 Jun 2024 04:55:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 16 00:55:46 2024
Received: from localhost ([127.0.0.1]:51002 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sIhve-00065x-G9
	for submit <at> debbugs.gnu.org; Sun, 16 Jun 2024 00:55:46 -0400
Received: from mail.sergiodj.net ([195.201.110.160]:38722)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sergiodj@HIDDEN>) id 1sIhvc-00065R-5w
 for 71587 <at> debbugs.gnu.org; Sun, 16 Jun 2024 00:55:45 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sergiodj.net;
 s=20160602; t=1718513707;
 bh=9zgMJ8ScBRicEySJVH6ELDOnbfAlockn4a8oeoZ6HcU=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References:From;
 b=NXNlecIdc/zevaTSVJRsDIbK2/7FlhtIVoxvMsmUFECRRzLPONLsKbYorV+dAOjXH
 LiqeOIV5PcnDiBjoZFvcWl0E49SBeLGA/5E4pAzum0nqDXovYUWTmLQmxqEjanIARu
 HpbBelyD76O0mzgHfyR3lJlm+GPPJSkKrv4C4tlo=
From: Sergio Durigan Junior <sergiodj@HIDDEN>
To: 71587 <at> debbugs.gnu.org
Subject: [PATCH 1/2] gnu: mastodon: Rename to fediverse.scm
Date: Sun, 16 Jun 2024 00:54:44 -0400
Message-ID: <73d2527c46820114de06f52fda9521fe3bca9ee3.1718512816.git.sergiodj@HIDDEN>
X-Mailer: git-send-email 2.43.0
In-Reply-To: <cover.1718512816.git.sergiodj@HIDDEN>
References: <cover.1718512816.git.sergiodj@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 71587
Cc: Sergio Durigan Junior <sergiodj@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/local.mk (GNU_SYSTEM_MODULES): Rename mastodon.scm to fediverse.scm.
* gnu/packages/mastodon.scm: Rename to...
* gnu/packages/fediverse.scm: ...this.

Change-Id: Ibf736a341bbd53413bc8a7cf407579440dbe7b01

Signed-off-by: Sergio Durigan Junior <sergiodj@HIDDEN>
Change-Id: I64d72d1ddea626dcebaab6ad50f7036934c1a1a5
---
 gnu/local.mk                                 | 2 +-
 gnu/packages/{mastodon.scm => fediverse.scm} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename gnu/packages/{mastodon.scm => fediverse.scm} (99%)

diff --git a/gnu/local.mk b/gnu/local.mk
index 83b7402b09..39d5aa7bc9 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -271,6 +271,7 @@ GNU_SYSTEM_MODULES =				\
   %D%/packages/fabric-management.scm		\
   %D%/packages/fcitx.scm			\
   %D%/packages/fcitx5.scm			\
+  %D%/packages/fediverse.scm			\
   %D%/packages/figlet.scm			\
   %D%/packages/file.scm				\
   %D%/packages/file-systems.scm			\
@@ -441,7 +442,6 @@ GNU_SYSTEM_MODULES =				\
   %D%/packages/machine-learning.scm		\
   %D%/packages/magic-wormhole.scm		\
   %D%/packages/man.scm				\
-  %D%/packages/mastodon.scm			\
   %D%/packages/mail.scm				\
   %D%/packages/make-bootstrap.scm		\
   %D%/packages/markup.scm			\
diff --git a/gnu/packages/mastodon.scm b/gnu/packages/fediverse.scm
similarity index 99%
rename from gnu/packages/mastodon.scm
rename to gnu/packages/fediverse.scm
index b8006292ca..3f3c259726 100644
--- a/gnu/packages/mastodon.scm
+++ b/gnu/packages/fediverse.scm
@@ -18,7 +18,7 @@
 ;;; You should have received a copy of the GNU General Public License
 ;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
 
-(define-module (gnu packages mastodon)
+(define-module (gnu packages fediverse)
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix gexp)
-- 
2.43.0





Information forwarded to guix-patches@HIDDEN:
bug#71587; Package guix-patches. Full text available.

Message received at 71587 <at> debbugs.gnu.org:


Received: (at 71587) by debbugs.gnu.org; 16 Jun 2024 04:55:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 16 00:55:24 2024
Received: from localhost ([127.0.0.1]:50972 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sIhvH-00064S-QT
	for submit <at> debbugs.gnu.org; Sun, 16 Jun 2024 00:55:24 -0400
Received: from mail.sergiodj.net ([195.201.110.160]:40856)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sergiodj@HIDDEN>) id 1sIhvF-000643-Fj
 for 71587 <at> debbugs.gnu.org; Sun, 16 Jun 2024 00:55:22 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sergiodj.net;
 s=20160602; t=1718513714;
 bh=PORwhin6xY/h7YwzxFi2VulbJurZrULEeXb75QHuI8k=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References:From;
 b=01pcqPHB67HoI//6UJ0Va/ig9faabzLQkz9hXSIdLsPpDdSVZXSO73swPPUWWNI8H
 mxZ4c3iCSZrnN3TpgxNbessgMIWZ+1LLvOev1mkha8Nma8S4s2yVPAnMUf7EucFz8e
 K+eEvvqoHjmoRKyBsPCozMuxi20eua7SB3/5uDa0=
From: Sergio Durigan Junior <sergiodj@HIDDEN>
To: 71587 <at> debbugs.gnu.org
Subject: [PATCH 2/2] gnu: fediverse: Add snac2
Date: Sun, 16 Jun 2024 00:54:45 -0400
Message-ID: <9fef4fe2fce44fcc4164c8899d47662cc38fa82c.1718512816.git.sergiodj@HIDDEN>
X-Mailer: git-send-email 2.43.0
In-Reply-To: <cover.1718512816.git.sergiodj@HIDDEN>
References: <cover.1718512816.git.sergiodj@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 71587
Cc: Sergio Durigan Junior <sergiodj@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/fediverse.scm (snac2): New variable.

Change-Id: I085a53d0fea909c19f0ec562cc361ead3e849a40

Signed-off-by: Sergio Durigan Junior <sergiodj@HIDDEN>
Change-Id: I6ffcb08c13953baec32dc8a0f50cdc0deee76956
---
 gnu/packages/fediverse.scm | 59 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)

diff --git a/gnu/packages/fediverse.scm b/gnu/packages/fediverse.scm
index 3f3c259726..beeacd364b 100644
--- a/gnu/packages/fediverse.scm
+++ b/gnu/packages/fediverse.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2019-2024 Efraim Flashner <efraim@HIDDEN>
 ;;; Copyright © 2019 Tobias Geerinckx-Rice <me@HIDDEN>
 ;;; Copyright © 2021 Taiju HIGASHI <higashi@HIDDEN>
+;;; Copyright © 2024 Sergio Durigan Junior <sergiodj@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -23,12 +24,15 @@ (define-module (gnu packages fediverse)
   #:use-module (guix download)
   #:use-module (guix gexp)
   #:use-module (guix git-download)
+  #:use-module (guix build-system gnu)
   #:use-module (guix build-system meson)
   #:use-module (guix build-system pyproject)
   #:use-module (guix build-system python)
   #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix utils)
   #:use-module (gnu packages)
   #:use-module (gnu packages check)
+  #:use-module (gnu packages curl)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gettext)
@@ -44,6 +48,7 @@ (define-module (gnu packages fediverse)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages time)
+  #:use-module (gnu packages tls)
   #:use-module (gnu packages xml))
 
 (define-public toot
@@ -190,3 +195,57 @@ (define-public python-mastodon-py
     (description
      "This package provides a python wrapper for the Mastodon API.")
     (license license:expat)))
+
+(define-public snac2
+  (package
+    (name "snac2")
+    (version "2.55")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://codeberg.org/grunfink/snac2")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "06qmg0wy1f4r6l8j52jnma4d2b8sj8fqf52vn7qqbbs8jz7aj74s"))))
+    (build-system gnu-build-system)
+    (inputs `(,curl ,openssl))
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  (delete 'configure)
+                  (add-after 'unpack 'remove-usr-local
+                    (lambda _
+                      (substitute* "Makefile"
+                        (("-I/usr/local/include")
+                         "")
+                        (("-L/usr/local/lib")
+                         "")) #t)))
+       #:tests? #f
+       #:make-flags (list ,(string-append "CC="
+                                          (cc-for-target))
+                          ,(string-append "CFLAGS=-O2 -g -Wall -Wextra")
+                          (string-append "PREFIX=" %output))))
+    (home-page "https://codeberg.org/grunfink/snac2")
+    (synopsis
+     "Simple, minimalistic ActivityPub instance written in portable C")
+    (description
+     "Snac is a simple, minimalistic ActivityPub instance written in
+portable C.
+
+It features:
+
+@itemize
+@item Lightweight, minimal dependencies
+@item Extensive support of ActivityPub operations, e.g. write public notes,
+follow users, be followed, reply to the notes of others, admire wonderful
+content (like or boost), write private messages, etc.
+@item Multiuser support
+@item Mastodon API support, so Mastodon-compatible apps can be used
+@item Simple but effective web interface
+@item Easily-accessed MUTE button to silence users
+@item Tested interoperability with related software
+@item No database needed
+@item Totally JavaScript-free; no cookies either
+@end itemize")
+    (license license:expat)))
-- 
2.43.0





Information forwarded to guix-patches@HIDDEN:
bug#71587; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Jun 2024 04:52:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 16 00:52:04 2024
Received: from localhost ([127.0.0.1]:50759 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sIhs4-0005va-54
	for submit <at> debbugs.gnu.org; Sun, 16 Jun 2024 00:52:04 -0400
Received: from lists.gnu.org ([209.51.188.17]:52070)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sergiodj@HIDDEN>) id 1sIhs2-0005vJ-62
 for submit <at> debbugs.gnu.org; Sun, 16 Jun 2024 00:52:03 -0400
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 <sergiodj@HIDDEN>)
 id 1sIhnL-0000jf-BO
 for guix-patches@HIDDEN; Sun, 16 Jun 2024 00:49:51 -0400
Received: from mail.sergiodj.net ([195.201.110.160])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <sergiodj@HIDDEN>)
 id 1sIhnJ-0004Ca-1D
 for guix-patches@HIDDEN; Sun, 16 Jun 2024 00:47:10 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sergiodj.net;
 s=20160602; t=1718513223;
 bh=D8zqaBLThSl0HRd/j4HWsZeKVZSYsNX/bdxio/Bdg6Y=;
 h=From:To:Cc:Subject:Date:From;
 b=LdVpEw/jR+M/dSo9XAV52pncJXmfcPrFd7CeLCkIBlxVSJRk8dKAiiMPaPYgCZqPz
 F/tRW/JhJt+HeEAoDJe6mQL564Xh+bqi47yV/lYHuo8g28KzXFJk7Ge/6HaXa8uwlL
 o2AoD7SRtJAwbPh+YolKi1+qNx0U4lJnSzxkJYng=
From: Sergio Durigan Junior <sergiodj@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH 0/2] Rename mastodon.scm -> fediverse.scm and add snac2
Date: Sun, 16 Jun 2024 00:46:19 -0400
Message-ID: <cover.1718512816.git.sergiodj@HIDDEN>
X-Mailer: git-send-email 2.43.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=195.201.110.160;
 envelope-from=sergiodj@HIDDEN; helo=mail.sergiodj.net
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
Cc: Sergio Durigan Junior <sergiodj@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

Hi there,

I would like to propose the renaming of mastodon.scm to the more
generic name fediverse.scm.  This makes it possible to stuff more
fediverse-related packages into it, which is what the second patch in
the series does: it adds a package for snac2, which is a very simple
and elegant server that has great support for the Mastodon API.

Thanks,

Sergio Durigan Junior (2):
  gnu: mastodon: Rename to fediverse.scm
  gnu: fediverse: Add snac2

 gnu/local.mk                                 |  2 +-
 gnu/packages/{mastodon.scm => fediverse.scm} | 61 +++++++++++++++++++-
 2 files changed, 61 insertions(+), 2 deletions(-)
 rename gnu/packages/{mastodon.scm => fediverse.scm} (75%)


base-commit: 612e4dd98f7d1d015e405af9d029bede3fe3c280
-- 
2.43.0





Acknowledgement sent to Sergio Durigan Junior <sergiodj@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#71587; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 30 Jun 2024 10:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.