Eclipse Ganymede port

View: New views
11 Messages — Rating Filter:   Alert me  

Eclipse Ganymede port

by Stephane E. Potvin-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

A port of Eclipse Ganymede can be found at the following location:

        http://people.freebsd.org/~sepotvin/eclipse-ganymede.tbz

The port should be working for both x86 and amd64 platforms. Just untar
the file into "${PORTSDIR}/java". It will create an "eclipse-ganymede"
directory. The port can cohabit with eclipse and eclipse-devel.

I've modified a few of the original patches in order to make them (I
hope) more easily acceptable upstream in case someone wants to try to
have them integrated into the main Eclipse project.

There's a few rough edges in the way I handled the building of the
native libraries and I might fix this up in the future if I ever get
some more free time to work on this. But, I would not be unhappy to have
someone else fix it.

gpatch is needed to handle some of the patches as the line length is
greater than 4096 characters (the upper limit for the patch in the base
system).

firefox is now working as the embedded browser. I've not tested with
xulrunner or any other one but I've left them there if somebody wants to
give it a try. I've not tested disabling the other various knobs either
so some work might be needed in this area if someone really needs it.

The ports requires Java 1.6 and I've not made any effort to implement
the support for Java 1.5. It's probably not hard to add it back if it's
deemed really necessary.

Don't hesitate to ping me if anything is not working properly.

Steph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiXPjUACgkQmdOXtTCX/nu0YgCg2LMMeZFjyQtZwpte3wOz+s0/
UkUAoOLPtV5PdrZuSVEkMLkhUYUDOEGd
=nPfA
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Re: Eclipse Ganymede port

by Stephane E. Potvin-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stephane E. Potvin wrote:
| Hi,
|
| A port of Eclipse Ganymede can be found at the following location:
|
|     http://people.freebsd.org/~sepotvin/eclipse-ganymede.tbz
|
| The port should be working for both x86 and amd64 platforms. Just untar
| the file into "${PORTSDIR}/java". It will create an "eclipse-ganymede"
| directory. The port can cohabit with eclipse and eclipse-devel.
|
| I've modified a few of the original patches in order to make them (I
| hope) more easily acceptable upstream in case someone wants to try to
| have them integrated into the main Eclipse project.
|
| There's a few rough edges in the way I handled the building of the
| native libraries and I might fix this up in the future if I ever get
| some more free time to work on this. But, I would not be unhappy to have
| someone else fix it.
|
| gpatch is needed to handle some of the patches as the line length is
| greater than 4096 characters (the upper limit for the patch in the base
| system).
|
| firefox is now working as the embedded browser. I've not tested with
| xulrunner or any other one but I've left them there if somebody wants to
| give it a try. I've not tested disabling the other various knobs either
| so some work might be needed in this area if someone really needs it.
|
| The ports requires Java 1.6 and I've not made any effort to implement
| the support for Java 1.5. It's probably not hard to add it back if it's
| deemed really necessary.
|
| Don't hesitate to ping me if anything is not working properly.
|

Replying to myself, I forgot to mention that Equinox p2 is not working
yet at this time. If anybody wants to jump in and help out find why I'd
be very grateful.

Steph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiXct4ACgkQmdOXtTCX/nvXbQCgokeSG0j9icUcjvL7Kolh+eSK
4IMAn2Z8agiBU+6UDc11MUdIst5/1k0G
=F3KG
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Re: Eclipse Ganymede port

by ken-106 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

  Great work!!

  One question?
   Help -> SoftwareUpdate  gives "Software Updates" window saying;
   Cannot launch the Update UI.  This installation has not been configured properly for Software Updates.

  Is this because of my setting?

  Also, "Preference" -> "Install/Update" only shows "Automatic Update", but it does not show "Updating from the FileSystem" that Help says it should be there.

_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Re: Eclipse Ganymede port

