Re: Renamed Haskell Applications

2010-06-03 Thread Jacula Modyun
On Tue, May 25, 2010 at 04:16:32PM +0200, Gabor Pali  wrote:

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

+1

---

http://www.jaculamodyun.net
http://people.freebsd.org/~jacula/


pgpoOZ5VE1Eyd.pgp
Description: PGP signature


Re: Renamed Haskell Applications

2010-06-02 Thread Ashish SHUKLA
Dmitry Marakasov writes:
> * Ashish SHUKLA (wahjava...@gmail.com) wrote:

>> > 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'.

> Those all should probably be fixed.

Fine, I completely agree with you now. So lets file PRs for renaming them.

Thanks
-- 
Ashish SHUKLA

Sent via Gnus from GNU Emacs


pgpculOEGhT7z.pgp
Description: PGP signature


Re: Renamed Haskell Applications

2010-06-02 Thread Dmitry Marakasov
* Ashish SHUKLA (wahjava...@gmail.com) wrote:

> > 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'.

Those all should probably be fixed.

> 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-'.

Prefix does not "mars everything haskell-related", because if it was the
case, we'd have ports with multiple prefixes. Prefix marks everything
that should be moved out of list of end-user applications, and
everything that should be separated with a similarily named port for
other language. For darcs et al that's definitely not the case.

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

This is uniformity/symmetry for the sake of uniformity/symmetry, that
can't be good.


-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amd...@amdmi3.ru  ..:  jabber: amd...@jabber.ruhttp://www.amdmi3.ru
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Renamed Haskell Applications

2010-05-28 Thread Ashish SHUKLA
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


pgpI1LrK9jnHA.pgp
Description: PGP signature


Re: Renamed Haskell Applications

2010-05-26 Thread Dmitry Marakasov
* jhell (jh...@dataix.net) wrote:

> 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.

They are.

make -C /usr/ports search cat=haskell

> 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].

There's no guarantee that all haskell-using ports will be prefixed with
hs- (and I hope they will not). For upgrading haskell ports, one should
use

portupgrade -R ghc-\*

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.

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amd...@amdmi3.ru  ..:  jabber: amd...@jabber.ruhttp://www.amdmi3.ru
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Renamed Haskell Applications

2010-05-26 Thread jhell


On Wed, 26 May 2010 11:49, Dmitry Marakasov wrote:
In Message-Id: <20100526154941.gc25...@hades.panopticon>


* jhell (jh...@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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Renamed Haskell Applications

2010-05-26 Thread Shaun Amott
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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Renamed Haskell Applications

2010-05-26 Thread Dmitry Marakasov
* jhell (jh...@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?

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amd...@amdmi3.ru  ..:  jabber: amd...@jabber.ruhttp://www.amdmi3.ru
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Renamed Haskell Applications

2010-05-25 Thread thebeelzebubtrigger
+1
Thanks!


Sent from my Verizon Wireless BlackBerry

-Original Message-
From: Gabor PALI 
Date: Tue, 25 May 2010 16:16:32 
To: ; 
Subject: Renamed Haskell Applications

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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Re: Renamed Haskell Applications

2010-05-25 Thread jhell
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

-1

I believe this is one step in the right direction.

Running total: 4

;)

-- 

 jhell
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"