Re: About the Glib porting for My custom os

2009-01-12 Thread Ardhan Madras
glib was also support for win32 api, it's done by G_OS_WIN32 directive.
btw, do you provide free license for your OS?, if so.. how to take look for it?

--- lievenvanderhe...@gmail.com wrote:

From: "Lieven van der Heide" 
To: "Susmith M R (RBEI/ECM1)" 
Cc: "gtk-devel-list@gnome.org" 
Subject: Re: About the Glib porting for My custom os
Date: Wed, 10 Dec 2008 23:01:28 -0800

Ehm, wow, you created your own OS? Compared to that, porting glib to
it should be a piece of cake.

To get started, I would just disable all files, and get them compiling
one by one, and when you get a compilation problem, either implement
the required function, or change the code to work using your own
libraries. The functionality of most unix functions should be very
well documented.

As for POSIX, yes glib uses posix quite a lot.

And if you make changes to glib, you will have to provide the code
(under LGPL as well) to all people that use it. It doesn't have to be
in the glib repository per se, but anybody that gets your code should
at least have the option to redistribute it, which of course includes
it being put in the glib repository.

2008/12/10 Susmith M R (RBEI/ECM1) :
> Hai All,
>   I am trying to port Glib for my custom operating system. Is it completely
> portable?
> Is Glib implemented using POSIX or what?. Do I have to create a posix
> subsystem for my os to work with Glib?
> My operating system is not based on any of the supported os available for
> Glib. So what should I do to port Glib?.
> I have my own custom libc,libstdc++,Filesystem io,process,threads etc
> implementation. Please Help me.
> And if I do change the source code of this Glib, what will be the after
> effects of the source code that I have developed?
> Whether my code has to be released to Glib repo?
>
> Lot of questions are there… Please help me.
>
> Best regards,
> Susmith M R
> "Life is not measured by the number of breaths we take, but by the moments
> that take our breath away."
>
>
> ___
> gtk-devel-list mailing list
> gtk-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
>
>
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list




_
Listen to KNAC, Hit the Home page and Tune In Live! ---> http://www.knac.com
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: About the Glib porting for My custom os

2008-12-12 Thread Juan Pablo Ugarte
Hi, there are at least four different gtk backends, X11, win32, quartz and
directfb.
So i would not even bother about the first 3 and go directly to directfb
since
you will only have to implement directfb API in your OS.

Another option would be to create a new gdk backend based for example on
opengles.

hope this help

greets

Juan Pablo
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: About the Glib porting for My custom os

2008-12-12 Thread Hubert Figuiere
On Thu, 2008-12-11 at 18:32 +0800, Susmith M R (RBEI/ECM1) wrote:
> But problem is not implementing Glib right away. I am in the
> analyzing stage only.
> I want to select appropriate toolkit for my os. So I want to care
> about propriatary
> behavior of the resulting binaries.


Also keep in mind that you'll have to abide to the term the license
which glib and gtk+ are released under: LGPLv2+.


Hub

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


RE: About the Glib porting for My custom os

2008-12-11 Thread Susmith M R (RBEI/ECM1)
Thank You.
But problem is not implementing Glib right away. I am in the analyzing 
stage only.
I want to select appropriate toolkit for my os. So I want to care about 
propriatary
behavior of the resulting binaries.
Impementation is very far objective and also easy to do if suitable
interfaces are available and even source code for win32 and linux is
 available.

Sorry for the question that I asked. I was searching for an immediate decision 
. So please excuse me..



Best Regards,
 Susmith M R (RBIN/ECM1)

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tor Lillqvist
Sent: Thursday, 11. December 2008 3:27 PM
To: Susmith M R (RBEI/ECM1)
Cc: gtk-devel-list@gnome.org
Subject: Re: About the Glib porting for My custom os

Listen, if you have single-handedly written an operating system, and a
C library, a C++ library, etc, as you seem to imply, surely reading
and understanding some thousands of lines of C code in the
platform-dependent parts of GLib and GTK+ can't be that hard?

