pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/editors/codelite



Module Name:    pkgsrc
Committed By:   andvar
Date:           Mon Oct 17 16:50:04 UTC 2022

Modified Files:
        pkgsrc/editors/codelite: Makefile PLIST distinfo
        pkgsrc/editors/codelite/patches:
            patch-sdk_asio-1.12.1_asio_detail_impl_kqueue__reactor.ipp
Added Files:
        pkgsrc/editors/codelite/patches: patch-CodeLite_tags_storage_sqlite3.h
            patch-LanguageServer_LanguageServerLogView.h
            patch-Plugin_DiffSideBySidePanel.h patch-ctagsd_CMakeLists.txt
            patch-wxcrafter_myxh__propgrid.cpp
Removed Files:
        pkgsrc/editors/codelite/patches: patch-CodeLite_fileextmanager.cpp

Log Message:
codelite: update to 16.0. Thanks Thomas Klausner for reviewing the patch.

bug fixes
    Fixed: externally modified files are not reloaded
    Remove redundant file system scan
    Fixed: always pass RootURI when sending Initialize request to the LSP server, even if the user did not provide one
    Fixed: JSON encoding issue
    Fixed: codelite-terminal does not apply environment variables when generating compile_flags.txt file required by clangd
    Fixed: Linux: Move tab right / left with the keyboard does not work
    Fixed: file system workspace: in some cases, system scan is not working as intended and only scans the top level
    Fixed: code formatter regression which caused CodeLite to override the user's settings
    Fixed: GTK: right click on tab causes a weird behavior of selecting random file
    Fixed: Implement All Un-Implemented Functions not working when header and source are not placed in the same directory
    Fixed: wxCrafter: "Insert into new Sizer" should not be visible for wxAuiManager (by rlbxku1r)
    Fixed: CodeLite Makefile Generator - UNIX: Windows resource files are not compiled
    fixed: Word completion is broken if a word contains letters with diacritics
    Fixed: "Closed other tabs" -> send "close event" for every closed tab
    fixed: PHP workspace: allow user to include the workspace or project folder when selecting `Find In Folder` from the context menu
    fixed: PHP workspace: make it multiple selection
    Fixed: make sure that the editor folder exists before writing
    Fixed: C++ workspace: post/pre build events: ignore empty commands
    Fixed: Feature request: include file extensions for Drupal projects https://github.com/eranif/codelite/issues/2704
    Fixed: Fix Output View multi-byte text handling (rlbxku1r)
    Fixed: PHP settings: post parse-workspace event only when a PHP workspace is opened
    Fixed: spell checker: when calling "Check" on a file, do not uncheck the option of the 'continuous checking'

Changes
    Fixed: be more tolerant for language server implementations that do not implement the protocol as is (e.g. rust)
    Added Rust syntax highlight
    LSP: support completion item's doc implemented inside MarkupContent
    Added new Rust plugin
    Git Commit List dialog: layout changes. Make the diff window occupy half of the dialog
    Windows / macOS: visual updates to the notebook control
    clToolBar: honour the wxTB_NODIVIDER style flag
    use a more sensible colours for highligthing text in the various tree / list controls
    Implemented a custom Menu Bar
    Better dark mode support on windows
    General performance & stability fixes
    Added new Remote plugin which allows user to load a remote "File System Workspace" over SSH
    Task view removed. It is now part of the Find In Files dialog
    Colours and fonts dialog: updating the text selection colours is now done for all the languages supported for the currently active theme
    Windows: use codelite-exec to launch program when the 'pause when execution ends' flag is checked in the project settings. This also prints the program exit code

Details can be found here: https://docs.codelite.org/release_notes/v16_0_0/
----------------------------------------------------------------------


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 pkgsrc/editors/codelite/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/editors/codelite/PLIST
cvs rdiff -u -r1.11 -r1.12 pkgsrc/editors/codelite/distinfo
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/editors/codelite/patches/patch-CodeLite_fileextmanager.cpp
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/editors/codelite/patches/patch-CodeLite_tags_storage_sqlite3.h \
    pkgsrc/editors/codelite/patches/patch-LanguageServer_LanguageServerLogView.h \
    pkgsrc/editors/codelite/patches/patch-Plugin_DiffSideBySidePanel.h \
    pkgsrc/editors/codelite/patches/patch-ctagsd_CMakeLists.txt \
    pkgsrc/editors/codelite/patches/patch-wxcrafter_myxh__propgrid.cpp
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/editors/codelite/patches/patch-sdk_asio-1.12.1_asio_detail_impl_kqueue__reactor.ipp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/editors/codelite/Makefile
diff -u pkgsrc/editors/codelite/Makefile:1.45 pkgsrc/editors/codelite/Makefile:1.46
--- pkgsrc/editors/codelite/Makefile:1.45       Thu Aug 11 05:08:15 2022
+++ pkgsrc/editors/codelite/Makefile    Mon Oct 17 16:50:03 2022
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.45 2022/08/11 05:08:15 gutteridge Exp $
+# $NetBSD: Makefile,v 1.46 2022/10/17 16:50:03 andvar Exp $
 
