Building an open source NetBeans

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Building an open source NetBeans

Bugzilla from n-roeser@gmx.net
Hi, fellow hackers,

I’d like to build and run NetBeans on a Gentoo box, but without
installing any packages which are binary-only, fetch-restricted and
where I have to accept that I may not reverse-engineer them, etc.

For dev-java/netbeans-6.5-r4 and dev-java/netbeans-6.7.1, this seems to
work fine (but I have only checked the ‘emerge --pretend’ output so far).

Slots 6.8 and 6.9 have a dependency on dev-java/jnlp-bin-1.2-r1, which
is fetch-restricted and shows discriminating license terms before you
can download it (but is marked as licensed under the MPL). The other
problematic package, dev-java/jsr67, can be replaced with a package
built from source, I assume. See bug 360255
<URL:https://bugs.gentoo.org/show_bug.cgi?id=360255>.

Slot 6.9 depends on dev-java/jta:0, which is licensed under the
‘sun-bcla-jta’ license. I’d like to replace this package with an open
source alternative as well.

It seems to me that NetBeans is not as free and open source as
Sun/Oracle always says… :-p

Using NetBeans 6.7 is not that great of a workaround, as we are already
at 7.0. If there is interest in this, I’d like to try to spend some time
in getting NetBeans built and running on Gentoo without ugly license
terms and such.

I don’t claim to know the NetBeans code or infrastructure well, so some
pointers would be appreciated. Is anyone working on anything like this
at the moment? Or does anybody have some hints where/how to start?

Thanks!

By the way, I’d be happy to meet some of you at LinuxTag 2011 in Berlin
(starting tomorrow). I’ll make sure to pay the Gentoo booth a visit.
Anyone who’s attending? Or who still needs a ticket? ;-)
--
Nico


signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Building an open source NetBeans

"Miroslav Šulc (fordfrog)"
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi nico,

i'm the maintaner of netbeans ebuilds, so i am the most knowledgeable here.

first of all, i miss "restrictions report" for netbeans 7.0 :-) that one
is where most of my effort went last months. fast grep for the two
mentioned packages, jnlp-bin and jsr67 shows that 7.0 depends just on
jsr67, jnlp-bin is not needed anymore.

second, i'd like to know what is the real purpose for getting rid of the
restrictions. i mention this because there are many jars that i cannot
unbundle at all (and some that could be unbundled but we do not have
ebuilds for these yet) and they may be restricted in some way aswell.

about your jsr67 ebuild, is it the same source as the restricted jsr67
that we have now or it is different/new package from gentoo point of view?

just to make the netbeans picture complete, along with removing
restricted packages from the build tree, the other priorities are to
solve netbeans 7.0 issues that are filed in our bugzilla and get rid of
bundled jars (those that can be unbundled) from netbeans 7.0 ebuilds
(bundled jars are those that are part of SRC_URI in each ebuild). my
effort goes mostly always to the latest version of netbeans. also, you
can find latest netbeans ebuilds (for dev versions) at my repo at
http://git.overlays.gentoo.org/gitweb/?p=dev/fordfrog.git;a=summary

miroslav

Dne 10.5.2011 16:57, Nico R. napsal(a):

> Hi, fellow hackers,
>
> I’d like to build and run NetBeans on a Gentoo box, but without
> installing any packages which are binary-only, fetch-restricted and
> where I have to accept that I may not reverse-engineer them, etc.
>
> For dev-java/netbeans-6.5-r4 and dev-java/netbeans-6.7.1, this seems to
> work fine (but I have only checked the ‘emerge --pretend’ output so far).
>
> Slots 6.8 and 6.9 have a dependency on dev-java/jnlp-bin-1.2-r1, which
> is fetch-restricted and shows discriminating license terms before you
> can download it (but is marked as licensed under the MPL). The other
> problematic package, dev-java/jsr67, can be replaced with a package
> built from source, I assume. See bug 360255
> <URL:https://bugs.gentoo.org/show_bug.cgi?id=360255>.
>
> Slot 6.9 depends on dev-java/jta:0, which is licensed under the
> ‘sun-bcla-jta’ license. I’d like to replace this package with an open
> source alternative as well.
>
> It seems to me that NetBeans is not as free and open source as
> Sun/Oracle always says… :-p
>
> Using NetBeans 6.7 is not that great of a workaround, as we are already
> at 7.0. If there is interest in this, I’d like to try to spend some time
> in getting NetBeans built and running on Gentoo without ugly license
> terms and such.
>
> I don’t claim to know the NetBeans code or infrastructure well, so some
> pointers would be appreciated. Is anyone working on anything like this
> at the moment? Or does anybody have some hints where/how to start?
>
> Thanks!
>
> By the way, I’d be happy to meet some of you at LinuxTag 2011 in Berlin
> (starting tomorrow). I’ll make sure to pay the Gentoo booth a visit.
> Anyone who’s attending? Or who still needs a ticket? ;-)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3JWa0ACgkQB6q7Q15RwyAk3wCgmTY6e5MA5GrZPlDjZE75Gpox
dUcAmwRblbblmvyAAbV3PyknhK1274Gd
=Nv6E
-----END PGP SIGNATURE-----

Reply | Threaded
Open this post in threaded view
|

Re: Building an open source NetBeans

Bugzilla from n-roeser@gmx.net
Hello!

Miroslav Šulc (fordfrog) wrote on 2011-05-10:
> first of all, i miss "restrictions report" for netbeans 7.0 :-) that one
> is where most of my effort went last months.

Sorry, it seems that I forgot to add that paragraph. %-)

> fast grep for the two
> mentioned packages, jnlp-bin and jsr67 shows that 7.0 depends just on
> jsr67, jnlp-bin is not needed anymore.

I have not changed which NetBeans modules to install. So netbeans pulls
in netbeans-java, which depends on appframework, which tries to install
jnlp-bin. :-(

dev-java/netbeans-java-7.0 also depends on dev-java/jta:0, which is
licensed under sun-bcla-jta, and therefore not free.

>
> second, i'd like to know what is the real purpose for getting rid of the
> restrictions.

On the one hand, I do not like to have software installed on my system
which forbids (for example) reverse-engineering in its license. On the
other hand, Gentoo users like to build packages from their source code,
and not use pre-bundled binaries.

> i mention this because there are many jars that i cannot
> unbundle at all (and some that could be unbundled but we do not have
> ebuilds for these yet) and they may be restricted in some way aswell.

I always thought that NetBeans was Freely available, and under
non-discriminatory terms. Seems that I was wrong, and that Sun/Oracle is
a bit more evil than I thought. ;-)

>
> about your jsr67 ebuild, is it the same source as the restricted jsr67
> that we have now or it is different/new package from gentoo point of view?

It used the source which I found for JSR 67, which is licensed under the
CDDL. I assume that the binaries provided by Oracle are also built from
these sources.

I also compared the APIs, and they seemed to be equal. I hope I did
everything properly. Someone could help with comparing the APIs of the
generated class files a second time.

By the way, no need to Cc me, I’m subscribed.

Happy coding!
--
Nico


signature.asc (205 bytes) Download Attachment