1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-06 08:35:27 +02:00
Commit graph

45 commits

Author SHA1 Message Date
lcoursodon
f457ed5076 qt6.5: update to Qt 6.5.3
Change-Id: I43838bf36ee0d174834e5312f62865b56a77484b
2023-11-29 11:49:45 -05:00
Andreas Traczyk
8b09149ecd build: windows: fix toolset version choice
Change-Id: I935131da4bf78f0d2832646197367fce56509130
2023-11-27 12:06:49 -05:00
Andreas Traczyk
e46a123609 build: windows: remove qrencode-win32 patching
Changes to a more maintained repo source.

Change-Id: Ie9903761ad8cb740b79552f59dc851976c1ef9da
2023-11-14 14:44:30 -05:00
Andreas Traczyk
8e33a6125f build: windows: only init the required client submodules
Change-Id: Ia4ad3e76962fac38c8f482fb7892b259a968ce5f
2023-11-14 14:44:30 -05:00
Andreas Traczyk
3e17a9b247 cmake: windows: add the jami-core to the project
Change-Id: Ieeeb8bbf3d032fb9595b6f76a49ab8027dad7d99
2023-11-14 14:44:30 -05:00
Andreas Traczyk
be85034d78 build: support enabling ASAN for daemon + contrib + client
Change-Id: Ie014285e46feb82577125b68677b19d94005789f
2023-11-07 08:40:09 -05:00
Andreas Traczyk
31c5cead63 misc: use jami-core
Change-Id: I081b2575d78352e091c60c9ac80d8c8c5512e9b0
2023-11-03 15:41:03 -04:00
Andreas Traczyk
92be4fa7dc build: windows: optionally use pywinmake
Change-Id: Ib0b41428f00945c9bcab2f7d68355c2128c0e68f
2023-11-02 15:06:32 -04:00
lcoursodon
63c3d0bf2e Build: build without dbus if enable_libwrap is not specified
Change-Id: I8819b193b83f7ee051d78d30990db40e3f295354
2023-09-28 11:37:54 -04:00
Aline Gondim Santos
007b0c1132 i18n: fix configuration
+ Only look for translations in valid files.

Change-Id: I350478d050118c8b5d6bd127aaeed6c3965fe05f
GitLab: #1266
2023-07-27 09:59:43 -04:00
Andreas Traczyk
0f66152d72 build.py: allow initialization without installing pre-commit hook
Gitlab: #1219
Change-Id: I5a2e2099d6ad1b551e2d744ffbf800b79c36a821
2023-06-27 14:59:52 -04:00
Andreas Traczyk
5508f28c63 packaging: windows: fix Beta deployment script
Change-Id: I8facd465cd0c8eb0509b66b6f87008c6a86e89bd
2023-06-06 11:56:56 -04:00
Andreas Traczyk
e04e3db69f build: windows: use string literal instead of bytes for exe path
Change-Id: If641a2cf5a2a47bfa70e8232769ef916c64af35b
2023-06-05 13:59:32 -04:00
Andreas Traczyk
d94c30833f chatview: fix emoji responses under Qt v 6.4.x and up
Qt.bindings are not supported for properties within when calling createObject anymore. Instead, we can pass component references, or generate bindings post-creation.

Note: in this case, the popup closes and observation is not really needed here.

Gitlab: #1169
Change-Id: I21c1d95f4ca725c86fcf276834830145587458cc
2023-06-02 14:57:54 -04:00
Andreas Traczyk
dc53aa887d misc: change library name "jami" -> "libjami"
Bumps the daemon and adjusts the build to use the appropriate library name.

Change-Id: I4208f161c3522bb58dfc1dc55cb10910ade24eed
2023-06-01 12:32:07 -04:00
Léo Banno-Cloutier
63687acc71 install: bumped Qt 6.2 to 6.4
Change-Id: I39262a1945ab48f43efbb958ebe323f52f5d1a8d
2023-05-30 14:14:14 -04:00
Vladimir Stoiakin
39264e59c2 build: fix packaging with sdbus-c++
Change-Id: Ie7ab5f35d0f215cd32932f277dd7cc178e0dd2cc
2023-05-30 11:26:30 -04:00
Andreas Traczyk
66e0e21482 packaging: windows: optionally skip windeployqt
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
2023-04-14 15:19:48 -04:00
Andreas Traczyk
9e9b368deb misc: remove --force when calling qmlformat
It doesn't work with JS arrow function syntax.

