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 4MQuM/rlVGAfPgAA0tVLHw (envelope-from ) for ; Fri, 19 Mar 2021 17:57:14 +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 MAiKLvrlVGCURwAA1q6Kng (envelope-from ) for ; Fri, 19 Mar 2021 17:57:14 +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 64DAD33694 for ; Fri, 19 Mar 2021 18:57:14 +0100 (CET) Received: from localhost ([::1]:39988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lNJN3-0001q1-H8 for larch@yhetil.org; Fri, 19 Mar 2021 13:57:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNJMs-0001pj-2I for guix-patches@gnu.org; Fri, 19 Mar 2021 13:57:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39393) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lNJMr-0002Ob-RP for guix-patches@gnu.org; Fri, 19 Mar 2021 13:57:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lNJMr-0000E3-R8 for guix-patches@gnu.org; Fri, 19 Mar 2021 13:57:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47268] [PATCH] gnu: Add apostrophe. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 19 Mar 2021 17:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47268 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47268@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1616176609844 (code B ref -1); Fri, 19 Mar 2021 17:57:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Mar 2021 17:56:49 +0000 Received: from localhost ([127.0.0.1]:50939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNJMe-0000DY-KG for submit@debbugs.gnu.org; Fri, 19 Mar 2021 13:56:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:41600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNJMc-0000DQ-8D for submit@debbugs.gnu.org; Fri, 19 Mar 2021 13:56:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNJMb-0001nD-VT for guix-patches@gnu.org; Fri, 19 Mar 2021 13:56:45 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:33991) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNJMW-000273-A6 for guix-patches@gnu.org; Fri, 19 Mar 2021 13:56:45 -0400 Received: from localhost.localdomain (194-96-13-79.adsl.highway.telekom.at [194.96.13.79]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4F2BR04m5Fz3wZc for ; Fri, 19 Mar 2021 18:56:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1616176588; bh=7m//4SGqgfAw/MydMV0QYwIMeaq3Ob5HTOBCyxt4Rgw=; h=From:To:Subject:Date; b=Bc4pe4K4SE6BWG2v9woi7QboOT5GV2/juxPhOnAPtzrNdgvwJYnk5QUnSgkmLln9U 6Brb/6mXP/hwHBg58IEd03JcKOQJg4ZXvEkEwutQbT6vH7900EfzNeQom6lhboXvFa 8hkYTCnuZl5bXpikk6oemL5CIdI0xxZEXrf+4z6E= From: Leo Prikler Date: Fri, 19 Mar 2021 18:56:02 +0100 Message-Id: <20210319175601.13766-1-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 Received-SPF: pass client-ip=129.27.2.202; envelope-from=leo.prikler@student.tugraz.at; helo=mailrelay.tugraz.at X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616176634; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=7m//4SGqgfAw/MydMV0QYwIMeaq3Ob5HTOBCyxt4Rgw=; b=k7AE2z2f40FqgT+6F5BGBCgXFeMvmBZr7cxli3GZKhEdNRP0BQ0HSki5CqCAgZjAPPrWWA RULNMcAUliZuShWg4xmNhMLUVB35pGmxtkKJVKDyKlRs3f33HvmEHYP8/0oDaZGUU9O3tM UYvPaVcbQJrOfvhTN2MldkL7E7d51Hi5E7InAmPeYAMzIhEgGfDxRWUPrTquPPDD/RPeYV /3pjKGMV6AWntryR4Abx8O4j3OXKK/orrKtkKHQ8xdyy+J+1FhSsOhOa6L1afmpfYCmb8x Lx7l4JrCA03Zj/t7fiCDynG8pFH9LoMt3qtDQM5VFW7o7d5N/uh++aFxjYkHzg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616176634; a=rsa-sha256; cv=none; b=eVyIL9cIqmmxoPB9/k4r86pxNXpA+KKPp7Gq7L5ezPhPBQXPugrvRQJcdgr6YW75FEFQPM N39UJFz4fH5l3aptLxF1zN5EySMpoL3Bi/XVgCs5xK0s8rfoTRNcWXwmXy2ZZU4goX9gkk Thk8NrmSOLl/Jwa3hRvPBAM1sMU11V5EnJhEcYs7buOpWJR+3Fiw0r3hMQ/x56kDg62HyC cGTKrQ3PUm1zOxjhFf5NHeMPh0/NQpLlD7xmvLUlHelGFcdOfMSoS5Eghlng2oTjysbGwx +eiiL+qGzMJ4qcUNQfwa7Dp0sWFFo+InWiF8gOVQTYbHAlOOTl28e4yu73Bq5g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=Bc4pe4K4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); 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: 3.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=Bc4pe4K4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); 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: 64DAD33694 X-Spam-Score: 3.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3hb/NBn8NFzb * gnu/packages/gnome.scm (apostrophe): New variable. --- gnu/packages/gnome.scm | 64 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 34cd0fa992..060f467fa9 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -125,6 +125,7 @@ #: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) @@ -11569,6 +11570,69 @@ 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))) + (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 license:gpl3))) + (define-public libratbag (package (name "libratbag") -- 2.31.0