On Sun, Dec 7, 2008 at 4:54 PM, Przemyslaw Czerpak <[EMAIL PROTECTED]> wrote:

> BTW do you want to integrate XHGTK with Harbour contrib?
> Don't you think it will be better to keep it as separate
> project and only add some integration tools.

You're right but as we've seen lately it's not easy for a newbie to
get it built and this gets even worst if you plan to have ti for Lin,
Win and OSX.

There are many build.sh, makefiles, envvar to set and a newbie is
always in front of many different options.

Under Win or OSX, getting a working setup that uses some contribs like
gd or mysql requires many steps.

I'm trying to create the easiest possible setup and to define the
"defaults" that hide the differences between the 3 OS that I support
and document where to get the dependencies and how to install them. My
goal is to remove every "misleading" doc or examples for this I'm
thinking to start a new project that offer a "distribution" ready to
use if the defaults will be accepted.

Actually I can build under Lin and Win without setting any envvar (
using /opt/harbour as default install path since it's usable in all
the 3 OS ). I'm documenting how to setup external dependencies for
zip, gd, odbc, curl, pgsql, mysql, xhgtk.

I plan to provide a skeleton Makefiles to create binaries, libs, cgi and hrb.

F.e. In the makefiles I've replace HB_ARCHITECTURE with:

...
OS=$(shell uname -s | tr -d "[-]" | tr '[A-Z]' '[a-z]')
...
ifneq (,$(findstring mingw32,$(OS)))
...
ifneq (,$(findstring linux,$(OS)))
...
ifneq (,$(findstring darwin,$(OS)))

0but the differences about the use of the shared libs between Lin and
Win are still present.

F.e. to link against gd and pgsql you need to use sth like:
   EXT_LIST=$(HARBOUR_DYN_DIR)/hbgd.dll /opt/local/bin/libgd2.dll
$(HARBOUR_DYN_DIR)/hbpgsql.dll /opt/pgsql/bin/libpq.dll

What do you think about adding switches like: -gd-shared, -gd-static,
-pgsql-shared, ...?

BTW I've few showstoppers:

1 - in hb-func.sh using hb_exesuf="exe" prevent to create cgi binaries
called myprog.cgi.
I've set it to "" like in linux but then the strip step complains. So
far I couldn't find the right solution ( both 1.0.1 and 1.1 )

2 - gtwvt is "broken" in the sense the fontsize selection doesn't work
anymore see my msg "gtvwt problem" ( 1.1 only ).
What do you think about creating a GT reference test so that every GT
change can be checked against it?

3 - gtxwc doesn't support palette definition and HB_GTI_CLOSABLE.
Actually I'm hacking the colors constants and I've commented out
"s_atomDelWin" message.

Could you kindly give me some hints?

best regards,
Lorenzo
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to