From: Gabor PALI on
Hello there,

Recently I have tagged the following popular but Cabalized applications
in the Ports Collection with the "hs-" prefix:

- darcs [1]: devel/darcs -> devel/hs-darcs
- pandoc [2]: textproc/pandoc -> textproc/hs-pandoc
- xmonad [3]: x11-wm/xmonad -> x11-wm/hs-xmonad, x11-wm/xmonad-contrib
-> x11-wm/hs-xmonad-contrib
- xmobar [4]: x11/xmobar -> x11/hs-xmobar


I would like to ask everybody who is reading this message and using any
of these ports to comment on this change.

The reason was to do so that they are direct translation of their
hackages coming HackageDB [5], and as the port of the Haskell Platform
[6] is under way they would really serve the purpose for representing
the FreeBSD (binary and stable) version of the corresponding
applications. So there would be two (mutually exclusive) ways for
installing them. In case of xmonad:

- The native way:

# pkg_add -r haskell-platform
# cabal install xmonad

Pros: Access updates and fixes immediately, not need for using the Ports
Collection, support for multiple versions for the same packages.
Cons: Need to build everything from sources, packages might be broken,
cannot remove installed applications.


- The FreeBSD way:

# pkg_add -r hs-xmonad

Pros: Reliable and stable dependencies, versions and updates, support
for binary-only installs, support for removing packages.
Cons: Might not be the up-to-date, multiple versions for the same
package are not supported, not every package is ported.


Please send "+1" or "-1" depending on whether you support or object this
change. Thank you!


Cheers,
:g


[1] http://www.darcs.net/
[2] http://johnmacfarlane.net/pandoc/
[3] http://www.xmonad.org/
[4] http://code.haskell.org/~arossato/xmobar/
[5] http://hackage.haskell.org/
[6] http://hackage.haskell.org/platform/

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: jhell on
On 05/25/2010 10:16, Gabor PALI wrote:
> Hello there,
>
> Recently I have tagged the following popular but Cabalized applications
> in the Ports Collection with the "hs-" prefix:
>
> - darcs [1]: devel/darcs -> devel/hs-darcs
> - pandoc [2]: textproc/pandoc -> textproc/hs-pandoc
> - xmonad [3]: x11-wm/xmonad -> x11-wm/hs-xmonad, x11-wm/xmonad-contrib
> -> x11-wm/hs-xmonad-contrib
> - xmobar [4]: x11/xmobar -> x11/hs-xmobar
>

+1

>
> I would like to ask everybody who is reading this message and using any
> of these ports to comment on this change.

+1

>
> The reason was to do so that they are direct translation of their
> hackages coming HackageDB [5], and as the port of the Haskell Platform
> [6] is under way they would really serve the purpose for representing
> the FreeBSD (binary and stable) version of the corresponding
> applications. So there would be two (mutually exclusive) ways for
> installing them. In case of xmonad:
>
> - The native way:
>
> # pkg_add -r haskell-platform

+1

> # cabal install xmonad

-1

>
> Pros: Access updates and fixes immediately, not need for using the Ports
> Collection, support for multiple versions for the same packages.
> Cons: Need to build everything from sources, packages might be broken,
> cannot remove installed applications.

-1

>
>
> - The FreeBSD way:
>
> # pkg_add -r hs-xmonad

+1

>
> Pros: Reliable and stable dependencies, versions and updates, support
> for binary-only installs, support for removing packages.

+1

> Cons: Might not be the up-to-date, multiple versions for the same
> package are not supported, not every package is ported.

-1

>
>
> Please send "+1" or "-1" depending on whether you support or object this
> change. Thank you!

+1

>
>
> Cheers,

+1

> :g
>
>
> [1] http://www.darcs.net/
> [2] http://johnmacfarlane.net/pandoc/
> [3] http://www.xmonad.org/
> [4] http://code.haskell.org/~arossato/xmobar/
> [5] http://hackage.haskell.org/
> [6] http://hackage.haskell.org/platform/

+1

>
> _______________________________________________
> freebsd-ports(a)freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

-1

I believe this is one step in the right direction.

Running total: 4

;)

--

