wok-current rev 19240
Up nano (2.6.1)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 28 01:34:12 2016 +0300 (2016-06-28) |
parents | d28f7450d429 |
children | c9028f74aaec |
files | nano/description.txt nano/receipt nano/stuff/nano.desktop nano/stuff/nano.patch |
line diff
1.1 --- a/nano/description.txt Tue Jun 28 01:27:04 2016 +0300 1.2 +++ b/nano/description.txt Tue Jun 28 01:34:12 2016 +0300 1.3 @@ -1,2 +1,7 @@ 1.4 -The Nano package contains a small, simple text editor which aims to replace 1.5 -Pico, the default editor in the Pine package. 1.6 +nano - Nano's ANOther editor, an enhanced free Pico clone 1.7 + 1.8 +nano is a small, free and friendly editor which aims to replace Pico, the 1.9 +default editor included in the non-free Pine package. On top of copying Pico's 1.10 +look and feel, nano also implements some missing (or disabled by default) 1.11 +features in Pico, such as "search and replace" and "go to line and column 1.12 +number".
2.1 --- a/nano/receipt Tue Jun 28 01:27:04 2016 +0300 2.2 +++ b/nano/receipt Tue Jun 28 01:34:12 2016 +0300 2.3 @@ -1,12 +1,12 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="nano" 2.7 -VERSION="2.4.3" 2.8 +VERSION="2.6.1" 2.9 CATEGORY="utilities" 2.10 SHORT_DESC="GNU Nano Text Editor" 2.11 MAINTAINER="pankso@slitaz.org" 2.12 LICENSE="GPL3" 2.13 -WEB_SITE="http://www.nano-editor.org/" 2.14 +WEB_SITE="https://nano-editor.org/" 2.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.16 WGET_URL="${WEB_SITE}dist/v${VERSION%.*}/$TARBALL" 2.17 TAGS="text-editor" 2.18 @@ -27,21 +27,22 @@ 2.19 ./configure \ 2.20 --sysconfdir=/etc \ 2.21 --localstatedir=/var \ 2.22 + --disable-wrapping-as-root \ 2.23 --enable-utf8 \ 2.24 $CONFIGURE_ARGS $ARCH_ARGS && 2.25 make && make install 2.26 + 2.27 + find $install/usr/share/man -type f -exec gzip -9 \{\} \; 2.28 } 2.29 2.30 # Rules to gen a SliTaz package suitable for Tazpkg. 2.31 genpkg_rules() 2.32 { 2.33 - mkdir -p \ 2.34 - $fs/etc \ 2.35 - $fs/usr/share 2.36 - cp -a $install/usr/bin $fs/usr 2.37 - cp -a $install/usr/share/nano $fs/usr/share 2.38 + cp -a $install/* $fs 2.39 + rm -r $fs/usr/share/doc $fs/usr/share/locale 2.40 2.41 # Config file. 2.42 + mkdir -p $fs/etc 2.43 cp $src/doc/nanorc.sample $fs/etc/nanorc 2.44 cd $fs; patch -p0 < $stuff/nano.patch 2.45 }
3.1 --- a/nano/stuff/nano.desktop Tue Jun 28 01:27:04 2016 +0300 3.2 +++ b/nano/stuff/nano.desktop Tue Jun 28 01:34:12 2016 +0300 3.3 @@ -1,10 +1,10 @@ 3.4 [Desktop Entry] 3.5 Type=Application 3.6 -Name=GNU Nano Text Editor 3.7 -Name[fr]=Editeur GNU Nano 3.8 -Name[pt]=Editor de texto GNU Nano 3.9 -Name[pt_BR]=Editor de texto GNU Nano 3.10 -Name[ru]=Текстовый редактор GNU Nano 3.11 +Name=Nano Text Editor 3.12 +Name[fr]=Editeur Nano 3.13 +Name[pt]=Editor de texto Nano 3.14 +Name[pt_BR]=Editor de texto Nano 3.15 +Name[ru]=Текстовый редактор Nano 3.16 Comment=Advanced text editor 3.17 Comment[fr]=Editeur de texte avançé 3.18 Comment[ru]=Консольный текстовый редактор
4.1 --- a/nano/stuff/nano.patch Tue Jun 28 01:27:04 2016 +0300 4.2 +++ b/nano/stuff/nano.patch Tue Jun 28 01:34:12 2016 +0300 4.3 @@ -1,9 +1,9 @@ 4.4 --- ./etc/nanorc 4.5 +++ ./etc/nanorc 4.6 @@ -1,10 +1,6 @@ 4.7 --## Sample initialization file for GNU nano. 4.8 -+## /etc/nanorc: system-wide initialization file for GNU nano 4.9 -+## ~/.nanorc for personal config file. 4.10 +-## Sample initialization file for nano. 4.11 ++## /etc/nanorc: system-wide initialization file for nano. 4.12 ++## ~/.nanorc: personal config file. 4.13 ## 4.14 -## Please note that you must have configured nano with --enable-nanorc 4.15 -## for this file to be read! Also note that this file should not be in 4.16 @@ -13,16 +13,16 @@ 4.17 ## To make sure an option is disabled, use "unset <option>". 4.18 ## 4.19 ## For the options that take parameters, the default value is given. 4.20 -@@ -57,7 +53,7 @@ 4.21 +@@ -58,7 +54,7 @@ 4.22 # set fill -8 4.23 4.24 - ## Enable ~/.nano_history for saving and reading search/replace strings. 4.25 + ## Remember the used search/replace strings for the next session. 4.26 -# set historylog 4.27 +set historylog 4.28 4.29 - ## Enable vim-style lock-files. This is just to let a vim user know you 4.30 - ## are editing a file [s]he is trying to edit and vice versa. There are 4.31 -@@ -76,7 +72,7 @@ 4.32 + ## Make the justify command kill whitespace at the end of lines. 4.33 + # set justifytrim 4.34 +@@ -80,7 +76,7 @@ 4.35 ## mouse clicks can be used to place the cursor, set the mark (with a 4.36 ## double click), and execute shortcuts. The mouse will work in the X 4.37 ## Window System, and on the console when gpm is running. 4.38 @@ -31,7 +31,7 @@ 4.39 4.40 ## Switch on multiple file buffers (inserting a file will put it into 4.41 ## a separate buffer). 4.42 -@@ -157,7 +153,7 @@ 4.43 +@@ -159,7 +155,7 @@ 4.44 # set suspend 4.45 4.46 ## Use this tab size instead of the default; it must be greater than 0. 4.47 @@ -40,9 +40,9 @@ 4.48 4.49 ## Convert typed tabs to spaces. 4.50 # set tabstospaces 4.51 -@@ -245,3 +241,136 @@ 4.52 +@@ -249,3 +245,151 @@ 4.53 4.54 - ## Set this if your backspace key sends Del most of the time. 4.55 + ## Set this if your Backspace key sends Del most of the time. 4.56 # bind Del backspace all 4.57 + 4.58 + 4.59 @@ -50,6 +50,9 @@ 4.60 +## Assembler 4.61 +# include "/usr/share/nano/asm.nanorc" 4.62 + 4.63 ++## Autoconf 4.64 ++# include "/usr/share/nano/autoconf.nanorc" 4.65 ++ 4.66 +## AWK 4.67 +# include "/usr/share/nano/awk.nanorc" 4.68 + 4.69 @@ -71,6 +74,9 @@ 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 @@ -83,6 +89,9 @@ 4.80 +## Groff 4.81 +# include "/usr/share/nano/groff.nanorc" 4.82 + 4.83 ++## Guile Scheme 4.84 ++# include "/usr/share/nano/guile.nanorc" 4.85 ++ 4.86 +## HTML 4.87 +# include "/usr/share/nano/html.nanorc" 4.88 + 4.89 @@ -102,7 +111,7 @@ 4.90 +include "/usr/share/nano/makefile.nanorc" 4.91 + 4.92 +## Manpages 4.93 -+# include "/usr/share/nano/man.nanorc" 4.94 ++include "/usr/share/nano/man.nanorc" 4.95 + 4.96 +## Magicpoint presentations 4.97 +# include "/usr/share/nano/mgp.nanorc" 4.98 @@ -113,6 +122,9 @@ 4.99 +## Nanorc files 4.100 +include "/usr/share/nano/nanorc.nanorc" 4.101 + 4.102 ++## nftables 4.103 ++# include "/usr/share/nano/nftables.nanorc" 4.104 ++ 4.105 +## C/C++/Obj-C 4.106 +# include "/usr/share/nano/objc.nanorc" 4.107 + 4.108 @@ -131,6 +143,9 @@ 4.109 +## PO files 4.110 +include "/usr/share/nano/po.nanorc" 4.111 + 4.112 ++## PostgreSQL 4.113 ++# include "/usr/share/nano/postgresql.nanorc" 4.114 ++ 4.115 +## POV-Ray 4.116 +# include "/usr/share/nano/pov.nanorc" 4.117 + 4.118 @@ -187,4 +202,4 @@ 4.119 +syntax "sh" "\.sh$" "receipt" 4.120 header "^#!.*((ba|da|k|pdk)?sh[-0-9_]*|openrc-run|runscript)" 4.121 magic "(POSIX|Bourne.*) shell script text" 4.122 - 4.123 + linter dash -n