A good way to find which parts are platform-dependent is to look for
which parts are different for Unix and Windows.

--tml
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: About the Glib porting for My custom os

2008-12-11 Thread Tor Lillqvist
Listen, if you have single-handedly written an operating system, and a
C library, a C++ library, etc, as you seem to imply, surely reading
and understanding some thousands of lines of C code in the
platform-dependent parts of GLib and GTK+ can't be that hard?

A good way to find which parts are platform-dependent is to look for
which parts are different for Unix and Windows.

--tml
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


RE: About the Glib porting for My custom os

2008-12-11 Thread Susmith M R (RBEI/ECM1)
 
Hai,
 I have one more doubt... Not one?
Ok. The whole purpose is to port GTK+ onto my OS. But while analyzing the GTK+, 
I found most of the GTK+ libraries are portable. But in which way it is 
portable is a question?. 
My question is about the rendering frame work of GTK+. GDK is providing cairo 
back end (  which will be using opengl es or native implementation ?) for GTK 
to render. But why directly to opengl or opengles? Why there is only Direct FB 
and X11 support? 
If there is a common interface framewrok like glib for graphics rendering other 
than gdk_cairo_* ( I AM NOT SURE IT IS THERE.. PLEASE FORGIVE ME IF IT IS 
THERE) I can use my own rendering apis.( like gdk_grahics_* ). ( Just like the 
gthread implementation model...superb)
And the important question is 
"if I want to port the entire GTK+ to my custom os , what will be the effort 
needed for porting it , means and what are the libraries which is completely 
portable ?"

Best Regards,
 Susmith M R
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: About the Glib porting for My custom os

2008-12-10 Thread Lieven van der Heide
Ehm, wow, you created your own OS? Compared to that, porting glib to
it should be a piece of cake.

To get started, I would just disable all files, and get them compiling
one by one, and when you get a compilation problem, either implement
the required function, or change the code to work using your own
libraries. The functionality of most unix functions should be very
well documented.

As for POSIX, yes glib uses posix quite a lot.

And if you make changes to glib, you will have to provide the code
(under LGPL as well) to all people that use it. It doesn't have to be
in the glib repository per se, but anybody that gets your code should
at least have the option to redistribute it, which of course includes
it being put in the glib repository.

2008/12/10 Susmith M R (RBEI/ECM1) <[EMAIL PROTECTED]>:
> Hai All,
>   I am trying to port Glib for my custom operating system. Is it completely
> portable?
> Is Glib implemented using POSIX or what?. Do I have to create a posix
> subsystem for my os to work with Glib?
> My operating system is not based on any of the supported os available for
> Glib. So what should I do to port Glib?.
> I have my own custom libc,libstdc++,Filesystem io,process,threads etc
> implementation. Please Help me.
> And if I do change the source code of this Glib, what will be the after
> effects of the source code that I have developed?
> Whether my code has to be released to Glib repo?
>
> Lot of questions are there… Please help me.
>
> Best regards,
> Susmith M R
> "Life is not measured by the number of breaths we take, but by the moments
> that take our breath away."
>
>
> ___
> gtk-devel-list mailing list
> gtk-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
>
>
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


About the Glib porting for My custom os

2008-12-10 Thread Susmith M R (RBEI/ECM1)
Hai All,
  I am trying to port Glib for my custom operating system. Is it completely 
portable?
Is Glib implemented using POSIX or what?. Do I have to create a posix subsystem 
for my os to work with Glib?
My operating system is not based on any of the supported os available for Glib. 
So what should I do to port Glib?.
I have my own custom libc,libstdc++,Filesystem io,process,threads etc 
implementation. Please Help me.
And if I do change the source code of this Glib, what will be the after effects 
of the source code that I have developed?
 Whether my code has to be released to Glib repo?

Lot of questions are there... Please help me.

Best regards,
Susmith M R

"Life is not measured by the number of breaths we take, but by the moments that 
take our breath away."


___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list