Update to 5.4.2 (#2096086)

This commit is contained in:
David King 2022-06-14 11:10:04 +01:00
parent 6b8305f2dc
commit bf1fea6f72
4 changed files with 7 additions and 52 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/gtksourceview-5.3.2.tar.xz
/gtksourceview-5.4.0.tar.xz
/gtksourceview-5.4.1.tar.xz
/gtksourceview-5.4.2.tar.xz

View File

@ -1,44 +0,0 @@
From fba1defab604bad77ba637881507a904183b4cbe Mon Sep 17 00:00:00 2001
From: Christian Hergert <chergert@redhat.com>
Date: Thu, 21 Apr 2022 13:01:11 -0700
Subject: [PATCH] Adwaita-dark.xml: add styling for common markdown features
Related #265
---
data/styles/Adwaita-dark.xml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/data/styles/Adwaita-dark.xml b/data/styles/Adwaita-dark.xml
index 04416677..b770174a 100644
--- a/data/styles/Adwaita-dark.xml
+++ b/data/styles/Adwaita-dark.xml
@@ -97,13 +97,13 @@
<style name="bracket-match" bold="true"/>
<style name="current-line" background="libadwaita-dark-alt"/>
<style name="current-line-number" background="libadwaita-dark-alt" foreground="light_7"/>
+ <style name="cursor" foreground="light_5"/>
<style name="draw-spaces" foreground="dark_3"/>
<style name="line-numbers" background="libadwaita-dark" foreground="dark_2"/>
<style name="map-overlay" background="dark_1"/>
<style name="right-margin" background="dark_1" foreground="dark_1"/>
<style name="search-match" background="yellow_4" foreground="dark_4"/>
<style name="text" background="libadwaita-dark" foreground="light_5"/>
- <style name="cursor" foreground="light_5"/>
<!-- Defaults -->
<style name="def:base-n-integer" foreground="violet_2"/>
@@ -113,9 +113,11 @@
<style name="def:decimal" foreground="violet_2"/>
<style name="def:deletion" strikethrough="true"/>
<style name="def:doc-comment-element" foreground="light_7"/>
+ <style name="def:emphasis" italic="true"/>
<style name="def:floating-point" foreground="violet_2"/>
<style name="def:function" foreground="blue_2"/>
<style name="def:heading" foreground="teal_3" bold="true"/>
+ <style name="def:inline-code" foreground="violet_2"/>
<style name="def:keyword" foreground="orange_2" bold="true"/>
<style name="def:link-destination" foreground="blue_2" italic="true" underline="low"/>
<style name="def:link-text" foreground="red_2"/>
--
2.36.0

View File

@ -4,19 +4,14 @@
%global api_ver 5
Name: gtksourceview5
Version: 5.4.1
Release: 2%{?dist}
Version: 5.4.2
Release: 1%{?dist}
Summary: Source code editing widget
License: LGPLv2+
URL: https://wiki.gnome.org/Projects/GtkSourceView
Source0: https://download.gnome.org/sources/gtksourceview/%{api_ver}.4/gtksourceview-%{version}.tar.xz
# Fix markdown highlighting in dark theme
# https://gitlab.gnome.org/GNOME/gtksourceview/-/issues/265
# https://gitlab.gnome.org/GNOME/gtksourceview/-/commit/fba1defab604bad77ba637881507a904183b4cbe
Patch0: 0001-Adwaita-dark.xml-add-styling-for-common-markdown-fea.patch
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: gi-docgen
@ -99,6 +94,9 @@ the functionality of the installed %{name} package.
%{_datadir}/installed-tests
%changelog
* Tue Jun 14 2022 David King <amigadave@amigadave.com> - 5.4.2-1
- Update to 5.4.2 (#2096086)
* Tue May 10 2022 Adam Williamson <awilliam@redhat.com> - 5.4.1-2
- Backport fix for dark theme Markdown highlighting

View File

@ -1 +1 @@
SHA512 (gtksourceview-5.4.1.tar.xz) = 5270db969455ad29498a02a851802228575c9b4b6cf6d4f9736bff95f869f1052550034fe6cc4f0c8d29174559d147068dcd088ab09b2008399f7a717aced298
SHA512 (gtksourceview-5.4.2.tar.xz) = eef5267bd473327f4e3e7b79d4a96c53067e221e9f171dde864a7866ccab8258ca9e13b5f59e40272fd7e3acd9e1e08bb4bea3674fa2864ec108b4a47220e9d3