Skip to content
Snippets Groups Projects
  1. Oct 22, 2021
    • Maxim Cournoyer's avatar
      Jenkinsfile: Fix deploy step. · 873c35ff
      Maxim Cournoyer authored
      A variable had not been renamed properly, causing an unbound variable
      exception to be thrown.
      
      * Jenkinsfile ('Sign & deploy packages') <target>: Rename variable to ...
      <distribution> in the later loop.
      
      Change-Id: I6c92b3249b537a91cec58438bfbcf8780043d74e
      Unverified
      873c35ff
    • Maxim Cournoyer's avatar
      packaging: Add the deb-pack-x86_64 and deb-pack-i686 targets. · 977919b9
      Maxim Cournoyer authored
      The deb-pack targets build a Guix pack of the jami-qt client in the
      .deb format, ready to be installed on any dpkg-based GNU/Linux
      distribution.
      
      * Makefile (RELEASE_VERSION, RELEASE_TARBALL_FILENAME): Export
      variables.
      (has-guix-p): New target, to be used as a predicate.
      (portable-release-tarball): Rewrite in terms of the above.
      (SUPPORTED_GNU_ARCHS, DEB_PACKS, DEB_PACK_TARGETS): New variables.
      (guix-pack-command, define-deb-pack-rule): Likewise.
      (deb-pack-x86_64, deb-pack-i686): New targets.
      (PACKAGE-TARGETS): Register them.
      * guix/guix-pack-manifest.scm: New file.
      * guix/guix-pack-deb.postinst: Likewise.
      * guix/manifest.scm: Specify qtbase to be at version 5, as Guix now
      has version 6 too.
      * packaging/rules/debian/jami-all.postinst: Harmonize.
      * scripts/deploy-packages.sh (package): Simplify and register the
      'guix-deb-pack' distribution.
      * Jenkinsfile (Sign & deploy packages): Simplify to deploy all the
      packages subdirectories.  This makes it easier to handle multi-arch
      packages for the same distribution, and removes the need to encode the
      distribution information in the target name.
      
      Change-Id: Id6f69e7a5872a39b4b8f50fa09c8ec3475e9c896
      Unverified
      977919b9
  2. Oct 20, 2021
  3. Oct 12, 2021
  4. Sep 30, 2021
  5. Sep 29, 2021
  6. Sep 28, 2021
  7. Sep 24, 2021
    • Maxim Cournoyer's avatar
      Build jami-libclient (LRC) with libwrap enabled. · 6096e314
      Maxim Cournoyer authored and Sébastien Blin's avatar Sébastien Blin committed
      * packaging/rules/debian/rules (override_dh_auto_configure): Move
      recipes to ...
      (override_dh_auto_configure_build): ... here.  This is necessary as
      the LRC now must find the share library of the daemon, hence it must
      be built before the LRC configuration occurs.
      <-DENABLE_LIBWRAP=true>: New option when configuring the LRC.
      * packaging/rules/rpm/jami-libclient.spec (%build): Likewise.
      * scripts/install.sh (lrc_cmake_flags): Likewise.
      (OSTYPE): Remove variable.
      (sharedLib): Remove variable.  The Jami daemon shared library is
      needed when dynamically linking against it when libwrap is enabled.
      * packaging/rules/rpm/jami-daemon.spec (%build): Drop the --disable-shared
      option.
      (%files): Register the libring.so dynamic library.
      * packaging/rules/debian/rules (override_dh_auto_configure): Drop the
      --disable-shared option.
      
      GitLab: jami-packaging#101
      Change-Id: Id1acaaf15a0f3d561c73bf34dde48f4eaf058eed
      6096e314
    • Maxim Cournoyer's avatar
      Revert "debian: rules: Work around a regression in Autoconf 2.70." · 0bd1425d
      Maxim Cournoyer authored and Sébastien Blin's avatar Sébastien Blin committed
      This reverts commit 62f547b5.  The fix
      now more properly lives in the contrib build system.
      
      Change-Id: I7bb7d1f302c91be46627fc26eddece1d768fb308
      0bd1425d
  8. Sep 23, 2021
  9. Sep 16, 2021
  10. Sep 15, 2021
  11. Sep 13, 2021
  12. Sep 02, 2021
  13. Sep 01, 2021
  14. Aug 25, 2021
  15. 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
  16. Aug 20, 2021
  17. Aug 19, 2021
  18. Aug 16, 2021
  19. Aug 09, 2021
  20. 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
  21. Jul 23, 2021
  22. Jul 14, 2021
  23. Jul 13, 2021
  24. 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
  25. Jun 30, 2021
  26. 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
  27. 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
Loading