svn commit: trunk/buildroot/package: ed editors editors/ed editors/nano edit etc...
Author: jacmet
Date: 2008-03-07 02:00:04 -0800 (Fri, 07 Mar 2008) New Revision: 21264
Log:
buildroot: move editors under package/editors and merge menus
Based on patch by Arnar Mar Sig.
Added:
trunk/buildroot/package/editors/ed/ trunk/buildroot/package/editors/ed/Config.in trunk/buildroot/package/editors/ed/ed.mk trunk/buildroot/package/editors/nano/ trunk/buildroot/package/editors/nano/Config.in trunk/buildroot/package/editors/nano/nano.mk trunk/buildroot/package/editors/uemacs/ trunk/buildroot/package/editors/uemacs/Config.in trunk/buildroot/package/editors/uemacs/uemacs-4.0.15-lt.01.patch trunk/buildroot/package/editors/uemacs/uemacs-4.0.15-lt.02.patch trunk/buildroot/package/editors/uemacs/uemacs.mk
Removed:
trunk/buildroot/package/ed/Config.in trunk/buildroot/package/ed/ed.mk trunk/buildroot/package/nano/Config.in trunk/buildroot/package/nano/nano.mk trunk/buildroot/package/uemacs/Config.in trunk/buildroot/package/uemacs/uemacs-4.0.15-lt.01.patch trunk/buildroot/package/uemacs/uemacs-4.0.15-lt.02.patch trunk/buildroot/package/uemacs/uemacs.mk
Modified:
trunk/buildroot/package/Config.in
trunk/buildroot/package/editors/Config.in
Changeset:
Modified: trunk/buildroot/package/Config.in
===================================================================
buildroot/package/Config.in +2 -13
@@ -11,7 +11,6 @@ endif source "package/diffutils/Config.in" if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS -source "package/ed/Config.in" source "package/findutils/Config.in" endif source "package/flex/Config.in"
@@ -119,19 +118,11 @@ if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS # busybox has an editor -menuconfig BR2_TEXTEDIT_SUPPORT - bool "Text editors" - default y - help - Support for text editors +# text editors +source "package/editors/Config.in" -if BR2_TEXTEDIT_SUPPORT -source "package/nano/Config.in" -source "package/uemacs/Config.in" endif -endif - menuconfig BR2_NETWORK_SUPPORT bool "Networking" default y
@@ -490,6 +481,4 @@ source "package/vice/Config.in" endif -source "package/editors/Config.in" - endmenu
Deleted: trunk/buildroot/package/ed/Config.in
===================================================================
buildroot/package/ed/Config.in +0 -9
@@ -1,9 +0,0 @@ -config BR2_PACKAGE_ED - bool "ed" - default n - help - A line-oriented text editor. Used to create, display, modify, - and otherwise manipulate text files. Often used in scripts - rather than invoked directly. - - http://www.gnu.org/software/ed/
Deleted: trunk/buildroot/package/ed/ed.mk
===================================================================
buildroot/package/ed/ed.mk +0 -59
59 lines not on this page · raw message
Modified: trunk/buildroot/package/editors/Config.in
===================================================================
buildroot/package/editors/Config.in +10 -3
@@ -1,5 +1,12 @@ -menu "Editors" +menuconfig BR2_TEXTEDIT_SUPPORT + bool "Text editors" + default y + help + Support for text editors +if BR2_TEXTEDIT_SUPPORT +source "package/editors/ed/Config.in" +source "package/editors/nano/Config.in" +source "package/editors/uemacs/Config.in" source "package/editors/vim/Config.in" - -endmenu +endif
Copied: trunk/buildroot/package/editors/ed/Config.in (from rev 21263, trunk/buildroot/package/ed/Config.in)
===================================================================
buildroot/package/editors/ed/Config.in +9 -0
@@ -0,0 +1,9 @@ +config BR2_PACKAGE_ED + bool "ed" + default n + help + A line-oriented text editor. Used to create, display, modify, + and otherwise manipulate text files. Often used in scripts + rather than invoked directly. + + http://www.gnu.org/software/ed/
Copied: trunk/buildroot/package/editors/ed/ed.mk (from rev 21263, trunk/buildroot/package/ed/ed.mk)
===================================================================
buildroot/package/editors/ed/ed.mk +59 -0
59 lines not on this page · raw message
Copied: trunk/buildroot/package/editors/nano/Config.in (from rev 21263, trunk/buildroot/package/nano/Config.in)
===================================================================
buildroot/package/editors/nano/Config.in +9 -0
@@ -0,0 +1,9 @@ +config BR2_PACKAGE_NANO + bool "nano" + default n + select BR2_PACKAGE_NCURSES + help + A nice ncurses-based editor. Started out as a clone of pico. + Great editor for new users. + + http://www.nano-editor.org/
Copied: trunk/buildroot/package/editors/nano/nano.mk (from rev 21263, trunk/buildroot/package/nano/nano.mk)
===================================================================
buildroot/package/editors/nano/nano.mk +59 -0
59 lines not on this page · raw message
Copied: trunk/buildroot/package/editors/uemacs/Config.in (from rev 21263, trunk/buildroot/package/uemacs/Config.in)
===================================================================
buildroot/package/editors/uemacs/Config.in +8 -0
@@ -0,0 +1,8 @@ +config BR2_PACKAGE_UEMACS + bool "uemacs" + default n + select BR2_PACKAGE_NCURSES + help + A small emacs. + + ftp://ftp.kernel.org/pub/software/editors/uemacs/
Copied: trunk/buildroot/package/editors/uemacs/uemacs-4.0.15-lt.01.patch (from rev 21263, trunk/buildroot/package/uemacs/uemacs-4.0.15-lt.01.patch)
===================================================================
buildroot/package/editors/uemacs/uemacs-4.0.15-lt.01.patch +33 -0
@@ -0,0 +1,33 @@ +diff -rup em-4.0.15-lt.oorig/display.c em-4.0.15-lt/display.c +--- em-4.0.15-lt.oorig/display.c 1994-05-21 12:40:56.000000000 +0200 ++++ em-4.0.15-lt/display.c 2005-11-16 16:54:22.000000000 +0100 +@@ -9,6 +9,7 @@ + */ + + #include <stdio.h> ++#include <errno.h> + #include "estruct.h" + #include "edef.h" + +diff -rup em-4.0.15-lt.oorig/main.c em-4.0.15-lt/main.c +--- em-4.0.15-lt.oorig/main.c 1994-05-21 12:41:03.000000000 +0200 ++++ em-4.0.15-lt/main.c 2005-11-16 16:54:01.000000000 +0100 +@@ -123,7 +123,7 @@ char *argv[]; /* argument strings */ + #endif + + #if UNIX +- static void emergencyexit(); ++ void emergencyexit(); + #ifdef SIGWINCH + extern void sizesignal(); + #endif +@@ -599,7 +599,7 @@ quickexit(f, n) + return(TRUE); + } + +-static void emergencyexit(signr) ++void emergencyexit(signr) + int signr; + { + quickexit(FALSE, 0); +
Copied: trunk/buildroot/package/editors/uemacs/uemacs-4.0.15-lt.02.patch (from rev 21263, trunk/buildroot/package/uemacs/uemacs-4.0.15-lt.02.patch)
===================================================================
buildroot/package/editors/uemacs/uemacs-4.0.15-lt.02.patch +16 -0
@@ -0,0 +1,16 @@ +--- em-4.0.15-lt.oorig/lock.c 1999-05-16 09:04:17.000000000 +0200 ++++ em-4.0.15-lt/lock.c 2006-03-10 15:22:16.000000000 +0100 +@@ -152,10 +152,8 @@ + + strcpy(obuf, errstr); + strcat(obuf, " - "); +- if (errno < sys_nerr) +- strcat(obuf, sys_errlist[errno]); +- else +- strcat(obuf, "(can not get system error message)"); ++ strcat(obuf, strerror(errno)); ++ + mlwrite(obuf); + } + #endif +
Copied: trunk/buildroot/package/editors/uemacs/uemacs.mk (from rev 21263, trunk/buildroot/package/uemacs/uemacs.mk)
===================================================================
buildroot/package/editors/uemacs/uemacs.mk +48 -0
48 lines not on this page · raw message
Deleted: trunk/buildroot/package/nano/Config.in
===================================================================
buildroot/package/nano/Config.in +0 -9
@@ -1,9 +0,0 @@ -config BR2_PACKAGE_NANO - bool "nano" - default n - select BR2_PACKAGE_NCURSES - help - A nice ncurses-based editor. Started out as a clone of pico. - Great editor for new users. - - http://www.nano-editor.org/
Deleted: trunk/buildroot/package/nano/nano.mk
===================================================================
buildroot/package/nano/nano.mk +0 -59
59 lines not on this page · raw message
Deleted: trunk/buildroot/package/uemacs/Config.in
===================================================================
buildroot/package/uemacs/Config.in +0 -8
@@ -1,8 +0,0 @@ -config BR2_PACKAGE_UEMACS - bool "uemacs" - default n - select BR2_PACKAGE_NCURSES - help - A small emacs. - - ftp://ftp.kernel.org/pub/software/editors/uemacs/
Deleted: trunk/buildroot/package/uemacs/uemacs-4.0.15-lt.01.patch
===================================================================
buildroot/package/uemacs/uemacs-4.0.15-lt.01.patch +0 -33
@@ -1,33 +0,0 @@ -diff -rup em-4.0.15-lt.oorig/display.c em-4.0.15-lt/display.c ---- em-4.0.15-lt.oorig/display.c 1994-05-21 12:40:56.000000000 +0200 -+++ em-4.0.15-lt/display.c 2005-11-16 16:54:22.000000000 +0100 -@@ -9,6 +9,7 @@ - */ - - #include <stdio.h> -+#include <errno.h> - #include "estruct.h" - #include "edef.h" - -diff -rup em-4.0.15-lt.oorig/main.c em-4.0.15-lt/main.c ---- em-4.0.15-lt.oorig/main.c 1994-05-21 12:41:03.000000000 +0200 -+++ em-4.0.15-lt/main.c 2005-11-16 16:54:01.000000000 +0100 -@@ -123,7 +123,7 @@ char *argv[]; /* argument strings */ - #endif - - #if UNIX -- static void emergencyexit(); -+ void emergencyexit(); - #ifdef SIGWINCH - extern void sizesignal(); - #endif -@@ -599,7 +599,7 @@ quickexit(f, n) - return(TRUE); - } - --static void emergencyexit(signr) -+void emergencyexit(signr) - int signr; - { - quickexit(FALSE, 0); -
Deleted: trunk/buildroot/package/uemacs/uemacs-4.0.15-lt.02.patch
===================================================================
buildroot/package/uemacs/uemacs-4.0.15-lt.02.patch +0 -16
@@ -1,16 +0,0 @@ ---- em-4.0.15-lt.oorig/lock.c 1999-05-16 09:04:17.000000000 +0200 -+++ em-4.0.15-lt/lock.c 2006-03-10 15:22:16.000000000 +0100 -@@ -152,10 +152,8 @@ - - strcpy(obuf, errstr); - strcat(obuf, " - "); -- if (errno < sys_nerr) -- strcat(obuf, sys_errlist[errno]); -- else -- strcat(obuf, "(can not get system error message)"); -+ strcat(obuf, strerror(errno)); -+ - mlwrite(obuf); - } - #endif -
Deleted: trunk/buildroot/package/uemacs/uemacs.mk
===================================================================
buildroot/package/uemacs/uemacs.mk +0 -48
48 lines not on this page · raw message