I add to dev-util/netbeans-5.5-r1.ebuild new USE flag "cnd" which installs C/C++ package to netbeans-5.5 at emerge time. Reproducible: Always Steps to Reproduce:
Created attachment 107519 [details] dev-util/netbeans-5.5-r1.ebuild with C/C++ support C/C++ package is distributed as InstallShield selfextracting package with wizard. But it have some keys which I use to unpack and install from ebuild.
(In reply to comment #1) > Created an attachment (id=107519) [edit] > dev-util/netbeans-5.5-r1.ebuild with C/C++ support > It's usually better to attach patches against current ebuilds so that it's easy to see what you changed and comment on that.
Created attachment 107527 [details, diff] patch which adds support C/C++ to dev-util/netbeans-5.5-r1.ebuild
(In reply to comment #3) > Created an attachment (id=107527) [edit] > patch which adds support C/C++ to dev-util/netbeans-5.5-r1.ebuild > It would probably be possible to make this a separate ebuild too so we need think how we want to do this. Is this open source? If so we should look into compiling it from source. New binary ebuilds can only be added to our overlays.
cnd is open source project http://cnd.netbeans.org/ But I cannot find source tarball there. There is only cvs access present. It is impossible to make it as separate ebuild because installer changes /usr/share/netbeans-5.5/etc/netbeans.clusters (add's to the end "cnd1"). This file originally installed by netbeans ebuild. Is it need to rewrite ebuild for fetch sources from cvs?
(In reply to comment #5) > > Is it need to rewrite ebuild for fetch sources from cvs? > We would package a snapshot of the CVS sources in that case.
Ok. I view sources and think that I cannot write ebuild to build this plugin from sources.
I must have missed this bug somehow. I already created ebuild for C/C++ support for netbeans though it is binary atm. You can find it here: https://overlays.gentoo.org/svn/proj/java/migrated-java-experimental-overlay/dev-util/netbeans-cnd
Please note that netbeans-cnd ebuild needs eclass from that overlay so you should either copy that too or add the whole overlay to your system (you can use layman for that)
Feature wanted: Some of linux users might want to use NetBeans for developing C/C++ software ONLY, so it would be appreciated if NetBeans ebuild could have a USE flag to let the users choose to integrate either JAVA IDE, C/C++ IDE, or both. Thanks.
(In reply to comment #10) > Feature wanted: > > Some of linux users might want to use NetBeans for developing C/C++ software > ONLY, so it would be appreciated if NetBeans ebuild could have a USE flag to > let the users choose to integrate either JAVA IDE, C/C++ IDE, or both. > > Thanks. > I think fordfrog has something like this in the works in the java-experimental overlay.
I'm working on 6.0 these days, but will try to find some time to bump 5.5 to 5.5.1 and add support for C/C++ and other extra packs. Hopefully this weekend.
Sergey, please, where did you get the info about installing c++ extra pack using setup.jar? I want as a first step install the extra packs using binary distributions (as I do not have enough time now to play with the sources and redistribution policy of bundled jars) but your patch works only for c++ and not for the other extra packs. You can find the experimental ebuild here: https://overlays.gentoo.org/proj/java/browser/java-experimental/dev-util/netbeans/netbeans-5.5.1.ebuild
(In reply to comment #13) > Sergey, > > please, where did you get the info about installing c++ extra pack using > setup.jar? I want as a first step install the extra packs using binary > distributions (as I do not have enough time now to play with the sources and > redistribution policy of bundled jars) but your patch works only for c++ and > not for the other extra packs. > Reverse engeneering and googling. ;-)
(In reply to comment #14) > Reverse engeneering and googling. ;-) > Uff, I hoped your answer will bring me easier solution :-)
netbeans cnd package created by Install Shield soft. It accepts some keys, for example: -is:tempdir </path/to/dir> -is:extract After extracting is possible to run wizard in unnatended mode, see my patch.
(In reply to comment #16) > netbeans cnd package created by Install Shield soft. It accepts some keys, for > example: > -is:tempdir </path/to/dir> > -is:extract > After extracting is possible to run wizard in unnatended mode, see my patch. > Yeah, that is exactly what I did, ie I used your patch. Unfortunately there are two problems with it: - it works only with c++ pack, not with the other packs - script does not die on installation failure I would appreciate if you have some time and will if you could help me to make the other extra packs install too as you seem to be able to dig that info out from the invisible :-) I also sent an email to linux-packaging@installer.netbeans.org but no answer yet (if ever). Maybe the solution would be obvious for you, but it's not for me.
At this week I have no time. But you can begin from this: http://helpnet.installshield.com/robo/projects/is10-5universalhelplibrary/topics/commandline_options_run.htm
Just a side note, I added netbeans 6.0 ebuild with cnd cluster (c++ support) in java-experimental overlay so anybody feel free to give it a try. If you need netbeans just for c++ stuff, run 'USE="apisupport cnd harness ide nb" emerge netbeans', otherwise you can turn on even more clusters (use flags).
hm, I think you should drop 'apisupport' from the use flags: 'USE="cnd harness ide nb" emerge netbeans'
I want know when netbeans 5.5 will be release as stable version.... i things that it's time to do....i dont understand why this version stay halt to unstable
(In reply to comment #21) > I want know when netbeans 5.5 will be release as stable version.... > > i things that it's time to do....i dont understand why this version stay halt > to unstable > Yes working on that. The thing is that it has quite a few ~arch deps that must be reviewed first.
Netbeans 5.5.1 with C/C++ Pack moved to tree, thanks for the hack to get C/C++ pack installed.