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

196 commits

Author SHA1 Message Date
François-Simon Fauteux-Chapleau
6dac4d2ee3 packaging: remove Ubuntu 24.10 (EOL)
Change-Id: Id0e69c2c61d3c0d45b31a73768a27f2dfce75a7f
2025-07-30 14:24:27 -04:00
ovari123
52f3a9bc28 *.desktop and *.metainfo.xml: localize
Follow up to the https://review.jami.net/c/jami-client-qt/+/31007 patch.

Change-Id: I624aecdc9a4608fe4300db0838f57885588b33fe
GitLab: #1955
2025-07-24 17:24:27 -04:00
Ilyas Erdogan
666b149033 Metainfo: Add latest stable/20250718.0 release details
Change-Id: I8fc881e707c5ef3c6d461e69f19aef92d3c2bae6
2025-07-22 10:34:04 -04:00
François-Simon Fauteux-Chapleau
3c00829afb packaging: use new icon filename
Follow-up to commit 5c772960bc.

Change-Id: Ib5c0b4bc1c5e3f5112bbd49bf323aeb4cc87c75e
2025-07-18 13:30:23 -04:00
Maxim Cournoyer
6c35561817 Reinstate "cmake: Simplify lookup logic for libjami headers." (again).
This reinstates commit f6c8197cba, which was seemingly reverted by
mistake in 4d2c55348b ("packaging: migrate from Qt 6.2.3 to
6.4.3").

Change-Id: I603e004431be0503be0acdd7ce37fa5aaa4ecd91
2025-07-16 12:58:01 -04:00
Maxim Cournoyer
bc324aa8bb build: update guix manifest for build.py
Change-Id: I878ad4b2ae4adee4ebc623e4ab40362fd9e1034a
2025-07-16 11:56:55 -04:00
Ilyas Erdogan
5c772960bc Adhere to flatpak/flathub requirements
- Developer id must be rDns identifier of developer
- Exported icons should match rDNS of app id
- Release version and dates should be included
- Added light and dark branding colours for Flathub banner
- Contact url removed - does not pass appstream validation

Change-Id: Ic5e2a5abeab4310ea87a34cc81363d1851135bcd
2025-07-16 11:31:12 -04:00
François-Simon Fauteux-Chapleau
da2acefced packaging: add AlmaLinux 10
GitLab: #2065
Change-Id: I4252e2c128f72b3f6a78204a4134374b44155b80
2025-07-14 16:58:06 -04:00
ovari123
5a5ef4711d *.desktop and *.metainfo.xml: update
https://github.com/flathub/net.jami.Jami/blob/master/files/jami-client-qt_appdata.patch
https://docs.flathub.org/docs/for-app-authors/metainfo-guidelines
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html
https://specifications.freedesktop.org/desktop-entry-spec/latest/file-naming.html
https://specifications.freedesktop.org/desktop-entry-spec/latest/localized-keys.html
https://www.rfc-editor.org/rfc/bcp/bcp47.txt
https://review.jami.net/c/jami-client-android/+/30260
https://review.jami.net/c/jami-client-qt/+/29902

GitLab: #1955

Change-Id: Ib6a3c9770693cdae0f5d6a6a0ccee624febeabe3
2025-06-17 19:34:51 -04:00
François-Simon Fauteux-Chapleau
1dd745d446 packaging: remove EOL distributions
GitLab: #2064
Change-Id: I566936c16512e7cc3db085a362fbd30f32bb693f
2025-06-17 13:30:12 -04:00
Félix Boucher
3dd2d26d86 versioning: add build version to snap packaging
GitLab: #2045
Change-Id: I173342d3b9351644a4bad4f70e033d29f06a6cd8
2025-06-16 16:45:33 -04:00
Félix Boucher
eb6b6a2b93 versioning: add build version to rpm packaging
GitLab: #2045
Change-Id: I44e1c6862305706bb177b1d8f4b1900f1c0098a5
2025-06-16 16:45:10 -04:00
Félix Boucher
e76bcbd555 versioning: add build version to debian packaging
GitLab: #2045
Change-Id: If0f8e2fef4ed38ae9cd4238bb725158526d24658
2025-06-13 10:21:43 -04:00
Félix Boucher
b5a979e6b1 versioning: add build version propagation for unix packaging system
The application on linux systems currently has a different build version
built into it than the build version generated on Jenkins which dictates
the filenames for release packages. This commit aims to propagate a
build version defined in the gnu-linux Jenkinsfile down to the
build-package-*.sh scripts.

Changes:
- create build version (timestamp) in Jenkinsfile
- propagate build version to Makefile, then the docker containers that
will execute the build-package-*.sh scripts

GitLab: #2045
Change-Id: Ia7cbb2f707c233741039dc7bfd3e5bd6a96c2270
2025-06-12 13:32:03 -04:00
Felix Boucher
898444dd3c versioning: add build version as windows build argument
The application currently has a different build version than the one set
in Jenkins. This causes issues in the crash reports on windows where
they contain a different build version than the one defined on Jenkins.
This leads to the names of the build artifacts on dl.jami.net not
matching the crash report's build version.

Changes:
- Add build version as parameter to the build-windows.py script.
- Propagate build version value to the application through the
BUILD_VERSION symbol.
- Deprecate version.h file and VERSION_STRING symbol.

GitLab: #2045
Change-Id: I7986679aaeebf2bcbbd63a781499f5a50e089712
2025-06-12 13:31:59 -04:00
Felix Boucher
99f246016d cmake : fix output directory for windows builds
The output directory for windows builds currently matches either Release
or Beta. This does not work as Beta is only a build option, not a build
type. Changes :

- Change build output directory to match the cmake build type (Release
or Debug)
- Change Beta output path references to Release

Change-Id: Ib513f177d93e3c9fb529e00aa160443ac2e804b5
2025-06-12 13:31:54 -04:00
Félix Boucher
93d3d18c7b ci: change apt mirror to http://gpl.savoirfairelinux.net
Change-Id: I88c130e91bb719b7b5479b4d9d5b4b4262ea6bed
2025-05-29 14:35:52 -04:00
François-Simon Fauteux-Chapleau
d4b7891f48 packaging: fix Qt build on AlmaLinux
Qt 6.6.3 doesn't build on AlmaLinux when using the latest available
version of the clang-devel and llvm-devel packages. Going back to an
earlier version fixes the issue.

GitLab: #2051
Change-Id: Ie78699197a129cc8804d073085e53cae525c9281
2025-05-27 11:20:54 -04:00
François-Simon Fauteux-Chapleau
e9106b2bcc packaging: fix build error for snap dockerfile
The Python installation fix in the Dockerfile is obsolete and now causes
the build to fail due to a reference to a directory that no longer
exists.

GitLab: #2019
Change-Id: I5cc9c8c26761e16af41616c02326a8522c00b10d
2025-05-22 13:45:18 -04:00
François-Simon Fauteux-Chapleau
ca05963c40 packaging: fix linking error on Debian unstable
There is no longer a reason to downgrade GCC now that 14.2.0 is the
default version on Debian unstable, and doing so started causing linking
errors recently due to some system libraries (such as libyaml-cpp.so)
requiring a more recent version of libc than the one used when compiling
with GCC 12.

GitLab: #2018
Change-Id: I19879541c4182886bcd3af5e84f0ba0d237345b6
2025-05-15 17:00:28 -04:00
François-Simon Fauteux-Chapleau
91780ae400 packaging: remove obsolete build option
The --enable-gnutls option was added to the bootstrap command on
Debian-based distributions in jami-project commit 46bdda4 in 2017,
because at the time they built GnuTLS without HeartBeat support. This is
no longer true on the more modern versions of Debian and Ubuntu that we
currently support.

GitLab: #1998
Change-Id: I593682e0f8aeb2015a109980840f373b1306670a
2025-05-15 14:28:07 -04:00
Felix Boucher
0f965aae28 control: fix removed packages on debian installer (linuxmint)
The debian installer requires libavcodec60 as a dependency, which is
already included in linuxmint through libavcodec-extra60, creating a
package conflict.
Changes to fix this :
- also accept libavcodec-extra as a dependency as it includes libavcodec

GitLab: #1937
Change-Id: Ia3ab39e6d8bd233414c607ab70fd70af629595b0
2025-05-14 11:30:28 -04:00
François-Simon Fauteux-Chapleau
32b7525ee3 packaging: add missing submodule
The Hunspell library was added to the project as a git submodule in
commit 2a72da5, but some packaging scripts were not updated accordingly.

GitLab: #1997
Change-Id: I5e6079fc23aeecfba2076067ecf5c4ed1f5a591a
2025-05-09 21:23:13 -04:00
François-Simon Fauteux-Chapleau
88d0539085 packaging: add Fedora 42
Change-Id: Ia03ae84d8ae435dd4e24fc1d0d64a9c70580e768
2025-05-08 14:16:55 -04:00
François-Simon Fauteux-Chapleau
def2e19abe packaging: stop using dpkg-sig
The dpkg-sig tool appears to no longer be maintained and, as far as I
can tell, was never actually used by Debian or Ubuntu to verify the
integrity of packages. Both distributions no longer include the dpkg-sig
package in their newest releases [1, 2].

[1] https://tracker.debian.org/pkg/dpkg-sig
[2] https://manpages.ubuntu.com/manpages/jammy/en/man1/dpkg-sig.1.html

Change-Id: I356ff7eafb340a49622cc37899dad7ef84dbd100
2025-04-24 11:35:52 -04:00
François-Simon Fauteux-Chapleau
69430c4af3 packaging: fix Qt build on Debian testing
Change-Id: I798cdcf297ac3c0b448b4f61e192edd177e7fcbf
2025-04-24 10:13:21 -04:00
François-Simon Fauteux-Chapleau
f8bafd4154 packaging: remove Fedora 37 and 38 (EOL)
Change-Id: I8d25303236781cad8f97b2f6f35ee159d814cdb6
2025-04-22 13:39:48 -04:00
François-Simon Fauteux-Chapleau
b8b06ccfa1 packaging: remove openSUSE Leap 15.4 (EOL)
Change-Id: I7d4dac8a9a8463e402b4eaff501bbab4fb368661
2025-04-21 10:30:45 -04:00
François-Simon Fauteux-Chapleau
6cb5a8206a packaging: add openSUSE Leap 15.6
Change-Id: Iacd096705f8e88bc886715d04a378e66c4042ede
2025-04-21 10:30:37 -04:00
François-Simon Fauteux-Chapleau
ae1a2462e2 packaging: add Ubuntu 25.04
Change-Id: I19a0d3e5de48a4e85822d5fcd00f83af0da16e1a
2025-04-18 11:16:41 -04:00
François-Simon Fauteux-Chapleau
c91bff35b6 QWK: fix build issue on Debian/Ubuntu
This commit adds a patch for QWindowKit to ensure that it always
installs its dependency QMSetup in a directory where CMake will be able
to find it. This makes the previous QWindowKit patch unnecessary and
fixes a build issue when packaging Jami on Debian and Ubuntu that
started occurring when QWindowKit was updated in commit 6b70ffc.

GitLab: #1976
Change-Id: I5f23fcbb612aa6d0eb0e77e9a5a006b24a5af082
2025-04-03 09:29:45 -04:00
Kateryna Kostiuk
76417edfa4 build: update macOS dependencies
- Enable building natpmp
- Disable building freetype

Change-Id: Iba6c311dff4fb175efbe16cc1f82e51355f5d25e
2025-03-17 12:31:05 -05:00
François-Simon Fauteux-Chapleau
407561732f packaging: add missing submodule
The ZXing-C++ library was recently added to the project as a git
submodule, but some of the packaging scripts were not updated
accordingly.

GitLab: #1947
Change-Id: Ic5324bd807e30bec44c0e07076b1f38903e12895
2025-03-12 15:38:07 -04:00
Andreas Traczyk
fe4c63b775 contrib: Windows: bump openssl to 3.4.0
https: //git.jami.net/savoirfairelinux/jami-daemon/-/issues/1108
Change-Id: I689f2e4ac3fef152bcafd89e125f97b948627b8f
2025-02-26 11:26:36 -05:00
ovari123
5540001e7a copyright: happy new year!
Cf. https://review.jami.net/c/jami-daemon/+/29901

Change-Id: I46a0d1297c2e60ca43dc5524fd6e8a192bc45139
2025-02-12 09:47:26 -05:00
Andreas Traczyk
6b142cd374 build: Windows: add a parameter to supply the crash report URL
This commit adds a parameter to the Windows-specific build script to
supply the crash report URL.

Gitlab: #1454
Change-Id: I9f131354c3e9041d068e399fd432c3f6c8325f51
2025-02-03 15:03:17 -05:00
Andreas Traczyk
7acf48d919 build: crash-reporting: add scripting option to enable crash reporting
Gitlab: #1454
Change-Id: I51fdc2af15c7cdd6469dd817b6a4ad89e45bab1c
2025-01-30 17:14:46 -05:00
François-Simon Fauteux-Chapleau
70c64a5947 snap: fix build error
GitLab: #1910
Change-Id: I89f63546fcc360ac35b767f0087640c550fa44fb
2025-01-22 13:08:39 -04:00
François-Simon Fauteux-Chapleau
ca74c961ef packaging: remove Ubuntu 23.10 (EOL)
Support for Ubuntu 23.10 ended in July 2024.

Change-Id: I5ba01081c00711d2852236e12d978073f5447b6b
2025-01-22 10:51:42 -05:00
Andreas Traczyk
4152700848 crash-reporting: improve submission services
Provide general improvements to the crash reporting submission services
by adding a separate report access server with a simple UI and updating
the crashpad submission server to use waitress.

- changes crashpad.py to crashpad_submit_server.py
- adds report_access_server.py
- updates README.md

Gitlab: #1454
Change-Id: I4e97f77cf2e2c0bb405064b0187ed3dfc2ee703e
2025-01-14 16:25:16 -05:00
Andreas Traczyk
529b7cf529 troubleshooting: add configurable crash reporting with crashpad
This commit adds a basic crash-report system that can be optionally
configured to automatically send minidump crash-reports in addition
to product versions and a platform description including the OS
name and CPU architecture. Reports can be received at a configured
REST endpoint(POST). This endpoint URL can be configured using
a CMake variable `CRASH_REPORT_URL` which defaults to
"http://localhost:8080/submit".

- Introduces a new CMake option `ENABLE_CRASHREPORTS`, defaulting
  to OFF. This allows developers to enable crash reporting features
  at build time selectively. We also define a new macro with the
  same name to expose the state to QML in order to hide the UI
  components if needed.

- Implemented conditional inclusion of crashpad dependencies using
  `ENABLE_CRASHREPORTS`. If set, `ENABLE_CRASHPAD` is also enabled
  (other crash reporters exist and we may want to use them).

- 2 new application settings are added: `EnableCrashReporting` and
  `EnableAutomaticCrashReporting`. Default settings make it so
  crash-reports are generated but not automatically sent. With this
  default configuration, users will be prompted upon application
  start to confirm the report upload. Additionally, users may
  opt-in in order to have reports sent automatically at crash-time.

Gitlab: #1454
Change-Id: I53edab2dae210240a99272479381695fce1e221b
2025-01-13 15:56:11 -05:00
François-Simon Fauteux-Chapleau
49d83fd937 packaging: fix AppStream issues
The AppStream specification includes both a "metainfo" file format,
which can be used (among other things) to provide metadata about a
specific application, as well as a "catalog" file format used to provide
information about the contents of a repository. This patch adds a
"catalog" file for the Jami repos, which seems to be necessary in order
for some graphical package management applications to be able to launch
or uninstall Jami. In particular, this was an issue with GNOME Software
on all the rpm-based distributions supported by Jami (Fedora, openSUSE,
AlmaLinux).

This patch also fixes a few minor noncompliance issues with the existing
metainfo and .desktop files:

- the metainfo and .desktop files were renamed so that the names'
  prefixes match the application's ID as defined by the <id> tag in the
  metainfo file (in our case "net.jami.Jami") [1];

- the <br/> tags in the metainfo file were removed (they are not
  supported -- metainfo files only allow a very limited number of tags,
  not arbitrary html [2]); the list (<ul>) and list item (<li>) tags are
  now used instead;

- the invalid categories "Communication" and "Productivity" were removed
  [3, 4].

[1] https://docs.fedoraproject.org/en-US/packaging-guidelines/AppData/
[2] https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-description
[3] https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-categories
[4] https://specifications.freedesktop.org/menu-spec/latest/category-registry.html

GitLab: #1842
Change-Id: I4a8bab79b6e54d02c08f509d7a9196a0a2e1541e
2025-01-10 15:32:41 -05:00
ovari123
53a3d32114 cleanup
→
base 64 → Base64
cancelled → canceled
{cannot, can't, couldn't} → unable to
inexistent → nonexistent
informations → information
not possible → impossible
retrieven → retrieved
SIP
try → attempt
URI
WebEngine
wish → want

Can this replace https://review.jami.net/c/jami-client-qt/+/27607 ?

Change-Id: I21e1615a0c6e2979f02f913093c503c03ab32c82
2025-01-02 12:29:20 -05:00
ovari123
9a0ed9995e homogenize appdata
Android client
full_description.txt

Qt client
jami.appdata.xml
snapcraft.yaml

Change-Id: I4e6e9b7c24ecf51fc6723fcb54f94f61b1950a8f
GitLab: #1730
2024-12-18 13:35:32 -05:00
Kateryna Kostiuk
b69d703e56 macOS: fix qrencode build
Sometimes qrencode failed when built from Jenkins.
This patch:
- Uses cmake for build.
- Automatically detect host architecture if none is specified.

Change-Id: I18dc90099e3b9efc531c7887b00fc615f69c50fa
2024-12-02 14:18:13 -05:00
ovari123
b6aa9eedfa misc: update jami.appdata.xml
<image> tag must be before <caption> tag
To translate <description>, tag must include xml:lang
Update URL addresses
Update description to include extensions, JAMS etc

GitLab: #1262

Change-Id: I8b313a02b119f5ddeaa2b9d760cac7ac5c147b7a
2024-11-01 15:14:02 -04:00
François-Simon Fauteux-Chapleau
5e4556f786 snap: fix build error
GitLab: #1862
Change-Id: If7f13cc16c02d823dd98af84007b24a829579262
2024-10-22 13:35:30 -04:00
François-Simon Fauteux-Chapleau
d86a90207a packaging: add Fedora 41
Change-Id: I2baeaecd66af8e4a9e64072e85b5e5ca35c240ad
2024-10-18 16:56:12 -04:00
François-Simon Fauteux-Chapleau
7b298deee8 packaging: fix Qt build on Fedora 40
GitLab: #1858
Change-Id: Ib0cfa7a1c458faecdb9c82359c182d4debadc6ab
2024-10-18 16:56:02 -04:00
François-Simon Fauteux-Chapleau
056cf14613 packaging: add Ubuntu 24.10
Change-Id: I8d176e7e2a72e8185442ea81c9c943e6ab5fb912
2024-10-17 10:00:13 -04:00