From kde-core-devel Mon Mar 17 14:12:36 2008 From: Thiago Macieira Date: Mon, 17 Mar 2008 14:12:36 +0000 To: kde-core-devel Subject: Re: Mixing KDE3 and KDE4 Message-Id: <200803171512.36671.thiago () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=120576321306560 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart5538319.mCi27mTi9b" --nextPart5538319.mCi27mTi9b Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 17 March 2008 13:48:30 Lubos Lunak wrote: > =C2=A0I don't think that really solves anything. Apps indeed could save t= he path > with the command, that's quite possibly even how that was meant with the > XSMP protocol. However in practice the app could move (which is presumably > minor enough to be ignored) and, IMHO more importanly, you still may need > the wrapper script to do the necessary setup. Some builds may require > KDEDIR set, or XDG_DATA_DIRS may possibly need the proper ordering of > KDE3/KDE4 paths, or what do I know. XSMP actually has support for storing > the environment too, but that doesn't seem to be feasible in practice, as > some of those mustn't be changed (e.g. DBUS_SESSION_BUS_ADDRESS I guess). > Then instead of using a flag to figure out whether to use a wrapper you > need to decipher this from the path. That's still telling ksmserver what command it wants to be executed. Instea= d=20 of "kwrite", kwrite is asking ksmserver to start it with "kde4 kwrite"=20 or "kde4build kdevelop". As long as you don't restrict this to the KDE version, but instead make it= =20 more general, I have no problems with it. =2D-=20 =C2=A0 Thiago Macieira =C2=A0- =C2=A0thiago (AT) macieira.info - thiago (AT= ) kde.org =C2=A0 =C2=A0 PGP/GPG: 0x6EF45358; fingerprint: =C2=A0 =C2=A0 E067 918B B660 DBD1 105C =C2=A0966C 33F5 F005 6EF4 5358 --nextPart5538319.mCi27mTi9b Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iD8DBQBH3nxUM/XwBW70U1gRAhrVAJ40Fguu3OlAPy5X/ntwY/tiSV4aPgCgq2tu cn3naSoHrKChgwSjltHrzuM= =W2pQ -----END PGP SIGNATURE----- --nextPart5538319.mCi27mTi9b--