From nobody Sat Jul 09 18:18:53 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2D30F3E518B; Sat, 9 Jul 2022 18:18:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LgJLj6RkVz3vkR; Sat, 9 Jul 2022 18:18:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657390733; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=t29WDhI/xQpgRzCg4LyQPbK2lRxQQkVqMZZVdMT79No=; b=S6SNTALjfyHzgn2hX2qsWvvzQjtOYw4+LwsCiexEv8e8SIZoSizQPjNq6WogYyGQiOun+h hHsSIQLeIB1eM/ifIkD+TQkE9QgC0aUT00i/LTeugwibTrgVj8YjVF5A/kgPwGh8vEu7Bf zBDfzFpSNn9+4cVTZIYvSAqHdUH/4Fjweu3/lly1F7WJaVNvxMjrJl/UD9zy0yMvpuNFyr JQVXWlCypMzuLcfJLIt3DtLIfAn7oUlGsjX10hKrh8Lm0k9FsLonXlfoWJZ5XVJXQJKigR ut1I6gTE+3YmRUjkGwXrUYbn1LxDhvFY//NTkykxOKPtfUuPmPpkJ8cmwCYroA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LgJLj5D9tzvm9; Sat, 9 Jul 2022 18:18:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 269IIrn3067345; Sat, 9 Jul 2022 18:18:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 269IIr0X067344; Sat, 9 Jul 2022 18:18:53 GMT (envelope-from git) Date: Sat, 9 Jul 2022 18:18:53 GMT Message-Id: <202207091818.269IIr0X067344@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 6b26932544c5 - main - editors/lite: the port had been improved (part one) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6b26932544c5716fa1a511c6fa21a3137e23fada Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657390733; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=t29WDhI/xQpgRzCg4LyQPbK2lRxQQkVqMZZVdMT79No=; b=yApCrH4Zfxl9deqctFGQFC6Oa/eY+/Oex4vERZdkiJgtOM4LBcXJ2A5nUmF1rW4DTF87n1 1ly+1EwUiVluQPO17f53zygRzqX2Eg0DgkVf3qa+AR8QkbZIXCwjhwO5A5VhSIgGii6CLV zPgcj5vKX8ShXbMa02VXlfeFRyw+LGLiE1AksJkHgUTWs3eECqDOeqQMw6Lfmx4H8oplzo Sr6H4QCh0toXORPxezhzuQvIKpD4UorpEE7OYPX1+WrJtFTZG/tLEyVgOc1W3w5zId3CWC QlcgbsJ0GmXqkH+FHdRcqZyILPbv+XgQN6shZylSNZ50EI0apNvivffkjgUnfA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657390733; a=rsa-sha256; cv=none; b=Bmo7Qywww0u+Ii95cvuSdqVPBF3UVPOYNMBbvepI78xD90ABvi+ZIcH6MlgXsuAPn6svF3 z0wHrdH+tP6VtZrrLl86GbFhddcNbBpVUxbYFfejmvXv458d4UDeSgPtIT8kxj4/GSlCUa kCx1u3wuMJZ0dl1aqbUWHAU2dTKOf38REph7pHc0TiJ5vEEs2rPSoT0ilGiJhvYXmFKm1H WPp4ifR16ATPD5PZ80ovdYrJvtZBk6doha+XSwVi7/iRzK+hQKpDc6cuTORJ/DgVFFZ5Th Ca5JHq0HJ8qrbQeKx0ZcuY8Qv5NAiApOnpetEXYjqfVW8MwkjciLYzI7kxn0qQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=6b26932544c5716fa1a511c6fa21a3137e23fada commit 6b26932544c5716fa1a511c6fa21a3137e23fada Author: Alexey Dokuchaev AuthorDate: 2022-07-09 18:18:18 +0000 Commit: Alexey Dokuchaev CommitDate: 2022-07-09 18:18:18 +0000 editors/lite: the port had been improved (part one) - Pull the patch from GitHub which reduces idle CPU usage - Install extra color schemes and syntax highlight plugins --- editors/lite/Makefile | 9 +++++++- editors/lite/distinfo | 6 +++++ editors/lite/files/makefile | 2 +- editors/lite/pkg-plist | 54 +++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 69 insertions(+), 2 deletions(-) diff --git a/editors/lite/Makefile b/editors/lite/Makefile index b5fe9d81aa3d..a8dd5403cbc2 100644 --- a/editors/lite/Makefile +++ b/editors/lite/Makefile @@ -8,6 +8,9 @@ PKGNAMESUFFIX= -editor # PORTNAME alone is too vague MAINTAINER= danfe@FreeBSD.org COMMENT= Lightweight text editor written mostly in Lua +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES= a38b89ca26dde1353cf1.patch:-p1 + LICENSE= MIT USES= gmake lua pkgconfig sdl @@ -15,7 +18,8 @@ USE_SDL= sdl2 USE_GITHUB= yes GH_ACCOUNT= rxi -GH_TAGNAME= 38bd9b3 +GH_PROJECT= ${PORTNAME}-colors:colors ${PORTNAME}-plugins:plugins +GH_TAGNAME= 38bd9b3 5b77292:colors 4a9e1f3:plugins BUILD_WRKSRC= ${WRKSRC}/src MAKEFILE= ${FILESDIR}/makefile @@ -38,6 +42,9 @@ do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin ${CP} -a ${WRKSRC}/data ${STAGEDIR}${DATADIR} + ${CP} -a ${WRKSRC_colors}/colors ${STAGEDIR}${DATADIR}/user + ${MV} ${WRKSRC_plugins}/plugins/language_*.lua \ + ${STAGEDIR}${DATADIR}/plugins do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/editors/lite/distinfo b/editors/lite/distinfo index f7e67df7767a..5c157050ee24 100644 --- a/editors/lite/distinfo +++ b/editors/lite/distinfo @@ -1,3 +1,9 @@ TIMESTAMP = 1610208177 SHA256 (rxi-lite-1.11-38bd9b3_GH0.tar.gz) = 63b0f22eb90f38564736f56d4d0f51f7219fcb7fe6398018e3435a62badd10d9 SIZE (rxi-lite-1.11-38bd9b3_GH0.tar.gz) = 10707650 +SHA256 (rxi-lite-colors-5b77292_GH0.tar.gz) = 0ad9074b0d9128924f6210808852b1412eae6310e43600978502b512059c2dc4 +SIZE (rxi-lite-colors-5b77292_GH0.tar.gz) = 5337 +SHA256 (rxi-lite-plugins-4a9e1f3_GH0.tar.gz) = cada6be45b11e1d5f70d2bbeac6e9a103e4285ef23f00236a9116718941b92db +SIZE (rxi-lite-plugins-4a9e1f3_GH0.tar.gz) = 41736 +SHA256 (a38b89ca26dde1353cf1.patch) = d0403b01d38daaa71228c83c39c50dcf541a46c207334c10d90b1646120f71a6 +SIZE (a38b89ca26dde1353cf1.patch) = 1895 diff --git a/editors/lite/files/makefile b/editors/lite/files/makefile index 5274d363e360..241bb5d2240a 100644 --- a/editors/lite/files/makefile +++ b/editors/lite/files/makefile @@ -22,4 +22,4 @@ lite: $(lite_OBJS) all: lite -.PHONY: all install +.PHONY: all diff --git a/editors/lite/pkg-plist b/editors/lite/pkg-plist index e3028f0a1938..e4b7eac16d10 100644 --- a/editors/lite/pkg-plist +++ b/editors/lite/pkg-plist @@ -29,12 +29,47 @@ bin/lite %%DATADIR%%/fonts/monospace.ttf %%DATADIR%%/plugins/autocomplete.lua %%DATADIR%%/plugins/autoreload.lua +%%DATADIR%%/plugins/language_angelscript.lua +%%DATADIR%%/plugins/language_batch.lua %%DATADIR%%/plugins/language_c.lua +%%DATADIR%%/plugins/language_cmake.lua +%%DATADIR%%/plugins/language_cpp.lua +%%DATADIR%%/plugins/language_csharp.lua %%DATADIR%%/plugins/language_css.lua +%%DATADIR%%/plugins/language_d.lua +%%DATADIR%%/plugins/language_dart.lua +%%DATADIR%%/plugins/language_elixir.lua +%%DATADIR%%/plugins/language_elm.lua +%%DATADIR%%/plugins/language_fe.lua +%%DATADIR%%/plugins/language_fennel.lua +%%DATADIR%%/plugins/language_gdscript.lua +%%DATADIR%%/plugins/language_glsl.lua +%%DATADIR%%/plugins/language_go.lua +%%DATADIR%%/plugins/language_hlsl.lua +%%DATADIR%%/plugins/language_hs.lua +%%DATADIR%%/plugins/language_java.lua +%%DATADIR%%/plugins/language_jiyu.lua %%DATADIR%%/plugins/language_js.lua %%DATADIR%%/plugins/language_lua.lua +%%DATADIR%%/plugins/language_make.lua %%DATADIR%%/plugins/language_md.lua +%%DATADIR%%/plugins/language_meson.lua +%%DATADIR%%/plugins/language_moon.lua +%%DATADIR%%/plugins/language_nginx.lua +%%DATADIR%%/plugins/language_nim.lua +%%DATADIR%%/plugins/language_objc.lua +%%DATADIR%%/plugins/language_odin.lua +%%DATADIR%%/plugins/language_php.lua +%%DATADIR%%/plugins/language_pico8.lua +%%DATADIR%%/plugins/language_powershell.lua +%%DATADIR%%/plugins/language_psql.lua %%DATADIR%%/plugins/language_python.lua +%%DATADIR%%/plugins/language_rust.lua +%%DATADIR%%/plugins/language_sh.lua +%%DATADIR%%/plugins/language_teal.lua +%%DATADIR%%/plugins/language_tex.lua +%%DATADIR%%/plugins/language_ts.lua +%%DATADIR%%/plugins/language_wren.lua %%DATADIR%%/plugins/language_xml.lua %%DATADIR%%/plugins/macro.lua %%DATADIR%%/plugins/projectsearch.lua @@ -43,6 +78,25 @@ bin/lite %%DATADIR%%/plugins/tabularize.lua %%DATADIR%%/plugins/treeview.lua %%DATADIR%%/plugins/trimwhitespace.lua +%%DATADIR%%/user/colors/abyss.lua +%%DATADIR%%/user/colors/cold_lime.lua +%%DATADIR%%/user/colors/dracula.lua +%%DATADIR%%/user/colors/duorand.lua +%%DATADIR%%/user/colors/duotone.lua %%DATADIR%%/user/colors/fall.lua +%%DATADIR%%/user/colors/github.lua +%%DATADIR%%/user/colors/gruvbox_dark.lua +%%DATADIR%%/user/colors/liqube.lua +%%DATADIR%%/user/colors/moe.lua +%%DATADIR%%/user/colors/monodark.lua +%%DATADIR%%/user/colors/monokai.lua +%%DATADIR%%/user/colors/nord.lua +%%DATADIR%%/user/colors/onedark.lua +%%DATADIR%%/user/colors/only_dark.lua +%%DATADIR%%/user/colors/solarized_light.lua +%%DATADIR%%/user/colors/solarobj.lua %%DATADIR%%/user/colors/summer.lua +%%DATADIR%%/user/colors/vscode-dark.lua +%%DATADIR%%/user/colors/winter.lua +%%DATADIR%%/user/colors/zenburn.lua %%DATADIR%%/user/init.lua