Gitlab: #1059
Change-Id: I7da9c8ee7a2cb470aeb76cf4d1d0937e621eb221
2023-04-14 09:06:44 -04:00
Andreas Traczyk
be32998ff1 misc: don't --normalize when using qmlformat
Removes some intelligent grouping in the code. Perhaps normalization can be selectively done to the the strings and theme files at some point.

Gitlab: #1059
Change-Id: If9b0363567bc715dca0bdb4e3662612a5b159361
2023-04-13 16:17:21 -04:00
Andreas Traczyk
ae1cde4dc1 misc: format QML files using the python format script
+ Requires that the Qt path is supplied when calling build.py --init.
+ format.py now also takes a --qt argument to specify the Qt path, used to locate qmlformat.
+ format.py takes a --type argument to specify the type of files to format (qml, cpp, or both).

qmlformat is called with `--normalize` and `--force`.

Gitlab: #1059
Change-Id: Id9ff4b17018370696792b44f55ed2f4bc8091193
2023-04-13 13:08:57 -04:00
Andreas Traczyk
a8f48df4f9 misc: use qt path instead of version as parameter in build scripts
This homogenizes the script calling convention with other platforms, and will allow for a cleaner approach when searching for Qt tools (qmlformat).

Gitlab: #1059
Change-Id: I540ff61bd92186bb5a2998670665631e352852b9
2023-04-13 13:08:57 -04:00
Andreas Traczyk
f3a578d8ac misc: migrate source formatting script to python
Devs will need to remove the existing pre-commit hook or regenerate the hook with `build.py --init`.

Gitlab: #1059
Change-Id: I1cec9150c7781d769cb229dfd170a9dcfc819edb
2023-04-13 13:08:57 -04:00
Andreas Traczyk
797fe6b297 packaging: fix beta build for Windows
CMake build type shouldn't include "Beta".

Change-Id: I38e92a7d821c8a55614b82da1e0bae69862368ec
2023-04-07 19:14:23 -04:00
Andreas Traczyk
012034fe67 misc: migrate the webengine resources from libclient to the client
Adds a `--with-engine` option for the resource generator script which will prevent packaging unused resources when building without webengine support.

Change-Id: If2f31284ef59166615221235427a53d0df8da2ce
2023-04-06 16:55:38 -04:00
Andreas Traczyk
df5b955465 misc: fix test suite and tooling on Windows
- simplifies and fixes the python build script for Windows
- applies pep8 to the script also

Gitlab: #899
Change-Id: Ieb3debd08ddf1649a46208fc52362d20c504c1b1
2023-04-05 13:54:23 -04:00
Adrien Beraud
67e0d766a2 install.sh: fix building without webengine
Change-Id: If3277035d695aaa28a26091845091b250d842515
2023-03-09 14:37:14 -05:00
Kateryna Kostiuk
048bdfba78 macOS: fix unified build
Change-Id: I01048863c6a60ba0f32d5a0daec6b504a54818ed
2023-03-02 10:53:05 -05:00
Kateryna Kostiuk
b9f2ebd1a5 macOS: fix single architecture build
Change-Id: I2702cbc0c0fee71d17eb2902b5c7c242a237f06a
2023-03-01 20:57:27 -05:00
Kateryna Kostiuk
ba867b0636 macos: support unified build
This patch adds a parameter arch to specify architecture
to build. This parameter could be arm64, x86_64 or unified.

Change-Id: I2907e03410e0c01b8505afbe283da04b8d0291b6
2023-02-28 14:30:05 -05:00
Amin Bandali
8d46acedf1 misc: Update copyright years to 2023
Change-Id: Idf38e82631a4e22540aa5dec8ec2db0ab4a38c2e
2023-02-06 01:47:15 -05:00
Andreas Traczyk
297ad48494 build: fix Windows build
Makes build.py commands work for Windows.

Change-Id: Ie21314b090106286348ad51d6137fac84fa651df
2023-01-06 14:12:05 -05:00
Aline Gondim Santos
cff189090b windows: add support for Visual Studio 2022
Change-Id: I83e4fa98444bf4d025cce66aa8297b2d2b14ef01
2022-12-15 14:41:54 -03: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
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
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