gpwen / vim-installer-mui2

Modern UI 2.0 upgrade for Vim NSIS installer.
http://github.com/gpwen/vim-installer-mui2/wiki
4 stars 0 forks source link

File: "..\..\trunk\runtime\plugin\tohtml.vim.orig" -> no files found #1

Open Taverius opened 12 years ago

Taverius commented 12 years ago

Its failing here for me.

Why? :D I have no such .orig files in the Hg repository, or in the vim installation directory ...

gpwen commented 12 years ago

Could you provide detail so I can replicate the problem? Have you failed to apply the patch?

Taverius commented 12 years ago

I find the easiest way to run it is to sed the correct paths into the .nsi as part of my build .bat file.

:: Mui NSIS
cd ..\..\vim-installer-mui2\nsis
IF EXIST gvim-mine.nsi CALL erase gvim-mine.nsi
IF EXIST *.exe CALL erase *.exe
copy /V gvim.nsi gvim-mine.nsi
CALL "C:\Dev\GnuWin32\bin\sed" -e "s/!define VIMSRC .*$/!define VIMSRC \"..\\..\\trunk\\src\"/" -i gvim-mine.nsi
CALL "C:\Dev\GnuWin32\bin\sed" -e "s/!define VIMRT .*$/!define VIMRT \"..\\..\\trunk\\runtime\"/" -i gvim-mine.nsi
CALL "C:\Dev\GnuWin32\bin\sed" -e "s/!define VIMTOOLS .*$/!define VIMTOOLS \"..\\..\"/" -i gvim-mine.nsi
CALL "C:\Dev\GnuWin32\bin\sed" -e "s/!define HAVE_UPX/#!define HAVE_UPX/" -i gvim-mine.nsi
CALL "C:\Dev\GnuWin32\bin\sed" -e "s/#!define HAVE_ICONV/!define HAVE_ICONV/" -i gvim-mine.nsi
CALL "C:\Dev\GnuWin32\bin\sed" -e "s/!define HAVE_VIS_VIM/#!define HAVE_VIS_VIM/" -i gvim-mine.nsi
CALL "%ProgramFiles(x86)%\NSIS\makensis" gvim-mine.nsi

I haven't had any issues until just recently when I cleaned up stray files from the Hg checkout, among which were the .orig files, which look like they were present in the Hg checkout but have since been added to .hgignore ... now making the installer fails because it doesn't find them.