Package Details: kdeltachat-git r195.8cce6d2-2

Git Clone URL: https://aur.archlinux.org/kdeltachat-git.git (read-only, click to copy)
Package Base: kdeltachat-git
Description: KDeltaChat is a Delta Chat client using Kirigami framework
Upstream URL: https://git.sr.ht/~link2xt/kdeltachat
Licenses: GPL3
Conflicts: kdeltachat
Provides: kdeltachat
Submitter: gcala
Maintainer: gcala
Last Packager: gcala
Votes: 0
Popularity: 0.000000
First Submitted: 2021-09-18 14:29 (UTC)
Last Updated: 2022-11-20 10:09 (UTC)

Latest Comments

1 2 Next › Last »

dreieck commented on 2023-12-18 13:39 (UTC)

Do you really need the -git variant of libdeltachat as dependency?

Just depending on libdeltachat and not libdeltachat-git gives the user freedom of choice which package to install. (↗ libdeltachat-git currently does not build.)

I just tried compilation with libdeltachat, and it works.

Please change the dependency libdeltachat-git to libdeltachat.

dreieck commented on 2023-12-18 13:37 (UTC)

You need to add -fpermissive to $CXXFLAGS/ $CFLAGS, otherwise build fails (for me) with accounts.cpp:10:63: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]:

/tmp/makepkg/build/kdeltachat-git/src/kdeltachat/accounts.cpp: In constructor ‘DcAccounts::DcAccounts(QObject*)’:
/tmp/makepkg/build/kdeltachat-git/src/kdeltachat/accounts.cpp:10:63: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
   10 |     m_accounts = dc_accounts_new("Qt", path.toUtf8().constData());
      |                                        ~~~~~~~~~~~~~~~~~~~~~~~^~
      |                                                               |
      |                                                               const char*

A solution is to add the following to build():

  CXXFLAGS+=' -fpermissive'
  export CXXFLAGS
  CFLAGS+=' -fpermissive'
  export CFLAGS

Regards and thans for maintaining!

gcala commented on 2022-11-20 10:16 (UTC) (edited on 2022-11-20 10:17 (UTC) by gcala)

@emulti I just bumped release of kdeltachat since there is an updated version of libdeltachat-git. No issues during compiling, though. This is a list of all qt packages installed on my system:

$ pacman -Q | grep qt
appstream-qt 0.15.5-1
avidemux-qt 2.8.1-1
bluez-qt 5.100.0-1
kdevelop-pg-qt 2.2.1-1
kqtquickcharts 22.11.80-1
layer-shell-qt 5.26.3-1
libaccounts-qt 1.16-3
libdbusmenu-qt5 0.9.3+16.04.20160218-6
modemmanager-qt 5.100.0-1
networkmanager-qt 5.100.0-1
packagekit-qt5 1.0.2-1
phonon-qt5 4.11.1-3
phonon-qt5-gstreamer 4.10.0-3
polkit-qt5 0.114.0-1
poppler-qt5 22.11.0-1
pulseaudio-qt 1.3-1
python-pyqt5 5.15.7-3
python-pyqt5-sip 12.11.0-1
python-pyqt5-webengine 5.15.6-1
python-pyqt6 6.4.0-1
python-pyqt6-sip 13.4.0-1
python-pyqt6-webengine 6.4.0-1
qca-qt5 2.3.5-2
qscintilla-qt5 2.13.3-1
qt5-base 5.15.7+kde+r174-1
qt5-declarative 5.15.7+kde+r23-1
qt5-doc 5.15.5-1
qt5-examples 5.15.5-1
qt5-feedback 0.0.0.20150918-4
qt5-graphicaleffects 5.15.7-1
qt5-imageformats 5.15.7+kde+r6-1
qt5-location 5.15.7+kde+r3-1
qt5-multimedia 5.15.7+kde+r1-1
qt5-networkauth 5.15.7-1
qt5-quickcontrols 5.15.7-1
qt5-quickcontrols2 5.15.7+kde+r6-1
qt5-script 5.15.11-2
qt5-sensors 5.15.7-1
qt5-speech 5.15.7+kde+r1-1
qt5-svg 5.15.7+kde+r9-1
qt5-tools 5.15.7+kde+r1-2
qt5-translations 5.15.7-1
qt5-wayland 5.15.7+kde+r52-1
qt5-webchannel 5.15.7+kde+r3-1
qt5-webengine 5.15.11-2
qt5-websockets 5.15.7+kde+r2-1
qt5-webview 5.15.7-1
qt5-x11extras 5.15.7-1
qt5-xmlpatterns 5.15.7-1
qt5ct 1.5-2
qt6-5compat 6.4.1-1
qt6-base 6.4.1-1
qt6-declarative 6.4.1-1
qt6-imageformats 6.4.1-1
qt6-multimedia 6.4.1-1
qt6-multimedia-ffmpeg 6.4.1-1
qt6-positioning 6.4.1-1
qt6-quick3d 6.4.1-1
qt6-quicktimeline 6.4.1-1
qt6-serialport 6.4.1-1
qt6-shadertools 6.4.1-1
qt6-svg 6.4.1-1
qt6-tools 6.4.1-1
qt6-translations 6.4.1-1
qt6-wayland 6.4.1-1
qt6-webchannel 6.4.1-1
qt6-webengine 6.4.1-1
qtav 1.13.0-4
qtcreator 8.0.2-1
qtkeychain-qt5 0.13.2-1

emulti commented on 2022-11-03 04:11 (UTC) (edited on 2022-11-03 04:40 (UTC) by emulti)

