summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2022-05-31filters: awk filter to parse text/calendarKoni Marti
Implement a filter to read text/calendar (ics) data with awk. Parses multiple events and shows the date recurrence if available. Awk alternative to the python filter. Signed-off-by: Koni Marti <koni.marti@gmail.com> Acked-by: Robin Jarry <robin@jarry.cc>
2022-05-10gpg: make tests more robustRobin Jarry
Skip the tests if gpg is not installed. Avoid interference with the global ~/.gnupg. Automatically delete GNUPGHOME at the end of tests. Signed-off-by: Robin Jarry <robin@jarry.cc> Acked-by: Tim Culverhouse <tim@timculverhouse.com>
2022-05-10mk: bump versionRobin Jarry
I guess I forget to do it every other time... Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-04-17Add html "unsafe" filter to work also without danteJens Grassel
If socksify (from dante) is not installed then the filter uses w3m without it to render an html message part. Signed-off-by: Jens Grassel <jens@wegtam.com> Acked-by: Robin Jarry <robin@jarry.cc>
2022-04-14mk: do not depend on cmp being availableRobin Jarry
cmp is part of gnu diffutils which may not be available. Use grep which is more widespread. Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-04-06mk: rename ambiguous LDFLAGS variableRobin Jarry
The LDFLAGS environment variable is usually indented for C the linker flags which are not compatible with go -ldflags. Use a more explicit GO_LDFLAGS variable instead. Allow adding extra flags without overriding the default ones by specifying GO_EXTRA_LDFLAGS. This may break the build on some distros that rely on setting LDFLAGS to change the default shareDir or version. They will have to switch to GO_EXTRA_LDFLAGS. Link: https://salsa.debian.org/go-team/packages/aerc/-/commit/e9ed90beae9f Link: https://src.fedoraproject.org/rpms/aerc/blob/f36/f/aerc.spec#_86 Fixes: e7e22aba60ce ("mk: rebuild if goflags or ldflags have changed") Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-03-23Add filter script for ics files.Jens Grassel
This is a python script for python 3 using the vobject library to show details about an ics file (text/calendar attachment). Signed-off-by: Jens Grassel <jens@wegtam.com> Tested-by: Moritz Poldrack <moritz@poldrack.dev>
2022-03-21Release version 0.9.0Robin Jarry
Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-03-03config: specify sharedir during buildDaniel Patterson
We should use the Makefile value of SHAREDIR when searching for config files and templates etc. This is important for systems which do not use the standard file hierarchy or which do not have a consistent location for installing program files, for example NixOS, which will have a different install location with every update. Signed-off-by: Daniel Patterson <me@danielpatterson.dev> Acked-by: Robin Jarry <robin@jarry.cc>
2022-02-27mk: fix dynamic source dependencies with bsd makeRobin Jarry
When building with BSD make, running `make` after updating a source file will not cause the binary to be rebuilt. After inspection, it appears that the GOSRC variable only contains "go.mod go.sum". The aerc target does not depend on .go source files. The $(shell) construct is GNU make specific. BSD make has a special assignment operator (!=) which evaluates a shell command. Since GNU make 4.0, the BSD != operator is supported for compatibility. Use a syntax that is available in both make flavours. Link: https://git.savannah.gnu.org/cgit/make.git/commit/?id=b34438bee83ee Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Koni Marti <koni.marti@gmail.com>
2022-02-27mk: rebuild if goflags or ldflags have changedRobin Jarry
Running make with different values for GOFLAGS or VERSION does not cause aerc to be rebuilt whereas it should. Write the go build command line into a file and force aerc to be rebuilt if the command line has changed. Use the BSD make compatible != operator to run the command. This operator is also available in GNU make since version 4.0. Link: https://git.savannah.gnu.org/cgit/make.git/commit/?id=b34438bee83ee Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Koni Marti <koni.marti@gmail.com>
2022-02-20filters: restore plaintext awk scriptRobin Jarry
This script is referenced by some users configuration. Restore it to avoid breaking existing setups. Fixes: bca93cd91536 ("filters: add a more complete plaintext filter") Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-02-20filters: rename plaintext to colorizeRobin Jarry
This filter script is not compatible with the previous one. Rename it to avoid issues with existing configs. Fixes: bca93cd91536 ("filters: add a more complete plaintext filter") Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-02-20mk: bump versionRobin Jarry
I should have done this before creating the tag. Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-02-19contrib: fix aerc.desktop install pathRobin Jarry
Add missing $(PREFIX). Note to self: always test install before accepting patches. Fixes: 5abc3cab96b7 ("contrib: add xdg desktop entry") Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-02-19contrib: add xdg desktop entryMoritz Poldrack
Add an XDG desktop file to handle mailto: links, to make it easier to reply to mailing list threads and compose emails with aerc in general. Signed-off-by: Moritz Poldrack <git@moritz.sh> Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-02-19config: do not hardcode sharedirRobin Jarry
Instead of using a static SHAREDIR at compile time, use a list of standard paths to use at runtime for templates, config files and stylesets. This implies removing all default filters in the default configuration. Replace them with basic commands. New users can configure the filters as they wish. Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-02-02mk: use debug to generate a non-optimized binaryRobin Jarry
Do not use this to run the debugger. Instead, build a non-optimized binary and display what command should be executed to attach to a running program. Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-01-24mk: add make checkinstallMark Dain
Adds a quick way to ensure the install was successful.
2022-01-21mk: syntax cleanupRobin Jarry
Avoid multiline strings. Use dlv --build-flags. Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-01-21mk: be compatible with bsd makeRobin Jarry
ifeq is not supported by bsd make. We don't need this. Use a simple shell command. Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-01-21Revert "mk: only install if files changed"Robin Jarry
This reverts commit 22ad9e199a6dccf0f5017b3e0bacd3ad01b122e7. This breaks install on macOS: install -m755 -D aerc /usr/local/bin/aerc install: illegal option -- D Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-01-20mk: avoid searching in hidden directories at the rootRobin Jarry
Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-01-19mk: only install if files changedRobin Jarry
Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-01-19compose: add default template for new messagesRobin Jarry
Allow defining a default template to use when composing new messages. Add an example to be used for new users. Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-01-15Release version 0.7.1Robin Jarry
Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-01-14Release version 0.7.0Robin Jarry
Signed-off-by: Robin Jarry <robin@jarry.cc>
2021-12-13mk: remove version overridepsykose
some build systems build inside a git environment- most notably, alpine aports is built inside an aports tree. this override prevents a VERSION=$pkgver override from being passed at build time and makes aerc think its version is an alpine version from aports: < aerc -v aerc v3.15.0.r122.gb306bc1c4c
2021-12-11build: add check for code formattingRobin Jarry
Let's avoid pushing unformatted code. Signed-off-by: Robin Jarry <robin@jarry.cc>
2021-11-09Release version 0.6.0Robin Jarry
Signed-off-by: Robin Jarry <robin@jarry.cc>
2021-02-07Makefile: use git version string if we canReto Brunner
Some packagers overwrote the version we embed in aerc, we really don't want that. Hence we force clear the variable at the beginning of the makefile. If git is available and returns a useful info we now use that version instead of the hardcoded version
2020-12-24Make makefile compatible with 3.81 (default MacOS)y0ast
Enables using the makefile with mac default make.
2020-11-14version bump: 0.5.2Reto Brunner
2020-11-13makefile: add debug targetReto Brunner
2020-11-10update the makefile versionReto Brunner
2020-09-27Makefile: remove aerc-stylesets upon uninstallJD
2020-08-06Implement style configuration.Kalyan Sriram
Introduce the ability to configure stylesets, allowing customization of aerc's look (color scheme, font weight, etc). Default styleset is installed to /path/to/aerc/stylesets/default.
2020-07-30Revert "Implement style configuration."Reto Brunner
This reverts commit 1ff687ca2b0821c2cacc1fa725abb3302d2af9da.
2020-07-30Implement style configuration.Kalyan Sriram
Introduce the ability to configure stylesets, allowing customization of aerc's look (color scheme, font weight, etc). Default styleset is installed to /path/to/aerc/stylesets/default.
2020-07-05Fix usage of DESTDIRBen Fiedler
It should only be used when installing/uninstalling according to the GNU spec. Closes: https://todo.sr.ht/~sircmpwn/aerc2/418
2020-05-28Revert "Add Style configuration"Drew DeVault
This reverts commit 0f78f06610c0e8887aba2ae50e99b86477a384b3.
2020-05-27Add Style configurationReto Brunner
The following functionalities are added to configure aerc ui styles. - Read stylesets from file with very basic fnmatch wildcard matching - Add default styleset - Support different stylesets as part of UiConfig allowing contextual styles. - Move widgets/ui elements to use the stylesets. - Add configuration manual for the styleset
2020-05-19Update version to 0.4.0Drew DeVault
2019-12-24Add missing man pages to uninstall target in MakefileAriel Popper
2019-12-07fix make install directiories permissionsLeszek CimaƂa
Hi everyone! On my system I have strict umask set, so make install creates them unreadable by non-root. This trivial fix ensures, that directories are created as expected. Leszek
2019-11-21Update version to 0.3.0Drew DeVault
2019-11-19Install aerc-templatesSrivathsan Murali
2019-11-10Add Templates with ParsingSrivathsan Murali
+ Changes NewComposer to return error. + Add lib to handle templates using "text/template". + Add -T option to following commands - compose. - reply - forward + Quoted replies using templates. + Forwards as body using templates + Default templates are installed similar to filters. + Templates Config in aerc.conf. - Required templates are parsed while loading config. + Add aerc-templates.7 manual for using template data.
2019-08-29extract search criteria parsing into the backendsReto Brunner
2019-08-08Add notmuch docsReto Brunner