-DISTNAME=      codelite-15.0
-PKGREVISION=   7
+DISTNAME=      codelite-16.0
+GITHUB_TAG=    16.0.0-1
 CATEGORIES=    editors x11
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=eranif/}
 
@@ -37,17 +37,18 @@ SUBST_SED.ena-netbsd+=              -e 's,IS_NETBSD 
 SUBST_CLASSES+=                        fix-bash
 SUBST_STAGE.fix-bash=          pre-configure
 SUBST_MESSAGE.fix-bash=                Fix bash path
-SUBST_FILES.fix-bash+=         codelite_terminal/wxTerminalCtrl.cpp
+SUBST_FILES.fix-bash+=         CodeLite/TerminalEmulator.cpp
 SUBST_FILES.fix-bash+=         CodeLite/clConsoleBash.cpp
 SUBST_FILES.fix-bash+=         CodeLite/clConsoleGnomeTerminal.cpp
 SUBST_FILES.fix-bash+=         CodeLite/clConsoleRXVTerminal.cpp
-SUBST_FILES.fix-bash+=         CodeLite/TerminalEmulator.cpp
 SUBST_FILES.fix-bash+=         CodeLite/fileutils.cpp
-SUBST_FILES.fix-bash+=         Docker/clDockerDriver.cpp
-SUBST_FILES.fix-bash+=         Plugin/clRemoteBuilder.cpp
 SUBST_FILES.fix-bash+=         Plugin/custombuildrequest.cpp
 SUBST_FILES.fix-bash+=         Plugin/pipedprocess.cpp
 SUBST_FILES.fix-bash+=         Plugin/wxterminal.cpp
+SUBST_FILES.fix-bash+=         Remoty/RemotyWorkspace.cpp
+SUBST_FILES.fix-bash+=         cmake/Modules/UtilsHelper.cmake
+SUBST_FILES.fix-bash+=         codelite_terminal/wxTerminalCtrl.cpp
+SUBST_FILES.fix-bash+=         ctagsd/lib/Settings.cpp
 SUBST_SED.fix-bash+=           -e 's,/bin/bash,${BASH},g'
 
 SUBST_CLASSES+=                        fix-man-path
@@ -56,8 +57,10 @@ SUBST_MESSAGE.fix-man-path=  Fix man path
 SUBST_FILES.fix-man-path=      LiteEditor/CMakeLists.txt
 SUBST_SED.fix-man-path+=       -e 's,${CL_PREFIX}/share/man,${CL_PREFIX}/${PKGMANDIR},g'
 
+REPLACE_BASH+=         docs/docs/deploy.sh
 REPLACE_BASH+=         make-weekly
 REPLACE_NODEJS+=       LanguageServer/codelite-lsp/codelite-lsp-helper
+REPLACE_PYTHON+=       Runtime/codelite-remote
 REPLACE_PYTHON+=       codelite_open_helper.py
 
 LDFLAGS+=      ${COMPILER_RPATH_FLAG}${PREFIX}/lib/codelite
@@ -74,5 +77,5 @@ BUILDLINK_TRANSFORM+= opt:-std=c++11:-st
 .include "../../textproc/hunspell/buildlink3.mk"
 .include "../../textproc//uchardet/buildlink3.mk"
 .include "../../security/libssh/buildlink3.mk"
-.include "../../x11/wxGTK30/buildlink3.mk"
+.include "../../x11/wxGTK31/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/editors/codelite/PLIST
diff -u pkgsrc/editors/codelite/PLIST:1.6 pkgsrc/editors/codelite/PLIST:1.7
--- pkgsrc/editors/codelite/PLIST:1.6   Sat Mar  6 16:08:32 2021
+++ pkgsrc/editors/codelite/PLIST       Mon Oct 17 16:50:03 2022
@@ -1,17 +1,20 @@
-@comment $NetBSD: PLIST,v 1.6 2021/03/06 16:08:32 wiz Exp $
+@comment $NetBSD: PLIST,v 1.7 2022/10/17 16:50:03 andvar Exp $
 bin/codelite
 bin/codelite-cc
