Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] codelite: update to 15.0.6.
@ 2021-10-11 13:55 TinfoilSubmarine
  2021-10-11 15:11 ` [PR PATCH] [Updated] " TinfoilSubmarine
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: TinfoilSubmarine @ 2021-10-11 13:55 UTC (permalink / raw)
  To: ml

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

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

https://github.com/TinfoilSubmarine/void-packages codelite
https://github.com/void-linux/void-packages/pull/33479

codelite: update to 15.0.6.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [X] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->

Cross-builds are now successful. Have not been able to test on anything other than x86_64.

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

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

From f44bb1bf2709c3359a83710a553ccfc71c8b1bdf Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 11 Oct 2021 09:12:16 -0400
Subject: [PATCH] codelite: update to 15.0.6.

---
 srcpkgs/codelite/patches/92ed90e07.patch | 48 ----------------------
 srcpkgs/codelite/patches/musl.patch      | 52 ++++++++++++++----------
 srcpkgs/codelite/template                | 34 +++++-----------
 3 files changed, 41 insertions(+), 93 deletions(-)
 delete mode 100644 srcpkgs/codelite/patches/92ed90e07.patch

diff --git a/srcpkgs/codelite/patches/92ed90e07.patch b/srcpkgs/codelite/patches/92ed90e07.patch
deleted file mode 100644
index 5a469602e40f..000000000000
--- a/srcpkgs/codelite/patches/92ed90e07.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From 92ed90e07774dfc8556bee02c66120eed4938a40 Mon Sep 17 00:00:00 2001
-From: dghart <dghart david@4Pane.co.uk>
-Date: Wed, 19 Jun 2019 11:23:38 +0100
-Subject: [PATCH] Compilation fix for wx3.0 gtk+3 builds
-
----
- codelite_terminal/TextView.cpp | 12 ++++++++++++
- 1 file changed, 12 insertions(+)
-
-diff --git a/codelite_terminal/TextView.cpp b/codelite_terminal/TextView.cpp
-index 83d2e260c..5966f9972 100644
---- a/codelite_terminal/TextView.cpp
-+++ b/codelite_terminal/TextView.cpp
-@@ -12,7 +12,11 @@ TextView::TextView(wxWindow* parent, wxWindowID winid)
-     m_ctrl->SetCaretStyle(wxSTC_CARETSTYLE_BLOCK);
-     m_ctrl->SetYCaretPolicy(wxSTC_CARET_STRICT | wxSTC_CARET_SLOP, 4);
-     m_ctrl->SetLexer(wxSTC_LEX_CONTAINER);
-+#if wxCHECK_VERSION(3, 1, 1)
-     m_ctrl->StartStyling(0);
-+#else
-+    m_ctrl->StartStyling(0, 0x1f);
-+#endif
-     m_ctrl->SetWrapMode(wxSTC_WRAP_CHAR);
- #else
-     m_ctrl = new TextCtrl_t(this, wxID_ANY, "", wxDefaultPosition, wxDefaultSize,
-@@ -61,7 +65,11 @@ void TextView::SetDefaultStyle(const wxTextAttr& attr)
- {
- #if USE_STC
-     m_defaultAttr = attr;
-+#if wxCHECK_VERSION(3, 1, 1)
-     m_ctrl->StartStyling(m_ctrl->GetLastPosition());
-+#else
-+    m_ctrl->StartStyling(m_ctrl->GetLastPosition(), 0x1f);
-+#endif
- #else
-     m_ctrl->SetDefaultStyle(attr);
- #endif
-@@ -210,6 +218,10 @@ void TextView::Clear()
- #if USE_STC
-     m_ctrl->ClearAll();
-     m_ctrl->ClearDocumentStyle();
-+#if wxCHECK_VERSION(3, 1, 1)
-     m_ctrl->StartStyling(0);
-+#else
-+    m_ctrl->StartStyling(0, 0x1f);
-+#endif
- #endif
- }
diff --git a/srcpkgs/codelite/patches/musl.patch b/srcpkgs/codelite/patches/musl.patch
index d911036ddb94..6dfbdb42152f 100644
--- a/srcpkgs/codelite/patches/musl.patch
+++ b/srcpkgs/codelite/patches/musl.patch
@@ -1,36 +1,42 @@
---- a/codelitegcc/main.cpp	2019-06-29 08:37:38.818622077 +0200
-+++ b/codelitegcc/main.cpp	2019-06-29 08:38:04.090937646 +0200
-@@ -33,6 +33,7 @@ extern int ExecuteProcessWIN(const std::
- #include <sys/file.h>
- #include <sys/stat.h>
- #include <sys/stat.h>
-+#include <fcntl.h>
- 
- void WriteContent( const std::string& logfile, const std::string& filename, const std::string& flags )
- {
---- a/sdk/codelite_indexer/libctags/read.c	2019-06-29 08:54:26.592208449 +0200
-+++ b/sdk/codelite_indexer/libctags/read.c	2019-06-29 08:56:18.688608501 +0200
-@@ -605,6 +605,9 @@ extern int readChars (char *buffer, size
+diff --git a/codelitegcc/main.cpp b/codelitegcc/main.cpp
+index 1b78e0825..a4ffdc3e7 100644
+--- a/codelitegcc/main.cpp
++++ b/codelitegcc/main.cpp
+@@ -33,6 +33,7 @@ extern int ExecuteProcessWIN(const std::string& commandline);
+ #include <sys/file.h>
+ #include <sys/stat.h>
+ #include <sys/stat.h>
++#include <fcntl.h>
+ 
+ void WriteContent( const std::string& logfile, const std::string& filename, const std::string& flags )
+ {
+diff --git a/sdk/codelite_indexer/libctags/read.c b/sdk/codelite_indexer/libctags/read.c
+index 144032de5..bfabf75d3 100644
+--- a/sdk/codelite_indexer/libctags/read.c
++++ b/sdk/codelite_indexer/libctags/read.c
+@@ -605,6 +605,9 @@ extern int readChars (char *buffer, size_t bufferSize, fpos_t location, fpos_t e
  #if defined(__WXMSW__) || defined(__APPLE__) || defined(__FreeBSD__)
  	if(location < 0)
  		return 0;
 +#elif defined(__linux__) && !defined(__GLIBC__) /* musl */
 +	if(location.__lldata < 0)
 +		return 0;
- #else
- 	if(location.__pos < 0)
+ #elif defined(__NetBSD__)
+ 	if(location._pos < 0)
  		return 0;
-@@ -619,6 +622,8 @@ extern int readChars (char *buffer, size
+@@ -622,6 +625,8 @@ extern int readChars (char *buffer, size_t bufferSize, fpos_t location, fpos_t e
  
  #if defined(__WXMSW__) || defined(__APPLE__) || defined(__FreeBSD__)
  	sizeToRead = endPos - location;
 +#elif defined(__linux__) && !defined(__GLIBC__) /* musl */
 +	sizeToRead = endPos.__lldata - location.__lldata;
+ #elif defined(__NetBSD__)
+ 	sizeToRead = endPos._pos - location._pos;
  #else
- 	sizeToRead = endPos.__pos - location.__pos;
- #endif
---- a/sdk/codelite_indexer/network/named_pipe.cpp	2019-06-29 09:06:20.260132366 +0200
-+++ b/sdk/codelite_indexer/network/named_pipe.cpp	2019-06-29 09:06:38.468360112 +0200
+diff --git a/sdk/codelite_indexer/network/named_pipe.cpp b/sdk/codelite_indexer/network/named_pipe.cpp
+index 6e729946d..3e587a428 100644
+--- a/sdk/codelite_indexer/network/named_pipe.cpp
++++ b/sdk/codelite_indexer/network/named_pipe.cpp
 @@ -27,9 +27,9 @@
  
  #ifndef __WXMSW__
@@ -42,8 +48,10 @@
  #endif
  
  #ifdef __WXMSW__
---- a/sdk/codelite_indexer/network/named_pipe_server.cpp	2019-06-29 09:07:26.077955618 +0200
-+++ b/sdk/codelite_indexer/network/named_pipe_server.cpp	2019-06-29 09:07:35.484073269 +0200
+diff --git a/sdk/codelite_indexer/network/named_pipe_server.cpp b/sdk/codelite_indexer/network/named_pipe_server.cpp
+index 708df483d..68d7e3958 100644
+--- a/sdk/codelite_indexer/network/named_pipe_server.cpp
++++ b/sdk/codelite_indexer/network/named_pipe_server.cpp
 @@ -26,8 +26,8 @@
  #include "named_pipe_server.h"
  #ifndef __WXMSW__
diff --git a/srcpkgs/codelite/template b/srcpkgs/codelite/template
index cedc1e11c247..a31eadca0220 100644
--- a/srcpkgs/codelite/template
+++ b/srcpkgs/codelite/template
@@ -1,38 +1,26 @@
 # Template file for 'codelite'
 pkgname=codelite
-version=13.0
-revision=5
-archs="i686* x86_64* ppc64le*"
+version=15.0.6
+revision=1
 build_style=cmake
 build_helper=cmake-wxWidgets-gtk3
-configure_args="-DWITH_PCH=0
- $(vopt_if sftp -DENABLE_SFTP=1)
- $(vopt_if lldb -DENABLE_LLDB=1)"
-hostmakedepends="pkg-config clang which"
+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)"
+hostmakedepends="pkg-config which"
 makedepends="gtk+3-devel wxWidgets-gtk3-devel sqlite-devel
  $(vopt_if lldb lldb-devel) $(vopt_if hunspell hunspell-devel)
- $(vopt_if mysql libmariadbclient-devel) $(vopt_if sftp libssh-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"
-checksum=f2653fa42d6214999718236998cb223e6de00a498c0cfde795e901be693fb9ac
-nocross=yes
-python_version=2 #unverified
+checksum=28430c37d163219b1001b6e539e520e4f3e750ea5b8ee2457d92d0961fee15bb
+python_version=3
 
-build_options="hunspell lldb mysql sftp"
-build_options_default="hunspell sftp"
+build_options="hunspell lldb sftp"
+build_options_default="hunspell lldb sftp"
 desc_option_hunspell="Enable SpellCheck plugin"
 desc_option_lldb="Enable support for LLDB"
-desc_option_mysql="Enable mysql/mariadb support"
 desc_option_sftp="Enable Workspace Mirroring plugin"
-
-case "$XBPS_TARGET_MACHINE" in
-	x86_64*|ppc64le*) build_options_default+=" lldb";;
-esac
-
-pre_configure() {
-	sed -i -e 's,wx-config,&-gtk3,g' \
-	 CMakeLists.txt
-}

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

* Re: [PR PATCH] [Updated] codelite: update to 15.0.6.
  2021-10-11 13:55 [PR PATCH] codelite: update to 15.0.6 TinfoilSubmarine
@ 2021-10-11 15:11 ` TinfoilSubmarine
  2021-10-11 15:12 ` TinfoilSubmarine
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: TinfoilSubmarine @ 2021-10-11 15:11 UTC (permalink / raw)
  To: ml

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

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

https://github.com/TinfoilSubmarine/void-packages codelite
https://github.com/void-linux/void-packages/pull/33479

codelite: update to 15.0.6.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [X] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->

Cross-builds are now successful. Have not been able to test on anything other than x86_64.

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

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

From 1570d66f81c960230a58cbad43f8d9e54b17a38e Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 11 Oct 2021 09:12:16 -0400
Subject: [PATCH] codelite: update to 15.0.6.

---
 srcpkgs/codelite/patches/92ed90e07.patch | 48 ----------------------
 srcpkgs/codelite/patches/musl.patch      | 52 ++++++++++++++----------
 srcpkgs/codelite/template                | 34 +++++-----------
 3 files changed, 41 insertions(+), 93 deletions(-)
 delete mode 100644 srcpkgs/codelite/patches/92ed90e07.patch

diff --git a/srcpkgs/codelite/patches/92ed90e07.patch b/srcpkgs/codelite/patches/92ed90e07.patch
deleted file mode 100644
index 5a469602e40f..000000000000
--- a/srcpkgs/codelite/patches/92ed90e07.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From 92ed90e07774dfc8556bee02c66120eed4938a40 Mon Sep 17 00:00:00 2001
-From: dghart <dghart david@4Pane.co.uk>
-Date: Wed, 19 Jun 2019 11:23:38 +0100
-Subject: [PATCH] Compilation fix for wx3.0 gtk+3 builds
-
----
- codelite_terminal/TextView.cpp | 12 ++++++++++++
- 1 file changed, 12 insertions(+)
-
-diff --git a/codelite_terminal/TextView.cpp b/codelite_terminal/TextView.cpp
-index 83d2e260c..5966f9972 100644
---- a/codelite_terminal/TextView.cpp
-+++ b/codelite_terminal/TextView.cpp
-@@ -12,7 +12,11 @@ TextView::TextView(wxWindow* parent, wxWindowID winid)
-     m_ctrl->SetCaretStyle(wxSTC_CARETSTYLE_BLOCK);
-     m_ctrl->SetYCaretPolicy(wxSTC_CARET_STRICT | wxSTC_CARET_SLOP, 4);
-     m_ctrl->SetLexer(wxSTC_LEX_CONTAINER);
-+#if wxCHECK_VERSION(3, 1, 1)
-     m_ctrl->StartStyling(0);
-+#else
-+    m_ctrl->StartStyling(0, 0x1f);
-+#endif
-     m_ctrl->SetWrapMode(wxSTC_WRAP_CHAR);
- #else
-     m_ctrl = new TextCtrl_t(this, wxID_ANY, "", wxDefaultPosition, wxDefaultSize,
-@@ -61,7 +65,11 @@ void TextView::SetDefaultStyle(const wxTextAttr& attr)
- {
- #if USE_STC
-     m_defaultAttr = attr;
-+#if wxCHECK_VERSION(3, 1, 1)
-     m_ctrl->StartStyling(m_ctrl->GetLastPosition());
-+#else
-+    m_ctrl->StartStyling(m_ctrl->GetLastPosition(), 0x1f);
-+#endif
- #else
-     m_ctrl->SetDefaultStyle(attr);
- #endif
-@@ -210,6 +218,10 @@ void TextView::Clear()
- #if USE_STC
-     m_ctrl->ClearAll();
-     m_ctrl->ClearDocumentStyle();
-+#if wxCHECK_VERSION(3, 1, 1)
-     m_ctrl->StartStyling(0);
-+#else
-+    m_ctrl->StartStyling(0, 0x1f);
-+#endif
- #endif
- }
diff --git a/srcpkgs/codelite/patches/musl.patch b/srcpkgs/codelite/patches/musl.patch
index d911036ddb94..6dfbdb42152f 100644
--- a/srcpkgs/codelite/patches/musl.patch
+++ b/srcpkgs/codelite/patches/musl.patch
@@ -1,36 +1,42 @@
---- a/codelitegcc/main.cpp	2019-06-29 08:37:38.818622077 +0200
-+++ b/codelitegcc/main.cpp	2019-06-29 08:38:04.090937646 +0200
-@@ -33,6 +33,7 @@ extern int ExecuteProcessWIN(const std::
- #include <sys/file.h>
- #include <sys/stat.h>
- #include <sys/stat.h>
-+#include <fcntl.h>
- 
- void WriteContent( const std::string& logfile, const std::string& filename, const std::string& flags )
- {
---- a/sdk/codelite_indexer/libctags/read.c	2019-06-29 08:54:26.592208449 +0200
-+++ b/sdk/codelite_indexer/libctags/read.c	2019-06-29 08:56:18.688608501 +0200
-@@ -605,6 +605,9 @@ extern int readChars (char *buffer, size
+diff --git a/codelitegcc/main.cpp b/codelitegcc/main.cpp
+index 1b78e0825..a4ffdc3e7 100644
+--- a/codelitegcc/main.cpp
++++ b/codelitegcc/main.cpp
+@@ -33,6 +33,7 @@ extern int ExecuteProcessWIN(const std::string& commandline);
+ #include <sys/file.h>
+ #include <sys/stat.h>
+ #include <sys/stat.h>
++#include <fcntl.h>
+ 
+ void WriteContent( const std::string& logfile, const std::string& filename, const std::string& flags )
+ {
+diff --git a/sdk/codelite_indexer/libctags/read.c b/sdk/codelite_indexer/libctags/read.c
+index 144032de5..bfabf75d3 100644
+--- a/sdk/codelite_indexer/libctags/read.c
++++ b/sdk/codelite_indexer/libctags/read.c
+@@ -605,6 +605,9 @@ extern int readChars (char *buffer, size_t bufferSize, fpos_t location, fpos_t e
  #if defined(__WXMSW__) || defined(__APPLE__) || defined(__FreeBSD__)
  	if(location < 0)
  		return 0;
 +#elif defined(__linux__) && !defined(__GLIBC__) /* musl */
 +	if(location.__lldata < 0)
 +		return 0;
- #else
- 	if(location.__pos < 0)
+ #elif defined(__NetBSD__)
+ 	if(location._pos < 0)
  		return 0;
-@@ -619,6 +622,8 @@ extern int readChars (char *buffer, size
+@@ -622,6 +625,8 @@ extern int readChars (char *buffer, size_t bufferSize, fpos_t location, fpos_t e
  
  #if defined(__WXMSW__) || defined(__APPLE__) || defined(__FreeBSD__)
  	sizeToRead = endPos - location;
 +#elif defined(__linux__) && !defined(__GLIBC__) /* musl */
 +	sizeToRead = endPos.__lldata - location.__lldata;
+ #elif defined(__NetBSD__)
+ 	sizeToRead = endPos._pos - location._pos;
  #else
- 	sizeToRead = endPos.__pos - location.__pos;
- #endif
---- a/sdk/codelite_indexer/network/named_pipe.cpp	2019-06-29 09:06:20.260132366 +0200
-+++ b/sdk/codelite_indexer/network/named_pipe.cpp	2019-06-29 09:06:38.468360112 +0200
+diff --git a/sdk/codelite_indexer/network/named_pipe.cpp b/sdk/codelite_indexer/network/named_pipe.cpp
+index 6e729946d..3e587a428 100644
+--- a/sdk/codelite_indexer/network/named_pipe.cpp
++++ b/sdk/codelite_indexer/network/named_pipe.cpp
 @@ -27,9 +27,9 @@
  
  #ifndef __WXMSW__
@@ -42,8 +48,10 @@
  #endif
  
  #ifdef __WXMSW__
---- a/sdk/codelite_indexer/network/named_pipe_server.cpp	2019-06-29 09:07:26.077955618 +0200
-+++ b/sdk/codelite_indexer/network/named_pipe_server.cpp	2019-06-29 09:07:35.484073269 +0200
+diff --git a/sdk/codelite_indexer/network/named_pipe_server.cpp b/sdk/codelite_indexer/network/named_pipe_server.cpp
+index 708df483d..68d7e3958 100644
+--- a/sdk/codelite_indexer/network/named_pipe_server.cpp
++++ b/sdk/codelite_indexer/network/named_pipe_server.cpp
 @@ -26,8 +26,8 @@
  #include "named_pipe_server.h"
  #ifndef __WXMSW__
diff --git a/srcpkgs/codelite/template b/srcpkgs/codelite/template
index cedc1e11c247..a31eadca0220 100644
--- a/srcpkgs/codelite/template
+++ b/srcpkgs/codelite/template
@@ -1,38 +1,26 @@
 # Template file for 'codelite'
 pkgname=codelite
-version=13.0
-revision=5
-archs="i686* x86_64* ppc64le*"
+version=15.0.6
+revision=1
 build_style=cmake
 build_helper=cmake-wxWidgets-gtk3
-configure_args="-DWITH_PCH=0
- $(vopt_if sftp -DENABLE_SFTP=1)
- $(vopt_if lldb -DENABLE_LLDB=1)"
-hostmakedepends="pkg-config clang which"
+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)"
+hostmakedepends="pkg-config which"
 makedepends="gtk+3-devel wxWidgets-gtk3-devel sqlite-devel
  $(vopt_if lldb lldb-devel) $(vopt_if hunspell hunspell-devel)
- $(vopt_if mysql libmariadbclient-devel) $(vopt_if sftp libssh-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"
-checksum=f2653fa42d6214999718236998cb223e6de00a498c0cfde795e901be693fb9ac
-nocross=yes
-python_version=2 #unverified
+checksum=28430c37d163219b1001b6e539e520e4f3e750ea5b8ee2457d92d0961fee15bb
+python_version=3
 
-build_options="hunspell lldb mysql sftp"
-build_options_default="hunspell sftp"
+build_options="hunspell lldb sftp"
+build_options_default="hunspell lldb sftp"
 desc_option_hunspell="Enable SpellCheck plugin"
 desc_option_lldb="Enable support for LLDB"
-desc_option_mysql="Enable mysql/mariadb support"
 desc_option_sftp="Enable Workspace Mirroring plugin"
-
-case "$XBPS_TARGET_MACHINE" in
-	x86_64*|ppc64le*) build_options_default+=" lldb";;
-esac
-
-pre_configure() {
-	sed -i -e 's,wx-config,&-gtk3,g' \
-	 CMakeLists.txt
-}

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

* Re: codelite: update to 15.0.6.
  2021-10-11 13:55 [PR PATCH] codelite: update to 15.0.6 TinfoilSubmarine
  2021-10-11 15:11 ` [PR PATCH] [Updated] " TinfoilSubmarine
