Package Details: trojita 0.7-11

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.000342
First Submitted: 2022-06-02 16:26 (UTC)
Last Updated: 2024-05-20 13:51 (UTC)

Latest Comments

« First ‹ Previous 1 2

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

Tio commented on 2022-09-04 03:36 (UTC)

Cannot build

      |                                                                           ^~~~
/var/tmp/pamac-build-tio/trojita/src/trojita-0.7/src/Gui/main.cpp:144:17: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations]
  144 |         qOut << endl << QObject::trUtf8(
      |                 ^~~~
/usr/include/qt/QtCore/qtextstream.h:293:75: note: declared here
  293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
      |                                                                           ^~~~
/var/tmp/pamac-build-tio/trojita/src/trojita-0.7/src/Gui/main.cpp:144:40: warning: ‘static QString QObject::trUtf8(const char*, const char*, int)’ is deprecated [-Wdeprecated-declarations]
  144 |         qOut << endl << QObject::trUtf8(
      |                         ~~~~~~~~~~~~~~~^
  145 |             "Usage: %1 [options] [url]\n"
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  146 |             "\n"
      |             ~~~~                        
  147 |             "Trojitá %2 - fast Qt IMAP e-mail client\n"
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  148 |             "\n"
      |             ~~~~                        
  149 |             "Options:\n"
      |             ~~~~~~~~~~~~                
  150 |             "  -h, --help               Show this help\n"
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  151 |             "  -m, --mainwindow         Show main window (default when no option is provided)\n"
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  152 |             "  -a, --addressbook        Show addressbook window\n"
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  153 |             "  -c, --compose            Compose new email (default when url is provided)\n"
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  154 |             "  -p, --profile <profile>  Set profile (cannot start with char '-')\n"
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  155 |             "  --log-to-disk            Activate debug traffic logging to disk by default\n"
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  156 |             "\n"
      |             ~~~~                        
  157 |             "Arguments:\n"
      |             ~~~~~~~~~~~~~~              
  158 |             "  url                      Mailto: url address for composing new email\n"
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  159 |         ).arg(arguments.at(0), Common::Application::version) << endl;
      |         ~                               
In file included from /usr/include/qt/QtCore/qobject.h:46,
                 from /usr/include/qt/QtCore/qcoreapplication.h:46:
/usr/include/qt/QtCore/qobject.h:129:5: note: declared here
  129 |     Q_OBJECT
      |     ^~~~~~~~
/var/tmp/pamac-build-tio/trojita/src/trojita-0.7/src/Gui/main.cpp:159:65: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations]
  159 |         ).arg(arguments.at(0), Common::Application::version) << endl;
      |                                                                 ^~~~
/usr/include/qt/QtCore/qtextstream.h:293:75: note: declared here
  293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
      |                                                                           ^~~~
/var/tmp/pamac-build-tio/trojita/src/trojita-0.7/src/Gui/main.cpp:193:90: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations]
  193 |         qErr << QObject::tr("Error: Registering IPC instance failed: %1").arg(errmsg) << endl;
      |                                                                                          ^~~~
/usr/include/qt/QtCore/qtextstream.h:293:75: note: declared here
  293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
      |                                                                           ^~~~
[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
make[1]: *** [CMakeFiles/Makefile2:631: CMakeFiles/trojita.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

aaronfischer commented on 2022-08-08 19:57 (UTC)

@a172:

$ gpg --receive-keys '61AB87D6F66CE2FCD2D2E1F56A65DFA844722517'

a172 commented on 2022-08-08 14:12 (UTC)

Where can we find the PGP key to verify the source?