Package Details: trojita 0.7-10

Git Clone URL: https://aur.archlinux.org/trojita.git (read-only, click to copy)
Package Base: trojita
Description: A Qt IMAP email client
Upstream URL: https://trojita.flaska.net
Licenses: GPL
Submitter: arojas
Maintainer: aaronfischer (andreas_baumann)
Last Packager: andreas_baumann
Votes: 6
Popularity: 0.064167
First Submitted: 2022-06-02 16:26 (UTC)
Last Updated: 2023-07-17 06:38 (UTC)

Latest Comments

1 2 Next › Last »

bionade24 commented on 2023-10-07 17:55 (UTC)

trojita and qt5-webkit are packaged build by my CD: https://abs-cd.oscloud.info/cd_manager/trojita

My repo: https://wiki.archlinux.org/title/Unofficial_user_repositories#oscloud

domker commented on 2023-07-14 21:42 (UTC)

@andreas_baumann: Thank You! Now it works well.

andreas_baumann commented on 2023-07-14 16:36 (UTC)

You have to rebuild qt5-webkit and link it against icu 73.

domker commented on 2023-07-14 12:10 (UTC) (edited on 2023-07-14 21:43 (UTC) by domker)

I manually added this patch to PKGBUILD and I have a new error at 100%:

[100%] Linking CXX executable trojita
/usr/bin/ld: warning: libicuuc.so.72, needed by /usr/lib/libQt5WebKit.so.5.212.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicui18n.so.72, needed by /usr/lib/libQt5WebKit.so.5.212.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib/libQt5WebKit.so.5.212.0: undefined reference to `u_toupper_72'
...
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/trojita.dir/build.make:361: trojita] Error 1
make[1]: *** [CMakeFiles/Makefile2:631: CMakeFiles/trojita.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

andreas_baumann commented on 2023-07-13 06:57 (UTC)

me bad: trojita-0-7-mimetic-inttypes.patch has to be added to source and the sha512sum checksum needs a new entry. And in prepare you have to add

  patch -d $pkgname-$pkgver -p1 < trojita-0-7-mimetic-inttypes.patch # Fix missing   includes for uint32_t in mimetic (should be fixed there actually)

Can somebody update the PKGBUILD and integrate the patch, please. :-)

domker commented on 2023-07-12 15:43 (UTC)

Make Error: make[1]: *** [CMakeFiles/Makefile2:446: CMakeFiles/Cryptography.dir/all] Błąd 2

At 58%: [ 58%] Linking CXX static library libMSA.a [ 58%] Built target MSA

andreas_baumann commented on 2023-06-30 07:04 (UTC) (edited on 2023-06-30 07:05 (UTC) by andreas_baumann)

I had to rebuild qt5-webkit because of ICU 73 and I stumbled over other issues:

The patches have new hashes for some reason upstream, adapted sums are:

sha512sums=('fe4d9316f97d913619f27d24a5023c3d8dd4a6b9fb058651be12c67188f394aa8cbb60c7593e5eb28fc12fc883b7
6deeeb5f4f631edd255fdec4c5862c9a91c8'
            'SKIP'
            '7b455ec4147a137ad055c4fb96d46f0921e2229daeac1618e08277eb93ef1f7c4c73e3bbf6cf5da5ccc85819370c
bd802d3b6e11b17072654d53e2ffb1f52997'
            '286c8086dd10c177f2ef30b08f913892923d7f9489519a337e89b10754adb14d275750b4b32e2242adb33d832fb4
48f39f1c599996093df330158a582ecdd845'
            '0e4085a756bcdbc4eb4c33607a7a71d928d64d7e5ee8d6c672d2b3e3a054b71fdd975b220c0746d84cc4a4d360e9
be7ef561cf2776263100c9c2db7dd556fced'
            '8eb0691ff0f68316aab4cbed3d270b626bc330719bba6a3706c371fc9f15f6ed970fa72286859d935d49497446b8
8c8d68fddd96e29cde4adff7ace8be0399f1'
            '0e1530af9dc49f60d5ce771b116afd29553f713917b63e8dd5bccfdf5a364f7ff5dced838b59d423c308fb226e8f
94291f6d995cf59ca63eba002019ef10b389')

Also mimetic throws an error when compiling:

                 from /home/abaumann/trojita/src/trojita-0.7/src/Cryptography/LocalMimeParser.cpp:23:
/usr/include/mimetic/rfc822/messageid.h:29:23: error: expected ‘)’ before ‘thread_id’
   29 |     MessageId(uint32_t thread_id = 0 );
      |              ~        ^~~~~~~~~~

This is a missing <inttypes.h> include in mimetic itself IMHO and should be fixed there, but for now I fixed it with the following patch:

cat trojita-0-7-mimetic-inttypes.patch
diff -rauN trojita-0.7/src/Cryptography/LocalMimeParser.cpp trojita-0-7-mimetic-inttypes-patch/src/Cryptography/LocalMimeParser.cpp
--- trojita-0.7/src/Cryptography/LocalMimeParser.cpp    2016-06-15 09:17:23.000000000 +0200
+++ trojita-0-7-mimetic-inttypes-patch/src/Cryptography/LocalMimeParser.cpp     2023-06-30 08:47:21.566308271 +0200
@@ -20,6 +20,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

+#include <inttypes.h>
 #include <mimetic/mimetic.h>
 #include <QBrush>
 #include <QFont>
diff -rauN trojita-0.7/src/Cryptography/MimeticUtils.cpp trojita-0-7-mimetic-inttypes-patch/src/Cryptography/MimeticUtils.cpp
--- trojita-0.7/src/Cryptography/MimeticUtils.cpp       2016-06-15 09:17:23.000000000 +0200
+++ trojita-0-7-mimetic-inttypes-patch/src/Cryptography/MimeticUtils.cpp        2023-06-30 08:47:11.756330571 +0200
@@ -22,6 +22,7 @@
 */

 #include <sstream>
+#include <inttypes.h>
 #include <mimetic/mimetic.h>
 #include "Cryptography/MimeticUtils.h"
 #include "Imap/Encoders.h"

txtsd commented on 2022-10-21 19:52 (UTC)

==> Validating source files with sha256sums...
    trojita-0.7.tar.xz ... Passed
    trojita-0.7.tar.xz.asc ... FAILED
    trojita-fix-crash.patch ... Passed
    trojita-qt5.15.patch ... Passed
    trojita-desktop.patch ... Passed
    trojita-highdpi.patch ... Passed
    trojita-wayland.patch ... Passed

aaronfischer commented on 2022-10-17 19:23 (UTC)

Thanks, fixed it.

bionade24 commented on 2022-10-15 09:25 (UTC)

Fails to build in a clean chroot (extra-x86_64-build):

[100%] Linking CXX executable trojita
/usr/bin/ld: cannot find -lQGpgme: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/trojita.dir/build.make:363: trojita] Error 1