Skip to content
Snippets Groups Projects
  1. Jul 05, 2022
  2. Jun 23, 2022
    • Amin Bandali's avatar
      packaging: Adapt to client-qt vendoring libjamiclient. · bd745f43
      Amin Bandali authored and Adrien Béraud's avatar Adrien Béraud committed
      For both deb and rpm make jami-libclient a transitional package that
      does not have any dependencies and that the user can safely remove.
      The jami-libclient package can then be dropped later into the future;
      perhaps in a year or so from now.
      
      Change-Id: I53d7cb89a40282acec7b4b0aa7930b1a52835a1b
      bd745f43
  3. Jun 20, 2022
  4. Jun 17, 2022
  5. Jun 08, 2022
  6. Jun 06, 2022
  7. May 18, 2022
    • Tobias Hildebrandt's avatar
      build: add -y flag to build.py dependency install · 603e6149
      Tobias Hildebrandt authored and Adrien Béraud's avatar Adrien Béraud committed
      disable -y by default
      
      Change-Id: I6befd8564fc4334dae398d32d54d3871bd19b717
      603e6149
    • Amin Bandali's avatar
      build: Update for Qt 6, add --no-webengine switch, add Parabola. · c26393df
      Amin Bandali authored
      * build.py (QT5_VERSION):
      (write_qt_conf): Remove (vestigial and not used anymore).
      (PACMAN_BASED_DISTROS): Add parabola.
      (ZYPPER_DEPENDENCIES):
      (ZYPPER_CLIENT_QT_DEPENDENCIES):
      (DNF_DEPENDENCIES):
      (DNF_CLIENT_QT_DEPENDENCIES):
      (APT_DEPENDENCIES):
      (APT_CLIENT_QT_DEPENDENCIES):
      (PACMAN_DEPENDENCIES):
      (PACMAN_CLIENT_QT_DEPENDENCIES):
      (OSX_DEPENDENCIES):
      (OSX_DEPENDENCIES_UNLINK): Update dependency list for Qt 6, and move
      lrc dependencies into client dependency lists.
      (ZYPPER_QT_WEBENGINE):
      (DNF_QT_WEBENGINE):
      (APT_QT_WEBENGINE):
      (PACMAN_QT_WEBENGINE): Move Qt WebEngine pacakge(s) into separate
      list, so that they can be conditionally included or excluded.
      (run_dependencies): Install daemon dependencies earlier than and
      separately from lrc and client dependencies, mainly so that the
      installation of daemon dependencies could still succeed on distros
      that don't currently have Qt 6 packaged.
      (run_dependencies):
      (run_install):
      (run_uninstall):
      (run_run):
      (main)
      (parse_args): Add new --gnome switch, only use client-gnome when
      this switch is given.  Add new --macos switch, only use client-macos
      when this switch is given.  Otherwise, default to using client-qt.
      Add new --no-webengine switch, disable using Qt WebEngine when this
      switch is given.  Remove vestigial --qtver switch not used anymore.
      Also, replace a few mentions of "Ring" with "Jami" in strings.
      (validate_args): Test for minimum version of Windows 10 and do not
      require an exact match/equality.
      
      * scripts/build-windows.py (build_lrc):
      (build_client):
      (parsed_args): Remove vestigial and unneeded --qtver switch and its
      corresponding variable.  Both make-lrc.py and make-client.py scripts
      in their corresponding repositories have an up-to-date default Qt
      version number, and specifying the version from this script is both
      unnecessary and defeats their purpose.
      
      * scripts/install.sh (QT6_MIN_VER): Rename to QT_MIN_VER.
      (qt6ver): Remove, not used anymore.
      (qt6path): Rename to qtpath.
      (sys_qt6ver): Rename to sys_qtver.
      (installed_qt6ver): Rename to installed_qtver.
      (required_qt6ver): Rename to required_qtver.
      (enable_webengine): New variable for tracking whether or not to use
      Qt WebEngine.  Defaults to true.
      (getopts): Add w option; when given, set enable_webengine to false.
      (client_cmake_flags): Set -DWITH_WEBENGINE="${enable_webengine}".
      
      Note: as of the time of this commit, QLibraryInfo from the qt6-base
      package in Debian (and Ubuntu) currently has path issues and returns
      wrong paths, stemming from '/lib' being a symlink.  This leads to
      "Qt WebEngine resources not found" errors as the WebEngine tries to
      find its needed resources at a wrong location '/share/qt6/resources'.
      The issue has already been reported by others and a proposed patch to
      fix it by disabling Qt's relocatable feature is pending review:
      https://bugs.launchpad.net/ubuntu/+source/qt6-base/+bug/1970057
      https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010575
      In the mean time, using './build.py --install --no-webengine' to build
      Jami without Qt WebEngine works.  Alternatively, using a custom build
      of Qt (such as our libqt-jami) that does not suffer from this issue
      would also work, using './build.py --install --qt=/usr/lib/libqt-jami'
      where '/usr/lib/libqt-jami' should be the prefix directory where the
      custom Qt build is installed.
      
      GitLab: #1434
      Change-Id: Ie053522de19b33871a1082ce46f3d36380a8b5aa
      c26393df
  8. May 11, 2022
  9. May 03, 2022
  10. Apr 12, 2022
  11. Apr 11, 2022
  12. Apr 07, 2022
  13. Mar 23, 2022
    • Amin Bandali's avatar
      packaging: fix libclient dependency issues of deb packages · 030db788
      Amin Bandali authored
      Since for our deb packages all the binary packages share the same
      source package, and are built in the same environment, depending on
      the distro and dpkg tools versions, dpkg-shlibdeps might incorrectly
      add the wrong libclient package for either clients.  For example,
      have the jami-gnome package depend on both jami-libclient-gnome and
      jami-libclient; which is wrong, since jami-libclient-gnome and
      jami-libclient conflict with each other and cannot be installed
      simultaneously.  So, we instruct dpkg-shlibdeps to exclude the two
      libclient packages from ${shlibs:Depends}, which is fine because
      we already manually add the correct one to each client's Depends.
      
      Also, use the system libarchive-dev package for Ubuntu 18.04 as well;
      since like with Debian 10, building libarchive from daemon's contribs
      fails there too.
      
      GitLab: #1415
      Change-Id: I1c065a7fd3fc58324c7893d5d23039f2a5109931
      Unverified
      030db788
  14. Mar 17, 2022
    • Amin Bandali's avatar
      packaging: use system libarchive on Debian 10 · 519e16a3
      Amin Bandali authored
      The bundled one from the daemon contribs does not build on Debian 10
      for some reason.
      
      Change-Id: Id6fbc1e09bdf2912663f78502b255e975aebec1a
      Unverified
      519e16a3
    • Amin Bandali's avatar
      packaging: build bundled ffmpeg for libclient and client-qt · 2f1ebdd4
      Amin Bandali authored
      Recent libclient and client-qt use avframe from ffmpeg's libavutil.
      
      Change-Id: Ia860e374eb2b8d6c22a79ee0f5a22673a292bf19
      2f1ebdd4
    • Amin Bandali's avatar
      build: add separate lrc-gnome submodule for client-gnome · fd10998d
      Amin Bandali authored
      After the recent merge of the video renderer changes into lrc and
      client-qt, the build for client-gnome is currently broken because it
      has not yet been updated to follow the new API, a non-trivial task.
      Thus, we add a separate lrc-gnome submodule for use by client-gnome,
      as a temporary measure until the future vendoring of lrc into the two
      clients.
      
      With this change, the users of the Qt client ('jami' package) would
      continue using 'jami-libclient' as a dependency, whereas for users of
      the GNOME client ('jami-gnome') they would install and use the new
      'jami-libclient-gnome' package.
      
      Change-Id: I6aacb6c495c9a2953c328f2e9bfe6acd2b8cc645
      Unverified
      fd10998d
  15. Mar 15, 2022
  16. Jan 31, 2022
  17. Jan 28, 2022
  18. Jan 25, 2022
  19. Jan 14, 2022
    • Amin Bandali's avatar
      Bump Qt up to 6.2.2, add missing nodejs build-dep for libqt-jami · 880936d2
      Amin Bandali authored
      * Makefile (QT_PATCH): Bump up to 2.
      (QT_TARBALL_CHECKSUM): Update to Qt 6.2.2 release tarball's sha256sum.
      * docker/Dockerfile_ubuntu_18.04: Move the nodejs installation earlier
      in the Dockerfile, as it needs to already be installed by the time we
      want to install libqt-jami's build dependencies.
      * packaging/rules/debian-qt/control (libqt-jami) <Build-Depends>: Add
      missing nodejs (>= 10.19) dependency.
      
      jami-packaging#111
      Change-Id: Ie15a1f4c7cfb274dc6a1784ce41f5b7383002abe
      880936d2
  20. Jan 13, 2022
  21. Jan 12, 2022
    • Maxim Cournoyer's avatar
      build: Use guix shell. · ebe0ec02
      Maxim Cournoyer authored and Sébastien Blin's avatar Sébastien Blin committed
      The recently introduced 'guix shell' command automatically manages a
      cached profile for us; prefer it to 'guix environment', and do away
      with a channels file, given fixes in Guix have now been incorporated
      in the main branch.
      
      * Makefile (portable-release-tarball)<guix environment>: Replace by
      'guix shell'.
      * build.py (run_dependencies)[guix]: Likewise, and do not use a
      channels.scm file.
      (run_install): Likewise, and provide a hint when TARBALLS is not set.
      * guix/channels.scm: Delete file.
      * guix/manifest.scm: Adjust comment.
      
      Change-Id: I50ca99e51f0ebca136c9bbc5a0ca3063075432b4
      ebe0ec02
  22. Jan 11, 2022
  23. Jan 10, 2022
    • Maxim Cournoyer's avatar
      Remove legacy symbolic links. · 330ee033
      Maxim Cournoyer authored
      * Makefile.packaging: Delete file.
      * make-ring.py: Likewise.
      
      Change-Id: Icc243592651374d208021b5713ed4fda5a4a537c
      Unverified
      330ee033
    • Maxim Cournoyer's avatar
      tarball: Rename top directory from ring-project to jami-project. · 21d9f320
      Maxim Cournoyer authored
      Change-Id: I2c7ae1349a69fb24f65ea435fa57fa7cc547c631
      Unverified
      21d9f320
    • Maxim Cournoyer's avatar
      Jenkinsfile: Publish release artifacts for release branches. · 0739ac22
      Maxim Cournoyer authored
      Previously, the Jenkinsfile did not publish anything except for the
      repositories: the release tarball would not get copied to
      https://dl.jami.net for stable channel, and no commit nor tag would be
      published for the release.
      
      This change addresses these shortcomings with the following changes:
      
      1. Tarballs can be published for the stable channel.
      2. Release commits/tags can be published to their corresponding
      branch (stable/nightly).
      
      The RELEASE_VERSION string is also once again derived in a
      deterministic fashion, from the date of the last commit.
      
      * Jenkinsfile (SSH_PRIVATE_KEY): Remove variable.
      (RING_PUBLIC_KEY_FINGERPRINT): Rename to...
      (JAMI_PUBLIC_KEY_FINGERPRINT): ... this.
      (GIT_USER_EMAIL, GIT_USER_NAME, GIT_PUSH_URL)
      (JENKINS_SSH_KEY, DL_SSH_KEY): New variables.
      (params.DEPLOY): Fix description.
      (Checkout channel branch): New stage.
      (Generate release tarball): Also commit and tag.
      (Publish release artifacts): New stage to publish conditionally based on the
      DEPLOY parameter and the selected channel.
      (Sign & deploy packages): Use the 'sshagent' step to setup SSH access.
      <--remote-ssh-identity-file>: Remove argument.
      <--keyid>: Adjust variable name.
      * scripts/deploy-packages.sh (package_snap): Simplify.
      
      Change-Id: I9008ecc2a4ef9820dbc96e26c966ae72110d897d
      Unverified
      0739ac22
  24. Jan 07, 2022
  25. Dec 28, 2021
  26. Dec 22, 2021
Loading