From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UCMsC9OrHV/aHAAA0tVLHw (envelope-from ) for ; Sun, 26 Jul 2020 16:14:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sDDXBtOrHV/kNQAAbx9fmQ (envelope-from ) for ; Sun, 26 Jul 2020 16:14:11 +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 7457A94005D for ; Sun, 26 Jul 2020 16:14:10 +0000 (UTC) Received: from localhost ([::1]:42522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jzjHt-0004nP-Fl for larch@yhetil.org; Sun, 26 Jul 2020 12:14:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49688) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzjHn-0004n6-18 for guix-patches@gnu.org; Sun, 26 Jul 2020 12:14:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41802) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jzjHm-0000DM-P2 for guix-patches@gnu.org; Sun, 26 Jul 2020 12:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jzjHm-0002Kq-LF for guix-patches@gnu.org; Sun, 26 Jul 2020 12:14:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42549] [PATCH] gnu: Add emacs-standard-dirs. Resent-From: "LaFreniere, Joseph" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Jul 2020 16:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42549 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42549@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15957800328950 (code B ref -1); Sun, 26 Jul 2020 16:14:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Jul 2020 16:13:52 +0000 Received: from localhost ([127.0.0.1]:53348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzjHb-0002KI-QU for submit@debbugs.gnu.org; Sun, 26 Jul 2020 12:13:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:44976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzjHZ-0002KA-D2 for submit@debbugs.gnu.org; Sun, 26 Jul 2020 12:13:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzjHZ-0004l9-4x for guix-patches@gnu.org; Sun, 26 Jul 2020 12:13:49 -0400 Received: from mx.kolabnow.com ([95.128.36.41]:2082) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzjHW-0000Bq-Nr for guix-patches@gnu.org; Sun, 26 Jul 2020 12:13:48 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTP id BF0E964D for ; Sun, 26 Jul 2020 18:13:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:date:date :subject:subject:from:from:received:received:received; s= dkim20160331; t=1595780022; x=1597594423; bh=52X0kuvduD8USWWgp5K fY4WLgIiM4vuzzlWOavGpr2Y=; b=4hz4N/uPXahpEted8mb3YynaunIDtjkAXV/ vUHgfAow44ilvbdn5JXKJkQfHGeYPtxoX5JkCpcYbwEd/RqaV5jgkLPuA3hlBZKx 8DbzWRUxx3/FCZhAbqfqZeEtWEH64vR/EkMywWyMBDStyqKdZoIRXl4yCUajGpy0 GVEDEFpcJ1gCIrBhB2Zy3+Y2HtzWqUNeHtAUePc3pmO+0bSU6I4/G+el8snflUjI jLbDSluRggdfJaWVZwzanqBHuo6IAx0n2YHjjAGWgcufEenGuirg0+Em7Vlnxfox 5TBoWnJ0SqSek8/+8cAvew3JC82Ak13xZ040ZxytfYNFMYU9HN5lUxS9TsB65u0P LQLzhM9o+0Eqp+wtNvU3ECVs3m7aMPxwUa9lWZgOYOBfEUX9Lh9fLZ5EnALx4v0d jeBcL3FVYSrXL1e5xbgZSd7ct8Q2h5GXm7lOlT0fydRN8+6Qyn3M8wg6OsA5Fyfx u6/NEjUIIBFOOawbnoSSmXljwJBHxo4ExuX8tMXEHy4gxszB38N647AFmr9fif43 fj7XQJvu7EDhR1GLY3Esvm0h3g7holy0swe+6Da7ylemmv7SBUQk5peziQwoE9sV h0cxR+f+WaQOrU5bq/7xivagaNxK3w2O6IidTDQ8F6+2IX6OC09mT1wpnzEKWV7G KzEmArnU= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Score: -1.9 Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Asiq9cZ2SJwt for ; Sun, 26 Jul 2020 18:13:42 +0200 (CEST) Received: from int-mx002.mykolab.com (unknown [10.9.13.2]) by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id 00FB0520 for ; Sun, 26 Jul 2020 18:13:41 +0200 (CEST) Received: from ext-subm002.mykolab.com (unknown [10.9.6.2]) by int-mx002.mykolab.com (Postfix) with ESMTPS id B4FE32328 for ; Sun, 26 Jul 2020 18:13:41 +0200 (CEST) From: "LaFreniere, Joseph" Date: Sun, 26 Jul 2020 11:13:38 -0500 Message-ID: <87lfj6s18t.fsf@odyssey.lafreniere.xyz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=95.128.36.41; envelope-from=joseph@lafreniere.xyz; helo=mx.kolabnow.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/26 12:13:43 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: 1 X-Spam_score: 0.1 X-Spam_bar: / X-Spam_report: (0.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FROM_SUSPICIOUS_NTLD=1, FROM_SUSPICIOUS_NTLD_FP=1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.4 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.9 (-) 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=kolabnow.com header.s=dkim20160331 header.b=4hz4N/uP; dmarc=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-Spam-Score: -0.01 X-TUID: Fj67u8Aq7EFC --=-=-= Content-Type: text/plain; format=flowed Patch file is attached. Disclaimer that I am the author of the upstream package. Even though Guix does not (to the best of my knowledge) currently support macOS, I left the paragraph about behavior in macOS in the description because cross-platform support for users of multiple operating systems was one of my primary motivations for writing the package. -- Joseph LaFreniere --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-emacs-standard-dirs.patch >From 2e0716d7ed9b35b780cbefda29bb9982079461ed Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Sun, 26 Jul 2020 11:06:19 -0500 Subject: [PATCH] gnu: Add emacs-standard-dirs. * gnu/packages/emacs-xyz.scm (emacs-standard-dirs): New variable. --- gnu/packages/emacs-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index db395361b9..d9529a2182 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -3570,6 +3570,39 @@ particular, the minor mode works quite well with Org or Markdown modes, or other markup language major modes.") (license license:gpl3+)))) +(define-public emacs-standard-dirs + (package + (name "emacs-standard-dirs") + (version "2.0.0") + (home-page "https://github.com/lafrenierejm/standard-dirs.el") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0r814qcrhvx4qlx4sdzwdmrhiryslqclx0bnpp0qcrbx6g8qfl25")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-f" ,emacs-f) + ("emacs-s" ,emacs-s))) + (synopsis "Platform-specific paths for config, cache, and other data") + (description + "This package provides platform-specific paths for reading and writing +configuration, cache, and other data. + +On Linux (@code{gnu/linux}), the directory paths conform to the +@uref{https://specifications.freedesktop.org/basedir-spec/basedir-spec-0.6.html, +XDG Base Directory Specification} where relevant, with fallbacks to +@code{xdg-user-dirs}. + +On macOS (@code{darwin}), the directory paths conform to Apple's +@uref{https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/FileSystemOverview/FileSystemOverview.html#//apple_ref/doc/uid/TP40010672-CH2-SW14, +macOS File System Programming Guide}.") + (license license:gpl3+))) + (define-public emacs-string-inflection (package (name "emacs-string-inflection") -- 2.27.0 --=-=-=--