Accepting request 1235515 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1235515 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtksourceview5?expand=0&rev=15
This commit is contained in:
78
changes.lang
78
changes.lang
@@ -1,78 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
|
||||
This file is not part of GtkSourceView.
|
||||
|
||||
Author: Luciano Santos
|
||||
Copyright (C) 2018 Luciano Santos <luc14n0@linuxmail.org>
|
||||
|
||||
This Language Definiton file is free; you can redistribute it
|
||||
and/or modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This Language Definiton file is distributed in the hope that it
|
||||
will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
See the GNU Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
-->
|
||||
<language id="changes" name="Changes" version="2.0" _section="Other">
|
||||
|
||||
<metadata>
|
||||
<property name="mimetypes">text/plain</property>
|
||||
<property name="globs">*changes</property>
|
||||
</metadata>
|
||||
|
||||
<styles>
|
||||
<style id="horizontal-rule" name="Horizontal Rule" map-to="def:type"/>
|
||||
<style id="date" name="Date" map-to="def:number"/>
|
||||
<style id="email" name="E-mail address" map-to="def:identifier"/>
|
||||
<style id="bullet" name="Bullet" map-to="def:type"/>
|
||||
</styles>
|
||||
|
||||
<definitions>
|
||||
<define-regex id="weekday">Mon|Tue|Wed|Thu|Fri|Sat|Sun</define-regex>
|
||||
<define-regex id="month">Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec</define-regex>
|
||||
|
||||
<define-regex id="date" extended="true">
|
||||
\%{weekday}\s+\%{month}\s+\d{1,2}\s+\d{1,2}:\d{1,2}:\d{1,2}\s+\w{3,4}\s+\d{4}
|
||||
</define-regex>
|
||||
|
||||
<context id="changes">
|
||||
<include>
|
||||
|
||||
<context id="horizontal-rule" style-ref="horizontal-rule" class="no-spell-check">
|
||||
<match>^-{67}$</match>
|
||||
</context>
|
||||
|
||||
<context id="date-email" class="no-spell-check">
|
||||
<match extended="true">
|
||||
^(?P<date>\%{date})\s-\s
|
||||
(?P<email>.*@.*\.\w{2,3})$
|
||||
</match>
|
||||
<include>
|
||||
<context sub-pattern="date" style-ref="date"/>
|
||||
<context sub-pattern="email" style-ref="email"/>
|
||||
</include>
|
||||
</context>
|
||||
<context id="bullet" style-ref="bullet">
|
||||
<match extended="true">
|
||||
(
|
||||
^-\s |
|
||||
^[ ]{2}(\*|\+)\s |
|
||||
^[ ]{4}-\s |
|
||||
^[ ]{6}\.\s
|
||||
)
|
||||
</match>
|
||||
</context>
|
||||
|
||||
</include>
|
||||
</context>
|
||||
</definitions>
|
||||
|
||||
</language>
|
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 6 18:12:10 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Drop changes.lang source, request from upstream + gedit no longer
|
||||
uses plain gtksourceview. (boo#1205804)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 21 22:38:00 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gtksourceview5
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -25,7 +25,6 @@ License: LGPL-2.1-or-later
|
||||
Group: System/GUI/GNOME
|
||||
URL: https://wiki.gnome.org/Projects/GtkSourceView
|
||||
Source0: %{_name}-%{version}.tar.zst
|
||||
Source1: changes.lang
|
||||
|
||||
BuildRequires: gobject-introspection-devel >= 1.70
|
||||
BuildRequires: meson >= 0.59.0
|
||||
@@ -102,8 +101,6 @@ features typical of a source editor.
|
||||
%install
|
||||
%meson_install
|
||||
%find_lang %{_name}-5
|
||||
# Install language definition for *.changes files:
|
||||
install -m 644 %{S:1} %{buildroot}%{_datadir}/gtksourceview-5/language-specs/
|
||||
|
||||
%ldconfig_scriptlets -n libgtksourceview-5-0
|
||||
|
||||
|
Reference in New Issue
Block a user