From owner-cvs-ports@FreeBSD.ORG Wed May 26 23:12:08 2010 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35ED7106566B; Wed, 26 May 2010 23:12:08 +0000 (UTC) (envelope-from pali.gabor@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 28B768FC14; Wed, 26 May 2010 23:12:06 +0000 (UTC) Received: by fxm12 with SMTP id 12so294123fxm.13 for ; Wed, 26 May 2010 16:12:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=FlxyQJPzrpEYihm4fXwVmmt7L0T/5vIecFtBi3kzkNE=; b=pB+QDZOD/DkwEO4sG5n/D9/CCEpa8FaGByfW2vrfBLe697UfP5n0LlORSqf/AIEVbI PPwCCxV8/ZR9TEKzwJ8xUVlIn2BR3ao8NMOAzKEy2SFaKJgEzxibgf2Jg4Zun8tBJkLT qD67O0YuTFdKBwpP92OiJq+x/uDW5Bl/Fg2BM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=sCtYTjGsj6AmlomuI4PZdZNtJBQsKtuFxhmHzG72jsj4BvYKwrF0N+YXge7wKAnbUv JFxXYyQ7g95Lt42stNo3I+cZ0PZA1bYd3JU6l61fjZtnSWk9SVPxJz7UhVeFteD+ZJEf mMb/qVeE81PK42v0XYkosAJ4NU9yYAXOb3l18= MIME-Version: 1.0 Received: by 10.223.92.136 with SMTP id r8mr8366852fam.40.1274915525926; Wed, 26 May 2010 16:12:05 -0700 (PDT) Sender: pali.gabor@googlemail.com Received: by 10.223.120.129 with HTTP; Wed, 26 May 2010 16:12:05 -0700 (PDT) In-Reply-To: <20100526222806.GD43302@hades.panopticon> References: <20100524220501.GF7380@hades.panopticon> <20100525031628.GB8034@FreeBSD.org> <20100526152458.GB25216@hades.panopticon> <20100526193943.GE25216@hades.panopticon> <20100526222806.GD43302@hades.panopticon> Date: Thu, 27 May 2010 01:12:05 +0200 X-Google-Sender-Auth: E4BgLDc6ybX3yMCXFrONkzv9GyI Message-ID: From: Gabor PALI To: Dmitry Marakasov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: cvs-ports@freebsd.org, Alexey Dokuchaev , cvs-all@freebsd.org, ports-committers@freebsd.org Subject: Re: cvs commit: ports/archivers/hs-zip-archive Makefile distinfo pkg-descr pkg-plist ports/devel/hs-binary Makefile distinfo pkg-descr pkg-plist ports/devel/hs-darcs/files patch-Setup.lhs patch-darcs.cabal ports/devel/hs-darcs Makefile distinfo pkg-d X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2010 23:12:08 -0000 On Thu, May 27, 2010 at 12:28 AM, Dmitry Marakasov wrote= : > I'd think of `primary purpose' here. If the application is optional, > that's most likely a module. Sometimes there may be applications > inrended only for use with module, they don't count too. =A0hs-zip-archiv= e > seems to need a prefix, pandoc doesn't seem to. Pandoc already has two purposes: it is a standalone application, and it is already used as a battery for gitit [1] and Bookshelf [2], for example. > Most python, java, erlang apps do the same, so? I found only 5 erlang ports (at first glance, no "erlang" category). Ports in "java" are really connected by the common category :P (but still 55 ports). But I like the python way, and I am leaning towards to propose a "cabal" virtual category. > It's the latter, build depends are not recorded. But why would one need > to update standalone apps? To get updates? :) > I thought the issue was that ports are 'tightly connected' - in that case= they > would run-depend on each other. Yes, that is right. Hold on a bit... I am just reading the Handbook: "Include the -R flag if portupgrade should first upgrade all the ports required by the given application." And the man page for portupgrade(1) says this for -R (for --upward-recursiv= e): "Act on all those packages _required by the given packages_ as well. (When specified with -F , fetch recursively, including the brand new, uninstalled ports that an upgraded port requires)" Which means that # portupgrade -R ghc-* Updates my GHC and its _dependencies_? However, as a side effect, all the Cabal ports might be uninstalled as well, but it makes this solution more hackish. Ah, you wanted to say this: # portupgrade -r ghc-* > pkg_info and look what is under py26- and p5-. Then look for end-user app= s written in python and p5. Cool, thanks! Cheers, :g [1] http://hackage.haskell.org/package/gitit [2] http://hackage.haskell.org/package/Bookshelf