X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail-ew0-f220.google.com (mail-ew0-f220.google.com [209.85.219.220]) by lists.alpinelinux.org (Postfix) with ESMTP id 4429B1EB587 for ; Fri, 12 Feb 2010 15:08:48 +0000 (UTC) Received: by ewy20 with SMTP id 20so2892503ewy.20 for ; Fri, 12 Feb 2010 07:08:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=HxOuDfHlCHaUM37HwzHkpE42KTpaF8LO/Q7ts15x+to=; b=GF5quDKACA2tsG/uu06hMD0KM9KV8fp0B8FOWWqH0DrMl9p3MzfpmrJxD1JxrBlzD+ jPA2O9PwM71gE7gZeNKxktoUejta739cKpSpOdPUQFz0W4h19SgVi7D8zD3cFNroSyvO AjXkJQ9tK+X1WEtgGdxIFVHSbcSQl0y6AfPK4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=LtKI217/UEWwpeBVf5BPWLnYh/Vg3S6xPeyCJqEgNnVgzA0EA7sGBY+9hQa61sCrJA LUEZjq2c5Rm/POmyM+FSIH43Koqh/ex+TnrlnYu12/mBWyK4pG8cRVy177f6CXw9X5yh FjK6X7UgxgQkw3UfQ3VyEudMsHxuPa/RqOacg= X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.213.97.83 with SMTP id k19mr1097867ebn.22.1265987326935; Fri, 12 Feb 2010 07:08:46 -0800 (PST) In-Reply-To: <531b02ea1002111413k10d4decfl58acd052184a7be6@mail.gmail.com> References: <95408c821002110703u72a33179w43df88d1902c9fc@mail.gmail.com> <531b02ea1002111413k10d4decfl58acd052184a7be6@mail.gmail.com> Date: Fri, 12 Feb 2010 16:08:46 +0100 Message-ID: <95408c821002120708k68e9e7f8xf902e0da6b1805e1@mail.gmail.com> Subject: Re: [alpine-devel] apk-tools/dependencies question for php From: Natanael Copa To: Cameron Banta Cc: Alpine Developers Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Thu, Feb 11, 2010 at 11:13 PM, Cameron Banta wrote: > On Thu, Feb 11, 2010 at 9:03 AM, Natanael Copa > wrote: ... >> I can see those options: >> >> 1. remove the php dependency from php-dg (and all other php modules) >> and let user handle the deps himself >> 2. implement optional/volunteer dependencies in apk-tools. You can as >> user do something to tell apk that we want php-gd to be a dependency >> for php when you install php, so when php is removed php-gd goes out >> as well. >> 3. some other way to snap in dependencies manually afterwards. Like: >> =A0# install php-gd and php-imap as dependencies for php >> =A0apk add -d php php-gd php-imap >> 4. implement 'or' in apk-tools and let php-gd depend on either 'php or >> php-cli' >> >> For now i think we will go for option 1, but it would be nice to hear >> what you think would be the optimal solution for this situation. >> > > Another option similar to 4 - could we do some kind of provides? Kind of > like openrc does. > So php-cli would provide php. So if you installed php-gd, it would instal= l > php as dependency. But if you installed php-cli first, then php-gd wouldn= 't > install anything extra because it would think php was already installed. Yeah, i think this is what we want, "provides" functionallity. Thanks! --=20 Natanael Copa --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---