Menu

#50 Request: Version of PyGObject with GTK+ 3.22 and python 3.5 or 3.6 (32bit/64bit)

2.0
open
nobody
2020-07-30
2016-10-02
Rica
No

Just requesting.

Thank you.

PS: How do you selecting individual options from the command line for installation?

Discussion

1 2 > >> (Page 1 of 2)
  • tumagonx

    tumagonx - 2016-10-14

    Thanks for the head-ups.

    I'd start version 3.22 once gstreamer reached version 1.10 to make things synced.

    I will think about the unattended method too.

     
  • Rica

    Rica - 2016-10-17

    Cool, Thanks for the consideration :)

     
  • Sempre

    Sempre - 2016-11-07

    FYI: GStreamer 1.10.0 was released on 1st November 2016. :)

    https://gstreamer.freedesktop.org/releases/1.10/

     
  • tumagonx

    tumagonx - 2016-11-07

    Sorry guys, when I tried gtk 3.22.2 I always get:
    gdk_display_get_device_manager: assertion 'GDK_IS_DISPLAY (display)' failed

    I know gdk_display_get_device_manager was deprecated in 3.20 but I wonder if I made mistake here?

     
  • tumagonx

    tumagonx - 2016-11-07

    To be precise segfault at 0x710f8597 in libgdk-3-0!gdk_win32_drag_context_get_type ()

     
  • Dennis M. Pöpperl

    If you provided a repo with all needed sources and some instructions how you build from them, I would be happy to help.

     
  • tumagonx

    tumagonx - 2016-11-08

    Dennis do you have a running binary? If not then I will just re-mark gtk-3.22 as "dead on arrival" again like 3.20 (for now) and consequently delay the release further or maybe releasing but using gtk 3.18.

    Sorry didn't mean to make people worry, I just felt a bit out of sync after sticking with 3.18 for a long time so I'm losing a bit confidence when build newest gtk :D I just checked fedora cross that their binary has same issue (at least on W10 64bit).

     
  • tumagonx

    tumagonx - 2016-11-29

    it seems gtk 3.22 is the last gtk3... :(
    I hope they make some fixes before jump to gtk4

     
  • tumagonx

    tumagonx - 2016-12-10

    All right the segfault was fixed in 3.22.5!

     
  • Dale Athanasias

    Dale Athanasias - 2016-12-10

    Excellent, thanks for considering this :)

     
  • tumagonx

    tumagonx - 2016-12-12

    Hmm looks like big changes in gdkwin32 since gtk 3.20 still break some libraries: for ex clutter-gtk, adg and scintilla. Glib 2.50 has utf8 stderr print issue as well. But overall it still usable... I think

     
  • tumagonx

    tumagonx - 2016-12-18

    For commandline option I try addressing this in rev11, for pygi 3.22 I might not release it fully (yet) but with just gtk because gdk 3.22 and glib 2.50 break more libraries than I thought.

     
  • Lau Ren

    Lau Ren - 2016-12-20

    I tried pygi-slimgtk-3.22.7z with WinPython-64bit-3.5.2.3, but "import gi" makes python crash.

     
  • tumagonx

    tumagonx - 2016-12-20

    reproduced, at first I forgot to patch pyconfig.h for mingw64 but it still crashed for 64bit python. I've removed the file above.

     
  • forenjunkie

    forenjunkie - 2017-01-25

    Hey, could you share how you compiled the python bindings on windows?
    https://github.com/GNOME/pygobject

    thanks

     
  • Steven Warwick

    Steven Warwick - 2017-12-04

    Hi - wondering when we might see a release supporting python 3.6 now? am dependent upon this for a project.. thanks!

     
  • tumagonx

    tumagonx - 2017-12-04

    sorry this is pathetic, but I still have no idea how to use gcc against vc 2015 runtime which used by python 3.5 or later, and with gtk 3.22 still break clutter-gtk and with upstream move to gtk4, there will be hiatus on pygobjectwin32 releases as well.

     
  • Steven Warwick

    Steven Warwick - 2017-12-04

    regrets I'm not familiar with that toolchain either. worried that this will impact lots of dependent projects though. just a guess - is moving to a mingw environment a pathway?

     
  • Tomislav Tustonic

    Hello
    I have managed to build pygobject and pycairo using the build scripts from https://github.com/guruDanny67/gvsbuild. The build scripts use VS Build tools (vs2015 or vs2017). I used the 'ed2018' branch to build pygobject libs and includes, and setup.py for pygobject from the pypi page (https://pypi.org/project/PyGObject/#files). It seems to work fine, so this might help you.

    Cheers, Tom

     
    • Stav

      Stav - 2018-10-14

      Hi @fritfrut, thanks for the helpful comment.

      I've tried following your steps and I now have both pycairo-1.17.1-py3.6-win-amd64.egg and PyGObject-3.28.3-py3.6-win-amd64.egg.

      I've tried easy_install-ing these egg's and now python can import gi but gi.gi.require_version("Gtk", "3.0") fails with ValueError: Namespace Gtk not available

      Also, I can run gtk_demo.exe fine from GTK's build bin directory.

      Does this ring a bell? Can you give a bit more details on how you set it up once you had the libraries built?

      Thanks!!

       
      • Blake Sinnett

        Blake Sinnett - 2018-10-15

        I need to figure this out too, as well as gst-python. GStreamer is a backend for a beets plugin I want to use, and I'd prefer to use GStreamer for its large amount of file types it supports. Any info you could give would be very helpful indeed.

         

        Last edit: Blake Sinnett 2018-10-15
        • Tomislav Tustonic

          I can't help about GStreamer, sorry. It was my primary reason to build all this, but I couldn't make gst-python work.

           
      • Tomislav Tustonic

        Hello @Stav!
        It's been a while, but I think that you also have to build the gobject-introspection package, and add your \gtk-build\gtk\Win32\release\bin directory to the path.

         

        Last edit: Tomislav Tustonic 2018-10-16
      • Tomislav Tustonic

        Hello again!
        I tried rebuilding again, this time using master branch from https://github.com/wingtk/gvsbuild (the guruDanny67 I used before is a fork of this repo). This one seems to be much easier than before. I added two new cmd line parameters: --enable-gi and --gtk3-ver 3.22 and just built gtk3-full. I already had my Windows setup .exe and/or wheel files for PyCairo and PyGobject, and after I installed these, simple tests work.

         
1 2 > >> (Page 1 of 2)

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.