Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] codelite: update to 17.0.0.
@ 2024-01-10 15:03 Calandracas606
  2024-01-10 15:11 ` [PR REVIEW] " Calandracas606
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Calandracas606 @ 2024-01-10 15:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1301 bytes --]

There is a new pull request by Calandracas606 against master on the void-packages repository

https://github.com/Calandracas606/void-packages codelite-17.0.0
https://github.com/void-linux/void-packages/pull/48154

codelite: update to 17.0.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-glibc
  - aarch64-musl  (cross)
  - armv7l (cross)
  - armv6l-musl (cross)



A patch file from https://github.com/void-linux/void-packages/pull/48154.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-codelite-17.0.0-48154.patch --]
[-- Type: text/x-diff, Size: 11518 bytes --]

From 0f2589bb1c385ce5e3c0b47413e0aeb56540ba67 Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Wed, 10 Jan 2024 10:02:13 -0500
Subject: [PATCH] codelite: update to 17.0.0.

---
 srcpkgs/codelite/patches/ctags-cross.patch   |  19 +++
 srcpkgs/codelite/patches/install-ctags.patch |  11 --
 srcpkgs/codelite/patches/wx-master.patch     |  32 +++++
 srcpkgs/codelite/patches/wx32.patch          | 131 -------------------
 srcpkgs/codelite/template                    |  17 +--
 5 files changed, 55 insertions(+), 155 deletions(-)
 create mode 100644 srcpkgs/codelite/patches/ctags-cross.patch
 delete mode 100644 srcpkgs/codelite/patches/install-ctags.patch
 create mode 100644 srcpkgs/codelite/patches/wx-master.patch
 delete mode 100644 srcpkgs/codelite/patches/wx32.patch

diff --git a/srcpkgs/codelite/patches/ctags-cross.patch b/srcpkgs/codelite/patches/ctags-cross.patch
new file mode 100644
index 0000000000000..9183d600a6444
--- /dev/null
+++ b/srcpkgs/codelite/patches/ctags-cross.patch
@@ -0,0 +1,19 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c88083fd1..ee251c58f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -179,14 +179,6 @@ else(APPLE)
+     set(WX_COMPONENTS "std aui propgrid stc ribbon richtext")
+ endif()
+ 
+-if(UNIX)
+-    find_path(CTAGS_SUBMODULE CMakeLists.txt PATHS ${CMAKE_SOURCE_DIR}/ctags/)
+-    if(NOT CTAGS_SUBMODULE)
+-        message(STATUS "Could not locate `${CMAKE_SOURCE_DIR}/ctags/CMakeLists.txt` file")
+-        message(FATAL_ERROR "Please make sure you have run `git submodule update --init`")
+-    endif()
+-endif()
+-
+ if(WITH_WXPATH)
+     set(ENV{PATH} ${WITH_WXPATH}:$ENV{PATH})
+ endif()
diff --git a/srcpkgs/codelite/patches/install-ctags.patch b/srcpkgs/codelite/patches/install-ctags.patch
deleted file mode 100644
index 8ef1746225e10..0000000000000
--- a/srcpkgs/codelite/patches/install-ctags.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -744,3 +744,8 @@
-     ## Scan for user plugins
-     CL_SCAN_FOR_PLUGINS()
- endif() # NOT WXC_APP
-+
-+if (UNIX)
-+	set_target_properties(ctags PROPERTIES OUTPUT_NAME "codelite-ctags")
-+	install(TARGETS ctags DESTINATION ${CL_PREFIX}/bin PERMISSIONS ${EXE_PERM})
-+endif()
diff --git a/srcpkgs/codelite/patches/wx-master.patch b/srcpkgs/codelite/patches/wx-master.patch
new file mode 100644
index 0000000000000..151411cc8770f
--- /dev/null
+++ b/srcpkgs/codelite/patches/wx-master.patch
@@ -0,0 +1,32 @@
+From c5c975afa30c958b87399255abf13e653138a697 Mon Sep 17 00:00:00 2001
+From: Eran Ifrah <eran@codelite.org>
+Date: Tue, 21 Mar 2023 01:37:47 +0200
+Subject: [PATCH] fixed build against latest wx-master
+
+---
+ LiteEditor/editorsettingsdockingwidows.cpp     | 4 ++--
+ codelitephp/php-plugin/php_open_resource_dlg.h | 2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/LiteEditor/editorsettingsdockingwidows.cpp b/LiteEditor/editorsettingsdockingwidows.cpp
+index d14341863e..973f194a39 100644
+--- a/LiteEditor/editorsettingsdockingwidows.cpp
++++ b/LiteEditor/editorsettingsdockingwidows.cpp
+@@ -59,7 +59,7 @@ EditorSettingsDockingWindows::EditorSettingsDockingWindows(wxWindow* parent, Opt
+     std::unordered_map<wxString, wxDirection> orientation_map = { { "UP", wxUP }, { "DOWN", wxDOWN } };
+     std::unordered_map<int, wxString> orientation_map_reverse = { { wxUP, "UP" }, { wxDOWN, "DOWN" } };
+ 
+-    AddProperty(_("Workspace tabs orientation"), { "UP", "DOWN" },
++    AddProperty(_("Workspace tabs orientation"), std::vector<wxString>{ "UP", "DOWN" },
+                 orientation_map_reverse[m_options->GetWorkspaceTabsDirection()],
+                 [this, orientation_map](const wxString&, const wxAny& value) mutable {
+                     wxString str_value;
+@@ -67,7 +67,7 @@ EditorSettingsDockingWindows::EditorSettingsDockingWindows(wxWindow* parent, Opt
+                         m_options->SetWorkspaceTabsDirection(orientation_map[str_value]);
+                     }
+                 });
+-    AddProperty(_("Output tabs orientation"), { "UP", "DOWN" },
++    AddProperty(_("Output tabs orientation"), std::vector<wxString>{ "UP", "DOWN" },
+                 orientation_map_reverse[m_options->GetOutputTabsDirection()],
+                 [this, orientation_map](const wxString&, const wxAny& value) mutable {
+                     wxString str_value;
diff --git a/srcpkgs/codelite/patches/wx32.patch b/srcpkgs/codelite/patches/wx32.patch
deleted file mode 100644
index f5535ebaf1b3b..0000000000000
--- a/srcpkgs/codelite/patches/wx32.patch
+++ /dev/null
@@ -1,131 +0,0 @@
-From 427af358d41deb00a4628e5b39c63a929cef894a Mon Sep 17 00:00:00 2001
-From: Eran Ifrah <eran@codelite.org>
-Date: Fri, 10 Jun 2022 10:15:52 +0300
-Subject: [PATCH] macos: hunspell: use the library from brew fixed build
- against wx3.1.7 temporarly: disable building LLDB on macos
-
----
- CMakeLists.txt                               |   5 +-
- SpellChecker/CMakeLists.txt                  |  27 +-
- sdk/hunspell/include/affentry.hxx            | 144 -----------
- sdk/hunspell/include/affixmgr.hxx            | 252 -------------------
- sdk/hunspell/include/atypes.hxx              | 107 --------
- sdk/hunspell/include/baseaffix.hxx           |  32 ---
- sdk/hunspell/include/csutil.hxx              | 223 ----------------
- sdk/hunspell/include/dictmgr.hxx             |  39 ---
- sdk/hunspell/include/filemgr.hxx             |  28 ---
- sdk/hunspell/include/hashmgr.hxx             |  69 -----
- sdk/hunspell/include/htypes.hxx              |  32 ---
- sdk/hunspell/include/hunspell.hxx            | 184 --------------
- sdk/hunspell/include/hunzip.hxx              |  47 ----
- sdk/hunspell/include/langnum.hxx             |  38 ---
- sdk/hunspell/include/phonet.hxx              |  52 ----
- sdk/hunspell/include/replist.hxx             |  30 ---
- sdk/hunspell/include/suggestmgr.hxx          | 115 ---------
- sdk/hunspell/include/w_char.hxx              |  21 --
- sdk/hunspell/lib/osx/libhunspell-1.3.0.dylib | Bin 363876 -> 0 bytes
- wxcrafter/myxh_propgrid.cpp                  |  32 ++-
- 20 files changed, 36 insertions(+), 1441 deletions(-)
- delete mode 100644 sdk/hunspell/include/affentry.hxx
- delete mode 100644 sdk/hunspell/include/affixmgr.hxx
- delete mode 100644 sdk/hunspell/include/atypes.hxx
- delete mode 100644 sdk/hunspell/include/baseaffix.hxx
- delete mode 100644 sdk/hunspell/include/csutil.hxx
- delete mode 100644 sdk/hunspell/include/dictmgr.hxx
- delete mode 100644 sdk/hunspell/include/filemgr.hxx
- delete mode 100644 sdk/hunspell/include/hashmgr.hxx
- delete mode 100644 sdk/hunspell/include/htypes.hxx
- delete mode 100644 sdk/hunspell/include/hunspell.hxx
- delete mode 100644 sdk/hunspell/include/hunzip.hxx
- delete mode 100644 sdk/hunspell/include/langnum.hxx
- delete mode 100644 sdk/hunspell/include/phonet.hxx
- delete mode 100644 sdk/hunspell/include/replist.hxx
- delete mode 100644 sdk/hunspell/include/suggestmgr.hxx
- delete mode 100644 sdk/hunspell/include/w_char.hxx
- delete mode 100755 sdk/hunspell/lib/osx/libhunspell-1.3.0.dylib
-
-diff --git a/wxcrafter/myxh_propgrid.cpp b/wxcrafter/myxh_propgrid.cpp
-index 974bc62f0..3fcb3845d 100644
---- a/wxcrafter/myxh_propgrid.cpp
-+++ b/wxcrafter/myxh_propgrid.cpp
-@@ -1,4 +1,5 @@
- #include "myxh_propgrid.h"
-+
- #include <wx/datetime.h>
- #include <wx/log.h>
- #include <wx/propgrid/advprops.h>
-@@ -48,10 +49,14 @@ wxObject* MyWxPropGridXmlHandler::DoCreateResource()
- 
-         // 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); }
-+        if(splitterPos != wxNOT_FOUND) {
-+            m_pgmgr->GetPage(0)->SetSplitterPosition(splitterPos);
-+        }
- 
-         m_isInside = false;
-         return m_pgmgr;
-@@ -67,7 +72,9 @@ bool MyWxPropGridXmlHandler::CanHandle(wxXmlNode* node)
- 
- void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- {
--    if(!HasParam(wxT("proptype"))) { return; }
-+    if(!HasParam(wxT("proptype"))) {
-+        return;
-+    }
- 
-     // Property
-     wxString proptype = GetText("proptype");
-@@ -116,7 +123,9 @@ void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- 
-     } else if(proptype == "wxEnumProperty") {
-         int sel = items.Index(value);
--        if(sel == wxNOT_FOUND) { sel = 0; }
-+        if(sel == wxNOT_FOUND) {
-+            sel = 0;
-+        }
- 
-         prop = DoAppendProperty(parent, new wxEnumProperty(label, wxPG_LABEL, items, wxArrayInt(), sel));
- 
-@@ -143,8 +152,12 @@ void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- 
-     // Handle nested children
-     if(prop) {
--        if(bgcol.IsOk()) { prop->SetBackgroundColour(bgcol, bgcolRecurse); }
--        if(!propEditor.IsEmpty()) { prop->SetEditor(propEditor); }
-+        if(bgcol.IsOk()) {
-+            prop->SetBackgroundColour(bgcol, bgcolRecurse);
-+        }
-+        if(!propEditor.IsEmpty()) {
-+            prop->SetEditor(propEditor);
-+        }
-         prop->SetHelpString(tip);
- 
-         // Check to see if this property has children
-@@ -160,12 +173,15 @@ void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- 
- wxArrayString MyWxPropGridXmlHandler::GetArray(const wxXmlNode* node) const
- {
--    if(!node) return wxArrayString();
-+    if(!node)
-+        return wxArrayString();
- 
-     wxArrayString items;
-     wxXmlNode* child = node->GetChildren();
-     while(child) {
--        if(child->GetName() == "item") { items.Add(child->GetNodeContent()); }
-+        if(child->GetName() == "item") {
-+            items.Add(child->GetNodeContent());
-+        }
-         child = child->GetNext();
-     }
-     return items;
--- 
-2.42.0
-
diff --git a/srcpkgs/codelite/template b/srcpkgs/codelite/template
index f8206426888fd..1cee1d75abad8 100644
--- a/srcpkgs/codelite/template
+++ b/srcpkgs/codelite/template
@@ -1,8 +1,7 @@
 # Template file for 'codelite'
 pkgname=codelite
-version=16.0.0
-revision=4
-create_wrksrc=yes
+version=17.0.0
+revision=1
 build_style=cmake
 build_helper=cmake-wxWidgets-gtk3
 configure_args="-DWITH_PCH=0 -DWITH_WX_CONFIG=wx-config-gtk3
@@ -16,10 +15,8 @@ short_desc="Open-source, cross platform IDE for the C/C++ programming languages"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="http://www.codelite.org"
-distfiles="https://github.com/eranif/${pkgname}/archive/${version}.tar.gz
- https://github.com/eranif/ctags/archive/52c724d1132d78ea44894bfe2eaca44f38a9bd85.tar.gz"
-checksum="fb707b98b2f56ae0791c7cb341c6a0240ff26a785dae31f7dcd1038956737957
- 7925adbe15cd240c7e65cf54e8752e7f5dbb24622342b84d151de97d2d75acea"
+distfiles=https://github.com/eranif/codelite/releases/download/${version}/codelite-${version}.tar.gz
+checksum=c0dfe6df38426d761ef5622b7a9ab91481244a09ad751f5daafa37bb9b611d57
 python_version=3
 
 build_options="hunspell lldb sftp"
@@ -33,9 +30,3 @@ case "$XBPS_TARGET_MACHINE" in
 esac
 
 CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
-
-post_extract() {
-	mv codelite-${version}/* .
-	rm -rf universal-ctags
-	mv ctags-52c724d1132d78ea44894bfe2eaca44f38a9bd85 universal-ctags
-}

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR REVIEW] codelite: update to 17.0.0.
  2024-01-10 15:03 [PR PATCH] codelite: update to 17.0.0 Calandracas606
@ 2024-01-10 15:11 ` Calandracas606
  2024-01-10 15:11 ` Calandracas606
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Calandracas606 @ 2024-01-10 15:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 214 bytes --]

New review comment by Calandracas606 on void-packages repository

https://github.com/void-linux/void-packages/pull/48154#discussion_r1447518787

Comment:
The release tarball includes the sources for the submodules

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR REVIEW] codelite: update to 17.0.0.
  2024-01-10 15:03 [PR PATCH] codelite: update to 17.0.0 Calandracas606
  2024-01-10 15:11 ` [PR REVIEW] " Calandracas606