jhell
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Shaun Amott on
On Tue, May 25, 2010 at 04:16:32PM +0200, Gabor PALI wrote:
>
> Recently I have tagged the following popular but Cabalized
> applications
> in the Ports Collection with the "hs-" prefix:
>
> - darcs [1]: devel/darcs -> devel/hs-darcs
> - pandoc [2]: textproc/pandoc -> textproc/hs-pandoc
> - xmonad [3]: x11-wm/xmonad -> x11-wm/hs-xmonad, x11-wm/xmonad-contrib
> -> x11-wm/hs-xmonad-contrib
> - xmobar [4]: x11/xmobar -> x11/hs-xmobar
>

[snip]

>
> Please send "+1" or "-1" depending on whether you support or object
> this
> change. Thank you!
>

-1

I tend to agree with Dmitry, for the reasons he articulated. In the case
of end-user applications, the language of choice generally is of no
concern to the user.

However: we lack consistency elsewhere in ports with the other prefixes.
This probably just stirs things up even more. :-)

--
Shaun Amott // PGP: 0x6B387A9A
"A foolish consistency is the hobgoblin
of little minds." - Ralph Waldo Emerson
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: jhell on

On Wed, 26 May 2010 11:49, Dmitry Marakasov wrote:
In Message-Id: <20100526154941.GC25216(a)hades.panopticon>

> * jhell (jhell(a)dataix.net) wrote:
>
>>> Recently I have tagged the following popular but Cabalized applications
>>> in the Ports Collection with the "hs-" prefix:
>>>
>>> - darcs [1]: devel/darcs -> devel/hs-darcs
>>> - pandoc [2]: textproc/pandoc -> textproc/hs-pandoc
>>> - xmonad [3]: x11-wm/xmonad -> x11-wm/hs-xmonad, x11-wm/xmonad-contrib
>>> -> x11-wm/hs-xmonad-contrib
>>> - xmobar [4]: x11/xmobar -> x11/hs-xmobar
>>
>> +1
>
> Why do you think it's good to not have a port named the same as an
> application?
>
>

Normally I would object to something like this but in this case being that
it is about Haskell applications, the change helps users locate all of the
Haskell related ports quicker. Its almost as if the hs-* ports were in
their own category like the ports-mgmt tools are. For another part
upgrading these will also be a slight bit smoother and locating what
Haskell packages you have on your system will be easier just specifying
hs-* to a upgrade tool or to pkg_de[lete|install].


Regards,

--

jhell

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Ashish SHUKLA on
Dmitry Marakasov writes:

[...]

> I strictly object to adding hs- prefix to end-user applications like
> darcs and xmonad, because it's a huge POLA violation. Users do not care
> what the application is written in, they just search for
> devel/{svn,mercurial,darcs} and x11-wm/{xmonad,icewm}, and should find
> these ports in the expected places. We don't prefix mercurial with
> py- and icewm with c-, similarily we shouldn't prefix darcs et al with
> hs-. Modules that are used only for development and as dependencies is a
> whole different thing, and definitely are what prefixes are for.

I agree with you, but by a pre-existing convention (not carved in stone
anywhere, AFAIK) in FreeBSD, I prefer keeping ports prefixed with
'hs-'.

1. Padre, which is an editor hacked in Perl is available from a port named
'p5-Padre'.

2. SpamAssassin, an anti-spam filter is available as 'p5-Mail-SpamAssassin'.

3. Pencil which is a mockup based out-of firefox is available as
'www/xpi-pencil', which even doesn't have anything to do with World Wide
Web except that it runs in a www browser, still has name/category like
that.

4. Conkeror, the web browser is available as 'xpi-conkeror'.

And also having 'hs-' prefix implies their being implemented in Haskell. I'm
sure other users who are aware of the convention of p5-, py-, xpi- will try to
search for Haskell related app as 'hs-'.

So, IMHO 'hs-' for all haskell based ports is a nice idea towards
uniformity/symmetry.

#v+
% make -C /usr/ports search name=darcs |grep '^Port:'
Port: cvs2darcs-0.8
Port: hs-darcs-2.4.3
Port: py26-darcsver-1.5.1
Port: py26-setuptools_darcs-1.2.9
Port: devel/darcs
#v-

Thanks
Ashish SHUKLA
--
Sent via Gnus from GNU Emacs

They who can give up essential liberty to obtain a little temporary safety,
deserve neither liberty nor safety.
-- Benjamin Franklin, Memoirs of the life and writings of Benjamin Franklin