Hi Tony, The following sequence of commands:
$ cd src $ make shadow $ cd shadow $ CONF_OPT_DARWIN='--disable-darwin' CONF_OPT_GUI="--enable-gui=gtk2" make works fine for me (The 'darwin' stuff is for making my OS X more UNIX-like). I think that is essentially the same as your build. So I can't see what went wrong with your build. Note that GResource is used for the build if the following two conditions are met at the configuration time: (1) gdk-pixbuf >= 2.32 (2) glib-compile-resources(1) is included in PATH. If these two conditions are met, the following variables of shadow/auto/ config.mk should be (1) GLIB_COMPILE_RESOURCES=/path/to/glib-compile-resources (2) GRESOURCE_HDR=auto/gui_gtk_gresources.h (3) GRESOURCE_SRC=auto/gui_gtk_gresources.c (4) RESOURCE_OBJ=obj/gui_gtk_gresources.o and the cpp macro USE_RESOURCE should be defined in shadow/auto/config.h. Could you check them? Best regards, Kazunobu Kuriyama 2016-01-02 15:09 GMT+09:00 Tony Mechelynck <[email protected]>: > I found this email still waiting as an unsent "draft" — and the > compiler warning in question is still there at the current patchlevel. > Sorry. > > On Tue, Dec 29, 2015 at 6:56 PM, Bram Moolenaar <[email protected]> > wrote: > > > > Patch 7.4.995 > > Problem: gdk_pixbuf_new_from_inline() is deprecated. > > Solution: Generate auto/gui_gtk_gresources.c. (Kazunobu Kazunobu, > > closes #507) > > Files: src/Makefile, src/auto/configure, src/config.h.in, > > src/config.mk.in, src/configure.in, src/gui_gtk.c, > > src/gui_gtk_gresources.xml, src/gui_gtk_x11.c, > > src/proto/gui_gtk_gresources.pro, > > pixmaps/stock_vim_build_tags.png, > pixmaps/stock_vim_find_help.png, > > pixmaps/stock_vim_save_all.png, > > pixmaps/stock_vim_session_load.png, > > pixmaps/stock_vim_session_new.png, > > pixmaps/stock_vim_session_save.png, > pixmaps/stock_vim_shell.png, > > pixmaps/stock_vim_window_maximize.png, > > pixmaps/stock_vim_window_maximize_width.png, > > pixmaps/stock_vim_window_minimize.png, > > pixmaps/stock_vim_window_minimize_width.png, > > pixmaps/stock_vim_window_split.png, > > pixmaps/stock_vim_window_split_vertical.png > > At patchlevel 7.4.998, after regenerating my shadowdir, which forces a > full reconfigure and build at next make, gcc still complains about the > same deprecated symbol, as follows: > > gui_gtk.c: In function ‘add_stock_icon’: > gui_gtk.c:177:5: warning: ‘gdk_pixbuf_new_from_inline’ is deprecated > (declared at /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:314) > [-Wdeprecated-declarations] > pixbuf = gdk_pixbuf_new_from_inline(data_length, inline_data, FALSE, > NULL); > ^ > > The only *.c files in src/shadow-huge/auto/ are pathdef.c and > if_perl.c. Since I don't make changes in the Makefile I replace the > "copied" src/Makefile in the shadowdir by a softlink to the original. > This way I won't have to import possible Makefile changes later. > > FWIW, I'm building with the following configure options, set by > sourcing (not executing) the following script in the same instance of > bash: > > #!/bin/bash > export CONF_OPT_GUI='--enable-gnome-check' > export CONF_OPT_PERL='--enable-perlinterp' > export CONF_OPT_PYTHON='--enable-pythoninterp' > export CONF_OPT_TCL='--enable-tclinterp' > # /usr/bin/tclsh (softlink) is correctly set > export CONF_OPT_RUBY='--enable-rubyinterp' > export CONF_OPT_LUA='--enable-luainterp' > export CONF_OPT_MZSCHEME='--disable-mzschemeinterp' > #export CONF_OPT_PLTHOME='--with-plthome=/usr/local/plt' > export CONF_OPT_CSCOPE='--enable-cscope' > export CONF_OPT_MULTIBYTE='--enable-multibyte' > export CONF_OPT_FEAT='--with-features=huge' > export CONF_OPT_COMPBY='"[email protected]"' > > Also a couple of changes in feature.h to disable +tag_old_static and > enable +xterm_save since it seems these features cannot be added or > removed at configure level. > > -- > -- > 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.
