1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-03 07:05:26 +02:00
Commit graph

38 commits

Author SHA1 Message Date
Maxim Cournoyer
041b733cf4 cmake: Simplify lookup logic for libjami headers.
* 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
2022-12-28 10:14:18 -05:00
Aline Gondim Santos
ce6c7dc02b callview: implement an observable object to detail the current call
Change-Id: Ic7025f66e472457e32149911053c8ff32e06bf21
2022-12-27 11:46:39 -05:00
Sébastien Blin
604e92055d jenkinsfile: fix tag generation
Change-Id: I963d7064903c485c4aabacedf73a023a09f37efc
2022-12-21 09:00:18 -05:00
Sébastien Blin
3349b7deff packaging: migrate packaging scripts in client-qt
This patch moves already existing packaging scripts from jami-project
into client-qt.
Introduced changes are:
+ WITH_SUBMODULE must search in system lib too because for
packaging client-qt (for rpm) will be built separately, and will
depend on jami-daemon.
+ Fix appdata.xml (replace old wiki with docs.jami.net)
+ path changes (because we build in client-qt not jami-project).

GitLab: #853
Change-Id: I1313830d85c8094fcbcc52e22033a2add7b1e89f
2022-12-20 11:17:00 -05:00
Aline Gondim Santos
cff189090b windows: add support for Visual Studio 2022
Change-Id: I83e4fa98444bf4d025cce66aa8297b2d2b14ef01
2022-12-15 14:41:54 -03:00
Sébastien Blin
bb1919664f jenkinsfile: use contrib cache
Change-Id: Ifc906e9c2d43cfa73d9cb0612bf67b406b85d508
2022-12-06 09:36:15 -05:00
Aline Gondim Santos
956b7f7da5 windows: add support for system theme
Use registry
"HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion
/Themes/Personalize/AppsUseLightTheme"
to check if system theme is supported and if it is dark or
light.

Removes "EnableDarkTheme" in favor of "AppTheme".

Requires Windows SDK version 10.0.18362.0 to build with
system theme support.

Note: This does not watch for changes in system theme in
runtime as the support for it requires Windows Runtime
version 10.0.10240.0.

GitLab: #723

Change-Id: Ice8f7936a90535f47dc1870d4f18215e062684ba
2022-12-06 09:07:15 -05:00
Sébastien Blin
dfa377bc9b
jenkinsfile: add missing steps
Change-Id: I0844f54e0f4c4e0785938fa88d1f20bbab9cf757
2022-12-05 10:13:18 -05:00
Sébastien Blin
565c04e725
jenkinsfile: get correct commit
Change-Id: I3166779843432a2a92781b35befc105c388374b4
2022-12-05 09:55:16 -05:00
Sébastien Blin
d70a663914 jenkinsfile: checkout GERRIT_REFSPEC
Change-Id: Id616cc1a53e3d86f220c8bde5a2e0a4c1213f1b6
2022-12-02 16:19:11 -05:00
Sébastien Blin
7321796100 jenkinsfile: checkout gerrit_refspec
Change-Id: I79991fe7c84b395e69db41721e473376740cb797
2022-12-02 16:16:57 -05:00
Sébastien Blin
80dc44580d jenkinsfile: use submodule update
Change-Id: I19d5e7550dc7101cfa5c0edbc03812a06232e014
2022-12-02 15:58:09 -05:00
Sébastien Blin
7367c28733 jenkinsfile: use HOME=/tmp for tests
Change-Id: Ib5f207eb730be43a7cc5ebfb7cda2b230054badd
2022-12-02 14:47:45 -05:00
Sébastien Blin
4702ee6bde jenkinsfile: do not use jami-project
Change-Id: I47bfb9d653b8ed015643dbd84a5751bc7d9ea899
2022-12-02 13:23:45 -05:00
Sébastien Blin
3aa37d6d1d ci: use submodule
Change-Id: I3f8301ad37cbf9d24fefd2e5d44c8cd60b4cf236
2022-12-02 12:53:42 -05:00
Sébastien Blin
2136262b4a misc: fix build for tests
Change-Id: I393ba9f6a18061de9036953bf178a8898c9380f1
2022-12-02 12:44:17 -05:00
Sébastien Blin
4d5ee8039b misc: top-dir is /foo/jami-project
Change-Id: I3e2a47a77cbe5f86b3432e63144afe1ed6868322
2022-12-02 12:29:45 -05:00
Sébastien Blin
d3fa7213c0 jenkinsfile: remove stages inside docker
Change-Id: Ic761466ece67e5e52d0b7e263ded0fa046308f7a
2022-12-02 12:22:27 -05:00
Sébastien Blin
5c258241c1 jenkinsfile: stages is not recognized
Change-Id: I124df97bff609d897d617bf2fd9f4c5d1b81f5a8
2022-12-02 12:14:54 -05:00
Sébastien Blin
63f7fca2df jenkinsfile: add minimum build
Change-Id: I2dfc7669e7587ed71410b48ac2d12ee4638638a1
2022-12-02 12:01:59 -05:00
Sébastien Blin
dc77833c7e jenkinsfile: base fetch
Change-Id: I6f2811b1af99458d78b2a8de26b5c5d0dcb94e3d
2022-12-02 11:43:34 -05:00
Sébastien Blin
5083e2a75f jenkinsfile: prepare steps
Change-Id: If54b46f1f1c7629a728a97d0803d986d3d5cecd9
2022-12-02 11:41:02 -05:00
Sébastien Blin
31494c68da jenkinsfile: add stages
Change-Id: Ie72e3b57c558455055784ebcd24f410680a5c449
2022-12-02 11:33:14 -05:00
Sébastien Blin
6c70897ed9 misc: fix jenkinsfile
Change-Id: I043de5cdff377624382cfa4775e56d387fabc962
2022-12-02 11:29:43 -05:00
Sébastien Blin
da61006eb9 tests: add tests to CI and start to migrate old ones
Pretty all tests are broken, but at least, forcing the CI to build
it will force people to check it.

