GNOME Header Set (32/64 bit)

External libraries (GTK, GSL, SDL, Allegro, OpenGL, etc) questions.
TJF
Posts: 3596
Joined: Dec 06, 2009 22:27
Location: N47°, E15°
Contact:

GNOME Header Set (32/64 bit)

Postby TJF » Aug 11, 2013 19:29

Image

A collection of headers for GNOME libraries based on GLib is available. These headers aren't created from C source. Instead they are created using a technology called GObject-Introspection.

The project started while developing and testing the GirToBac translation tool. Meanwhile the header set is tested and used in many of my applications.

The archive contains the translation rules (*.GirToBac) to generate the headers (to generate further updates), updated header files for well known libraries, as well as headers for new libraries

Updates
  • Atk-1.0.bi
  • Gda-5.0.bi
  • Gdk-2.0.bi
  • GdkPixbuf-2.0.bi
  • Gdk-3.0.bi
  • Gio-2.0.bi
  • GLib-2.0.bi
  • GModule-2.0.bi
  • GObject-2.0.bi
  • GooCanvas-2.0.bi
  • Gtk-2.0.bi
  • Gtk-3.0.bi
  • Pango-1.0.bi
  • PangoCairo-1.0.bi
Dummies (just a few fundamental declares)
  • DBus-1.0.bi
  • DBusGLib-1.0.bi
  • cairo-1.0.bi
  • JSCore-3.0.bi (since 0.0.a)
  • libxml2-2.0.bi
  • xlib-2.0.bi
  • xrandr-1.3.bi
  • xrandr-1.3.bi
  • xft-2.0.bi
New
  • GConf-2.0.bi
  • Gda-5.0.bi
  • GdkX11-2.0.bi
  • GdkX11-3.0.bi
  • Gee-1.0.bi
  • GIRepository-2.0.bi
  • GnomeKeyring-1.0.bi
  • GtkSource-3.0.bi
  • GtkSpell-3.0.bi (since 1.0)
  • HarfBuzz-0.0.bi (since 1.0)
  • Json-1.0.bi
  • PangoXft-1.0.bi
  • Poppler-0.18.bi
  • Soup-2.4.bi (since 0.0.a)
  • SpiceClientGLib-2.0.bi (since 1.0)
  • SpiceClientGtk-2.0.bi (since 1.0)
  • WebKit-3.0.bi (since 0.0.a)
  • _GLibMacros-2.0.bi (since 1.0)
  • _GObjectMacros-2.0.bi (since 1.0)

Download is available at


Installation instructions:

  • download the package and uncompress it
  • copy (or move) folder GnomeHeaders-1.0/include/Gir to your FreeBASIC header folder .../freebasic/include/
  • if you need full cairo support, replace files in .../freebasic/include/cairo by the files from folder GnomeHeaders-1.0/include/cairo
  • make sure that you have installed the library binaries
  • compile and test examples in GnomeHeaders-1.0/examples

[Edit]
Version 0.0.a add-ons
Version 1.0: new examples and Gda-5.0.bi, tested under fbc-1.00 32/64 bit, installation instructions
Attention: this project is obsolet. Current headers are available in project DTJF/gir_headers at github.com.
[/Edit]
Last edited by TJF on Aug 04, 2018 9:47, edited 10 times in total.
TJF
Posts: 3596
Joined: Dec 06, 2009 22:27
Location: N47°, E15°
Contact:

GNOME Header Set Version 0.0.a

Postby TJF » Aug 20, 2013 13:39

New headers added:

    WebKit-3.0 and dependencies Soup-2.4, JSCore-3.0
TJF
Posts: 3596
Joined: Dec 06, 2009 22:27
Location: N47°, E15°
Contact:

Re: GNOME Header Set 1.0, now 32/64 bit

Postby TJF » Sep 21, 2014 14:21

Updated (3.4 MBytes header files, all 64 bit ready):

  • examples added (Gtk and Gda)
  • tested under fbc-1.00 32/64 bit
  • updates for Gtk+ (3.10.8), Pango, Atk, GdkPixbuf, GLib
  • macro extensions _GLibMacros-2.0.bi, _GObjectMacros-2.0.bi
  • new headers GtkSpell-3.0.bi, HarfBuzz-0.0.bi, SpiceClientGLib-2.0.bi, SpiceClientGtk-2.0.bi

Note: For compiling Cairo examples under 64 bit you also have to update the (included) cairo headers.
caseih
Posts: 1505
Joined: Feb 26, 2007 5:32

Re: GNOME Header Set (32/64 bit)

Postby caseih » Oct 03, 2014 19:43

Trying to compile the GtkBuilder example files in your package, on 64-bit Linux fbc, version 1.00.0, I get this error:

Code: Select all

$ fbc GtkBuilder.bas                           
GtkBuilder.c: In function ‘main’:
GtkBuilder.c:90:37: error: lvalue required as unary ‘&’ operand
  gtk_init( &__FB_ARGC__$0, (int8***)&(uint8**)__FB_ARGV__$0 );
                                     ^

What am I missing?
dkl
Site Admin
Posts: 3212
Joined: Jul 28, 2005 14:45
Location: Germany

Re: GNOME Header Set (32/64 bit)

Postby dkl » Oct 03, 2014 19:48

This is a bug in FB 1.00.0 (in the C backend which is used for 64bit), which has since been fixed in the development version of FB.
http://www.freebasic.net/forum/viewtopic.php?p=200584#p200584

Return to “Libraries”

Who is online

Users browsing this forum: No registered users and 1 guest