Created attachment 220867 [details] patch CodeLite is a powerful open-source, cross platform code editor for the C/C++ programming languages. CodeLite uses a sophisticated, yet intuitive interface which allows user to easy create and build complex projects. WWW: https://codelite.org/
Hi, Given the discussion in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252738 can you perhaps adapt this patch to the main port instead of creating -devel? Best regards, Daniel
(In reply to daniel.engberg.lists from comment #1) Hi Ivan, Is it also possible to you to update your patch to v15.0.0 [1] (release version)? That would be really great :) [1] https://github.com/eranif/codelite/commit/53713d80b98cca07fef5e0f697497613f18adcff
Created attachment 222464 [details] patch
Hi Ivan, Can we transfer this to the main port instead? It's soon going to be broken due to bumping pango. A few things that can be improved by looking at your Makefile L4 and L26: Please follow Porter's Handbook https://docs.freebsd.org/en_US.ISO8859-1/books/porters-handbook/book.html#makefile-master_sites-github-ex5 L12 Seems to be GPLv2 ? Define LICENSE_FILE https://docs.freebsd.org/en_US.ISO8859-1/books/porters-handbook/book.html#licenses-license_file-ex1 L17 Remove? L27 is already defined by the framework https://svnweb.freebsd.org/ports/head/Mk/Uses/cmake.mk?revision=488341&view=markup#l68 L34 is this really needed and if it is, please use a proper DEBUG menu option https://github.com/eranif/codelite/blob/master/CMakeLists.txt#L429 L105, are you really sure about that? There is quite a bit of REINPLACE_CMD going on, this is in general discouraged perhaps usage can be reduced and replaced with patches? Some things are out of order, have a look at portlint and/or portclippy Does it pass poudriere? Great work! Daniel
Good work getting v15 to FreeBSD ports. I look forward to this p
Sorry for that incomplete message. I just wanted to say good work! Now that v15 is released the main port should probably be updated.
Created attachment 226576 [details] patch
Sorry to trouble, but whereis editors/codelite-devel? Codelite is masked broken.
It seems some work has been done, but unclear where it stands. Apparently codelite is broken in the ports tree. I would like to work on getting codelite 15 to build in the ports true for freebsd 13.0. And avoid redoing any work that has already been done. Please comment.
(In reply to ykla from comment #8) I am attempting to build now from the git distro.
Created attachment 232153 [details] patch This is what I am using now.
(In reply to Ivan Rozhuk from comment #11) Thanks Ivan(In reply to Ivan Rozhuk from comment #11) I will try to build the port using these two files and report back.
Will merge it to main ports?
(In reply to Ivan Rozhuk from comment #11) I had problems, probably user error. It does look like the offending file is identified: MySqlDbAdapter.cpp.rej I copied the files folder from FBSD12.2 port and ran make using your attachments. I checked most of the boxes in the curses window. was the files folder copy a mistake? got this output: short form... ===> Patching for codelite-devel-15.0.7.20210914 ===> Converting DOS text files to UNIX text files ===> Applying FreeBSD patches for codelite-devel-15.0.7.20210914 from /usr/ports/editors/codelite-devel/files 1 out of 1 hunks failed--saving rejects to DatabaseExplorer/MySqlDbAdapter.cpp.rej ===> FAILED Applying FreeBSD patch-DatabaseExplorer_MySqlDbAdapter.cpp ===> FAILED to apply cleanly FreeBSD patch(es) patch-DatabaseExplorer_MySqlDbAdapter.cpp *** Error code 1 long form... ===> License GPLv2+ accepted by the user ===> codelite-devel-15.0.7.20210914 depends on file: /usr/local/sbin/pkg - found => eranif-codelite-15.0.7.20210914-0a4cba5bd3be838806405490b66943f09d4592b4_GH0.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch https://codeload.github.com/eranif/codelite/tar.gz/0a4cba5bd3be838806405490b66943f09d4592b4?dummy=/eranif-codelite-15.0.7.20210914-0a4cba5bd3be838806405490b66943f09d4592b4_GH0.tar.gz fetch: https://codeload.github.com/eranif/codelite/tar.gz/0a4cba5bd3be838806405490b66943f09d4592b4?dummy=/eranif-codelite-15.0.7.20210914-0a4cba5bd3be838806405490b66943f09d4592b4_GH0.tar.gz: size unknown fetch: https://codeload.github.com/eranif/codelite/tar.gz/0a4cba5bd3be838806405490b66943f09d4592b4?dummy=/eranif-codelite-15.0.7.20210914-0a4cba5bd3be838806405490b66943f09d4592b4_GH0.tar.gz: size of remote file is not known eranif-codelite-15.0.7.20210914-0a4cba5bd3be83 107 MB 713 kBps 02m34s ===> Fetching all distfiles required by codelite-devel-15.0.7.20210914 for building ===> Extracting for codelite-devel-15.0.7.20210914 => SHA256 Checksum OK for eranif-codelite-15.0.7.20210914-0a4cba5bd3be838806405490b66943f09d4592b4_GH0.tar.gz. ===> Patching for codelite-devel-15.0.7.20210914 ===> Converting DOS text files to UNIX text files ===> Applying FreeBSD patches for codelite-devel-15.0.7.20210914 from /usr/ports/editors/codelite-devel/files 1 out of 1 hunks failed--saving rejects to DatabaseExplorer/MySqlDbAdapter.cpp.rej ===> FAILED Applying FreeBSD patch-DatabaseExplorer_MySqlDbAdapter.cpp ===> FAILED to apply cleanly FreeBSD patch(es) patch-DatabaseExplorer_MySqlDbAdapter.cpp *** Error code 1
(In reply to Tim from comment #14) It looks like the files folder is unnecessary now??
(In reply to Ivan Rozhuk from comment #11) I removed all the files except one from the files folder. that seems to work. so maybe you replaced those patches. I kept the 4th file. Now it is building.
Created attachment 232196 [details] patch Fix linking with gobject-2.0.
Created attachment 237633 [details] patch 16.7.0 Update to 16.7.0 with wx3.2 support.
Created attachment 249203 [details] patch Probably some things are broken from last patch (valngring, etc...) by upstream. SFTP - broken: can not be unset: https://github.com/eranif/codelite/issues/3335 There is new regexps for compilers, it is more faster and consume less memory. It was one of most annoying issues for me in past 7 years. https://github.com/eranif/codelite/commit/d54c081b7f50236cc48985aaa3c73cc3a789a698 It requires manual update if you already have configured compilers (build settings menu). Also build output optimized to avoid GUI hang then build big project with spammy warnings level.
Created attachment 249204 [details] 17.0.0.20240315 SFTP option fixed.