From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +MpEDDIDVWDnTwAA0tVLHw (envelope-from ) for ; Fri, 19 Mar 2021 20:01:54 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uMstCDIDVWA/GwAA1q6Kng (envelope-from ) for ; Fri, 19 Mar 2021 20:01:54 +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 B406B35AD9 for ; Fri, 19 Mar 2021 21:01:53 +0100 (CET) Received: from localhost ([::1]:59088 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lNLJg-00084S-B8 for larch@yhetil.org; Fri, 19 Mar 2021 16:01:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNLIu-00083q-0F for guix-patches@gnu.org; Fri, 19 Mar 2021 16:01:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39496) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lNLIs-0004u6-M1 for guix-patches@gnu.org; Fri, 19 Mar 2021 16:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lNLIs-0003Vk-LK for guix-patches@gnu.org; Fri, 19 Mar 2021 16:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47268] [PATCH v2 1/1] gnu: Add apostrophe. Resent-From: =?UTF-8?Q?L=C3=A9o?= Le Bouter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 19 Mar 2021 20:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47268 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47268@debbugs.gnu.org Cc: =?UTF-8?Q?L=C3=A9o?= Le Bouter , Leo Prikler Received: via spool by 47268-submit@debbugs.gnu.org id=B47268.161618401213417 (code B ref 47268); Fri, 19 Mar 2021 20:01:02 +0000 Received: (at 47268) by debbugs.gnu.org; 19 Mar 2021 20:00:12 +0000 Received: from localhost ([127.0.0.1]:51040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNLI3-0003UL-M9 for submit@debbugs.gnu.org; Fri, 19 Mar 2021 16:00:11 -0400 Received: from mail.zaclys.net ([178.33.93.72]:36155) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNLI0-0003Sp-54 for 47268@debbugs.gnu.org; Fri, 19 Mar 2021 16:00:08 -0400 Received: from localhost.localdomain (lsl43-1_migr-78-195-19-20.fbx.proxad.net [78.195.19.20] (may be forged)) (authenticated bits=0) by mail.zaclys.net (8.14.7/8.14.7) with ESMTP id 12JJwsip018240 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 19 Mar 2021 21:00:01 +0100 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.zaclys.net 12JJwsip018240 Authentication-Results: mail.zaclys.net; spf=fail smtp.mailfrom=lle-bout@zaclys.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zaclys.net; s=default; t=1616184001; bh=rAPu56QRGvnTrvBLBR+aTjrBOaHYrEh0RvtpLYEhRbc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ev8gibtyIcwarCW+BL1W72gM8xJdT+Mn0YmGpXibkL6IER2J/eXo/LQG3GJJxZ7O5 XaTRCK9zfBegmI8DqpgQjWbHbHiGwZgSox3V9R2UbIGLVUX3oqd9KIA4y9f303S4p2 Fb2G5vwoUYGpkOS/wiZN/H9WjeZeySzw/npICRbA= Date: Fri, 19 Mar 2021 20:58:49 +0100 Message-Id: <20210319195849.19486-2-lle-bout@zaclys.net> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210319195849.19486-1-lle-bout@zaclys.net> References: <20210319195849.19486-1-lle-bout@zaclys.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: =?UTF-8?Q?L=C3=A9o?= Le Bouter X-ACL-Warn: , =?UTF-8?Q?L=C3=A9o?= Le Bouter via Guix-patches From: =?UTF-8?Q?L=C3=A9o?= Le Bouter 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=1616184113; 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-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=rAPu56QRGvnTrvBLBR+aTjrBOaHYrEh0RvtpLYEhRbc=; b=CeDCPiV+tLYsLLWLnOcECgUsj14GJnll+c0qH0RuW0s4ov9ih2HaO9+Sr5KDIt5Yp0irMP 2qLgNpKg+/m948xgNyWO82mwXv3XiWSVte9WLgqBEzx9/nx7hAV1lqyvjgYXLHej2mEAQt OESkyaSXshWJEaUSlqcD0TkOs32j8zT3OSvFufc4nqD+W0+YkwJxDvhXqwppVq9CSmf2Md jbBagEpdwX0ucykFqRj0/lrNivkTWk+M4mFZ3Lz+t49DXguj1NW3sl4DGk4qHsjztdBFgd 2RI4e+M+WS6BWUCysFJ8ThpsYcDSfv9ChVLMx5ER6LgBuiwqDByXtz3z4o8YGQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616184113; a=rsa-sha256; cv=none; b=hUjnbdqMABmv3bRYYxhSwK9PDR87sek6hu/kIXSNMwSuBHhESudO/1libbPz/7cIiXKsm5 UJTtvnxyOQZpWZXL8YsukoH29yngE2eYIa3gPOMBf1w8J2F1Jado4alnuKT0WCJc6SYqWb VrdNTF6mAsubR3zRDZ7kzGVKolR51x48t46aCCWF08XNQ3fDPGWdOlfPI1Tdy19ckcE1E/ rWsUii4fcFtisXc4DxSESNINcE97d2cL+sOtQDYI+jg8lSxlMgwoMkABIqhbhPgKQXHesa sZHx520JibL/RUy7ObgB5iwKdESgzOIdfUd0ongOwa37I/sCbfttJkQnpQ2N2Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zaclys.net header.s=default header.b=Ev8gibty; 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: -2.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zaclys.net header.s=default header.b=Ev8gibty; 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: B406B35AD9 X-Spam-Score: -2.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: psmQODAABBXk From: Leo Prikler * gnu/packages/gnome.scm (apostrophe): New variable. Co-authored-by: Léo Le Bouter --- gnu/packages/gnome.scm | 68 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 34cd0fa992..4153c3614c 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -125,12 +125,14 @@ #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) + #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages ibus) #:use-module (gnu packages icu4c) #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) #:use-module (gnu packages inkscape) #:use-module (gnu packages iso-codes) + #:use-module (gnu packages javascript) #:use-module (gnu packages kerberos) #:use-module (gnu packages libcanberra) #:use-module (gnu packages libffi) @@ -11569,6 +11571,72 @@ and toolbars.") GTK+. It integrates well with the GNOME desktop environment.") (license license:gpl3+))) +(define-public apostrophe + (package + (name "apostrophe") + (version "2.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.gnome.org/somas/apostrophe") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1qzy3zhi18wf42m034s8kcmx9gl05j620x3hf6rnycq2fvy7g4gz")))) + (build-system meson-build-system) + (arguments + `(#:glib-or-gtk? #t + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-meson + (lambda _ + (substitute* "build-aux/meson_post_install.py" + (("gtk-update-icon-cache") "true")) + #t)) + (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((prog (string-append (assoc-ref outputs "out") + "/bin/apostrophe")) + (pylib (string-append (assoc-ref outputs "out") + "/lib/python" + ,(version-major+minor + (package-version python)) + "/site-packages"))) + (wrap-program prog + `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib)) + `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))) + `("PATH" ":" + prefix (,(string-append (assoc-ref inputs "pandoc") + "/bin")))) + #t)))))) + (inputs + `(("glib" ,glib) + ("gobject-introspection" ,gobject-introspection) + ("gspell" ,gspell) + ("gtk+" ,gtk+) + ("libhandy" ,libhandy) + ("pandoc" ,pandoc) + ("python-chardet" ,python-chardet) + ("python-levenshtein" ,python-levenshtein) + ("python-regex" ,python-regex) + ("python-pycairo" ,python-pycairo) + ("python-pygobject" ,python-pygobject) + ("python-pyenchant" ,python-pyenchant) + ("python-pypandoc" ,python-pypandoc) + ("webkitgtk" ,webkitgtk) + ("js-mathjax" ,js-mathjax))) + (native-inputs + `(("gettext" ,gettext-minimal) + ("glib:bin" ,glib "bin") + ("pkg-config" ,pkg-config))) + (home-page "https://gitlab.gnome.org/somas/apostrophe") + (synopsis "Markdown editor written in Python with GTK+") + (description "Apostrophe is a GTK+ based distraction free Markdown editor. +It uses pandoc as back-end for parsing Markdown.") + (license (list license:gpl3 + license:expat)))) + (define-public libratbag (package (name "libratbag") -- 2.31.0