From owner-cvs-all@FreeBSD.ORG Sat May 29 02:28:32 2010 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CC2D106564A; Sat, 29 May 2010 02:28:32 +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 1127B8FC13; Sat, 29 May 2010 02:28:30 +0000 (UTC) Received: by fxm5 with SMTP id 5so663446fxm.13 for ; Fri, 28 May 2010 19:28:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :organization:user-agent:mime-version:to:cc:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=mtwvKiGCbqVxE60nyoNVlWQc6lsoge/hwszQy6H3sfM=; b=YnL4DpHvDjnqDjp+tc3SO9ch76vU82XHfjwMu3flUj2ul6JprWpeYb0keFzemCurz7 eykKpvraoaL7SRQFLtay5QbQrfxkhTo1jL2NQGn/QOX1q72pTuqoRb5lcnhrOxePqQts ucdJm8GXqWmg942xylEZtoujyfetimNSDOygg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=sender:message-id:date:from:organization:user-agent:mime-version:to :cc:subject:references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=YHgfsrTb1YpvBiO8Al0vi94S3OMps+aC+1zbp73wK2XPqRBMtGmC7h1eb5JE7S/b9H ZZ00rJLCMdnkWTGXbdJLI3aHdkkULesf1P/031haZ2eqdX969LQK9GkjlMosJABehSjH w5lpbNi0NwQrW1UNa8XYu0zqbjzpSR7KT69P0= Received: by 10.223.10.11 with SMTP id n11mr1399760fan.3.1275100109315; Fri, 28 May 2010 19:28:29 -0700 (PDT) Received: from [129.16.199.244] (dhcp-199-244.nomad.chalmers.se [129.16.199.244]) by mx.google.com with ESMTPS id 2sm16020741fav.13.2010.05.28.19.28.27 (version=SSLv3 cipher=RC4-MD5); Fri, 28 May 2010 19:28:28 -0700 (PDT) Sender: =?UTF-8?B?UMOBTEkgR8OhYm9yIErDoW5vcw==?= Message-ID: <4C007AE0.3050508@FreeBSD.org> Date: Sat, 29 May 2010 04:24:32 +0200 From: Gabor PALI Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.9) Gecko/20100331 Thunderbird/3.0.4 MIME-Version: 1.0 To: Alexey Dokuchaev References: <20100525031628.GB8034@FreeBSD.org> <20100526152458.GB25216@hades.panopticon> <20100526193943.GE25216@hades.panopticon> <20100526222806.GD43302@hades.panopticon> <20100527024345.GA97920@FreeBSD.org> <20100527110341.GA90814@FreeBSD.org> <20100528034940.GA71857@FreeBSD.org> In-Reply-To: <20100528034940.GA71857@FreeBSD.org> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: cvs-ports@freebsd.org, Dmitry Marakasov , 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-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 May 2010 02:28:32 -0000 On 05/28/10 05:49, Alexey Dokuchaev wrote: >> - Create a devel/darcs port which contains everything but Haskell >> libraries and the Haskell API documentation. If somebody wants to use >> darcs as an end-user application and not a module, this must be fine. >> >> - Keep the devel/hs-darcs port as a Haskell binding to devel/darcs >> (itself) with a dependency on devel/darcs. This way the user (or a >> dependent port) has both the application and its modules. > > Sounds interesting, probably this is nice way to go. May I see patches > when you have them? Want to take a look to see the details of > implementation, and possibly comment on them. I created the split ports [1] for darcs. It seems to be nice: devel/darcs is just a slave port of devel/hs-darcs, while hs-darcs depends on darcs. The price is that we need to build darcs twice when installing hs-darcs (which is reasonable since we use the very same sources to build an executable and a library). I also need to face another problem (which is solved but I am not sure about its correctness): We should take care of the possibility of name clashes in ${PREFIX}/share, so I prefixed it with "hs-" for hs-darcs (but not for darcs). I would do the same for all the other Cabal ports. I needed to improve "bsd.cabal.mk" to support all the stuff, but is okay (but not tested exhaustively). I would also like to add the end-user documentation to devel/darcs, since it is missing from the Cabalized version at the moment. > If you mean that it is not immediately obvious how to > separate `x11-wm/xmonad' frontend port from `x11-wm/hs-xmonad' (rather > Haskell than user related), I'm sure there is acceptable solution. The next step is xmonad :) I am quite optimistic. Cheers, :g [1] http://people.freebsd.org/~pgj/haskell/split-darcs/ports/