+bin/codelite-ctags
 bin/codelite-echo
 bin/codelite-lsp-helper
 bin/codelite-make
+bin/codelite-remote
 bin/codelite-terminal
 bin/codelite_cppcheck
 bin/codelite_exec
 bin/codelite_fix_files
-bin/codelite_indexer
 bin/codelite_kill_children
 bin/codelite_open_helper.py
 bin/codelite_xterm
+bin/ctagsd
+bin/ctagsd-tests
 lib/codelite/AutoSave.so
 lib/codelite/CMakePlugin.so
 lib/codelite/CodeFormatter.so
@@ -29,6 +32,8 @@ lib/codelite/Outline.so
 lib/codelite/PHPLint.so
 lib/codelite/PHPRefactoring.so
 lib/codelite/QMakePlugin.so
+lib/codelite/Remoty.so
+lib/codelite/Rust.so
 lib/codelite/SFTP.so
 lib/codelite/SmartCompletion.so
 lib/codelite/SnipWiz.so
@@ -57,14 +62,13 @@ lib/codelite/wxFormBuilder.so
 man/man1/codelite-make.1
 man/man1/codelite.1
 man/man1/codelite_fix_files.1
+man/man1/codelite_open_helper.1
 share/applications/codelite.desktop
 share/codelite/LICENSE
 share/codelite/PHP.zip
 share/codelite/astyle.sample
-share/codelite/clang-tools.tgz
 share/codelite/codelite-bitmaps-dark.zip
 share/codelite/codelite-bitmaps-light.zip
-share/codelite/config/accelerators.conf.default
 share/codelite/config/build_settings.xml.default
 share/codelite/config/cfg/avr.cfg
 share/codelite/config/cfg/bsd.cfg
@@ -96,7 +100,10 @@ share/codelite/gdb_printers/libstdcxx/__
 share/codelite/gdb_printers/libstdcxx/v6/__init__.py
 share/codelite/gdb_printers/libstdcxx/v6/printers.py
 share/codelite/gdb_printers/libstdcxx/v6/xmethods.py
-share/codelite/gdb_printers/qt4.py
+share/codelite/gdb_printers/rustlib/etc/gdb_load_rust_pretty_printers.py
+share/codelite/gdb_printers/rustlib/etc/gdb_lookup.py
+share/codelite/gdb_printers/rustlib/etc/gdb_providers.py
+share/codelite/gdb_printers/rustlib/etc/rust_types.py
 share/codelite/gdb_printers/wx.py
 share/codelite/images/common_tasks.png
 share/codelite/images/help_earth.png
@@ -106,7 +113,6 @@ share/codelite/images/recent_files.png
 share/codelite/images/recent_workspaces.png
 share/codelite/images/splashscreen.png
 share/codelite/images/splashscreen%2x.png@localhost
-share/codelite/jsctags.zip
 share/codelite/lexers/lexers.json
 share/codelite/php.sample
 share/codelite/phprefactor.phar
@@ -255,23 +261,23 @@ share/codelite/templates/projects/execut
 share/codelite/templates/projects/executable-wx-xrc/main.cpp
 share/codelite/templates/projects/executable-wx-xrc/main.h
 share/codelite/templates/projects/executable-wxcrafter-dialog/MainDialog.cpp
-share/codelite/templates/projects/executable-wxcrafter-dialog/MainDialog.h
+share/codelite/templates/projects/executable-wxcrafter-dialog/MainDialog.hpp
 share/codelite/templates/projects/executable-wxcrafter-dialog/icon.png
 share/codelite/templates/projects/executable-wxcrafter-dialog/main.cpp
 share/codelite/templates/projects/executable-wxcrafter-dialog/win_resources.rc
 share/codelite/templates/projects/executable-wxcrafter-dialog/wxCrafter_MainDialog.project
 share/codelite/templates/projects/executable-wxcrafter-dialog/wxcrafter.cpp
-share/codelite/templates/projects/executable-wxcrafter-dialog/wxcrafter.h
+share/codelite/templates/projects/executable-wxcrafter-dialog/wxcrafter.hpp
 share/codelite/templates/projects/executable-wxcrafter-dialog/wxcrafter.wxcp
 share/codelite/templates/projects/executable-wxcrafter-dialog/wxcrafter_bitmaps.cpp
 share/codelite/templates/projects/executable-wxcrafter-frame/MainFrame.cpp
