The enchant-2 patch needs to be updated. A fixed version can be found at: https://pastebin.com/Xb4RECRM
EDIT: The patch has been updated, so the package should build again.
Git Clone URL: | https://aur.archlinux.org/geary-git.git (read-only, click to copy) |
---|---|
Package Base: | geary-git |
Description: | An email application built around conversations, for the GNOME 3 desktop. |
Upstream URL: | https://gitlab.gnome.org/GNOME/geary |
Keywords: | client email GNOME |
Licenses: | GPL3 |
Conflicts: | geary |
Submitter: | emersion |
Maintainer: | letorbi |
Last Packager: | letorbi |
Votes: | 12 |
Popularity: | 0.000000 |
First Submitted: | 2015-08-31 14:59 (UTC) |
Last Updated: | 2024-06-14 20:47 (UTC) |
The enchant-2 patch needs to be updated. A fixed version can be found at: https://pastebin.com/Xb4RECRM
EDIT: The patch has been updated, so the package should build again.
Package no longer builds:
==> Starting prepare()...
patching file CMakeLists.txt
patching file src/CMakeLists.txt
Hunk #1 succeeded at 517 (offset 9 lines).
patching file meson.build
Hunk #1 FAILED at 61.
1 out of 1 hunk FAILED -- saving rejects to file meson.build.rej
It seems enchant doesn't have support to vala (i.e. doesn't create .vapi files), so indeed that seems to be an obstacle for meson..
Tried using meson, but I've got issues with enchant, so I copied the official package's fix (still using CMake).
The Geary developers switched from CMake to Meson and have removed the old build-files. This package still uses CMake, so it won't build anymore, this is why I've flagged it as out-of-date
The fix would be to replace the old CMake instructions in the PKGBILD file with the corresponding Meson commands:
./configure --prefix=/usr ...
with meson --prefix=/usr --buildtype=release builddir
make
with ninja -v -C builddir
make install DESTDIR="$pkgdir"
with DESTDIR="$pkgdir" ninja -v -C builddir install
With this changes geary-git builds on my system again. However, the configure options --disable-schemas-compile --disable-desktop-update --disable-icon-update
have been dropped. Please write a comment, if you know how to apply them with Meson.
I get the following error during build:
PKGBUILD: line 26: ./configure: No such file or directory ==> ERROR: A failure occurred in build().
any ideas how to fix this?
Pinned Comments
letorbi commented on 2021-04-26 10:31 (UTC) (edited on 2021-04-26 10:33 (UTC) by letorbi)
Starting with 2021-04-28 (ca0deba)
geary-git
uses the build-profile "release" instead of "development". This causes a change in the names of the cache-, config- and databae-directories.Rename the following directories, if you want to keep your old setup: