Skip to content
Snippets Groups Projects
  1. Sep 02, 2021
  2. Sep 01, 2021
  3. Aug 25, 2021
  4. Aug 21, 2021
    • Maxim Cournoyer's avatar
      Makefile: Repatriate the definition of packaging targets. · 004fda67
      Maxim Cournoyer authored and Amin Bandali's avatar Amin Bandali committed
      Prior to this change, the Makefile packaging targets were generated by
      a Python script, supposedly to reduce boilerplate.  Make is able to
      programmatically define rules, so use its features instead.
      
      The packaging targets 'package-' prefix is dropped, making the targets
      names match the distribution directly, such as 'ubuntu_20.04'.
      
      The docker *-ro bind mounts are dropped; instead only the release
      tarball file name is exposed to the containers as *the* source, which
      makes it unambiguous as to which sources are used.
      
      The files related to RHEL builds are removed, as the RHEL build is
      known to be broken and isn't being used.
      
      * Makefile (DISTRIBUTIONS): New variable.
      (make-docker-package-target): New function.
      (docker/Dockerfile-snap): Adjust accordingly.
      docker/*: Standardize to use hyphens instead of a mix of hyphens and
      underscores.
      * docker/Dockerfile_rhel_8: Delete file.
      * docker/profile-seccomp-fedora_28.json: Delete file.
      * scripts/make-packaging-target.py: Delete file.
      * Jenkinsfile: Adjust accordingly.
      
      Change-Id: I2dc42b489a54b177ad038398a9d23a2a7e3007ec
      004fda67
  5. Aug 20, 2021
  6. Aug 19, 2021
  7. Aug 16, 2021
  8. Aug 09, 2021
  9. Jul 30, 2021
    • Maxim Cournoyer's avatar
      scripts: deploy: Upgrade to newer createrepo_c. · c2194e4c
      Maxim Cournoyer authored
      The old 'createrepo' has been deprecated and is no longer offered in
      current distributions.  Its replacement should be mostly backward
      compatible.
      
      * scripts/deploy-packages.sh: List requirements.
      (enabled)<createrepo>: Adjust to use createrepo_c'.
      
      Change-Id: Ie3e658dd1ea685558b07d6c9b969be7ad3a98050
      c2194e4c
  10. Jul 23, 2021
  11. Jul 14, 2021
  12. Jul 13, 2021
  13. Jul 06, 2021
    • Maxim Cournoyer's avatar
      Makefile: Make the tarball release reproducible. · 09a5cd14
      Maxim Cournoyer authored
      * Makefile (TAR_REPRODUCIBILITY_OPTIONS): New variable.
      $(RELEASE_TARBALL_FILENAME): Invoke tar with the above options.
      Invoke gzip with '--no-name', to prevent keeping the file name and
      time stamp.
      
      Change-Id: I64cac307c69cbfbdb7132b1f567f1c3f18baad8c
      Unverified
      09a5cd14
  14. Jun 30, 2021
  15. Jun 29, 2021
    • Maxim Cournoyer's avatar
      packaging: Adjust following the relocation of the ringtones. · 15dd42ec
      Maxim Cournoyer authored
      This is a follow up to the f0fb8148ba7f453d73e31e1cece2dcffae68e878
      commit (Use the PROGSHAREDIR macro to refer to the custom datadir) in
      the daemon, that moved the ringtones from a hard-coded location of
      /usr/share/ring/ringtones to $datadir/jami/ringtones.
      
      * packaging/rules/rpm/jami-daemon.spec (%files): Adjust accordingly.
      * scripts/install.sh (client_cmake_flags) <DRINGTONE_DIR>: Likewise.
      
      Change-Id: Ia9d3403f5600a4ab4eefe28ee20611afc3f5e8b0
      Unverified
      15dd42ec
    • Maxim Cournoyer's avatar
      packaging: Adjust for the 'dring' command renaming. · 5c3c23d5
      Maxim Cournoyer authored
      * build.py (run_run) <dring>: Adjust file name.
      * packaging/rules/rpm/jami-daemon.spec (%install): Likewise.
      
      Change-Id: Iedc4e0803bda19d139b29a4ccc669dcc8cc3fb9f
      Unverified
      5c3c23d5
  16. Jun 28, 2021
    • Maxim Cournoyer's avatar
      Jenkinsfile: Partial deployment, follow up. · 27be9f50
      Maxim Cournoyer authored
      This is a follow up to commit 4ee93922, which introduced partial
      deployments.
      
      The unstash operation also needs to be handled specially, as it may
      now fail attempting to unstash an item that could not be stashed
      previously.
      
      * Jenkinsfile ('Sign & deploy packages'): Skip target deployment when
      it fails to be unstashed.
      
      Change-Id: I59341e4c3bb007125402f4b28979d0e8e963757d
      Unverified
      27be9f50
    • Maxim Cournoyer's avatar
      guix: manifest: Add libgit2. · a9ae457f
      Maxim Cournoyer authored
      Change-Id: I98725b2669b357fb86dc653cb7d7ead6f34cb355
      Unverified
      a9ae457f
    • Maxim Cournoyer's avatar
      packaging: Normalize debian/rules indentation. · 7be07615
      Maxim Cournoyer authored
      This change normalizes the hanging indent to 2 spaces.
      
      Change-Id: I98bd6919eae547b946af2c59a14cbee96ee50a9d
      Unverified
      7be07615
    • Maxim Cournoyer's avatar
      docker: Allow interrupting packaging jobs with C-c. · 420b205d
      Maxim Cournoyer authored
      Use the recommended exec syntax for the CMD directive in the
      Dockerfiles, which invokes the command directly rather than through an
      intermediate shell.  Also provide the -i option, but conditionally as
      Docker checks if there is a real TTY to connect to, which is not the
      case in Jenkins.
      
      * scripts/make-packaging-target.py (PACKAGE_*_DOCKER_RUN_COMMAND)
      [IS_SHELL_INTERACTIVE]: Conditionally provide the '-i' option.
      (package-*-interactive) <DOCKER_EXTRA_ARGS>: Remove target-specific variable.
      (DOCKER_EXTRA_ARGS): Move/rename variable to ...
      * Makefile (DOCKER_RUN_EXTRA_ARGS): ... here/this.
      (IS_SHELL_INTERACTIVE): New variable.
      
      The rest of this change was automated using the command:
      
        $ git grep -l CMD | xargs sed -i -E 's,CMD (.*)$,CMD ["\1"],g'
      
      Change-Id: I93ba9ad8115541a7c7f02421384ae01a5b0650ad
      Unverified
      420b205d
    • Maxim Cournoyer's avatar
      docker: Only copy the control files in the container. · 6f86ab42
      Maxim Cournoyer authored
      This avoids invalidating the cache when changing the rules file of the
      packages, for example.
      
      Automated via:
      
        $ git ls-files | grep Dockerfile | xargs sed -i 's,packaging/rules/debian-qt/\* /tmp/builddeps/debian/,packaging/rules/debian-qt/control /tmp/builddeps/debian/control,g'
        $ $ git ls-files | grep Dockerfile | xargs sed -i 's,packaging/rules/debian/\* /tmp/builddeps/debian/,packaging/rules/debian/control /tmp/builddeps/debian/control,g'
      
      Change-Id: Ic33d7af4c022ed9de53df245c861a31d2786fc96
      Unverified
      6f86ab42
    • Maxim Cournoyer's avatar
      packaging: Limit the number of parallel jobs when building Qt. · 78c6b88a
      Maxim Cournoyer authored
      Workaround <https://bugreports.qt.io/browse/QTBUG-94800>.
      
      This is to avoid out of memory conditions during the build, which
      requires up to about 2 GiB of memory per parallel process.  There was
      also a problem with how the MAKEFLAGS was passed, which led
      qtwebengine to be built using all the CPU cores even when specifying a
      lesser NO_CPUS value.
      
      * packaging/rules/debian-qt/rules (min, max): New functions.
      (NO_CPUS): Express in terms of max.
      (AVAILABLE_MEMORY, MEMORY_REQUIRED_PER_CORE, COMPUTED_JOB_COUNT)
      (JOB_COUNT, MAX_PARALLEL_BUILDS): New variables.
      (override_dh_auto_build): Override to manually control job count.
      Specify NINJAFLAGS for the Chromium build.
      * packaging/rules/rpm/jami-libqt.spec (min, max, cpu_count)
      (available_memory, computed_job_count, job_count): New macros.
      (%build): Re-indent and use the above 'job_count' variable as
      the number of parallel jobs.
      (%install): Likewise.
      
      Change-Id: I9134c1e63e92104a1da8435670e2919ce692040c
      Unverified
      78c6b88a
    • Maxim Cournoyer's avatar
      build-package-rpm: Cache Qt tarball. · 3725c504
      Maxim Cournoyer authored
      Also make the script more readable by factoring out variables to avoid
      repeating ourselves.
      
      Change-Id: I30e85fb7b0a1207a8eff3a89d8c7ab4f455e0c4a
      Unverified
      3725c504
    • Maxim Cournoyer's avatar
      packaging: Do not install a ring.cx symbolic link. · f236d5f6
      Maxim Cournoyer authored
      Change-Id: Ib5ad6c091560f7fc4ee9734ca283e78c90d9d769
      Unverified
      f236d5f6
    • Maxim Cournoyer's avatar
      packaging: Deploy the Ubuntu debug symbol packages. · c9803565
      Maxim Cournoyer authored
      * scripts/build-package-debian.sh: Revert glob pattern to *deb and add comment.
      * scripts/deploy-packages.sh (package_deb): Rename .ddeb to .deb.
      
      Change-Id: I46bd9855bec451102a5ef5046f9ac52b161559c5
      Unverified
      c9803565
  17. Jun 25, 2021
  18. Jun 09, 2021
Loading