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

68 commits

Author SHA1 Message Date
Sébastien Blin
8adb4aa117 wizardview: use videopreview if webengine
MediaPlayer is crashing on snap for an unknown reason. For now,
the easiest thing is to use the webengine component as it's already
used pretty everywhere and snap is built with.

GitLab: #1037
Change-Id: Ida24f0401bbd5c6a861a7229fb51135652722561
2023-03-23 08:11:25 -04:00
Sébastien Blin
42a2465080 fedora_37: update repositories before installing new packages
Change-Id: I278bf8131f587da392f2bccc8467138db97dc3e6
2023-03-22 13:43:58 -04:00
Adrien Beraud
67e0d766a2 install.sh: fix building without webengine
Change-Id: If3277035d695aaa28a26091845091b250d842515
2023-03-09 14:37:14 -05:00
Sébastien Blin
ad1bc98b6e fedora: use fmt-devel from system
Change-Id: I32c6dba09b01e87f7e9b48f7a4ab853d26526c63
2023-03-03 08:58:10 -05:00
Sébastien Blin
4712de7ed0 snap: use opus-dev from distribution
Change-Id: I9ce321779f578395719670433650f47987a32480
2023-03-02 16:30:03 -05:00
Maxim Cournoyer
de7c182adc packaging: Improve PACKAGING_TARGETS parameter documentation.
* extras/packaging/gnu-linux/Jenkinsfile: Improve PACKAGING_TARGETS
parameter documentation.

Change-Id: I83de03a7d722ff391cc41098a0cce9334e014d75
2023-03-02 13:47:28 -05:00
Maxim Cournoyer
1442d37ae8 packaging: Add support for RPM guix packs.
* extras/packaging/gnu-linux/Makefile (GUIX_PACK_FORMATS): New
variable.
(guix-pack-command): Add format argument.  Make the --postinst-file
argument conditional to the 'deb' format.
(define-deb-pack-rule): Rename to...
(define-guix-pack-rule): ... this.  Add a new format argument, and
move existing architecture argument into 2nd position.
* extras/packaging/gnu-linux/scripts/deploy-packages.sh
(package): Register 'guix-rpm-pack' as RPM packages.

Change-Id: I1b5501c02e917b2b0c5e92e775a85478dd67316e
2023-03-02 13:47:27 -05:00
Maxim Cournoyer
b41f1d36c7 packaging: Restore first citizenship of Guix deb packs.
Build them by default again.

* extras/packaging/gnu-linux/Jenkinsfile [BUILD_DEB_PACK]: Remove parameter.
('Build packages'): Do not filter out deb packs by default.

Change-Id: Id65c00de0a50c263b672986a61776b02cf69a2e4
2023-03-02 13:47:27 -05:00
Maxim Cournoyer
12b874e4f4 packaging: Sort output of 'list-package-targets' target.
* extras/packaging/gnu-linux/Makefile (list-package-targets): Sort output.

Change-Id: I5d4f51c502d6d99d1ddf99c91422706ef230f01a
2023-03-02 13:47:27 -05:00
Maxim Cournoyer
e0cc1e301f packaging: Fix deb-pack package.
The with-libjami/latest rewriting procedure was not applied to the
customized jami package, hence it was using libjami at its current
version in GNU Guix and failing to build.

* extras/packaging/gnu-linux/guix/guix-pack-manifest.scm
(with-latest-sources): Apply patch.
(libjami/latest): Disable test suite.
(jami-with-certs): Re-introduce -DLIBJAMI_INCLUDE_DIR configure flag.
(jami-with-certs/latest): Apply to with-libjami/latest.

Change-Id: I6266fa691dc8995300afb15bdbc9ce1640ab4d1d
2023-03-02 13:47:27 -05:00
Maxim Cournoyer
0bf99a8fee build: Use the new --symlink option instead of --expose.
Instead of leaking host TLS certificates at /etc/ssl/certs for GnuTLS,
we can now have the directory symlinked to the ones provided by the
nss-certs package in the Guix container, which is cleaner.

* extras/packaging/gnu-linux/Makefile
(portable-release-tarball): Replace --expose options with --symlink.
* build.py (run_install): Likewise.

Change-Id: Id3b8c2b3dd06fade10bbd280fd0af8f9ac8fde45
2023-03-02 13:47:27 -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
Maxim Cournoyer
7161858daf packaging: Update Guix revision.
* extras/packaging/gnu-linux/guix/channels.scm (channel): Bump Guix to
current commit.

