Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Peter Hüwe" <PeterHuewe@gmx.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3] package: Add support for clex filemanager (v 3.19)
Date: Fri, 14 May 2010 14:21:51 +0200	[thread overview]
Message-ID: <201005141421.51373.PeterHuewe@gmx.de> (raw)
In-Reply-To: <20100514104822.0bda583a@surf>

From: Peter Huewe <peterhuewe@gmx.de>

Clex is a free and open source ncurses filemanager.
(somewhat similar to a lightweight midnight commander)

"It displays directory contents including the file status
details and provides features like command history, filename
insertion, or name completion in order to help users to create
commands to be executed by the shell."

For more information visit http://www.clex.sk/about.html

This patch adds version 3.19 to the buildroot buildsystem.

Tested on and compiled with atmel ngw100_defconfig.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
---
Removed unnecessary Config options :)

 package/Config.in                   |    1 +
 package/clex/Config.in              |    6 ++++++
 package/clex/clex-3.19-delkey.patch |   11 +++++++++++
 package/clex/clex.mk                |   28 ++++++++++++++++++++++++++++
 4 files changed, 46 insertions(+), 0 deletions(-)
 create mode 100644 package/clex/Config.in
 create mode 100644 package/clex/clex-3.19-delkey.patch
 create mode 100644 package/clex/clex.mk

diff --git a/package/Config.in b/package/Config.in
index 3749f5a..28715bc 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -449,6 +449,7 @@ source "package/logrotate/Config.in"
 source "package/screen/Config.in"
 source "package/sudo/Config.in"
 source "package/which/Config.in"
+source "package/clex/Config.in"
 endmenu
 
 menu "System tools"
diff --git a/package/clex/Config.in b/package/clex/Config.in
new file mode 100644
index 0000000..6d94746
--- /dev/null
+++ b/package/clex/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_CLEX
+	bool "clex filemanager"
+	select BR2_PACKAGE_NCURSES
+	help
+		Ncurses file manager with a full-screen user interface
+		http://www.clex.sk/
diff --git a/package/clex/clex-3.19-delkey.patch b/package/clex/clex-3.19-delkey.patch
new file mode 100644
index 0000000..ccda3d7
--- /dev/null
+++ b/package/clex/clex-3.19-delkey.patch
@@ -0,0 +1,11 @@
+--- clex-3.19/src/inout.c.orig	2010-05-14 01:06:44.000000000 +0200
++++ clex-3.19/src/inout.c	2010-05-14 01:10:46.000000000 +0200
+@@ -301,6 +301,8 @@ kbd_getraw(void)
+ 			continue;
+ 		}
+ #endif
++		if (key == 0177) /* my term uses this key for backspace DEL in ascii */
++			key=CH_CTRL('H');
+ 		return key;
+ 	}
+ }
diff --git a/package/clex/clex.mk b/package/clex/clex.mk
new file mode 100644
index 0000000..a03d15c
--- /dev/null
+++ b/package/clex/clex.mk
@@ -0,0 +1,28 @@
+#############################################################
+#
+# clex filemanager
+#
+#
+# CLEX (pronounced KLEKS) is a file manager with a full-screen
+# user interface. It displays directory contents including the
+# file status details and provides features like command history,
+# filename insertion, or name completion in order to help users
+# to create commands to be executed by the shell.
+#
+# CLEX is a versatile tool for system administrators and all
+# users that utilize the enormous power of the command line.
+# Its unique one-panel user interface enhances productivity
+# and lessens the probability of mistake. There are no
+# built-in commands, CLEX is an add-on to your favorite shell.
+#
+# CLEX is free software released under the terms of GNU
+# General Public License. It is written in C language which
+# makes it easily portable to various Linux and UNIX systems.
+#
+#  Buildroot Script by Peter Huewe <peterhuewe@gmx.de>
+#
+#############################################################
+CLEX_VERSION:=3.19
+CLEX_SITE:=http://www.clex.sk/download/
+CLEX_DEPENDENCIES = ncurses
+$(eval $(call AUTOTARGETS,package,clex))
-- 
1.6.4.4

  reply	other threads:[~2010-05-14 12:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-12 23:15 [Buildroot] [PATCH] package: Add support for clex filemanager (v 3.19) Peter Huewe
2010-05-13 13:23 ` Thomas Petazzoni
2010-05-13 23:22   ` [Buildroot] [PATCH v2] " Peter Huewe
2010-05-14  8:48     ` Thomas Petazzoni
2010-05-14 12:21       ` Peter Hüwe [this message]
2010-05-18 11:51         ` [Buildroot] [PATCH v3] " Peter Hüwe
2010-06-23 22:25         ` Peter Hüwe
2010-06-24 15:33           ` [Buildroot] [PATCH v4] " Peter Hüwe
2010-06-25  7:18             ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201005141421.51373.PeterHuewe@gmx.de \
    --to=peterhuewe@gmx.de \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox