Conversation
hadfl
left a comment
There was a problem hiding this comment.
Thank you for your contribution. There are a few questions, please see below
|
Cmake dependency have been removed. |
|
All issue have been fixed. |
|
Thanks for putting this together! I just tried building the package locally with the changes in this PR, but the +set name=pkg.fmri value=pkg://extra.omnios/ooce/application/clifm
+set name=pkg.summary value=clifm
+set name=pkg.description value="A shell-like, text-based terminal file manager"
+set name=info.source-url value=https://mirrors.omnios.org/clifm/clifm-1.26.3.tar.gz
+set name=publisher value=sa@omnios.org
+license 24d892cae44e4d8279f44b2cf5c5bb07b047f3cd license=GPLv2Is it possible something didn’t get pushed, or that you were testing with some additional local changes? If you have a known-good build environment or manifest, could you share that so we can reproduce it? One thing that definitely doesn't look right is the which should presumably be this ( Also, just a quick reminder of our minimalist principle (https://omnios.org/about/kysty) - we aim to package things that are broadly useful to the OmniOS community and that we can commit to maintaining across releases. If this is mostly for personal use, maintaining a small external repository might be a better route; if you think this has general appeal, happy to continue working through it with you. |
You have right, I missed some commits. Updated, now it should be ok.
I understand your point and I'll look into creating a personal repository. |
build/clifm/build.sh
Outdated
| 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 | ||
| } |
There was a problem hiding this comment.
When possible we try not to override the build framework. Could you instead use e.g.:
pre_configure() {
typeset arch=$1
subsume_arch $arch CFLAGS
# No configure
false
}
MAKE_ARGS="-f misc/solaris/Makefile"
MAKE_INSTALL_ARGS="$MAKE_ARGS INSTALL=install PREFIX=$PREFIX"This will also make sure the CTF CFLAGS are used.
There was a problem hiding this comment.
Done, thanks for the hint!
|
Bumped to 1.27 |
|
Bumped to 1.27.1. I got this warning: Is there anything I can do to fix this? |
Clifm is a nice terminal file manager: https://github.com/leo-arch/clifm
The patch is extracted from : leo-arch/clifm@8f8a7fc