glib's python dependency

Chuck Robey chuckr at telenix.org
Sun Jun 15 17:41:56 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Markus Dolze wrote:
> Hello,
> 
> I am using 'mc' which requires 'glib' which itself has a dependency on
> Python. From the changelog I found that gtester-report is using Python.
> After browsing the sources I am still unsure how much of Python is used
> elsewhere in glib (e.g. regular expressions).
> 
> What is Python used for in glib? I would like to get rid of this
> dependency, but am not sure how much will break if I do so.

- From a quick look at glib, I noticed that the programmer has inserted an
optional dependency, but glib hasn't got any real dependency itself upon python.
 IMO it a fine example of overly generous setting of dependencies, dependencies
added because the port creator liked python, not because there is any real need
for it.  It's not all that difficult to remove it from the port, just stick, on
the make line, USE_PYTHON=no.  At least, that what it seems from looking at the
Makefile (if it's not badly enough programmed to merely detect whether
USE_PYTHON is in the environment, and not what it's set to).  It's in the
makefile, so actually editing it out of the makefile is a guaranteed way to
remove that dependency, but I maybe am too free with my local mods to my own
ports tree.


> Regards
> Markus
> 
> 
> _______________________________________________
> freebsd-gnome at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIVUusz62J6PPcoOkRAlduAKChs3GvBolPhYQA4l/ldwtDoWbaWwCfbeqq
K5uN2eWgt5SfoaN8SkssX/s=
=PWMf
-----END PGP SIGNATURE-----


More information about the freebsd-gnome mailing list