Multiple packages on my system have installed Qt6 as dependencies:

adwaita-qt6 1.4.2-1
python-pyqt6 6.4.0-1
python-pyqt6-sip 13.4.0-1
python-pyqt6-webengine 6.4.0-1
qt6-5compat 6.4.0-3
qt6-base 6.4.0-2
qt6-declarative 6.4.0-2
qt6-imageformats 6.4.0-1
qt6-multimedia 6.4.0-2
qt6-multimedia-ffmpeg 6.4.0-2
qt6-positioning 6.4.0-1
qt6-svg 6.4.0-1
qt6-translations 6.4.0-1
qt6-wayland 6.4.0-1
qt6-webchannel 6.4.0-1
qt6-webengine 6.4.0-5

However, building kDeltaChat on this system gives the following error, plus a warning:

CMake Error at /usr/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:2264 (message):
  qt_generate_foreign_qml_types() is only available in Qt 6.
Call Stack (most recent call first):
  /usr/lib64/cmake/Qt6Qml/Qt6QmlConfig.cmake:127 (include)
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /usr/lib64/cmake/Qt6/QtPublicDependencyHelpers.cmake:108 (find_dependency)
  /usr/lib64/cmake/Qt6Quick/Qt6QuickDependencies.cmake:39     (_qt_internal_find_qt_dependencies)
  /usr/lib64/cmake/Qt6Quick/Qt6QuickConfig.cmake:50 (include)
  /usr/lib64/cmake/Qt6/Qt6Config.cmake:223 (find_package)
  CMakeLists.txt:22 (find_package)


CMake Warning at /usr/lib64/cmake/Qt6/Qt6Config.cmake:223 (find_package):
  Found package configuration file:

/usr/lib64/cmake/Qt6Quick/Qt6QuickConfig.cmake

  but it set Qt6Quick_FOUND to FALSE so package "Qt6Quick" is considered to
  be NOT FOUND.
Call Stack (most recent call first):
  CMakeLists.txt:22 (find_package)

There don't seem to be qt6-quickcontrols[*] packages for Arch like there are for qt5.

What can I try? Is it possible to force Cmake to build using Qt5?

To answer my own question:

makepkg -o

then remove the reference to Qt6 from

find_package(
  QT NAMES Qt6 Qt5

in line 19 of CMakelists.txt

then

makepkg -se

Builds correctly.

gcala commented on 2022-01-29 18:21 (UTC)

@MightyPork Are you sure? I removed sqlcipher from my system and kdeltachat compiles fine.

MightyPork commented on 2022-01-25 22:42 (UTC)

build failed with = note: /usr/bin/ld: cannot find -lsqlcipher

some dependency missing?

gcala commented on 2021-11-26 17:34 (UTC)

@polpetta I can't reproduce your error. It just compiled fine right now but I have not any qt6 package. Maybe the compiler want to use qt 6 if it finds some qt6-* package installed?

Can you try again removing any application from this output pacman -Q | grep qt6?

polpetta commented on 2021-11-25 11:40 (UTC)

@gcala, the build fails on my system, it is asking for qt6-webengine (that I've installed btw). The error I get is the following:

==> Starting build()...
-- The CXX compiler identification is GNU 11.1.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Installing in the same prefix as Qt, adopting their path scheme.
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE  
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE  
-- Found OpenGL: /usr/lib/libOpenGL.so   
-- Found WrapOpenGL: TRUE  
-- Found XKB: /usr/lib/libxkbcommon.so (found suitable version "1.3.1", minimum required is "0.5.0") 
-- Found WrapVulkanHeaders: /usr/include  
-- Found OpenSSL: /usr/lib/libcrypto.so (found version "1.1.1l")  
-- Found WrapOpenSSLHeaders: /usr/include (found version "1.1.1l") 
-- Found WrapOpenSSL: /usr/lib/libcrypto.so (found version "1.1.1l") 
-- Could NOT find Qt6WebEngine (missing: Qt6WebEngine_DIR)
CMake Error at CMakeLists.txt:22 (find_package):
  Found package configuration file:

    /usr/lib64/cmake/Qt6/Qt6Config.cmake

  but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find Qt component "WebEngine".

  Expected Config file at
  "/usr/lib64/cmake/Qt6WebEngine/Qt6WebEngineConfig.cmake" does NOT exist





-- Configuring incomplete, errors occurred!
See also "/home/davide/.cache/yay/kdeltachat-git/src/kdeltachat/build/CMakeFiles/CMakeOutput.log".
See also "/home/davide/.cache/yay/kdeltachat-git/src/kdeltachat/build/CMakeFiles/CMakeError.log".

The Qt6 modules I've installed are qt6-core and qt6-webengine. If I check my /usr/lib64/cmake folder I get only this results:

λ /usr/lib64/cmake/ ls -lah | grep Qt6Web
drwxr-xr-x   2 root root 4.0K Nov 25 12:31 Qt6WebChannel
drwxr-xr-x   2 root root 4.0K Nov 25 12:31 Qt6WebEngineCore
drwxr-xr-x   2 root root 4.0K Nov 25 12:31 Qt6WebEngineCoreTools
drwxr-xr-x   2 root root 4.0K Nov 25 12:31 Qt6WebEngineQuick
drwxr-xr-x   2 root root 4.0K Nov 25 12:31 Qt6WebEngineQuickDelegatesQml
drwxr-xr-x   2 root root 4.0K Nov 25 12:31 Qt6WebEngineWidgets

gcala commented on 2021-10-03 08:41 (UTC)

@lionelm done, thanks