FB headers looking for your help

For other topics related to the FreeBASIC project or its community.
dkl
Site Admin
Posts: 3205
Joined: Jul 28, 2005 14:45
Location: Germany

FB headers looking for your help

Postby dkl » Oct 03, 2011 17:03

Update: The headers have been reintegrated into FB, the current status can now be seen in the FB documentation:
http://www.freebasic.net/wiki/wikka.php?wakka=ExtLibTOC
----------------------------------------

Hello!

FB headers need your help. From libzip to Allego to GTK+, they need to be taken care of and updated every now and then. If you can read C and write FB, you can translate headers.

Here's the current status: http://code.google.com/p/freebasic-headers/wiki/HeaderStatus

Pick a library you care about, maybe one that you use in your project, and download their latest stable release. Translate the C headers to FB, manually or with the help of h_2_bi or FB SWIG. This surely is a good day's work, but the FB community will thank you. Post them on the freebasic-headers or fbc trackers, or in the Libraries forum, and sir_mud and me (and everyone who might join in) will make sure the headers will end up in freebasic-headers download packages and future FB releases.

Do you want to form groups? Or work privately? Or have no time to work on this? It's all ok. If you plan on organizing, consider using sir_mud's forum. Or join us in ##freebasic at irc.freenode.net. Do you want to adopt a header and have your name listed as current maintainer? Sure, we can do that.

So, how to grab the current headers directly?
Download and install TortoiseHG and clone the freebasic-headers repository from:
URL wrote:https://code.google.com/p/freebasic-headers/


Have fun, and thanks for helping out.
Lachie Dazdarian
Posts: 2337
Joined: May 31, 2005 9:59
Location: Croatia
Contact:

Postby Lachie Dazdarian » Oct 03, 2011 19:39

I might try this weekend. It's just...programming tasks are so scary to me...but I want to help.
TJF
Posts: 3456
Joined: Dec 06, 2009 22:27
Location: N47°, E15°

Postby TJF » Oct 03, 2011 20:10

I can provide (current version as listed on http://code.google.com/p/freebasic-head ... aderStatus):

atk (2005)
1.33.6 - 2011

cairo (2005)
1.10.2 - 2011

FTD2xx ( -- )
2.08.02

gdk (2005)
3.0.0 - 2011
2.22.0 - 2010

gdk-pixbuf (2005)
2.28.0 - 2011

gio ( -- )
2.28.0 - 2011

glib (2005)
2.28.0 - 2011

glib-object (2005)
2.28.0 - 2011

gmodule (2005)
2.0 - 2011

goocanvas ( -- )
2.0.0 - 2011

gtk (2005)
3.0 - 2011
2.22.0 - 2010

gtkglext (1.2.0)
1.2.0 (matching to gtk-2.22.bi)

intl (2010 ??)
0.18 - 2010

pango (2005)
1.28.3 - 2011

pangocairo ( -- )
1.10.2 - 2011

FmodEx (3.74)
4.32.4 - 2010

ode (0.9)
0.11.1 - 2010

sql (3.1.3)
3.6.23.1 - 2010

sqlext ( -- )
3.6.23.1 - 2010

tcod ( -- )
1.5.1 - 2009


ownet ( -- , 1-wire driver)
2.10

But that's more than 3 Mb of code. We may find a better way to ship the files than sending them one by one on fbc trackers. (I'll never make a google account.) Please contact me via private email, find the adress in my downloads or code examples.

What about the binaries for windows?

Edit: lib added.
Last edited by TJF on Oct 04, 2011 5:37, edited 1 time in total.
Dinosaur
Posts: 1185
Joined: Jul 24, 2005 1:13
Location: Searcy AR USA
Contact:

Postby Dinosaur » Oct 03, 2011 21:39

Hi all

I posted an update to Cgui here:http://www.freebasic.net/forum/viewtopic.php?t=12399&highlight=cgui
But the latest FB still comes with an old version.And if I remember correctly either Dos or the Win version doesnt have the library , only the .bi file.
I have progressed to version 2.0.4 , but as I appear to be the only one using it......

Regards
pestery
Posts: 493
Joined: Jun 16, 2007 2:00
Location: Australia

Postby pestery » Oct 04, 2011 2:27

I can do some OpenGL headers. Maybe a couple of others too.
Lachie Dazdarian
Posts: 2337
Joined: May 31, 2005 9:59
Location: Croatia
Contact:

Postby Lachie Dazdarian » Oct 04, 2011 5:06

