On Thu, 29 Apr 2010 02:33:24 -0500
DRC <dcomman...@users.sourceforge.net> wrote:

> OK, well, if PKG_CHECK_MODULES is going to be used, then I strongly
> believe that we should:
> 
> (a) not enable GNU TLS support by default.  Otherwise, whenever someone
> tries to build on Windows or Mac or any other platform that doesn't have
> GNU TLS, the build will fail.

Agreed. This is wrong.

> 
> (b) include the PKG_CHECK_MODULES macro for systems that don't have it.
> 
> I don't know why you say "there must be a third-party addon of
> pkg-config for Xcode".  That's not the way Apple works.  The only reason
> why the system has pkg-config at all is because the Mono framework
> includes it, and I doubt that this is even installed by default.  It
> certainly isn't part of the regular Xcode install.

A quick google reveals that there are more things than Mono that want
pkg-config. So this is hardly an obscure problem for Mac people.

> 
> I am a strong believer that an open source project should try its best
> to be buildable using the default toolchain on a given platform.

I don't agree. Trying to cater to every build environment with a
single build system is neigh impossible, and few projects have the
manpower to keep multiple systems in place. pkg-config can be considered
a standard part of the autotools repertoire so if Xcode lacks that then
I'd say that an autotools build system is wrong for that environment.

So I'd say that the options are:

 - Require that the platform is adapted to follow our needs (which is
   what we have done with Windows since we moved to mingw)

 - Have multiple build systems, one for each build environment we
   intend to support.

I only see the first option as realistic.

> There is no reason why a Mac user would need (or want) to build
> Xvnc.  I'm just trying to make it as easy as possible to build
> vncviewer.  It seems ridiculous that someone should have to download,
> build, install, and configure pkg-config just so it can tell them that
> they don't have GNU TLS.

Users don't have to. As Alan pointed out, pkg-config macros are only
needed when working with svn. Users should be building from the tar
balls.

And installing pkg-config is not that difficult. It's also not
unthinkable that this project will grow more dependencies that aren't
included on a standard Mac OS install. If you want to build something
yourself then you really need to be prepared that there are
dependencies you need to sort out first.

Rgds
-- 
Pierre Ossman            OpenSource-based Thin Client Technology
System Developer         Telephone: +46-13-21 46 00
Cendio AB                Web: http://www.cendio.com

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to