-share/codelite/templates/projects/executable-wxcrafter-frame/MainFrame.h
+share/codelite/templates/projects/executable-wxcrafter-frame/MainFrame.hpp
 share/codelite/templates/projects/executable-wxcrafter-frame/icon.png
 share/codelite/templates/projects/executable-wxcrafter-frame/main.cpp
 share/codelite/templates/projects/executable-wxcrafter-frame/win_resources.rc
 share/codelite/templates/projects/executable-wxcrafter-frame/wxCrafter_MainFrame.project
 share/codelite/templates/projects/executable-wxcrafter-frame/wxcrafter.cpp
-share/codelite/templates/projects/executable-wxcrafter-frame/wxcrafter.h
+share/codelite/templates/projects/executable-wxcrafter-frame/wxcrafter.hpp
 share/codelite/templates/projects/executable-wxcrafter-frame/wxcrafter.wxcp
 share/codelite/templates/projects/executable-wxcrafter-frame/wxcrafter_bitmaps.cpp
 share/codelite/templates/projects/executable/executable.project
@@ -306,5 +312,6 @@ share/icons/hicolor/32x32@2x/apps/codeli
 share/icons/hicolor/64x64/apps/codelite.png
 share/icons/hicolor/64x64@2x/apps/codelite.png
 share/locale/cs/LC_MESSAGES/codelite.mo
+share/locale/ja_JP/LC_MESSAGES/codelite.mo
 share/locale/ru_RU/LC_MESSAGES/codelite.mo
 share/locale/zh_CN/LC_MESSAGES/codelite.mo

Index: pkgsrc/editors/codelite/distinfo
diff -u pkgsrc/editors/codelite/distinfo:1.11 pkgsrc/editors/codelite/distinfo:1.12
--- pkgsrc/editors/codelite/distinfo:1.11       Tue Oct 26 10:21:25 2021
+++ pkgsrc/editors/codelite/distinfo    Mon Oct 17 16:50:03 2022
@@ -1,9 +1,13 @@
-$NetBSD: distinfo,v 1.11 2021/10/26 10:21:25 nia Exp $
+$NetBSD: distinfo,v 1.12 2022/10/17 16:50:03 andvar Exp $
 
-BLAKE2s (codelite-15.0.tar.gz) = f733026f59670dad4949d55186594c5f7d300b79e90e10fc5b8782467872b5ba
-SHA512 (codelite-15.0.tar.gz) = fd5777cdb57d184407cff4503d255b4bcdf14041420ff9daf7043f710c159d6bdb47d467e92948f96ce4eb15eef40b782feec7195f5f66845f3c82d911b3f0b8
-Size (codelite-15.0.tar.gz) = 104970727 bytes
-SHA1 (patch-CodeLite_fileextmanager.cpp) = 1eaf696d3bde907a635d767b3d022e1d92692087
-SHA1 (patch-sdk_asio-1.12.1_asio_detail_impl_kqueue__reactor.ipp) = bdbcf78c6198da9ceb123373fd6b99419ae94896
+BLAKE2s (codelite-16.0.tar.gz) = 9f1d0335b0d7571e2aa2add64996a70141571ab8ae67fd360f3db9bfa9f6a3cf
+SHA512 (codelite-16.0.tar.gz) = 4965207a11869bb5f5ec33538bdc2a7312f8d444c615cf7e5a653a26abe2e823bd35a07d1bce73812935025e9a2dc3d6b970e02c7eb2da75f3a22c14d7670af7
+Size (codelite-16.0.tar.gz) = 89755705 bytes
+SHA1 (patch-CodeLite_tags_storage_sqlite3.h) = 5de0ea959cbdcec260f4d7e8ad55a59ec65b83aa
+SHA1 (patch-LanguageServer_LanguageServerLogView.h) = e098709cd6e6cf76a5416b1b8e93f60a6b636bd6
+SHA1 (patch-Plugin_DiffSideBySidePanel.h) = bfc07ea848244a2d2295f10816da4f37edc1e2e4
+SHA1 (patch-ctagsd_CMakeLists.txt) = 2f86721027013407fd662b4f5b3df3f47ad5c5c7
+SHA1 (patch-sdk_asio-1.12.1_asio_detail_impl_kqueue__reactor.ipp) = 20b605046b94de06a8491a282ec8788bea7a50c7
 SHA1 (patch-svgs_svgs-dark_create-logo.sh) = d794ca7bb16a248a7aead3ca30e6c9f16073e1a3
 SHA1 (patch-svgs_svgs-light_create-logo.sh) = 4b0d06911baf89636311cc10e7042f3a2b4f22b3