by Eugeny N Dzhurinsky-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Aug 04, 2008 at 01:36:53PM -0400, Stephane E. Potvin wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> A port of Eclipse Ganymede can be found at the following location:
>
> http://people.freebsd.org/~sepotvin/eclipse-ganymede.tbz
>
> The port should be working for both x86 and amd64 platforms. Just untar
> the file into "${PORTSDIR}/java". It will create an "eclipse-ganymede"
> directory. The port can cohabit with eclipse and eclipse-devel.
>
> I've modified a few of the original patches in order to make them (I
> hope) more easily acceptable upstream in case someone wants to try to
> have them integrated into the main Eclipse project.

Hello, Stephane!

Thank you for your awesome job of porting Ganymede!

Could you please tell me what do I miss when building the port?

========================================================================================================
     [echo] Compiling SWT native libraries...^M
     [exec] callback.c: In function `Java_org_eclipse_swt_internal_Callback_bind':^M
     [exec] callback.c:493: warning: unused variable `pad'^M
     [exec] In file included from xpcom_structs.h:12,^M
     [exec]                  from xpcom.cpp:13:^M
     [exec] xpcom.h:18:21: nsXPCOM.h: No such file or directory^M
     [exec] xpcom.h:19:27: nsEmbedString.h: No such file or directory^M
     [exec] xpcom.h:20:28: nsIInputStream.h: No such file or directory^M
     [exec] xpcom.h:21:30: nsISupportsUtils.h: No such file or directory^M
     [exec] xpcom.h:22:25: nsXPCOMGlue.h: No such file or directory^M
     [exec] In file included from xpcom.cpp:13:^M
     [exec] xpcom_structs.h:16: error: expected constructor, destructor, or type conversion before '*' token^M
     [exec] xpcom_structs.h:17: error: `nsID' has not been declared^M
     [exec] xpcom_structs.h:17: error: ISO C++ forbids declaration of `lpStruct' with no type^M
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_Call(JNIEnv*, _jclass*, jint, jint, jint, _jbyteArray*, jint, jint, _jintArray*)':^M
     [exec] xpcom.cpp:29: error: `nsWriteSegmentFun' was not declared in this scope^M
     [exec] xpcom.cpp:29: error: expected primary-expression before ')' token^M
     [exec] xpcom.cpp:29: error: expected `)' before "arg0"^M
     [exec] xpcom.cpp:29: error: `nsIInputStream' was not declared in this scope^M
     [exec] xpcom.cpp:29: error: expected primary-expression before ')' token^M
     [exec] xpcom.cpp:29: error: `PRUint32' was not declared in this scope^M
     [exec] xpcom.cpp:29: error: expected primary-expression before ')' token^M
     [exec] xpcom.cpp:29: warning: unused variable 'nsIInputStream'^M
     [exec] xpcom.cpp:29: warning: unused variable 'PRUint32'^M
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_NS_1GetComponentManager(JNIEnv*, _jclass*, _jintArray*)':^M
     [exec] xpcom.cpp:47: error: `nsIComponentManager' was not declared in this scope^M
     [exec] xpcom.cpp:47: error: `NS_GetComponentManager' was not declared in this scope^M
     [exec] xpcom.cpp:47: error: expected primary-expression before ')' token^M
     [exec] xpcom.cpp:47: error: expected `;' before "NS_GetComponentManager"^M
     [exec] xpcom.cpp:47: warning: unused variable 'nsIComponentManager'^M
     [exec] xpcom.cpp:47: warning: unused variable 'NS_GetComponentManager'^M
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_NS_1GetServiceManager(JNIEnv*, _jclass*, _jintArray*)':^M
     [exec] xpcom.cpp:64: error: `nsIServiceManager' was not declared in this scope^M
     [exec] xpcom.cpp:64: error: `NS_GetServiceManager' was not declared in this scope^M
     [exec] xpcom.cpp:64: error: expected primary-expression before ')' token^M
     [exec] xpcom.cpp:64: error: expected `;' before "NS_GetServiceManager"^M
     [exec] xpcom.cpp:64: warning: unused variable 'nsIServiceManager'^M
     [exec] xpcom.cpp:64: warning: unused variable 'NS_GetServiceManager'^M
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_NS_1InitXPCOM2(JNIEnv*, _jclass*, jint, jint, jint)':^M
     [exec] xpcom.cpp:79: error: `nsIServiceManager' was not declared in this scope^M
     [exec] xpcom.cpp:79: error: `nsIFile' was not declared in this scope^M
     [exec] xpcom.cpp:79: error: `nsIDirectoryServiceProvider' was not declared in this scope^M
     [exec] xpcom.cpp:79: error: `NS_InitXPCOM2' was not declared in this scope^M
     [exec] xpcom.cpp:79: error: expected primary-expression before ')' token^M
     [exec] xpcom.cpp:79: error: expected `;' before "NS_InitXPCOM2"^M
     [exec] xpcom.cpp:79: warning: unused variable 'nsIServiceManager'^M
     [exec] xpcom.cpp:79: warning: unused variable 'nsIFile'^M

....

     [exec] Result: 1^M
     [echo] Compiling native launcher...^M
     [exec] ../eclipseMozilla.c: In function `fixEnvForMozilla':^M
     [exec] ../eclipseMozilla.c:166: warning: passing arg 3 of `scandir' from incompatible pointer type^M
     [echo] Compiling liblocalfile...^M
     [echo] Compiling native update library...^M
     [echo] Building libupdate.so^M
     [echo] gcc -o  libupdate.so -shared -I/usr/ports/java/eclipse-ganymede/work/plugins/org.eclipse.update.core.freebsd/src/../../org.eclipse.update.core.freebsd/src/ -I/usr/local/jdk1.6.0/jre/../include/freebsd -fPIC libupdate.so^M
    [apply] In file included from /usr/include/sys/mount.h:36,^M
    [apply]                  from /usr/ports/java/eclipse-ganymede/work/plugins/org.eclipse.update.core.freebsd/src/update.c:15:^M
    [apply] /usr/include/sys/ucred.h:71: error: `NGROUPS' undeclared here (not in a function)^M
    [apply] Result: 1^M
