wok-backports diff nano/stuff/nano.patch @ rev 51

nano: add 'wget' to BUILD_DEPENDS, not to DEPENDS
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 04 12:51:52 2016 +0200 (2016-11-04)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/nano/stuff/nano.patch	Fri Nov 04 12:51:52 2016 +0200
     1.3 @@ -0,0 +1,205 @@
     1.4 +--- ./etc/nanorc
     1.5 ++++ ./etc/nanorc
     1.6 +@@ -1,10 +1,6 @@
     1.7 +-## Sample initialization file for nano.
     1.8 ++## /etc/nanorc: system-wide initialization file for nano.
     1.9 ++## ~/.nanorc:   personal config file.
    1.10 + ##
    1.11 +-## Please note that you must have configured nano with --enable-nanorc
    1.12 +-## for this file to be read!  Also note that this file should not be in
    1.13 +-## DOS or Mac format, and that characters specially interpreted by the
    1.14 +-## shell should not be escaped here.
    1.15 +-##
    1.16 + ## To make sure an option is disabled, use "unset <option>".
    1.17 + ##
    1.18 + ## For the options that take parameters, the default value is given.
    1.19 +@@ -58,7 +54,7 @@
    1.20 + # set fill -8
    1.21 + 
    1.22 + ## Remember the used search/replace strings for the next session.
    1.23 +-# set historylog
    1.24 ++set historylog
    1.25 + 
    1.26 + ## Make the justify command kill whitespace at the end of lines.
    1.27 + # set justifytrim
    1.28 +@@ -80,7 +76,7 @@
    1.29 + ## mouse clicks can be used to place the cursor, set the mark (with a
    1.30 + ## double click), and execute shortcuts.  The mouse will work in the X
    1.31 + ## Window System, and on the console when gpm is running.
    1.32 +-# set mouse
    1.33 ++set mouse
    1.34 + 
    1.35 + ## Switch on multiple file buffers (inserting a file will put it into
    1.36 + ## a separate buffer).
    1.37 +@@ -159,7 +155,7 @@
    1.38 + # set suspend
    1.39 + 
    1.40 + ## Use this tab size instead of the default; it must be greater than 0.
    1.41 +-# set tabsize 8
    1.42 ++set tabsize 4
    1.43 + 
    1.44 + ## Convert typed tabs to spaces.
    1.45 + # set tabstospaces
    1.46 +@@ -249,3 +245,151 @@
    1.47 + 
    1.48 + ## Set this if your Backspace key sends Del most of the time.
    1.49 + # bind Del backspace all
    1.50 ++
    1.51 ++
    1.52 ++
    1.53 ++## Assembler
    1.54 ++# include "/usr/share/nano/asm.nanorc"
    1.55 ++
    1.56 ++## Autoconf
    1.57 ++# include "/usr/share/nano/autoconf.nanorc"
    1.58 ++
    1.59 ++## AWK
    1.60 ++# include "/usr/share/nano/awk.nanorc"
    1.61 ++
    1.62 ++## C/C++
    1.63 ++include "/usr/share/nano/c.nanorc"
    1.64 ++
    1.65 ++## Changelogs
    1.66 ++# include "/usr/share/nano/changelog.nanorc"
    1.67 ++
    1.68 ++## CMake
    1.69 ++# include "/usr/share/nano/cmake.nanorc"
    1.70 ++
    1.71 ++## CSS
    1.72 ++include "/usr/share/nano/css.nanorc"
    1.73 ++
    1.74 ++## Apt's sources.list
    1.75 ++# include "/usr/share/nano/debian.nanorc"
    1.76 ++
    1.77 ++## Default
    1.78 ++include "/usr/share/nano/default.nanorc"
    1.79 ++
    1.80 ++## Emacs Lisp
    1.81 ++# include "/usr/share/nano/elisp.nanorc"
    1.82 ++
    1.83 ++## Fortran 90/95
    1.84 ++# include "/usr/share/nano/fortran.nanorc"
    1.85 ++
    1.86 ++## Gentoo ebuilds/eclasses
    1.87 ++# include "/usr/share/nano/gentoo.nanorc"
    1.88 ++
    1.89 ++## Go
    1.90 ++# include "/usr/share/nano/go.nanorc"
    1.91 ++
    1.92 ++## Groff
    1.93 ++# include "/usr/share/nano/groff.nanorc"
    1.94 ++
    1.95 ++## Guile Scheme
    1.96 ++# include "/usr/share/nano/guile.nanorc"
    1.97 ++
    1.98 ++## HTML
    1.99 ++# include "/usr/share/nano/html.nanorc"
   1.100 ++
   1.101 ++## Java
   1.102 ++# include "/usr/share/nano/java.nanorc"
   1.103 ++
   1.104 ++## Javascript
   1.105 ++include "/usr/share/nano/javascript.nanorc"
   1.106 ++
   1.107 ++## JSON
   1.108 ++# include "/usr/share/nano/json.nanorc"
   1.109 ++
   1.110 ++## Lua
   1.111 ++# include "/usr/share/nano/lua.nanorc"
   1.112 ++
   1.113 ++## Makefiles
   1.114 ++include "/usr/share/nano/makefile.nanorc"
   1.115 ++
   1.116 ++## Manpages
   1.117 ++include "/usr/share/nano/man.nanorc"
   1.118 ++
   1.119 ++## Magicpoint presentations
   1.120 ++# include "/usr/share/nano/mgp.nanorc"
   1.121 ++
   1.122 ++## Quoted emails (under e.g. mutt)
   1.123 ++include "/usr/share/nano/mutt.nanorc"
   1.124 ++
   1.125 ++## Nanorc files
   1.126 ++include "/usr/share/nano/nanorc.nanorc"
   1.127 ++
   1.128 ++## nftables
   1.129 ++# include "/usr/share/nano/nftables.nanorc"
   1.130 ++
   1.131 ++## C/C++/Obj-C
   1.132 ++# include "/usr/share/nano/objc.nanorc"
   1.133 ++
   1.134 ++## OCaml
   1.135 ++# include "/usr/share/nano/ocaml.nanorc"
   1.136 ++
   1.137 ++## Patch files
   1.138 ++include "/usr/share/nano/patch.nanorc"
   1.139 ++
   1.140 ++## Perl
   1.141 ++# include "/usr/share/nano/perl.nanorc"
   1.142 ++
   1.143 ++## PHP
   1.144 ++include "/usr/share/nano/php.nanorc"
   1.145 ++
   1.146 ++## PO files
   1.147 ++include "/usr/share/nano/po.nanorc"
   1.148 ++
   1.149 ++## PostgreSQL
   1.150 ++# include "/usr/share/nano/postgresql.nanorc"
   1.151 ++
   1.152 ++## POV-Ray
   1.153 ++# include "/usr/share/nano/pov.nanorc"
   1.154 ++
   1.155 ++## Python
   1.156 ++include "/usr/share/nano/python.nanorc"
   1.157 ++
   1.158 ++## Ruby
   1.159 ++# include "/usr/share/nano/ruby.nanorc"
   1.160 ++
   1.161 ++## Bourne shell scripts
   1.162 ++include "/usr/share/nano/sh.nanorc"
   1.163 ++
   1.164 ++## RPM spec files
   1.165 ++# include "/usr/share/nano/spec.nanorc"
   1.166 ++
   1.167 ++## Tcl files
   1.168 ++# include "/usr/share/nano/tcl.nanorc"
   1.169 ++
   1.170 ++## TeX files
   1.171 ++# include "/usr/share/nano/tex.nanorc"
   1.172 ++
   1.173 ++## Texinfo files
   1.174 ++# include "/usr/share/nano/texinfo.nanorc"
   1.175 ++
   1.176 ++## XML files
   1.177 ++include "/usr/share/nano/xml.nanorc"
   1.178 ++
   1.179 ++
   1.180 ++## Config file - By SliTaz
   1.181 ++syntax "conf" "\.?conf$"
   1.182 ++## Keywords
   1.183 ++icolor brightgreen "="
   1.184 ++## Comments
   1.185 ++icolor cyan "^[[:space:]]*#.*$"
   1.186 ++
   1.187 ++## HTML - With modification for SliTaz.
   1.188 ++syntax "HTML" "\.html$"
   1.189 ++color brightblue start="<" end=">"
   1.190 ++color red "&[^; 	]*;"
   1.191 ++color brightwhite start="<!DOCTYPE" end=">" start="<title>" end="</title>" start="<!--" end="-->"
   1.192 ++color brightcyan start="<meta" end=">" start="<link" end=">"
   1.193 ++color brightyellow "<p>|</p>|<pre>|</pre>|<li>|</li>"
   1.194 ++color yellow "<ul>|</ul>|<hr>|<hr />"
   1.195 ++color brightred "href=|name=|rel=|http-equiv=|content=|title=|type|style"
   1.196 ++color brightgreen "<h1>|</h1>|<h2>|</h2>|<h3>|</h3>|<h4>|</h4>|<h5>|</h5>|<h6>|</h6>"
   1.197 ++
   1.198 +
   1.199 +--- ./usr/share/nano/sh.nanorc
   1.200 ++++ ./usr/share/nano/sh.nanorc
   1.201 +@@ -1,6 +1,6 @@
   1.202 + ## Here is an example for Bourne shell scripts.
   1.203 + 
   1.204 +-syntax "sh" "\.sh$"
   1.205 ++syntax "sh" "\.sh$" "receipt"
   1.206 + header "^#!.*((ba|da|k|pdk)?sh[-0-9_]*|openrc-run|runscript)"
   1.207 + magic "(POSIX|Bourne.*) shell script text"
   1.208 + linter dash -n