Change-Id: I974905a893b6a53ce71890b63a01be6a791ea556
2022-12-02 11:20:48 -05:00
Amin Bandali
72315f918d build: Use WITH_DAEMON_SUBMODULE rather than LIBJAMI_BUILD_DIR.
* extras/scripts/install.sh: Use WITH_DAEMON_SUBMODULE rather than
LIBJAMI_BUILD_DIR in install.sh, which is called by our build.py
convenience script.

Change-Id: I5ee797608110bf5e4dbb292fce872f0c5d77e846
2022-11-18 15:51:30 -05:00
Amin Bandali
cb7b0fee61 scripts: Update commit-msg from Gerrit 3.6.1.
Change-Id: I1c7099fd82251a1434bebcaf804278cedbb6e6d9
2022-11-17 15:01:27 -05:00
Amin Bandali
355c0e63d5 build: Import build.py and associated scripts from jami-project.
Bring over the build.py script and its associated scripts from the
scripts subdirectory of the jami-project.git as of commit
14a328b88007bff5ea21650fb00f6d4ead14cf02, with small changes to
simplify and drop unneeded parts and adapt to their new locations.

Change-Id: I500702854e45392a931ff7505e191b966015cd16
2022-11-17 14:57:32 -05:00
Amin Bandali
adcdcc8c1e build: Move build.py to extras/scripts/build-windows.py.
This build.py script is Windows-specific, as such we move it to
extras/scripts/build-windows.py in preparation for importing the main
cross-platform build.py script from the jami-project.git repository.

Change-Id: I7d7d98ffb67f7fcdea767d28fd8cdefabea98d4b
2022-11-17 14:56:24 -05:00
Andreas Traczyk
9e4f5a19c6 misc: regenerate qml.qrc at configure time
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
2022-11-15 09:51:19 -05:00
Andreas Traczyk
a230365a92 misc: clean image resource generation python script
Conform to PEP8 and Qt6/QML (remove QtQuick module version).

GitLab: #749
Change-Id: Ibccc8023e6f622f039bcdb470f3cade34cc2be9e
2022-11-15 09:51:19 -05:00
Sébastien Blin
90ae50ee5f misc: rename DRing->libjami
Change-Id: I15d382406687cc506c1456ce43286ad6b0f23529
2022-10-29 16:53:42 -04:00
Kateryna Kostiuk
5aca889630 packaging: fix path for macOS
Change-Id: Id0aca1fd0d2cc95450c44b48ad0c82360430a6bd
2022-10-21 12:36:01 -04:00
Amin Bandali
bb7b5b62c2 i18n: fix repo root path in update-translations.ps1
GitLab: #852
Change-Id: I1ff3099abdb539efb4761b5e0108779a71f701ec
2022-10-17 22:21:46 -04:00
Amin Bandali
ca7b1e70e4 build: Add daemon submodule and optionally use it.
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
2022-10-17 16:20:47 -04:00
Amin Bandali
3f1bc76c08 build: Simplify FindLibJami.cmake module.
* extras/build/cmake/modules/FindLibJami.cmake: find_library's NAMES
option can take multiple library names.  So, just use that instead of
multiple almost-duplicate calls to find_library for trying different
names.

Change-Id: I9ae5d96e1abcb8117ad65b79b3cc27424b4f87d7
2022-10-17 16:02:27 -04:00
Maxim Cournoyer
bf4a8c314f misc: Rename jami-qt to jami and remove launcher script.
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
2022-10-07 17:30:06 -04:00
Amin Bandali
2fc8661d08 misc: Clean up repository root.
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
2022-10-07 17:30:06 -04:00