^M
BUILD FAILED^M

========================================================================================================

Looks like it misses some include files, and I didn't find them in my system.
May the Firefox version ( I am using 2.0.0.14 ) cause such error?

--
Eugene N Dzhurinsky


attachment0 (202 bytes) Download Attachment

Re: Eclipse Ganymede port

by Stephane E. Potvin-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eugeny N Dzhurinsky wrote:
| On Mon, Aug 04, 2008 at 01:36:53PM -0400, Stephane E. Potvin wrote:
|> -----BEGIN PGP SIGNED MESSAGE-----
|> Hash: SHA1
|>
|> Hi,
|>
|> A port of Eclipse Ganymede can be found at the following location:
|>
|> http://people.freebsd.org/~sepotvin/eclipse-ganymede.tbz
|>
|> The port should be working for both x86 and amd64 platforms. Just untar
|> the file into "${PORTSDIR}/java". It will create an "eclipse-ganymede"
|> directory. The port can cohabit with eclipse and eclipse-devel.
|>
|> I've modified a few of the original patches in order to make them (I
|> hope) more easily acceptable upstream in case someone wants to try to
|> have them integrated into the main Eclipse project.
|
|
| Hello, Stephane!
|
| Thank you for your awesome job of porting Ganymede!
|
| Could you please tell me what do I miss when building the port?
|
|
========================================================================================================
[...snip...]
|
|
========================================================================================================
|
| Looks like it misses some include files, and I didn't find them in my
system.
| May the Firefox version ( I am using 2.0.0.14 ) cause such error?
|

Hi,

This is not expected. Those files should have been installed
automatically by the firefox port. Can you look into the folders listed
by the command "pkg-config --cflags firefox-xpcom" to make sure that
they are present or not. If they aren't, you should probably reinstall
your firefox port.

Steph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiYTS4ACgkQmdOXtTCX/nv0RQCg6LPABNwTQYGGBdXa/txgxE5n
wroAoKrMcWY2SO6snIJSU5sONwxYRnzj
=aqCu
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Re: Eclipse Ganymede port

