Commit 6a5c7cc0 authored by Rene Ladan's avatar Rene Ladan
Browse files

cleanup: Remove expired ports:

2022-08-01 editors/codelite: Has been broken for over a year.
parent bf8555d0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -17527,3 +17527,4 @@ deskutils/gnome-system-log||2022-08-01|Has expired: Did not survive gnome 3
deskutils/gnome-documents||2022-08-01|Has expired: Archived upstream
deskutils/gnome-search-tool||2022-08-01|Has expired: Did not survive gnome3
security/nextcloud-twofactor_u2f|security/nextcloud-twofactor_webauthn|2022-08-01|Has expired: Upstream deprecated this port in favor of twofactor_webauthn. Check https://github.com/nextcloud/twofactor_webauthn#migration-from-two-factor-u2f for migration instructions
editors/codelite||2022-08-01|Has expired: Has been broken for over a year.
+0 −1
Original line number Diff line number Diff line
@@ -17,7 +17,6 @@
    SUBDIR += calligra
    SUBDIR += calligraplan
    SUBDIR += chexedit
    SUBDIR += codelite
    SUBDIR += cooledit
    SUBDIR += cpeditor
    SUBDIR += cream

editors/codelite/Makefile

deleted100644 → 0
+0 −92
Original line number Diff line number Diff line
PORTNAME=	codelite
PORTVERSION=	12.0
PORTREVISION=	4
CATEGORIES=	editors devel

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Open Source IDE for C/C++

LICENSE=	GPLv2+

BROKEN=		outdated, doesn't build with Pango 1.46.2 or newer - PR 249879
DEPRECATED=	Has been broken for over a year.
EXPIRATION_DATE=	2022-08-01

RUN_DEPENDS=	xterm:x11/xterm
LIB_DEPENDS+=	libhunspell-1.7.so:textproc/hunspell

#BROKEN_armv6=		fails to configure: has leading or trailing whitespace.  This is now an error according to policy CMP0004

USE_GITHUB=	yes
GH_ACCOUNT=	eranif

USES=		cmake:noninja compiler:c++11-lib dos2unix gettext gnome pathfix \
		pkgconfig shebangfix sqlite
USE_GNOME+=	cairo gtk20
DOS2UNIX_GLOB=	*.cpp *.txt
SHEBANG_FILES=	Runtime/codelite_xterm
bash_CMD=	/bin/sh
USE_WX=		3.0
CMAKE_ARGS=	-DPREFIX:STRING="${PREFIX}" \
		-DIS_FREEBSD:STRING=1 \
		-DCL_WX_CONFIG:STRING="${WX_CONFIG:T}"
USE_LDCONFIG=	${PREFIX}/lib/codelite

OPTIONS_DEFINE=		CSCOPE SFTP
OPTIONS_RADIO=		CLANG
OPTIONS_SUB=		yes

CSCOPE_DESC=		CScope integration
CSCOPE_RUN_DEPENDS=	cscope:devel/cscope
SFTP_DESC=		Secure FTP support via libssh
SFTP_LIB_DEPENDS=	libssh.so:security/libssh
SFTP_CMAKE_OFF=		-DENABLE_SFTP:STRING=0
SFTP_USES=		localbase

CLANG_DESC=		Clang code-completion

.for v in 40 50 60
OPTIONS_RADIO_CLANG+=	CLANG$v
CLANG$v_DESC=		Clang ${v:C/(.)(.)/\1.\2.x/}
CLANG$v_BUILD_DEPENDS=	llvm$v>0:devel/llvm$v
CLANG$v_RUN_DEPENDS=	llvm$v>0:devel/llvm$v

post-patch-CLANG$v-on:
	@${REINPLACE_CMD} -e \
		's|/usr/lib/llvm-.*/|${LOCALBASE}/llvm$v/|' \
		${WRKSRC}/cmake/Modules/FindLibClang.cmake \
		${WRKSRC}/cmake/Modules/FindLibLLDB.cmake
.endfor

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MCLANG*}
CMAKE_ARGS+=	-DENABLE_LLDB:STRING=1 -DENABLE_CLANG:STRING=1
.else
CMAKE_ARGS+=	-DENABLE_LLDB:STRING=0 -DENABLE_CLANG:STRING=0
.endif

post-patch:
#	Use the correct wx-config
	@${REINPLACE_CMD} -e \
		'/ IS_FREEBSD/s|^|#| ; \
		 / CL_WX_CONFIG/s|^|#| ; \
		 / -Wno-/s|^|#| ; \
		 / -O2/s|^|#| ; \
		 s|"-s"|""|' \
		${WRKSRC}/CMakeLists.txt
	@${REINPLACE_CMD} -e \
		's|"-lkvm"|"-lkvm -lutil"| ; \
		 s|share/man|man|' \
		${WRKSRC}/LiteEditor/CMakeLists.txt
	@${REINPLACE_CMD} -e \
		's|"-lutil"|"-lkvm -lutil"|' \
		${WRKSRC}/codelite_terminal/CMakeLists.txt
	@${REINPLACE_CMD} -e \
		'/ADDITIONAL_LIBRARIES/s|""|"-lexecinfo"|' \
		${WRKSRC}/sdk/codelite_cppcheck/CMakeLists.txt
	@${REINPLACE_CMD} -e \
		's|/bin/grep|/usr/bin/grep|' \
		${WRKSRC}/cmake/Modules/FindLibClang.cmake

.include <bsd.port.mk>

editors/codelite/distinfo

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1545674061
SHA256 (eranif-codelite-12.0_GH0.tar.gz) = e8912e3e0aea8890b5c65631ad94d58ddc587812c7ac6ec398e37aaa4b7005b4
SIZE (eranif-codelite-12.0_GH0.tar.gz) = 111899973
+0 −11
Original line number Diff line number Diff line
--- DatabaseExplorer/MySqlDbAdapter.cpp.orig	2020-08-28 17:23:13 UTC
+++ DatabaseExplorer/MySqlDbAdapter.cpp
@@ -210,7 +210,7 @@ bool MySqlDbAdapter::GetColumns(Table* pTab)
 {
 	DatabaseLayerPtr dbLayer = this->GetDatabaseLayer(wxT(""));
 
-	if (!dbLayer->IsOpen()) return NULL;
+	if (!dbLayer->IsOpen()) return false;
 	// loading columns
 	//TODO:SQL:
 	DatabaseResultSet *database = dbLayer->RunQueryWithResults(wxString::Format(wxT("SHOW COLUMNS IN `%s`.`%s`"),pTab->GetParentName().c_str(),pTab->GetName().c_str()));
Loading