|
Ben Konrath |
99104fe |
Index: library/eclipse.c
|
|
Ben Konrath |
99104fe |
===================================================================
|
|
Ben Konrath |
4c0ee09 |
RCS file: /cvsroot/eclipse/org.eclipse.equinox.executable/library/eclipse.c,v
|
|
Ben Konrath |
4c0ee09 |
retrieving revision 1.20
|
|
Ben Konrath |
4c0ee09 |
diff -u -r1.20 eclipse.c
|
|
Ben Konrath |
4c0ee09 |
--- library/eclipse.c 8 Feb 2007 16:57:15 -0000 1.20
|
|
Ben Konrath |
4c0ee09 |
+++ library/eclipse.c 1 Mar 2007 03:44:19 -0000
|
|
Ben Konrath |
4c0ee09 |
@@ -330,8 +330,9 @@
|
|
Ben Konrath |
99104fe |
|
|
Ben Konrath |
99104fe |
/* Define the required VM arguments (all platforms). */
|
|
Ben Konrath |
4c0ee09 |
static _TCHAR* cp = NULL;
|
|
Ben Konrath |
4c0ee09 |
-static _TCHAR* cpValue = NULL;
|
|
Ben Konrath |
4c0ee09 |
-static _TCHAR** reqVMarg[] = { &cp, &cpValue, NULL }; /* required VM args */
|
|
Ben Konrath |
4c0ee09 |
+static _TCHAR* cpValue = NULL;
|
|
Ben Konrath |
4c0ee09 |
+static _TCHAR* sharedConfigurationDir = _T_ECLIPSE("-Dosgi.sharedConfiguration.area=/usr/lib/eclipse/configuration");
|
|
Ben Konrath |
4c0ee09 |
+static _TCHAR** reqVMarg[] = { &sharedConfigurationDir, &cp, &cpValue, NULL }; /* required VM args */
|
|
Ben Konrath |
4c0ee09 |
static _TCHAR** userVMarg = NULL; /* user specific args for the Java VM */
|
|
Ben Konrath |
4c0ee09 |
static _TCHAR** eeVMarg = NULL; /* vm args specified in ee file */
|
|
Ben Konrath |
4c0ee09 |
static int nEEargs = 0;
|
|
Ben Konrath |
4c0ee09 |
@@ -915,20 +916,12 @@
|
|
Ben Konrath |
99104fe |
*/
|
|
Ben Konrath |
99104fe |
_TCHAR* getProgramDir( )
|
|
Ben Konrath |
99104fe |
{
|
|
Ben Konrath |
99104fe |
- _TCHAR* ch;
|
|
Ben Konrath |
99104fe |
_TCHAR* programDir;
|
|
Ben Konrath |
99104fe |
+ _TCHAR* temp = _T_ECLIPSE("/usr/share/eclipse/");
|
|
Ben Konrath |
99104fe |
|
|
Ben Konrath |
99104fe |
- programDir = malloc( (_tcslen( program ) + 1) * sizeof(_TCHAR) );
|
|
Ben Konrath |
99104fe |
- _tcscpy( programDir, program );
|
|
Ben Konrath |
99104fe |
- ch = _tcsrchr( programDir, dirSeparator );
|
|
Ben Konrath |
99104fe |
- if (ch != NULL)
|
|
Ben Konrath |
99104fe |
- {
|
|
Ben Konrath |
99104fe |
- *(ch+1) = _T_ECLIPSE('\0');
|
|
Ben Konrath |
99104fe |
- return programDir;
|
|
Ben Konrath |
99104fe |
- }
|
|
Ben Konrath |
99104fe |
-
|
|
Ben Konrath |
99104fe |
- free( programDir );
|
|
Ben Konrath |
99104fe |
- return NULL;
|
|
Ben Konrath |
4c0ee09 |
+ programDir = malloc( (_tcslen( temp + 1 )) * sizeof(_TCHAR) );
|
|
Ben Konrath |
4c0ee09 |
+ _tcscpy( programDir, temp );
|
|
Ben Konrath |
4c0ee09 |
+ return programDir;
|
|
Ben Konrath |
99104fe |
}
|
|
Ben Konrath |
99104fe |
|
|
Ben Konrath |
4c0ee09 |
static _TCHAR* findStartupJar(){
|
|
Ben Konrath |
99104fe |
Index: library/gtk/make_linux.mak
|
|
Ben Konrath |
99104fe |
===================================================================
|
|
Ben Konrath |
4c0ee09 |
RCS file: /cvsroot/eclipse/org.eclipse.equinox.executable/library/gtk/make_linux.mak,v
|
|
Ben Konrath |
4c0ee09 |
retrieving revision 1.10
|
|
Ben Konrath |
4c0ee09 |
diff -u -r1.10 make_linux.mak
|
|
Ben Konrath |
4c0ee09 |
--- library/gtk/make_linux.mak 7 Feb 2007 18:13:48 -0000 1.10
|
|
Ben Konrath |
4c0ee09 |
+++ library/gtk/make_linux.mak 1 Mar 2007 03:44:19 -0000
|
|
Ben Konrath |
4c0ee09 |
@@ -43,7 +43,7 @@
|
|
Ben Konrath |
4c0ee09 |
DLL = $(PROGRAM_LIBRARY)
|
|
Ben Konrath |
4c0ee09 |
LIBS = `pkg-config --libs-only-L gtk+-2.0` -lgtk-x11-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lgdk-x11-2.0 -lpthread -ldl
|
|
Ben Konrath |
4c0ee09 |
LFLAGS = -shared -fpic -Wl,--export-dynamic
|
|
Ben Konrath |
4c0ee09 |
-CFLAGS = -O -s -Wall\
|
|
Ben Konrath |
4c0ee09 |
+CFLAGS = -O -s -Wall -g \
|
|
Ben Konrath |
99104fe |
-fpic \
|
|
Ben Konrath |
99104fe |
-DLINUX \
|
|
Ben Konrath |
99104fe |
-DMOZILLA_FIX \
|