From owner-freebsd-gnome@FreeBSD.ORG Mon Jul 14 16:37:13 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5057C37B401 for ; Mon, 14 Jul 2003 16:37:13 -0700 (PDT) Received: from ms-smtp-03.southeast.rr.com (ms-smtp-03.southeast.rr.com [24.93.67.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 450D243F75 for ; Mon, 14 Jul 2003 16:37:12 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158])h6ENZD93005434; Mon, 14 Jul 2003 19:35:13 -0400 (EDT) Received: from [10.2.1.4] (vpn-client-4.marcuscom.com [10.2.1.4]) h6ENZD4x031816; Mon, 14 Jul 2003 19:35:13 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Mikhail Teterin 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> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-4iYSrQVveSSICQyUK5L5" Organization: MarcusCom, Inc. Message-Id: <1058225812.299.100.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 14 Jul 2003 19:36:53 -0400 X-Spam-Status: No, hits=-11.6 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_XIMIAN autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: FreeBSD GNOME Users Subject: Re: minor patch for gconf X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2003 23:37:13 -0000 --=-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--