Menu

#48 Debian doesn't have libwebkit2gtk-3.0-dev

Ongoing
open
nobody
None
2020-08-20
2020-08-20
No

I'm trying to follow the instructions to create a native app using GTK. However, under debian 10 (buster), there is no libwebkit2gtk-3.0-dev - however, there is a libwebkit2gtk-4.0-dev and pkg-config finds that after installation. Unfortunately, there is no libgtk-4-dev, only libgtk-3-dev.

Discussion

  • Tama McGlinn

    Tama McGlinn - 2020-08-20

    In gnoga's Makefile, I replaced libwebkit2gtk-3.0-dev with libwebkit2gtk-4.0-dev and then make native_gtk works. However, when subsequently modifying the gnogacmd project as specified to launch a gtk window, I first get the error that gnoga_gtk_window.o is missing, which can be solved by copying gnoga/obj/* into the project's own obj/ directory, and then I get this error:

    /opt/GNAT/2020/bin/../libexec/gcc/x86_64-pc-linux-gnu/9.3.1/ld: cannot find -lwebkit2gtk-3.0
    /opt/GNAT/2020/bin/../libexec/gcc/x86_64-pc-linux-gnu/9.3.1/ld: cannot find -ljavascriptcoregtk-3.0
    
     
  • Tama McGlinn

    Tama McGlinn - 2020-08-20

    I expect the instructions are very much incomplete; they should state what to change about the gpr file. Or better, if someone can figure this out, add a new template so the we can do gnoga_make new MyNewApp native_gtk

     

Log in to post a comment.