Hello,
- please use https://codelite.org/ for url=
- conflicts=(codelite-unstable) is not needed, are 'variations' that need to provides and conflicts codelite
- depends on ctags but is using its own version
Git Clone URL: | https://aur.archlinux.org/codelite.git (read-only, click to copy) |
---|---|
Package Base: | codelite |
Description: | Cross platform IDE for C, C++, Rust, Python, PHP and Node.js written in C++ |
Upstream URL: | http://www.codelite.org/ |
Keywords: | C++ Editor IDE |
Licenses: | GPL |
Conflicts: | codelite-unstable |
Submitter: | None |
Maintainer: | uffe |
Last Packager: | uffe |
Votes: | 175 |
Popularity: | 0.57 |
First Submitted: | 2008-08-01 09:11 (UTC) |
Last Updated: | 2023-01-23 21:17 (UTC) |
Hello,
@uffe Thanks for the patch, now it builds
@animpadista
codelite submodule project had changed repo-name from dbgd to wxdap
PKGBUILD updated - should be fixed now - please try again.
It does not build because of wrong checksum of codelite-dbgd package:
==> Validating source files with sha256sums...
codelite-17.0.0.tar.gz ... Passed
codelite-ctags.tar.gz ... Passed
codelite-dbgd.tar.gz ... FAILED
codelite-wxcfg.tar.gz ... Passed
wxgui.zip ... Passed
@Zdrobot new PKGBUILD pushed - please try again - the wxgtk3 was updated and renamed to wxwidget-gtk3 this night - also its wx-config script was renamed
Failed to compile:
which: no wx-config-gtk3 in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
CMake Error at CMakeLists.txt:131 (message):
No functional wx_config script was found in your PATH.
Is the wxWidgets development package installed?
-- Configuring incomplete, errors occurred!
See also "/home/archie/.cache/yay/codelite/src/codelite-16.0.0-1/_build/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().
Aborting...
-> error making: codelite
Does not compile with GCC 11:
/home/jotz/dev/arch/codelite/src/codelite-15.0.2/sdk/codelite_cppcheck/cli/cppcheckexecutor.cpp:297:22: error: size of array ‘mytstack’ is not an integral constant-expression
297 | static char mytstack[MYSTACKSIZE]= {0}; // alternative stack for signal handler
| ^~~~~~~~~~~
The upstream fix works for me: https://github.com/eranif/codelite/commit/3a2073d76f5c9f45699c5910d07bdf43f7d6298e
Why does this depen on python2? I can't see it being a requirement in the Readme.md of Codelite's Github repo.
Also, pacman -Rsdd python2 from my system doesn't seem to affect CodeLite.
It would help if you could update the PKGBUILD to make the dependency 'wxgtk2' instead of 'wxgtk'. When I tried to use 'pacman -Suy' today, it refused to update wxgtk2, because it broke codelite's dependency on 'wxgtk'. When I uninstalled codelite, I was able to update 'wxgtk2', but then I couldn't install codelite until I edited the PKGBUILD dependency to read 'wxgtk2'.
@aviallon: regarding the mysql include problem - thanks for the suggestion
I'm not crazy about recommending users to modify mysql system include files. So I've disabled codelite dblayer support for mysql - for now - it is my impression that most users do not use the dbbrowsing feature in codelite anyway.
Those who use/need it - will have to modify PKGBUILD and change -DWITH_MYSQL=0
Pinned Comments
uffe commented on 2016-09-26 11:42 (UTC) (edited on 2020-07-27 18:21 (UTC) by uffe)
ATTENTION: read this before flagging this package out-of-date
This package "codelite" represents the stable release of the codelite project.
I do not consider the "Weekly Builds" from http://downloads.codelite.org/ as stable releases (neither does the codelite project)
Generally speaking - this package will not be updated before the codelite release/download page (https://downloads.codelite.org/) have a new stable release published.
Please respect that - Thanks
PS: to clear up a recent misunderstanding - this does not mean that I won't accept patches that is needed for stable codelite to build against refreshed libraries etc
PS: I have added new "codelite-unstable" package to AUR that follows the weekly/latest builds from the codelite project.