Two queries [1] If I need to build kde, qt is required, is there a way to have a working spec for kde without installing qt but by using the temp installation of qt in /var/tmp/...
The requirement is that many softwares need to be built from sources. If the softwares need many other packages then such packages need to be built and installed on the system before proceeding. pkgbuild anyway does a temp installation as part of the package creation, if there is a way to use this for the purpose of package creation, it would be very useful. Another point is, on SXDE, some required packages are already present while some are not. So, to build foo3, if foo1 and foo2 are required and only foo1 is present in SXDE in the form of SUNWfoo1, only foo2 needs to be created and installed as MYOWNfoo2 package. But in the foo3 spec I would like to specify MYOWNfoo1 and MYOWNfoo2 as the required packages. The problem becomes evident if SUNWfoo1 and MYOWNfoo1 are from different versions of foo1. In final deployment setup MYOWNfoo3(V1.1) package ----> At install time Requires MYOWNfoo1(V1.1) & MYOWNfoo2(V1.1) packages Build environment has SUNWfoo1 (V0.9), MYOWNfoo3(V1.1) -----> At build time Uses files from installed SUNWfoo1 ( V0.9) & MYOWNfoo2 (V1.1) Installing MYOWNfoo1 overwrites files of SUNWfoo1 and hence not desirable. But the versions are different (V1.1 & V0.9) hence build env is not proper. Desirable solution MYOWNfoo3(V1.1) package ----> At build time use files from MYOWNfoo1(V1.1) & MYOWNfoo2(V1.1) that are installed in the temp location /var/tmp/... But, the final deployment should check for correct dependent packages and /usr/lib files for linking [2] Is it possible to specify install requirements in the following form (this is probably more of a SVR4 packaging related query): MYOWNfoo3 ------> Install only if *one of these* is present "SUNWfoo1 / CSWfoo1 / SFWfoo1 / MYOWNfoo1" Also is there a way to specify the version of "SUNWfoo1 / CSWfoo1 / SFWfoo1 / MYOWNfoo1" that pkgadd should check while installing (eg: version==1.2 or version>=1.2 type of information) I hope I have been able to explain the situation properly. thanks and regards Shiv -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20070728/a0b37625/attachment.html>
