From owner-freebsd-pkg@FreeBSD.ORG Thu Jul 25 17:10:41 2013 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D6F6926C; Thu, 25 Jul 2013 17:10:41 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 438CB24B2; Thu, 25 Jul 2013 17:10:41 +0000 (UTC) Received: by mail-wi0-f178.google.com with SMTP id hi5so2066919wib.11 for ; Thu, 25 Jul 2013 10:10:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=v8mLcWpsSum49jIz+h3++YDP62u2W+jfykNzB5/ZzDg=; b=E9PKeoy11VQ2t/uECwLRKGK94D0CLG9kwH28Y/4E/2v3eiPuSsjS+7CIdqF6CE9vPb wK3b2O5iydcoWQaa684aMxSmuLJlW5q3Blks68d32ddFzZN2VVDPnJYvICwNSQqlhl+L XzR9JzgkN2brQbFxinC9YM8ueBX+ZFwa3r23o/8tLmAFojW9+pkSPkLZHRLBnVWzytaV UHvemTuuYElHRX8FcO7nFGdhpshdBRW9FYOa5SqAA15O8rQLbbDIbYc/QFV/qbnkzJFS a7feZ5+JqT6Xf6tJT0DUD1KgeNZEivWCyLebJKJ8GQsadizslA1oSwC1pAflrQcKETJ9 4vbw== X-Received: by 10.194.238.199 with SMTP id vm7mr30767809wjc.37.1374772239603; Thu, 25 Jul 2013 10:10:39 -0700 (PDT) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPSA id i1sm5128528wiz.6.2013.07.25.10.10.38 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 25 Jul 2013 10:10:38 -0700 (PDT) Sender: Baptiste Daroussin Date: Thu, 25 Jul 2013 19:10:37 +0200 From: Baptiste Daroussin To: Vsevolod Stakhov Subject: Re: The new architecture of pkgng solver Message-ID: <20130725171037.GQ61207@ithaqua.etoilebsd.net> References: <51F13DF0.5040209@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6tPipYVl+OcoAvSh" Content-Disposition: inline In-Reply-To: <51F13DF0.5040209@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: pkg@FreeBSD.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jul 2013 17:10:41 -0000 --6tPipYVl+OcoAvSh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 25, 2013 at 04:02:08PM +0100, Vsevolod Stakhov wrote: > Hello, >=20 > At the moment I plan to do the following: >=20 [...] > I'll do it if there are no objections. I bet there won't be any objecttions here :) Please implement what you said= that is all we need ! >=20 > (And, well, we need to think eventually what to do with share libraries= =20 > dependencies and flexible dependencies, e.g. Depends: libsomething (>1.4)) That is the more problematic thing, pkg add and the ports tree package buil= ding rely on the old form aka full direct dependency So what I do propose here is: to provide the 2 kind of dependency old and new format. in the manifest. Let's say: Depends: { name: ..., formulae: ... } Deps: {....} for the shared library we already have the needed We also need requires: provides: In the long temps Deps will just be dropped but we need to be able in the p= orts tree to match properly the depends and the shared libraries, I don't know y= et how to do that, but I'll dig :) Would be nice if you solver could take in account local files (aka being us= ed for pkg add) :) regards, Bapt --6tPipYVl+OcoAvSh Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlHxXA0ACgkQ8kTtMUmk6ExUYgCfcFoymhxDGa9sAq7P49YvEH7z nDIAnR87yD/RJXQWzX1FuwrVYYWkFCru =LicN -----END PGP SIGNATURE----- --6tPipYVl+OcoAvSh--