Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 May 2010 02:10:43 +0200
From:      Gabor PALI <pgj@FreeBSD.org>
To:        Dmitry Marakasov <amdmi3@amdmi3.ru>
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
Message-ID:  <AANLkTilQWIRoql2IXZgUa4fXdGeVLh9XykDXZQvbXm1s@mail.gmail.com>
In-Reply-To: <20100526232836.GG43302@hades.panopticon>
References:  <20100524231620.GG7380@hades.panopticon> <AANLkTimH4AqNOtMeieN2QB9FPqsyWSQSrNVMfL2gCHI9@mail.gmail.com> <20100526151521.GA25216@hades.panopticon> <AANLkTinqZl9tVroRuuoJibT7gLJAdHYaC9hQUxvPNuLb@mail.gmail.com> <20100526155220.GD25216@hades.panopticon> <AANLkTinNLDFtVEs7WPWQ0DQJg33lBNg6_iUsd4OPtAp9@mail.gmail.com> <20100526220206.GB43302@hades.panopticon> <AANLkTineGfuju1dPCOusI14DZoOShNJ9wA096Hk2xsRi@mail.gmail.com> <20100526225018.GE43302@hades.panopticon> <AANLkTik6TUDr5YOGeaFI-PJEvLUnTIzPkep9ofqrdy1F@mail.gmail.com> <20100526232836.GG43302@hades.panopticon>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 27, 2010 at 1:28 AM, Dmitry Marakasov <amdmi3@amdmi3.ru> wrote:
> * Gabor PALI (pgj@FreeBSD.org) wrote:
>
>> > How are you going to use it?
>>
>> Like you suggested in your example on ports@ (but with "haskell"):
>>
>> # make -C /usr/ports search cat=3Dcabal
>
> Why would a user need to specifically search for all cabal ports?

Because she wants to find darcs, for example.  If it is a hackage port
it must be in that category independently of its name.


>> Is there any upgrade method that uses categories..? =A0A generic way
>
> Again, why would a user need it?

Because Cabal ports are just a subset of the "haskell" category.
However, since the given port has been already installed, it does not
really matter.  True.

I think all the things boils down to the question of "where that port
can be found".  Using a category might be overkill for this, but I do
not see a better solution.

But...  If you are right then some other ports (with "hs-" prefix at
the moment) have "naming problems" like the ones I mentioned before:
Agda, Agda-executable, alex, brainfuck, c2hs, cpphs, haddock, happy,
hat, HaXml, hdoc, hmake, hoogle, hscolour, idoc, mueval, porte,
texmath, unlambda, uuagc.

Actually, there is a STANDALONE variable in the Makefiles for really
standalone Haskell applications (which means that the given port is
not registered in the GHC package list), and the following ports use
it at the moment: alex, happy, c2hs, hoogle, Agda-executable, pandoc
(when no library installed), xmobar.

The not-so-nice thing is here when an end-user application depends on
its "module" or "extension": devel/uuagc -> devel/hs-uualib or
print/hs-hscolour-docs -> print/hscolour, devel/hs-haddock-docs ->
devel/haddock, x11-wm/hs-xmonad-contrib -> x11-wm/xmonad.  Do you
think we can do it without messing up things?

Let me guess about your answer: Rename all the connected ports as
well.  But then it contradicts with the rule you mentioned.  Nice! :)

Sorry, I am just trying to follow the rules.  Okay, I will think about
it, and come up with solutions.  Just give me some time.


> Manpage says -u is deprecated.

Och!  So the Handbook needs to be updated.  Thanks!


Cheers,
:g



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTilQWIRoql2IXZgUa4fXdGeVLh9XykDXZQvbXm1s>