+SHA1 (patch-wxcrafter_myxh__propgrid.cpp) = 2cdf5abea02aabb187098fb08d5f9ceb1d4148f1

Index: pkgsrc/editors/codelite/patches/patch-sdk_asio-1.12.1_asio_detail_impl_kqueue__reactor.ipp
diff -u pkgsrc/editors/codelite/patches/patch-sdk_asio-1.12.1_asio_detail_impl_kqueue__reactor.ipp:1.1 pkgsrc/editors/codelite/patches/patch-sdk_asio-1.12.1_asio_detail_impl_kqueue__reactor.ipp:1.2
--- pkgsrc/editors/codelite/patches/patch-sdk_asio-1.12.1_asio_detail_impl_kqueue__reactor.ipp:1.1      Thu Mar 26 21:53:07 2020
+++ pkgsrc/editors/codelite/patches/patch-sdk_asio-1.12.1_asio_detail_impl_kqueue__reactor.ipp  Mon Oct 17 16:50:03 2022
@@ -1,4 +1,6 @@
-$NetBSD: patch-sdk_asio-1.12.1_asio_detail_impl_kqueue__reactor.ipp,v 1.1 2020/03/26 21:53:07 joerg Exp $
+$NetBSD: patch-sdk_asio-1.12.1_asio_detail_impl_kqueue__reactor.ipp,v 1.2 2022/10/17 16:50:03 andvar Exp $
+
+Deal with kqueue changes in NetBSD.
 
 --- sdk/asio-1.12.1/asio/detail/impl/kqueue_reactor.ipp.orig   2020-03-26 12:10:17.919075389 +0000
 +++ sdk/asio-1.12.1/asio/detail/impl/kqueue_reactor.ipp

Added files:

