Discussion:
[Java-gnome-developer] Windows Port?
Christian Sperandio
2012-12-07 23:36:54 UTC
Permalink
Hi,

Is a Windows port is planned ?

I develop with Clojure and for some days I'm searching a way to make GUI
for Clojure applications.
I don't like because it's not totally free and I don't like its
implementation. I found this project gnome-java and I think it's very
interesting. And I believe a Clojure wrapper could be a good thing for
Clojure developers. I'd like to know if a Windows (or OS X) version is
planned.
It's only to know what will be the public of a hypothetical wrapper.

Thanks.

Chris
Andrew Cowie
2012-12-11 07:07:18 UTC
Permalink
Post by Christian Sperandio
Is a Windows port is planned ?
Not by me. Others are welcome to try. However, given that java-gnome
depends on, well, a GNOME desktop, you might have a hard time satisfying
all the dependencies.
Post by Christian Sperandio
I develop with Clojure and for some days I'm searching a way to make
GUI for Clojure applications.
I've definitely heard of people using java-gnome from Scheme and being
happy. As for a Lisp-like language, most people doing so would be more
likely to work directly in Scheme or Guile and use the guile-gtk
language bindings. Not sure if they have Microsoft Windows support.

Good luck!

AfC
Sydney
Sean McNamara
2012-12-11 13:27:51 UTC
Permalink
Hi,

Interesting question.
Post by Christian Sperandio
Hi,
Is a Windows port is planned ?
A "port", per se, is not really necessary (or shouldn't be, if I understand
the state of the GNOME libraries' native ports to Windows). What you really
need is just a good, solid build toolchain based on gcc/make/autotools that
produces Windows binaries. OpenSUSE, for example, has done all the work for
you; they've configured mingw64 and even compiled a bunch of the GNOME base
libraries in one of their repos on http://software.opensuse.org so that all
you have to do is install a couple packages, and you'll have met all the
dependencies for java-gnome. IIRC, they have everything already compiled
that is necessary to build Evolution, and some additional libs that
*aren't* needed to build Evolution (gstreamer, for instance). You can build
whatever else is missing fairly easily because most of the dependencies
should already be there.

Once you get the requisite natives, all you'd have to do is convince
java-gnome's build system to point to those Windows natives rather than the
system's own shared libraries. Then you can do your development targeting
Windows but using a build of java-gnome that was cross-compiled on Linux.

One of the few potential issues I foresee is if java-gnome's build system
hard-codes things like the shared library file extension (".so") instead of
".dll". Other than that, both gnome2 and gnome3 platforms are, at this
point, pretty much a solved problem in terms of getting them onto Windows.
The main reason that a lot of GNOME applications don't port very easily to
Windows is that they use gdk-x11 or other platform-dependent features of
the GNOME GNU/Linux desktop, by reaching below the abstraction layer
presented so neatly by the user APIs of GTK, GLib, etc.

Hope that helps,

Sean
Post by Christian Sperandio
I develop with Clojure and for some days I'm searching a way to make GUI
for Clojure applications.
I don't like because it's not totally free and I don't like its
implementation. I found this project gnome-java and I think it's very
interesting. And I believe a Clojure wrapper could be a good thing for
Clojure developers. I'd like to know if a Windows (or OS X) version is
planned.
It's only to know what will be the public of a hypothetical wrapper.
Thanks.
Chris
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
java-gnome-developer mailing list
https://lists.sourceforge.net/lists/listinfo/java-gnome-developer
Loading...