all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Proposal: Prefix "java-" for Java packages
@ 2016-04-14 13:52 Hartmut Goebel
  2016-04-14 14:24 ` Ricardo Wurmus
  0 siblings, 1 reply; 4+ messages in thread
From: Hartmut Goebel @ 2016-04-14 13:52 UTC (permalink / raw)
  To: guix-devel

Hi,

I propose the following specification:

To avoid confusion and naming clashes with other programming languages,
it's desirable that the name of a package for a Java package contains
the word "java". If a project already contains the word java, we drop
this; for instance, the module ffmpeg-java is packaged under the name
java-ffmpeg.

Java programs standing for themselves are named as any other package,
using the lowercase upstream name.


Rational:

Like other programming languages (R, Perl, Python, guile, etc.), java
has a huge collection of packages/classes. On current distributions I
always get confused by names like "felix" or "germonimo" which are not
know to me. So to avoid confusion and to be consistent with the other
programming languages, I suggest prefixing Java packages with "java-".

The specification above is modeled after the one for Python and Perl
packages.

As of now, gnu/packages/java.scm contains only four definitions (swt,
ant, incedtea-6 and icedtea-7), three of which are applications. So only
"swt" would be affected when introducing this *now*.

Comments are welcome.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Proposal: Prefix "java-" for Java packages
  2016-04-14 13:52 Proposal: Prefix "java-" for Java packages Hartmut Goebel
@ 2016-04-14 14:24 ` Ricardo Wurmus
  2016-04-14 16:59   ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Ricardo Wurmus @ 2016-04-14 14:24 UTC (permalink / raw)
  To: Hartmut Goebel; +Cc: guix-devel


Hartmut Goebel <h.goebel@crazy-compilers.com> writes:

> To avoid confusion and naming clashes with other programming languages,
> it's desirable that the name of a package for a Java package contains
> the word "java". If a project already contains the word java, we drop
> this; for instance, the module ffmpeg-java is packaged under the name
> java-ffmpeg.

I’m in favour of a prefix, although I don’t have any preference as to
what it should be named.

Note that we also have Java libraries in other modules, such as “htsjdk”
or “ngs-java” in the bioinformatics module.

~~ Ricardo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Proposal: Prefix "java-" for Java packages
  2016-04-14 14:24 ` Ricardo Wurmus
@ 2016-04-14 16:59   ` Ludovic Courtès
  2016-04-14 17:52     ` Hartmut Goebel
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2016-04-14 16:59 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> skribis:

> Hartmut Goebel <h.goebel@crazy-compilers.com> writes:
>
>> To avoid confusion and naming clashes with other programming languages,
>> it's desirable that the name of a package for a Java package contains
>> the word "java". If a project already contains the word java, we drop
>> this; for instance, the module ffmpeg-java is packaged under the name
>> java-ffmpeg.
>
> I’m in favour of a prefix, although I don’t have any preference as to
> what it should be named.

I like this idea too, and “java-” sounds like the obvious prefix to me.

If there are no objections, you’re welcome to submit a patch, Hartmut!

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Proposal: Prefix "java-" for Java packages
  2016-04-14 16:59   ` Ludovic Courtès
@ 2016-04-14 17:52     ` Hartmut Goebel
  0 siblings, 0 replies; 4+ messages in thread
From: Hartmut Goebel @ 2016-04-14 17:52 UTC (permalink / raw)
  To: guix-devel

Am 14.04.2016 um 18:59 schrieb Ludovic Courtès:
> If there are no objections, you’re welcome to submit a patch, Hartmut!
Fine, I'll do.

Does anyone have a better example than "ffmpeg-java" (which I more or
less invented)?

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-14 17:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-14 13:52 Proposal: Prefix "java-" for Java packages Hartmut Goebel
2016-04-14 14:24 ` Ricardo Wurmus
2016-04-14 16:59   ` Ludovic Courtès
2016-04-14 17:52     ` Hartmut Goebel

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.