Change-Id: Ib929a948f47a1d9ee73ba7340be6821fdd4f6a0d
2023-02-22 13:32:47 -05:00
Maxim Cournoyer
003b6be691
packaging: Simplify 'Publish release artifacts stage' logic.
* extras/packaging/gnu-linux/Jenkinsfile
(Publish release artifacts'): Simplify logic.

Change-Id: I4cec0b8009256501d627453df26bd17024e55f45
2023-02-21 16:07:57 -05:00
Maxim Cournoyer
9355c1a2df
packaging: Cosmetic change to Makefile.
Change-Id: I9036912033aee53370d4f7cf5a854a2495de0485
2023-02-21 16:07:57 -05:00
Maxim Cournoyer
4461ba6902
Jenkinsfile: Break long lines.
* extras/packaging/gnu-linux/Jenkinsfile: Break long lines.

Change-Id: Idd6f72e18e0b4489a22e7aa2a59b4cc8ac90dbee
2023-02-21 16:07:57 -05:00
Amin Bandali
24b761ae82 misc: Use 'Savoir-faire Linux Inc.' more consistently
Change-Id: Idc99880fedf8bb9f7a89b5b30c3f316dede89759
2023-02-06 01:52:34 -05:00
Amin Bandali
8d46acedf1 misc: Update copyright years to 2023
Change-Id: Idf38e82631a4e22540aa5dec8ec2db0ab4a38c2e
2023-02-06 01:47:15 -05:00
Amin Bandali
43c2197ef1 packaging: Update release tarball name and version scheme.
* extras/packaging/gnu-linux/scripts/release-version.sh: Add script
for deriving (reproducibly) a release version.  The format will follow
a 'YYYYMMDD.X' scheme, where 'YYYYMMDD' is the date of the last commit
on the current branch, and 'X' the number of releases tagged that day,
starting from zero.  Example: the first stable release with a newest
commit date of 2023-01-02 would have a version of '20230102.0', the
subsequent one '20230102.1', and so on.  This is derived by counting
the number of git tags with the prefix 'TYPE/YYYYMMDD', where 'TYPE'
is the release type: either 'stable', 'beta', or 'nightly'.
* extras/packaging/gnu-linux/Jenkinsfile: Call the above new script to
derive the release version to use for tagging.
* extras/packaging/gnu-linux/Makefile: Switch from the previous
'jami_YYYYMMDD.hhmm.COMMIT.tar.gz' tarball filename format to
'jami-YYYYMMDD.X.tar.gz'.  The new format is shorter, omits the
unnecessary and confusing commit id, and uses dash instead of
underscore.  Also, it contains everything in a top-level directory
with the same name as the tarball (without the .tar.gz extensions),
so that 'jami-YYYYMMDD.X.tar.gz' nicely extracts to 'jami-YYYYMMDD.X'.
With these changes, our release tarballs will follow more closely the
related instructions from the GNU maintainers manual:
https://www.gnu.org/prep/maintain/html_node/Distribution-tar-Files.html
Lastly, this change inadvertently 'fixes' a recent issue where the
'extras/ci/client-qt-gnulinux' subdirectory and its contents would be
moved to top-level in the tarball due to one of the tarball transforms
matching the 'client-qt' in the directory's name, replacing the
'extras/ci/client-qt' prefix with 'client-qt', thereby resulting in
'client-qt-gnulinux' being moved to the tarball's top-level.
* .gitignore: Ignore several packaging-related directories and files.
* extras/packaging/gnu-linux/rules/rpm/jami-daemon.spec:
* extras/packaging/gnu-linux/rules/rpm/jami-libclient.spec:
* extras/packaging/gnu-linux/rules/rpm/jami-qt.spec:
* extras/packaging/gnu-linux/rules/rpm/jami.spec: Update the expected
release tarball filename pattern in the 'Source' field.  Also replace
references to previous top-level directory name 'client-qt' with the
new one 'jami-%{version}' where needed.
* extras/packaging/gnu-linux/rules/rpm/jami-libqt.spec: Update the
'Source' field to follow new tarball name consistent with the main
Jami release tarball.
* extras/packaging/gnu-linux/scripts/build-package-rpm.sh: Update the
tarball top-level directory pattern for the new format, now passing
the --wildcards option to GNU Tar.  Also use a name for the jami-libqt
source tarball that is more consistent with the main Jami release
tarball.
* extras/packaging/gnu-linux/scripts/build-package-snap.sh: Update the
top-level directory pattern for the new format.
* extras/packaging/gnu-linux/tarballs.manifest: Drop file accidentally
checked into git.

Change-Id: I2695f560c0bc5e61fb99dc0244f8fbb8e7026a62
2023-02-03 08:59:33 -05:00
Kateryna Kostiuk
9ffbf4ae1c macOS: update signature for Sparkle
This patch sets up app updates to use EdDSA signature as now
it is required by Sparkle

Change-Id: I68a581e21850f04a819f4fe7ea49a33766031e01
2023-01-30 11:10:46 -05:00
Kateryna Kostiuk
2de9157d34 updater: add Sparkle to submodules
Change-Id: I0e0414b928dcf53158e35803878f9c587944d4ac
2023-01-18 10:44:48 -05:00
Sébastien Blin
416d248596 packaging: fix permissions error on deploy
Because docker mount extras/packaging/gnu-linux/packages:/opt/output
the Makefile MUST creates the directory for current user else
the resulting directory will use the Docker user (root), causing
the file to not be removed.

Change-Id: I91dadfa766730d163de4cf091bb1b9b8193f7d24
2023-01-13 16:37:27 -05:00
Sébastien Blin
e46baa9e3d misc: remove typo
Change-Id: I172139df931dbfaa7850387f5bdaf6d1bd6a0561
2023-01-10 16:53:32 -05:00
Sébastien Blin
5413ab1361 Makefile: remove eol distrib and run with user
Change-Id: Ib31e7d311540d889283de681d74c1f8f82870365
2023-01-10 16:26:05 -05:00
Sébastien Blin
6dca693f26 misc: fix installed files (man)
Change-Id: Ia6fe70124cb8d94cae8763390491cdcc9509ff69
2023-01-10 14:08:11 -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
Sébastien Blin
be036ba6b7
packaging: fix permissions issues
generated files should be using correct UID:GID
Change-Id: I5eae54d683862154a873787c3d8e1b73b55b0beb
2022-12-29 10:58:08 -05:00
Sébastien Blin
2b7a421e1f Revert "cmake: Simplify lookup logic for libjami headers."
This reverts commit 041b733cf4.

Reason for revert: Breaks build from jami-project

Change-Id: Ie93add3c76a88c0368cb9d23c415d921a06b49d9
2022-12-29 09:45:16 -05:00
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