Closed naughie closed 6 years ago
Can you try this branch and report back? (Maybe you need to do a make cleanall
first.)
By the way: It must not be date -r
as that will not work on GNU/Linux :)
Also: Where are the man pages for macOS online? I use to find them with a search engine but the page seems to be broken. That is annoying. Now I just looked up the ones from freebsd but I don't know if they differ from macOS.
Better even, try current develop.
OK, I have been installed nvimpager successfully.
I am sorry I also do not know the man pages online -- I think there is no man page online.
Any chance you can cut a release with this fix in it, I am trying to create a homebrew formula and I am unable to use a branch. Releases and HEAD are acceptable!
The fix is already merged into develop. That is the default branch on github so it is what HEAD points to. Or am I misinterpreting something here?
A git clone does indeed normally point into develop, however when using homebrew and its HEAD feature it repoints to master. I have tried to switch inside the runbook but its proving to be annoyingly difficult.
I was just about to install into a different area till the next release when I got the beep of a new email!
@nevd I decided to release v0.5 now so you can also use that.
Thank you, I will create the formula now. ( it will be a tap at https://github.com/nevd/homebrew-formulae )
@lucc I have dropped in a pull request for a few updates but I will still need to do something a little more to make it work on OSX.
Two of the changes are for nvim to stop it trying to break out of the jail Homebrew wants to create; do not use a swap file and use a local shada file.
The other issue is the use of git log when using a release.
My final issue is the use of sed with inplace editing. The behaviour between bsd/gnu is subtly different, by default. I have used homebrew to pull down gnu-sed and I will patch the makefile to used gsed.
@nevd I do not understand the issue you have with sed. I don't have any bsd sed installed as I am on linux but I tried it with busybox-sed and the command from the makefile works. Also the travis job for OSX works. If there really is some problem with that sed command please report it in a new issue.
@lucc, all problems resolved, no need for another issue to be opened.
I will watch the project and wait for a new release.
I have forked, released and tested both the release install and HEAD.
I was wrong, I was mistaken in thinking it was resolved. Would you consider switching away from using the inplace edit for sed as it is not portable. I can resolve by making gnu-sed a dependency for the recipe but I then have to patch the Makefile to use gsed.
==> Reinstalling nevd/formulae/nvimpager
==> Downloading https://github.com/lucc/nvimpager/archive/v0.5.1.tar.gz
Already downloaded: /Users/nev/Library/Caches/Homebrew/nvimpager--0.5.1.tar.gz
==> make PREFIX=/usr/local/Cellar/nvimpager/0.5.1 install
Last 15 lines from /Users/nev/Library/Logs/Homebrew/nvimpager/01.make:
wrote ./plugin/cecutil.vim
ewrote ./dxoc/AnsiEsc.txttracted <doc/AnsiEsc.txt>: 205 lines
wrote ./doc/AnsiEsc.txt
did helptags
did helptags
wrote ./doc/AnsiEsc.txt# Remove setting of 'hl', not supported in NeoVim.
sed -i -e '/hl=/d' autoload/AnsiEsc.vim
did helptags# Remove setting of 'hl', not supported in NeoVim.
# Remove setting of 'hl', not supported in NeoVim.
sed -i -e '/hl=/d' autoload/AnsiEsc.vim
sed -i -e '/hl=/d' autoload/AnsiEsc.vim
sed: rename(): No such file or directory
make: *** [plugin/cecutil.vim] Error 1
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/nevd/homebrew-formulae/issues
It works on travis: https://travis-ci.org/lucc/nvimpager/jobs/412177052#L472
So what is the difference between your system and the one on travis and where can I find the docs for your version of sed?
I found out that it should not be needed any longer, 871adb1 is now in develop.
Thank you, will wait for the next release to test!
I switched from vimscript to lua in the development branch and will still test this for some more time before making a release. So If you do not want to try develop I am afraid you might have to wait a little while.
I use mac OS Sierra 10.12.6, and tried to install nvimpager.
First, I clone
git clone https://github.com/lucc/nvimpager.git
andmake PREFIX=$HOME/.local install
as described in README.Then, first error occurred:
So, I changed
sed -i '/hl=/d' autoload/AnsiEsc.vim
inmakefile
tosed -i -e '/hl=/d' autoload/AnsiEsc.vim
, and retried installation and got the next errors:It is because the allowable options of
install
on mac are different. I modified themakefile
fromto
And the installation finished.
Furthermore,
date
command seems also to take different parameter, somust be