From 28b88406b54fb8023252e622a6f2e784e0fd2373 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 21:28:08 +0100 Subject: [PATCH] update to 13.0 [release 13.0-1mamba;Sat Aug 31 2019] --- codelite-13.0-wxWidgets-3.0.4.patch | 28 ++++++++++++++++++++++++++++ codelite.spec | 13 +++++++++++-- 2 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 codelite-13.0-wxWidgets-3.0.4.patch diff --git a/codelite-13.0-wxWidgets-3.0.4.patch b/codelite-13.0-wxWidgets-3.0.4.patch new file mode 100644 index 0000000..a0fdf5a --- /dev/null +++ b/codelite-13.0-wxWidgets-3.0.4.patch @@ -0,0 +1,28 @@ +--- codelite-13.0/codelite_terminal/TextView.cpp.orig 2019-09-02 10:52:51.468000000 +0200 ++++ codelite-13.0/codelite_terminal/TextView.cpp 2019-09-02 10:56:21.916000000 +0200 +@@ -12,7 +12,7 @@ + m_ctrl->SetCaretStyle(wxSTC_CARETSTYLE_BLOCK); + m_ctrl->SetYCaretPolicy(wxSTC_CARET_STRICT | wxSTC_CARET_SLOP, 4); + m_ctrl->SetLexer(wxSTC_LEX_CONTAINER); +- m_ctrl->StartStyling(0); ++ m_ctrl->StartStyling(0, 0); + m_ctrl->SetWrapMode(wxSTC_WRAP_CHAR); + #else + m_ctrl = new TextCtrl_t(this, wxID_ANY, "", wxDefaultPosition, wxDefaultSize, +@@ -61,7 +61,7 @@ + { + #if USE_STC + m_defaultAttr = attr; +- m_ctrl->StartStyling(m_ctrl->GetLastPosition()); ++ m_ctrl->StartStyling(m_ctrl->GetLastPosition(), 0); + #else + m_ctrl->SetDefaultStyle(attr); + #endif +@@ -210,6 +210,6 @@ + #if USE_STC + m_ctrl->ClearAll(); + m_ctrl->ClearDocumentStyle(); +- m_ctrl->StartStyling(0); ++ m_ctrl->StartStyling(0, 0); + #endif + } diff --git a/codelite.spec b/codelite.spec index 3a94c45..2d8f2cf 100644 --- a/codelite.spec +++ b/codelite.spec @@ -1,5 +1,5 @@ Name: codelite -Version: 11.0 +Version: 13.0 Release: 1mamba Summary: An IDE for the C/C++/PHP/Node.js programming languages Group: Applications/Development @@ -9,6 +9,7 @@ Packager: Silvan Calarco URL: http://www.codelite.org/ ## GITSOURCE https://github.com/eranif/codelite.git 9.1 Source: https://github.com/eranif/codelite.git/%{version}/codelite-%{version}.tar.bz2 +Patch0: codelite-13.0-wxWidgets-3.0.4.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -40,13 +41,18 @@ An IDE for the C/C++/PHP/Node.js programming languages. %prep %setup -q #-D -T +%patch0 -p1 %ifarch x86_64 sed -i 's|"lib"|"lib64"|' CMakeLists.txt %endif %build %cmake -d build \ - -DPREFIX=%{_prefix} + -DPREFIX=%{_prefix} \ + -DCMAKE_CXX_FLAGS="-I/usr/include/harfbuzz" \ + -DENABLE_CLANG=1 \ + -DENABLE_LLDB=1 \ + -DWITH_MYSQL=1 %make @@ -76,6 +82,9 @@ sed -i 's|"lib"|"lib64"|' CMakeLists.txt %doc AUTHORS COPYING LICENSE %changelog +* Sat Aug 31 2019 Silvan Calarco 13.0-1mamba +- update to 13.0 + * Thu Nov 30 2017 Silvan Calarco 11.0-1mamba - update to 11.0