Accepting request 847257 from GNOME:Factory

Push GNOME 3.38

OBS-URL: https://build.opensuse.org/request/show/847257
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polari?expand=0&rev=45
This commit is contained in:
Dominique Leuenberger 2020-11-19 10:57:08 +00:00 committed by Git OBS Bridge
commit fc4063d979
5 changed files with 26 additions and 52 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4f26647e981c5d0bf42df582adac20bbfdacdfe8c4fe150af0ca03d2e0cef53a
size 1030640

3
polari-3.38.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3af8a6d22e4fa7e121e29611edbe4c90c3266565f4c3a67332904c5c56b502d1
size 1040368

View File

@ -1,45 +0,0 @@
From eb918032722041abaed5f74a37a091e322e2d319 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
Date: Sat, 18 Jul 2020 16:12:25 +0200
Subject: [PATCH] urlPreview: Move margin into CSS
Setting it in code for some reason confuses size negotiations, resulting
in warnings about negative size requests. It looks like CSS margins
don't suffer from the same problem, so just use those instead.
https://gitlab.gnome.org/GNOME/polari/-/issues/142
---
data/resources/application.css | 3 +++
src/urlPreview.js | 2 --
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/data/resources/application.css b/data/resources/application.css
index a0a57a76..e455304f 100644
--- a/data/resources/application.css
+++ b/data/resources/application.css
@@ -118,6 +118,9 @@ treeview.polari-server-room-list {
}
.url-preview { padding: 8px; }
+.url-preview { margin: 12px; }
+.url-preview:dir(ltr) { margin-left: 0; }
+.url-preview:dir(rtl) { margin-right: 0; }
.url-preview image { min-width: 120px; min-height: 90px; }
.url-preview label { font-size: small; }
diff --git a/src/urlPreview.js b/src/urlPreview.js
index e388b78b..b818c812 100644
--- a/src/urlPreview.js
+++ b/src/urlPreview.js
@@ -78,8 +78,6 @@ var URLPreview = GObject.registerClass({
this.set({
orientation: Gtk.Orientation.VERTICAL,
- margin: 12,
- margin_start: 0,
spacing: 6,
});
--
GitLab

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Sat Sep 19 17:27:11 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.38.0:
+ Disable URL previews when on metered data.
+ Misc. bug fixes and cleanups.
+ Updated translations.
- Drop polari-fix-log-spam.patch: Fixed upstream.
-------------------------------------------------------------------
Fri Sep 4 11:55:18 UTC 2020 - dimstar@opensuse.org
- Update to version 3.37.3:
+ Add WHOIS command.
- Changes from version 3.37.2:
+ Misc. bug fixes and cleanups.
- Changes from version 3.37.1:
+ Add the ability to mute nicknames.
+ Misc. bug fixes and cleanups.
+ Updated translations.
-------------------------------------------------------------------
Thu Aug 20 11:51:24 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -18,18 +18,16 @@
Name: polari
Version: 3.36.3
Version: 3.38.0
Release: 0
Summary: An IRC Client for GNOME
License: GPL-2.0-or-later AND LGPL-2.1-or-later
Group: Productivity/Networking/IRC
URL: https://wiki.gnome.org/Apps/Polari
Source0: https://download.gnome.org/sources/polari/3.36/%{name}-%{version}.tar.xz
Source0: https://download.gnome.org/sources/polari/3.38/%{name}-%{version}.tar.xz
Source99: polari-rpmlintrc
# PATCH-FIX-UPSTREAM polari-fix-nb-translation.patch glgo#GNOME/polari!145 -- Fix Norwegian bokmål translation
Patch0: polari-fix-nb-translation.patch
# PATCH-FIX-UPSTREAM polari-fix-log-spam.patch -- Quiet down unneeded log warnings
Patch1: polari-fix-log-spam.patch
BuildRequires: gjs >= 1.57.3
BuildRequires: meson >= 0.43.0