Hi,

Are there binaries available for Debian Buster (10) or do I need to build from source?

We used to provide prebuilt binaries via OBS. However, there were some
changes in packaging of upstream stuff (e.g., the gpgme++ library),
and therefore our OBS builds are not available for Debian 10 at the
moment.

I have successfully built Trojita on Debian Buster (10), albeit without a couple of options (described below).


I will appreciate patches which fix this; in the meanwhile, following
the docs on a manual build is your best option.

I'm not familiar with OBS but here are the packages I had to install:

$ sudo apt-get install cmake qtbase5-dev libqt5webkit5-dev qttools5-dev-tools libqt5svg5-dev libgpgmepp-dev libmimetic-dev libkf5sonnet-dev zlib1g-dev ragel libgpg-error-dev libgpgme-dev

This gave me the following `cmake` output:

-----
$ cmake ..
CMake Deprecation Warning at CMakeLists.txt:18 (cmake_policy):
The OLD behavior for policy CMP0043 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Warning at CMakeLists.txt:78 (find_package):
By not providing "FindQt5LinguistTools.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by
  "Qt5LinguistTools", but CMake did not find one.

Could not find a package configuration file provided by "Qt5LinguistTools"
  with any of the following names:

    Qt5LinguistToolsConfig.cmake
    qt5linguisttools-config.cmake

Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or
  set "Qt5LinguistTools_DIR" to a directory containing one of the above
files. If "Qt5LinguistTools" provides a separate development package or
  SDK, be sure it has been installed.


-- Package Qt5Test is required because of BUILD_TESTING
CMake Warning at cmake/TrojitaOption.cmake:121 (find_package):
By not providing "FindKF5AkonadiContact.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by
  "KF5AkonadiContact", but CMake did not find one.

Could not find a package configuration file provided by "KF5AkonadiContact"
  with any of the following names:

    KF5AkonadiContactConfig.cmake
    kf5akonadicontact-config.cmake

Add the installation prefix of "KF5AkonadiContact" to CMAKE_PREFIX_PATH or
  set "KF5AkonadiContact_DIR" to a directory containing one of the above
files. If "KF5AkonadiContact" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:86 (trojita_find_package)


-- Disabling WITH_AKONADIADDRESSBOOK_PLUGIN because of KF5AkonadiContact_FOUND -- Disabling WITH_QTKEYCHAIN_PLUGIN because package Qt5Keychain was not found
-- Could not find QtKeychain library
-- Found ragel: /usr/bin/ragel (6.10)
-- Support for COMPRESS=DEFLATE enabled
--

-- The following features have been enabled:

 * WITH_DESKTOP, Build desktop version
 * WITH_DBUS, Build with DBus library
 * WITH_RAGEL, Build with Ragel library
 * WITH_ZLIB, Build with zlib library
 * WITH_SHARED_PLUGINS, Enable shared dynamic plugins
 * BUILD_TESTING, Build tests
 * WITH_MIMETIC, Build with client-side MIME parsing
 * WITH_GPGMEPP, Use GpgME's native C++ bindings
* WITH_KF5_GPGMEPP, Use legacy discontinued GpgME++ library from KDE frameworks
 * WITH_ABOOKADDRESSBOOK_PLUGIN, Build AbookAddressbook plugin
 * WITH_CLEARTEXT_PLUGIN, Build Cleartext password plugin
 * WITH_SONNET_PLUGIN, Build a plugin for spellchecking via KDE's Sonnet
 * WITH_CRYPTO_MESSAGES, Enable support for encrypted messages

-- The following OPTIONAL packages have been found:

 * Qt5DBus, Qt5 D-Bus support, <http://qt-project.org>
   Needed for IPC and for some plugins
 * Git
 * PkgConfig
* Mimetic, C++ MIME Library, <http://www.codesink.org/mimetic_mime_library.html>
   Required for client-side MIME parsing
 * QGpgme
* KF5Sonnet, Qt5 Spell Checking Library from KDE, <https://projects.kde.org/projects/frameworks/sonnet>
   Spell checking support
 * RagelForTrojita
 * ZLIB

-- The following REQUIRED packages have been found:

 * Qt5Core (required version >= 5.2)
 * Qt5Gui
 * Qt5Network
 * Qt5Sql
 * Qt5WebKitWidgets
 * Qt5Widgets
 * Qt5Svg
 * Qt5Test, Qt5 QTest library, <http://qt-project.org>
   Needed for automated tests
* Gpgmepp (required version >= 1.8.0), C++/Qt bindings for gpgme, <https://gnupg.org/related_software/gpgme/index.html>
   Needed for encrypted/signed e-mails

-- The following features have been disabled:

 * WITH_AKONADIADDRESSBOOK_PLUGIN, Build AkonadiAddressbook plugin
 * WITH_QTKEYCHAIN_PLUGIN, Build Qtkeychain password plugin

-- The following OPTIONAL packages have not been found:

 * Qt5LinguistTools
 * KF5AkonadiContact
   Required for building Akonadi address book plugin
* Qt5Keychain, QtKeychain library (Qt5 version), <https://github.com/frankosterfeld/qtkeychain>
   Needed for QtKeychain password plugin

-- Using Ragel for the RFC 5322 parser
-- Qt Linguist (lupdate/lrelease/lconvert) not found, disabling localization support
-- Building static plugin trojita_plugin_ClearTextPasswordPlugin
-- Building static plugin trojita_plugin_AbookAddressbookPlugin
-- Building shared plugin trojita_plugin_Sonnet
-- Configuring done
-- Generating done
-- Build files have been written to: /home/local/andyjpb/project/trojita/_build
-----


I didn't install libkf5akonadicontact-dev because it had too many dependencies for my tastes (133 + libkf5akonadicontact-dev).

I tried to install the Linguist stuff but for some reason it's not working.

In particular, "Qt Linguist (lupdate/lrelease/lconvert) not found, disabling localization support" is weird because those binaries exist on my system and qtchooser is configured appropriately: I did `export QT_SELECT=5` in the shell where I ran `cmake`.

-----
$ export QT_SELECT=5
$ lupdate -version
lupdate version 5.11.3
-----



--
andy...@ashurst.eu.org
http://www.ashurst.eu.org/
http://www.gonumber.com/andyjpb
0x7EBA75FF

Reply via email to