@ 2021-10-11 15:12 ` TinfoilSubmarine
  2021-10-12  1:04 ` [PR PATCH] [Updated] " TinfoilSubmarine
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: TinfoilSubmarine @ 2021-10-11 15:12 UTC (permalink / raw)
  To: ml

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

New comment by TinfoilSubmarine on void-packages repository

https://github.com/void-linux/void-packages/pull/33479#issuecomment-940118911

Comment:
Rebased to avoid Python 3.10 rebuilds for now.

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

* Re: [PR PATCH] [Updated] codelite: update to 15.0.6.
  2021-10-11 13:55 [PR PATCH] codelite: update to 15.0.6 TinfoilSubmarine
  2021-10-11 15:11 ` [PR PATCH] [Updated] " TinfoilSubmarine
  2021-10-11 15:12 ` TinfoilSubmarine
@ 2021-10-12  1:04 ` TinfoilSubmarine
  2021-10-12 13:05 ` TinfoilSubmarine
  2021-10-12 18:38 ` [PR PATCH] [Merged]: " ericonr
  4 siblings, 0 replies; 6+ messages in thread
From: TinfoilSubmarine @ 2021-10-12  1:04 UTC (permalink / raw)
  To: ml

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

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

https://github.com/TinfoilSubmarine/void-packages codelite
https://github.com/void-linux/void-packages/pull/33479

codelite: update to 15.0.6.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [X] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->

Cross-builds are now successful. Have not been able to test on anything other than x86_64.

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

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

From d8c6c3116bfe7f44308cdbfd251a0de5c2821064 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 11 Oct 2021 09:12:16 -0400
Subject: [PATCH] codelite: update to 15.0.6.

---
 srcpkgs/codelite/patches/92ed90e07.patch | 48 ----------------------
 srcpkgs/codelite/patches/musl.patch      | 52 ++++++++++++++----------
 srcpkgs/codelite/template                | 34 +++++-----------
 3 files changed, 41 insertions(+), 93 deletions(-)
 delete mode 100644 srcpkgs/codelite/patches/92ed90e07.patch

diff --git a/srcpkgs/codelite/patches/92ed90e07.patch b/srcpkgs/codelite/patches/92ed90e07.patch
deleted file mode 100644
index 5a469602e40f..000000000000
--- a/srcpkgs/codelite/patches/92ed90e07.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From 92ed90e07774dfc8556bee02c66120eed4938a40 Mon Sep 17 00:00:00 2001
-From: dghart <dghart david@4Pane.co.uk>
-Date: Wed, 19 Jun 2019 11:23:38 +0100
-Subject: [PATCH] Compilation fix for wx3.0 gtk+3 builds
-
----
- codelite_terminal/TextView.cpp | 12 ++++++++++++
- 1 file changed, 12 insertions(+)
-
-diff --git a/codelite_terminal/TextView.cpp b/codelite_terminal/TextView.cpp
-index 83d2e260c..5966f9972 100644
---- a/codelite_terminal/TextView.cpp
-+++ b/codelite_terminal/TextView.cpp
-@@ -12,7 +12,11 @@ TextView::TextView(wxWindow* parent, wxWindowID winid)
-     m_ctrl->SetCaretStyle(wxSTC_CARETSTYLE_BLOCK);
-     m_ctrl->SetYCaretPolicy(wxSTC_CARET_STRICT | wxSTC_CARET_SLOP, 4);
-     m_ctrl->SetLexer(wxSTC_LEX_CONTAINER);
-+#if wxCHECK_VERSION(3, 1, 1)
-     m_ctrl->StartStyling(0);
-+#else
-+    m_ctrl->StartStyling(0, 0x1f);
-+#endif
-     m_ctrl->SetWrapMode(wxSTC_WRAP_CHAR);
- #else
-     m_ctrl = new TextCtrl_t(this, wxID_ANY, "", wxDefaultPosition, wxDefaultSize,
-@@ -61,7 +65,11 @@ void TextView::SetDefaultStyle(const wxTextAttr& attr)
- {
- #if USE_STC
-     m_defaultAttr = attr;
-+#if wxCHECK_VERSION(3, 1, 1)
-     m_ctrl->StartStyling(m_ctrl->GetLastPosition());
-+#else
-+    m_ctrl->StartStyling(m_ctrl->GetLastPosition(), 0x1f);
-+#endif
- #else
-     m_ctrl->SetDefaultStyle(attr);
- #endif
-@@ -210,6 +218,10 @@ void TextView::Clear()
- #if USE_STC
-     m_ctrl->ClearAll();
-     m_ctrl->ClearDocumentStyle();
-+#if wxCHECK_VERSION(3, 1, 1)
-     m_ctrl->StartStyling(0);
-+#else
-+    m_ctrl->StartStyling(0, 0x1f);
-+#endif
- #endif
- }
diff --git a/srcpkgs/codelite/patches/musl.patch b/srcpkgs/codelite/patches/musl.patch
index d911036ddb94..6dfbdb42152f 100644
--- a/srcpkgs/codelite/patches/musl.patch
+++ b/srcpkgs/codelite/patches/musl.patch
@@ -1,36 +1,42 @@
---- a/codelitegcc/main.cpp	2019-06-29 08:37:38.818622077 +0200
-+++ b/codelitegcc/main.cpp	2019-06-29 08:38:04.090937646 +0200
-@@ -33,6 +33,7 @@ extern int ExecuteProcessWIN(const std::
- #include <sys/file.h>
- #include <sys/stat.h>
- #include <sys/stat.h>
-+#include <fcntl.h>
- 
- void WriteContent( const std::string& logfile, const std::string& filename, const std::string& flags )
- {
---- a/sdk/codelite_indexer/libctags/read.c	2019-06-29 08:54:26.592208449 +0200
-+++ b/sdk/codelite_indexer/libctags/read.c	2019-06-29 08:56:18.688608501 +0200
-@@ -605,6 +605,9 @@ extern int readChars (char *buffer, size
+diff --git a/codelitegcc/main.cpp b/codelitegcc/main.cpp
+index 1b78e0825..a4ffdc3e7 100644
+--- a/codelitegcc/main.cpp
++++ b/codelitegcc/main.cpp
+@@ -33,6 +33,7 @@ extern int ExecuteProcessWIN(const std::string& commandline);
+ #include <sys/file.h>
+ #include <sys/stat.h>
+ #include <sys/stat.h>
++#include <fcntl.h>
+ 
+ void WriteContent( const std::string& logfile, const std::string& filename, const std::string& flags )
+ {
+diff --git a/sdk/codelite_indexer/libctags/read.c b/sdk/codelite_indexer/libctags/read.c
+index 144032de5..bfabf75d3 100644
+--- a/sdk/codelite_indexer/libctags/read.c
++++ b/sdk/codelite_indexer/libctags/read.c
+@@ -605,6 +605,9 @@ extern int readChars (char *buffer, size_t bufferSize, fpos_t location, fpos_t e
  #if defined(__WXMSW__) || defined(__APPLE__) || defined(__FreeBSD__)
  	if(location < 0)
  		return 0;
 +#elif defined(__linux__) && !defined(__GLIBC__) /* musl */
 +	if(location.__lldata < 0)
 +		return 0;
- #else
- 	if(location.__pos < 0)
+ #elif defined(__NetBSD__)
+ 	if(location._pos < 0)
  		return 0;
-@@ -619,6 +622,8 @@ extern int readChars (char *buffer, size
+@@ -622,6 +625,8 @@ extern int readChars (char *buffer, size_t bufferSize, fpos_t location, fpos_t e
  
  #if defined(__WXMSW__) || defined(__APPLE__) || defined(__FreeBSD__)
  	sizeToRead = endPos - location;
 +#elif defined(__linux__) && !defined(__GLIBC__) /* musl */
 +	sizeToRead = endPos.__lldata - location.__lldata;
+ #elif defined(__NetBSD__)
+ 	sizeToRead = endPos._pos - location._pos;
  #else
- 	sizeToRead = endPos.__pos - location.__pos;
- #endif
---- a/sdk/codelite_indexer/network/named_pipe.cpp	2019-06-29 09:06:20.260132366 +0200
-+++ b/sdk/codelite_indexer/network/named_pipe.cpp	2019-06-29 09:06:38.468360112 +0200
+diff --git a/sdk/codelite_indexer/network/named_pipe.cpp b/sdk/codelite_indexer/network/named_pipe.cpp
+index 6e729946d..3e587a428 100644
+--- a/sdk/codelite_indexer/network/named_pipe.cpp
++++ b/sdk/codelite_indexer/network/named_pipe.cpp
 @@ -27,9 +27,9 @@
  
  #ifndef __WXMSW__
@@ -42,8 +48,10 @@
  #endif
  
  #ifdef __WXMSW__
---- a/sdk/codelite_indexer/network/named_pipe_server.cpp	2019-06-29 09:07:26.077955618 +0200
-+++ b/sdk/codelite_indexer/network/named_pipe_server.cpp	2019-06-29 09:07:35.484073269 +0200
+diff --git a/sdk/codelite_indexer/network/named_pipe_server.cpp b/sdk/codelite_indexer/network/named_pipe_server.cpp
+index 708df483d..68d7e3958 100644
+--- a/sdk/codelite_indexer/network/named_pipe_server.cpp
++++ b/sdk/codelite_indexer/network/named_pipe_server.cpp
 @@ -26,8 +26,8 @@
  #include "named_pipe_server.h"
  #ifndef __WXMSW__
diff --git a/srcpkgs/codelite/template b/srcpkgs/codelite/template
index cedc1e11c247..a31eadca0220 100644
--- a/srcpkgs/codelite/template
+++ b/srcpkgs/codelite/template
@@ -1,38 +1,26 @@
 # Template file for 'codelite'
 pkgname=codelite
-version=13.0
-revision=5
-archs="i686* x86_64* ppc64le*"
+version=15.0.6
+revision=1
 build_style=cmake
 build_helper=cmake-wxWidgets-gtk3
-configure_args="-DWITH_PCH=0
- $(vopt_if sftp -DENABLE_SFTP=1)
- $(vopt_if lldb -DENABLE_LLDB=1)"
-hostmakedepends="pkg-config clang which"
+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)"
+hostmakedepends="pkg-config which"
 makedepends="gtk+3-devel wxWidgets-gtk3-devel sqlite-devel
  $(vopt_if lldb lldb-devel) $(vopt_if hunspell hunspell-devel)
- $(vopt_if mysql libmariadbclient-devel) $(vopt_if sftp libssh-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"
-checksum=f2653fa42d6214999718236998cb223e6de00a498c0cfde795e901be693fb9ac
-nocross=yes
-python_version=2 #unverified
+checksum=28430c37d163219b1001b6e539e520e4f3e750ea5b8ee2457d92d0961fee15bb
+python_version=3
 
-build_options="hunspell lldb mysql sftp"
-build_options_default="hunspell sftp"
+build_options="hunspell lldb sftp"
+build_options_default="hunspell lldb sftp"
 desc_option_hunspell="Enable SpellCheck plugin"
 desc_option_lldb="Enable support for LLDB"
-desc_option_mysql="Enable mysql/mariadb support"
 desc_option_sftp="Enable Workspace Mirroring plugin"
-
-case "$XBPS_TARGET_MACHINE" in
-	x86_64*|ppc64le*) build_options_default+=" lldb";;
-esac
-
-pre_configure() {
-	sed -i -e 's,wx-config,&-gtk3,g' \
-	 CMakeLists.txt
-}

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

* Re: [PR PATCH] [Updated] codelite: update to 15.0.6.
  2021-10-11 13:55 [PR PATCH] codelite: update to 15.0.6 TinfoilSubmarine
                   ` (2 preceding siblings ...)
  2021-10-12  1:04 ` [PR PATCH] [Updated] " TinfoilSubmarine
@ 2021-10-12 13:05 ` TinfoilSubmarine
  2021-10-12 18:38 ` [PR PATCH] [Merged]: " ericonr
  4 siblings, 0 replies; 6+ messages in thread
From: TinfoilSubmarine @ 2021-10-12 13:05 UTC (permalink / raw)
  To: ml

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

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

https://github.com/TinfoilSubmarine/void-packages codelite
https://github.com/void-linux/void-packages/pull/33479

codelite: update to 15.0.6.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [X] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->

Cross-builds are now successful. Have not been able to test on anything other than x86_64.

Note: supersedes https://github.com/void-linux/void-packages/pull/26387

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

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

From 9fe996039a8ee11828b2f19b2cfcb351cb82dd95 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 11 Oct 2021 09:12:16 -0400
Subject: [PATCH] codelite: update to 15.0.6.

---
 srcpkgs/codelite/patches/92ed90e07.patch | 48 ----------------------
 srcpkgs/codelite/patches/musl.patch      | 52 ++++++++++++++----------
 srcpkgs/codelite/template                | 30 +++++---------
 3 files changed, 41 insertions(+), 89 deletions(-)
 delete mode 100644 srcpkgs/codelite/patches/92ed90e07.patch

diff --git a/srcpkgs/codelite/patches/92ed90e07.patch b/srcpkgs/codelite/patches/92ed90e07.patch
deleted file mode 100644
index 5a469602e40f..000000000000
--- a/srcpkgs/codelite/patches/92ed90e07.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From 92ed90e07774dfc8556bee02c66120eed4938a40 Mon Sep 17 00:00:00 2001
-From: dghart <dghart david@4Pane.co.uk>
-Date: Wed, 19 Jun 2019 11:23:38 +0100
-Subject: [PATCH] Compilation fix for wx3.0 gtk+3 builds
-
----
- codelite_terminal/TextView.cpp | 12 ++++++++++++
- 1 file changed, 12 insertions(+)
-
-diff --git a/codelite_terminal/TextView.cpp b/codelite_terminal/TextView.cpp
-index 83d2e260c..5966f9972 100644
---- a/codelite_terminal/TextView.cpp
-+++ b/codelite_terminal/TextView.cpp
-@@ -12,7 +12,11 @@ TextView::TextView(wxWindow* parent, wxWindowID winid)
-     m_ctrl->SetCaretStyle(wxSTC_CARETSTYLE_BLOCK);
-     m_ctrl->SetYCaretPolicy(wxSTC_CARET_STRICT | wxSTC_CARET_SLOP, 4);
-     m_ctrl->SetLexer(wxSTC_LEX_CONTAINER);
-+#if wxCHECK_VERSION(3, 1, 1)
-     m_ctrl->StartStyling(0);
-+#else
-+    m_ctrl->StartStyling(0, 0x1f);
-+#endif
-     m_ctrl->SetWrapMode(wxSTC_WRAP_CHAR);
- #else
-     m_ctrl = new TextCtrl_t(this, wxID_ANY, "", wxDefaultPosition, wxDefaultSize,
-@@ -61,7 +65,11 @@ void TextView::SetDefaultStyle(const wxTextAttr& attr)
- {
- #if USE_STC
-     m_defaultAttr = attr;
-+#if wxCHECK_VERSION(3, 1, 1)
-     m_ctrl->StartStyling(m_ctrl->GetLastPosition());
-+#else
-+    m_ctrl->StartStyling(m_ctrl->GetLastPosition(), 0x1f);
-+#endif
- #else
-     m_ctrl->SetDefaultStyle(attr);
- #endif
-@@ -210,6 +218,10 @@ void TextView::Clear()
- #if USE_STC
-     m_ctrl->ClearAll();
-     m_ctrl->ClearDocumentStyle();
-+#if wxCHECK_VERSION(3, 1, 1)
-     m_ctrl->StartStyling(0);
-+#else
-+    m_ctrl->StartStyling(0, 0x1f);
-+#endif
- #endif
- }
diff --git a/srcpkgs/codelite/patches/musl.patch b/srcpkgs/codelite/patches/musl.patch
index d911036ddb94..6dfbdb42152f 100644
--- a/srcpkgs/codelite/patches/musl.patch
+++ b/srcpkgs/codelite/patches/musl.patch
@@ -1,36 +1,42 @@
---- a/codelitegcc/main.cpp	2019-06-29 08:37:38.818622077 +0200
-+++ b/codelitegcc/main.cpp	2019-06-29 08:38:04.090937646 +0200
-@@ -33,6 +33,7 @@ extern int ExecuteProcessWIN(const std::
- #include <sys/file.h>
- #include <sys/stat.h>
- #include <sys/stat.h>
-+#include <fcntl.h>
- 
- void WriteContent( const std::string& logfile, const std::string& filename, const std::string& flags )
- {
---- a/sdk/codelite_indexer/libctags/read.c	2019-06-29 08:54:26.592208449 +0200
-+++ b/sdk/codelite_indexer/libctags/read.c	2019-06-29 08:56:18.688608501 +0200
-@@ -605,6 +605,9 @@ extern int readChars (char *buffer, size
+diff --git a/codelitegcc/main.cpp b/codelitegcc/main.cpp
+index 1b78e0825..a4ffdc3e7 100644
+--- a/codelitegcc/main.cpp
++++ b/codelitegcc/main.cpp
+@@ -33,6 +33,7 @@ extern int ExecuteProcessWIN(const std::string& commandline);
+ #include <sys/file.h>
+ #include <sys/stat.h>
+ #include <sys/stat.h>
++#include <fcntl.h>
+ 
+ void WriteContent( const std::string& logfile, const std::string& filename, const std::string& flags )
+ {
+diff --git a/sdk/codelite_indexer/libctags/read.c b/sdk/codelite_indexer/libctags/read.c
+index 144032de5..bfabf75d3 100644
+--- a/sdk/codelite_indexer/libctags/read.c
++++ b/sdk/codelite_indexer/libctags/read.c
+@@ -605,6 +605,9 @@ extern int readChars (char *buffer, size_t bufferSize, fpos_t location, fpos_t e
  #if defined(__WXMSW__) || defined(__APPLE__) || defined(__FreeBSD__)
  	if(location < 0)
  		return 0;
 +#elif defined(__linux__) && !defined(__GLIBC__) /* musl */
 +	if(location.__lldata < 0)
 +		return 0;
- #else
- 	if(location.__pos < 0)
+ #elif defined(__NetBSD__)
+ 	if(location._pos < 0)
  		return 0;
-@@ -619,6 +622,8 @@ extern int readChars (char *buffer, size
+@@ -622,6 +625,8 @@ extern int readChars (char *buffer, size_t bufferSize, fpos_t location, fpos_t e
  
  #if defined(__WXMSW__) || defined(__APPLE__) || defined(__FreeBSD__)
  	sizeToRead = endPos - location;
 +#elif defined(__linux__) && !defined(__GLIBC__) /* musl */
 +	sizeToRead = endPos.__lldata - location.__lldata;
+ #elif defined(__NetBSD__)
+ 	sizeToRead = endPos._pos - location._pos;
  #else
- 	sizeToRead = endPos.__pos - location.__pos;
- #endif
---- a/sdk/codelite_indexer/network/named_pipe.cpp	2019-06-29 09:06:20.260132366 +0200
-+++ b/sdk/codelite_indexer/network/named_pipe.cpp	2019-06-29 09:06:38.468360112 +0200
+diff --git a/sdk/codelite_indexer/network/named_pipe.cpp b/sdk/codelite_indexer/network/named_pipe.cpp
+index 6e729946d..3e587a428 100644
+--- a/sdk/codelite_indexer/network/named_pipe.cpp
++++ b/sdk/codelite_indexer/network/named_pipe.cpp
 @@ -27,9 +27,9 @@
  
  #ifndef __WXMSW__
@@ -42,8 +48,10 @@
  #endif
  
  #ifdef __WXMSW__
---- a/sdk/codelite_indexer/network/named_pipe_server.cpp	2019-06-29 09:07:26.077955618 +0200
-+++ b/sdk/codelite_indexer/network/named_pipe_server.cpp	2019-06-29 09:07:35.484073269 +0200
+diff --git a/sdk/codelite_indexer/network/named_pipe_server.cpp b/sdk/codelite_indexer/network/named_pipe_server.cpp
+index 708df483d..68d7e3958 100644
+--- a/sdk/codelite_indexer/network/named_pipe_server.cpp
++++ b/sdk/codelite_indexer/network/named_pipe_server.cpp
 @@ -26,8 +26,8 @@
  #include "named_pipe_server.h"
  #ifndef __WXMSW__
diff --git a/srcpkgs/codelite/template b/srcpkgs/codelite/template
index cedc1e11c247..3a993a2c0cfb 100644
--- a/srcpkgs/codelite/template
+++ b/srcpkgs/codelite/template
@@ -1,38 +1,30 @@
 # Template file for 'codelite'
 pkgname=codelite
-version=13.0
-revision=5
-archs="i686* x86_64* ppc64le*"
+version=15.0.6
+revision=1
 build_style=cmake
 build_helper=cmake-wxWidgets-gtk3
-configure_args="-DWITH_PCH=0
- $(vopt_if sftp -DENABLE_SFTP=1)
- $(vopt_if lldb -DENABLE_LLDB=1)"
-hostmakedepends="pkg-config clang which"
+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)"
+hostmakedepends="pkg-config which"
 makedepends="gtk+3-devel wxWidgets-gtk3-devel sqlite-devel
  $(vopt_if lldb lldb-devel) $(vopt_if hunspell hunspell-devel)
- $(vopt_if mysql libmariadbclient-devel) $(vopt_if sftp libssh-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"
-checksum=f2653fa42d6214999718236998cb223e6de00a498c0cfde795e901be693fb9ac
-nocross=yes
-python_version=2 #unverified
+checksum=28430c37d163219b1001b6e539e520e4f3e750ea5b8ee2457d92d0961fee15bb
+python_version=3
 
-build_options="hunspell lldb mysql sftp"
+build_options="hunspell lldb sftp"
 build_options_default="hunspell sftp"
 desc_option_hunspell="Enable SpellCheck plugin"
 desc_option_lldb="Enable support for LLDB"
-desc_option_mysql="Enable mysql/mariadb support"
 desc_option_sftp="Enable Workspace Mirroring plugin"
 
 case "$XBPS_TARGET_MACHINE" in
-	x86_64*|ppc64le*) build_options_default+=" lldb";;
+	x86_64*|ppc64le*|aarch64*|arm*) build_options_default+=" lldb";;
 esac
-
-pre_configure() {
-	sed -i -e 's,wx-config,&-gtk3,g' \
-	 CMakeLists.txt
-}

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

* Re: [PR PATCH] [Merged]: codelite: update to 15.0.6.
  2021-10-11 13:55 [PR PATCH] codelite: update to 15.0.6 TinfoilSubmarine
                   ` (3 preceding siblings ...)
  2021-10-12 13:05 ` TinfoilSubmarine
@ 2021-10-12 18:38 ` ericonr
  4 siblings, 0 replies; 6+ messages in thread
From: ericonr @ 2021-10-12 18:38 UTC (permalink / raw)
  To: ml

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

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

codelite: update to 15.0.6.
https://github.com/void-linux/void-packages/pull/33479

Description:
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [X] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->

Cross-builds are now successful. Have not been able to test on anything other than x86_64.

Note: supersedes https://github.com/void-linux/void-packages/pull/26387

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

end of thread, other threads:[~2021-10-12 18:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-11 13:55 [PR PATCH] codelite: update to 15.0.6 TinfoilSubmarine
2021-10-11 15:11 ` [PR PATCH] [Updated] " TinfoilSubmarine
2021-10-11 15:12 ` TinfoilSubmarine
2021-10-12  1:04 ` [PR PATCH] [Updated] " TinfoilSubmarine
2021-10-12 13:05 ` TinfoilSubmarine
2021-10-12 18:38 ` [PR PATCH] [Merged]: " ericonr

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).