On Thu, Jul 5, 2018 at 11:46 AM, Elimar Riesebieter <[email protected]> wrote: > * Tony Mechelynck <[email protected]> [2018-07-05 11:39 +0200]: > >> On Thu, Jul 5, 2018 at 11:30 AM, Elimar Riesebieter <[email protected]> >> wrote: >> > * Tony Mechelynck <[email protected]> [2018-07-05 09:49 +0200]: >> > >> > [...] >> > >> >> Since there is no reason a user would modify the Make_all.mak, a link >> >> is enough (like for most other sources) -- see attached patch. >> > >> > Shouldn't there be a slash at '..Make_all.mak .' ? >> >> Oops, yes, there should. I attach the revised patch. Proof of the >> well-known fact that every patch should be checked by at least one >> pair of eyes in addition to those of its author. > > Applying the patch and fire up a compilerun would be a good test...
In this case I would need to create a new shadow directory and _then_ compile: let's say (since I already have a shadow-huge and a shadow-tiny) hg qpush cd src SHADOWDIR='shadow-normal' make -e shadow cd shadow-normal # let's build the environment for "normal" compiles, including VIM_NAME = vim-normal to tell it apart from vi (tiny) and vim (huge) vim myconfig source ./myconfig # since we haven't yet configured, make with no arguments will configure and compile make # no need to reinstall the runtime files, those of Huge are OK make installvimbin vim-normal --version cd ../.. hg qpop "make shadow" runs configure, which I don't want yet; this implies that it ran "make config" implicitly. I don't know how to avoid that. I build a "normal" gvim, with GUI but otherwise very simplified from my "huge" gvim, as follows: export CONF_OPT_GUI='--enable-gui=gnome2' export CONF_OPT_MULTIBYTE='--enable-multibyte' export CONF_OPT_AUTOSERVE='--enable-autoservername' export CONF_OPT_FEAT='--with-features=normal' export CONF_OPT_COMPBY='"[email protected]"' export CONF_ARGS='--with-vim-name=vim-normal' Oh, and before compiling I intentionally replace config.mk.dist and Makefile by lilnks rather than copies in the shadow dir: this way they will pick up any future changes in their counterparts one level up in src/ -- as follows: ln -svft . ../config.mk.dist ../Makefile After "make", before "make install" the executable is named "vim", not "vim-normal", let's run "make reconfig" but this time with logging. configure didn't get its --with-vim-name argument! Let's swap the last two lines of the config file and source it again... it works! And yet export CONF_ARGS='--with-vim-name=vi' works as the last line of the Tiny build... Here is the output of "vim-normal --version": linux-2iyu:~ # vim-normal --version VIM - Vi IMproved 8.1 (2018 May 18, compiled Jul 5 2018 13:41:48) Included patches: 1-152 Compiled by [email protected] Normal version with GTK2-GNOME GUI. Features included (+) or not (-): +acl -farsi -mouse_sgr -tag_any_white -arabic +file_in_path -mouse_sysmouse -tcl +autocmd +find_in_path -mouse_urxvt -termguicolors +autoservername +float +mouse_xterm -terminal +balloon_eval +folding +multi_byte +terminfo -balloon_eval_term -footer +multi_lang +termresponse +browse +fork() -mzscheme +textobjects +builtin_terms +gettext +netbeans_intg +timers +byte_offset -hangul_input +num64 +title +channel +iconv +packages +toolbar +cindent +insert_expand +path_extra +user_commands +clientserver +job -perl -vartabs +clipboard +jumplist +persistent_undo +vertsplit +cmdline_compl -keymap +postscript +virtualedit +cmdline_hist +lambda +printer +visual +cmdline_info -langmap -profile +visualextra +comments +libcall -python +viminfo -conceal +linebreak -python3 +vreplace +cryptv +lispindent +quickfix +wildignore -cscope +listcmds +reltime +wildmenu +cursorbind +localmap -rightleft +windows +cursorshape -lua -ruby +writebackup +dialog_con_gui +menu +scrollbind +X11 +diff +mksession +signs -xfontset +digraphs +modify_fname +smartindent +xim +dnd +mouse +startuptime +xpm -ebcdic +mouseshape +statusline +xsmp_interact -emacs_tags -mouse_dec -sun_workshop +xterm_clipboard +eval +mouse_gpm +syntax +xterm_save +ex_extra -mouse_jsbterm +tag_binary +extra_search -mouse_netterm -tag_old_static system vimrc file: "$VIM/vimrc" user vimrc file: "$HOME/.vimrc" 2nd user vimrc file: "~/.vim/vimrc" user exrc file: "$HOME/.exrc" system gvimrc file: "$VIM/gvimrc" user gvimrc file: "$HOME/.gvimrc" 2nd user gvimrc file: "~/.vim/gvimrc" defaults file: "$VIMRUNTIME/defaults.vim" system menu file: "$VIMRUNTIME/menu.vim" fall-back for $VIM: "/usr/local/share/vim" Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 Linking: gcc -L/usr/local/lib -Wl,--as-needed -o vim-normal -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lgnomecanvas-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lgdk_pixbuf-2.0 -lgnomevfs-2 -lgconf-2 -lgthread-2.0 -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lelf -lacl -lattr -lgpm -ldl > > BTW, don't you have 'one pair of eyes'? Yes, I have one and you have one, so each of us can check the other's work. > > Elimar > -- > Learned men are the cisterns of knowledge, > not the fountainheads ;-) > > -- > -- > 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.