@ 2024-01-10 15:11 ` Calandracas606
  2024-01-10 15:11 ` Calandracas606
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Calandracas606 @ 2024-01-10 15:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 316 bytes --]

New review comment by Calandracas606 on void-packages repository

https://github.com/void-linux/void-packages/pull/48154#discussion_r1447518651

Comment:
CMake doesn't find_path ctags properly when crossbuilding.

The CTAGS_SUBMODULE variable is never used though, and ctags are still built and installed properly

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR REVIEW] codelite: update to 17.0.0.
  2024-01-10 15:03 [PR PATCH] codelite: update to 17.0.0 Calandracas606
  2024-01-10 15:11 ` [PR REVIEW] " Calandracas606
  2024-01-10 15:11 ` Calandracas606
@ 2024-01-10 15:11 ` Calandracas606
  2024-01-16  1:36 ` sgn
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Calandracas606 @ 2024-01-10 15:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 239 bytes --]

New review comment by Calandracas606 on void-packages repository

https://github.com/void-linux/void-packages/pull/48154#discussion_r1447520391

Comment:
Since the release tarball includes the ctags submodule, we no longer need to do this

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR REVIEW] codelite: update to 17.0.0.
  2024-01-10 15:03 [PR PATCH] codelite: update to 17.0.0 Calandracas606
                   ` (2 preceding siblings ...)
  2024-01-10 15:11 ` Calandracas606
@ 2024-01-16  1:36 ` sgn
  2024-01-16  1:38 ` sgn
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: sgn @ 2024-01-16  1:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 207 bytes --]

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/48154#discussion_r1452842734

Comment:
Write that into the patch (the junk part before the real patch)

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR REVIEW] codelite: update to 17.0.0.
  2024-01-10 15:03 [PR PATCH] codelite: update to 17.0.0 Calandracas606
                   ` (3 preceding siblings ...)
  2024-01-16  1:36 ` sgn
@ 2024-01-16  1:38 ` sgn
  2024-01-16  1:38 ` [PR PATCH] [Updated] " sgn
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: sgn @ 2024-01-16  1:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 370 bytes --]

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/48154#discussion_r1452843479

Comment:
```suggestion
CMake doesn't find_path ctags properly when crossbuilding.
The CTAGS_SUBMODULE variable is never used though,
and ctags are still built and installed properly
diff --git a/CMakeLists.txt b/CMakeLists.txt
```

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] codelite: update to 17.0.0.
  2024-01-10 15:03 [PR PATCH] codelite: update to 17.0.0 Calandracas606
                   ` (4 preceding siblings ...)
  2024-01-16  1:38 ` sgn
@ 2024-01-16  1:38 ` sgn
  2024-01-16  2:45 ` Calandracas606
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: sgn @ 2024-01-16  1:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1295 bytes --]

There is an updated pull request by sgn against master on the void-packages repository

https://github.com/Calandracas606/void-packages codelite-17.0.0
https://github.com/void-linux/void-packages/pull/48154

codelite: update to 17.0.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-glibc
  - aarch64-musl  (cross)
  - armv7l (cross)
  - armv6l-musl (cross)



A patch file from https://github.com/void-linux/void-packages/pull/48154.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-codelite-17.0.0-48154.patch --]
[-- Type: text/x-diff, Size: 12405 bytes --]

From 0f2589bb1c385ce5e3c0b47413e0aeb56540ba67 Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Wed, 10 Jan 2024 10:02:13 -0500
Subject: [PATCH 1/2] codelite: update to 17.0.0.

---
 srcpkgs/codelite/patches/ctags-cross.patch   |  19 +++
 srcpkgs/codelite/patches/install-ctags.patch |  11 --
 srcpkgs/codelite/patches/wx-master.patch     |  32 +++++
 srcpkgs/codelite/patches/wx32.patch          | 131 -------------------
 srcpkgs/codelite/template                    |  17 +--
 5 files changed, 55 insertions(+), 155 deletions(-)
 create mode 100644 srcpkgs/codelite/patches/ctags-cross.patch
 delete mode 100644 srcpkgs/codelite/patches/install-ctags.patch
 create mode 100644 srcpkgs/codelite/patches/wx-master.patch
 delete mode 100644 srcpkgs/codelite/patches/wx32.patch