Index: pkgsrc/editors/codelite/patches/patch-CodeLite_tags_storage_sqlite3.h
diff -u /dev/null pkgsrc/editors/codelite/patches/patch-CodeLite_tags_storage_sqlite3.h:1.1
--- /dev/null   Mon Oct 17 16:50:04 2022
+++ pkgsrc/editors/codelite/patches/patch-CodeLite_tags_storage_sqlite3.h       Mon Oct 17 16:50:03 2022
@@ -0,0 +1,23 @@
+$NetBSD: patch-CodeLite_tags_storage_sqlite3.h,v 1.1 2022/10/17 16:50:03 andvar Exp $
+
+Reorder <wx/filename.h> to fix the build in NetBSD.
+
+--- CodeLite/tags_storage_sqlite3.h    2022-05-03 22:38:34.770034020 +0300
++++ CodeLite/tags_storage_sqlite3.h
+@@ -25,6 +25,8 @@
+ #ifndef CODELITE_TAGS_DATABASE_H
+ #define CODELITE_TAGS_DATABASE_H
+ 
++#include <wx/filename.h>
++
+ #include "codelite_exports.h"
+ #include "entry.h"
+ #include "fileentry.h"
+@@ -33,7 +35,6 @@
+ #include "wxStringHash.h"
+ 
+ #include <unordered_map>
+-#include <wx/filename.h>
+ #include <wx/wxsqlite3.h>
+ 
+ /**
Index: pkgsrc/editors/codelite/patches/patch-LanguageServer_LanguageServerLogView.h
diff -u /dev/null pkgsrc/editors/codelite/patches/patch-LanguageServer_LanguageServerLogView.h:1.1
--- /dev/null   Mon Oct 17 16:50:04 2022
+++ pkgsrc/editors/codelite/patches/patch-LanguageServer_LanguageServerLogView.h        Mon Oct 17 16:50:03 2022
@@ -0,0 +1,13 @@
+$NetBSD: patch-LanguageServer_LanguageServerLogView.h,v 1.1 2022/10/17 16:50:03 andvar Exp $
+
+Reorder <wx/menu.h> to fix build in NetBSD.
+
+--- LanguageServer/LanguageServerLogView.h     2022-05-02 22:26:31.620093956 +0300
++++ LanguageServer/LanguageServerLogView.h
+@@ -1,5 +1,6 @@
+ #ifndef LANGUAGESERVERLOGVIEW_H
+ #define LANGUAGESERVERLOGVIEW_H
++#include <wx/menu.h>
+ #include "UI.h"
+ 
+ class LanguageServerLogView : public LanguageServerLogViewBase
Index: pkgsrc/editors/codelite/patches/patch-Plugin_DiffSideBySidePanel.h
diff -u /dev/null pkgsrc/editors/codelite/patches/patch-Plugin_DiffSideBySidePanel.h:1.1
--- /dev/null   Mon Oct 17 16:50:04 2022
+++ pkgsrc/editors/codelite/patches/patch-Plugin_DiffSideBySidePanel.h  Mon Oct 17 16:50:03 2022
@@ -0,0 +1,23 @@
+$NetBSD: patch-Plugin_DiffSideBySidePanel.h,v 1.1 2022/10/17 16:50:03 andvar Exp $
+
+Reorder <wx/filename.h> to fix build in NetBSD.
+
+--- Plugin/DiffSideBySidePanel.h.orig  2022-04-18 08:09:00.000000000 +0300
++++ Plugin/DiffSideBySidePanel.h
+@@ -26,13 +26,15 @@
+ #ifndef DIFFSIDEBYSIDEPANEL_H
+ #define DIFFSIDEBYSIDEPANEL_H
+ 
++#include <wx/filename.h>
++
++#include "wxcrafter_plugin.h"
+ #include "DiffConfig.h"
+ #include "clDTL.h"
+ #include "clPluginsFindBar.h"
+ #include "wxcrafter_plugin.h"
+ 
+ #include <vector>
+-#include <wx/filename.h>
+ 
+ class clToolBar;
+ class WXDLLIMPEXP_SDK DiffSideBySidePanel : public DiffSideBySidePanelBase
Index: pkgsrc/editors/codelite/patches/patch-ctagsd_CMakeLists.txt
diff -u /dev/null pkgsrc/editors/codelite/patches/patch-ctagsd_CMakeLists.txt:1.1
--- /dev/null   Mon Oct 17 16:50:04 2022
+++ pkgsrc/editors/codelite/patches/patch-ctagsd_CMakeLists.txt Mon Oct 17 16:50:03 2022
@@ -0,0 +1,16 @@
+$NetBSD: patch-ctagsd_CMakeLists.txt,v 1.1 2022/10/17 16:50:03 andvar Exp $
+
+Portability patch, not all systems have libdl.
+
+--- ctagsd/CMakeLists.txt.orig
++++ ctagsd/CMakeLists.txt      2022-10-15 19:55:44.830876033 +0300
+@@ -42,7 +42,8 @@ include_directories("${CL_SRC_ROOT}/Plug
+ 
+ set(UTIL_LIB "")
+ if(UNIX)
+-    set(UTIL_LIB "-lutil -ldl")
++    set(UTIL_LIB "-lutil")
++    list(APPEND UTIL_LIB ${CMAKE_DL_LIBS})
+ endif(UNIX)
+ 
+ FILE(GLOB LIBSRC "lib/*.cpp")
Index: pkgsrc/editors/codelite/patches/patch-wxcrafter_myxh__propgrid.cpp
diff -u /dev/null pkgsrc/editors/codelite/patches/patch-wxcrafter_myxh__propgrid.cpp:1.1
--- /dev/null   Mon Oct 17 16:50:04 2022
+++ pkgsrc/editors/codelite/patches/patch-wxcrafter_myxh__propgrid.cpp  Mon Oct 17 16:50:04 2022
@@ -0,0 +1,15 @@
+$NetBSD: patch-wxcrafter_myxh__propgrid.cpp,v 1.1 2022/10/17 16:50:04 andvar Exp $
+
+Fix from upstream: SetSplitterLeft was internal function in wxWidgets and became protected.
+
+--- wxcrafter/myxh_propgrid.cpp.orig   2022-04-18 08:09:00.000000000 +0300
++++ wxcrafter/myxh_propgrid.cpp
+@@ -48,7 +48,7 @@ wxObject* MyWxPropGridXmlHandler::DoCrea
+ 
+         // add the splitter property after the children were added
+         int splitterLeft = GetBool("splitterleft");
+-        if(splitterLeft) { m_pgmgr->GetPage(0)->SetSplitterLeft(); }
++        if(splitterLeft) { m_pgmgr->SetSplitterLeft(); }
+ 
+         int splitterPos = GetLong("splitterpos", wxNOT_FOUND);
+         if(splitterPos != wxNOT_FOUND) { m_pgmgr->GetPage(0)->SetSplitterPosition(splitterPos); }



Home | Main Index | Thread Index | Old Index