From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0GZoLm8Vr2J/QAEAbAwnHQ (envelope-from ) for ; Sun, 19 Jun 2022 14:24:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KPNwLW8Vr2KrrAAAG6o9tA (envelope-from ) for ; Sun, 19 Jun 2022 14:24:15 +0200 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 482B438941 for ; Sun, 19 Jun 2022 14:24:15 +0200 (CEST) Received: from localhost ([::1]:59986 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2tyQ-0001iY-23 for larch@yhetil.org; Sun, 19 Jun 2022 08:24:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2tyE-0001iP-Re for guix-patches@gnu.org; Sun, 19 Jun 2022 08:24:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56891) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2tyE-00026E-JU for guix-patches@gnu.org; Sun, 19 Jun 2022 08:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2tyE-0005x8-Fs for guix-patches@gnu.org; Sun, 19 Jun 2022 08:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56087] [PATCH] gnu: suckless: add farbfeld and propagate input to sent Resent-From: Gabriel Wicki Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 19 Jun 2022 12:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56087 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56087@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165564143722867 (code B ref -1); Sun, 19 Jun 2022 12:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Jun 2022 12:23:57 +0000 Received: from localhost ([127.0.0.1]:50788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2ty9-0005wl-IH for submit@debbugs.gnu.org; Sun, 19 Jun 2022 08:23:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:39250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2ty5-0005wb-H3 for submit@debbugs.gnu.org; Sun, 19 Jun 2022 08:23:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44338) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2ty5-0001hT-BS for guix-patches@gnu.org; Sun, 19 Jun 2022 08:23:53 -0400 Received: from chimborazo.ee.ethz.ch ([129.132.2.15]:35717) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2ty2-000237-On for guix-patches@gnu.org; Sun, 19 Jun 2022 08:23:52 -0400 Received: from silvi (unknown [85.195.207.206]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: gabriel) by chimborazo.ee.ethz.ch (Postfix) with ESMTPSA id 3CD3E401C8 for ; Sun, 19 Jun 2022 14:23:27 +0200 (CEST) Date: Sun, 19 Jun 2022 14:23:17 +0200 From: Gabriel Wicki Message-ID: <20220619115925.bcrcjpd7yse2n25t@silvi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=129.132.2.15; envelope-from=gabriel@erlikon.ch; helo=chimborazo.ee.ethz.ch X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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-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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655641455; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=bvXlW4mfv9Mnqp4Qtoyf1qir4GjZrYWhBe6yvh8+J1w=; b=AWKJm+BAvw43m79EjIpxhHwS6/dCWiSRw+475MW2YJLqeZI/4r5wsKHTr7R59vUX4wIvCz Yi8+gHhxjnxDh3pOmfQKUcq3ezGm2jJzWW4e7CZD/dh2/r0e3oYOAeivV3KIzfyGdu8hqm LiJF+lStSir1xR4E8JDMRyLwvyK5O/SimH49pc4kluBo8xvDV7ge0HcA67TCCsK552XpXz kFj+wxxiYPnnveM2fnNeKNf1jOohHE+PTNfQmdigdcrDDpXCy9iomhio6fBHBbMbVsHbhI gUSXR+boXB+DE2WU7dWLHZJ2MfEICldFB4hpMY5OQaSgba8RptpzQ/MZdocFSw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655641455; a=rsa-sha256; cv=none; b=X2OhGzhOQbo+/rvzBlx0bjIBBh7psEnFDVgU85Cg1wUaBRSkXendvL6Fog0zKMTMlqIqWM 25t1NLKE1pjSIOV28mTgBhpslrB/kTkZ7idYESCst3lPs6D6fDOfwa69bRkqtKmMJVmq2Z bsPF5f8k98tZXvKre8nWrXgQH4gyTMKjalhUWXno3AbygADazdznMaMKKT5tVxql25W+B9 KvcHvcx2LQENSAvxpCyRzkNfoxAOVSlLjjofAVeioylxrlG6clT+12BTDpqUIfdylJ3elf 99dWwdM5FiBE0vo9CzJPbwG9qekUl7DWtgNl6GNQsjtbQUJMTC8sP+FZzexoCg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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" X-Migadu-Spam-Score: -1.99 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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" X-Migadu-Queue-Id: 482B438941 X-Spam-Score: -1.99 X-Migadu-Scanner: scn0.migadu.com X-TUID: gvPGgdtrb3FS Hello Stumbling over the tools in suckless.scm i tried out sent. Unfortunately just installing sent and giving the example from their source-repo a try only produced a (somewhat strange) error. Apparently sent (and probably other suckless tools) rely on suckless' farbfeld package to handle images and the like, so i packaged it and propagated the input farbfeld to sent. This fixes the issue; now presentations with images work. I hope my patches are fine. Best regards Gabriel >From 55a563f53334c3eaac9cbae79fe33936679ab291 Mon Sep 17 00:00:00 2001 From: Gabriel Wicki Date: Sat, 18 Jun 2022 17:00:16 +0200 Subject: [PATCH 1/2] gnu: Add farbfeld. * gnu/packages/suckless.scm (farbfeld): New variable. --- gnu/packages/suckless.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm index 5aa37657b9..fb3af9ad6c 100644 --- a/gnu/packages/suckless.scm +++ b/gnu/packages/suckless.scm @@ -1084,3 +1084,35 @@ (define-public sfeed various other formats. There are also some programs and scripts included to import and export OPML and to fetch, filter, merge and order feed items.") (license license:isc))) + +(define-public farbfeld + (let ((commit "ab5e3df") (revision "0")) + (package + (name "farbfeld") + (version (git-version "4" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "git://git.suckless.org/farbfeld") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0pkmkvv5ggpzqwqdchd19442x8gh152xy5z1z13ipfznhspsf870")))) + (build-system gnu-build-system) + (inputs (list libpng libjpeg-turbo)) + (arguments + `(#:make-flags (list "PREFIX=" + (string-append "DESTDIR=" %output) + (string-append "CC=" + ,(cc-for-target))) + #:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'check)))) + (synopsis "Image format and conversion tools") + (description + "farbfeld is a lossless image format which is easy to parse, +pipe and compress.") + (home-page "https://git.suckless.org/farbfeld/") + (license license:isc)))) -- 2.34.0