wok rev 24955
updated nano and nano-doc (4.8 -> 6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 16:34:46 2022 +0100 (2022-04-23) |
parents | 17a0bbb74ccd |
children | 7d28303d3371 |
files | nano-doc/receipt nano-lang/receipt nano/receipt nano/stuff/patches/etc_nanorc-6.2 nano/stuff/patches/usr_share_nano_sh.nanorc-6.2 |
line diff
1.1 --- a/nano-doc/receipt Sat Apr 23 15:05:31 2022 +0100 1.2 +++ b/nano-doc/receipt Sat Apr 23 16:34:46 2022 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="nano-doc" 1.7 -VERSION="4.8" 1.8 +VERSION="6.2" 1.9 CATEGORY="doc" 1.10 SHORT_DESC="Nano Text Editor, documentation and man pages." 1.11 MAINTAINER="al.bobylev@gmail.com" 1.12 @@ -12,9 +12,7 @@ 1.13 1.14 genpkg_rules() 1.15 { 1.16 - mkdir -p $fs/usr/share 1.17 - 1.18 - cp -a $install/usr/share/doc $fs/usr/share 1.19 - cp -a $install/usr/share/man $fs/usr/share 1.20 + cook_copy_folders doc 1.21 + cook_copy_folders man 1.22 } 1.23
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/nano-lang/receipt Sat Apr 23 16:34:46 2022 +0100 2.3 @@ -0,0 +1,17 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="nano-lang" 2.7 +VERSION="6.2" 2.8 +CATEGORY="localization" 2.9 +SHORT_DESC="Nano Text Editor - localised messages." 2.10 +MAINTAINER="maintainer@slitaz.org" 2.11 +LICENSE="GPL3" 2.12 +WEB_SITE="https://nano-editor.org/" 2.13 + 2.14 +WANTED="nano" 2.15 + 2.16 +genpkg_rules() 2.17 +{ 2.18 + cook_copy_folders locale 2.19 +} 2.20 +
3.1 --- a/nano/receipt Sat Apr 23 15:05:31 2022 +0100 3.2 +++ b/nano/receipt Sat Apr 23 16:34:46 2022 +0100 3.3 @@ -1,7 +1,7 @@ 3.4 # SliTaz package receipt. 3.5 3.6 PACKAGE="nano" 3.7 -VERSION="4.8" 3.8 +VERSION="6.2" 3.9 CATEGORY="utilities" 3.10 TAGS="text-editor" 3.11 SHORT_DESC="Nano Text Editor." 3.12 @@ -12,10 +12,10 @@ 3.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 3.14 WGET_URL="${WEB_SITE}dist/v${VERSION%.*}/$TARBALL" 3.15 3.16 -SUGGESTED="gpm" 3.17 +SUGGESTED="gpm nano-doc nano-lang" 3.18 DEPENDS="ncursesw zlib" 3.19 -BUILD_DEPENDS="groff ncursesw-dev zlib-dev" 3.20 -SPLIT="nano-doc" 3.21 +BUILD_DEPENDS="groff ncursesw-dev patch zlib-dev" 3.22 +SPLIT="nano-doc nano-lang" 3.23 3.24 HOST_ARCH="i486 arm" 3.25 3.26 @@ -59,14 +59,14 @@ 3.27 cp $src/doc/sample.nanorc $fs/etc/nanorc 3.28 3.29 cd $fs 3.30 - patch --input=$stuff/patches/nanorc.patch \ 3.31 + patch --input=$stuff/patches/etc_nanorc-$VERSION \ 3.32 etc/nanorc 3.33 - patch --input=$stuff/patches/sh.nanorc-$VERSION \ 3.34 + patch --input=$stuff/patches/usr_share_nano_sh.nanorc-$VERSION \ 3.35 usr/share/nano/sh.nanorc 3.36 3.37 - # Shrink 3.38 + # Shrink (delete comment lines and empty lines) 3.39 for i in $fs/usr/share/nano/*.nanorc 3.40 do 3.41 sed -i '/^#/d;/^$/d' $i 3.42 - done 3.43 + done 3.44 }
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/nano/stuff/patches/etc_nanorc-6.2 Sat Apr 23 16:34:46 2022 +0100 4.3 @@ -0,0 +1,191 @@ 4.4 +--- etc/nanorc.original 4.5 ++++ etc/nanorc 4.6 +@@ -1,5 +1,8 @@ 4.7 + ## Sample initialization file for GNU nano. 4.8 + ## 4.9 ++## /etc/nanorc: system-wide initialization file for nano. 4.10 ++## ~/.nanorc: personal config file. 4.11 ++ 4.12 + ## For the options that take parameters, the default value is shown. 4.13 + ## Other options are unset by default. To make sure that an option 4.14 + ## is disabled, you can use "unset <option>". 4.15 +@@ -63,7 +66,7 @@ 4.16 + # set guidestripe 75 4.17 + 4.18 + ## Remember the used search/replace strings for the next session. 4.19 +-# set historylog 4.20 ++set historylog 4.21 + 4.22 + ## Display a "scrollbar" on the righthand side of the edit window. 4.23 + # set indicator 4.24 +@@ -95,7 +98,7 @@ 4.25 + ## mouse clicks can be used to place the cursor, set the mark (with a 4.26 + ## double click), and execute shortcuts. The mouse will work in the 4.27 + ## X Window System, and on the console when gpm is running. 4.28 +-# set mouse 4.29 ++set mouse 4.30 + 4.31 + ## Switch on multiple file buffers (inserting a file will put it into 4.32 + ## a separate buffer). 4.33 +@@ -172,7 +175,7 @@ 4.34 + # set stateflags 4.35 + 4.36 + ## Use this tab size instead of the default; it must be greater than 0. 4.37 +-# set tabsize 8 4.38 ++set tabsize 4 4.39 + 4.40 + ## Convert each typed tab to the fitting number of spaces. 4.41 + # set tabstospaces 4.42 +@@ -243,9 +246,150 @@ 4.43 + # include "/usr/share/nano/*.nanorc" 4.44 + 4.45 + ## Or you can select just the ones you need. For example: 4.46 ++## Assembler 4.47 ++# include "/usr/share/nano/asm.nanorc" 4.48 ++ 4.49 ++## Autoconf 4.50 ++# include "/usr/share/nano/autoconf.nanorc" 4.51 ++ 4.52 ++## AWK 4.53 ++# include "/usr/share/nano/awk.nanorc" 4.54 ++ 4.55 ++## C/C++ 4.56 ++include "/usr/share/nano/c.nanorc" 4.57 ++ 4.58 ++## Changelogs 4.59 ++# include "/usr/share/nano/changelog.nanorc" 4.60 ++ 4.61 ++## CMake 4.62 ++# include "/usr/share/nano/cmake.nanorc" 4.63 ++ 4.64 ++## CSS 4.65 ++include "/usr/share/nano/css.nanorc" 4.66 ++ 4.67 ++## Apt's sources.list 4.68 ++# include "/usr/share/nano/debian.nanorc" 4.69 ++ 4.70 ++## Default 4.71 ++include "/usr/share/nano/default.nanorc" 4.72 ++ 4.73 ++## Emacs Lisp 4.74 ++# include "/usr/share/nano/elisp.nanorc" 4.75 ++ 4.76 ++## Fortran 90/95 4.77 ++# include "/usr/share/nano/fortran.nanorc" 4.78 ++ 4.79 ++## Gentoo ebuilds/eclasses 4.80 ++# include "/usr/share/nano/gentoo.nanorc" 4.81 ++ 4.82 ++## Go 4.83 ++# include "/usr/share/nano/go.nanorc" 4.84 ++ 4.85 ++## Groff 4.86 ++# include "/usr/share/nano/groff.nanorc" 4.87 ++ 4.88 ++## Guile Scheme 4.89 ++# include "/usr/share/nano/guile.nanorc" 4.90 ++ 4.91 ++## HTML 4.92 + # include "/usr/share/nano/html.nanorc" 4.93 +-# include "/usr/share/nano/python.nanorc" 4.94 +-# include "/usr/share/nano/sh.nanorc" 4.95 ++ 4.96 ++## Java 4.97 ++# include "/usr/share/nano/java.nanorc" 4.98 ++ 4.99 ++## Javascript 4.100 ++include "/usr/share/nano/javascript.nanorc" 4.101 ++ 4.102 ++## JSON 4.103 ++# include "/usr/share/nano/json.nanorc" 4.104 ++ 4.105 ++## Lua 4.106 ++# include "/usr/share/nano/lua.nanorc" 4.107 ++ 4.108 ++## Makefiles 4.109 ++include "/usr/share/nano/makefile.nanorc" 4.110 ++ 4.111 ++## Manpages 4.112 ++include "/usr/share/nano/man.nanorc" 4.113 ++ 4.114 ++## Magicpoint presentations 4.115 ++# include "/usr/share/nano/mgp.nanorc" 4.116 ++ 4.117 ++## Quoted emails (under e.g. mutt) 4.118 ++include "/usr/share/nano/mutt.nanorc" 4.119 ++ 4.120 ++## Nanorc files 4.121 ++include "/usr/share/nano/nanorc.nanorc" 4.122 ++ 4.123 ++## nftables 4.124 ++# include "/usr/share/nano/nftables.nanorc" 4.125 ++ 4.126 ++## C/C++/Obj-C 4.127 ++# include "/usr/share/nano/objc.nanorc" 4.128 ++ 4.129 ++## OCaml 4.130 ++# include "/usr/share/nano/ocaml.nanorc" 4.131 ++ 4.132 ++## Patch files 4.133 ++include "/usr/share/nano/patch.nanorc" 4.134 ++ 4.135 ++## Perl 4.136 ++# include "/usr/share/nano/perl.nanorc" 4.137 ++ 4.138 ++## PHP 4.139 ++include "/usr/share/nano/php.nanorc" 4.140 ++ 4.141 ++## PO files 4.142 ++include "/usr/share/nano/po.nanorc" 4.143 ++ 4.144 ++## PostgreSQL 4.145 ++# include "/usr/share/nano/postgresql.nanorc" 4.146 ++ 4.147 ++## POV-Ray 4.148 ++# include "/usr/share/nano/pov.nanorc" 4.149 ++ 4.150 ++## Python 4.151 ++include "/usr/share/nano/python.nanorc" 4.152 ++ 4.153 ++## Ruby 4.154 ++# include "/usr/share/nano/ruby.nanorc" 4.155 ++ 4.156 ++## Bourne shell scripts 4.157 ++include "/usr/share/nano/sh.nanorc" 4.158 ++ 4.159 ++## RPM spec files 4.160 ++# include "/usr/share/nano/spec.nanorc" 4.161 ++ 4.162 ++## Tcl files 4.163 ++# include "/usr/share/nano/tcl.nanorc" 4.164 ++ 4.165 ++## TeX files 4.166 ++# include "/usr/share/nano/tex.nanorc" 4.167 ++ 4.168 ++## Texinfo files 4.169 ++# include "/usr/share/nano/texinfo.nanorc" 4.170 ++ 4.171 ++## XML files 4.172 ++include "/usr/share/nano/xml.nanorc" 4.173 ++ 4.174 ++ 4.175 ++## Config file - By SliTaz 4.176 ++syntax "conf" "\.?conf$" 4.177 ++## Keywords 4.178 ++icolor brightgreen "=" 4.179 ++## Comments 4.180 ++icolor cyan "^[[:space:]]*#.*$" 4.181 ++ 4.182 ++## HTML - With modification for SliTaz. 4.183 ++syntax "HTML" "\.html$" 4.184 ++color brightblue start="<" end=">" 4.185 ++color red "&[^; ]*;" 4.186 ++color brightwhite start="<!DOCTYPE" end=">" start="<title>" end="</title>" start="<!--" end="-->" 4.187 ++color brightcyan start="<meta" end=">" start="<link" end=">" 4.188 ++color brightyellow "<p>|</p>|<pre>|</pre>|<li>|</li>" 4.189 ++color yellow "<ul>|</ul>|<hr>|<hr />" 4.190 ++color brightred "href=|name=|rel=|http-equiv=|content=|title=|type|style" 4.191 ++color brightgreen "<h1>|</h1>|<h2>|</h2>|<h3>|</h3>|<h4>|</h4>|<h5>|</h5>|<h6>|</h6>" 4.192 + 4.193 + ## In /usr/share/nano/extra/ you can find some syntaxes that are 4.194 + ## specific for certain distros or for some less common languages.
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/nano/stuff/patches/usr_share_nano_sh.nanorc-6.2 Sat Apr 23 16:34:46 2022 +0100 5.3 @@ -0,0 +1,8 @@ 5.4 +--- usr/share/nano/sh.nanorc.original 5.5 ++++ usr/share/nano/sh.nanorc 5.6 +@@ -3,4 +3,4 @@ 5.7 +-syntax sh "(\.sh|(\.|/)(a|ba|c|da|k|mk|pdk|tc|z)sh(rc|_profile)?|/(etc/|\.)profile)$" 5.8 ++syntax sh "\.sh$" "receipt" 5.9 + header "^#!.*/((env[[:blank:]]+)?((a|ba|c|da|k|mk|pdk|tc|z)?sh)|busybox[[:blank:]]+sh|openrc-run|runscript)\>" 5.10 + header "-\*-.*shell-script.*-\*-" 5.11 + magic "(POSIX|Bourne-Again) shell script.*text"