Skip site navigation (1)Skip section navigation (2)
Date:      14 Jul 2003 19:36:53 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Mikhail Teterin <mi+mx@aldan.algebra.com>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: minor patch for gconf
Message-ID:  <1058225812.299.100.camel@gyros>
In-Reply-To: <200307141922.58178@misha-mx.virtual-estates.net>
References:  <200307141816.25067@misha-mx.virtual-estates.net> <1058221306.299.91.camel@gyros> <200307141922.58178@misha-mx.virtual-estates.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-4iYSrQVveSSICQyUK5L5
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2003-07-14 at 19:22, Mikhail Teterin wrote:
> =3DOn Mon, 2003-07-14 at 18:16, Mikhail Teterin wrote:
> =3D> Hello!
> =3D>=20
> =3D> Gconf does not really care, which db-backend it is going to use, it
> =3D> seems. The following patch makes it accept anything, but default to
> =3D> db41. If the user already has, say, db2 installed, there is no need
> =3D> to drag in another version of db just for gconf, is there?
> =3D>
> =3D> The patch relies on the ability to use regular expressions in the
> =3D> LIB_DEPENDS lines, committed in March by kris. Should a particular
> =3D> version of db be non-suitable for gconf, it is trivial to modify the
> =3D> patch's regular expression. Thanks!
>=20
> =3DTechnically, this won't work, but that's okay.
>=20
> I don't really use gconf (xmleditor dragged it in through the
> gnomelibs), so I'm more interested in the "technicality", than in
> getting anything done :-) Why would it not work? Seems to:

Because you'd have to edit gconf's configure to known about db4.  Take a
lookg at patch-configure.

>=20
> =3D=3D=3D>   gconf-1.0.9_3 depends on executable: gmake - found
> =3D=3D=3D>   gconf-1.0.9_3 depends on file: /opt/libexec/libtool13/libtoo=
l - found
> =3D=3D=3D>   gconf-1.0.9_3 depends on executable: pkg-config - found
> =3D=3D=3D>   gconf-1.0.9_3 depends on shared library: guile.15 - found
> =3D=3D=3D>   gconf-1.0.9_3 depends on shared library: db[0-9]+ - found
> =3D=3D=3D>   gconf-1.0.9_3 depends on shared library: X11.6 - found
> =3D=3D=3D>   gconf-1.0.9_3 depends on shared library: glib12.3 - found
> =3D=3D=3D>   gconf-1.0.9_3 depends on shared library: gtk12.2 - found
> =3D=3D=3D>   gconf-1.0.9_3 depends on shared library: xml.5 - found
> =3D=3D=3D>   gconf-1.0.9_3 depends on shared library: ORBit.2 - found
> =3D=3D=3D>   gconf-1.0.9_3 depends on shared library: oaf.0 - found
> =3D=3D=3D>  Configuring for gconf-1.0.9_3
> [...]
>=20
> =3DThe DB backend isn't used by GConf anyway. You could simply hack
> =3Dgconf's configure to remove DB detection altogether, and that would be
> =3Dfine.
>=20
> I would think, it is imperative, that the bogus dependency is cut out
> from the popular port. Unless I misunderstand you, this is a bug in
> gconf, that the FreeBSD port of gconf better fixes, is not it?

It would be better to simply remove the db* dependency, and comment out
the checking code in configure (or break it).  GConf has never used the
DB backend (only XML).

Joe

>=20
> 	-mi
>=20
> =3D> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D> RCS file: /home/ncvs/ports/devel/gconf/Makefile,v
> =3D> retrieving revision 1.38
> =3D> diff -U2 -r1.38 Makefile
> =3D> --- Makefile	12 Jun 2003 09:45:56 -0000	1.38
> =3D> +++ Makefile	14 Jul 2003 22:15:53 -0000
> =3D> @@ -19,5 +19,5 @@
> =3D> =20
> =3D>  LIB_DEPENDS=3D	guile.15:${PORTSDIR}/lang/guile \
> =3D> -		db3.3:${PORTSDIR}/databases/db3
> =3D> +		db[0-9]+:${PORTSDIR}/databases/db41
> =3D> =20
> =3D>  USE_BZIP2=3D	yes
> =3D>=20
> =3D>=20
> =3D> _______________________________________________
> =3D> freebsd-gnome@freebsd.org mailing list
> =3D> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> =3D> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.=
org"
>=20
--=20
PGP Key : http://www.marcuscom.com/pgp.asc



--=-4iYSrQVveSSICQyUK5L5
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQA/Ez6Ub2iPiv4Uz4cRAnwiAKCfD0YgUakCq/pXxf7qg5Na6TvDbACfbYSp
nPH1nN9dTWM+Au91LiZtu8Q=
=xUjy
-----END PGP SIGNATURE-----

--=-4iYSrQVveSSICQyUK5L5--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1058225812.299.100.camel>