From patchwork Mon Dec 16 15:55:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 16543 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D9864178BF; Mon, 16 Dec 2019 15:57:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 8279B17856 for ; Mon, 16 Dec 2019 15:57:10 +0000 (GMT) Received: from localhost ([::1]:56046 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igsk9-0000j9-TI for patchwork@mira.cbaines.net; Mon, 16 Dec 2019 10:57:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42239) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igsk3-0000j3-Kg for guix-patches@gnu.org; Mon, 16 Dec 2019 10:57:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igsk2-00033k-7e for guix-patches@gnu.org; Mon, 16 Dec 2019 10:57:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34315) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1igsk2-00033f-4j for guix-patches@gnu.org; Mon, 16 Dec 2019 10:57:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1igsk2-0001XR-4h for guix-patches@gnu.org; Mon, 16 Dec 2019 10:57:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38638] [PATCH] Add Polari Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 Dec 2019 15:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38638 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38638@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15765117635807 (code B ref -1); Mon, 16 Dec 2019 15:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Dec 2019 15:56:03 +0000 Received: from localhost ([127.0.0.1]:40287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igsiz-0001V8-O2 for submit@debbugs.gnu.org; Mon, 16 Dec 2019 10:56:02 -0500 Received: from lists.gnu.org ([209.51.188.17]:47842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igsit-0001Ud-Ai for submit@debbugs.gnu.org; Mon, 16 Dec 2019 10:55:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41881) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igsir-0000cZ-Ho for guix-patches@gnu.org; Mon, 16 Dec 2019 10:55:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igsip-00013p-Gt for guix-patches@gnu.org; Mon, 16 Dec 2019 10:55:48 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:20171) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1igsio-0000W7-SR for guix-patches@gnu.org; Mon, 16 Dec 2019 10:55:47 -0500 Received: from nijino.local (213-240-64-42.hdsl.highway.telekom.at [213.240.64.42]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 47c5TQ494Rz1LWp9 for ; Mon, 16 Dec 2019 16:55:38 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 47c5TQ494Rz1LWp9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1576511738; bh=pCBo4XWBEFKhjNzXsNrCpcxjcFcvNW2lP8wJ1Guy/HU=; h=Subject:From:To:Date:From; b=XgmlkF8YJ17Z87SvuFpZJah/FmlU34MlUamf+V7bFkBnznKR1q6I29sI9Rggf+0tK xQ7gedws/CWWHGe4Lrqb0CAF5joGIdL8ttrQchsWAg3b4LpBGiS1vmbNiY00LcxP9b r9+za1lTdDWFtfkk9jVALIH8EXPsB35grgyATMqQ= Message-ID: From: Leo Prikler Date: Mon, 16 Dec 2019 16:55:45 +0100 User-Agent: Evolution 3.32.4 MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hey Guix, After my second attempt at doing so, I finally have a "working" build for Polari. As far as I'm aware, it needs to be installed in some profile along with its propagated inputs (due to D-Bus) and there may be some races due to honestly strange behaviour of telepathy-idle. However, I've been chatting with it on #guix for some while, so at least that appears to function as intended. Regards, Leo From 2c06da35ab21681712152df5eb87c0e5d4d3141c Mon Sep 17 00:00:00 2001 From: Leo Prikler Date: Mon, 16 Dec 2019 15:33:22 +0100 Subject: [PATCH] gnu: Add polari. * gnu/packages/gnome.scm (gspell) [native-inputs]: Add gobject-introspection. (polari): New package. --- gnu/packages/gnome.scm | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 1d4d756..12e4688 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -43,6 +43,7 @@ ;;; Copyright © 2019 Martin Becze ;;; Copyright © 2019 David Wilson ;;; Copyright © 2019 Raghav Gururajan +;;; Copyright © 2019 Leo Prikler ;;; ;;; This file is part of GNU Guix. ;;; @@ -8159,6 +8160,7 @@ that support the Assistive Technology Service Provider Interface (AT-SPI).") ("iso-codes" ,iso-codes))) (native-inputs `(("glib" ,glib "bin") + ("gobject-introspection" ,gobject-introspection) ("pkg-config" ,pkg-config) ("xmllint" ,libxml2) @@ -8957,3 +8959,58 @@ tile-matching game Mahjong. It features multiple board layouts, tile themes, and a high score table.") (home-page "https://wiki.gnome.org/Apps/Mahjongg") (license license:gpl2+))) + +(define-public polari + (package + (name "polari") + (version "3.32.2") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnome/sources/" name "/" + (version-major+minor version) + "/polari-" version ".tar.xz")) + (sha256 + (base32 + "0h0w9j3y067l911gpj446b3a2w1i2vzr1w2a7cz7i5rhn6qkf2sp")))) + (build-system meson-build-system) + (arguments + `(#:glib-or-gtk? #t + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'skip-gtk-update-icon-cache + (lambda _ + (substitute* "meson/meson-postinstall.sh" + (("gtk-update-icon-cache") (which "true"))) + #t)) + (add-after 'glib-or-gtk-wrap 'wrap-typelib + (lambda* (#:key outputs #:allow-other-keys) + (let ((prog (string-append (assoc-ref outputs "out") + "/bin/polari"))) + (wrap-program prog + `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))) + #t)))))) + (inputs + `(("glib" ,glib) + ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) + ("gspell" ,gspell) + ("gtk+" ,gtk+) + ("gjs" ,gjs) + ("libsecret" ,libsecret) + ("libsoup" ,libsoup) + ("telepathy-glib" ,telepathy-glib) + ("telepathy-logger" ,telepathy-logger))) + (native-inputs + `(("glib:bin" ,glib "bin") + ("gobject-introspection" ,gobject-introspection) + ("intltool" ,intltool) + ("pkg-config" ,pkg-config) + ("yelp-tools" ,yelp-tools))) + (propagated-inputs + `(("telepathy-idle" ,telepathy-idle) + ("telepathy-mission-control" ,telepathy-mission-control))) + (synopsis "Simple IRC Client") + (description + "Polari is a simple Internet Relay Chat (IRC) client that is designed to +integrate seamlessly with the GNOME desktop.") + (home-page "https://wiki.gnome.org/Apps/Polari") + (license license:gpl2+))) -- libgit2 0.28.4