From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:60246) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j36cS-0004EQ-Gf for guix-patches@gnu.org; Sat, 15 Feb 2020 18:13:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j36cQ-0002JL-UZ for guix-patches@gnu.org; Sat, 15 Feb 2020 18:13:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58831) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j36cQ-0002J9-R4 for guix-patches@gnu.org; Sat, 15 Feb 2020 18:13:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j36cQ-0003gF-ME for guix-patches@gnu.org; Sat, 15 Feb 2020 18:13:02 -0500 Subject: [bug#39626] [PATCH] Geary with Gspell fix Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:60191) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j36bx-000414-Vw for guix-patches@gnu.org; Sat, 15 Feb 2020 18:12:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j36bw-0001tb-4W for guix-patches@gnu.org; Sat, 15 Feb 2020 18:12:33 -0500 Received: from mx1.riseup.net ([198.252.153.129]:51920) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j36bv-0001rU-Mo for guix-patches@gnu.org; Sat, 15 Feb 2020 18:12:32 -0500 Received: from capuchin.riseup.net (unknown [10.0.1.176]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 48KmHL2sj2zDrrQ for ; Sat, 15 Feb 2020 15:12:30 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by capuchin.riseup.net (Postfix) with ESMTPSA id 48KmHK4dNlz8tmk for ; Sat, 15 Feb 2020 15:12:29 -0800 (PST) Date: Sun, 16 Feb 2020 00:12:26 +0100 From: raingloom@riseup.net Message-Id: <1581808346.699.0@riseup.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-B2AMFLGQGPiT2iW6Qthv" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39626@debbugs.gnu.org --=-B2AMFLGQGPiT2iW6Qthv Content-Type: text/plain; charset=us-ascii; format=flowed Here is that Geary package I said I'd send yesterday and a patch for Gspell that turns on the necessary --enable-vala flag, since Geary depends on its VAPI. I'm sending this patch from it, so I hope it's formatting it as it should... --=-B2AMFLGQGPiT2iW6Qthv Content-Type: multipart/mixed; boundary="=-Y99IRLEq3uFHKSWWZ1Jd" --=-Y99IRLEq3uFHKSWWZ1Jd Content-Type: text/x-patch Content-Disposition: attachment; filename=0002-gnu-geary-new-package-version-3.34.1.patch Content-Transfer-Encoding: quoted-printable >From ae635776361622f37aa02975b0f4e4698015ef84 Mon Sep 17 00:00:00 2001 From: raingloom Date: Sun, 9 Feb 2020 04:18:04 +0100 Subject: [PATCH 2/2] gnu: geary: new package (version 3.34.1) --- gnu/packages/gnome.scm | 98 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 9fb5db4f87..e6d328401c 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -46,6 +46,7 @@ ;;; Copyright =C2=A9 2019 Jonathan Brielmaier ;;; Copyright =C2=A9 2019 Leo Prikler ;;; Copyright =C2=A9 2020 Oleg Pykhalov +;;; Copyright =C2=A9 2020 raingloom ;;; ;;; This file is part of GNU Guix. ;;; @@ -117,6 +118,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) @@ -187,6 +189,7 @@ #:use-module (guix monads) #:use-module (guix store) #:use-module (ice-9 match) + #:use-module (ice-9 regex) #:use-module (srfi srfi-1)) =20 (define-public brasero @@ -9834,3 +9837,98 @@ index files needed for Adwaita to be used outside of= GNOME.") integrate seamlessly with the GNOME desktop.") (home-page "https://wiki.gnome.org/Apps/Polari") (license license:gpl2+))) + +(define-public geary + (package + (name "geary") + (version "3.34.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.gnome.org/GNOME/geary") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7")))) + (build-system meson-build-system) + (arguments + `(#:glib-or-gtk? #t + #:phases (modify-phases %standard-phases + (add-after 'unpack 'disable-failing-tests + (lambda _ + (substitute* "test/meson.build" + ((,(regexp-quote + (string-append + "test('client-tests', " + "geary_test_client_bin)"))) "")))) + (add-after 'unpack 'disable-postinstall-script + (lambda _ + (substitute* "meson.build" + ((,(regexp-quote + (string-append + "meson.add_install_script(" + "join_paths('build-aux', " + "'post_install.py'))"))) "")))) + (add-before 'check 'setup-xvfb + (lambda _ + (system "Xvfb :1 &") + (setenv "DISPLAY" ":1") + #t))))) + (inputs + `(("enchant" ,enchant) + ("folks" ,folks) + ("gcr" ,gcr) + ("glib" ,glib) + ("gmime" ,gmime-2.6) + ("gnome-online-accounts:lib" + ,gnome-online-accounts "lib") + ("gspell" ,gspell) + ("gtk+" ,gtk+) + ("iso-codes" ,iso-codes) + ("json-glib" ,json-glib) + ("libcanberra" ,libcanberra) + ("libgee" ,libgee) + ("libhandy" ,libhandy) + ("libpeas" ,libpeas) + ("libsecret" ,libsecret) + ("libunwind" ,libunwind) + ("sqlite" ,sqlite) + ("webkitgtk" ,webkitgtk) + ("ytnef" ,ytnef))) + (native-inputs + `(("appstream-glib" ,appstream-glib) + ("cmake-minimal" ,cmake-minimal) + ("desktop-file-utils" ,desktop-file-utils) + ("gettext" ,gnu-gettext) + ("glib:bin" ,glib "bin") + ("gobject-introspection" ,gobject-introspection) + ("itstool" ,itstool) + ("libarchive" ,libarchive) + ("libxml2" ,libxml2) + ("pkg-config" ,pkg-config) + ("vala" ,vala) + ("xvfb" ,xorg-server-for-tests))) + (synopsis + "Email application built around conversations, for the GNOME 3 deskto= p") + (description + "Geary collects related messages together into conversations, +making it easy to find and follow your discussions. +full-text and keyword search makes it easy to find +the email you are looking for. +Geary's full-featured composer lets you send rich, styled text +with images, links, and lists, but also send light-weight, +easy to read text messages. +Geary automatically picks up your existing GNOME Online Accounts, +and adding more is easy. +Geary has a clean, fast, modern interface that works like you want it to."= ) + (home-page "https://wiki.gnome.org/Apps/Geary") + (license (list + ;; geary + license:lgpl2.1+ + ;; icons + license:cc-by3.0 + license:cc-by-sa3.0 + license:public-domain + ;; snowball + license:bsd-2)))) --=20 2.25.0 = --=-Y99IRLEq3uFHKSWWZ1Jd Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-gspell-enable-vala-for-VAPI-for-geary.patch Content-Transfer-Encoding: quoted-printable >From c2749f9c10d3b424b3470be5d9ea680886fac0b2 Mon Sep 17 00:00:00 2001 From: raingloom Date: Sun, 16 Feb 2020 00:00:35 +0100 Subject: [PATCH 1/2] gnu: gspell: --enable-vala for VAPI (for geary) --- gnu/packages/gnome.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 014b68f54f..9fb5db4f87 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -8879,7 +8879,8 @@ that support the Assistive Technology Service Provide= r Interface (AT-SPI).") (patches (search-patches "gspell-dash-test.patch")))) (build-system glib-or-gtk-build-system) (arguments - '(#:phases + '(#:configure-flags (list "--enable-vala") + #:phases (modify-phases %standard-phases (add-before 'check 'pre-check (lambda* (#:key inputs #:allow-other-keys) @@ -8904,6 +8905,7 @@ that support the Assistive Technology Service Provide= r Interface (AT-SPI).") `(("glib" ,glib "bin") ("gobject-introspection" ,gobject-introspection) ("pkg-config" ,pkg-config) + ("vala" ,vala) ;;for VAPI ("xmllint" ,libxml2) =20 ;; For tests. --=20 2.25.0 = --=-Y99IRLEq3uFHKSWWZ1Jd-- --=-B2AMFLGQGPiT2iW6Qthv--