I'm thinking of doing a jab at FmodEx, if I'm up to it. It really needs an update since version 3.75 FMOD has been split into three parts.
TJF
Posts: 3456
Joined: Dec 06, 2009 22:27
Location: N47°, E15°

Postby TJF » Oct 04, 2011 5:22

Lachie Dazdarian wrote:I'm thinking of doing a jab at FmodEx, if I'm up to it. It really needs an update since version 3.75 FMOD has been split into three parts.

You may find a good basis to start with here (version 4.32.4 - untested, but 5 stars rating by 1 person):

Let me know if you make improvements (then I'll not ship my version).
sir_mud
Posts: 1401
Joined: Jul 29, 2006 3:00
Location: US
Contact:

Postby sir_mud » Oct 04, 2011 6:35

Awesome to see some people interested in the project. The dedicated forum (http://mud.owlbox.net/forums/projects/headers) for the project does allow uploads of up to 3MB if you register (just to prevent spambots) and I can increase that for certain people if necessary. Contributions should only be the headers and the def file if the library uses DLLs, linking stubs are autogenerated. Headers are preferred to be similar to the C headers rather than amalgamations because it makes the includes be the same as they would be in C examples. I prefer existing documentation to remain in the headers as it is usually a very good resource but this is not set in stone.
pestery
Posts: 493
Joined: Jun 16, 2007 2:00
Location: Australia

Postby pestery » Oct 04, 2011 7:56

sir_mud wrote:Contributions should only be the headers and the def file if the library uses DLLs, linking stubs are autogenerated.
Is the def file the lib*.a (or lib*.dll.a) file?

Also, I've finished the glext header, just testing it :-)

Edit: http://www.freebasic.net/forum/viewtopic.php?p=164238#164238
Last edited by pestery on Oct 04, 2011 14:07, edited 2 times in total.
dkl
Site Admin
Posts: 3205
Joined: Jul 28, 2005 14:45
Location: Germany

Postby dkl » Oct 04, 2011 13:03

Wow, looks like there will be some updating to be done already. Awesome, folks!

TJF, I sent you an email. Dinosaur, I'll look into your Cgui update.

About binaries, I think we can distribute the win32 import libraries (lib*.dll.a). However if an upstream project already provides import libraries for their own DLLs then we don't need to do it.
dkl
Site Admin
Posts: 3205
Joined: Jul 28, 2005 14:45
Location: Germany

Postby dkl » Oct 10, 2011 13:10

There are now some downloads available, mostly those that are (if I remember correctly) updates to FB 0.23, but also some new. The status page is up-to-date again too.

http://code.google.com/p/freebasic-headers/downloads/list
h4tt3n
Posts: 677
Joined: Oct 22, 2005 21:12
Location: Denmark

Postby h4tt3n » Oct 10, 2011 18:59

I'll post a header for the latest GLFW version, which I already use in my projects.
TJF
Posts: 3456
Joined: Dec 06, 2009 22:27
Location: N47°, E15°

Postby TJF » Oct 13, 2011 11:02

I finally finished the GTK header set, see for details and download http://www.freebasic.net/forum/viewtopic.php?t=18669.

The version numbers are listed in my first post here. In addition I made a new set for the last GTK/GDK version 2.24.1. And I updated the examples.

Please download, test and report.
sir_mud
Posts: 1401
Joined: Jul 29, 2006 3:00
Location: US
Contact:

Postby sir_mud » Oct 14, 2011 7:30

I've been going down the list updating headers that are extremely old first like pdcurses, libcaca, sqlite3, freeimage etc. Eventually we'll be completely up to date and they'll all release a new version XD
AGS
Posts: 1284
Joined: Sep 25, 2007 0:26
Location: the Netherlands

Postby AGS » Oct 14, 2011 22:13

sir_mud wrote:I've been going down the list updating headers that are extremely old first like pdcurses, libcaca, sqlite3, freeimage etc. Eventually we'll be completely up to date and they'll all release a new version XD


Could you release the list of header files that need updating here (or somewhere else?). And what will be the policy on header files for C projects that are 'dead' ('dead' as in 'no updates to project since 200x/project abandoned' where x equals some number below a certain threshold).

Will the header files for 'dead' projects be removed from the collection of fb header files or will these get some different status ('deprecated') first and be removed from the collection of fb header files some time in the nearby future (most likely the next release of header files)?

Return to “Community Discussion”

Who is online

Users browsing this forum: No registered users and 4 guests