Re: [gedit-list] gnome-common lib



On Wed, 2008-01-30 at 21:01 -0600, Steven Zimmer wrote:
> This may be a dumb question but is there a gnome-common lib already
> made for windows? I'm attempting to sort of where work needs to be
> done in order to port over g-edit to windows.
> 

Hi Steven,

	gnome-common is just a small collection of build scripts (autconf
macros etc) common to all the gnome-modules, it's only needed when
building from svn not when building from a released tarball.
It can be found in gnome svn in the gnome-common module.

Since the other time you asked I did not have the chance to answer I'll
give you here my suggestions about the window port:

 - first of all you have to decide if you are going to try to do the
port directly on windows or if you are going to crosscompile. The best
approach depends on how much you are familiar developing on windows.

 - even working on windows I suggest using mingw and not Visual Studio
compiler since I heard you may have problems with some of the libraries.

 - as a first approach just try to make the thing compile and simply
stub out all the functionality that seems hard to port. For this reason
make sure to start from the latest svn version of gedit where printing
has been redone with gtkprint and maybe also locally apply the patch
attached to bug http://bugzilla.gnome.org/show_bug.cgi?id=500922 to
further reduce the dependecies. I'd also leave the python support for
plugins behind as a first step since I have the feeling the python and
pygtk on windows are yet another headache.

 - check out carefully the docs available: I am pretty sure there are
others but here are a couple of links:
 * http://www.go-evolution.org/Building_Evolution_on_Windows
 * http://live.gnome.org/Cross_compiling_GTK%2B_for_Win32

 - please document your steps on the wiki (e.g.
live.gnome.org/Gedit/Windows) including how you set up your environment:
I assure it will save you headaches and you may even and up with some
help :-)


good luck!

	Paolo



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]