On Sat, Apr 9, 2016 at 7:18 PM,  <[email protected]> wrote:
> Hi, I see deprecation errors when trying to build the current master
> (d6a0066), or release-2.0.3:
>
>     $ git co master
>     Already on 'master'
>     Your branch is up-to-date with 'upstream/master'.
>
>     $ git pull
>     Already up-to-date.
>
> Now that is d6a0066.  Then I try to build:
>
>     $ rm -rf ./build
>     $ ./build.sh --prefix ${prefix} -j $(nproc) --disable-flickr 
> --disable-kwallet --disable-gnome-keyring --disable-unity --disable-geo 
> --disable-tethering --buildtype Release
>
> All going well, until
>
>     [ 20%] Building C object 
> src/CMakeFiles/lib_darktable.dir/common/colorlabels.c.o
>     [ 20%] Building C object 
> src/CMakeFiles/lib_darktable.dir/common/colorspaces.c.o
>     /home/sk/prg/dt/src/bauhaus/bauhaus.c: In function 
> ‘dt_bauhaus_popup_button_release’:
>     /home/sk/prg/dt/src/bauhaus/bauhaus.c:419:9: error: 
> ‘gdk_device_manager_get_client_pointer’ is deprecated 
> [-Werror=deprecated-declarations]
>              
> gdk_device_manager_get_client_pointer(gdk_display_get_device_manager(gdk_display_get_default())),
>              ^
>     In file included from /usr/include/gtk-3.0/gdk/gdkdisplay.h:32:0,
>                      from /usr/include/gtk-3.0/gdk/gdkscreen.h:32,
>                      from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
>                      from /usr/include/gtk-3.0/gdk/gdk.h:32,
>                      from /usr/include/gtk-3.0/gtk/gtk.h:30,
>                      from /home/sk/prg/dt/src/common/utility.h:23,
>                      from /home/sk/prg/dt/src/common/darktable.h:39,
>                      from /home/sk/prg/dt/src/develop/develop.h:26,
>                      from /home/sk/prg/dt/src/bauhaus/bauhaus.h:23,
>                      from /home/sk/prg/dt/src/bauhaus/bauhaus.c:20:
>     /usr/include/gtk-3.0/gdk/gdkdevicemanager.h:44:14: note: declared here
>      GdkDevice *  gdk_device_manager_get_client_pointer (GdkDeviceManager 
> *device_manager);
>                   ^
>     /home/sk/prg/dt/src/bauhaus/bauhaus.c:419:9: error: 
> ‘gdk_display_get_device_manager’ is deprecated: Use 
> 'gdk_display_get_default_seat' instead [-Werror=deprecated-declarations]
>              
> gdk_device_manager_get_client_pointer(gdk_display_get_device_manager(gdk_display_get_default())),
>              ^
>     In file included from /usr/include/gtk-3.0/gdk/gdkscreen.h:32:0,
>                      from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
>                      from /usr/include/gtk-3.0/gdk/gdk.h:32,
>                      from /usr/include/gtk-3.0/gtk/gtk.h:30,
>                      from /home/sk/prg/dt/src/common/utility.h:23,
>                      from /home/sk/prg/dt/src/common/darktable.h:39,
>                      from /home/sk/prg/dt/src/develop/develop.h:26,
>                      from /home/sk/prg/dt/src/bauhaus/bauhaus.h:23,
>                      from /home/sk/prg/dt/src/bauhaus/bauhaus.c:20:
>     /usr/include/gtk-3.0/gdk/gdkdisplay.h:170:20: note: declared here
>      GdkDeviceManager * gdk_display_get_device_manager (GdkDisplay *display);
>                         ^
>     /home/sk/prg/dt/src/bauhaus/bauhaus.c: In function ‘window_show’:
>     /home/sk/prg/dt/src/bauhaus/bauhaus.c:460:3: error: 
> ‘gdk_display_get_device_manager’ is deprecated: Use 
> 'gdk_display_get_default_seat' instead [-Werror=deprecated-declarations]
>        GdkDeviceManager *mgr = gdk_display_get_device_manager(display);
>        ^
>     In file included from /usr/include/gtk-3.0/gdk/gdkscreen.h:32:0,
>                      from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
>                      from /usr/include/gtk-3.0/gdk/gdk.h:32,
>                      from /usr/include/gtk-3.0/gtk/gtk.h:30,
>                      from /home/sk/prg/dt/src/common/utility.h:23,
>                      from /home/sk/prg/dt/src/common/darktable.h:39,
>                      from /home/sk/prg/dt/src/develop/develop.h:26,
>                      from /home/sk/prg/dt/src/bauhaus/bauhaus.h:23,
>                      from /home/sk/prg/dt/src/bauhaus/bauhaus.c:20:
>     /usr/include/gtk-3.0/gdk/gdkdisplay.h:170:20: note: declared here
>      GdkDeviceManager * gdk_display_get_device_manager (GdkDisplay *display);
>                         ^
>
> And many more similar errors following.
>
>
>
> I see the same errors on a freshly cloned repository:
>
>     $ git clone https://github.com/darktable-org/darktable.git
>     $ cd darktable
>     $ ./build.sh
>
>
>
> I guess that one of my libraries is excessively new, but I would not
> know where to look (which library? which version?).
That is gtk-3.20.

> What further
> information can I provide you with to help sort this out?
Compile without -Werror for now.

>
> Thanks
> Stefan
Roman.

> --
> http://stefan-klinger.de                                      o/X
> Send plain text messages only, not exceeding 32kB.            /\/
>                                                                 \
> ____________________________________________________________________________
> darktable user mailing list
> to unsubscribe send a mail to [email protected]
>
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to [email protected]

Reply via email to