diff --git a/srcpkgs/codelite/patches/ctags-cross.patch b/srcpkgs/codelite/patches/ctags-cross.patch
new file mode 100644
index 0000000000000..9183d600a6444
--- /dev/null
+++ b/srcpkgs/codelite/patches/ctags-cross.patch
@@ -0,0 +1,19 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c88083fd1..ee251c58f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -179,14 +179,6 @@ else(APPLE)
+     set(WX_COMPONENTS "std aui propgrid stc ribbon richtext")
+ endif()
+ 
+-if(UNIX)
+-    find_path(CTAGS_SUBMODULE CMakeLists.txt PATHS ${CMAKE_SOURCE_DIR}/ctags/)
+-    if(NOT CTAGS_SUBMODULE)
+-        message(STATUS "Could not locate `${CMAKE_SOURCE_DIR}/ctags/CMakeLists.txt` file")
+-        message(FATAL_ERROR "Please make sure you have run `git submodule update --init`")
+-    endif()
+-endif()
+-
+ if(WITH_WXPATH)
+     set(ENV{PATH} ${WITH_WXPATH}:$ENV{PATH})
+ endif()
diff --git a/srcpkgs/codelite/patches/install-ctags.patch b/srcpkgs/codelite/patches/install-ctags.patch
deleted file mode 100644
index 8ef1746225e10..0000000000000
--- a/srcpkgs/codelite/patches/install-ctags.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -744,3 +744,8 @@
-     ## Scan for user plugins
-     CL_SCAN_FOR_PLUGINS()
- endif() # NOT WXC_APP
-+
-+if (UNIX)
-+	set_target_properties(ctags PROPERTIES OUTPUT_NAME "codelite-ctags")
-+	install(TARGETS ctags DESTINATION ${CL_PREFIX}/bin PERMISSIONS ${EXE_PERM})
-+endif()
diff --git a/srcpkgs/codelite/patches/wx-master.patch b/srcpkgs/codelite/patches/wx-master.patch
new file mode 100644
index 0000000000000..151411cc8770f
--- /dev/null
+++ b/srcpkgs/codelite/patches/wx-master.patch
@@ -0,0 +1,32 @@
+From c5c975afa30c958b87399255abf13e653138a697 Mon Sep 17 00:00:00 2001
+From: Eran Ifrah <eran@codelite.org>
+Date: Tue, 21 Mar 2023 01:37:47 +0200
+Subject: [PATCH] fixed build against latest wx-master
+
+---
+ LiteEditor/editorsettingsdockingwidows.cpp     | 4 ++--
+ codelitephp/php-plugin/php_open_resource_dlg.h | 2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/LiteEditor/editorsettingsdockingwidows.cpp b/LiteEditor/editorsettingsdockingwidows.cpp
+index d14341863e..973f194a39 100644
+--- a/LiteEditor/editorsettingsdockingwidows.cpp
++++ b/LiteEditor/editorsettingsdockingwidows.cpp
+@@ -59,7 +59,7 @@ EditorSettingsDockingWindows::EditorSettingsDockingWindows(wxWindow* parent, Opt
+     std::unordered_map<wxString, wxDirection> orientation_map = { { "UP", wxUP }, { "DOWN", wxDOWN } };
+     std::unordered_map<int, wxString> orientation_map_reverse = { { wxUP, "UP" }, { wxDOWN, "DOWN" } };
+ 
+-    AddProperty(_("Workspace tabs orientation"), { "UP", "DOWN" },
++    AddProperty(_("Workspace tabs orientation"), std::vector<wxString>{ "UP", "DOWN" },
+                 orientation_map_reverse[m_options->GetWorkspaceTabsDirection()],
+                 [this, orientation_map](const wxString&, const wxAny& value) mutable {
+                     wxString str_value;
+@@ -67,7 +67,7 @@ EditorSettingsDockingWindows::EditorSettingsDockingWindows(wxWindow* parent, Opt
+                         m_options->SetWorkspaceTabsDirection(orientation_map[str_value]);
+                     }
+                 });
+-    AddProperty(_("Output tabs orientation"), { "UP", "DOWN" },
++    AddProperty(_("Output tabs orientation"), std::vector<wxString>{ "UP", "DOWN" },
+                 orientation_map_reverse[m_options->GetOutputTabsDirection()],
+                 [this, orientation_map](const wxString&, const wxAny& value) mutable {
+                     wxString str_value;
diff --git a/srcpkgs/codelite/patches/wx32.patch b/srcpkgs/codelite/patches/wx32.patch
deleted file mode 100644
index f5535ebaf1b3b..0000000000000
--- a/srcpkgs/codelite/patches/wx32.patch
+++ /dev/null
@@ -1,131 +0,0 @@
-From 427af358d41deb00a4628e5b39c63a929cef894a Mon Sep 17 00:00:00 2001
-From: Eran Ifrah <eran@codelite.org>
-Date: Fri, 10 Jun 2022 10:15:52 +0300
-Subject: [PATCH] macos: hunspell: use the library from brew fixed build
- against wx3.1.7 temporarly: disable building LLDB on macos
-
----
- CMakeLists.txt                               |   5 +-
- SpellChecker/CMakeLists.txt                  |  27 +-
- sdk/hunspell/include/affentry.hxx            | 144 -----------
- sdk/hunspell/include/affixmgr.hxx            | 252 -------------------
- sdk/hunspell/include/atypes.hxx              | 107 --------
- sdk/hunspell/include/baseaffix.hxx           |  32 ---
- sdk/hunspell/include/csutil.hxx              | 223 ----------------
- sdk/hunspell/include/dictmgr.hxx             |  39 ---
- sdk/hunspell/include/filemgr.hxx             |  28 ---
- sdk/hunspell/include/hashmgr.hxx             |  69 -----
- sdk/hunspell/include/htypes.hxx              |  32 ---
- sdk/hunspell/include/hunspell.hxx            | 184 --------------
- sdk/hunspell/include/hunzip.hxx              |  47 ----
- sdk/hunspell/include/langnum.hxx             |  38 ---
- sdk/hunspell/include/phonet.hxx              |  52 ----
- sdk/hunspell/include/replist.hxx             |  30 ---
- sdk/hunspell/include/suggestmgr.hxx          | 115 ---------
- sdk/hunspell/include/w_char.hxx              |  21 --
- sdk/hunspell/lib/osx/libhunspell-1.3.0.dylib | Bin 363876 -> 0 bytes
- wxcrafter/myxh_propgrid.cpp                  |  32 ++-
- 20 files changed, 36 insertions(+), 1441 deletions(-)
- delete mode 100644 sdk/hunspell/include/affentry.hxx
- delete mode 100644 sdk/hunspell/include/affixmgr.hxx
- delete mode 100644 sdk/hunspell/include/atypes.hxx
- delete mode 100644 sdk/hunspell/include/baseaffix.hxx
- delete mode 100644 sdk/hunspell/include/csutil.hxx
- delete mode 100644 sdk/hunspell/include/dictmgr.hxx
- delete mode 100644 sdk/hunspell/include/filemgr.hxx
- delete mode 100644 sdk/hunspell/include/hashmgr.hxx
- delete mode 100644 sdk/hunspell/include/htypes.hxx
- delete mode 100644 sdk/hunspell/include/hunspell.hxx
- delete mode 100644 sdk/hunspell/include/hunzip.hxx
- delete mode 100644 sdk/hunspell/include/langnum.hxx
- delete mode 100644 sdk/hunspell/include/phonet.hxx
- delete mode 100644 sdk/hunspell/include/replist.hxx
- delete mode 100644 sdk/hunspell/include/suggestmgr.hxx
- delete mode 100644 sdk/hunspell/include/w_char.hxx
- delete mode 100755 sdk/hunspell/lib/osx/libhunspell-1.3.0.dylib
-
-diff --git a/wxcrafter/myxh_propgrid.cpp b/wxcrafter/myxh_propgrid.cpp
-index 974bc62f0..3fcb3845d 100644
---- a/wxcrafter/myxh_propgrid.cpp
-+++ b/wxcrafter/myxh_propgrid.cpp
-@@ -1,4 +1,5 @@
- #include "myxh_propgrid.h"
-+
- #include <wx/datetime.h>
- #include <wx/log.h>
- #include <wx/propgrid/advprops.h>
-@@ -48,10 +49,14 @@ wxObject* MyWxPropGridXmlHandler::DoCreateResource()
- 
-         // 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); }
-+        if(splitterPos != wxNOT_FOUND) {
-+            m_pgmgr->GetPage(0)->SetSplitterPosition(splitterPos);
-+        }
- 
-         m_isInside = false;
-         return m_pgmgr;
-@@ -67,7 +72,9 @@ bool MyWxPropGridXmlHandler::CanHandle(wxXmlNode* node)
- 
- void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- {
--    if(!HasParam(wxT("proptype"))) { return; }
-+    if(!HasParam(wxT("proptype"))) {
-+        return;
-+    }
- 
-     // Property
-     wxString proptype = GetText("proptype");
-@@ -116,7 +123,9 @@ void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- 
-     } else if(proptype == "wxEnumProperty") {
-         int sel = items.Index(value);
--        if(sel == wxNOT_FOUND) { sel = 0; }
-+        if(sel == wxNOT_FOUND) {
-+            sel = 0;
-+        }
- 
-         prop = DoAppendProperty(parent, new wxEnumProperty(label, wxPG_LABEL, items, wxArrayInt(), sel));
- 
-@@ -143,8 +152,12 @@ void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- 
-     // Handle nested children
-     if(prop) {
--        if(bgcol.IsOk()) { prop->SetBackgroundColour(bgcol, bgcolRecurse); }
--        if(!propEditor.IsEmpty()) { prop->SetEditor(propEditor); }
-+        if(bgcol.IsOk()) {
-+            prop->SetBackgroundColour(bgcol, bgcolRecurse);
-+        }
-+        if(!propEditor.IsEmpty()) {
-+            prop->SetEditor(propEditor);
-+        }
-         prop->SetHelpString(tip);
- 
-         // Check to see if this property has children
-@@ -160,12 +173,15 @@ void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- 
- wxArrayString MyWxPropGridXmlHandler::GetArray(const wxXmlNode* node) const
- {
--    if(!node) return wxArrayString();
-+    if(!node)
-+        return wxArrayString();
- 
-     wxArrayString items;
-     wxXmlNode* child = node->GetChildren();
-     while(child) {
--        if(child->GetName() == "item") { items.Add(child->GetNodeContent()); }
-+        if(child->GetName() == "item") {
-+            items.Add(child->GetNodeContent());
-+        }
-         child = child->GetNext();
-     }
-     return items;
--- 
-2.42.0
-
diff --git a/srcpkgs/codelite/template b/srcpkgs/codelite/template
index f8206426888fd..1cee1d75abad8 100644
--- a/srcpkgs/codelite/template
+++ b/srcpkgs/codelite/template
@@ -1,8 +1,7 @@
 # Template file for 'codelite'
 pkgname=codelite
-version=16.0.0
-revision=4
-create_wrksrc=yes
+version=17.0.0
+revision=1
 build_style=cmake
 build_helper=cmake-wxWidgets-gtk3
 configure_args="-DWITH_PCH=0 -DWITH_WX_CONFIG=wx-config-gtk3
@@ -16,10 +15,8 @@ short_desc="Open-source, cross platform IDE for the C/C++ programming languages"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="http://www.codelite.org"
-distfiles="https://github.com/eranif/${pkgname}/archive/${version}.tar.gz
- https://github.com/eranif/ctags/archive/52c724d1132d78ea44894bfe2eaca44f38a9bd85.tar.gz"
-checksum="fb707b98b2f56ae0791c7cb341c6a0240ff26a785dae31f7dcd1038956737957
- 7925adbe15cd240c7e65cf54e8752e7f5dbb24622342b84d151de97d2d75acea"
+distfiles=https://github.com/eranif/codelite/releases/download/${version}/codelite-${version}.tar.gz
+checksum=c0dfe6df38426d761ef5622b7a9ab91481244a09ad751f5daafa37bb9b611d57
 python_version=3
 
 build_options="hunspell lldb sftp"
@@ -33,9 +30,3 @@ case "$XBPS_TARGET_MACHINE" in
 esac
 
 CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
-
-post_extract() {
-	mv codelite-${version}/* .
-	rm -rf universal-ctags
-	mv ctags-52c724d1132d78ea44894bfe2eaca44f38a9bd85 universal-ctags
-}

From 8cda7bde0bd260e7d3dd36e2ef23fdfdbe2c0ed3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <sgn.danh@gmail.com>
Date: Tue, 16 Jan 2024 08:38:36 +0700
Subject: [PATCH 2/2] Update srcpkgs/codelite/patches/ctags-cross.patch

---
 srcpkgs/codelite/patches/ctags-cross.patch | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/srcpkgs/codelite/patches/ctags-cross.patch b/srcpkgs/codelite/patches/ctags-cross.patch
index 9183d600a6444..53581797c88bd 100644
--- a/srcpkgs/codelite/patches/ctags-cross.patch
+++ b/srcpkgs/codelite/patches/ctags-cross.patch
@@ -1,3 +1,6 @@
+CMake doesn't find_path ctags properly when crossbuilding.
+The CTAGS_SUBMODULE variable is never used though,
+and ctags are still built and installed properly
 diff --git a/CMakeLists.txt b/CMakeLists.txt
 index c88083fd1..ee251c58f 100644
 --- a/CMakeLists.txt

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] codelite: update to 17.0.0.
  2024-01-10 15:03 [PR PATCH] codelite: update to 17.0.0 Calandracas606
                   ` (5 preceding siblings ...)
  2024-01-16  1:38 ` [PR PATCH] [Updated] " sgn
@ 2024-01-16  2:45 ` Calandracas606
  2024-01-26 14:38 ` Calandracas606
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Calandracas606 @ 2024-01-16  2:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1306 bytes --]

There is an updated pull request by Calandracas606 against master on the void-packages repository

https://github.com/Calandracas606/void-packages codelite-17.0.0
https://github.com/void-linux/void-packages/pull/48154

codelite: update to 17.0.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-glibc
  - aarch64-musl  (cross)
  - armv7l (cross)
  - armv6l-musl (cross)



A patch file from https://github.com/void-linux/void-packages/pull/48154.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-codelite-17.0.0-48154.patch --]
[-- Type: text/x-diff, Size: 11681 bytes --]

From 505b67ffbfbe66b9754159a092e5fda9467f8e67 Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Wed, 10 Jan 2024 10:02:13 -0500
Subject: [PATCH] codelite: update to 17.0.0.

---
 srcpkgs/codelite/patches/ctags-cross.patch   |  22 ++++
 srcpkgs/codelite/patches/install-ctags.patch |  11 --
 srcpkgs/codelite/patches/wx-master.patch     |  32 +++++
 srcpkgs/codelite/patches/wx32.patch          | 131 -------------------
 srcpkgs/codelite/template                    |  17 +--
 5 files changed, 58 insertions(+), 155 deletions(-)
 create mode 100644 srcpkgs/codelite/patches/ctags-cross.patch
 delete mode 100644 srcpkgs/codelite/patches/install-ctags.patch
 create mode 100644 srcpkgs/codelite/patches/wx-master.patch
 delete mode 100644 srcpkgs/codelite/patches/wx32.patch

diff --git a/srcpkgs/codelite/patches/ctags-cross.patch b/srcpkgs/codelite/patches/ctags-cross.patch
new file mode 100644
index 0000000000000..53581797c88bd
--- /dev/null
+++ b/srcpkgs/codelite/patches/ctags-cross.patch
@@ -0,0 +1,22 @@
+CMake doesn't find_path ctags properly when crossbuilding.
+The CTAGS_SUBMODULE variable is never used though,
+and ctags are still built and installed properly
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c88083fd1..ee251c58f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -179,14 +179,6 @@ else(APPLE)
+     set(WX_COMPONENTS "std aui propgrid stc ribbon richtext")
+ endif()
+ 
+-if(UNIX)
+-    find_path(CTAGS_SUBMODULE CMakeLists.txt PATHS ${CMAKE_SOURCE_DIR}/ctags/)
+-    if(NOT CTAGS_SUBMODULE)
+-        message(STATUS "Could not locate `${CMAKE_SOURCE_DIR}/ctags/CMakeLists.txt` file")
+-        message(FATAL_ERROR "Please make sure you have run `git submodule update --init`")
+-    endif()
+-endif()
+-
+ if(WITH_WXPATH)
+     set(ENV{PATH} ${WITH_WXPATH}:$ENV{PATH})
+ endif()
diff --git a/srcpkgs/codelite/patches/install-ctags.patch b/srcpkgs/codelite/patches/install-ctags.patch
deleted file mode 100644
index 8ef1746225e10..0000000000000
--- a/srcpkgs/codelite/patches/install-ctags.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -744,3 +744,8 @@
-     ## Scan for user plugins
-     CL_SCAN_FOR_PLUGINS()
- endif() # NOT WXC_APP
-+
-+if (UNIX)
-+	set_target_properties(ctags PROPERTIES OUTPUT_NAME "codelite-ctags")
-+	install(TARGETS ctags DESTINATION ${CL_PREFIX}/bin PERMISSIONS ${EXE_PERM})
-+endif()
diff --git a/srcpkgs/codelite/patches/wx-master.patch b/srcpkgs/codelite/patches/wx-master.patch
new file mode 100644
index 0000000000000..151411cc8770f
--- /dev/null
+++ b/srcpkgs/codelite/patches/wx-master.patch
@@ -0,0 +1,32 @@
+From c5c975afa30c958b87399255abf13e653138a697 Mon Sep 17 00:00:00 2001
+From: Eran Ifrah <eran@codelite.org>
+Date: Tue, 21 Mar 2023 01:37:47 +0200
+Subject: [PATCH] fixed build against latest wx-master
+
+---
+ LiteEditor/editorsettingsdockingwidows.cpp     | 4 ++--
+ codelitephp/php-plugin/php_open_resource_dlg.h | 2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/LiteEditor/editorsettingsdockingwidows.cpp b/LiteEditor/editorsettingsdockingwidows.cpp
+index d14341863e..973f194a39 100644
+--- a/LiteEditor/editorsettingsdockingwidows.cpp
++++ b/LiteEditor/editorsettingsdockingwidows.cpp
+@@ -59,7 +59,7 @@ EditorSettingsDockingWindows::EditorSettingsDockingWindows(wxWindow* parent, Opt
+     std::unordered_map<wxString, wxDirection> orientation_map = { { "UP", wxUP }, { "DOWN", wxDOWN } };
+     std::unordered_map<int, wxString> orientation_map_reverse = { { wxUP, "UP" }, { wxDOWN, "DOWN" } };
+ 
+-    AddProperty(_("Workspace tabs orientation"), { "UP", "DOWN" },
++    AddProperty(_("Workspace tabs orientation"), std::vector<wxString>{ "UP", "DOWN" },
+                 orientation_map_reverse[m_options->GetWorkspaceTabsDirection()],
+                 [this, orientation_map](const wxString&, const wxAny& value) mutable {
+                     wxString str_value;
+@@ -67,7 +67,7 @@ EditorSettingsDockingWindows::EditorSettingsDockingWindows(wxWindow* parent, Opt
+                         m_options->SetWorkspaceTabsDirection(orientation_map[str_value]);
+                     }
+                 });
+-    AddProperty(_("Output tabs orientation"), { "UP", "DOWN" },
++    AddProperty(_("Output tabs orientation"), std::vector<wxString>{ "UP", "DOWN" },
+                 orientation_map_reverse[m_options->GetOutputTabsDirection()],
+                 [this, orientation_map](const wxString&, const wxAny& value) mutable {
+                     wxString str_value;
diff --git a/srcpkgs/codelite/patches/wx32.patch b/srcpkgs/codelite/patches/wx32.patch
deleted file mode 100644
index f5535ebaf1b3b..0000000000000
--- a/srcpkgs/codelite/patches/wx32.patch
+++ /dev/null
@@ -1,131 +0,0 @@
-From 427af358d41deb00a4628e5b39c63a929cef894a Mon Sep 17 00:00:00 2001
-From: Eran Ifrah <eran@codelite.org>
-Date: Fri, 10 Jun 2022 10:15:52 +0300
-Subject: [PATCH] macos: hunspell: use the library from brew fixed build
- against wx3.1.7 temporarly: disable building LLDB on macos
-
----
- CMakeLists.txt                               |   5 +-
- SpellChecker/CMakeLists.txt                  |  27 +-
- sdk/hunspell/include/affentry.hxx            | 144 -----------
- sdk/hunspell/include/affixmgr.hxx            | 252 -------------------
- sdk/hunspell/include/atypes.hxx              | 107 --------
- sdk/hunspell/include/baseaffix.hxx           |  32 ---
- sdk/hunspell/include/csutil.hxx              | 223 ----------------
- sdk/hunspell/include/dictmgr.hxx             |  39 ---
- sdk/hunspell/include/filemgr.hxx             |  28 ---
- sdk/hunspell/include/hashmgr.hxx             |  69 -----
- sdk/hunspell/include/htypes.hxx              |  32 ---
- sdk/hunspell/include/hunspell.hxx            | 184 --------------
- sdk/hunspell/include/hunzip.hxx              |  47 ----
- sdk/hunspell/include/langnum.hxx             |  38 ---
- sdk/hunspell/include/phonet.hxx              |  52 ----
- sdk/hunspell/include/replist.hxx             |  30 ---
- sdk/hunspell/include/suggestmgr.hxx          | 115 ---------
- sdk/hunspell/include/w_char.hxx              |  21 --
- sdk/hunspell/lib/osx/libhunspell-1.3.0.dylib | Bin 363876 -> 0 bytes
- wxcrafter/myxh_propgrid.cpp                  |  32 ++-
- 20 files changed, 36 insertions(+), 1441 deletions(-)
- delete mode 100644 sdk/hunspell/include/affentry.hxx
- delete mode 100644 sdk/hunspell/include/affixmgr.hxx
- delete mode 100644 sdk/hunspell/include/atypes.hxx
- delete mode 100644 sdk/hunspell/include/baseaffix.hxx
- delete mode 100644 sdk/hunspell/include/csutil.hxx
- delete mode 100644 sdk/hunspell/include/dictmgr.hxx
- delete mode 100644 sdk/hunspell/include/filemgr.hxx
- delete mode 100644 sdk/hunspell/include/hashmgr.hxx
- delete mode 100644 sdk/hunspell/include/htypes.hxx
- delete mode 100644 sdk/hunspell/include/hunspell.hxx
- delete mode 100644 sdk/hunspell/include/hunzip.hxx
- delete mode 100644 sdk/hunspell/include/langnum.hxx
- delete mode 100644 sdk/hunspell/include/phonet.hxx
- delete mode 100644 sdk/hunspell/include/replist.hxx
- delete mode 100644 sdk/hunspell/include/suggestmgr.hxx
- delete mode 100644 sdk/hunspell/include/w_char.hxx
- delete mode 100755 sdk/hunspell/lib/osx/libhunspell-1.3.0.dylib
-
-diff --git a/wxcrafter/myxh_propgrid.cpp b/wxcrafter/myxh_propgrid.cpp
-index 974bc62f0..3fcb3845d 100644
---- a/wxcrafter/myxh_propgrid.cpp
-+++ b/wxcrafter/myxh_propgrid.cpp
-@@ -1,4 +1,5 @@
- #include "myxh_propgrid.h"
-+
- #include <wx/datetime.h>
- #include <wx/log.h>
- #include <wx/propgrid/advprops.h>
-@@ -48,10 +49,14 @@ wxObject* MyWxPropGridXmlHandler::DoCreateResource()
- 
-         // 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); }
-+        if(splitterPos != wxNOT_FOUND) {
-+            m_pgmgr->GetPage(0)->SetSplitterPosition(splitterPos);
-+        }
- 
-         m_isInside = false;
-         return m_pgmgr;
-@@ -67,7 +72,9 @@ bool MyWxPropGridXmlHandler::CanHandle(wxXmlNode* node)
- 
- void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- {
--    if(!HasParam(wxT("proptype"))) { return; }
-+    if(!HasParam(wxT("proptype"))) {
-+        return;
-+    }
- 
-     // Property
-     wxString proptype = GetText("proptype");
-@@ -116,7 +123,9 @@ void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- 
-     } else if(proptype == "wxEnumProperty") {
-         int sel = items.Index(value);
--        if(sel == wxNOT_FOUND) { sel = 0; }
-+        if(sel == wxNOT_FOUND) {
-+            sel = 0;
-+        }
- 
-         prop = DoAppendProperty(parent, new wxEnumProperty(label, wxPG_LABEL, items, wxArrayInt(), sel));
- 
-@@ -143,8 +152,12 @@ void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- 
-     // Handle nested children
-     if(prop) {
--        if(bgcol.IsOk()) { prop->SetBackgroundColour(bgcol, bgcolRecurse); }
--        if(!propEditor.IsEmpty()) { prop->SetEditor(propEditor); }
-+        if(bgcol.IsOk()) {
-+            prop->SetBackgroundColour(bgcol, bgcolRecurse);
-+        }
-+        if(!propEditor.IsEmpty()) {
-+            prop->SetEditor(propEditor);
-+        }
-         prop->SetHelpString(tip);
- 
-         // Check to see if this property has children
-@@ -160,12 +173,15 @@ void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- 
- wxArrayString MyWxPropGridXmlHandler::GetArray(const wxXmlNode* node) const
- {
--    if(!node) return wxArrayString();
-+    if(!node)
-+        return wxArrayString();
- 
-     wxArrayString items;
-     wxXmlNode* child = node->GetChildren();
-     while(child) {
--        if(child->GetName() == "item") { items.Add(child->GetNodeContent()); }
-+        if(child->GetName() == "item") {
-+            items.Add(child->GetNodeContent());
-+        }
-         child = child->GetNext();
-     }
-     return items;
--- 
-2.42.0
-
diff --git a/srcpkgs/codelite/template b/srcpkgs/codelite/template
index f8206426888fd..1cee1d75abad8 100644
--- a/srcpkgs/codelite/template
+++ b/srcpkgs/codelite/template
@@ -1,8 +1,7 @@
 # Template file for 'codelite'
 pkgname=codelite
-version=16.0.0
-revision=4
-create_wrksrc=yes
+version=17.0.0
+revision=1
 build_style=cmake
 build_helper=cmake-wxWidgets-gtk3
 configure_args="-DWITH_PCH=0 -DWITH_WX_CONFIG=wx-config-gtk3
@@ -16,10 +15,8 @@ short_desc="Open-source, cross platform IDE for the C/C++ programming languages"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="http://www.codelite.org"
-distfiles="https://github.com/eranif/${pkgname}/archive/${version}.tar.gz
- https://github.com/eranif/ctags/archive/52c724d1132d78ea44894bfe2eaca44f38a9bd85.tar.gz"
-checksum="fb707b98b2f56ae0791c7cb341c6a0240ff26a785dae31f7dcd1038956737957
- 7925adbe15cd240c7e65cf54e8752e7f5dbb24622342b84d151de97d2d75acea"
+distfiles=https://github.com/eranif/codelite/releases/download/${version}/codelite-${version}.tar.gz
+checksum=c0dfe6df38426d761ef5622b7a9ab91481244a09ad751f5daafa37bb9b611d57
 python_version=3
 
 build_options="hunspell lldb sftp"
@@ -33,9 +30,3 @@ case "$XBPS_TARGET_MACHINE" in
 esac
 
 CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
-
-post_extract() {
-	mv codelite-${version}/* .
-	rm -rf universal-ctags
-	mv ctags-52c724d1132d78ea44894bfe2eaca44f38a9bd85 universal-ctags
-}

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] codelite: update to 17.0.0.
  2024-01-10 15:03 [PR PATCH] codelite: update to 17.0.0 Calandracas606
                   ` (6 preceding siblings ...)
  2024-01-16  2:45 ` Calandracas606
@ 2024-01-26 14:38 ` Calandracas606
  2024-02-11 18:31 ` Calandracas606
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Calandracas606 @ 2024-01-26 14:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1306 bytes --]

There is an updated pull request by Calandracas606 against master on the void-packages repository

https://github.com/Calandracas606/void-packages codelite-17.0.0
https://github.com/void-linux/void-packages/pull/48154

codelite: update to 17.0.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-glibc
  - aarch64-musl  (cross)
  - armv7l (cross)
  - armv6l-musl (cross)



A patch file from https://github.com/void-linux/void-packages/pull/48154.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-codelite-17.0.0-48154.patch --]
[-- Type: text/x-diff, Size: 11681 bytes --]

From f3255c9f0b6cf942838187dad266c4fcbc6023c2 Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Wed, 10 Jan 2024 10:02:13 -0500
Subject: [PATCH] codelite: update to 17.0.0.

---
 srcpkgs/codelite/patches/ctags-cross.patch   |  22 ++++
 srcpkgs/codelite/patches/install-ctags.patch |  11 --
 srcpkgs/codelite/patches/wx-master.patch     |  32 +++++
 srcpkgs/codelite/patches/wx32.patch          | 131 -------------------
 srcpkgs/codelite/template                    |  17 +--
 5 files changed, 58 insertions(+), 155 deletions(-)
 create mode 100644 srcpkgs/codelite/patches/ctags-cross.patch
 delete mode 100644 srcpkgs/codelite/patches/install-ctags.patch
 create mode 100644 srcpkgs/codelite/patches/wx-master.patch
 delete mode 100644 srcpkgs/codelite/patches/wx32.patch

diff --git a/srcpkgs/codelite/patches/ctags-cross.patch b/srcpkgs/codelite/patches/ctags-cross.patch
new file mode 100644
index 0000000000000..53581797c88bd
--- /dev/null
+++ b/srcpkgs/codelite/patches/ctags-cross.patch
@@ -0,0 +1,22 @@
+CMake doesn't find_path ctags properly when crossbuilding.
+The CTAGS_SUBMODULE variable is never used though,
+and ctags are still built and installed properly
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c88083fd1..ee251c58f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -179,14 +179,6 @@ else(APPLE)
+     set(WX_COMPONENTS "std aui propgrid stc ribbon richtext")
+ endif()
+ 
+-if(UNIX)
+-    find_path(CTAGS_SUBMODULE CMakeLists.txt PATHS ${CMAKE_SOURCE_DIR}/ctags/)
+-    if(NOT CTAGS_SUBMODULE)
+-        message(STATUS "Could not locate `${CMAKE_SOURCE_DIR}/ctags/CMakeLists.txt` file")
+-        message(FATAL_ERROR "Please make sure you have run `git submodule update --init`")
+-    endif()
+-endif()
+-
+ if(WITH_WXPATH)
+     set(ENV{PATH} ${WITH_WXPATH}:$ENV{PATH})
+ endif()
diff --git a/srcpkgs/codelite/patches/install-ctags.patch b/srcpkgs/codelite/patches/install-ctags.patch
deleted file mode 100644
index 8ef1746225e10..0000000000000
--- a/srcpkgs/codelite/patches/install-ctags.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -744,3 +744,8 @@
-     ## Scan for user plugins
-     CL_SCAN_FOR_PLUGINS()
- endif() # NOT WXC_APP
-+
-+if (UNIX)
-+	set_target_properties(ctags PROPERTIES OUTPUT_NAME "codelite-ctags")
-+	install(TARGETS ctags DESTINATION ${CL_PREFIX}/bin PERMISSIONS ${EXE_PERM})
-+endif()
diff --git a/srcpkgs/codelite/patches/wx-master.patch b/srcpkgs/codelite/patches/wx-master.patch
new file mode 100644
index 0000000000000..151411cc8770f
--- /dev/null
+++ b/srcpkgs/codelite/patches/wx-master.patch
@@ -0,0 +1,32 @@
+From c5c975afa30c958b87399255abf13e653138a697 Mon Sep 17 00:00:00 2001
+From: Eran Ifrah <eran@codelite.org>
+Date: Tue, 21 Mar 2023 01:37:47 +0200
+Subject: [PATCH] fixed build against latest wx-master
+
+---
+ LiteEditor/editorsettingsdockingwidows.cpp     | 4 ++--
+ codelitephp/php-plugin/php_open_resource_dlg.h | 2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/LiteEditor/editorsettingsdockingwidows.cpp b/LiteEditor/editorsettingsdockingwidows.cpp
+index d14341863e..973f194a39 100644
+--- a/LiteEditor/editorsettingsdockingwidows.cpp
++++ b/LiteEditor/editorsettingsdockingwidows.cpp
+@@ -59,7 +59,7 @@ EditorSettingsDockingWindows::EditorSettingsDockingWindows(wxWindow* parent, Opt
+     std::unordered_map<wxString, wxDirection> orientation_map = { { "UP", wxUP }, { "DOWN", wxDOWN } };
+     std::unordered_map<int, wxString> orientation_map_reverse = { { wxUP, "UP" }, { wxDOWN, "DOWN" } };
+ 
+-    AddProperty(_("Workspace tabs orientation"), { "UP", "DOWN" },
++    AddProperty(_("Workspace tabs orientation"), std::vector<wxString>{ "UP", "DOWN" },
+                 orientation_map_reverse[m_options->GetWorkspaceTabsDirection()],
+                 [this, orientation_map](const wxString&, const wxAny& value) mutable {
+                     wxString str_value;
+@@ -67,7 +67,7 @@ EditorSettingsDockingWindows::EditorSettingsDockingWindows(wxWindow* parent, Opt
+                         m_options->SetWorkspaceTabsDirection(orientation_map[str_value]);
+                     }
+                 });
+-    AddProperty(_("Output tabs orientation"), { "UP", "DOWN" },
++    AddProperty(_("Output tabs orientation"), std::vector<wxString>{ "UP", "DOWN" },
+                 orientation_map_reverse[m_options->GetOutputTabsDirection()],
+                 [this, orientation_map](const wxString&, const wxAny& value) mutable {
+                     wxString str_value;
diff --git a/srcpkgs/codelite/patches/wx32.patch b/srcpkgs/codelite/patches/wx32.patch
deleted file mode 100644
index f5535ebaf1b3b..0000000000000
--- a/srcpkgs/codelite/patches/wx32.patch
+++ /dev/null
@@ -1,131 +0,0 @@
-From 427af358d41deb00a4628e5b39c63a929cef894a Mon Sep 17 00:00:00 2001
-From: Eran Ifrah <eran@codelite.org>
-Date: Fri, 10 Jun 2022 10:15:52 +0300
-Subject: [PATCH] macos: hunspell: use the library from brew fixed build
- against wx3.1.7 temporarly: disable building LLDB on macos
-
----
- CMakeLists.txt                               |   5 +-
- SpellChecker/CMakeLists.txt                  |  27 +-
- sdk/hunspell/include/affentry.hxx            | 144 -----------
- sdk/hunspell/include/affixmgr.hxx            | 252 -------------------
- sdk/hunspell/include/atypes.hxx              | 107 --------
- sdk/hunspell/include/baseaffix.hxx           |  32 ---
- sdk/hunspell/include/csutil.hxx              | 223 ----------------
- sdk/hunspell/include/dictmgr.hxx             |  39 ---
- sdk/hunspell/include/filemgr.hxx             |  28 ---
- sdk/hunspell/include/hashmgr.hxx             |  69 -----
- sdk/hunspell/include/htypes.hxx              |  32 ---
- sdk/hunspell/include/hunspell.hxx            | 184 --------------
- sdk/hunspell/include/hunzip.hxx              |  47 ----
- sdk/hunspell/include/langnum.hxx             |  38 ---
- sdk/hunspell/include/phonet.hxx              |  52 ----
- sdk/hunspell/include/replist.hxx             |  30 ---
- sdk/hunspell/include/suggestmgr.hxx          | 115 ---------
- sdk/hunspell/include/w_char.hxx              |  21 --
- sdk/hunspell/lib/osx/libhunspell-1.3.0.dylib | Bin 363876 -> 0 bytes
- wxcrafter/myxh_propgrid.cpp                  |  32 ++-
- 20 files changed, 36 insertions(+), 1441 deletions(-)
- delete mode 100644 sdk/hunspell/include/affentry.hxx
- delete mode 100644 sdk/hunspell/include/affixmgr.hxx
- delete mode 100644 sdk/hunspell/include/atypes.hxx
- delete mode 100644 sdk/hunspell/include/baseaffix.hxx
- delete mode 100644 sdk/hunspell/include/csutil.hxx
- delete mode 100644 sdk/hunspell/include/dictmgr.hxx
- delete mode 100644 sdk/hunspell/include/filemgr.hxx
- delete mode 100644 sdk/hunspell/include/hashmgr.hxx
- delete mode 100644 sdk/hunspell/include/htypes.hxx
- delete mode 100644 sdk/hunspell/include/hunspell.hxx
- delete mode 100644 sdk/hunspell/include/hunzip.hxx
- delete mode 100644 sdk/hunspell/include/langnum.hxx
- delete mode 100644 sdk/hunspell/include/phonet.hxx
- delete mode 100644 sdk/hunspell/include/replist.hxx
- delete mode 100644 sdk/hunspell/include/suggestmgr.hxx
- delete mode 100644 sdk/hunspell/include/w_char.hxx
- delete mode 100755 sdk/hunspell/lib/osx/libhunspell-1.3.0.dylib
-
-diff --git a/wxcrafter/myxh_propgrid.cpp b/wxcrafter/myxh_propgrid.cpp
-index 974bc62f0..3fcb3845d 100644
---- a/wxcrafter/myxh_propgrid.cpp
-+++ b/wxcrafter/myxh_propgrid.cpp
-@@ -1,4 +1,5 @@
- #include "myxh_propgrid.h"
-+
- #include <wx/datetime.h>
- #include <wx/log.h>
- #include <wx/propgrid/advprops.h>
-@@ -48,10 +49,14 @@ wxObject* MyWxPropGridXmlHandler::DoCreateResource()
- 
-         // 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); }
-+        if(splitterPos != wxNOT_FOUND) {
-+            m_pgmgr->GetPage(0)->SetSplitterPosition(splitterPos);
-+        }
- 
-         m_isInside = false;
-         return m_pgmgr;
-@@ -67,7 +72,9 @@ bool MyWxPropGridXmlHandler::CanHandle(wxXmlNode* node)
- 
- void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- {
--    if(!HasParam(wxT("proptype"))) { return; }
-+    if(!HasParam(wxT("proptype"))) {
-+        return;
-+    }
- 
-     // Property
-     wxString proptype = GetText("proptype");
-@@ -116,7 +123,9 @@ void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- 
-     } else if(proptype == "wxEnumProperty") {
-         int sel = items.Index(value);
--        if(sel == wxNOT_FOUND) { sel = 0; }
-+        if(sel == wxNOT_FOUND) {
-+            sel = 0;
-+        }
- 
-         prop = DoAppendProperty(parent, new wxEnumProperty(label, wxPG_LABEL, items, wxArrayInt(), sel));
- 
-@@ -143,8 +152,12 @@ void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- 
-     // Handle nested children
-     if(prop) {
--        if(bgcol.IsOk()) { prop->SetBackgroundColour(bgcol, bgcolRecurse); }
--        if(!propEditor.IsEmpty()) { prop->SetEditor(propEditor); }
-+        if(bgcol.IsOk()) {
-+            prop->SetBackgroundColour(bgcol, bgcolRecurse);
-+        }
-+        if(!propEditor.IsEmpty()) {
-+            prop->SetEditor(propEditor);
-+        }
-         prop->SetHelpString(tip);
- 
-         // Check to see if this property has children
-@@ -160,12 +173,15 @@ void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- 
- wxArrayString MyWxPropGridXmlHandler::GetArray(const wxXmlNode* node) const
- {
--    if(!node) return wxArrayString();
-+    if(!node)
-+        return wxArrayString();
- 
-     wxArrayString items;
-     wxXmlNode* child = node->GetChildren();
-     while(child) {
--        if(child->GetName() == "item") { items.Add(child->GetNodeContent()); }
-+        if(child->GetName() == "item") {
-+            items.Add(child->GetNodeContent());
-+        }
-         child = child->GetNext();
-     }
-     return items;
--- 
-2.42.0
-
diff --git a/srcpkgs/codelite/template b/srcpkgs/codelite/template
index f8206426888fd..1cee1d75abad8 100644
--- a/srcpkgs/codelite/template
+++ b/srcpkgs/codelite/template
@@ -1,8 +1,7 @@
 # Template file for 'codelite'
 pkgname=codelite
-version=16.0.0
-revision=4
-create_wrksrc=yes
+version=17.0.0
+revision=1
 build_style=cmake
 build_helper=cmake-wxWidgets-gtk3
 configure_args="-DWITH_PCH=0 -DWITH_WX_CONFIG=wx-config-gtk3
@@ -16,10 +15,8 @@ short_desc="Open-source, cross platform IDE for the C/C++ programming languages"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="http://www.codelite.org"
-distfiles="https://github.com/eranif/${pkgname}/archive/${version}.tar.gz
- https://github.com/eranif/ctags/archive/52c724d1132d78ea44894bfe2eaca44f38a9bd85.tar.gz"
-checksum="fb707b98b2f56ae0791c7cb341c6a0240ff26a785dae31f7dcd1038956737957
- 7925adbe15cd240c7e65cf54e8752e7f5dbb24622342b84d151de97d2d75acea"
+distfiles=https://github.com/eranif/codelite/releases/download/${version}/codelite-${version}.tar.gz
+checksum=c0dfe6df38426d761ef5622b7a9ab91481244a09ad751f5daafa37bb9b611d57
 python_version=3
 
 build_options="hunspell lldb sftp"
@@ -33,9 +30,3 @@ case "$XBPS_TARGET_MACHINE" in
 esac
 
 CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
-
-post_extract() {
-	mv codelite-${version}/* .
-	rm -rf universal-ctags
-	mv ctags-52c724d1132d78ea44894bfe2eaca44f38a9bd85 universal-ctags
-}

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] codelite: update to 17.0.0.
  2024-01-10 15:03 [PR PATCH] codelite: update to 17.0.0 Calandracas606
                   ` (7 preceding siblings ...)
  2024-01-26 14:38 ` Calandracas606
@ 2024-02-11 18:31 ` Calandracas606
  2024-02-11 18:34 ` Calandracas606
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Calandracas606 @ 2024-02-11 18:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1306 bytes --]

There is an updated pull request by Calandracas606 against master on the void-packages repository

https://github.com/Calandracas606/void-packages codelite-17.0.0
https://github.com/void-linux/void-packages/pull/48154

codelite: update to 17.0.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-glibc
  - aarch64-musl  (cross)
  - armv7l (cross)
  - armv6l-musl (cross)



A patch file from https://github.com/void-linux/void-packages/pull/48154.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-codelite-17.0.0-48154.patch --]
[-- Type: text/x-diff, Size: 12066 bytes --]

From f7e522aebb43923cfe80368d92728becc499fbe2 Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Wed, 10 Jan 2024 10:02:13 -0500
Subject: [PATCH] codelite: update to 17.0.0.

---
 srcpkgs/codelite/patches/ctags-cross.patch   |  22 ++++
 srcpkgs/codelite/patches/install-ctags.patch |  11 --
 srcpkgs/codelite/patches/wx-master.patch     |  32 +++++
 srcpkgs/codelite/patches/wx32.patch          | 131 -------------------
 srcpkgs/codelite/template                    |  19 +--
 5 files changed, 59 insertions(+), 156 deletions(-)
 create mode 100644 srcpkgs/codelite/patches/ctags-cross.patch
 delete mode 100644 srcpkgs/codelite/patches/install-ctags.patch
 create mode 100644 srcpkgs/codelite/patches/wx-master.patch
 delete mode 100644 srcpkgs/codelite/patches/wx32.patch

diff --git a/srcpkgs/codelite/patches/ctags-cross.patch b/srcpkgs/codelite/patches/ctags-cross.patch
new file mode 100644
index 0000000000000..53581797c88bd
--- /dev/null
+++ b/srcpkgs/codelite/patches/ctags-cross.patch
@@ -0,0 +1,22 @@
+CMake doesn't find_path ctags properly when crossbuilding.
+The CTAGS_SUBMODULE variable is never used though,
+and ctags are still built and installed properly
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c88083fd1..ee251c58f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -179,14 +179,6 @@ else(APPLE)
+     set(WX_COMPONENTS "std aui propgrid stc ribbon richtext")
+ endif()
+ 
+-if(UNIX)
+-    find_path(CTAGS_SUBMODULE CMakeLists.txt PATHS ${CMAKE_SOURCE_DIR}/ctags/)
+-    if(NOT CTAGS_SUBMODULE)
+-        message(STATUS "Could not locate `${CMAKE_SOURCE_DIR}/ctags/CMakeLists.txt` file")
+-        message(FATAL_ERROR "Please make sure you have run `git submodule update --init`")
+-    endif()
+-endif()
+-
+ if(WITH_WXPATH)
+     set(ENV{PATH} ${WITH_WXPATH}:$ENV{PATH})
+ endif()
diff --git a/srcpkgs/codelite/patches/install-ctags.patch b/srcpkgs/codelite/patches/install-ctags.patch
deleted file mode 100644
index 8ef1746225e10..0000000000000
--- a/srcpkgs/codelite/patches/install-ctags.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -744,3 +744,8 @@
-     ## Scan for user plugins
-     CL_SCAN_FOR_PLUGINS()
- endif() # NOT WXC_APP
-+
-+if (UNIX)
-+	set_target_properties(ctags PROPERTIES OUTPUT_NAME "codelite-ctags")
-+	install(TARGETS ctags DESTINATION ${CL_PREFIX}/bin PERMISSIONS ${EXE_PERM})
-+endif()
diff --git a/srcpkgs/codelite/patches/wx-master.patch b/srcpkgs/codelite/patches/wx-master.patch
new file mode 100644
index 0000000000000..151411cc8770f
--- /dev/null
+++ b/srcpkgs/codelite/patches/wx-master.patch
@@ -0,0 +1,32 @@
+From c5c975afa30c958b87399255abf13e653138a697 Mon Sep 17 00:00:00 2001
+From: Eran Ifrah <eran@codelite.org>
+Date: Tue, 21 Mar 2023 01:37:47 +0200
+Subject: [PATCH] fixed build against latest wx-master
+
+---
+ LiteEditor/editorsettingsdockingwidows.cpp     | 4 ++--
+ codelitephp/php-plugin/php_open_resource_dlg.h | 2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/LiteEditor/editorsettingsdockingwidows.cpp b/LiteEditor/editorsettingsdockingwidows.cpp
+index d14341863e..973f194a39 100644
+--- a/LiteEditor/editorsettingsdockingwidows.cpp
++++ b/LiteEditor/editorsettingsdockingwidows.cpp
+@@ -59,7 +59,7 @@ EditorSettingsDockingWindows::EditorSettingsDockingWindows(wxWindow* parent, Opt
+     std::unordered_map<wxString, wxDirection> orientation_map = { { "UP", wxUP }, { "DOWN", wxDOWN } };
+     std::unordered_map<int, wxString> orientation_map_reverse = { { wxUP, "UP" }, { wxDOWN, "DOWN" } };
+ 
+-    AddProperty(_("Workspace tabs orientation"), { "UP", "DOWN" },
++    AddProperty(_("Workspace tabs orientation"), std::vector<wxString>{ "UP", "DOWN" },
+                 orientation_map_reverse[m_options->GetWorkspaceTabsDirection()],
+                 [this, orientation_map](const wxString&, const wxAny& value) mutable {
+                     wxString str_value;
+@@ -67,7 +67,7 @@ EditorSettingsDockingWindows::EditorSettingsDockingWindows(wxWindow* parent, Opt
+                         m_options->SetWorkspaceTabsDirection(orientation_map[str_value]);
+                     }
+                 });
+-    AddProperty(_("Output tabs orientation"), { "UP", "DOWN" },
++    AddProperty(_("Output tabs orientation"), std::vector<wxString>{ "UP", "DOWN" },
+                 orientation_map_reverse[m_options->GetOutputTabsDirection()],
+                 [this, orientation_map](const wxString&, const wxAny& value) mutable {
+                     wxString str_value;
diff --git a/srcpkgs/codelite/patches/wx32.patch b/srcpkgs/codelite/patches/wx32.patch
deleted file mode 100644
index f5535ebaf1b3b..0000000000000
--- a/srcpkgs/codelite/patches/wx32.patch
+++ /dev/null
@@ -1,131 +0,0 @@
-From 427af358d41deb00a4628e5b39c63a929cef894a Mon Sep 17 00:00:00 2001
-From: Eran Ifrah <eran@codelite.org>
-Date: Fri, 10 Jun 2022 10:15:52 +0300
-Subject: [PATCH] macos: hunspell: use the library from brew fixed build
- against wx3.1.7 temporarly: disable building LLDB on macos
-
----
- CMakeLists.txt                               |   5 +-
- SpellChecker/CMakeLists.txt                  |  27 +-
- sdk/hunspell/include/affentry.hxx            | 144 -----------
- sdk/hunspell/include/affixmgr.hxx            | 252 -------------------
- sdk/hunspell/include/atypes.hxx              | 107 --------
- sdk/hunspell/include/baseaffix.hxx           |  32 ---
- sdk/hunspell/include/csutil.hxx              | 223 ----------------
- sdk/hunspell/include/dictmgr.hxx             |  39 ---
- sdk/hunspell/include/filemgr.hxx             |  28 ---
- sdk/hunspell/include/hashmgr.hxx             |  69 -----
- sdk/hunspell/include/htypes.hxx              |  32 ---
- sdk/hunspell/include/hunspell.hxx            | 184 --------------
- sdk/hunspell/include/hunzip.hxx              |  47 ----
- sdk/hunspell/include/langnum.hxx             |  38 ---
- sdk/hunspell/include/phonet.hxx              |  52 ----
- sdk/hunspell/include/replist.hxx             |  30 ---
- sdk/hunspell/include/suggestmgr.hxx          | 115 ---------
- sdk/hunspell/include/w_char.hxx              |  21 --
- sdk/hunspell/lib/osx/libhunspell-1.3.0.dylib | Bin 363876 -> 0 bytes
- wxcrafter/myxh_propgrid.cpp                  |  32 ++-
- 20 files changed, 36 insertions(+), 1441 deletions(-)
- delete mode 100644 sdk/hunspell/include/affentry.hxx
- delete mode 100644 sdk/hunspell/include/affixmgr.hxx
- delete mode 100644 sdk/hunspell/include/atypes.hxx
- delete mode 100644 sdk/hunspell/include/baseaffix.hxx
- delete mode 100644 sdk/hunspell/include/csutil.hxx
- delete mode 100644 sdk/hunspell/include/dictmgr.hxx
- delete mode 100644 sdk/hunspell/include/filemgr.hxx
- delete mode 100644 sdk/hunspell/include/hashmgr.hxx
- delete mode 100644 sdk/hunspell/include/htypes.hxx
- delete mode 100644 sdk/hunspell/include/hunspell.hxx
- delete mode 100644 sdk/hunspell/include/hunzip.hxx
- delete mode 100644 sdk/hunspell/include/langnum.hxx
- delete mode 100644 sdk/hunspell/include/phonet.hxx
- delete mode 100644 sdk/hunspell/include/replist.hxx
- delete mode 100644 sdk/hunspell/include/suggestmgr.hxx
- delete mode 100644 sdk/hunspell/include/w_char.hxx
- delete mode 100755 sdk/hunspell/lib/osx/libhunspell-1.3.0.dylib
-
-diff --git a/wxcrafter/myxh_propgrid.cpp b/wxcrafter/myxh_propgrid.cpp
-index 974bc62f0..3fcb3845d 100644
---- a/wxcrafter/myxh_propgrid.cpp
-+++ b/wxcrafter/myxh_propgrid.cpp
-@@ -1,4 +1,5 @@
- #include "myxh_propgrid.h"
-+
- #include <wx/datetime.h>
- #include <wx/log.h>
- #include <wx/propgrid/advprops.h>
-@@ -48,10 +49,14 @@ wxObject* MyWxPropGridXmlHandler::DoCreateResource()
- 
-         // 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); }
-+        if(splitterPos != wxNOT_FOUND) {
-+            m_pgmgr->GetPage(0)->SetSplitterPosition(splitterPos);
-+        }
- 
-         m_isInside = false;
-         return m_pgmgr;
-@@ -67,7 +72,9 @@ bool MyWxPropGridXmlHandler::CanHandle(wxXmlNode* node)
- 
- void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- {
--    if(!HasParam(wxT("proptype"))) { return; }
-+    if(!HasParam(wxT("proptype"))) {
-+        return;
-+    }
- 
-     // Property
-     wxString proptype = GetText("proptype");
-@@ -116,7 +123,9 @@ void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- 
-     } else if(proptype == "wxEnumProperty") {
-         int sel = items.Index(value);
--        if(sel == wxNOT_FOUND) { sel = 0; }
-+        if(sel == wxNOT_FOUND) {
-+            sel = 0;
-+        }
- 
-         prop = DoAppendProperty(parent, new wxEnumProperty(label, wxPG_LABEL, items, wxArrayInt(), sel));
- 
-@@ -143,8 +152,12 @@ void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- 
-     // Handle nested children
-     if(prop) {
--        if(bgcol.IsOk()) { prop->SetBackgroundColour(bgcol, bgcolRecurse); }
--        if(!propEditor.IsEmpty()) { prop->SetEditor(propEditor); }
-+        if(bgcol.IsOk()) {
-+            prop->SetBackgroundColour(bgcol, bgcolRecurse);
-+        }
-+        if(!propEditor.IsEmpty()) {
-+            prop->SetEditor(propEditor);
-+        }
-         prop->SetHelpString(tip);
- 
-         // Check to see if this property has children
-@@ -160,12 +173,15 @@ void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- 
- wxArrayString MyWxPropGridXmlHandler::GetArray(const wxXmlNode* node) const
- {
--    if(!node) return wxArrayString();
-+    if(!node)
-+        return wxArrayString();
- 
-     wxArrayString items;
-     wxXmlNode* child = node->GetChildren();
-     while(child) {
--        if(child->GetName() == "item") { items.Add(child->GetNodeContent()); }
-+        if(child->GetName() == "item") {
-+            items.Add(child->GetNodeContent());
-+        }
-         child = child->GetNext();
-     }
-     return items;
--- 
-2.42.0
-
diff --git a/srcpkgs/codelite/template b/srcpkgs/codelite/template
index f8206426888fd..d84663df9e43a 100644
--- a/srcpkgs/codelite/template
+++ b/srcpkgs/codelite/template
@@ -1,8 +1,7 @@
 # Template file for 'codelite'
 pkgname=codelite
-version=16.0.0
-revision=4
-create_wrksrc=yes
+version=17.0.0
+revision=1
 build_style=cmake
 build_helper=cmake-wxWidgets-gtk3
 configure_args="-DWITH_PCH=0 -DWITH_WX_CONFIG=wx-config-gtk3
@@ -10,16 +9,14 @@ configure_args="-DWITH_PCH=0 -DWITH_WX_CONFIG=wx-config-gtk3
  $(vopt_if lldb -DENABLE_LLDB=1 -DENABLE_LLDB=0)"
 hostmakedepends="pkg-config which"
 makedepends="gtk+3-devel wxWidgets-gtk3-devel sqlite-devel MesaLib-devel
- $(vopt_if lldb lldb-devel) $(vopt_if hunspell hunspell-devel)
+ $(vopt_if lldb lldb17-devel) $(vopt_if hunspell hunspell-devel)
  $(vopt_if sftp libssh-devel)"
 short_desc="Open-source, cross platform IDE for the C/C++ programming languages"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="http://www.codelite.org"
-distfiles="https://github.com/eranif/${pkgname}/archive/${version}.tar.gz
- https://github.com/eranif/ctags/archive/52c724d1132d78ea44894bfe2eaca44f38a9bd85.tar.gz"
-checksum="fb707b98b2f56ae0791c7cb341c6a0240ff26a785dae31f7dcd1038956737957
- 7925adbe15cd240c7e65cf54e8752e7f5dbb24622342b84d151de97d2d75acea"
+distfiles=https://github.com/eranif/codelite/releases/download/${version}/codelite-${version}.tar.gz
+checksum=c0dfe6df38426d761ef5622b7a9ab91481244a09ad751f5daafa37bb9b611d57
 python_version=3
 
 build_options="hunspell lldb sftp"
@@ -33,9 +30,3 @@ case "$XBPS_TARGET_MACHINE" in
 esac
 
 CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
-
-post_extract() {
-	mv codelite-${version}/* .
-	rm -rf universal-ctags
-	mv ctags-52c724d1132d78ea44894bfe2eaca44f38a9bd85 universal-ctags
-}

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] codelite: update to 17.0.0.
  2024-01-10 15:03 [PR PATCH] codelite: update to 17.0.0 Calandracas606
                   ` (8 preceding siblings ...)
  2024-02-11 18:31 ` Calandracas606
@ 2024-02-11 18:34 ` Calandracas606
  2024-02-11 19:10 ` Calandracas606
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Calandracas606 @ 2024-02-11 18:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1306 bytes --]

There is an updated pull request by Calandracas606 against master on the void-packages repository

https://github.com/Calandracas606/void-packages codelite-17.0.0
https://github.com/void-linux/void-packages/pull/48154

codelite: update to 17.0.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-glibc
  - aarch64-musl  (cross)
  - armv7l (cross)
  - armv6l-musl (cross)



A patch file from https://github.com/void-linux/void-packages/pull/48154.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-codelite-17.0.0-48154.patch --]
[-- Type: text/x-diff, Size: 12066 bytes --]

From 8fef36769877e6bab32c8b76fa885afc64449407 Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Wed, 10 Jan 2024 10:02:13 -0500
Subject: [PATCH] codelite: update to 17.0.0.

---
 srcpkgs/codelite/patches/ctags-cross.patch   |  22 ++++
 srcpkgs/codelite/patches/install-ctags.patch |  11 --
 srcpkgs/codelite/patches/wx-master.patch     |  32 +++++
 srcpkgs/codelite/patches/wx32.patch          | 131 -------------------
 srcpkgs/codelite/template                    |  19 +--
 5 files changed, 59 insertions(+), 156 deletions(-)
 create mode 100644 srcpkgs/codelite/patches/ctags-cross.patch
 delete mode 100644 srcpkgs/codelite/patches/install-ctags.patch
 create mode 100644 srcpkgs/codelite/patches/wx-master.patch
 delete mode 100644 srcpkgs/codelite/patches/wx32.patch

diff --git a/srcpkgs/codelite/patches/ctags-cross.patch b/srcpkgs/codelite/patches/ctags-cross.patch
new file mode 100644
index 0000000000000..53581797c88bd
--- /dev/null
+++ b/srcpkgs/codelite/patches/ctags-cross.patch
@@ -0,0 +1,22 @@
+CMake doesn't find_path ctags properly when crossbuilding.
+The CTAGS_SUBMODULE variable is never used though,
+and ctags are still built and installed properly
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c88083fd1..ee251c58f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -179,14 +179,6 @@ else(APPLE)
+     set(WX_COMPONENTS "std aui propgrid stc ribbon richtext")
+ endif()
+ 
+-if(UNIX)
+-    find_path(CTAGS_SUBMODULE CMakeLists.txt PATHS ${CMAKE_SOURCE_DIR}/ctags/)
+-    if(NOT CTAGS_SUBMODULE)
+-        message(STATUS "Could not locate `${CMAKE_SOURCE_DIR}/ctags/CMakeLists.txt` file")
+-        message(FATAL_ERROR "Please make sure you have run `git submodule update --init`")
+-    endif()
+-endif()
+-
+ if(WITH_WXPATH)
+     set(ENV{PATH} ${WITH_WXPATH}:$ENV{PATH})
+ endif()
diff --git a/srcpkgs/codelite/patches/install-ctags.patch b/srcpkgs/codelite/patches/install-ctags.patch
deleted file mode 100644
index 8ef1746225e10..0000000000000
--- a/srcpkgs/codelite/patches/install-ctags.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -744,3 +744,8 @@
-     ## Scan for user plugins
-     CL_SCAN_FOR_PLUGINS()
- endif() # NOT WXC_APP
-+
-+if (UNIX)
-+	set_target_properties(ctags PROPERTIES OUTPUT_NAME "codelite-ctags")
-+	install(TARGETS ctags DESTINATION ${CL_PREFIX}/bin PERMISSIONS ${EXE_PERM})
-+endif()
diff --git a/srcpkgs/codelite/patches/wx-master.patch b/srcpkgs/codelite/patches/wx-master.patch
new file mode 100644
index 0000000000000..151411cc8770f
--- /dev/null
+++ b/srcpkgs/codelite/patches/wx-master.patch
@@ -0,0 +1,32 @@
+From c5c975afa30c958b87399255abf13e653138a697 Mon Sep 17 00:00:00 2001
+From: Eran Ifrah <eran@codelite.org>
+Date: Tue, 21 Mar 2023 01:37:47 +0200
+Subject: [PATCH] fixed build against latest wx-master
+
+---
+ LiteEditor/editorsettingsdockingwidows.cpp     | 4 ++--
+ codelitephp/php-plugin/php_open_resource_dlg.h | 2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/LiteEditor/editorsettingsdockingwidows.cpp b/LiteEditor/editorsettingsdockingwidows.cpp
+index d14341863e..973f194a39 100644
+--- a/LiteEditor/editorsettingsdockingwidows.cpp
++++ b/LiteEditor/editorsettingsdockingwidows.cpp
+@@ -59,7 +59,7 @@ EditorSettingsDockingWindows::EditorSettingsDockingWindows(wxWindow* parent, Opt
+     std::unordered_map<wxString, wxDirection> orientation_map = { { "UP", wxUP }, { "DOWN", wxDOWN } };
+     std::unordered_map<int, wxString> orientation_map_reverse = { { wxUP, "UP" }, { wxDOWN, "DOWN" } };
+ 
+-    AddProperty(_("Workspace tabs orientation"), { "UP", "DOWN" },
++    AddProperty(_("Workspace tabs orientation"), std::vector<wxString>{ "UP", "DOWN" },
+                 orientation_map_reverse[m_options->GetWorkspaceTabsDirection()],
+                 [this, orientation_map](const wxString&, const wxAny& value) mutable {
+                     wxString str_value;
+@@ -67,7 +67,7 @@ EditorSettingsDockingWindows::EditorSettingsDockingWindows(wxWindow* parent, Opt
+                         m_options->SetWorkspaceTabsDirection(orientation_map[str_value]);
+                     }
+                 });
+-    AddProperty(_("Output tabs orientation"), { "UP", "DOWN" },
++    AddProperty(_("Output tabs orientation"), std::vector<wxString>{ "UP", "DOWN" },
+                 orientation_map_reverse[m_options->GetOutputTabsDirection()],
+                 [this, orientation_map](const wxString&, const wxAny& value) mutable {
+                     wxString str_value;
diff --git a/srcpkgs/codelite/patches/wx32.patch b/srcpkgs/codelite/patches/wx32.patch
deleted file mode 100644
index f5535ebaf1b3b..0000000000000
--- a/srcpkgs/codelite/patches/wx32.patch
+++ /dev/null
@@ -1,131 +0,0 @@
-From 427af358d41deb00a4628e5b39c63a929cef894a Mon Sep 17 00:00:00 2001
-From: Eran Ifrah <eran@codelite.org>
-Date: Fri, 10 Jun 2022 10:15:52 +0300
-Subject: [PATCH] macos: hunspell: use the library from brew fixed build
- against wx3.1.7 temporarly: disable building LLDB on macos
-
----
- CMakeLists.txt                               |   5 +-
- SpellChecker/CMakeLists.txt                  |  27 +-
- sdk/hunspell/include/affentry.hxx            | 144 -----------
- sdk/hunspell/include/affixmgr.hxx            | 252 -------------------
- sdk/hunspell/include/atypes.hxx              | 107 --------
- sdk/hunspell/include/baseaffix.hxx           |  32 ---
- sdk/hunspell/include/csutil.hxx              | 223 ----------------
- sdk/hunspell/include/dictmgr.hxx             |  39 ---
- sdk/hunspell/include/filemgr.hxx             |  28 ---
- sdk/hunspell/include/hashmgr.hxx             |  69 -----
- sdk/hunspell/include/htypes.hxx              |  32 ---
- sdk/hunspell/include/hunspell.hxx            | 184 --------------
- sdk/hunspell/include/hunzip.hxx              |  47 ----
- sdk/hunspell/include/langnum.hxx             |  38 ---
- sdk/hunspell/include/phonet.hxx              |  52 ----
- sdk/hunspell/include/replist.hxx             |  30 ---
- sdk/hunspell/include/suggestmgr.hxx          | 115 ---------
- sdk/hunspell/include/w_char.hxx              |  21 --
- sdk/hunspell/lib/osx/libhunspell-1.3.0.dylib | Bin 363876 -> 0 bytes
- wxcrafter/myxh_propgrid.cpp                  |  32 ++-
- 20 files changed, 36 insertions(+), 1441 deletions(-)
- delete mode 100644 sdk/hunspell/include/affentry.hxx
- delete mode 100644 sdk/hunspell/include/affixmgr.hxx
- delete mode 100644 sdk/hunspell/include/atypes.hxx
- delete mode 100644 sdk/hunspell/include/baseaffix.hxx
- delete mode 100644 sdk/hunspell/include/csutil.hxx
- delete mode 100644 sdk/hunspell/include/dictmgr.hxx
- delete mode 100644 sdk/hunspell/include/filemgr.hxx
- delete mode 100644 sdk/hunspell/include/hashmgr.hxx
- delete mode 100644 sdk/hunspell/include/htypes.hxx
- delete mode 100644 sdk/hunspell/include/hunspell.hxx
- delete mode 100644 sdk/hunspell/include/hunzip.hxx
- delete mode 100644 sdk/hunspell/include/langnum.hxx
- delete mode 100644 sdk/hunspell/include/phonet.hxx
- delete mode 100644 sdk/hunspell/include/replist.hxx
- delete mode 100644 sdk/hunspell/include/suggestmgr.hxx
- delete mode 100644 sdk/hunspell/include/w_char.hxx
- delete mode 100755 sdk/hunspell/lib/osx/libhunspell-1.3.0.dylib
-
-diff --git a/wxcrafter/myxh_propgrid.cpp b/wxcrafter/myxh_propgrid.cpp
-index 974bc62f0..3fcb3845d 100644
---- a/wxcrafter/myxh_propgrid.cpp
-+++ b/wxcrafter/myxh_propgrid.cpp
-@@ -1,4 +1,5 @@
- #include "myxh_propgrid.h"
-+
- #include <wx/datetime.h>
- #include <wx/log.h>
- #include <wx/propgrid/advprops.h>
-@@ -48,10 +49,14 @@ wxObject* MyWxPropGridXmlHandler::DoCreateResource()
- 
-         // 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); }
-+        if(splitterPos != wxNOT_FOUND) {
-+            m_pgmgr->GetPage(0)->SetSplitterPosition(splitterPos);
-+        }
- 
-         m_isInside = false;
-         return m_pgmgr;
-@@ -67,7 +72,9 @@ bool MyWxPropGridXmlHandler::CanHandle(wxXmlNode* node)
- 
- void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- {
--    if(!HasParam(wxT("proptype"))) { return; }
-+    if(!HasParam(wxT("proptype"))) {
-+        return;
-+    }
- 
-     // Property
-     wxString proptype = GetText("proptype");
-@@ -116,7 +123,9 @@ void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- 
-     } else if(proptype == "wxEnumProperty") {
-         int sel = items.Index(value);
--        if(sel == wxNOT_FOUND) { sel = 0; }
-+        if(sel == wxNOT_FOUND) {
-+            sel = 0;
-+        }
- 
-         prop = DoAppendProperty(parent, new wxEnumProperty(label, wxPG_LABEL, items, wxArrayInt(), sel));
- 
-@@ -143,8 +152,12 @@ void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- 
-     // Handle nested children
-     if(prop) {
--        if(bgcol.IsOk()) { prop->SetBackgroundColour(bgcol, bgcolRecurse); }
--        if(!propEditor.IsEmpty()) { prop->SetEditor(propEditor); }
-+        if(bgcol.IsOk()) {
-+            prop->SetBackgroundColour(bgcol, bgcolRecurse);
-+        }
-+        if(!propEditor.IsEmpty()) {
-+            prop->SetEditor(propEditor);
-+        }
-         prop->SetHelpString(tip);
- 
-         // Check to see if this property has children
-@@ -160,12 +173,15 @@ void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- 
- wxArrayString MyWxPropGridXmlHandler::GetArray(const wxXmlNode* node) const
- {
--    if(!node) return wxArrayString();
-+    if(!node)
-+        return wxArrayString();
- 
-     wxArrayString items;
-     wxXmlNode* child = node->GetChildren();
-     while(child) {
--        if(child->GetName() == "item") { items.Add(child->GetNodeContent()); }
-+        if(child->GetName() == "item") {
-+            items.Add(child->GetNodeContent());
-+        }
-         child = child->GetNext();
-     }
-     return items;
--- 
-2.42.0
-
diff --git a/srcpkgs/codelite/template b/srcpkgs/codelite/template
index f8206426888fd..81d78ec2c7255 100644
--- a/srcpkgs/codelite/template
+++ b/srcpkgs/codelite/template
@@ -1,8 +1,7 @@
 # Template file for 'codelite'
 pkgname=codelite
-version=16.0.0
-revision=4
-create_wrksrc=yes
+version=17.0.0
+revision=1
 build_style=cmake
 build_helper=cmake-wxWidgets-gtk3
 configure_args="-DWITH_PCH=0 -DWITH_WX_CONFIG=wx-config-gtk3
@@ -10,16 +9,14 @@ configure_args="-DWITH_PCH=0 -DWITH_WX_CONFIG=wx-config-gtk3
  $(vopt_if lldb -DENABLE_LLDB=1 -DENABLE_LLDB=0)"
 hostmakedepends="pkg-config which"
 makedepends="gtk+3-devel wxWidgets-gtk3-devel sqlite-devel MesaLib-devel
- $(vopt_if lldb lldb-devel) $(vopt_if hunspell hunspell-devel)
+ $(vopt_if lldb llvm17-devel) $(vopt_if hunspell hunspell-devel)
  $(vopt_if sftp libssh-devel)"
 short_desc="Open-source, cross platform IDE for the C/C++ programming languages"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="http://www.codelite.org"
-distfiles="https://github.com/eranif/${pkgname}/archive/${version}.tar.gz
- https://github.com/eranif/ctags/archive/52c724d1132d78ea44894bfe2eaca44f38a9bd85.tar.gz"
-checksum="fb707b98b2f56ae0791c7cb341c6a0240ff26a785dae31f7dcd1038956737957
- 7925adbe15cd240c7e65cf54e8752e7f5dbb24622342b84d151de97d2d75acea"
+distfiles=https://github.com/eranif/codelite/releases/download/${version}/codelite-${version}.tar.gz
+checksum=c0dfe6df38426d761ef5622b7a9ab91481244a09ad751f5daafa37bb9b611d57
 python_version=3
 
 build_options="hunspell lldb sftp"
@@ -33,9 +30,3 @@ case "$XBPS_TARGET_MACHINE" in
 esac
 
 CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
-
-post_extract() {
-	mv codelite-${version}/* .
-	rm -rf universal-ctags
-	mv ctags-52c724d1132d78ea44894bfe2eaca44f38a9bd85 universal-ctags
-}

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] codelite: update to 17.0.0.
  2024-01-10 15:03 [PR PATCH] codelite: update to 17.0.0 Calandracas606
                   ` (9 preceding siblings ...)
  2024-02-11 18:34 ` Calandracas606
@ 2024-02-11 19:10 ` Calandracas606
  2024-02-11 19:12 ` [PR REVIEW] " Calandracas606
  2024-02-14 14:45 ` [PR PATCH] [Merged]: " ahesford
  12 siblings, 0 replies; 14+ messages in thread
From: Calandracas606 @ 2024-02-11 19:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1306 bytes --]

There is an updated pull request by Calandracas606 against master on the void-packages repository

https://github.com/Calandracas606/void-packages codelite-17.0.0
https://github.com/void-linux/void-packages/pull/48154

codelite: update to 17.0.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-glibc
  - aarch64-musl  (cross)
  - armv7l (cross)
  - armv6l-musl (cross)



A patch file from https://github.com/void-linux/void-packages/pull/48154.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-codelite-17.0.0-48154.patch --]
[-- Type: text/x-diff, Size: 12361 bytes --]

From d7397c9f8b9c0b3d97d802cc8f27a43ab9ca606f Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Wed, 10 Jan 2024 10:02:13 -0500
Subject: [PATCH] codelite: update to 17.0.0.

---
 srcpkgs/codelite/patches/ctags-cross.patch   |  22 ++++
 srcpkgs/codelite/patches/install-ctags.patch |  11 --
 srcpkgs/codelite/patches/wx-master.patch     |  32 +++++
 srcpkgs/codelite/patches/wx32.patch          | 131 -------------------
 srcpkgs/codelite/template                    |  30 +----
 5 files changed, 61 insertions(+), 165 deletions(-)
 create mode 100644 srcpkgs/codelite/patches/ctags-cross.patch
 delete mode 100644 srcpkgs/codelite/patches/install-ctags.patch
 create mode 100644 srcpkgs/codelite/patches/wx-master.patch
 delete mode 100644 srcpkgs/codelite/patches/wx32.patch

diff --git a/srcpkgs/codelite/patches/ctags-cross.patch b/srcpkgs/codelite/patches/ctags-cross.patch
new file mode 100644
index 0000000000000..53581797c88bd
--- /dev/null
+++ b/srcpkgs/codelite/patches/ctags-cross.patch
@@ -0,0 +1,22 @@
+CMake doesn't find_path ctags properly when crossbuilding.
+The CTAGS_SUBMODULE variable is never used though,
+and ctags are still built and installed properly
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c88083fd1..ee251c58f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -179,14 +179,6 @@ else(APPLE)
+     set(WX_COMPONENTS "std aui propgrid stc ribbon richtext")
+ endif()
+ 
+-if(UNIX)
+-    find_path(CTAGS_SUBMODULE CMakeLists.txt PATHS ${CMAKE_SOURCE_DIR}/ctags/)
+-    if(NOT CTAGS_SUBMODULE)
+-        message(STATUS "Could not locate `${CMAKE_SOURCE_DIR}/ctags/CMakeLists.txt` file")
+-        message(FATAL_ERROR "Please make sure you have run `git submodule update --init`")
+-    endif()
+-endif()
+-
+ if(WITH_WXPATH)
+     set(ENV{PATH} ${WITH_WXPATH}:$ENV{PATH})
+ endif()
diff --git a/srcpkgs/codelite/patches/install-ctags.patch b/srcpkgs/codelite/patches/install-ctags.patch
deleted file mode 100644
index 8ef1746225e10..0000000000000
--- a/srcpkgs/codelite/patches/install-ctags.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -744,3 +744,8 @@
-     ## Scan for user plugins
-     CL_SCAN_FOR_PLUGINS()
- endif() # NOT WXC_APP
-+
-+if (UNIX)
-+	set_target_properties(ctags PROPERTIES OUTPUT_NAME "codelite-ctags")
-+	install(TARGETS ctags DESTINATION ${CL_PREFIX}/bin PERMISSIONS ${EXE_PERM})
-+endif()
diff --git a/srcpkgs/codelite/patches/wx-master.patch b/srcpkgs/codelite/patches/wx-master.patch
new file mode 100644
index 0000000000000..151411cc8770f
--- /dev/null
+++ b/srcpkgs/codelite/patches/wx-master.patch
@@ -0,0 +1,32 @@
+From c5c975afa30c958b87399255abf13e653138a697 Mon Sep 17 00:00:00 2001
+From: Eran Ifrah <eran@codelite.org>
+Date: Tue, 21 Mar 2023 01:37:47 +0200
+Subject: [PATCH] fixed build against latest wx-master
+
+---
+ LiteEditor/editorsettingsdockingwidows.cpp     | 4 ++--
+ codelitephp/php-plugin/php_open_resource_dlg.h | 2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/LiteEditor/editorsettingsdockingwidows.cpp b/LiteEditor/editorsettingsdockingwidows.cpp
+index d14341863e..973f194a39 100644
+--- a/LiteEditor/editorsettingsdockingwidows.cpp
++++ b/LiteEditor/editorsettingsdockingwidows.cpp
+@@ -59,7 +59,7 @@ EditorSettingsDockingWindows::EditorSettingsDockingWindows(wxWindow* parent, Opt
+     std::unordered_map<wxString, wxDirection> orientation_map = { { "UP", wxUP }, { "DOWN", wxDOWN } };
+     std::unordered_map<int, wxString> orientation_map_reverse = { { wxUP, "UP" }, { wxDOWN, "DOWN" } };
+ 
+-    AddProperty(_("Workspace tabs orientation"), { "UP", "DOWN" },
++    AddProperty(_("Workspace tabs orientation"), std::vector<wxString>{ "UP", "DOWN" },
+                 orientation_map_reverse[m_options->GetWorkspaceTabsDirection()],
+                 [this, orientation_map](const wxString&, const wxAny& value) mutable {
+                     wxString str_value;
+@@ -67,7 +67,7 @@ EditorSettingsDockingWindows::EditorSettingsDockingWindows(wxWindow* parent, Opt
+                         m_options->SetWorkspaceTabsDirection(orientation_map[str_value]);
+                     }
+                 });
+-    AddProperty(_("Output tabs orientation"), { "UP", "DOWN" },
++    AddProperty(_("Output tabs orientation"), std::vector<wxString>{ "UP", "DOWN" },
+                 orientation_map_reverse[m_options->GetOutputTabsDirection()],
+                 [this, orientation_map](const wxString&, const wxAny& value) mutable {
+                     wxString str_value;
diff --git a/srcpkgs/codelite/patches/wx32.patch b/srcpkgs/codelite/patches/wx32.patch
deleted file mode 100644
index f5535ebaf1b3b..0000000000000
--- a/srcpkgs/codelite/patches/wx32.patch
+++ /dev/null
@@ -1,131 +0,0 @@
-From 427af358d41deb00a4628e5b39c63a929cef894a Mon Sep 17 00:00:00 2001
-From: Eran Ifrah <eran@codelite.org>
-Date: Fri, 10 Jun 2022 10:15:52 +0300
-Subject: [PATCH] macos: hunspell: use the library from brew fixed build
- against wx3.1.7 temporarly: disable building LLDB on macos
-
----
- CMakeLists.txt                               |   5 +-
- SpellChecker/CMakeLists.txt                  |  27 +-
- sdk/hunspell/include/affentry.hxx            | 144 -----------
- sdk/hunspell/include/affixmgr.hxx            | 252 -------------------
- sdk/hunspell/include/atypes.hxx              | 107 --------
- sdk/hunspell/include/baseaffix.hxx           |  32 ---
- sdk/hunspell/include/csutil.hxx              | 223 ----------------
- sdk/hunspell/include/dictmgr.hxx             |  39 ---
- sdk/hunspell/include/filemgr.hxx             |  28 ---
- sdk/hunspell/include/hashmgr.hxx             |  69 -----
- sdk/hunspell/include/htypes.hxx              |  32 ---
- sdk/hunspell/include/hunspell.hxx            | 184 --------------
- sdk/hunspell/include/hunzip.hxx              |  47 ----
- sdk/hunspell/include/langnum.hxx             |  38 ---
- sdk/hunspell/include/phonet.hxx              |  52 ----
- sdk/hunspell/include/replist.hxx             |  30 ---
- sdk/hunspell/include/suggestmgr.hxx          | 115 ---------
- sdk/hunspell/include/w_char.hxx              |  21 --
- sdk/hunspell/lib/osx/libhunspell-1.3.0.dylib | Bin 363876 -> 0 bytes
- wxcrafter/myxh_propgrid.cpp                  |  32 ++-
- 20 files changed, 36 insertions(+), 1441 deletions(-)
- delete mode 100644 sdk/hunspell/include/affentry.hxx
- delete mode 100644 sdk/hunspell/include/affixmgr.hxx
- delete mode 100644 sdk/hunspell/include/atypes.hxx
- delete mode 100644 sdk/hunspell/include/baseaffix.hxx
- delete mode 100644 sdk/hunspell/include/csutil.hxx
- delete mode 100644 sdk/hunspell/include/dictmgr.hxx
- delete mode 100644 sdk/hunspell/include/filemgr.hxx
- delete mode 100644 sdk/hunspell/include/hashmgr.hxx
- delete mode 100644 sdk/hunspell/include/htypes.hxx
- delete mode 100644 sdk/hunspell/include/hunspell.hxx
- delete mode 100644 sdk/hunspell/include/hunzip.hxx
- delete mode 100644 sdk/hunspell/include/langnum.hxx
- delete mode 100644 sdk/hunspell/include/phonet.hxx
- delete mode 100644 sdk/hunspell/include/replist.hxx
- delete mode 100644 sdk/hunspell/include/suggestmgr.hxx
- delete mode 100644 sdk/hunspell/include/w_char.hxx
- delete mode 100755 sdk/hunspell/lib/osx/libhunspell-1.3.0.dylib
-
-diff --git a/wxcrafter/myxh_propgrid.cpp b/wxcrafter/myxh_propgrid.cpp
-index 974bc62f0..3fcb3845d 100644
---- a/wxcrafter/myxh_propgrid.cpp
-+++ b/wxcrafter/myxh_propgrid.cpp
-@@ -1,4 +1,5 @@
- #include "myxh_propgrid.h"
-+
- #include <wx/datetime.h>
- #include <wx/log.h>
- #include <wx/propgrid/advprops.h>
-@@ -48,10 +49,14 @@ wxObject* MyWxPropGridXmlHandler::DoCreateResource()
- 
-         // 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); }
-+        if(splitterPos != wxNOT_FOUND) {
-+            m_pgmgr->GetPage(0)->SetSplitterPosition(splitterPos);
-+        }
- 
-         m_isInside = false;
-         return m_pgmgr;
-@@ -67,7 +72,9 @@ bool MyWxPropGridXmlHandler::CanHandle(wxXmlNode* node)
- 
- void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- {
--    if(!HasParam(wxT("proptype"))) { return; }
-+    if(!HasParam(wxT("proptype"))) {
-+        return;
-+    }
- 
-     // Property
-     wxString proptype = GetText("proptype");
-@@ -116,7 +123,9 @@ void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- 
-     } else if(proptype == "wxEnumProperty") {
-         int sel = items.Index(value);
--        if(sel == wxNOT_FOUND) { sel = 0; }
-+        if(sel == wxNOT_FOUND) {
-+            sel = 0;
-+        }
- 
-         prop = DoAppendProperty(parent, new wxEnumProperty(label, wxPG_LABEL, items, wxArrayInt(), sel));
- 
-@@ -143,8 +152,12 @@ void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- 
-     // Handle nested children
-     if(prop) {
--        if(bgcol.IsOk()) { prop->SetBackgroundColour(bgcol, bgcolRecurse); }
--        if(!propEditor.IsEmpty()) { prop->SetEditor(propEditor); }
-+        if(bgcol.IsOk()) {
-+            prop->SetBackgroundColour(bgcol, bgcolRecurse);
-+        }
-+        if(!propEditor.IsEmpty()) {
-+            prop->SetEditor(propEditor);
-+        }
-         prop->SetHelpString(tip);
- 
-         // Check to see if this property has children
-@@ -160,12 +173,15 @@ void MyWxPropGridXmlHandler::HandlePgProperty(wxPGProperty* parent)
- 
- wxArrayString MyWxPropGridXmlHandler::GetArray(const wxXmlNode* node) const
- {
--    if(!node) return wxArrayString();
-+    if(!node)
-+        return wxArrayString();
- 
-     wxArrayString items;
-     wxXmlNode* child = node->GetChildren();
-     while(child) {
--        if(child->GetName() == "item") { items.Add(child->GetNodeContent()); }
-+        if(child->GetName() == "item") {
-+            items.Add(child->GetNodeContent());
-+        }
-         child = child->GetNext();
-     }
-     return items;
--- 
-2.42.0
-
diff --git a/srcpkgs/codelite/template b/srcpkgs/codelite/template
index f8206426888fd..fd5fe9ea38c2a 100644
--- a/srcpkgs/codelite/template
+++ b/srcpkgs/codelite/template
@@ -1,41 +1,25 @@
 # Template file for 'codelite'
 pkgname=codelite
-version=16.0.0
-revision=4
-create_wrksrc=yes
+version=17.0.0
+revision=1
 build_style=cmake
 build_helper=cmake-wxWidgets-gtk3
 configure_args="-DWITH_PCH=0 -DWITH_WX_CONFIG=wx-config-gtk3
- $(vopt_if sftp -DENABLE_SFTP=1 -DENABLE_SFTP=0)
- $(vopt_if lldb -DENABLE_LLDB=1 -DENABLE_LLDB=0)"
+ $(vopt_if sftp -DENABLE_SFTP=1 -DENABLE_SFTP=0)"
 hostmakedepends="pkg-config which"
 makedepends="gtk+3-devel wxWidgets-gtk3-devel sqlite-devel MesaLib-devel
- $(vopt_if lldb lldb-devel) $(vopt_if hunspell hunspell-devel)
- $(vopt_if sftp libssh-devel)"
+ $(vopt_if hunspell hunspell-devel) $(vopt_if sftp libssh-devel)"
 short_desc="Open-source, cross platform IDE for the C/C++ programming languages"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="http://www.codelite.org"
-distfiles="https://github.com/eranif/${pkgname}/archive/${version}.tar.gz
- https://github.com/eranif/ctags/archive/52c724d1132d78ea44894bfe2eaca44f38a9bd85.tar.gz"
-checksum="fb707b98b2f56ae0791c7cb341c6a0240ff26a785dae31f7dcd1038956737957
- 7925adbe15cd240c7e65cf54e8752e7f5dbb24622342b84d151de97d2d75acea"
+distfiles=https://github.com/eranif/codelite/releases/download/${version}/codelite-${version}.tar.gz
+checksum=c0dfe6df38426d761ef5622b7a9ab91481244a09ad751f5daafa37bb9b611d57
 python_version=3
 
-build_options="hunspell lldb sftp"
+build_options="hunspell sftp"
 build_options_default="hunspell sftp"
 desc_option_hunspell="Enable SpellCheck plugin"
-desc_option_lldb="Enable support for LLDB"
 desc_option_sftp="Enable Workspace Mirroring plugin"
 
-case "$XBPS_TARGET_MACHINE" in
-	x86_64*|ppc64le*|aarch64*|arm*) build_options_default+=" lldb";;
-esac
-
 CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
-
-post_extract() {
-	mv codelite-${version}/* .
-	rm -rf universal-ctags
-	mv ctags-52c724d1132d78ea44894bfe2eaca44f38a9bd85 universal-ctags
-}

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR REVIEW] codelite: update to 17.0.0.
  2024-01-10 15:03 [PR PATCH] codelite: update to 17.0.0 Calandracas606
                   ` (10 preceding siblings ...)
  2024-02-11 19:10 ` Calandracas606
@ 2024-02-11 19:12 ` Calandracas606
  2024-02-14 14:45 ` [PR PATCH] [Merged]: " ahesford
  12 siblings, 0 replies; 14+ messages in thread
From: Calandracas606 @ 2024-02-11 19:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 192 bytes --]

New review comment by Calandracas606 on void-packages repository

https://github.com/void-linux/void-packages/pull/48154#discussion_r1485648313

Comment:
lldb detection is done at runtime now

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Merged]: codelite: update to 17.0.0.
  2024-01-10 15:03 [PR PATCH] codelite: update to 17.0.0 Calandracas606
                   ` (11 preceding siblings ...)
  2024-02-11 19:12 ` [PR REVIEW] " Calandracas606
@ 2024-02-14 14:45 ` ahesford
  12 siblings, 0 replies; 14+ messages in thread
From: ahesford @ 2024-02-14 14:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1128 bytes --]

There's a merged pull request on the void-packages repository

codelite: update to 17.0.0.
https://github.com/void-linux/void-packages/pull/48154

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-glibc
  - aarch64-musl  (cross)
  - armv7l (cross)
  - armv6l-musl (cross)



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-02-14 14:45 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-10 15:03 [PR PATCH] codelite: update to 17.0.0 Calandracas606
2024-01-10 15:11 ` [PR REVIEW] " Calandracas606
2024-01-10 15:11 ` Calandracas606
2024-01-10 15:11 ` Calandracas606
2024-01-16  1:36 ` sgn
2024-01-16  1:38 ` sgn
2024-01-16  1:38 ` [PR PATCH] [Updated] " sgn
2024-01-16  2:45 ` Calandracas606
2024-01-26 14:38 ` Calandracas606
2024-02-11 18:31 ` Calandracas606
2024-02-11 18:34 ` Calandracas606
2024-02-11 19:10 ` Calandracas606
2024-02-11 19:12 ` [PR REVIEW] " Calandracas606
2024-02-14 14:45 ` [PR PATCH] [Merged]: " ahesford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).