by Stephane E. Potvin-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ken wrote:
|   Great work!!
|
|   One question?
|    Help -> SoftwareUpdate  gives "Software Updates" window saying;
|    Cannot launch the Update UI.  This installation has not been
configured properly for Software Updates.
|
|   Is this because of my setting?
|
|   Also, "Preference" -> "Install/Update" only shows "Automatic
Update", but it does not show "Updating from the FileSystem" that Help
says it should be there.
|
Hi Ken,

Thanks for trying it out. This error is expected as Equinox p2 is not
working yet in the port. Equinox p2 is the new package manager for
Eclipse and replace the old update manager present in the previous
versions of Eclipse. See
http://wiki.eclipse.org/Equinox_p2_Getting_Started for more details. I'm
working on adding the required metadata to get p2 working but with
little success so far. If anyone has any experience in this area and
wants to help me out I'd be very grateful!

Steph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiYT2sACgkQmdOXtTCX/nvXTACgisWo1/ArjJFnM5IscbDD3ivC
xaUAoLQTNe4I9GpCtYTI23aIJBcp+K6t
=6+uL
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Re: Eclipse Ganymede port

by Eugeny N Dzhurinsky-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Aug 05, 2008 at 08:53:02AM -0400, Stephane E. Potvin wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hi,
>
> This is not expected. Those files should have been installed
> automatically by the firefox port. Can you look into the folders listed
> by the command "pkg-config --cflags firefox-xpcom" to make sure that
> they are present or not. If they aren't, you should probably reinstall
> your firefox port.

Hello, I just found there are such files the build script considers as
missing:


#> pkg-config --cflags firefox-xpcom      
 -I/usr/local/include/firefox -I/usr/local/include/firefox/xpcom
 -I/usr/local/include/firefox/string -I/usr/local/include/nspr

#> ls /usr/local/include/firefox/nsXPCOM.h
 /usr/local/include/firefox/nsXPCOM.h

Shall I send you the compressed log of the installation (I used "script")?

--
Eugene N Dzhurinsky


attachment0 (202 bytes) Download Attachment

Re: Eclipse Ganymede port

by Mike Bowie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ken wrote:
>   Steph,
>   Thank you for your reply.  
> I understand the situation about Equinox p2 that I do not understand what it is.
>
>

Hey Ken,

p2 is the new plugin format / manager.  Until it's working, the "Classic
Update" system can be activated in "Window" -> "Preferences" under
"General" -> "Capabilities".

Cheers,

Mike.

_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Re: Eclipse Ganymede port

by ken-106 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

  Steph,
  Thank you for your reply.  
I understand the situation about Equinox p2 that I do not understand what it is.





_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Re: Eclipse Ganymede port

by ken-106 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

  Thank you, Mike.
  I'll give a try to the old one.

_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Re: Eclipse Ganymede port

by Stephane E. Potvin-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eugeny N Dzhurinsky wrote:
| On Tue, Aug 05, 2008 at 08:53:02AM -0400, Stephane E. Potvin wrote:
|> -----BEGIN PGP SIGNED MESSAGE-----
|> Hi,
|>
|> This is not expected. Those files should have been installed
|> automatically by the firefox port. Can you look into the folders listed
|> by the command "pkg-config --cflags firefox-xpcom" to make sure that
|> they are present or not. If they aren't, you should probably reinstall
|> your firefox port.
|
| Hello, I just found there are such files the build script considers as
| missing:
|
|
| #> pkg-config --cflags firefox-xpcom
|  -I/usr/local/include/firefox -I/usr/local/include/firefox/xpcom
|  -I/usr/local/include/firefox/string -I/usr/local/include/nspr
|
| #> ls /usr/local/include/firefox/nsXPCOM.h
|  /usr/local/include/firefox/nsXPCOM.h
|
| Shall I send you the compressed log of the installation (I used "script")?
|
Send me privately the compressed log and the list of all your installed
packages (portversion -vF) please.

Steph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiYcbEACgkQmdOXtTCX/nvb7QCfeviTDlzjCQfyAgjIHnG91FaL
DKMAoObGsZGDjUR4h1L9bTB9Krx7F3f2
=LnWv
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."
LightInTheBox - Buy quality products at wholesale price!