jami: 20241031.0 -> 20250523.0 (#399234)

authored by Arne Keller and committed by GitHub cdd5be2c e7ceb9e1

+24 -44
+18 -26
pkgs/applications/networking/instant-messengers/jami/default.nix
··· 68 69 stdenv.mkDerivation rec { 70 pname = "jami"; 71 - version = "20241031.0"; 72 73 src = fetchFromGitLab { 74 domain = "git.jami.net"; 75 owner = "savoirfairelinux"; 76 repo = "jami-client-qt"; 77 rev = "stable/${version}"; 78 - hash = "sha256-LKezdzM+ltUSgW4GmTXICyufx9mI1AVbdEcwSp6tmao="; 79 fetchSubmodules = true; 80 }; 81 82 - pjsip-jami = pjsip.overrideAttrs (old: rec { 83 - version = "8fc165b833eea6e3c88d67a541385424b129fd3f"; 84 85 src = fetchFromGitHub { 86 owner = "savoirfairelinux"; 87 repo = "pjproject"; 88 - rev = version; 89 - hash = "sha256-uA6ZJYUgAu3cK4CKCGtqaI0KPM/0szExPS2pCOflz5A="; 90 }; 91 92 configureFlags = [ 93 "--disable-sound" 94 "--enable-video" 95 "--enable-ext-sound" 96 "--disable-speex-aec" 97 "--disable-g711-codec" 98 "--disable-l16-codec" ··· 115 buildInputs = old.buildInputs ++ [ gnutls ]; 116 }); 117 118 - opendht-jami = 119 - (opendht.overrideAttrs { 120 - src = fetchFromGitHub { 121 - owner = "savoirfairelinux"; 122 - repo = "opendht"; 123 - rev = "074e05cc3254d5d73b0d96ee772a6e01bb3113e5"; 124 - hash = "sha256-WuaURlC7eDDxvnM3YuyU9CNrwnE4WBQUIEw3z/0zjN8="; 125 - }; 126 - }).override 127 - { 128 - enableProxyServerAndClient = true; 129 - enablePushNotifications = true; 130 - }; 131 132 dhtnet = stdenv.mkDerivation { 133 pname = "dhtnet"; 134 - version = "unstable-2024-07-22"; 135 136 src = fetchFromGitLab { 137 domain = "git.jami.net"; 138 owner = "savoirfairelinux"; 139 repo = "dhtnet"; 140 - rev = "8cd00200669fa5b7632faa447ba206c3847e2879"; 141 - hash = "sha256-SGidaCi5z7hO0ePJIZIkcWAkb+cKsZTdksVS7ldpjME="; 142 }; 143 144 postPatch = '' ··· 236 enableParallelBuilding = true; 237 }; 238 239 - qwindowkit = fetchFromGitHub { 240 owner = "stdware"; 241 repo = "qwindowkit"; 242 - rev = "79b1f3110754f9c21af2d7dacbd07b1a9dbaf6ef"; 243 - hash = "sha256-iZfmv3ADVjHf47HPK/FdrfeAzrXbxbjH3H5MFVg/ZWE="; 244 fetchSubmodules = true; 245 }; 246 247 postPatch = '' 248 sed -i -e '/GIT_REPOSITORY/,+1c SOURCE_DIR ''${CMAKE_CURRENT_SOURCE_DIR}/qwindowkit' extras/build/cmake/contrib_tools.cmake 249 sed -i -e 's/if(DISTRO_NEEDS_QMSETUP_PATCH)/if(TRUE)/' CMakeLists.txt 250 - cp -R --no-preserve=mode,ownership ${qwindowkit} qwindowkit 251 ''; 252 253 preConfigure = ''
··· 68 69 stdenv.mkDerivation rec { 70 pname = "jami"; 71 + version = "20250523.0"; 72 73 src = fetchFromGitLab { 74 domain = "git.jami.net"; 75 owner = "savoirfairelinux"; 76 repo = "jami-client-qt"; 77 rev = "stable/${version}"; 78 + hash = "sha256-uc2IcSAaCTkTMwjhgMRVdWsStLkOO5dPU2Hx+cYUUL0="; 79 fetchSubmodules = true; 80 }; 81 82 + pjsip-jami = pjsip.overrideAttrs (old: { 83 + version = "sfl-2.15-unstable-2025-02-24"; 84 85 src = fetchFromGitHub { 86 owner = "savoirfairelinux"; 87 repo = "pjproject"; 88 + rev = "37130c943d59f25a71935803ea2d84515074a237"; 89 + hash = "sha256-7gAiriuooqqF38oajAuD/Lj5trn/9VMkCGOumcV45NA="; 90 }; 91 92 configureFlags = [ 93 "--disable-sound" 94 "--enable-video" 95 "--enable-ext-sound" 96 + "--disable-android-mediacodec" 97 "--disable-speex-aec" 98 "--disable-g711-codec" 99 "--disable-l16-codec" ··· 116 buildInputs = old.buildInputs ++ [ gnutls ]; 117 }); 118 119 + opendht-jami = opendht.override { 120 + enableProxyServerAndClient = true; 121 + enablePushNotifications = true; 122 + }; 123 124 dhtnet = stdenv.mkDerivation { 125 pname = "dhtnet"; 126 + version = "unstable-2025-03-19"; 127 128 src = fetchFromGitLab { 129 domain = "git.jami.net"; 130 owner = "savoirfairelinux"; 131 repo = "dhtnet"; 132 + rev = "7e7359ff5dadd9aaf6d341486f3ee41029f645e1"; 133 + hash = "sha256-sT7OgYUBnO+HfIeCaR3lmoFJ9qE1Y5TEK1/KHzhvK7M="; 134 }; 135 136 postPatch = '' ··· 228 enableParallelBuilding = true; 229 }; 230 231 + qwindowkit-src = fetchFromGitHub { 232 owner = "stdware"; 233 repo = "qwindowkit"; 234 + rev = "758b00cb6c2d924be3a1ea137ec366dc33a5132d"; 235 + hash = "sha256-qpVsF4gUX2noG9nKgjNP7FCEe59okZtDA8R/aZOef7Q="; 236 fetchSubmodules = true; 237 }; 238 239 postPatch = '' 240 sed -i -e '/GIT_REPOSITORY/,+1c SOURCE_DIR ''${CMAKE_CURRENT_SOURCE_DIR}/qwindowkit' extras/build/cmake/contrib_tools.cmake 241 sed -i -e 's/if(DISTRO_NEEDS_QMSETUP_PATCH)/if(TRUE)/' CMakeLists.txt 242 + cp -R --no-preserve=mode,ownership ${qwindowkit-src} qwindowkit 243 ''; 244 245 preConfigure = ''
-13
pkgs/by-name/pj/pjsip/fix-aarch64.patch
··· 1 - --- a/aconfigure 2 - +++ b/aconfigure 3 - @@ -9174,6 +9174,10 @@ 4 - ac_webrtc_instset=neon 5 - ac_webrtc_cflags="-DWEBRTC_ARCH_ARM64" 6 - ;; 7 - + arm64*|aarch64*) 8 - + ac_webrtc_instset=neon 9 - + ac_webrtc_cflags="-DWEBRTC_ARCH_ARM64" 10 - + ;; 11 - *) 12 - ac_webrtc_instset=sse2 13 - ;;
···
+6 -5
pkgs/by-name/pj/pjsip/package.nix
··· 13 }: 14 stdenv.mkDerivation (finalAttrs: { 15 pname = "pjsip"; 16 - version = "2.14.1"; 17 18 src = fetchFromGitHub { 19 owner = "pjsip"; 20 repo = "pjproject"; 21 tag = finalAttrs.version; 22 - hash = "sha256-LDA3o1QMrAxcGuOi/YRoMzXmw/wFkfDs2wweZuIJ2RY="; 23 }; 24 - 25 - patches = [ ./fix-aarch64.patch ]; 26 27 postPatch = '' 28 substituteInPlace \ ··· 48 ] ++ lib.optional stdenv.hostPlatform.isLinux alsa-lib; 49 50 env = 51 - lib.optionalAttrs stdenv.cc.isClang { CXXFLAGS = "-std=c++11"; } 52 // lib.optionalAttrs stdenv.hostPlatform.isDarwin { 53 NIX_CFLAGS_LINK = "-headerpad_max_install_names"; 54 };
··· 13 }: 14 stdenv.mkDerivation (finalAttrs: { 15 pname = "pjsip"; 16 + version = "2.15.1"; 17 18 src = fetchFromGitHub { 19 owner = "pjsip"; 20 repo = "pjproject"; 21 tag = finalAttrs.version; 22 + hash = "sha256-9WzOIKWGy71OMzaPOp1P8/pvhHio2rDJOkH1VaNItjU="; 23 }; 24 25 postPatch = '' 26 substituteInPlace \ ··· 46 ] ++ lib.optional stdenv.hostPlatform.isLinux alsa-lib; 47 48 env = 49 + { 50 + NIX_LDFLAGS = if stdenv.hostPlatform.isDarwin then "-lc++" else "-lstdc++"; 51 + } 52 + // lib.optionalAttrs stdenv.cc.isClang { CXXFLAGS = "-std=c++11"; } 53 // lib.optionalAttrs stdenv.hostPlatform.isDarwin { 54 NIX_CFLAGS_LINK = "-headerpad_max_install_names"; 55 };