Skip to content
Snippets Groups Projects
  1. Apr 26, 2023
  2. Apr 14, 2023
    • Andreas Traczyk's avatar
      packaging: windows: optionally skip windeployqt · 66e0e214
      Andreas Traczyk authored
      This is a big time saver in the context of CI testing where we only need to supply some env vars instead.
      
      It would also be nice to also have the env vars filled out for CMake-generated project runtime configs to prevent unnecessary deployment for development builds, but that's not done in this commit.
      
      Change-Id: I338827cb87c9fc71c9a6b4b3076b22aa7cf7cfa3
      66e0e214
  3. Apr 06, 2023
  4. Apr 05, 2023
  5. Mar 20, 2023
    • Amin Bandali's avatar
      cmake: Tweak RPATH to fix linking libjami for local installs. · 28bb42e5
      Amin Bandali authored and Maxim Cournoyer's avatar Maxim Cournoyer committed
      * CMakeLists.txt: Tweak the setting of the runtime path (RPATH) to add
      the 'lib' directory for local (non-system-wide) installs, to fix the
      newly-surfaced issue with linking libjami for local installs.
      
      Without this, the executable would be linked against the libjami
      shared library from daemon/src/.libs for the install RPATH as well,
      which for some reason as of recently gets omitted from the install
      RPATH after 'make install', resulting in an error like the following
      when trying to launch jami:
      
      ./install/bin/jami: error while loading shared libraries: libjami.so.0: cannot open shared object file: No such file or directory
      
      Change-Id: If7e172b54728c72ae649fcf936a767b5d9c99488
      Unverified
      28bb42e5
  6. Feb 28, 2023
    • Kateryna Kostiuk's avatar
      macos: support unified build · ba867b06
      Kateryna Kostiuk authored
      This patch adds a parameter arch to specify architecture
      to build. This parameter could be arm64, x86_64 or unified.
      
      Change-Id: I2907e03410e0c01b8505afbe283da04b8d0291b6
      ba867b06
  7. Feb 20, 2023
  8. Feb 06, 2023
  9. Jan 30, 2023
  10. Jan 09, 2023
  11. Dec 29, 2022
  12. Dec 28, 2022
    • Maxim Cournoyer's avatar
      cmake: Simplify lookup logic for libjami headers. · 041b733c
      Maxim Cournoyer authored and Sébastien Blin's avatar Sébastien Blin committed
      * extras/build/cmake/modules/FindLibJami.cmake: Rename
      LIBJAMI_INCLUDE_DIRS to LIBJAMI_INCLUDE_DIR.  Use find_path to search
      for jami.h directory.
      * CMakeLists.txt: Adjust accordingly.
      * src/libclient/CMakeLists.txt: Likewise.
      * src/libclient/qtwrapper/CMakeLists.txt: Likewise.
      
      Change-Id: I494358f9bfafb41f000daeec4196747b2c184401
      041b733c
  13. Dec 27, 2022
  14. Dec 15, 2022
  15. Dec 13, 2022
  16. Dec 07, 2022
  17. Nov 23, 2022
  18. Nov 15, 2022
    • Andreas Traczyk's avatar
      misc: regenerate qml.qrc at configure time · 9e4f5a19
      Andreas Traczyk authored and Sébastien Blin's avatar Sébastien Blin committed
      Our qml.qrc is:
      - commonly in conflict and prone to erroneous conflict resolution
      - platform dependant (generation is used anyway for removing
        webengine dependant resources)
      - a poorly maintained hodge-podge with resources in subdirectories
        that aren't grouped
      - requires alteration when moving resources (if not done correctly,
        without tests, results in uncaught runtime failures)
      
      This patch uses a python script at configure time to generate the
      qml.qrc resource file, and removes it from versioning.
      
      GitLab: #749
      Change-Id: Ia2b81bb5b2c29d0bf6f5a5302e76795864e93e40
      9e4f5a19
    • Andreas Traczyk's avatar
      misc: clean image resource generation python script · a230365a
      Andreas Traczyk authored and Sébastien Blin's avatar Sébastien Blin committed
      Conform to PEP8 and Qt6/QML (remove QtQuick module version).
      
      GitLab: #749
      Change-Id: Ibccc8023e6f622f039bcdb470f3cade34cc2be9e
      a230365a
  19. Nov 14, 2022
    • Maxim Cournoyer's avatar
      Move xcb include/link directives from jami to libclient. · e2ce5c4d
      Maxim Cournoyer authored and Sébastien Blin's avatar Sébastien Blin committed
      Relates to <#882>.
      
      This problem was discovered when attempting to build the test suite:
      
         ld: ../src/libclient/liblibjamiclient.a(avmodel.cpp.o): undefined
         reference to symbol 'xcb_get_setup'
      
      * CMakeLists.txt: [!(APPLE or MSVC] Move xcb includes and link directives to...
      * src/libclient/CMakeLists.txt [!(APPLE or MSVC]: ... here.
      
      Change-Id: If9b6653e157081300caad8f13cafe4979a49630b
      e2ce5c4d
  20. Oct 17, 2022
    • Amin Bandali's avatar
      build: Add daemon submodule and optionally use it. · ca7b1e70
      Amin Bandali authored and Sébastien Blin's avatar Sébastien Blin committed
      This allows invoking cmake with -DWITH_DAEMON_SUBMODULE=true to use
      the daemon header files and library from the submodule.  Note that it
      is currently still necessary to build the daemon separately first,
      either manually or using the build.py convenience script.
      
      The goal is to eventually add support for building the daemon with
      CMake in the future, so that we could add_subdirectory(${DAEMON_DIR})
      in client-qt's CMakeLists.txt and have CMake take care of everything.
      
      Change-Id: I3a16c44837e6c79616b3101fea8a6ff3defa3ab5
      ca7b1e70
  21. Oct 07, 2022
    • Maxim Cournoyer's avatar
      misc: Rename jami-qt to jami and remove launcher script. · bf4a8c31
      Maxim Cournoyer authored and Amin Bandali's avatar Amin Bandali committed
      Now that there is no longer a second official client (jami-gnome), we
      can remove this uninteresting implementation detail from the name.
      
      Mostly automated via:
      
        $ git grep jami-qt -l | xargs sed 's/jami-qt/jami/g' -i
      
      * src/app/jami: Delete launcher script.
      * CMakeLists.txt: Un-register it from installation.
      
      Change-Id: I5167c29089feb4e64c12d7d01c1ce281e16c0613
      bf4a8c31
    • Amin Bandali's avatar
      misc: Clean up repository root. · 2fc8661d
      Amin Bandali authored
      This is the first in a series for cleaning up the top directory (root)
      of the repository and move various files/folders into nicely organized
      directory structures.
      
      GitLab: #749
      Change-Id: If59b74fff981df242bc26e62a070bdb81d7baded
      2fc8661d
  22. Oct 04, 2022
    • Amin Bandali's avatar
      build: Tweak CMakeLists.txt pkg-config usage for finding avutil. · 7fb102ed
      Amin Bandali authored
      * CMakeLists.txt: Prepend CMAKE_PREFIX_PATH with the location of
      libavutil.pc from daemon's contrib before trying to find libavutil
      using pkg-config, and remove it afterwards.  Further, there is no need
      to link the application executable against libavutil; the application
      only needs its headers (libclient, however, does already link against
      libavutil).
      
      Change-Id: Iffa5af43bfd1bb62bc24cc94dce292f87e9ecb2a
      7fb102ed
  23. Sep 26, 2022
  24. Aug 03, 2022
  25. Jul 30, 2022
  26. Jul 29, 2022
  27. Jun 23, 2022
  28. Jun 08, 2022
    • Amin Bandali's avatar
      misc: vendor libjamiclient into 'src/libclient/' · e0b3b4ad
      Amin Bandali authored
      This is libjamiclient from the jami-libclient.git repository as of
      767c45b8b09806ac05cbada720864df93588c047, with the following changes:
      
      * src/libclient/newaccountmodel.cpp:
      (NewAccountModelPimpl::removeFromAccounts): The lock wait inside
      '#ifdef CHK_FREEABLE_BEFORE_ERASE_ACCOUNT' was not updated when the
      type of 'accounts' was changed over the years from this:
      std::map<std::string, account::Info>
      to this:
      std::map<QString, std::pair<account::Info, std::shared_ptr<Database>>>
      Basically we need to get the 'first' of the pair for 'account::Info'.
      So we now do that.
      
      * src/libclient/avmodel.cpp:
      * src/libclient/callbackshandler.cpp:
      * src/libclient/contactmodel.cpp:
      * src/libclient/conversationmodel.cpp:
      * src/libclient/database.cpp:
      * src/libclient/namedirectory.cpp:
      * src/libclient/newaccountmodel.cpp:
      * src/libclient/newcallmodel.cpp:
      * src/libclient/newdevicemodel.cpp:
      * src/libclient/peerdiscoverymodel.cpp:
      * src/libclient/pluginmodel.cpp:
      * src/libclient/smartinfohub.cpp:
      * src/libclient/vcard.h:
      * src/libclient/authority/storagehelper.cpp:  Replace Qt's 'foreach'
      with 'Q_FOREACH' and its 'emit' with 'Q_EMIT' because in the client-qt
      code base we have '-DQT_NO_KEYWORDS' to avoid conflicts with other
      libraries we use.
      
      * cmake/FindLibJami.cmake: Import cmake/FindRing.cmake from the
      jami-libclient.git repository.  Then, rename RING_BUILD_DIR to
      LIBJAMI_BUILD_DIR (though the old name is still supported for now).
      Also update other references of Ring to Jami.  Further, add additional
      calls to 'find_library' to make sure specified local paths for libjami
      are checked before system-wide ones (in case of older/obsolete libjami
      being available system-wide, which might happen on GNU/Linux systems).
      
      * translations/lrc_*.ts: Import translation files from the libclient
      repository.  The message location paths were corrected by running
      "sed -i 's|../src|&/libclient|g' lrc_*.ts" in 'translations/'.
      
      .tx/config: Add section for the newly-imported libclient translations.
      
      * CMakeLists.txt: Reformat, plus various fixes and cleanups, such as
      changing indentation to 2 spaces and wrapping lines at 70 characters,
      renaming the parent directory of translations from 'ring' to 'jami',
      and using all lowercase function calls.  Also add copyright headers.
      
      * src/app/appsettingsmanager.cpp:
      (AppSettingsManager::loadTranslations):
      * src/app/utilsadapter.cpp (UtilsAdapter::supportedLang): Update to
      adapt to the renaming of the parent directory of translations from
      'ring' to 'jami'.
      
      GitLab: #748
      Change-Id: I86e3b0fb30e554755023e7b858b6a0d132cd59ab
      e0b3b4ad
  29. May 19, 2022
  30. May 05, 2022
  31. May 03, 2022
  32. Apr 26, 2022
  33. Apr 05, 2022
  34. Apr 04, 2022
  35. Mar 24, 2022
Loading