From owner-freebsd-gnome@FreeBSD.ORG Mon Dec 22 09:39:49 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 B0D7016A4CE; Mon, 22 Dec 2003 09:39:49 -0800 (PST) Received: from ms-smtp-03-eri0.southeast.rr.com (ms-smtp-03-lbl.southeast.rr.com [24.25.9.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 987A343D50; Mon, 22 Dec 2003 09:39:47 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (rdu74-159-108.nc.rr.com [24.74.159.108])hBMHdcov012407; Mon, 22 Dec 2003 12:39:46 -0500 (EST) Received: from [10.2.1.4] (vpn-client-4.marcuscom.com [10.2.1.4]) hBMHdKL4016641; Mon, 22 Dec 2003 12:39:20 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Dmitry Sivachenko In-Reply-To: <20031222140433.GA32655@fling-wing.demos.su> References: <20031222094622.GA99206@fling-wing.demos.su> <20031222114256.GA14823@fling-wing.demos.su> <20031222140433.GA32655@fling-wing.demos.su> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-49KAn0Bdak30HtXLqWfH" Organization: MarcusCom, Inc. Message-Id: <1072114782.756.15.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 22 Dec 2003 12:39:42 -0500 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on creme-brulee.marcuscom.com cc: FreeBSD GNOME Users cc: Alexander Nedotsukov Subject: Re: libsml2 & libxslt config files location 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, 22 Dec 2003 17:39:49 -0000 --=-49KAn0Bdak30HtXLqWfH Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2003-12-22 at 09:04, Dmitry Sivachenko wrote: > On Mon, Dec 22, 2003 at 10:56:48PM +0900, Alexander Nedotsukov wrote: > > Okay. Probably I missed you point here but I would say in general case=20 > > you can not update package w/o updating its config file if any. >=20 >=20 > Most packages continue to work with old config files after upgrade. >=20 >=20 > >=20 > > >These two files are the only exception: they cantain hardcoded version= =20 > > >number of > > >libxml2 and libxslt. > > > > > >It would be really nice to move them to some other place. > > >Since their purpose matches gtk12-config closely, I propose /usr/local= /bin=20 > > >for > > >them. > > >=20 > > > > > We have {xml2,xslt}-config wich plays role similar to gtk12-config.=20 > > Those {xml2,xslt}Conf.sh files in qustion are *config* files. They=20 > > supposed to be included by various shell scripts. Yes they have .sh=20 > > suffix but look at their permissions, look at their content. I can coun= t=20 > > on number of ports and most notable is portupgrade wich keep such=20 > > script-like config files under etc/ directory. >=20 >=20 > If they are really config files, why do they contain version numbers of > libxml and libxslt?!? These are constants and can not be configured. >=20 > If I upgrade those libraries and leave these files untouched, scripts you > mentioned will continue to think we have an older version of these libs. >=20 > I see no logic here. What are these script which use {xml2,xslt}Conf.sh, > provided that the same information can be extracted from {xml2,xslt}-conf= ig? They are used by gnome-config (which expects them in ${LOCALBASE}/etc).=20 Try it out: gnome-config xml --cflags gnome-config xml2 --cflags etc. Now, if you don't have gnome-config (part of gnomelibs), you should be using pkg-config to obtain install info on packages such as libxml. For example: pkg-config xml --cflags pkg-config xml2 --cflags etc. In short, we cannot move the .sh files out of ${LOCALBASE}/etc as that will break gnome-config, and a host of other applications. Joe >=20 >=20 > >=20 > > >_______________________________________________ > > >freebsd-gnome@freebsd.org mailing list > > >http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > > >To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.or= g" > > >=20 > > > > >=20 > >=20 > >=20 > _______________________________________________ > freebsd-gnome@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-49KAn0Bdak30HtXLqWfH Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/5yxeb2iPiv4Uz4cRAgGrAJ0Xr00wP9EqD+lw6q+lR0XFqfwYngCdFB+P UzLrHvkWZC3onXA4lAivekU= =BdKt -----END PGP SIGNATURE----- --=-49KAn0Bdak30HtXLqWfH--