From patchwork Fri Dec 20 11:20:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 16578 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 CAEF017900; Fri, 20 Dec 2019 11:21:12 +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=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, 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 7426A178CC for ; Fri, 20 Dec 2019 11:21:12 +0000 (GMT) Received: from localhost ([::1]:53356 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iiGLH-0004kq-OV for patchwork@mira.cbaines.net; Fri, 20 Dec 2019 06:21:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51062) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iiGLA-0004i8-Nh for guix-patches@gnu.org; Fri, 20 Dec 2019 06:21:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iiGL9-0005LI-3Y for guix-patches@gnu.org; Fri, 20 Dec 2019 06:21:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39980) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iiGL8-0005K8-PH for guix-patches@gnu.org; Fri, 20 Dec 2019 06:21:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iiGL8-0008Ak-Ip for guix-patches@gnu.org; Fri, 20 Dec 2019 06:21: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: Fri, 20 Dec 2019 11:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 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.157684086031385 (code B ref -1); Fri, 20 Dec 2019 11:21:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Dec 2019 11:21:00 +0000 Received: from localhost ([127.0.0.1]:45953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iiGL1-0008A4-Ld for submit@debbugs.gnu.org; Fri, 20 Dec 2019 06:21:00 -0500 Received: from lists.gnu.org ([209.51.188.17]:55680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iiGKz-00089x-0a for submit@debbugs.gnu.org; Fri, 20 Dec 2019 06:20:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48449) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iiGKx-0004Tl-0C for guix-patches@gnu.org; Fri, 20 Dec 2019 06:20:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iiGKu-0004Po-Ub for guix-patches@gnu.org; Fri, 20 Dec 2019 06:20:50 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:27522) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iiGKu-0003xn-50 for guix-patches@gnu.org; Fri, 20 Dec 2019 06:20:48 -0500 Received: from [10.0.0.4] (193-81-98-224.hdsl.highway.telekom.at [193.81.98.224]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 47fRBJ1vy9z1LgPD for ; Fri, 20 Dec 2019 12:20:39 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 47fRBJ1vy9z1LgPD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1576840840; bh=aAM3uJjbH1o5JPupKObe3auPFDGqZjR2l/TKPKumF6Q=; h=Subject:From:To:Date:In-Reply-To:References:From; b=KZDDxjRbVUn+tTmuMMPZqULzOZrnDnnpQHhQBV6uD72EG4zD7SnxojqmnnUt0Yhst WQ4q3/LkVtuW32l/2dn3wYaF5QLIrU0dpia4yZZislYD+/CJDjcLcc4lysqdO4m4wn H4ZQeSEA3tL4WKlUPK8vnPV/capdE4Ht4SISgp8s= Message-ID: <0e2c4491339fecc580ba40bbe8c8cab1a0daa97b.camel@student.tugraz.at> From: Leo Prikler Date: Fri, 20 Dec 2019 12:20:28 +0100 In-Reply-To: References: 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 Am Montag, den 16.12.2019, 16:55 +0100 schrieb Leo Prikler: > 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 My previous patch appears to no longer apply cleanly, so I've rebased it on current master. From bb5ac4780ddde253c03267550f2930f57d350c44 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 6ee5187da6..f170f22082 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -44,6 +44,7 @@ ;;; Copyright © 2019 David Wilson ;;; Copyright © 2019 Raghav Gururajan ;;; Copyright © 2019 Jonathan Brielmaier +;;; Copyright © 2019 Leo Prikler ;;; ;;; This file is part of GNU Guix. ;;; @@ -8167,6 +8168,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) @@ -8966,3 +8968,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+))) -- 2.24.1