First time contribution, hold my hand please! For a first attempt, I selected `nano` as my victim (the lack of reverse deps means I won't do too much damage today).
Last version: 4.9 (2020.03.24) This: 8.0 (2024.05.01) The latest available is 8.4, but starting with 8.1 there's a problem (gettext?) to build it. I propose to proceed with this bump-that-just-works and discuss that build issue in a later thread (meaning I didn't sort it out on my own). I refreshed the cygport file based on what seems to be the latest practice, then `cygport all`, and it seems to be functional. Patch inline below. What to do next? I found a recent thread about just that, and the generous details you contributed will spare you repeating yourselves, to a certain extent. 1. send in a separate thread new public SSH key (easier for the keymaster to scoop it up I think) 2. your feedback whether GTG 3. git/use build server - I'll ask if something unclear. Regards, Philippe Baril Lecavalier --- diff --git a/nano.cygport b/nano.cygport index ed8105f..79a0222 100644 --- a/nano.cygport +++ b/nano.cygport @@ -1,6 +1,8 @@ NAME="nano" -VERSION=4.9 +VERSION=8.0 RELEASE=1 + +LICENSE="GPL-3.0-or-later" CATEGORY="Editors" SUMMARY="Enhanced clone of Pico editor" DESCRIPTION="GNU nano is a small and friendly console-mode text editor, based @@ -8,20 +10,22 @@ on and mostly compatible with UW Pico. Besides basic text editing, nano offers many extra features like an interactive search and replace, go to line and column number, auto-indentation, feature toggles, internationalization support, and filename tab completion." + HOMEPAGE="https://www.nano-editor.org/" -SRC_URI="https://www.nano-editor.org/dist/v${VERSION%.*}/nano-${VERSION}.tar.xz" +SRC_URI="${HOMEPAGE}/dist/v${VERSION%.*}/nano-${VERSION}.tar.xz" + PATCH_URI=" 2.9.7-syntax-gitcommit.patch - 2.5.3-syntax-regex.patch - 4.9-sample-nanorc.patch " DIFF_EXCLUDES="nano.spec" -CYGCONF_ARGS="--without-slang" +BUILD_REQUIRES="gettext-devel libintl-devel libncurses-devel" src_install() { cd ${B} + #enable color syntax, without patching sample.nanorc.in + sed -i -e '/^# include/s:# *::' "${B}"/doc/sample.nanorc cyginstall insinto /etc