From 8dbe7ac9863855d67b24e32922d04596dfa36068 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Vr=C3=A1til?= Date: Mon, 14 Mar 2016 22:36:02 +0100 Subject: [PATCH] Add upstream patch to fix build --- ...evert-add-syntax-highlight-for-gcode.patch | 230 ++++++++++++++++++ kf5-ktexteditor.spec | 3 + 2 files changed, 233 insertions(+) create mode 100644 0001-revert-add-syntax-highlight-for-gcode.patch diff --git a/0001-revert-add-syntax-highlight-for-gcode.patch b/0001-revert-add-syntax-highlight-for-gcode.patch new file mode 100644 index 0000000..f0d03f2 --- /dev/null +++ b/0001-revert-add-syntax-highlight-for-gcode.patch @@ -0,0 +1,230 @@ +From: Sven Brauch +Date: Sat, 05 Mar 2016 00:04:39 +0000 +Subject: Revert "Add syntax highlighting for gcode" +X-Git-Tag: v5.20.0 +X-Git-Url: http://quickgit.kde.org/?p=ktexteditor.git&a=commitdiff&h=c805f75f893300c7bd0e52159bd4aaedd0e8d37a +--- +Revert "Add syntax highlighting for gcode" + +This reverts commit c65cdf81660eca01ab3d0792944a2e96a365bbca. +Reverted because it breaks the 2-week string freeze, sorry. +Will resubmit this after 5.8. +--- + + +--- a/src/syntax/data/gcode.xml ++++ /dev/null +@@ -1,212 +1,1 @@ +- +- +- +- +- +- +- +- and +- or +- xor +- eq +- ne +- gt +- ge +- lt +- le +- mod +- +- +- +- atan +- abs +- acos +- asin +- cos +- exp +- exists +- fix +- fup +- ln +- round +- sin +- sqrt +- tan +- +- +- +- sub +- endsub +- call +- return +- +- +- +- do +- while +- endwhile +- repeat +- endrepeat +- break +- continue +- if +- elseif +- else +- endif +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- + diff --git a/kf5-ktexteditor.spec b/kf5-ktexteditor.spec index b4da959..6dd530d 100644 --- a/kf5-ktexteditor.spec +++ b/kf5-ktexteditor.spec @@ -17,6 +17,9 @@ URL: https://projects.kde.org/ktexteditor %endif Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz +# Upstream patches +Patch10: 0001-revert-add-syntax-highlight-for-gcode.patch + BuildRequires: extra-cmake-modules >= %{version} BuildRequires: kf5-karchive-devel >= %{version} BuildRequires: kf5-kconfig-devel >= %{version}