- May 25, 2021
-
-
Maxim Cournoyer authored
Seeing which commands are executed during the build is useful to debug when something goes wrong. Change-Id: I2acec49b519c9070fbfa2d18d14e2b459c9bc76f
-
Maxim Cournoyer authored
The CMake flags list is now built dynamically, allowing to share the common flags between the clients and the conditional branches. Quote more arguments as reported by 'shellcheck'. Change-Id: I0cd845ec733fb8389c4cd9bd74455ba86a602fee
-
Maxim Cournoyer authored
Running autogen.sh invalidates the build artifacts, causing them to be rebuilt every time the 'install' action is invoked, which is wasteful. Only invoke autogen.sh when the configure script is missing. Change-Id: Ib92b3d14e9f44f465f467ee0948fe3fceb5d3bea
-
Maxim Cournoyer authored
This hastens the build when using the ./build.py script. The debug symbols are now also kept for the built contribs when the --debug option is provided along --install. Change-Id: Ia5a68456213e8984f5ac8f050131356b324d9777
-
Maxim Cournoyer authored
Instead, use Bash from PATH. This approach works more reliably on distributions not strictly adhering to the File Hierarchy Standard (FHS) such as Guix System or NixOS. Change-Id: Ic7b168d0f4d73f3a1cb1085e9a84600a25d153c5
-
Maxim Cournoyer authored
While it's not possible to automatically check and configure the dependencies for unknown/unsupported distributions, build.py still provides a convenient experience to checkout the sources and install Jami locally. In this mode of operation, the user is expected to configure their environment by their own means. * build.py: Rename Ring to Jami in the document string. Remove unused 'signal' import. (choose_distribution): Do not crash when the '/etc/os-release' does not exist; return 'Unknown' instead. (validate_args): Allow disabling the distribution check when the user provides 'no-check' as the value of the --distribution argument, or defines the JAMI_BUILD_NO_CHECK environment variable. Update the help documentation. * scripts/install.sh (priv_install): Document the arguments. Change-Id: I41ba2da05771feb6e3f9bc7c087206596063ba81
-
Maxim Cournoyer authored
AFAICT, this was made to clear some supposedly non-redistributable files in the sources according to Debian policy. If there's some cleanup to do, we should do so at the level of the common source tarball, not in a Debian-specific way. * packaging/rules/debian/rules (override_dh_auto_configure): Remove code repacking tarballs. (override_dh_clean, get-orig-source): Remove. * packaging/rules/debian/copyright (Files-Excluded): Remove. Also streamline the listing of copyrights to the files part of our tree, not in bundled libraries. Debian-specific requirements can stay in the Debian-maintained corresponding packages. * scripts/build-package-debian.sh: Streamline, making the release tarball the sole input of the process. Do not build source packages, for simplicity (dpkg-source doesn't like our source tarball as-is). Change-Id: I78a482ab3362e9bba8ffdc0ab60324f94715bfb8
-
- May 21, 2021
-
-
Maxim Cournoyer authored
This further reduces the targets set to what the CI currently uses. The native ARM (armhf, aarch64) builds are dropped as we are not equipped in terms of native hardware to build them and QEMU user emulation is too slow. The remaining i386 builds are removed as they are not used by the CI and have or are being phased out by their upstreams. * scripts/make-packaging-target.py (DPKG_BASED_SYSTEMS_DOCKER_RUN_OPTIONS): New variable. [debian_10]: Use it. [debian_10_i386, debian_10_armhf, debian_10_arm64] [ubuntu_18.04_i386, ubuntu_18.04_qt_i386]: Delete targets. [rhel_8]: Comment out target for now. [debian_testing]: Use the above variable. [ubuntu_20.04, ubuntu_20.10, ubuntu_21.04]: Likewise. * docker/Dockerfile_debian_10_arm64: Delete file. * docker/Dockerfile_debian_10_armhf: Likewise. * docker/Dockerfile_debian_10_i386: Likewise. * docker/Dockerfile_ubuntu_18.04_i386: Likewise. * docker/Dockerfile_ubuntu_18.04_qt_i386: Likewise. Change-Id: Iabb840e7f9a2111afe822e2c05797a651d55e21d
-
Maxim Cournoyer authored
This variable is set on the CI; it's nice to have it default to something rather than fail. * scripts/make-packaging-target.py (run_generate_all): Expand SNAP_PKG_NAME to 'jami' if unset or null. Change-Id: Iacc6edd62388c0e803928863e6e53ddd7314379a
-
- May 13, 2021
-
-
Amin Bandali authored
Change-Id: I518d45903ec29cb6afc04916b03750cb3653d44a
-
- May 12, 2021
-
-
Sébastien Blin authored
Change-Id: I6d8dd00c16fe4f22e4451c4fe040637d2b67c3f5
-
Change-Id: I33f13231006e568a8de9b0e067db4aaf6f15739c
-
- May 04, 2021
-
-
Sébastien Blin authored
Change-Id: Iaf5f84533e2eb6d7efc9f52b1aab3846152d9ae8
-
This makes the current 'jami-all' package the one used for the one-click install package. * packaging/rules/debian/rules (OCI_INSTALL_DIR): New variable. (override_dh_auto_install): Extend rule to install the files of the jami-libqt package. Do not include the jami-gnome in jami-all. * packaging/rules/debian/control (jami-all): Update description. * packaging/rules/debian-one-click-install: Delete directory. * packaging/rules/debian-one-click-install/jami-all.postinst: Move to ... * packaging/rules/debian/jami-all.postinst: ... here. * scripts/make-packaging-target.py: Remove all OCI-specific targets. * scripts/deploy-packages.sh (package_deb) [jami-all]: Do not add package to the apt repository. [manual-download]: Look for the jami-all package from the main distribution directory, not in a '_oci' suffixed version. GitLab: jami-client-qt#263 Change-Id: I4cacf26355c767d1c77b1ce478b184023481b674
-
- May 01, 2021
-
-
Maxim Cournoyer authored
This is a follow-up to commit 47b1b0151d6c3703ee25c0050cd2031ab7edae4c, which removed it from the make-packaging-target.py script. * docker/Dockerfile_debian_10: Remove support code for OVERRIDE_PACKAGING_DIR. * docker/Dockerfile_debian_10_arm64: Likewise. * docker/Dockerfile_debian_10_armhf: Likewise. * docker/Dockerfile_debian_10_i386: Likewise. * docker/Dockerfile_debian_10_qt: Likewise. * docker/Dockerfile_ubuntu_18.04: Likewise. * docker/Dockerfile_ubuntu_18.04_i386: Likewise. * docker/Dockerfile_ubuntu_18.04_qt: Likewise. * docker/Dockerfile_ubuntu_18.04_qt_i386: Likewise. * docker/Dockerfile_ubuntu_20.04: Likewise. * docker/Dockerfile_ubuntu_20.04_qt: Likewise. * docker/Dockerfile_ubuntu_20.10: Likewise. * docker/Dockerfile_ubuntu_20.10_qt: Likewise. * scripts/build-package-debian-qt.sh: Likewise. * scripts/build-package-debian.sh: Likewise. Change-Id: Ia15961fe1ccc05222d43da2bdded819f95315aae
-
* scripts/deploy-packages.sh: Use /usr/bin/env as the shebang as it is more susceptible to work on all systems (e.g. Guix System). Fix typo in header comment. (package_deb) [qt]: Use a Bash regexp test and an if instead of a case. Change-Id: Ifa986ddb3bcbea8bacc6af8e510dc64b938588f4
-
Via: sed 's/REPOSITOIRY/REPOSITORY/g'. scripts/deploy-packages.sh Change-Id: I875ce951e7696f8778acea80b994e95435990f85
-
These are no longer supported by the script and cause errors. * scripts/make-packaging-target.py (run_generate_all) [debian_packaging_override]: Remove arguments. Change-Id: I5211a8f6e67cd52e1e1a136acf1e58fbe37ec76b
-
Also remove unused DEBIAN_PACKAGING_OVERRIDE. Change-Id: Ida109a811bebd1fb46fd1a8b90fb5463518382c0
-
Change-Id: I983607f226476c32a6862a41b55ca1b13a2c010b
-
- Apr 30, 2021
-
-
Change-Id: Ied0febeca35f3d39724401669427bdfecc8f093c
-
Change-Id: Ib3e5a459f907928882bd9be4427fafe75f053080
-
also de-duplicate code Change-Id: I3ea9fedec5b4520e74489f3f4e03a533130d9e83
-
Maxim Cournoyer authored
A new spec file is added, and the Fedora Docker images are augmented with the required Qt dependencies. The client-qt submodule is now also included in the release tarball. GitLab: #264 Change-Id: I2f25fdc3270a7fed13b9b0714d01feb37f270077
-
Maxim Cournoyer authored
Tackle the growing complexity of the packaging by splitting the problem into smaller parts. This change makes the daemon its own package, along the client library and the GNOME client. The build script is updated to reflect these changes, and unused/obsolete spec files are removed from the project. GitLab: #264 Change-Id: I5813e48e0c1248875a7a8f0ee1ec6fb2b87faef4
-
- Apr 19, 2021
-
-
Sébastien Blin authored
Change-Id: Id24a6a8b2db26842a16e9ad4bbdbb0c30447bb96
-
Sébastien Blin authored
Change-Id: I555c843f33e77f061176835436d654eb13b95108
-
Sébastien Blin authored
Change-Id: Id3d8272605b6a7e146310f4d23ed63efa6244050
-
Andreas Traczyk authored
This reverts commit 989c02ff. Reason for revert: <INSERT REASONING HERE> Change-Id: Iee780ebc0f4da6181e5c50c2ab04017b457c35a4
-
Sébastien Blin authored
Change-Id: I0636da7d2b26eb75a6f8f3a37a2c92f1fd05fdfd
-
- Apr 17, 2021
-
-
Andreas Traczyk authored
This reverts commit 39b9be76. Reason for revert: <INSERT REASONING HERE> Change-Id: I1f1f7d992559ec6b3da28b8dea2ceb8819999bd2
-
- Apr 12, 2021
-
-
Ming Rui Zhang authored
Change-Id: I8a5b91fe6955831874e430b5a4fef0fd2db450ab
-
- Mar 17, 2021
-
-
Maxim Cournoyer authored
Give it a better name, that will allow passing any extra arguments required at 'docker build' time. Also factorize the common docker run options string for the various RPM-based systems. GitLab: #264 Change-Id: I71d81d8dc7639091dfba7b52e2f6f9dd98003914
-
- Mar 02, 2021
-
-
Maxim Cournoyer authored
This is a follow up commit to 350f7a55, which removed the gentoo packaging target due to it being unmaintained. Change-Id: Ib6dbbdad4b88fd8ec9a8896e25b9ad4892b59737
-
For apt-based systems, a 'ring' distribution is kept along the new 'jami' one to keep supporting existing users until April 2024. GitLab: jami-packaging#3 Change-Id: Ie589175e6abff8e4b1b252dff7eade4729d46a62
-
- Mar 01, 2021
-
-
Maxim Cournoyer authored
Also break some very long lines to improve readability. Change-Id: I5ad936d4c2a6b0a5bb44e32366ee14da85fb1e06
-
- Feb 26, 2021
-
-
Maxim Cournoyer authored
It was recording the Jenkins build workspace, which cannot be useful: root@jami-repovm-01:/srv/repository/ring/nightly# find -name options -exec cat {} + basedir /var/lib/jenkins/workspace/packaging-deploy-gnulinux-generic@2/ring-project/repositories/ubuntu_20.10 basedir /var/lib/jenkins/workspace/packaging-deploy-gnulinux-generic@6/ring-project/repositories/debian_9 basedir /var/lib/jenkins/workspace/packaging-deploy-gnulinux-generic@2/ring-project/repositories/ubuntu_17.04 basedir /var/lib/jenkins/workspace/packaging-deploy-gnulinux-generic@5/ring-project/repositories/ubuntu_20.04 basedir /var/lib/jenkins/workspace/packaging-deploy-gnulinux-generic@4/ring-project/repositories/ubuntu_16.04 basedir /var/lib/jenkins/workspace/packaging-deploy-gnulinux-generic@2/ring-project/repositories/ubuntu_17.10 basedir /var/lib/jenkins/workspace/packaging-deploy-gnulinux-generic@6/ring-project/repositories/raspbian_10 basedir /var/lib/jenkins/workspace/packaging-deploy-gnulinux-generic/ring-project/repositories/ubuntu_19.04 basedir /var/lib/jenkins/workspace/packaging-deploy-gnulinux-generic/ring-project/repositories/ubuntu_18.04 basedir /var/lib/jenkins/workspace/packaging-deploy-gnulinux-generic@4/ring-project/repositories/ubuntu_18.10 basedir /var/lib/jenkins/workspace/packaging-deploy-gnulinux-generic@4/ring-project/repositories/debian_10 basedir /var/lib/jenkins/workspace/packaging-deploy-gnulinux-generic/ring-project/repositories/ubuntu_19.10 Change-Id: I3b50d78c8b2c084e2e510f5b37958762db9ff185
-
Maxim Cournoyer authored
Repeating N times the same docstring hampers readability. Output it once as the generated file header. Change-Id: Id5ae8caa35f478919a2233754b17db15a29e2cd0
-
Maxim Cournoyer authored
This hack is no longer necessary. The Jenkins nodes are running Docker 19. Change-Id: I8e41e1295a49ebe48b2fca9fa6c91158f49f16c9
-
Maxim Cournoyer authored
Debian 9 packaging is removed as well, not because it is EOL, but because it doesn't have the runtime required to run Jami (the daemon requires C++17 but GCC 6 in Debian stretch doesn't support it). A 'list-package-targets' Make target is also added; it'll be used by the CI. Change-Id: I87a26b14ea48bd17ebccb536f23a5f2637f28743
-