<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/685703c632c61971e38faac6372805c24911afdd">https://github.com/macports/macports-ports/commit/685703c632c61971e38faac6372805c24911afdd</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 685703c632c trojita: new port in mail
</span>685703c632c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 685703c632c61971e38faac6372805c24911afdd
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Wed Apr 24 19:45:44 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> trojita: new port in mail
</span>---
mail/trojita/Portfile | 96 ++++++++++++++++++++++
.../files/0001-CMakeLists-drop-breaking-flag.patch | 23 ++++++
2 files changed, 119 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/mail/trojita/Portfile b/mail/trojita/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..5c22d67b38f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/mail/trojita/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,96 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cmake 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup conflicts_build 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name trojita
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories mail
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-2+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {@barracuda156 gmail.com:vital.had} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://trojita.flaska.net
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Fast and lightweight Qt IMAP e-mail client
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description {*}${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # FIXME: for a reason yet unclear it does not see
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # its plugins when built with Qt4.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qt4 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup jktjkt trojita 0.6 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 05c2d9a0ea599b5656ac4badcbea27ecda0cbe98 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e2c3f62e655f638c29d93fdab80a99ad5b55861e21d02e485f3bca6a8fc658f9 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 3184949
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts_build qt4-mimetypes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:qt4-mac-sqlite3-plugin \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:qtkeychain-qt4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.cxx_standard 2011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_QT5=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qt5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt5.depends_component qtdeclarative qttools qttranslations qtsvg qtwebkit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Released version does not build with modern Qt5.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup jktjkt trojita 5e13484fb04d53cbd416846095ec6fe512c75cc3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 0.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 c26c0882e5b7ec559b186a184de686d9051d0489 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 1e85a9c8056f4fe4171986edf055db710f2ebaa1657ef67fb4cf30249f260fe2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 4657044
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:qtkeychain-qt5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.cxx_standard 2014
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles 0001-CMakeLists-drop-breaking-flag.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:ragel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:atk \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:dbus \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:desktop-file-utils \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:lib/pkgconfig/gdk-pixbuf-2.0.pc:gdk-pixbuf2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:lib/pkgconfig/glib-2.0.pc:glib2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:lib/pkgconfig/pango.pc:pango \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:zlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBUILD_TESTING=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_INSTALL_PLUGIN_DIR=${prefix}/lib/${name} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_ABOOKADDRESSBOOK_PLUGIN=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_CLEARTEXT_PLUGIN=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_DBUS=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_DESKTOP=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_GPGMEPP=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_KF5_GPGMEPP=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_MIMETIC=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_QTKEYCHAIN_PLUGIN=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_RAGEL=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_SHARED_PLUGINS=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_ZLIB=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# FIXME: one test fails with Qt5 version.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# With Qt4 a number of tests fail, at least on PowerPC,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# though some of those failures may be superficial.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant tests description "Enable testing" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBUILD_TESTING=OFF -DBUILD_TESTING=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-activate {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/mail/trojita/files/0001-CMakeLists-drop-breaking-flag.patch b/mail/trojita/files/0001-CMakeLists-drop-breaking-flag.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..9467a9e9128
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/mail/trojita/files/0001-CMakeLists-drop-breaking-flag.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,23 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From ffb2447429e65918452f43fd05667d0675263888 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Sergey Fedorov <vital.had@gmail.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Wed, 24 Apr 2024 04:13:12 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] CMakeLists: drop breaking flag
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CMakeLists.txt | 3 ++-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 2 insertions(+), 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git CMakeLists.txt CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 52a341ca..04cbc33c 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -158,7 +158,8 @@ add_definitions(-DQT_STRICT_ITERATORS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ add_definitions(-DQT_USE_QSTRINGBUILDER)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ add_definitions(-DQT_USE_FAST_OPERATOR_PLUS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ add_definitions(-DQT_USE_FAST_CONCATENATION)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# This breaks the build if enabled.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if(NOT MSVC)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # We're using C++11's threading features (std::async in particular), and that requires "some threading". With GCC and
</span></pre><pre style='margin:0'>
</pre>