From patchwork Fri Jan 10 18:52:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Kasperi_Ker=C3=A4nen?= X-Patchwork-Id: 19738 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 B6FE817A7E; Fri, 10 Jan 2020 19:04:39 +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,FREEMAIL_FROM, 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 4B29817A7B for ; Fri, 10 Jan 2020 19:04:39 +0000 (GMT) Received: from localhost ([::1]:50692 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipzaI-0007XU-SD for patchwork@mira.cbaines.net; Fri, 10 Jan 2020 14:04:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44954) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipzZk-00079g-4I for guix-patches@gnu.org; Fri, 10 Jan 2020 14:04:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipzZi-0006ca-JI for guix-patches@gnu.org; Fri, 10 Jan 2020 14:04:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49006) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ipzZi-0006Xn-1k for guix-patches@gnu.org; Fri, 10 Jan 2020 14:04:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ipzZh-0001kC-TW for guix-patches@gnu.org; Fri, 10 Jan 2020 14:04:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38679] [PATCH] gnu: add geary. References: In-Reply-To: Resent-From: Kasperi =?utf-8?q?Ker=C3=A4nen?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 10 Jan 2020 19:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38679 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "38679@debbugs.gnu.org" <38679@debbugs.gnu.org> Received: via spool by 38679-submit@debbugs.gnu.org id=B38679.15786830416697 (code B ref 38679); Fri, 10 Jan 2020 19:04:01 +0000 Received: (at 38679) by debbugs.gnu.org; 10 Jan 2020 19:04:01 +0000 Received: from localhost ([127.0.0.1]:54979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipzZf-0001jw-Nk for submit@debbugs.gnu.org; Fri, 10 Jan 2020 14:04:01 -0500 Received: from mail-oln040092064042.outbound.protection.outlook.com ([40.92.64.42]:50055 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipzP7-0001Sc-EW for 38679@debbugs.gnu.org; Fri, 10 Jan 2020 13:53:06 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Vxg3nQ7DiHXr+4rS952+ZOFoEwsT3ZRnax9447BWi5KHmTs3VAdnrx9/Ol/OQe7o0SbYwzEz+wyaEoa14kOT+QsvDA8nyAC1tmksDO51EW8nLVWfbgk6/iVWjkqgBG7MBqYPLeWVlmUHeXx2DyjzWEZ82AlwjH936ia269i4GTlR0E6RiAUFQ129U4BiB6707AXi1JWiLQPDMKIoHRJ6EX5Uav+/FtDMNs+f93eRQXLzEIiWtEAtM1Ehn83LbBZhkqOzHzTp8eD7oUEKbd+l+R6GhSgHxvTvvb2uyRMkfbE4HLuDckdTSB9JNPj/7WFbtZLUuF+gadroWScJP5wJ/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OvxvTfHhmCcFWnx5/avg0hJ0Ms5Dm1T5yJ5ebaUaG0s=; b=MRHvprbQqRvSHiWle3GhqNEdNHI1qCl6qY7wLMHEQ+l3yNCgloEtZVSqZoCbs2j6FYT9eUJEDPxpj9MzBYPgqwoSzwQrtMKVGAy7P1cLxGFQW4xYkgpIToIRLfPqPkFJfeUf9AGzu/JHJ71P2XMG0y9KaAwfyuMu8nY3kaeGA03mPD1ewdsJ0M+PYTlDw0zVGTuySHI3HtD8L88TqutkXR0rLC3JxJ2RCfjbeO2rvgul4fwgwMFpa77nM3mU2B8NLo7w7mpsTo2C0yMMbA//gNKVVMO53jl0idf67cNWC/d66KH1FeMiyaXPHDNJj1ixH1OIGFOkE/AThCewWRCkmw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OvxvTfHhmCcFWnx5/avg0hJ0Ms5Dm1T5yJ5ebaUaG0s=; b=kniIzPX0C+qU98i+z1YLuBLHaXUuA3ci/YsVTyzXbBfILCqng8qMIFRFt3USGUzGAohmlGrzWNUgFHTF5iePgRObgEyedUnq+4hBhka6YmgMGzgNYuXIwmcj/xncfKw0VBcd+dqt13EZMLE1c70Qx9f/Kez9CzXkWGwEhm3YeR8VKhRyb9YktditnN+Y5xlI/MYGSJn50kSIoqvGzvOKsopI9rIkolmvT7ZTc50q/OiXYSwPrSPSp0vGSNkysvAD/gGvfRngK2qwVsDCfuAEd6QsD8iX9p3TR9iD3ra2oIJIiZCUPVHHE9nHj5Ly8GV7QmTxDW9HCbOYFU4GotyYow== Received: from HE1EUR01FT012.eop-EUR01.prod.protection.outlook.com (10.152.0.58) by HE1EUR01HT009.eop-EUR01.prod.protection.outlook.com (10.152.1.232) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.9; Fri, 10 Jan 2020 18:52:57 +0000 Received: from VI1PR0202MB3503.eurprd02.prod.outlook.com (10.152.0.57) by HE1EUR01FT012.mail.protection.outlook.com (10.152.0.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.9 via Frontend Transport; Fri, 10 Jan 2020 18:52:57 +0000 Received: from VI1PR0202MB3503.eurprd02.prod.outlook.com ([fe80::7db3:c039:dc45:2eb5]) by VI1PR0202MB3503.eurprd02.prod.outlook.com ([fe80::7db3:c039:dc45:2eb5%5]) with mapi id 15.20.2623.008; Fri, 10 Jan 2020 18:52:57 +0000 Received: from [192.168.1.113] (37.47.166.183) by AM5PR0102CA0011.eurprd01.prod.exchangelabs.com (2603:10a6:206::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.8 via Frontend Transport; Fri, 10 Jan 2020 18:52:55 +0000 From: Kasperi =?utf-8?q?Ker=C3=A4nen?= Thread-Topic: [bug#38679] [PATCH] gnu: add geary. Thread-Index: AQHVx+csbi1lJsO3SEGOluL9VAVG6w== Date: Fri, 10 Jan 2020 18:52:57 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-clientproxiedby: AM5PR0102CA0011.eurprd01.prod.exchangelabs.com (2603:10a6:206::24) To VI1PR0202MB3503.eurprd02.prod.outlook.com (2603:10a6:803:24::10) x-incomingtopheadermarker: OriginalChecksum:D2AAA16205B256861612C36271831969AEAFD894D1C300A603F310783831373F; UpperCasedChecksum:289C72E13C30E6C2B0BE9C0B8FD957E5DD30B3709DD9C40D2D205E956D331FC9; SizeAsReceived:7407; Count:48 x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: geary/3.32.2 x-tmn: [XgEqQnud8AvUxsK26ufSvisS3EiQWizQ] x-microsoft-original-message-id: <1578682373.27347.0@outlook.com> x-ms-publictraffictype: Email x-incomingheadercount: 48 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 63c880e9-d551-448f-dbb0-08d795fe4df5 x-ms-traffictypediagnostic: HE1EUR01HT009: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: j4gutTX4M2EyVbuctfPJB80LmDemSmXmaaSsFiK8G2fPKse1VJPTdOdp4SkSlWNOp7pCSgsBMSqGdHT1v0gQrn2flBIXDC4hosqN9iBELEFzRBLKxvd0B/2RKxnO08tXtsZjwHAhT5iIbjaUTjQEm6BvzM5JUF+rbEcgooiJyqJdGm9SzC4XpfThvXjkB8xN x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 63c880e9-d551-448f-dbb0-08d795fe4df5 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jan 2020 18:52:57.1976 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR01HT009 X-Mailman-Approved-At: Fri, 10 Jan 2020 14:03:58 -0500 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 I've enabled the tests and made them pass. There's still a small problem with icons not loading when entering the online accounts section of GNOME settings from geary, but given that the same happens with all applications I don't think anyone has a fix for it. From c7aada574a734437747fa81c82e3df3487b71222 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasperi=20Ker=C3=A4nen?= Date: Thu, 19 Dec 2019 19:17:38 +0100 Subject: [PATCH] gnu: Add geary. * gnu/packages/gnome.scm (geary): New variable. --- gnu/packages/gnome.scm | 83 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 0e18c2ec06..403b5e0a89 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -117,6 +117,7 @@ #:use-module (gnu packages kerberos) #:use-module (gnu packages libcanberra) #:use-module (gnu packages libunistring) + #:use-module (gnu packages libunwind) #:use-module (gnu packages libusb) #:use-module (gnu packages linux) #:use-module (gnu packages lirc) @@ -8942,6 +8943,88 @@ functionality.") license:openldap2.8 ; addressbook/gui/component/openldap-extract.h license:lgpl2.1+)))) ; smime/lib/* +(define-public geary + (package + (name "geary") + (version "3.32.2") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnome/sources/geary/" + (version-major+minor version) "/" + "geary-" version ".tar.xz")) + (sha256 + (base32 + "0sg53zq81v28hdqiy5d048skwfgsa8ck0z7ywsagdh7iaqin68gq")))) + (build-system meson-build-system) + (arguments `(#:tests? #t + #:glib-or-gtk? #t + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'skip-gtk-update-icon-cache + (lambda _ + (substitute* "build-aux/post_install.py" + (("gtk-update-icon-cache") "true")) + #t)) + (add-after 'unpack 'change-webkit-process-model + ;; Since webkitgtk 2.26 programs no longer have a choise in + ;; this but using the depreciated value will fail the test + ;; suite. Hope this is temporary and can be removed as soon + ;; as GNOME updates. + (lambda _ + (substitute* "src/client/components/client-web-view.vala" + (("SHARED_SECONDARY_PROCESS") + "MULTIPLE_SECONDARY_PROCESSES")))) + (add-before 'check 'start-xserver + ;; Client tests require a Wayland/X11 display. + (lambda* (#:key inputs #:allow-other-keys) + (let ((xorg-server (assoc-ref inputs "xorg-server")) + (display ":99")) + (setenv "HOME" (getcwd)) + (setenv "DISPLAY" display) + (zero? (system (format #f "~a/bin/Xvfb ~a &" + xorg-server display))))))))) + (native-inputs + `(("glib:bin" ,glib "bin") + ("gettext" ,gettext-minimal) + ("itstool" ,itstool) + ("pkg-config" ,pkg-config) + ("cmake" ,cmake) + ("vala" ,vala) + ("xorg-server" ,xorg-server-for-tests))) + (inputs + `(("sqlite" ,sqlite) + ("webkitgtk" ,webkitgtk) + ("gtk+" ,gtk+) + ("glib" ,glib) + ("gmime" ,gmime-2.6) + ("appstream-glib" ,appstream-glib) + ("libarchive" ,libarchive) + ("folks" ,folks) + ("libgee" ,libgee) + ("enchant" ,enchant) + ("gcr" ,gcr) + ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") + ("gspell" ,gspell) + ("iso-codes" ,iso-codes) + ("json-glib" ,json-glib) + ;; ("libpeas" ,libpeas) ; Required by a newer version of geary + ("libnotify" ,libnotify) + ("libsecret" ,libsecret) + ("libunwind" ,libunwind) + ("libcanberra" ,libcanberra) + ("glib-networking" ,glib-networking) + ("gsettings-desktop-schemas" ,gsettings-desktop-schemas))) + (home-page "https://gitlab.gnome.org/GNOME/geary") + (synopsis "An email application built around conversations") + (description "Geary is an email application built around conversations, for +the GNOME 3 desktop. It allows you to read, find and send email with a +straightforward, modern interface.") + (license (list license:lgpl2.1 + license:cc-by3.0 ; + license:cc-by-sa3.0 ; icons + license:public-domain ; + license:bsd-2)))) ; snowball + (define-public gthumb (package (name "gthumb") -- 2.24.1