Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package codelite for openSUSE:Factory checked in at 2021-03-30 21:21:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/codelite (Old)
and /work/SRC/openSUSE:Factory/.codelite.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "codelite"
Tue Mar 30 21:21:26 2021 rev:15 rq:881473 version:15.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/codelite/codelite.changes 2019-03-26 15:44:10.824166830 +0100
+++ /work/SRC/openSUSE:Factory/.codelite.new.2401/codelite.changes 2021-03-30 21:50:15.286905427 +0200
@@ -1,0 +2,428 @@
+Sat Mar 6 18:31:35 UTC 2021 - andy great
+
+- Update to version 15.0.0.
+ * bug fixes
+ * Fixed: hiding line number margin is no longer possible
+ * Find In Files: should now load faster on Windows
+ * Fixed: File System Workspace: keep the last 'File mask'
+ value used
+ * Language Server Protocol: Initialized notification to the
+ server
+ * Prevent hangs under Wayland when changing Workspace View
+ tabs
+ * Properly save/load workspace breakpoints and avoid mixing
+ between two different workspaces breakpoints
+ * File System Workspace: when 'remote development' is enabled,
+ do not attempt to remote save a file that is not part of our
+ source tree or was opened by the SFTP plugin
+ * Fixed: crash when switching between themes
+ * gdb does not display local variables properly
+ * Creating a new file from the context menu in the File System
+ Workspace - does not add it to git or svn
+ * Outline: honour the general background theme colour
+ * Bootstrap wizard: if the user select Default profile, load
+ all plugins
+ * Fixed crash in codelite-terminal when executed with
+ --command
+ * Fixed: SFTP overrides file attributes if these were modified
+ after the file was loaded into CodeLite
+ * LLDB settings: keep the full path for debugserver
+ * Fixed: cppcheck is now working from the context menu again
+ * File System Workspace: set the default working directory to
+ the workspace folder
+ * PHPdoc return value is not handled correctly
+ * Changes
+ * Displaying the parent folder in the tab label is now optional
+ * Git push: just execute git push without prompting the user to
+ select remote
+ * By default, show minimal list of buttons in the toolbar when
+ first time installing CodeLite
+ * By default, enable minimal list of plugins (by profile type)
+ * File System Workspace: split the settings into 2 different
+ files: a local and shared file. The content in the "local"
+ files is kept under .codelite/ directory in the workspace
+ folder and is not to be saved into git or any source control
+ the * default .workspace file contains properties that should
+ be shared
+ * File System Workspace: added 'working directory' field
+ * Language Server Protocol: optimized the traffic between
+ LSP <-> CodeLite by adding checksum checks before calling LSP
+ to re-parse a file
+ * Language Server Protocol: added support for implemented
+ 'extDocument/documentSymbol' protocol message
+ * PHP: update PHP xdebug UI view to fit the IDE look
+ * Language Server Protocol: added an option to pass environment
+ variables + initialization options directly from the UI
+ * GDB: Honor user's ~/.gdbinit file
+ * File System Workspace: added an option to use remote build
+ * Internal changes to how GDB communicate changes to CodeLite
+ * Appearance: honor *system* dark themes
+ * Language Server Protocol: install the user code completion
+ provided by clangd automatically
+ * Creating or deleting a folder via the 'Explorer' view, will
+ automatically sync PHP workspace
+ * file system workspace: extend the default file extensions to
+ show with *.py, *.rb, *.php and *.php
+ * python support: adjust method document style to match the
+ NumPy method as described here:
+ https://docs.python-guide.org/writing/documentation/
+ * [PHP] Find functions in context when inserting PHPDoc
+ * [PHP] Add return type to signature
+ * [PHP] Add nullable type to signature in auto-complete
+ * [PHP] Hint nullable and default values
+ * [PHP] Handel parsing of by reference values in PHPDoc
+ * [PHP] Allow parsing of nullable types from PHPDoc
+ * [PHP] Handle parsing PHP 7.1 nullable types
+ * [PHP] Handle common mistakes when parsing PHPDoc
+ * [PHP] Add missing native types
+ * [PHP] Group tags in generated PHPDoc
+ * [PHP] Set return type to mixed when unspecified
+ * Callgraph is no longer included in the default installer of
+ CodeLite
+ * File System Workspace: added the ability to exclude folders
+ from the workspace. The folders are still visible, but they
+ will be excluded in * various operations, like Find In Files,
+ Parsing etc
+ * Full parsing of workspace is roughly 30% faster now
+ * Renamed default build system from "CodeLite Make
+ Generator" -> "CodeLite Makefile Generator"
+ * Added new Build System: CodeLite Makefile
+ Generator - UNIX - which generates UNIX compatible Makefiles,
+ even when on Windows (useful for cygwin / MSYS environments)
+ * contextual highlight is no longer done using the SQLite
+ symbol database, as a result it should feel much more faster
+ * Git reset: added a WARNING icon to the dialog + Cancel
+ button (which is now the new default)
+ * Navigation bar now also displays "git blame" info
+ (author + commit hash + date) for the current line
+ * UI updated to the Preferfences and Colour and fonts dialog
+ * Refined dark theme support by removing various border which
+ might look bright on dark theme
+ * Language Server Plugin: you can now mark an LSP as SSH. This
+ will execute it on a remote machine instead (you still need
+ to make sure that it is installed on the remote machine)
+ * Quick Debug: it is now possible to debug over SSH from. Just
+ state the account + binary to debug and CodeLite will do the
+ rest
+ * Language Server Plugin: opening a header file will now
+ automatically send the implementation file (cpp) to the active
+ LSP for parsing. This way we make sure that goto-definition
+ will work immediately
+ * Implemented a proper "switch to workspace" functionality.
+ It is now possible to call Open Workspace without the need
+ to the currently opened one. In addition, CodeLite will now
+ display a dialog that will list the last opened workspaces
+ * PHP Find In Files: 1. Starting find-in-files from the context
+ menu will force the find-in-files dialog to use the selected
+ dialogs from the tree view *this are transient paths and will
+ not be remembered* 2. Starting find-in-files from any other
+ way, will use the last used settings
+ * Fixed: find in files offset is broken when non ASCII text is
+ presented in the editor
+- Rebase fix_compilation_JSON_wxWidgets.patch.
+
+-------------------------------------------------------------------
+Wed Nov 25 19:22:34 UTC 2020 - andy great
+
+- Update to version 14.0.2.
+ * Increased the external tools limit from 10 -> 20
+ * wxCrfater: Wrap the include statements part of the generated
+ code with // clang-format {on|off} block this will disable any
+ include sorting done by clang-format which might break
+ compilation
+ * New project dialog re-written and simplified
+ * Diff View : added "find" command
+ * Added menu option: Help -> Report an issue
+ * Various font fixes in the code completion windows
+ * Diff frames now start maximized
+ * Diff View: all the toolbar commands can now be executed from
+ the keyboard
+ * New build system. the old Default was renamed and now is called
+ Default (DEPRECATED). The new build system performs a full out
+ of the source tree build. The entire build artifacts are placed
+ in a single folder under the workspace path, this is similar to
+ CMake
+ * New workspace type introduced: The File System Workspace
+ see: https://wiki.codelite.org/pmwiki.php/Main/FileSystemWorkspace
+ * Improved startup time by reducing the number of syscalls
+ significantly
+ * Language Server Protocol: discard code-completion responses if
+ a new request was already sent to the server
+ * Use PATH to search binaries instead of hard coded /usr/bin/
+ path
+ * UI: Updated the tabs drawing (mainly the "DEFAULT" and the
+ "MINIMAL" styles)
+ * wxCrafter: UI update: the right side view no longer has a
+ splitter, instead it only uses tabs
+ * Debugger->Attach to process dialog: the process ID is now also
+ used for filtering
+ * File System Workspace: save all modified files before the build
+ starts
+ * Increase the code completion box width
+ * Restart all LSP once a build process is completed
+ * SFTP: once we open the SFTP browser to view a remote server,
+ keep the session
+ * Simplify the LSP configuration dialog
+ * UI updates to the tab drawings
+ * Language Server Plugin: support for auto inclusion of missing
+ headers
+ * Language Server Plugin: auto detect ( by clicking the Scan
+ button ) installed LSPs currently supported:
+ `python-language-server` and `clangd`
+ * VIM plugin imporvements
+ * New Class dialog simplification
+ * Outline tab: remove the search text control, you can now use
+ Ctrl-F search a symbol
+ * Fixed clang compiler detection. On OSX, also search for clang
+ compiler installed by brew
+ * Bash editor: make $ a valid word character
+ * More DPI aware changes
+ * File System Workspace: dont use the 'Quick Debug' for starting
+ debug session
+ * File System Workspace: store the breakpoints when the
+ workspace is closed
+ * File System Workspace: add an option to choose debugger in
+ the settings dialog
+ * Code completion: don't add extra > or " when choosing an entry
+ from the #include completion list
+ * Code completion: constructor items are marked with the proper
+ icon in the completion list
+ * Code completion: template items are now completed in the
+ editor in the form of: vector<|> where "|" marks the caret
+ * Quick Find All / Add Next (Ctrl-K) -> honour the find bar
+ options (wholeword, match case etc)
+ * LSP: added an option to restart the LSPs
+ * Performance improvements
+ * Auto search and detect LSP (clangd, python)
+ * C++ parser thread will now parse also files without standard
++++ 231 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/codelite/codelite.changes
++++ and /work/SRC/openSUSE:Factory/.codelite.new.2401/codelite.changes
Old:
----
codelite-12.0.tar.gz
codelite-disable-new-version-check.patch
New:
----
codelite-15.0.tar.gz
fix_compilation_JSON_wxWidgets.patch
fix_node_env-script-interpreter.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ codelite.spec ++++++
--- /var/tmp/diff_new_pack.di4UMn/_old 2021-03-30 21:50:17.098906960 +0200
+++ /var/tmp/diff_new_pack.di4UMn/_new 2021-03-30 21:50:17.102906964 +0200
@@ -1,7 +1,7 @@
#
# spec file for package codelite
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2012-2019 Mariusz Fik .
#
# All modifications and additions to the file contributed by third parties
@@ -13,10 +13,11 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
+%define short_ver 15.0
# Only available on x86_64 and %%arm (see lldb package)
%ifarch %{arm} x86_64
%bcond_without lldb
@@ -26,7 +27,7 @@
%bcond_without clang
%endif
Name: codelite
-Version: 12.0
+Version: 15.0.0
Release: 0
Summary: Code editor for C, C++, PHP and Node.js
# parts of package contain LGPL-3.0 licenced code thus license needs to be
@@ -34,19 +35,20 @@
License: GPL-3.0-only
Group: Development/Tools/IDE
URL: http://codelite.org/
-Source0: https://github.com/eranif/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
+Source0: https://github.com/eranif/%{name}/archive/%{short_ver}/%{name}-%{short_ver}.tar.gz
# Template files are identified by RPMLint as Development-Files --> Ignore this errors
Source1: %{name}-rpmlintrc
-# PATCH-FEATURE-OPENSUSE codelite-disable-new-version-check.patch fisiu@opensuse.org -- Disable 'new version' check on startup
-Patch0: %{name}-disable-new-version-check.patch
+# PATCH-FIX-OPENSUSE fix_compilation_JSON_wxWidgets.patch andythe_great@pm.me gh#eranif/codelite#2649 -- wxWidgets builds on openSUSE cause Codelite to fail to compile. Upstream have workaround for Leap 15.2 but will fail on TW.
+Patch0: fix_compilation_JSON_wxWidgets.patch
+# PATCH-FIX-OPENSUSE fix_node_env-script-interpreter.patch andythe_great@pm.me -- Fix RPMLINT warning env-script-interpreter.
+Patch1: fix_node_env-script-interpreter.patch
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
-BuildRequires: wxWidgets-3_0-devel >= 3.0.0
-BuildRequires: wxWidgets-devel >= 3.0.0
+BuildRequires: wxGTK3-3_2-devel
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(hunspell)
BuildRequires: pkgconfig(libssh)
@@ -65,8 +67,7 @@
It uses an interface with which users can create, build and debug projects.
%prep
-%setup -q
-%patch0
+%autosetup -p1 -n %{name}-%{short_ver}
%build
%cmake \
@@ -76,8 +77,10 @@
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR=%{_lib} \
-DCMAKE_SHARED_LINKER_FLAGS="" \
- -DCMAKE_SKIP_RPATH=OFF
-%make_jobs
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DCMAKE_EXE_LINKER_FLAGS="-pie"
+
+%cmake_build
%install
%cmake_install
@@ -89,14 +92,6 @@
### Update translation in desktop menu entry and add IDE as category
%suse_update_desktop_file %{name} IDE
-%post
-%desktop_database_post
-%icon_theme_cache_post
-
-%postun
-%desktop_database_postun
-%icon_theme_cache_postun
-
%files -f %{name}.lang
%license COPYING
%doc about.html AUTHORS
++++++ codelite-12.0.tar.gz -> codelite-15.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/codelite/codelite-12.0.tar.gz /work/SRC/openSUSE:Factory/.codelite.new.2401/codelite-15.0.tar.gz differ: char 12, line 1
++++++ fix_compilation_JSON_wxWidgets.patch ++++++
diff -ruN a/CodeLite/JSON.cpp b/CodeLite/JSON.cpp
--- a/CodeLite/JSON.cpp 2021-02-01 02:49:48.000000000 +0700
+++ b/CodeLite/JSON.cpp 2021-03-07 00:44:37.366114925 +0700
@@ -432,11 +432,7 @@
JSONItem& JSONItem::addProperty(const wxString& name, const wxChar* value)
{
-#if wxVERSION_NUMBER >= 2900 && wxVERSION_NUMBER < 3104
append(JSONItem(name, wxString(value).c_str(), cJSON_String));
-#else
- append(JSONItem(name, wxString(value), cJSON_String));
-#endif
return *this;
}
@@ -456,11 +452,7 @@
return *this;
}
-#if wxVERSION_NUMBER >= 2900 && wxVERSION_NUMBER < 3104
void JSONItem::arrayAppend(const wxString& value) { arrayAppend(JSONItem(wxT(""), value.c_str(), cJSON_String)); }
-#else
-void JSONItem::arrayAppend(const wxString& value) { arrayAppend(JSONItem(wxT(""), value, cJSON_String)); }
-#endif
wxArrayString JSONItem::toArrayString(const wxArrayString& defaultValue) const
{
++++++ fix_node_env-script-interpreter.patch ++++++
diff -ruN a/LanguageServer/codelite-lsp/codelite-lsp-helper c/LanguageServer/codelite-lsp/codelite-lsp-helper
--- a/LanguageServer/codelite-lsp/codelite-lsp-helper 2020-07-12 10:19:14.000000000 +0700
+++ c/LanguageServer/codelite-lsp/codelite-lsp-helper 2021-02-02 00:27:36.129821472 +0700
@@ -1,4 +1,4 @@
-#!/usr/bin/env node
+#!/usr/bin/node
//===--------------------------------------------------------------------------------
// Copyright: Eran Ifrah