GTK Builder for Windows

At NICE we make use of GTK+ on Windows, Linux and OSX on our product Desktop Cloud Visualization. Till now we managed to do everything with the released versions of GTK we were getting from gtk.org but we are in a point where we need the new features from GLib and there are no new versions for Windows. The point, we were checking all the possibilities out there, sbuild, hexchat’s, using fedora’s mingw binaries, using suse’s mingw binaries… Either they did not provide all the packages or they just provided the packages for win32 and not for win64 but we did not manage to have a bundle of the gtk’s libraries.

As you may know Tarnyko was the previous person in charge of making the GTK bundles, he did a really good job and he also provided a build system to setup the build system and build all the required libraries. The problem is that it was not setup in a git repository, it was providing all the tarballs and it was not easy to update them, since you would have to download the tarball, replace the old one and update the scripts to build it. What we did was to take this build system and improve it so things are a bit more automated, so at the end you just have to update the version number to get the new version of the library built, we’ve also set it up so it builds glib 2.40 and gtk2 2.24 and gtk3 3.12.

We have released this new build system under the GNOME repository: https://git.gnome.org/browse/gtk-builder-win

If you have any doubts, you want to contribute to it (please do it!) feel free to send us a mail, contact either me or pbor on the gtk+ channel of the IRC.

This entry was posted in Uncategorized. Bookmark the permalink.

11 Responses to GTK Builder for Windows

  1. thiblault Saunier says:

    Have you checked out cerbero: http://cgit.freedesktop.org/gstreamer/cerbero ? It is a build system and packaging tool for windows, mac os X, linux, android and iOS. It is mainly used to build GStreamer, but it also has recipes for Gtk+ and the graphic stack, as well GObject Introspection as it is currently being used to build daily bundles of the Pitivi Video Editor.

    I would be great if we could manage to use the same tools to do the cross platform compilation and packaging of Gnome technologies.

    [WORDPRESS HASHCASH] The poster sent us ‘0 which is not a hashcash value.

  2. Daniel Espinosa says:

    I didn’t found 1_Prereq.sh and 2_MinGW.sh scrips as for your INSTRUCTIONS.txt

    [WORDPRESS HASHCASH] The poster sent us ‘0 which is not a hashcash value.

    • Ignacio Casal Quinteiro says:

      Just choose which one you want win32 or win64, enter in the z_Install folder and then run the scripts one by one. Once there it is ready, go to the libs folder and run the BUILDALL script, that should do it.

  3. Andrea Zagli says:

    have you tried msys2?

    [WORDPRESS HASHCASH] The poster sent us ‘0 which is not a hashcash value.

    • Ignacio Casal Quinteiro says:

      No, I just tried what Tarnyko was using which did the work for me. If you though get it working with msys2 I’d be glad to accept a patch.

  4. exim says:

    Hi Ignacio,

    I was just wandering if NICE is open to a remote employment from Europe for an experienced C++/wxWidgets/Gtk engineer?

    Thanks!

    [WORDPRESS HASHCASH] The poster sent us ‘0 which is not a hashcash value.

    • Ignacio Casal Quinteiro says:

      Hey, on the web page you should be able to send your CV, we are always looking for new experienced people.

  5. Adrien Nader says:

    I need to mention http://win-builds.org here too. Some versions are a bit behind but that’s only temporary (a few weeks at most) and it has a fairly large number of packages, especially in the development version.

    And it is precisely meant to solve this kind of issues.

    [WORDPRESS HASHCASH] The poster sent us ‘0 which is not a hashcash value.

  6. Michael Cronenworth says:

    What’s wrong with Fedora’s packages? We offer the latest Mingw-w64 compiler, latest glib2, and nearly always the latest gtk2/3 packages. 32-bit and 64-bit are available.

    [WORDPRESS HASHCASH] The poster sent us ‘0 which is not a hashcash value.

    • Ignacio Casal Quinteiro says:

      Michael, we tried them and they did just not work for us when using them with visual studio, since they are build with some special option that made us include some mingw specific library we didn’t want to include (I’d need to check again to recall which one) the ones from opensuse worked quite well but they were not updated.

  7. exim says:

    Great! So I assume you’re open to a remote/from-home employment. I’ll most likely get in touch in a couple of months (doing some contract work at the moment).

    [WORDPRESS HASHCASH] The poster sent us ‘0 which is not a hashcash value.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>