Skip to content

Commit bab9c4d

Browse files
committed
Clifm : add recipe
1 parent 85858bf commit bab9c4d

File tree

6 files changed

+87
-0
lines changed

6 files changed

+87
-0
lines changed

build/clifm/build.sh

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
#!/usr/bin/bash
2+
#
3+
# {{{ CDDL HEADER
4+
#
5+
# This file and its contents are supplied under the terms of the
6+
# Common Development and Distribution License ("CDDL"), version 1.0.
7+
# You may only use this file in accordance with the terms of version
8+
# 1.0 of the CDDL.
9+
#
10+
# A full copy of the text of the CDDL should have accompanied this
11+
# source. A copy of the CDDL is also available via the Internet at
12+
# http://www.illumos.org/license/CDDL.
13+
# }}}
14+
15+
# Copyright 2025 OmniOS Community Edition (OmniOSce) Association.
16+
17+
. ../../lib/build.sh
18+
19+
PROG=clifm
20+
VER=1.26.3
21+
PKG=ooce/application/clifm
22+
SUMMARY="$PROG"
23+
DESC="A shell-like, text-based terminal file manager"
24+
25+
set_arch 64
26+
set_clangver
27+
28+
build() {
29+
pushd $TMPDIR/$BUILDDIR > /dev/null
30+
31+
logmsg "Building $PROG"
32+
33+
logcmd $gmake gmake -f misc/solaris/Makefile || logerr "Unable to build $PROG"
34+
35+
popd >/dev/null
36+
}
37+
38+
init
39+
download_source $PROG $PROG $VER
40+
patch_source
41+
prep_build
42+
build
43+
make_package
44+
clean_up
45+
46+
# Vim hints
47+
# vim:ts=4:sw=4:et:fdm=marker

build/clifm/local.mog

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#
2+
# This file and its contents are supplied under the terms of the
3+
# Common Development and Distribution License ("CDDL"), version 1.0.
4+
# You may only use this file in accordance with the terms of version
5+
# 1.0 of the CDDL.
6+
#
7+
# A full copy of the text of the CDDL should have accompanied this
8+
# source. A copy of the CDDL is also available via the Internet at
9+
# http://www.illumos.org/license/CDDL.
10+
#
11+
12+
# Copyright 2025 OmniOS Community Edition (OmniOSce) Association.
13+
14+
license LICENSE license=GPLv2
15+
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
diff --git a/src/translate_key.h b/src/translate_key.h
2+
index b1cccf84..1cb59c5c 100644
3+
--- a/src/translate_key.h
4+
+++ b/src/translate_key.h
5+
@@ -40,11 +40,15 @@
6+
#define CSI_INTRODUCER 0x5b /* [ */
7+
#define SS3_INTRODUCER 0x4f /* O */
8+
9+
-__BEGIN_DECLS
10+
+#ifdef __cplusplus
11+
+extern "C" {
12+
+#endif
13+
14+
char *translate_key(char *str, const int term_type);
15+
int is_end_seq_char(unsigned char c);
16+
17+
-__END_DECLS
18+
+#ifdef __cplusplus
19+
+}
20+
+#endif
21+
22+
#endif /* TRANSLATE_KEY_H */

build/clifm/patches/series

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
01_translate_key.h

doc/baseline

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
extra.omnios ooce/aarch64-build-tools
22
extra.omnios ooce/application/alpine
3+
extra.omnios ooce/application/clifm
34
extra.omnios ooce/application/fcgiwrap
45
extra.omnios ooce/application/gitea
56
extra.omnios ooce/application/gnuplot

doc/packages.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
| Package | Version | Link | Maintainer |
22
| :------ | :------ | :--- | :--------- |
33
| ooce/application/alpine | 2.26 | https://alpineapp.email/ | [omniosorg](https://github.com/omniosorg)
4+
| ooce/application/clifm | 1.26.3 | https://github.com/leo-arch/clifm | [omniosorg](https://github.com/omniosorg)
45
| ooce/application/fcgiwrap | 1.1.0 | https://github.com/gnosek/fcgiwrap/tags | [omniosorg](https://github.com/omniosorg)
56
| ooce/application/gitea | 1.23.8 | https://github.com/go-gitea/gitea/releases | [omniosorg](https://github.com/omniosorg)
67
| ooce/application/gnuplot | 6.0.2 | https://sourceforge.net/projects/gnuplot/files/gnuplot/ http://www.gnuplot.info/ | [omniosorg](https://github.com/omniosorg)

0 commit comments

Comments
 (0)