[arch-commits] Commit in trojita/repos/community-x86_64 (4 files)
Antonio Rojas
arojas at archlinux.org
Fri Apr 17 13:40:02 UTC 2020
Date: Friday, April 17, 2020 @ 13:40:01
Author: arojas
Revision: 615594
archrelease: copy trunk to community-x86_64
Added:
trojita/repos/community-x86_64/PKGBUILD
(from rev 615593, trojita/trunk/PKGBUILD)
trojita/repos/community-x86_64/trojita-gpgme.patch
(from rev 615593, trojita/trunk/trojita-gpgme.patch)
Deleted:
trojita/repos/community-x86_64/PKGBUILD
trojita/repos/community-x86_64/trojita-gpgme.patch
---------------------+
PKGBUILD | 83 ++++++++++----------
trojita-gpgme.patch | 198 +++++++++++++++++++++++++-------------------------
2 files changed, 141 insertions(+), 140 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-17 13:39:38 UTC (rev 615593)
+++ PKGBUILD 2020-04-17 13:40:01 UTC (rev 615594)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
-# Contributor: birdflesh <antkoul at gmail dot com>
-
-pkgname=trojita
-pkgver=0.7
-pkgrel=2
-pkgdesc="A Qt IMAP email client"
-arch=(i686 x86_64)
-url="http://trojita.flaska.net"
-license=(GPL)
-makedepends=(cmake qt5-tools pinentry)
-depends=(hicolor-icon-theme qt5-webkit qtkeychain qt5-svg qgpgme mimetic)
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz{,.asc}
- trojita-gpgme.patch)
-sha256sums=('e08da881721cafa00ecd772eaef6b99fd37d068cb703eeb532de0ed1ea0136d9'
- 'SKIP'
- '9f99bd2d91cd3b345e2bf52c0d9929ea81147f6578b774c5d2b4f2e86aade2a8')
-validpgpkeys=('61AB87D6F66CE2FCD2D2E1F56A65DFA844722517')
-
-prepare() {
- mkdir -p build
-
- cd $pkgname-$pkgver
- patch -p1 -i ../trojita-gpgme.patch # suport gmgpe's gpgme++
-}
-
-build() {
- cd build
- cmake ../$pkgname-$pkgver \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DWITH_TESTS=OFF
- make
-}
-
-package() {
- cd build
- make DESTDIR="$pkgdir" install
-}
Copied: trojita/repos/community-x86_64/PKGBUILD (from rev 615593, trojita/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-17 13:40:01 UTC (rev 615594)
@@ -0,0 +1,42 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: birdflesh <antkoul at gmail dot com>
+
+pkgname=trojita
+pkgver=0.7
+pkgrel=3
+pkgdesc="A Qt IMAP email client"
+arch=(x86_64)
+url="https://trojita.flaska.net"
+license=(GPL)
+makedepends=(cmake qt5-tools pinentry)
+depends=(hicolor-icon-theme qt5-webkit qtkeychain qt5-svg qgpgme mimetic)
+source=(https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz{,.asc}
+ trojita-gpgme.patch
+ trojita-fix-crash.patch::"https://cgit.kde.org/trojita.git/patch/?id=cf2364b8")
+sha256sums=('e08da881721cafa00ecd772eaef6b99fd37d068cb703eeb532de0ed1ea0136d9'
+ 'SKIP'
+ '9f99bd2d91cd3b345e2bf52c0d9929ea81147f6578b774c5d2b4f2e86aade2a8'
+ '6078b569d152f48289669d7bd41dd6c350a21908df5b3c456d304f0534ce2a53')
+validpgpkeys=('61AB87D6F66CE2FCD2D2E1F56A65DFA844722517')
+
+prepare() {
+ mkdir -p build
+
+ cd $pkgname-$pkgver
+ patch -p1 -i ../trojita-gpgme.patch # suport gmgpe's gpgme++
+ patch -p1 -i ../trojita-fix-crash.patch # Fix crash when opening attachments
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DWITH_TESTS=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Deleted: trojita-gpgme.patch
===================================================================
--- trojita-gpgme.patch 2020-04-17 13:39:38 UTC (rev 615593)
+++ trojita-gpgme.patch 2020-04-17 13:40:01 UTC (rev 615594)
@@ -1,99 +0,0 @@
-From e8393376969caf27b0c976d01645edd023c14df2 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Jan=20Kundr=C3=A1t?= <jkt at kde.org>
-Date: Sat, 17 Dec 2016 13:26:56 +0100
-Subject: Support both vanilla gpgme and KDE Frameworks gpgmepp
-
-KF5Gpgmepp has been merged into GPGME (since 1.7.0) and will not see
-any further releases with KDE Applications. We still care about older
-distros (and that means older gpgme, and therefore a need for extra
-bindings).
-
-Stuff is a bit more complicated because 1.7.x is not thread-safe by
-default. Given that gpgme upstream start making their releases pretty
-often this fall, it seems safe to go with 1.8.0.
-
-Change-Id: Ia2f05bd8ed2a894435ca328a886325366ba41622
-Inspired-By: Heiko Becker <heirecka at exherbo.org>
-Inspired-By: Andreas Sturmlechner <andreas.sturmlechner at gmail.com>
-Fixed-By: Caspar Schutijser <caspar at schutijser.com>
----
- CMakeLists.txt | 30 ++++++++++++++++++------------
- 1 file changed, 18 insertions(+), 12 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 3e129c1..3346142 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -51,7 +51,8 @@ trojita_option(WITH_ZLIB "Build with zlib library" AUTO)
- trojita_option(WITH_SHARED_PLUGINS "Enable shared dynamic plugins" ON)
- trojita_option(BUILD_TESTING "Build tests" ON)
- trojita_option(WITH_MIMETIC "Build with client-side MIME parsing" AUTO)
--trojita_option(WITH_GPGMEPP "Build with the GpgME++ library for cryptography" AUTO)
-+trojita_option(WITH_GPGMEPP "Use GpgME's native C++ bindings" AUTO)
-+trojita_option(WITH_KF5_GPGMEPP "Use legacy discontinued GpgME++ library from KDE frameworks" AUTO)
-
- if(WIN32)
- trojita_option(WITH_NSIS "Build Windows NSIS installer" AUTO "WITH_DESKTOP")
-@@ -84,8 +85,13 @@ trojita_plugin_option(WITH_QTKEYCHAIN_PLUGIN "Build Qtkeychain password plugin"
- trojita_find_package(Git "" "" "" "")
-
- trojita_find_package(Mimetic "" "http://www.codesink.org/mimetic_mime_library.html" "C++ MIME Library" "Required for client-side MIME parsing" WITH_MIMETIC)
--trojita_find_package(KF5Gpgmepp "" "https://quickgit.kde.org/?p=gpgmepp.git" "C++ bindings for gpgme" "Needed for encrypted/signed e-mails" WITH_GPGMEPP)
--trojita_option(WITH_CRYPTO_MESSAGES "Enable support for encrypted messages" AUTO "WITH_MIMETIC;WITH_GPGMEPP")
-+trojita_find_package(Gpgmepp "1.8.0" "https://gnupg.org/related_software/gpgme/index.html" "C++/Qt bindings for gpgme" "Needed for encrypted/signed e-mails" WITH_GPGMEPP)
-+if(NOT WITH_GPGMEPP)
-+ trojita_find_package(KF5Gpgmepp "" "https://commits.kde.org/gpgmepp?path=/" "C++ bindings for gpgme" "Needed for encrypted/signed e-mails" WITH_KF5_GPGMEPP)
-+ trojita_option(WITH_CRYPTO_MESSAGES "Enable support for encrypted messages" AUTO "WITH_MIMETIC;WITH_KF5_GPGMEPP")
-+else()
-+ trojita_option(WITH_CRYPTO_MESSAGES "Enable support for encrypted messages" AUTO "WITH_MIMETIC;WITH_GPGMEPP")
-+endif()
-
- if(WIN32)
- trojita_find_package(MakeNSIS "" "http://nsis.sourceforge.net" "Nullsoft Scriptable Install System" "Needed for building Windows installer" WITH_NSIS)
-@@ -197,7 +203,7 @@ else()
- set(TROJITA_HAVE_MIMETIC False)
- endif()
-
--if(WITH_GPGMEPP)
-+if(WITH_GPGMEPP OR WITH_KF5_GPGMEPP)
- set(TROJITA_HAVE_GPGMEPP True)
- else()
- set(TROJITA_HAVE_GPGMEPP False)
-@@ -315,12 +321,10 @@ if(WITH_MIMETIC)
- )
- endif()
- if(WITH_CRYPTO_MESSAGES)
-- if(WITH_GPGMEPP)
- set(libCryptography_SOURCES
- ${libCryptography_SOURCES}
- ${path_Cryptography}/GpgMe++.cpp
- )
-- endif()
- endif()
-
- if(WITH_ZLIB)
-@@ -614,13 +618,15 @@ if(WITH_MIMETIC)
- set_property(TARGET Cryptography APPEND PROPERTY INCLUDE_DIRECTORIES ${MIMETIC_INCLUDE_DIRS})
- endif()
- if(WITH_CRYPTO_MESSAGES)
-- if(WITH_GPGMEPP)
-- if (WIN32)
-- target_link_libraries(Cryptography KF5::Gpgmepp KF5::QGpgme)
-- else()
-- target_link_libraries(Cryptography KF5::Gpgmepp-pthread KF5::QGpgme)
-+ if(WITH_GPGMEPP)
-+ target_link_libraries(Cryptography Gpgmepp QGpgme)
-+ elseif(WITH_KF5_GPGMEPP)
-+ if(WIN32)
-+ target_link_libraries(Cryptography KF5::Gpgmepp KF5::QGpgme)
-+ else()
-+ target_link_libraries(Cryptography KF5::Gpgmepp-pthread KF5::QGpgme)
-+ endif()
- endif()
-- endif()
- endif()
-
- ## ClearText password plugin
---
-cgit v0.11.2
-
Copied: trojita/repos/community-x86_64/trojita-gpgme.patch (from rev 615593, trojita/trunk/trojita-gpgme.patch)
===================================================================
--- trojita-gpgme.patch (rev 0)
+++ trojita-gpgme.patch 2020-04-17 13:40:01 UTC (rev 615594)
@@ -0,0 +1,99 @@
+From e8393376969caf27b0c976d01645edd023c14df2 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Kundr=C3=A1t?= <jkt at kde.org>
+Date: Sat, 17 Dec 2016 13:26:56 +0100
+Subject: Support both vanilla gpgme and KDE Frameworks gpgmepp
+
+KF5Gpgmepp has been merged into GPGME (since 1.7.0) and will not see
+any further releases with KDE Applications. We still care about older
+distros (and that means older gpgme, and therefore a need for extra
+bindings).
+
+Stuff is a bit more complicated because 1.7.x is not thread-safe by
+default. Given that gpgme upstream start making their releases pretty
+often this fall, it seems safe to go with 1.8.0.
+
+Change-Id: Ia2f05bd8ed2a894435ca328a886325366ba41622
+Inspired-By: Heiko Becker <heirecka at exherbo.org>
+Inspired-By: Andreas Sturmlechner <andreas.sturmlechner at gmail.com>
+Fixed-By: Caspar Schutijser <caspar at schutijser.com>
+---
+ CMakeLists.txt | 30 ++++++++++++++++++------------
+ 1 file changed, 18 insertions(+), 12 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 3e129c1..3346142 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -51,7 +51,8 @@ trojita_option(WITH_ZLIB "Build with zlib library" AUTO)
+ trojita_option(WITH_SHARED_PLUGINS "Enable shared dynamic plugins" ON)
+ trojita_option(BUILD_TESTING "Build tests" ON)
+ trojita_option(WITH_MIMETIC "Build with client-side MIME parsing" AUTO)
+-trojita_option(WITH_GPGMEPP "Build with the GpgME++ library for cryptography" AUTO)
++trojita_option(WITH_GPGMEPP "Use GpgME's native C++ bindings" AUTO)
++trojita_option(WITH_KF5_GPGMEPP "Use legacy discontinued GpgME++ library from KDE frameworks" AUTO)
+
+ if(WIN32)
+ trojita_option(WITH_NSIS "Build Windows NSIS installer" AUTO "WITH_DESKTOP")
+@@ -84,8 +85,13 @@ trojita_plugin_option(WITH_QTKEYCHAIN_PLUGIN "Build Qtkeychain password plugin"
+ trojita_find_package(Git "" "" "" "")
+
+ trojita_find_package(Mimetic "" "http://www.codesink.org/mimetic_mime_library.html" "C++ MIME Library" "Required for client-side MIME parsing" WITH_MIMETIC)
+-trojita_find_package(KF5Gpgmepp "" "https://quickgit.kde.org/?p=gpgmepp.git" "C++ bindings for gpgme" "Needed for encrypted/signed e-mails" WITH_GPGMEPP)
+-trojita_option(WITH_CRYPTO_MESSAGES "Enable support for encrypted messages" AUTO "WITH_MIMETIC;WITH_GPGMEPP")
++trojita_find_package(Gpgmepp "1.8.0" "https://gnupg.org/related_software/gpgme/index.html" "C++/Qt bindings for gpgme" "Needed for encrypted/signed e-mails" WITH_GPGMEPP)
++if(NOT WITH_GPGMEPP)
++ trojita_find_package(KF5Gpgmepp "" "https://commits.kde.org/gpgmepp?path=/" "C++ bindings for gpgme" "Needed for encrypted/signed e-mails" WITH_KF5_GPGMEPP)
++ trojita_option(WITH_CRYPTO_MESSAGES "Enable support for encrypted messages" AUTO "WITH_MIMETIC;WITH_KF5_GPGMEPP")
++else()
++ trojita_option(WITH_CRYPTO_MESSAGES "Enable support for encrypted messages" AUTO "WITH_MIMETIC;WITH_GPGMEPP")
++endif()
+
+ if(WIN32)
+ trojita_find_package(MakeNSIS "" "http://nsis.sourceforge.net" "Nullsoft Scriptable Install System" "Needed for building Windows installer" WITH_NSIS)
+@@ -197,7 +203,7 @@ else()
+ set(TROJITA_HAVE_MIMETIC False)
+ endif()
+
+-if(WITH_GPGMEPP)
++if(WITH_GPGMEPP OR WITH_KF5_GPGMEPP)
+ set(TROJITA_HAVE_GPGMEPP True)
+ else()
+ set(TROJITA_HAVE_GPGMEPP False)
+@@ -315,12 +321,10 @@ if(WITH_MIMETIC)
+ )
+ endif()
+ if(WITH_CRYPTO_MESSAGES)
+- if(WITH_GPGMEPP)
+ set(libCryptography_SOURCES
+ ${libCryptography_SOURCES}
+ ${path_Cryptography}/GpgMe++.cpp
+ )
+- endif()
+ endif()
+
+ if(WITH_ZLIB)
+@@ -614,13 +618,15 @@ if(WITH_MIMETIC)
+ set_property(TARGET Cryptography APPEND PROPERTY INCLUDE_DIRECTORIES ${MIMETIC_INCLUDE_DIRS})
+ endif()
+ if(WITH_CRYPTO_MESSAGES)
+- if(WITH_GPGMEPP)
+- if (WIN32)
+- target_link_libraries(Cryptography KF5::Gpgmepp KF5::QGpgme)
+- else()
+- target_link_libraries(Cryptography KF5::Gpgmepp-pthread KF5::QGpgme)
++ if(WITH_GPGMEPP)
++ target_link_libraries(Cryptography Gpgmepp QGpgme)
++ elseif(WITH_KF5_GPGMEPP)
++ if(WIN32)
++ target_link_libraries(Cryptography KF5::Gpgmepp KF5::QGpgme)
++ else()
++ target_link_libraries(Cryptography KF5::Gpgmepp-pthread KF5::QGpgme)
++ endif()
+ endif()
+- endif()
+ endif()
+
+ ## ClearText password plugin
+--
+cgit v0.11.2
+
More information about the arch-commits
mailing list