-
Notifications
You must be signed in to change notification settings - Fork 68
Clifm : add new recipe #1679
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
extrowerk
wants to merge
1
commit into
omniosorg:master
Choose a base branch
from
extrowerk:clifm
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Clifm : add new recipe #1679
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| #!/usr/bin/bash | ||
| # | ||
| # {{{ CDDL HEADER | ||
| # | ||
| # This file and its contents are supplied under the terms of the | ||
| # Common Development and Distribution License ("CDDL"), version 1.0. | ||
| # You may only use this file in accordance with the terms of version | ||
| # 1.0 of the CDDL. | ||
| # | ||
| # A full copy of the text of the CDDL should have accompanied this | ||
| # source. A copy of the CDDL is also available via the Internet at | ||
| # http://www.illumos.org/license/CDDL. | ||
| # }}} | ||
|
|
||
| # Copyright 2025 OmniOS Community Edition (OmniOSce) Association. | ||
|
|
||
| . ../../lib/build.sh | ||
|
|
||
| PROG=clifm | ||
| VER=1.26.3 | ||
| PKG=ooce/application/clifm | ||
| SUMMARY="$PROG" | ||
| DESC="A shell-like, text-based terminal file manager" | ||
|
|
||
| set_arch 64 | ||
| set_clangver | ||
|
|
||
| build() { | ||
| pushd $TMPDIR/$BUILDDIR > /dev/null | ||
|
|
||
| logmsg "Building $PROG" | ||
|
|
||
| logcmd $MAKE -f misc/solaris/Makefile || logerr "Unable to build $PROG" | ||
|
|
||
| logmsg "Installing $PROG" | ||
| logcmd $MAKE -f misc/solaris/Makefile INSTALL=install PREFIX=$DESTDIR/$PREFIX install || logerr "Unable to install $PROG" | ||
|
|
||
| popd >/dev/null | ||
| } | ||
|
|
||
| init | ||
| download_source $PROG $PROG $VER | ||
| patch_source | ||
| prep_build | ||
| build | ||
| make_package | ||
| clean_up | ||
|
|
||
| # Vim hints | ||
| # vim:ts=4:sw=4:et:fdm=marker | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| # | ||
| # This file and its contents are supplied under the terms of the | ||
| # Common Development and Distribution License ("CDDL"), version 1.0. | ||
| # You may only use this file in accordance with the terms of version | ||
| # 1.0 of the CDDL. | ||
| # | ||
| # A full copy of the text of the CDDL should have accompanied this | ||
| # source. A copy of the CDDL is also available via the Internet at | ||
| # http://www.illumos.org/license/CDDL. | ||
| # | ||
|
|
||
| # Copyright 2025 OmniOS Community Edition (OmniOSce) Association. | ||
|
|
||
| license LICENSE license=GPLv2 | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| diff --git a/src/translate_key.h b/src/translate_key.h | ||
| index b1cccf84..1cb59c5c 100644 | ||
| --- a/src/translate_key.h | ||
| +++ b/src/translate_key.h | ||
| @@ -40,11 +40,15 @@ | ||
| #define CSI_INTRODUCER 0x5b /* [ */ | ||
| #define SS3_INTRODUCER 0x4f /* O */ | ||
|
|
||
| -__BEGIN_DECLS | ||
| +#ifdef __cplusplus | ||
| +extern "C" { | ||
| +#endif | ||
|
|
||
| char *translate_key(char *str, const int term_type); | ||
| int is_end_seq_char(unsigned char c); | ||
|
|
||
| -__END_DECLS | ||
| +#ifdef __cplusplus | ||
| +} | ||
| +#endif | ||
|
|
||
| #endif /* TRANSLATE_KEY_H */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| 01_translate_key.h |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When possible we try not to override the build framework. Could you instead use e.g.:
This will also make sure the CTF CFLAGS are used.