[arch-commits] Commit in jami-qt/repos/community-x86_64 (3 files)

Antonio Rojas arojas at gemini.archlinux.org
Thu Jun 16 21:31:48 UTC 2022


    Date: Thursday, June 16, 2022 @ 21:31:47
  Author: arojas
Revision: 1238232

archrelease: copy trunk to community-x86_64

Added:
  jami-qt/repos/community-x86_64/PKGBUILD
    (from rev 1238231, jami-qt/trunk/PKGBUILD)
  jami-qt/repos/community-x86_64/drop-qt-version-check.patch
    (from rev 1238231, jami-qt/trunk/drop-qt-version-check.patch)
Deleted:
  jami-qt/repos/community-x86_64/PKGBUILD

-----------------------------+
 PKGBUILD                    |   80 +++++++++++++++++++++++-------------------
 drop-qt-version-check.patch |   17 ++++++++
 2 files changed, 61 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-16 21:31:33 UTC (rev 1238231)
+++ PKGBUILD	2022-06-16 21:31:47 UTC (rev 1238232)
@@ -1,36 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=jami-qt
-pkgver=20220511
-pkgrel=2
-pkgdesc="Free and universal communication platform which preserves the users’ privacy and freedoms (Qt client)"
-arch=(x86_64)
-url="https://jami.net"
-license=(GPL3)
-groups=(jami)
-depends=(jami-libclient glib2 gdk-pixbuf2 libnm libnotify qrencode
-         qt6-declarative qt6-multimedia qt6-svg qt6-5compat qt6-webengine
-         qt6-webchannel)
-makedepends=(git cmake python qt6-networkauth qt6-tools)
-replaces=(jami-gnome)
-conflicts=(jami-gnome)
-_commit=820ef3092c65076900f2acb08204a712816f8ad5
-source=(git+https://git.jami.net/savoirfairelinux/jami-client-qt.git#commit=${_commit})
-md5sums=(SKIP)
-
-pkgver() {
-  cd jami-client-qt
-  TZ=UTC git show -s --pretty=%cd --date=format-local:%Y%m%d HEAD
-}
-
-build() {
-  cmake -B build -S jami-client-qt \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=None \
-    -Wno-dev
-  make -C build
-}
-
-package() {
-  make -C build DESTDIR="${pkgdir}" install
-}

Copied: jami-qt/repos/community-x86_64/PKGBUILD (from rev 1238231, jami-qt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-16 21:31:47 UTC (rev 1238232)
@@ -0,0 +1,44 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=jami-qt
+pkgver=20220511
+pkgrel=3
+pkgdesc="Free and universal communication platform which preserves the users’ privacy and freedoms (Qt client)"
+arch=(x86_64)
+url="https://jami.net"
+license=(GPL3)
+groups=(jami)
+depends=(jami-libclient glib2 gdk-pixbuf2 libnm libnotify qrencode
+         qt6-declarative qt6-multimedia qt6-svg qt6-5compat qt6-webengine
+         qt6-webchannel)
+makedepends=(git cmake python qt6-networkauth qt6-tools)
+replaces=(jami-gnome)
+conflicts=(jami-gnome)
+_commit=820ef3092c65076900f2acb08204a712816f8ad5
+source=(git+https://git.jami.net/savoirfairelinux/jami-client-qt.git#commit=${_commit}
+        drop-qt-version-check.patch)
+md5sums=('SKIP'
+         'dca36b057d34c8b965d2d06dfb09afd9')
+
+pkgver() {
+  cd jami-client-qt
+  TZ=UTC git show -s --pretty=%cd --date=format-local:%Y%m%d HEAD
+}
+
+prepare() {
+  cd jami-client-qt
+# Drop strict Qt version check. Qt is ABI stable and jami is not using any private API
+  patch -p1 -i ../drop-qt-version-check.patch
+}
+
+build() {
+  cmake -B build -S jami-client-qt \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=None \
+    -Wno-dev
+  make -C build
+}
+
+package() {
+  make -C build DESTDIR="${pkgdir}" install
+}

Copied: jami-qt/repos/community-x86_64/drop-qt-version-check.patch (from rev 1238231, jami-qt/trunk/drop-qt-version-check.patch)
===================================================================
--- drop-qt-version-check.patch	                        (rev 0)
+++ drop-qt-version-check.patch	2022-06-16 21:31:47 UTC (rev 1238232)
@@ -0,0 +1,17 @@
+diff --git a/src/app/mainapplication.cpp b/src/app/mainapplication.cpp
+index fdf96462..d6ee4634 100644
+--- a/src/mainapplication.cpp
++++ b/src/mainapplication.cpp
+@@ -100,12 +100,6 @@ ScreenInfo::setCurrentFocusWindow(QWindow* window)
+ MainApplication::MainApplication(int& argc, char** argv)
+     : QApplication(argc, argv)
+ {
+-    const char* qtVersion = qVersion();
+-    qInfo() << "Using Qt runtime version:" << qtVersion;
+-    if (strncmp(qtVersion, QT_VERSION_STR, strnlen(qtVersion, sizeof qtVersion)) != 0) {
+-        qFatal("Qt build version mismatch! %s", QT_VERSION_STR);
+-    }
+-
+     parseArguments();
+     QObject::connect(this, &QApplication::aboutToQuit, [this] { cleanup(); });
+ }



More information about the arch-commits mailing list