summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-02-12 12:38:49 -0500
committerMike Frysinger <vapier@gentoo.org>2016-02-12 12:39:03 -0500
commit5815ecbb9e1f5e5539b38258cba3b01192b18214 (patch)
tree0ad93e34334e48aaeb876362cbd4c4022f566ec1 /app-editors/nano/files
parentapp-editor/nano: version bump to 2.5.2 (diff)
downloadgentoo-5815ecbb9e1f5e5539b38258cba3b01192b18214.tar.gz
gentoo-5815ecbb9e1f5e5539b38258cba3b01192b18214.tar.bz2
gentoo-5815ecbb9e1f5e5539b38258cba3b01192b18214.zip
app-editor/nano: drop old <2.4.3 versions
Diffstat (limited to 'app-editors/nano/files')
-rw-r--r--app-editors/nano/files/awk.nanorc38
-rw-r--r--app-editors/nano/files/css.nanorc9
-rw-r--r--app-editors/nano/files/gentoo.nanorc50
-rw-r--r--app-editors/nano/files/nano-2.4.0-no-speller.patch88
-rw-r--r--app-editors/nano/files/xml.nanorc9
5 files changed, 0 insertions, 194 deletions
diff --git a/app-editors/nano/files/awk.nanorc b/app-editors/nano/files/awk.nanorc
deleted file mode 100644
index 696ab6ad727c..000000000000
--- a/app-editors/nano/files/awk.nanorc
+++ /dev/null
@@ -1,38 +0,0 @@
-## Here is an example for awk.
-##
-syntax "awk" "\.awk$"
-## records
-icolor brightred "\$[0-9A-Z_!@#$*?-]+"
-## awk-set variables
-color red "\<(ARGC|ARGIND|ARGV|BINMODE|CONVFMT|ENVIRON|ERRNO|FIELDWIDTHS)\>"
-color red "\<(FILENAME|FNR|FS|IGNORECASE|LINT|NF|NR|OFMT|OFS|ORS)\>"
-color red "\<(PROCINFO|RS|RT|RSTART|RLENGTH|SUBSEP|TEXTDOMAIN)\>"
-## function declarations and special patterns
-color brightgreen "\<(function|extension|BEGIN|END)\>"
-## operators
-color green "(\{|\}|\(|\)|\;|\]|\[|\\|<|>|!|=|&|\+|-|\*|%|/|\?:|\^|\|)"
-## flow control
-color brightyellow "\<(for|if|while|do|else|in|delete|exit)\>"
-color brightyellow "\<(break|continue|return)\>"
-## I/O statements
-color brightgreen "\<(close|getline|next|nextfile|print|printf)\>"
-color brightgreen "\<(system|fflush)\>"
-## standard functions
-color magenta "\<(atan2|cos|exp|int|log|rand|sin|sqrt|srand)\>"
-color magenta "\<(asort|asorti|gensub|gsub|index|length|match)\>"
-color magenta "\<(split|sprintf|strtonum|sub|substr|tolower|toupper)\>"
-color magenta "\<(mktime|strftime|systime)\>"
-color magenta "\<(and|compl|lshift|or|rshift|xor)\>"
-color magenta "\<(bindtextdomain|dcgettext|dcngettext)\>"
-
-##
-## String highlighting. You will in general want your comments and
-## strings to come last, because syntax highlighting rules will be
-## applied in the order they are read in.
-color brightyellow "<[^= ]*>" ""(\\.|[^"])*""
-
-## Comment highlighting
-color brightblue "(^|[[:space:]])#.*$"
-
-## Trailing whitespace
-color ,green "[[:space:]]+$"
diff --git a/app-editors/nano/files/css.nanorc b/app-editors/nano/files/css.nanorc
deleted file mode 100644
index 62126e8a7833..000000000000
--- a/app-editors/nano/files/css.nanorc
+++ /dev/null
@@ -1,9 +0,0 @@
-## Here is an example for css files.
-##
-syntax "css" "\.css$"
-color brightred "."
-color brightyellow start="\{" end="\}"
-color brightwhite start=":" end="[;^\{]"
-color brightblue ":active|:focus|:hover|:link|:visited|:link|:after|:before|$"
-color brightblue start="\/\*" end="\\*/"
-color green ";|:|\{|\}"
diff --git a/app-editors/nano/files/gentoo.nanorc b/app-editors/nano/files/gentoo.nanorc
deleted file mode 100644
index f08d2e9027ce..000000000000
--- a/app-editors/nano/files/gentoo.nanorc
+++ /dev/null
@@ -1,50 +0,0 @@
-## Here is an example for ebuilds/eclasses
-##
-syntax "ebuild" "\.e(build|class)$"
-## All the standard portage functions
-color brightgreen "^src_(unpack|compile|install|test)" "^pkg_(config|nofetch|setup|(pre|post)(inst|rm))"
-## Highlight bash related syntax
-color green "\<(case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while|continue|break)\>"
-color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
-color green "-(e|d|f|r|g|u|w|x|L)\>"
-color green "-(eq|ne|gt|lt|ge|le|s|n|z)\>"
-## Highlight variables ... official portage ones in red, all others in bright red
-color brightred "\$\{?[a-zA-Z_0-9]+\}?"
-color red "\<(ARCH|HOMEPAGE|DESCRIPTION|IUSE|SRC_URI|LICENSE|SLOT|KEYWORDS|FILESDIR|WORKDIR|(P|R)?DEPEND|PROVIDE|DISTDIR|RESTRICT|USERLAND)\>"
-color red "\<(S|D|T|PV|PF|P|PN|A)\>" "\<C(XX)?FLAGS\>" "\<LDFLAGS\>" "\<C(HOST|TARGET|BUILD)\>"
-## Highlight portage commands
-color magenta "\<use(_(with|enable))?\> [!a-zA-Z0-9_+ -]*" "inherit.*"
-color brightblue "\<e(begin|end|conf|install|make|warn|infon?|error|log|patch|new(group|user))\>"
-color brightblue "\<die\>" "\<use(_(with|enable))?\>" "\<inherit\>" "\<has\>" "\<(has|best)_version\>" "\<unpack\>"
-color brightblue "\<(do|new)(ins|s?bin|doc|lib(|\.so|\.a)|man|info|exe|initd|confd|envd|pam|menu|icon)\>"
-color brightblue "\<do(header|python|sed|dir|hard|sym|html|jar|mo)\>" "\<keepdir\>"
-color brightblue "prepall(|docs|info|man|strip)" "prep(info|lib|lib\.(so|a)|man|strip)"
-color brightblue "\<(|doc|ins|exe)into\>" "\<f(owners|perms)\>" "\<(exe|ins|dir)opts\>" "\<usex\>"
-## Highlight common commands used in ebuilds
-color blue "\<make\>" "\<(cat|cd|chmod|chown|cp|echo|env|export|grep|let|ln|mkdir|mv|rm|sed|set|tar|touch|unset)\>"
-## Highlight comments (doesnt work that well)
-color yellow "#.*$"
-## Highlight strings (doesnt work that well)
-color brightyellow ""(\\.|[^\"])*"" "'(\\.|[^'])*'"
-## Trailing space is bad!
-color ,green "[[:space:]]+$"
-
-## Here is an example for Portage control files
-##
-syntax "/etc/portage" "\.(keywords|mask|unmask|use)$"
-## Base text:
-color green "^.+$"
-## Use flags:
-color brightred "[[:space:]]+\+?[a-zA-Z0-9_-]+"
-color brightblue "[[:space:]]+-[a-zA-Z0-9_-]+"
-## Likely version numbers:
-color magenta "-[[:digit:]].*([[:space:]]|$)"
-## Accepted arches:
-color white "[~-]?\<(alpha|amd64|arm|hppa|ia64|mips|ppc|ppc64|s390|sh|sparc|x86|x86-fbsd)\>"
-color white "[[:space:]][~-]?\*"
-## Categories:
-color cyan "^[[:space:]]*.*/"
-## Masking regulators:
-color brightmagenta "^[[:space:]]*(=|~|<|<=|=<|>|>=|=>)"
-## Comments:
-color yellow "#.*$"
diff --git a/app-editors/nano/files/nano-2.4.0-no-speller.patch b/app-editors/nano/files/nano-2.4.0-no-speller.patch
deleted file mode 100644
index 4405266bb0af..000000000000
--- a/app-editors/nano/files/nano-2.4.0-no-speller.patch
+++ /dev/null
@@ -1,88 +0,0 @@
-https://bugs.gentoo.org/show_bug.cgi?id=544296
-https://savannah.gnu.org/bugs/?44607
-
-From 14a9c8aa0b124dc580c4805e848e6ff0880b43bd Mon Sep 17 00:00:00 2001
-From: Benno Schulenberg <bensberg@justemail.net>
-Date: Fri, 27 Mar 2015 16:55:49 +0000
-Subject: [PATCH] Treating the formatter like a speller, to fix compilation
- with --disable-speller. This fixes Savannah bug #44607.
-
-git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5168 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
----
- ChangeLog | 2 ++
- src/global.c | 10 ++++++++--
- src/text.c | 3 ++-
- 3 files changed, 12 insertions(+), 3 deletions(-)
-
-ChangeLog
- * src/global.c, src/text.c: Treat the formatter like a speller, to fix
- compilation with --disable-speller. Fixes Savannah bug #44607.
-
-diff --git a/src/global.c b/src/global.c
-index 4643af2..27ff938 100644
---- a/src/global.c
-+++ b/src/global.c
-@@ -639,8 +639,10 @@ void shortcut_init(void)
- const char *nano_lint_msg = N_("Invoke the linter, if available");
- const char *nano_prevlint_msg = N_("Go to previous linter msg");
- const char *nano_nextlint_msg = N_("Go to next linter msg");
-+#ifndef DISABLE_SPELLER
- const char *nano_formatter_msg = N_("Invoke formatter, if available");
- #endif
-+#endif
- #endif /* !DISABLE_HELP */
-
- #ifndef DISABLE_HELP
-@@ -736,9 +738,11 @@ void shortcut_init(void)
- #ifndef DISABLE_COLOR
- add_to_funcs(do_linter, MMAIN,
- N_("To Linter"), IFSCHELP(nano_lint_msg), TOGETHER, NOVIEW);
-+#ifndef DISABLE_SPELLER
- add_to_funcs(do_formatter, MMAIN,
- N_("Formatter"), IFSCHELP(nano_formatter_msg), BLANKAFTER, NOVIEW);
- #endif
-+#endif
-
- #ifndef NANO_TINY
- add_to_funcs(case_sens_void, MWHEREIS|MREPLACE,
-@@ -1006,12 +1010,14 @@ void shortcut_init(void)
- #ifndef DISABLE_SPELLER
- add_to_sclist(MMAIN, "^T", do_spell, 0);
- add_to_sclist(MMAIN, "F12", do_spell, 0);
-+#ifndef DISABLE_COLOR
-+ add_to_sclist(MMAIN, "^T", do_formatter, 0);
-+ add_to_sclist(MMAIN, "F12", do_formatter, 0);
-+#endif
- #else
- #ifndef DISABLE_COLOR
- add_to_sclist(MMAIN, "^T", do_linter, 0);
- add_to_sclist(MMAIN, "F12", do_linter, 0);
-- add_to_sclist(MMAIN, "^T", do_formatter, 0);
-- add_to_sclist(MMAIN, "F12", do_formatter, 0);
- #endif
- #endif
- add_to_sclist(MMAIN, "^C", do_cursorpos_void, 0);
-diff --git a/src/text.c b/src/text.c
-index 8814b49..98b2f80 100644
---- a/src/text.c
-+++ b/src/text.c
-@@ -3223,6 +3223,7 @@ free_lints_and_return:
- lint_cleanup();
- }
-
-+#ifndef DISABLE_SPELLER
- /* Run a formatter for the given syntax.
- * Expects the formatter to be non-interactive and
- * operate on a file in-place, which we'll pass it
-@@ -3370,7 +3371,7 @@ void do_formatter(void)
-
- statusbar(finalstatus);
- }
--
-+#endif /* !DISABLE_SPELLER */
- #endif /* !DISABLE_COLOR */
-
- #ifndef NANO_TINY
---
-2.3.3
-
diff --git a/app-editors/nano/files/xml.nanorc b/app-editors/nano/files/xml.nanorc
deleted file mode 100644
index 1f68c05341ad..000000000000
--- a/app-editors/nano/files/xml.nanorc
+++ /dev/null
@@ -1,9 +0,0 @@
-## Here is an example for xml files.
-##
-syntax "xml" "\.([jrs]html?|sgml?|xml|xslt?)$"
-color green start="<" end=">"
-color cyan "<[^> ]+"
-color cyan ">"
-color yellow start="<!DOCTYPE" end="[/]?>"
-color yellow start="<!--" end="-->"
-color red "&[^;]*;"