From 9f9b1b5688714f6f76507ce1c3a4387347bc1c2e Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Mon, 18 Sep 2023 13:41:53 +0000 Subject: [PATCH] =?UTF-8?q?gnome.polari:=2043.0=20=E2=86=92=2045.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://gitlab.gnome.org/GNOME/polari/-/compare/43.0...45.0 The best way to test this is probably add this in environment.systemPackages and enable services.telepathy. Dropped soup 2 support. Changelog-reviewed-by: Bobby Rong Changelog-reviewed-by: Jan Tojnar --- pkgs/desktops/gnome/apps/polari/default.nix | 4 ++-- .../apps/polari/make-thumbnailer-wrappable.patch | 11 ++++++----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/pkgs/desktops/gnome/apps/polari/default.nix b/pkgs/desktops/gnome/apps/polari/default.nix index c81068477e36..6ab83b064b32 100644 --- a/pkgs/desktops/gnome/apps/polari/default.nix +++ b/pkgs/desktops/gnome/apps/polari/default.nix @@ -30,11 +30,11 @@ stdenv.mkDerivation rec { pname = "polari"; - version = "43.0"; + version = "45.0"; src = fetchurl { url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; - sha256 = "F6GS3uYfWOPNRHJQC+cBGUa5n75SvFrBJPqurC8zQUc="; + sha256 = "nbfdwJSqhVfxkXfhZMQti+Fn9UckuScTC3YhyCnB1KE="; }; patches = [ diff --git a/pkgs/desktops/gnome/apps/polari/make-thumbnailer-wrappable.patch b/pkgs/desktops/gnome/apps/polari/make-thumbnailer-wrappable.patch index 269b455f9787..2ab64d7fed31 100644 --- a/pkgs/desktops/gnome/apps/polari/make-thumbnailer-wrappable.patch +++ b/pkgs/desktops/gnome/apps/polari/make-thumbnailer-wrappable.patch @@ -1,14 +1,15 @@ diff --git a/src/thumbnailer.js b/src/thumbnailer.js old mode 100644 new mode 100755 -index ed6350ea..83d832cb +index 4f7a2840..55c20199 --- a/src/thumbnailer.js +++ b/src/thumbnailer.js -@@ -1,3 +1,4 @@ +@@ -1,3 +1,5 @@ +#!/usr/bin/env gjs --module - import Cairo from 'cairo'; - import Gdk from 'gi://Gdk?version=3.0'; - import Gio from 'gi://Gio'; ++ + // SPDX-FileCopyrightText: 2019 daronion + // SPDX-FileCopyrightText: 2019 Florian Müllner + // diff --git a/src/urlPreview.js b/src/urlPreview.js index 5f7931e4..d2282900 100644 --- a/src/urlPreview.js