Hi,

This issue is relevant to Patch 7.4.904.

Attached is a patch for fixing it.

NOTE: Even on OS X, ` .desktop` files are often useful for those who build
a full-fledged or partial GNOME or KDE environment on OS X for a
full-screen X11.

So, the patch is written in such a way that `vim.desktop` and
`gvim.desktop` will be installed if `$DESTDIR$DATADIR/applications` exists
and is writable, just like the way the VIM icons are installed.

So, those who needs `vim.desktop` and `grim.desktop` to install on OS X,
make sure there's the writable `/usr/local/share/applications` or alike
there before doing `make install`.

Best regards,
Kazunobu Kuriyama


2015-11-03 8:34 GMT+09:00 Manuel Ortega <[email protected]>:

> One of the commits today broke installation on OS X 10.11.1.
>
> 'make install' bombs out with the following:
>
> --8<----------------------------------
>
> if test -d /usr/local/share/icons/locolor/16x16/apps -a -w
> /usr/local/share/icons/locolor/16x16/apps \
> -a ! -f /usr/local/share/icons/locolor/16x16/apps/gvim.png; then \
>   cp ../runtime/vim16x16.png
> /usr/local/share/icons/locolor/16x16/apps/gvim.png; \
> fi
> cp ../runtime/vim.desktop ../runtime/gvim.desktop \
> /usr/local/share/applications
> usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file
>        cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ...
> target_directory
> make[1]: *** [install-icons] Error 64
> make: *** [install] Error 2
>
> ---8<----------------------------------
>
> I don't know what that /usr/local/share/applications is doing there.  That
> directory does not exist on OS X.  There's no need to create it just for a
> *.desktop file that has no use on OS X.
>
> -Manny
>
> --
> --
> You received this message from the "vim_dev" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups
> "vim_dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: src-Makefile.patch
Description: Binary data

Raspunde prin e-mail lui