Subject: gnome, optional or mandatory in pkgsrc?
To: None <>
From: =?ISO-8859-1?Q?C=E9sar_Catri=E1n?= C. <>
List: tech-pkg
Date: 09/27/2004 21:56:22
Dear pkgsrc developers:

I want to ask if it is possible to indicate in compile time if the program =
that is wanted to compile will be used in GNOME or not.

For example, in the case of graphics/gimageview, its list of programs requi=
red by default includes librsvg2 (SVG library for GNOME2). The list of pack=
ages required in this case is:

GConf2, ORBit2, Xfixes, Xft2, Xrandr, Xrender, atk, esound, expat, fam, fix=
esext, fontconfig, freetype2, glib2, gmake, gnome-keyring, gnome-mime-data,=
 gnome-vfs2, gnome2-dirs, gnutls, gtk2+, intltool, jpeg, lcms, libIDL, liba=
rt2, libaudiofile, libbonobo, libbonoboui, libcroco, libgcrypt, libglade2, =
libgnome, libgnomecanvas, libgnomeui, libgpg-error, libgsf, liblzo, librsvg=
2, libtasn1, libtool-base, libwmf, libxml2, libxslt, mng, opencdk, pango, p=
kgconfig, png, popt, randrext, render, tiff, x11-links, xcursor, xdg-dirs, =
xmlcatmgr, perl (58 dependencies).

If this program is compiled without support for librsvg2, a remarkably smal=
ler amount of dependencies is required:

Xfixes, Xft2, Xrandr, Xrender, atk, expat, fixesext, fontconfig, freetype2,=
 glib2, gmake, gtk2+, intltool, jpeg,
lcms, libtool-base, libwmf, libxml2, mng, pango, pkgconfig, png, randrext, =
render, tiff, x11-links, xcursor, perl (28 dependencies).

There are many packages like this.

It seems to me inadequate that pkgsrc adds GNOME by default to all the prog=
ram that offers to support it. GNOME would have to be available for the use=
r who decides to install it, being a user with or without experience in pkg=

In addition, in the particular case of the program gimageview, if it is com=
piled at the moment with support for GNOME, fails when executing itself (du=
mps core, PR sent). There is no problem if compiled without GNOME, and load=
s faster.

BTW, I've seen several packages commited to pkgsrc with the MANTAINER line =
set to tech-pkg, were you been in agreement that each developer that added =
a package would be in charge of it?


C=E9sar Catri=E1n C.