From owner-cvs-ports@FreeBSD.ORG Wed May 26 22:28:09 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 26BA7106567B; Wed, 26 May 2010 22:28:09 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [92.53.116.15]) by mx1.freebsd.org (Postfix) with ESMTP id C8EFB8FC1C; Wed, 26 May 2010 22:28:08 +0000 (UTC) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.71) (envelope-from ) id 1OHP54-0003Mb-H6; Thu, 27 May 2010 02:28:06 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 50D75B84D; Thu, 27 May 2010 02:28:06 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id 4C60BB829; Thu, 27 May 2010 02:28:06 +0400 (MSD) Date: Thu, 27 May 2010 02:28:06 +0400 From: Dmitry Marakasov To: Gabor PALI Message-ID: <20100526222806.GD43302@hades.panopticon> References: <20100524220501.GF7380@hades.panopticon> <20100525031628.GB8034@FreeBSD.org> <20100526152458.GB25216@hades.panopticon> <20100526193943.GE25216@hades.panopticon> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) 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 22:28:09 -0000 * Gabor PALI (pgj@FreeBSD.org) wrote: > > If there are executable files, that's an application regardless of to > > what audience it's targeted (plain users or developers). If there > > are no executable files, that's a module or library. > > What if there is both? Even worse: what if the executable is just an > option (see archivers/hs-zip-archive) or it can installed as a library > or as an executable or both (textproc/(hs-)pandoc)? Most Haskell 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. hs-zip-archive seems to need a prefix, pandoc doesn't seem to. Basically, the presence of prefixes was correct before the rename - those ports were created by someone and followed common rules. > Most Haskell applications has their own libraries which might be > used by another applications (see textproc/(hs-)pandoc). Most python, java, erlang apps do the same, so? > > That guarantees nothing. > > portupgrade -R ghc-* does. > > I think no. Sorry, I do not know portupgrade, so I have to branch my answer: > > - If -R use build dependency for tracking updates: GHC is not updated > as frequently (ab. twice a year) as its dependent ports, so this seems > like exploiting a side-effect of portupgrade. > > - If -R use run dependency for tracking updates: It will not update > standalone Haskell applications, because theoretically they should not > depend on GHC (practically they depend at the moment but without an > exact reason), since GHC is effectively required at compile-time. It's the latter, build depends are not recorded. But why would one need to update standalone apps? I thought the issue was that ports are 'tightly connected' - in that case they would run-depend on each other. > > We've had these two audiences for years, along with many ports, many > > languages and many prefixes, and it all worked well with established > > rule of thumb for using or not using the prefix. > > Oh, good to know. Can you give me a pointer to this rule of thumb? Ports collection. Just run pkg_info and look what is under py26- and p5-. Then look for end-user apps written in python and p5. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru