* [bug#42549] [PATCH] gnu: Add emacs-standard-dirs.
@ 2020-07-26 16:13 LaFreniere, Joseph
2020-07-28 10:37 ` Nicolas Goaziou
0 siblings, 1 reply; 4+ messages in thread
From: LaFreniere, Joseph @ 2020-07-26 16:13 UTC (permalink / raw)
To: 42549
[-- Attachment #1: Type: text/plain, Size: 385 bytes --]
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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-emacs-standard-dirs.patch --]
[-- Type: text/x-patch, Size: 2199 bytes --]
From 2e0716d7ed9b35b780cbefda29bb9982079461ed Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#42549] [PATCH] gnu: Add emacs-standard-dirs.
2020-07-26 16:13 [bug#42549] [PATCH] gnu: Add emacs-standard-dirs LaFreniere, Joseph
@ 2020-07-28 10:37 ` Nicolas Goaziou
2020-07-28 23:01 ` LaFreniere, Joseph
0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2020-07-28 10:37 UTC (permalink / raw)
To: LaFreniere, Joseph; +Cc: 42549
Hello,
"LaFreniere, Joseph" <joseph@lafreniere.xyz> writes:
> Patch file is attached. Disclaimer that I am the author of the
> upstream package.
Thank you.
> 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.
I suggest to eschew the problem and stick to the first sentence of the
description:
This package provides platform-specific paths for reading and writing
configuration, cache, and other data.
I think this is enough to understand what the package is about without
looking at the gory details.
WDYT?
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#42549] [PATCH] gnu: Add emacs-standard-dirs.
2020-07-28 10:37 ` Nicolas Goaziou
@ 2020-07-28 23:01 ` LaFreniere, Joseph
2020-09-19 20:39 ` bug#42549: " Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: LaFreniere, Joseph @ 2020-07-28 23:01 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: 42549
[-- Attachment #1: Type: text/plain, Size: 486 bytes --]
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> I suggest to eschew the problem and stick to the first sentence
> of the
> description:
>
> This package provides platform-specific paths for reading and
> writing
> configuration, cache, and other data.
>
> I think this is enough to understand what the package is about
> without
> looking at the gory details.
>
> WDYT?
Sounds good to me. A new patch file is attached with the
description updated.
--
Joseph LaFreniere
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-emacs-standard-dirs.patch --]
[-- Type: text/x-patch, Size: 1640 bytes --]
From 9ba21584daa8a62bf939162dbd91ccb706f75f0f Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
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 | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8aaa92e1b2..f74fa948e4 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3592,6 +3592,30 @@ 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.")
+ (license license:gpl3+)))
+
(define-public emacs-string-inflection
(package
(name "emacs-string-inflection")
--
2.27.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#42549: [PATCH] gnu: Add emacs-standard-dirs.
2020-07-28 23:01 ` LaFreniere, Joseph
@ 2020-09-19 20:39 ` Ludovic Courtès
0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2020-09-19 20:39 UTC (permalink / raw)
To: LaFreniere, Joseph; +Cc: Nicolas Goaziou, 42549-done
Hi,
"LaFreniere, Joseph" <joseph@lafreniere.xyz> skribis:
>>From 9ba21584daa8a62bf939162dbd91ccb706f75f0f Mon Sep 17 00:00:00 2001
> From: Joseph LaFreniere <joseph@lafreniere.xyz>
> 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.
Applied, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-09-19 20:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-26 16:13 [bug#42549] [PATCH] gnu: Add emacs-standard-dirs LaFreniere, Joseph
2020-07-28 10:37 ` Nicolas Goaziou
2020-07-28 23:01 ` LaFreniere, Joseph
2020-09-19 20:39 ` bug#42549: " Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.