aerc: 0.18.2 -> 0.19.0
This commit is contained in:
parent
92cebeba0a
commit
605fb1e640
@ -14,17 +14,17 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "aerc";
|
||||
version = "0.18.2";
|
||||
version = "0.19.0";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~rjarry";
|
||||
repo = "aerc";
|
||||
rev = version;
|
||||
hash = "sha256-J4W7ynJ5DpE97sILENNt6eya04aiq9DWBhlytsVmZHg=";
|
||||
hash = "sha256-YlpR85jB6Il3UW4MTaf8pkilRVjkO0q/D/Yu+OiBX6Y=";
|
||||
};
|
||||
|
||||
proxyVendor = true;
|
||||
vendorHash = "sha256-STQzc25gRozNHKjjYb8J8CL5WMhnx+nTJOGbuFmUYSU=";
|
||||
vendorHash = "sha256-WowRlAzyrfZi27JzskIDberiYt9PQkuS6H3hKqUP9qo=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
scdoc
|
||||
@ -33,18 +33,13 @@ buildGoModule rec {
|
||||
|
||||
patches = [
|
||||
./runtime-libexec.patch
|
||||
|
||||
# patch to fix a encoding problem with gpg signed messages
|
||||
(fetchpatch {
|
||||
url = "https://git.sr.ht/~rjarry/aerc/commit/7346d20.patch";
|
||||
hash = "sha256-OCm8BcovYN2IDSgslZklQxkGVkSYQ8HLCrf2+DRB2mM=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteAllInPlace config/aerc.conf
|
||||
substituteAllInPlace config/config.go
|
||||
substituteAllInPlace doc/aerc-config.5.scd
|
||||
substituteAllInPlace doc/aerc-templates.7.scd
|
||||
|
||||
# Prevent buildGoModule from trying to build this
|
||||
rm contrib/linters.go
|
||||
|
@ -1,8 +1,8 @@
|
||||
diff --git a/config/aerc.conf b/config/aerc.conf
|
||||
index 7d33b43..4315f0e 100644
|
||||
index fbc1f3ba..9eea2b81 100644
|
||||
--- a/config/aerc.conf
|
||||
+++ b/config/aerc.conf
|
||||
@@ -202,8 +202,7 @@
|
||||
@@ -301,8 +301,7 @@
|
||||
#
|
||||
# ${XDG_CONFIG_HOME:-~/.config}/aerc/stylesets
|
||||
# ${XDG_DATA_HOME:-~/.local/share}/aerc/stylesets
|
||||
@ -12,7 +12,18 @@ index 7d33b43..4315f0e 100644
|
||||
#
|
||||
#stylesets-dirs=
|
||||
|
||||
@@ -547,8 +546,7 @@ message/rfc822=colorize
|
||||
@@ -741,8 +740,8 @@
|
||||
# ${XDG_DATA_HOME:-~/.local/share}/aerc/filters
|
||||
# $PREFIX/libexec/aerc/filters
|
||||
# $PREFIX/share/aerc/filters
|
||||
-# /usr/libexec/aerc/filters
|
||||
-# /usr/share/aerc/filters
|
||||
+# @out@/libexec/aerc/filters
|
||||
+# @out@/share/aerc/filters
|
||||
#
|
||||
# If you want to run a program in your default $PATH which has the same name
|
||||
# as a builtin filter (e.g. /usr/bin/colorize), use its absolute path.
|
||||
@@ -845,8 +844,7 @@ text/html=! html
|
||||
#
|
||||
# ${XDG_CONFIG_HOME:-~/.config}/aerc/templates
|
||||
# ${XDG_DATA_HOME:-~/.local/share}/aerc/templates
|
||||
@ -23,10 +34,10 @@ index 7d33b43..4315f0e 100644
|
||||
#template-dirs=
|
||||
|
||||
diff --git a/config/config.go b/config/config.go
|
||||
index d70bcfe..c19e59a 100644
|
||||
index 14c4b233..9f305ffd 100644
|
||||
--- a/config/config.go
|
||||
+++ b/config/config.go
|
||||
@@ -54,10 +54,8 @@ func buildDefaultDirs() []string {
|
||||
@@ -46,10 +46,8 @@ func buildDefaultDirs() []string {
|
||||
}
|
||||
|
||||
// Add fixed fallback locations
|
||||
@ -40,10 +51,19 @@ index d70bcfe..c19e59a 100644
|
||||
return defaultDirs
|
||||
}
|
||||
diff --git a/doc/aerc-config.5.scd b/doc/aerc-config.5.scd
|
||||
index 9e1f8a3..694abbc 100644
|
||||
index 1e3daaa9..cd118be0 100644
|
||||
--- a/doc/aerc-config.5.scd
|
||||
+++ b/doc/aerc-config.5.scd
|
||||
@@ -300,8 +300,7 @@ These options are configured in the *[ui]* section of _aerc.conf_.
|
||||
@@ -13,7 +13,7 @@ _aerc_, which defaults to _~/.config/aerc_. Alternate files can be specified via
|
||||
command line arguments, see *aerc*(1).
|
||||
|
||||
Examples of these config files are typically included with your installation of
|
||||
-aerc and are usually installed in _/usr/share/aerc_.
|
||||
+aerc and are usually installed in _@out@/share/aerc_.
|
||||
|
||||
Each file uses the ini format, and consists of sections with keys and values.
|
||||
A line beginning with _#_ is considered a comment and ignored, as are empty
|
||||
@@ -386,8 +386,7 @@ These options are configured in the *[ui]* section of _aerc.conf_.
|
||||
```
|
||||
${XDG_CONFIG_HOME:-~/.config}/aerc/stylesets
|
||||
${XDG_DATA_HOME:-~/.local/share}/aerc/stylesets
|
||||
@ -53,7 +73,36 @@ index 9e1f8a3..694abbc 100644
|
||||
```
|
||||
|
||||
*styleset-name* = _<string>_
|
||||
@@ -900,8 +899,7 @@ These options are configured in the *[templates]* section of _aerc.conf_.
|
||||
@@ -1019,7 +1018,7 @@ will be set to the terminal TTY. The filter is expected to implement its own
|
||||
paging.
|
||||
|
||||
aerc ships with some default filters installed in the libexec directory (usually
|
||||
-_/usr/libexec/aerc/filters_). Note that these may have additional dependencies
|
||||
+_@out@/libexec/aerc/filters_). Note that these may have additional dependencies
|
||||
that aerc does not have alone.
|
||||
|
||||
The filter commands are invoked with _sh -c command_. The following folders are
|
||||
@@ -1031,8 +1030,8 @@ ${XDG_CONFIG_HOME:-~/.config}/aerc/filters
|
||||
${XDG_DATA_HOME:-~/.local/share}/aerc/filters
|
||||
$PREFIX/libexec/aerc/filters
|
||||
$PREFIX/share/aerc/filters
|
||||
-/usr/libexec/aerc/filters
|
||||
-/usr/share/aerc/filters
|
||||
+@out@/libexec/aerc/filters
|
||||
+@out@/share/aerc/filters
|
||||
```
|
||||
|
||||
If you want to run a program in your default *$PATH* which has the same
|
||||
@@ -1370,7 +1369,7 @@ of the template name. The available symbols and functions are described in
|
||||
*aerc-templates*(7).
|
||||
|
||||
aerc ships with some default templates installed in the share directory (usually
|
||||
-_/usr/share/aerc/templates_).
|
||||
+_@out@/share/aerc/templates_).
|
||||
|
||||
These options are configured in the *[templates]* section of _aerc.conf_.
|
||||
|
||||
@@ -1382,8 +1381,7 @@ These options are configured in the *[templates]* section of _aerc.conf_.
|
||||
```
|
||||
${XDG_CONFIG_HOME:-~/.config}/aerc/templates
|
||||
${XDG_DATA_HOME:-~/.local/share}/aerc/templates
|
||||
@ -64,19 +113,19 @@ index 9e1f8a3..694abbc 100644
|
||||
|
||||
*new-message* = _<template_name>_
|
||||
diff --git a/doc/aerc-templates.7.scd b/doc/aerc-templates.7.scd
|
||||
index ae9bc6d..5f42b14 100644
|
||||
index a6deb584..4f91869c 100644
|
||||
--- a/doc/aerc-templates.7.scd
|
||||
+++ b/doc/aerc-templates.7.scd
|
||||
@@ -319,7 +319,7 @@ aerc provides the following additional functions:
|
||||
Execute external command, provide the second argument to its stdin.
|
||||
@@ -398,7 +398,7 @@ aerc provides the following additional functions:
|
||||
Attaches a file to the message being composed.
|
||||
|
||||
```
|
||||
- {{exec `/usr/libexec/aerc/filters/html` .OriginalText}}
|
||||
+ {{exec `@out@/libexec/aerc/filters/html` .OriginalText}}
|
||||
- {{.Attach '/usr/libexec/aerc/filters/html'}}
|
||||
+ {{.Attach '@out@/libexec/aerc/filters/html'}}
|
||||
```
|
||||
|
||||
*.Local*
|
||||
@@ -425,7 +425,7 @@ aerc provides the following additional functions:
|
||||
*exec*
|
||||
@@ -581,7 +581,7 @@ aerc provides the following additional functions:
|
||||
|
||||
```
|
||||
{{if eq .OriginalMIMEType "text/html"}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user