From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8DLkFmusnGDbFwAAgWs5BA (envelope-from ) for ; Thu, 13 May 2021 06:34:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +O6XEmusnGAqLAAAB5/wlQ (envelope-from ) for ; Thu, 13 May 2021 04:34:51 +0000 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 BEDAA200D9 for ; Thu, 13 May 2021 06:34:50 +0200 (CEST) Received: from localhost ([::1]:48156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lh33h-0003fh-O8 for larch@yhetil.org; Thu, 13 May 2021 00:34:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lh31y-0007RD-RV for guix-patches@gnu.org; Thu, 13 May 2021 00:33:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57707) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lh31y-0003kz-IC for guix-patches@gnu.org; Thu, 13 May 2021 00:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lh31y-0007bq-Ep for guix-patches@gnu.org; Thu, 13 May 2021 00:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48394] [PATCH] gnu: Add cawbird. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 May 2021 04:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48394 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48394@debbugs.gnu.org Cc: Raghav Gururajan X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162088036129222 (code B ref -1); Thu, 13 May 2021 04:33:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 May 2021 04:32:41 +0000 Received: from localhost ([127.0.0.1]:41020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lh31d-0007bG-23 for submit@debbugs.gnu.org; Thu, 13 May 2021 00:32:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:42758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lh31Z-0007b6-4w for submit@debbugs.gnu.org; Thu, 13 May 2021 00:32:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lh31X-00073W-PU for guix-patches@gnu.org; Thu, 13 May 2021 00:32:36 -0400 Received: from out0.migadu.com ([94.23.1.103]:40233) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lh31U-0003Nb-Nw for guix-patches@gnu.org; Thu, 13 May 2021 00:32:35 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1620880348; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=PxXM++qQ59v5Zvzsqvjo4K4dE5FvYGMgyRxxnCNnLW4=; b=Y7TgR5YGZU7Np4VosL9OuhJEEk0V9F+gC0ZWvIfgG76f8tuLWMCiGcd6F58NNom7aKkPYa FqBGTeGMXxeJeboq3vrWZlW9FX5jQ/OqCNFXaJxwFqhpR0k9S1Hnr6kXq6YzeKRB4VlXNi JwCvpP/sZ4wMGQLzF2yEJzFuhhyHS3mjrR52J/I7QBq1oSRe9uQQgptuh8T/o4hHXvaPom tFpEpu0APqXuVcNQY+fbZY4xIqM0PBmg48zY2vlIzKA2Pslgkjfhaz8Bfh9uUW49cSI6jG 2ITJfHBrQ8sOjcyN014q78jWQ4sviESZkgsqWAO+r6kJxswFUGFB9ha9vNC25Q== Date: Thu, 13 May 2021 00:31:53 -0400 Message-Id: <20210513043153.2545-1-rg@raghavgururajan.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Auth-User: rg@raghavgururajan.name Received-SPF: pass client-ip=94.23.1.103; envelope-from=rg@raghavgururajan.name; helo=out0.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches From: Raghav Gururajan via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620880491; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=PxXM++qQ59v5Zvzsqvjo4K4dE5FvYGMgyRxxnCNnLW4=; b=b7UyH013QeAmQS7j/rW0ItPaQEX91tjGtTRVpJkgJ32kYhvK48V4V7ENSTln9VQtdEXi1C gmkCcZr4nT4ZHukkwXvm13BRBEkOWe5Q8gegCeXosj3p+ls4f9kyYfHmarAHO2hMcQ8oQj SWS3H+xH31ZUTRWCvnKzC8E6IeyRKE078OnK8eV+NVzORW6YAvonwPloyRH+bDfMh3Z5bY 2NMVhRA9D7yNBMPKUSrfZaOaBx+jDwaxfTqeR/ih4axOp48RkICPXmC1dlyvtClnd+Bt0y qGfjcqClztJVZaEtedjiP6xPqImPasYTXzBA3nH6JIUwJjkKoJGEpEmYKbaAkg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620880491; a=rsa-sha256; cv=none; b=HDE+QmfWohPwECR32kp1WpdYtZ3sOjAEtYOFmXl/4F4vejBhPeUfpYBNlmnVMUHq/NtQQ1 Q8N1YlpFBsVZlC8cgCtHiCxMqGhODme3oqLbElkPMz3iWdSEtt/h9NVch7wlSv7zezuObX 6GE0Cpg0oZfevKo5FVVQgPJCuZCFRfmyxj+nYrHTAaXAFzXbm3H5FQZNUWH8JC3uQ6R0Uz 8+HClJjGKj4XfsTSVfTMUg63fso6HozC8FyJU5R/sU2c5g7DYIebxl6NJuVD24RsBQ35iV 36PlU8lIdjdYR2iW+9CBmZnmS+TH2AMRhocJUZPdBJUIlaplCuxDuqaWDQ/wbw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=raghavgururajan.name header.s=key1 header.b=Y7TgR5YG; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 1.05 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=raghavgururajan.name header.s=key1 header.b=Y7TgR5YG; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: BEDAA200D9 X-Spam-Score: 1.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: 346ex6oLY+ud * gnu/packages/syndication.scm (cawbird): New variable. --- gnu/packages/syndication.scm | 91 ++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index 3d0b9c39c8..64ffcf2046 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -59,8 +59,99 @@ #:use-module (gnu packages web) #:use-module (gnu packages webkit) #:use-module (gnu packages xml) + #:use-module (gnu packages xorg) #:use-module (srfi srfi-1)) +(define-public cawbird + (package + (name "cawbird") + (version "1.4.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/IBBoard/cawbird") + (commit (string-append "v"version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0lmrgcj1ky1vhzynl36k6ba3ws089x4qdrnkjk3lbr334kicx9na")))) + (build-system meson-build-system) + (arguments + `(#:glib-or-gtk? #t + #:configure-flags + ;; Cawbirds's default key and secret for OAuth process with twitter. + (list + "-Dconsumer_key_base64=VmY5dG9yRFcyWk93MzJEZmhVdEk5Y3NMOA==" + "-Dconsumer_secret_base64=MThCRXIxbWRESDQ2Y0podzVtVU13SGUyVGlCRXhPb3BFRHhGYlB6ZkpybG5GdXZaSjI=") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'disable-failing-tests + (lambda _ + ;; These tests require networking. + (substitute* "tests/meson.build" + (("[ \t]*.*avatardownload.*$") "") + (("[ \t]*.*filters.*$") "") + (("[ \t]*.*friends.*$") "") + (("[ \t]*.*inlinemediadownloader.*$") "") + (("[ \t]*.*tweetparsing.*$") "") + (("[ \t]*.*usercounter.*$") "")))) + (delete 'check) + (add-after 'install 'custom-check + (lambda* (#:key outputs tests? #:allow-other-keys) + (when tests? + ;; Tests require a running X server. + (system "Xvfb :1 +extension GLX &") + (setenv "DISPLAY" ":1") + ;; Tests write to $HOME. + (setenv "HOME" (getcwd)) + ;; Tests look for gsettings-schemas installed by the package. + (setenv "XDG_DATA_DIRS" + (string-append (getenv "XDG_DATA_DIRS") + ":" (assoc-ref outputs "out") "/share")) + (invoke "meson" "test")) + #t)) + (add-after 'glib-or-gtk-wrap 'wrap-paths + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin/")) + (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")) + (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) + (wrap-program (string-append bin "cawbird") + `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)) + `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) + #t))))) + (native-inputs + `(("gettext" ,gettext-minimal) + ("glib:bin" ,glib "bin") + ("gobject-introspection" ,gobject-introspection) + ("gtk+:bin" ,gtk+ "bin") + ("pkg-config" ,pkg-config) + ("vala" ,vala) + ("xmllint" ,libxml2) + ("xorg-server" ,xorg-server-for-tests))) + (inputs + `(("glib" ,glib) + ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) + ("gspell" ,gspell) + ("gstreamer" ,gstreamer) + ("gst-libav" ,gst-libav) + ("gst-plugins-base" ,gst-plugins-base) + ("gst-plugins-good" ,gst-plugins-good) + ("gtk+" ,gtk+) + ("json-glib" ,json-glib) + ("liboauth" ,liboauth) + ("libsoup" ,libsoup) + ("rest" ,rest) + ("sqlite" ,sqlite) + ("x11" ,libx11))) + (propagated-inputs + `(("dconf" ,dconf))) + (synopsis "Client for Twitter") + (description "Cawbird is a twitter app, built with GTK. It supports all of +the main twitter features.") + (home-page "https://ibboard.co.uk/cawbird/") + (license license:gpl3+))) + (define-public giara (package (name "giara") -- 2.31.1