From owner-cvs-ports@FreeBSD.ORG Tue May 25 09:32:01 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 D563C1065675; Tue, 25 May 2010 09:32:01 +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 C8F878FC22; Tue, 25 May 2010 09:32:00 +0000 (UTC) Received: by fxm17 with SMTP id 17so102197fxm.13 for ; Tue, 25 May 2010 02:31:59 -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; bh=bbM+yl3PDr2cZ1L9M+lXZT+ycWS8lzVvwEwWE2kChBw=; b=cDjJ/rvZUcIGiBrB1nlkv9Qw9qg8gYEM7OVuqVB8kaMXVf1gMukC5BWS+H/B0XxnYT oxly+NgqQqvgn4Mdqa/0NIiBifMM6eTiWlQrl2azubNtZSvEQt38dIzm3aGKXU1DM97b 2QzcoeFt17ZLy8E3krL9XZfT79sLTRJ1t6CTw= 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; b=BDPDxRMffPRI5gowThuwETpIxN8hS0jcotj0JJp9zWJfAv7pZSdWXm87ICoXpqWgte ljLVO4Fm4HRqbPgukbQJ2FXPf+aYDbTHm+81ycebC38Z5vkt2I/QPliSn4v72f56bauz BgBkMCo8o7+SFWnYlZH8BEG/4l+5m9/TlJDlY= MIME-Version: 1.0 Received: by 10.223.20.216 with SMTP id g24mr5765687fab.63.1274779918604; Tue, 25 May 2010 02:31:58 -0700 (PDT) Sender: pali.gabor@googlemail.com Received: by 10.223.120.129 with HTTP; Tue, 25 May 2010 02:31:58 -0700 (PDT) In-Reply-To: <20100525031628.GB8034@FreeBSD.org> References: <20100524220501.GF7380@hades.panopticon> <20100525031628.GB8034@FreeBSD.org> Date: Tue, 25 May 2010 11:31:58 +0200 X-Google-Sender-Auth: W2yYVkpBi13cIxudvvHYgA_f2qA Message-ID: From: Gabor PALI To: Alexey Dokuchaev Content-Type: text/plain; charset=ISO-8859-1 Cc: cvs-ports@freebsd.org, 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: Tue, 25 May 2010 09:32:01 -0000 Hello danfe, Thank you for chiming in and commenting on this. 2010/5/25 Alexey Dokuchaev : > Normally `hs-' prefix (similar to `p5-' or `py-') should indicate packages that extend > Haskell functionality as developing framework; some of us call those > "batteries". Hm, actually they are called "batteries" in case of Haskell as well like "The Haskell Platform: Batteries Included" [1] :) In that sense pandoc, xmonad, and darcs just batteries in a framework. FreeBSD Haskell ports together might be called as the "The FreeBSD Haskell Platform: With Ports" :P Haskell tends to be more than a programming language, it has its own "distribution" and approach to things. So, when the user wants to install xmonad, she can do the following things (let us assume Haskell Platform is ported): First (vendor) case: # pkg_add -r haskell-platform # cabal install xmonad Second (our) case: # pkg_add -r hs-xmonad I agree that the `hs-` prefix might not be the right one here, since there are ports with that prefix which does not have Cabal version (for instance x11-toolkits/hs-gtk2hs, but its conversion to Cabal is in progress). Perhaps we should use a different prefix (like `hc-`)? > Careful thinking of how to construct PORTNAME and PKGNAME can, I believe, > make naming scheme nice and clean while playing nice with Cabal/HDB > conventions at the same time. [..] Our Ports framework is quite capable of handling this task. Yes, it is already implemented by a mapping in lang/ghc/bsd.hackage.mk. > end-user software should not be prefixed, as end users probably don't care whether Darcs or Xmonad are written in > Haskell (well, at least until they start tinkering with it) and having > `hs-' prefix for those is confusing. Most of the time, darcs is used by people who wants to work with Haskell sources, since it also part of the "Haskell folklore", so as alex, happy, haddock, and hscolour. On the other hand, darcs is very different from classical version control systems, since it works with patches in a very unusual way (far from being compatible with cvs, svn, hg, or even git), and it has performance issues so it is not widely spread (but David Roundy and his team have done a very good job on that recently). I primarily use darcs to access the sources of the Glasgow Haskell Compiler (lang/ghc) and various hackages (i.e. extensions to Haskell). But I would be happy (and not hs-happy :P) to hear about others who are using darcs for things are not related to Haskell at all. > mangling it is bad and makes it both harder to find in Ports Collection and introduces > gratuitous difference between different software repositories out there To me, finding Haskell Cabal ports gets to be easier this way, since all the thing I need to do is just to grep for "hs-". > (would Xmonad user coming from, say, Ubuntu expect that it is called > `hs-xmonad' in FreeBSD)? I would be the happiest person if users are starting to migrate from Ubuntu to FreeBSD :) But if somebody has already used xmonad on Ubuntu, she has already fiddled with it. She only needs to do a vague search at FreshPorts [2] and voila! As a last resort, x11-wm/xmonad still points to x11-wm/hs-xmonad at FreshPorts (the page that publicly linked usually). Anyways, I will interview our currents users on ports@ and freebsd-haskell@haskell.org to see whether they like it or not (and perhaps check out how other distributions handle this question). The problem here that I did not receive any attention or feedback (until this commit) on my work, possibly due to the small user base. Cheers, :g [1] http://hackage.haskell.org/platform/contents.html [2] http://www.freshports.org/search.php?query=xmonad&search=go&num=10&stype=name&method=match&deleted=excludedeleted&start=1&casesensitivity=caseinsensitive