- update to 3.0.2. From David Leonard <d@adaptive-enterprises.com.au>
- drop motif flavor - respect CC, CXX, etc.
This commit is contained in:
parent
59b15a17d6
commit
1046e343ce
@ -1,18 +1,16 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2005/02/04 17:18:10 kurt Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2005/04/19 13:56:47 kurt Exp $
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
COMMENT= "IDE for anything and nothing in particular"
|
||||
COMMENT-gnome= "gnome intergration library for eclipse"
|
||||
COMMENT-kde= "kde intergration library for eclipse"
|
||||
COMMENT-mozilla= "mozilla intergration library for eclipse HTML Browser Widget"
|
||||
|
||||
ECLIPSE_VER= 3.0.1
|
||||
ECLIPSE_VER= 3.0.2
|
||||
DISTNAME= eclipse-sourceBuild-srcIncluded-${ECLIPSE_VER}
|
||||
FULLPKGNAME= eclipse-sdk${FLAVOR_EXT}-${ECLIPSE_VER}
|
||||
FULLPKGNAME-gnome= eclipse-sdk${FLAVOR_EXT}-gnome-${ECLIPSE_VER}
|
||||
FULLPKGNAME-kde= eclipse-sdk${FLAVOR_EXT}-kde-${ECLIPSE_VER}
|
||||
FULLPKGNAME-mozilla= eclipse-sdk${FLAVOR_EXT}-mozilla-${ECLIPSE_VER}
|
||||
PKGNAME= eclipse-sdk-${ECLIPSE_VER}
|
||||
PKGNAME-gnome= eclipse-sdk-gnome-${ECLIPSE_VER}
|
||||
PKGNAME-mozilla= eclipse-sdk-mozilla-${ECLIPSE_VER}
|
||||
CATEGORIES= devel/eclipse java
|
||||
|
||||
HOMEPAGE= http://www.eclipse.org/
|
||||
@ -39,11 +37,12 @@ MASTER_SITE_ECLIPSE+= \
|
||||
ftp://download.eclipse.org/ \
|
||||
ftp://download2.eclipse.org/
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_ECLIPSE:=R-3.0.1-200409161125/}
|
||||
MASTER_SITES= ${MASTER_SITE_ECLIPSE:=R-3.0.2-200503110845/}
|
||||
EXTRACT_SUFX= .zip
|
||||
|
||||
VMEM_WARNING= Yes
|
||||
BUILD_DEPENDS= :jdk->=1.4.2p0,<1.5:devel/jdk/1.4 \
|
||||
:mozilla-devel-*-gtk2:www/mozilla,-devel,gtk2 \
|
||||
:apache-ant->=1.6.1:devel/apache-ant \
|
||||
:pkgconfig-*:devel/pkgconfig
|
||||
|
||||
@ -52,70 +51,33 @@ RUN_DEPENDS= :jdk->=1.4.2p0:devel/jdk/1.4 \
|
||||
|
||||
LIB_DEPENDS= gdk-x11-2.0.0.0,gdk_pixbuf-2.0.0.0,gtk-x11-2.0.0.0::x11/gtk+2
|
||||
|
||||
WANTLIB_COMMON= X11 Xcursor Xext Xft Xinerama Xrender atk-1.0.0.0 \
|
||||
fontconfig freetype glib-2.0.0.0 gmodule-2.0.0.0 \
|
||||
gobject-2.0.0.0 iconv intl m pango-1.0.0.0 \
|
||||
pangox-1.0.0.0 pangoxft-1.0.0.0
|
||||
WANTLIB_COMMON= atk-1.0.0.0 gobject-2.0.0.0
|
||||
|
||||
USE_GMAKE= Yes
|
||||
USE_X11= Yes
|
||||
|
||||
FLAVORS= gtk2 motif
|
||||
FLAVOR?= gtk2
|
||||
|
||||
MULTI_PACKAGES= -gnome
|
||||
MULTI_PACKAGES= -gnome -mozilla
|
||||
SUBPACKAGE?=
|
||||
|
||||
.if ${FLAVOR:L:Mgtk2} && ${FLAVOR:L:Mmotif}
|
||||
ERRORS+= "Fatal: You must select only one of the following flavors: gtk2 motif"
|
||||
.elif ${FLAVOR:L:Mgtk2}
|
||||
MULTI_PACKAGES+= -mozilla
|
||||
ECLIPSE_WS= gtk
|
||||
BUILD_DEPENDS+= :mozilla-devel-*-gtk2:www/mozilla,-devel,gtk2
|
||||
.elif ${FLAVOR:L:Mmotif}
|
||||
MULTI_PACKAGES+= -kde
|
||||
ECLIPSE_WS= motif
|
||||
USE_MOTIF= openmotif
|
||||
.else
|
||||
ERRORS+= "Fatal: You must select one of the following flavors: ${FLAVORS}"
|
||||
.endif
|
||||
|
||||
GNOME_LIB_DEPENDS= gnomeui-2::x11/gnome/libgnomeui
|
||||
|
||||
KDE_LIB_DEPENDS= kdecore.6::x11/kde/libs3 \
|
||||
qt-mt.3::x11/qt3,mt
|
||||
|
||||
MOZILLA_LIB_DEPENDS= mozilla/xpcom.1,mozilla/gtkembedmoz.1:mozilla-*-gtk2:www/mozilla,gtk2
|
||||
MOZILLA_LIB_DEPENDS= mozilla/xpcom,mozilla/gtkembedmoz,mozilla/nspr4,mozilla/plc4,mozilla/plds4:mozilla-*-gtk2:www/mozilla,gtk2
|
||||
|
||||
.if defined(PACKAGING)
|
||||
. if ${SUBPACKAGE} == "-gnome"
|
||||
RUN_DEPENDS= ::devel/eclipse/sdk,${FLAVOR}
|
||||
LIB_DEPENDS+= ${GNOME_LIB_DEPENDS}
|
||||
WANTLIB= ${WANTLIB_COMMON} \
|
||||
ICE ORBit-2 SM art_lgpl_2 bonobo-2 bonobo-activation \
|
||||
bonoboui-2 gconf-2 gnome-2 gnomecanvas-2 gnomevfs-2 \
|
||||
gthread-2.0.0.0 pangoft2-1.0.0.0 popt xml2 z
|
||||
. elif ${SUBPACKAGE} == "-kde"
|
||||
RUN_DEPENDS= ::devel/eclipse/sdk,${FLAVOR}
|
||||
LIB_DEPENDS= ${KDE_LIB_DEPENDS}
|
||||
RUN_DEPENDS= :${PKGNAME}:devel/eclipse/sdk
|
||||
LIB_DEPENDS= ${GNOME_LIB_DEPENDS}
|
||||
WANTLIB= gnome-2 gnomevfs-2
|
||||
. elif ${SUBPACKAGE} == "-mozilla"
|
||||
RUN_DEPENDS= ::devel/eclipse/sdk,${FLAVOR}
|
||||
RUN_DEPENDS= :${PKGNAME}:devel/eclipse/sdk
|
||||
LIB_DEPENDS= ${MOZILLA_LIB_DEPENDS}
|
||||
. else
|
||||
WANTLIB= ${WANTLIB_COMMON} Xtst c
|
||||
. if ${FLAVOR:L:Mgtk2}
|
||||
WANTLIB+= gthread-2.0.0.0
|
||||
. elif ${FLAVOR:L:Mmotif}
|
||||
WANTLIB+= Xp Xt
|
||||
. endif
|
||||
WANTLIB= Xtst atk-1.0.0.0 c gobject-2.0.0.0 gthread-2.0.0.0
|
||||
. endif
|
||||
.else
|
||||
. if ${MULTI_PACKAGES:M-gnome}
|
||||
LIB_DEPENDS+= ${GNOME_LIB_DEPENDS}
|
||||
. endif
|
||||
. if ${MULTI_PACKAGES:M-kde}
|
||||
LIB_DEPENDS+= ${KDE_LIB_DEPENDS}
|
||||
. endif
|
||||
. if ${MULTI_PACKAGES:M-mozilla}
|
||||
LIB_DEPENDS+= ${MOZILLA_LIB_DEPENDS}
|
||||
. endif
|
||||
@ -123,7 +85,8 @@ LIB_DEPENDS+= ${MOZILLA_LIB_DEPENDS}
|
||||
|
||||
JAVA_HOME= ${LOCALBASE}/jdk-1.4.2
|
||||
MOZILLA_HOME= ${LOCALBASE}/mozilla
|
||||
ECLIPSE_BUILD= 3063
|
||||
ECLIPSE_WS= gtk
|
||||
ECLIPSE_BUILD= 3064
|
||||
ECLIPSE_COREVER= 3.0.0
|
||||
ECLIPSE_OS= openbsd
|
||||
ECLIPSE_ARCH= x86
|
||||
@ -134,6 +97,7 @@ MAKE_FLAGS= ECLIPSE_BUILD=${ECLIPSE_BUILD} \
|
||||
ECLIPSE_WS=${ECLIPSE_WS} \
|
||||
JAVA_HOME=${JAVA_HOME} \
|
||||
MOZILLA_HOME=${MOZILLA_HOME}
|
||||
MAKE_ENV= CXX="${CXX}"
|
||||
|
||||
FAKE_FLAGS= ${MAKE_FLAGS}
|
||||
|
||||
@ -141,12 +105,10 @@ NO_REGRESS= Yes
|
||||
|
||||
WRKDIST= ${WRKDIR}
|
||||
|
||||
SUBST_VARS= ECLIPSE_WS ECLIPSE_VER ECLIPSE_COREVER ECLIPSE_BUILD
|
||||
SUBST_VARS= ECLIPSE_VER ECLIPSE_COREVER ECLIPSE_BUILD
|
||||
|
||||
FIXUP_FILES= plugins/org.eclipse.update.core.openbsd/src/build.xml \
|
||||
plugins/org.eclipse.swt/Eclipse\ SWT\ PI/gtk/library/make_gtk.xml \
|
||||
plugins/org.eclipse.swt/Eclipse\ SWT\ PI/motif/library/make_motif.xml \
|
||||
plugins/org.eclipse.swt.motif/build.xml \
|
||||
plugins/org.eclipse.swt.gtk/build.xml \
|
||||
plugins/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/adaptor/EclipseBundleData.java
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
MD5 (eclipse-sourceBuild-srcIncluded-3.0.1.zip) = c95561df899a47fc05261531ed0b9221
|
||||
RMD160 (eclipse-sourceBuild-srcIncluded-3.0.1.zip) = fba01eb0f019a888e9d9deb57ad7b284f218e783
|
||||
SHA1 (eclipse-sourceBuild-srcIncluded-3.0.1.zip) = 2302ee6160be86466a6e7ef265fff0431bee72e3
|
||||
SIZE (eclipse-sourceBuild-srcIncluded-3.0.1.zip) = 55618511
|
||||
MD5 (eclipse-sourceBuild-srcIncluded-3.0.2.zip) = 1e2e595469af58245781f17075495389
|
||||
RMD160 (eclipse-sourceBuild-srcIncluded-3.0.2.zip) = 57f0b11c24a8e9982e6d446d14b4782112e5b1a7
|
||||
SHA1 (eclipse-sourceBuild-srcIncluded-3.0.2.zip) = 07324f2aa963e33aea269b89b879fb2d59b354e6
|
||||
SIZE (eclipse-sourceBuild-srcIncluded-3.0.2.zip) = 55945573
|
||||
|
@ -1,8 +1,8 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
--- Makefile.orig Mon Jan 3 09:48:03 2005
|
||||
+++ Makefile Mon Jan 3 21:23:13 2005
|
||||
@@ -0,0 +1,89 @@
|
||||
+# $OpenBSD: patch-Makefile,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
$OpenBSD: patch-Makefile,v 1.2 2005/04/19 13:56:47 kurt Exp $
|
||||
--- Makefile.orig Mon Apr 18 21:05:37 2005
|
||||
+++ Makefile Mon Apr 18 21:05:55 2005
|
||||
@@ -0,0 +1,86 @@
|
||||
+# $OpenBSD: patch-Makefile,v 1.2 2005/04/19 13:56:47 kurt Exp $
|
||||
+# $FreeBSD: ports/java/eclipse/files/Makefile,v 1.7 2004/07/28 17:56:31 nork Exp $
|
||||
+
|
||||
+ECHO= /bin/echo
|
||||
@ -10,18 +10,14 @@ $OpenBSD: patch-Makefile,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
+MKDIR= /bin/mkdir -p
|
||||
+SED= /usr/bin/sed
|
||||
+CP= /bin/cp
|
||||
+CSH= /bin/csh
|
||||
+SH= /bin/sh
|
||||
+ENV= /usr/bin/env
|
||||
+GMAKE= $(LOCALBASE)/bin/gmake
|
||||
+ANT= $(LOCALBASE)/bin/ant
|
||||
+UNZIP_CMD= $(LOCALBASE)/bin/unzip
|
||||
+
|
||||
+PORTDESTDIR= $(PREFIX)/eclipse
|
||||
+
|
||||
+CFLAGS+= -I$(JAVA_HOME)/include \
|
||||
+ -I$(JAVA_HOME)/include/bsd \
|
||||
+ -I$(JAVA_HOME)/include/openbsd
|
||||
+
|
||||
+LIBUPDATE= libupdate.so.1.0
|
||||
+LIBUPDATE_DST= plugins/org.eclipse.update.core.openbsd/os/openbsd/x86
|
||||
+LIBUPDATE_SRC= plugins/org.eclipse.update.core.openbsd/src
|
||||
@ -49,22 +45,23 @@ $OpenBSD: patch-Makefile,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
+libswt:
|
||||
+ @$(ECHO) "===> Building libswt."
|
||||
+ cd "plugins/org.eclipse.swt/Eclipse SWT PI/$(ECLIPSE_WS)/library" && \
|
||||
+ $(SH) ./build.sh && \
|
||||
+ $(ENV) CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" $(SH) ./build.sh && \
|
||||
+ $(CP) *.so.1.0 ../../../../org.eclipse.swt.$(ECLIPSE_WS)/os/openbsd/x86/
|
||||
+
|
||||
+launcher:
|
||||
+ @$(ECHO) "===> Building Eclipse launcher."
|
||||
+ cd plugins/platform-launcher/library/$(ECLIPSE_WS) && \
|
||||
+ $(CSH) build.csh -os openbsd && \
|
||||
+ $(ENV) CC="$(CC)" CFLAGS="$(CFLAGS)" $(SH) build.sh -os openbsd && \
|
||||
+ $(CP) eclipse ../../bin/openbsd/$(ECLIPSE_WS)/eclipse
|
||||
+
|
||||
+libupdate:
|
||||
+ @$(ECHO) "===> Building libupdate."
|
||||
+ cd plugins/org.eclipse.update.core.openbsd/src && \
|
||||
+ $(ANT) -Djava.home=$(JAVA_HOME) -DCC=$(CC)
|
||||
+ $(ANT) -Djava.home=$(JAVA_HOME) -DCC="$(CC)"
|
||||
+ @$(ECHO) "===> Building libcore."
|
||||
+ cd plugins/org.eclipse.core.resources.openbsd/src && \
|
||||
+ env JDK_INCLUDE="$(JAVA_HOME)/include -I$(JAVA_HOME)/include/openbsd" $(GMAKE) && \
|
||||
+ $(ENV) CC="$(CC)" CFLAGS="$(CFLAGS)" \
|
||||
+ JDK_INCLUDE="$(JAVA_HOME)/include -I$(JAVA_HOME)/include/openbsd" $(GMAKE) && \
|
||||
+ $(CP) *.so.1.0 ../../org.eclipse.core.resources.openbsd/os/openbsd/x86
|
||||
+
|
||||
+java: build-install
|
||||
|
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-features_org_eclipse_jdt_source_build_xml,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
--- features/org.eclipse.jdt.source/build.xml.orig Thu Sep 16 11:45:46 2004
|
||||
+++ features/org.eclipse.jdt.source/build.xml Tue Oct 19 16:49:53 2004
|
||||
$OpenBSD: patch-features_org_eclipse_jdt_source_build_xml,v 1.2 2005/04/19 13:56:47 kurt Exp $
|
||||
--- features/org.eclipse.jdt.source/build.xml.orig Fri Mar 11 08:58:23 2005
|
||||
+++ features/org.eclipse.jdt.source/build.xml Mon Apr 18 09:34:41 2005
|
||||
@@ -94,6 +94,10 @@
|
||||
</target>
|
||||
<target name="rootFileslinux_motif_x86">
|
||||
@ -11,4 +11,4 @@ $OpenBSD: patch-features_org_eclipse_jdt_source_build_xml,v 1.1.1.1 2005/02/04 1
|
||||
+ </target>
|
||||
<target name="rootFilessolaris_motif_sparc">
|
||||
</target>
|
||||
<target name="rootFilesaix_motif_ppc">
|
||||
<target name="rootFilessolaris_gtk_sparc">
|
||||
|
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-features_org_eclipse_pde_build_xml,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
--- features/org.eclipse.pde/build.xml.orig Thu Sep 16 11:45:46 2004
|
||||
+++ features/org.eclipse.pde/build.xml Tue Oct 19 16:52:46 2004
|
||||
$OpenBSD: patch-features_org_eclipse_pde_build_xml,v 1.2 2005/04/19 13:56:47 kurt Exp $
|
||||
--- features/org.eclipse.pde/build.xml.orig Fri Mar 11 08:58:23 2005
|
||||
+++ features/org.eclipse.pde/build.xml Mon Apr 18 09:34:41 2005
|
||||
@@ -114,6 +114,10 @@
|
||||
</target>
|
||||
<target name="rootFileslinux_motif_x86">
|
||||
@ -11,4 +11,4 @@ $OpenBSD: patch-features_org_eclipse_pde_build_xml,v 1.1.1.1 2005/02/04 17:18:13
|
||||
+ </target>
|
||||
<target name="rootFilessolaris_motif_sparc">
|
||||
</target>
|
||||
<target name="rootFilesaix_motif_ppc">
|
||||
<target name="rootFilessolaris_gtk_sparc">
|
||||
|
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-features_org_eclipse_pde_source_build_xml,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
--- features/org.eclipse.pde.source/build.xml.orig Thu Sep 16 11:45:46 2004
|
||||
+++ features/org.eclipse.pde.source/build.xml Tue Oct 19 16:53:10 2004
|
||||
$OpenBSD: patch-features_org_eclipse_pde_source_build_xml,v 1.2 2005/04/19 13:56:47 kurt Exp $
|
||||
--- features/org.eclipse.pde.source/build.xml.orig Fri Mar 11 08:58:23 2005
|
||||
+++ features/org.eclipse.pde.source/build.xml Mon Apr 18 09:34:41 2005
|
||||
@@ -84,6 +84,10 @@
|
||||
</target>
|
||||
<target name="rootFileslinux_motif_x86">
|
||||
@ -11,4 +11,4 @@ $OpenBSD: patch-features_org_eclipse_pde_source_build_xml,v 1.1.1.1 2005/02/04 1
|
||||
+ </target>
|
||||
<target name="rootFilessolaris_motif_sparc">
|
||||
</target>
|
||||
<target name="rootFilesaix_motif_ppc">
|
||||
<target name="rootFilessolaris_gtk_sparc">
|
||||
|
@ -1,6 +1,5 @@
|
||||
$OpenBSD: patch-features_org_eclipse_platform_build_xml,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
--- features/org.eclipse.platform/build.xml.orig Thu Sep 16 11:45:46 2004
|
||||
+++ features/org.eclipse.platform/build.xml Tue Oct 19 17:01:19 2004
|
||||
--- features/org.eclipse.platform/build.xml.orig Fri Mar 11 23:58:23 2005
|
||||
+++ features/org.eclipse.platform/build.xml Mon Mar 28 23:10:41 2005
|
||||
@@ -64,6 +64,11 @@
|
||||
</ant>
|
||||
<ant antfile="build.xml" dir="../../plugins/org.eclipse.swt.gtk" target="${target}">
|
||||
@ -13,7 +12,7 @@ $OpenBSD: patch-features_org_eclipse_platform_build_xml,v 1.1.1.1 2005/02/04 17:
|
||||
<property name="os" value="linux"/>
|
||||
<property name="ws" value="gtk"/>
|
||||
</ant>
|
||||
@@ -104,6 +109,11 @@
|
||||
@@ -114,6 +119,11 @@
|
||||
</ant>
|
||||
<ant antfile="build.xml" dir="../../plugins/org.eclipse.swt.motif" target="${target}">
|
||||
<property name="arch" value="x86"/>
|
||||
@ -25,7 +24,7 @@ $OpenBSD: patch-features_org_eclipse_platform_build_xml,v 1.1.1.1 2005/02/04 17:
|
||||
<property name="os" value="linux"/>
|
||||
<property name="ws" value="motif"/>
|
||||
</ant>
|
||||
@@ -192,6 +202,11 @@
|
||||
@@ -202,6 +212,11 @@
|
||||
<property name="os" value="win32"/>
|
||||
<property name="ws" value="win32"/>
|
||||
</ant>
|
||||
@ -37,7 +36,7 @@ $OpenBSD: patch-features_org_eclipse_platform_build_xml,v 1.1.1.1 2005/02/04 17:
|
||||
<ant antfile="build.xml" dir="../../plugins/org.eclipse.update.core.linux" target="${target}">
|
||||
<property name="arch" value="x86"/>
|
||||
<property name="os" value="linux"/>
|
||||
@@ -247,6 +262,11 @@
|
||||
@@ -257,6 +272,11 @@
|
||||
<property name="os" value="qnx"/>
|
||||
<property name="ws" value="photon"/>
|
||||
</ant>
|
||||
@ -49,16 +48,16 @@ $OpenBSD: patch-features_org_eclipse_platform_build_xml,v 1.1.1.1 2005/02/04 17:
|
||||
<ant antfile="build.xml" dir="../../plugins/org.eclipse.core.resources.linux" target="${target}">
|
||||
<property name="arch" value="x86"/>
|
||||
<property name="os" value="linux"/>
|
||||
@@ -444,7 +464,7 @@
|
||||
<copy todir="${feature.base}/features/org.eclipse.platform_3.0.1" failonerror="true">
|
||||
@@ -454,7 +474,7 @@
|
||||
<copy todir="${feature.base}/features/org.eclipse.platform_3.0.2" failonerror="true">
|
||||
<fileset dir="${basedir}" includes="cpl-v10.html,eclipse_update_120.jpg,feature.xml,feature.properties,license.html" />
|
||||
</copy>
|
||||
- <eclipse.idReplacer featureFilePath="${feature.base}/features/org.eclipse.platform_3.0.1/feature.xml" selfVersion="3.0.1" featureIds="" pluginIds="org.apache.ant,1.6.2,org.apache.lucene,1.3.1,org.eclipse.ant.core,3.0.0,org.eclipse.compare,3.0.0,org.eclipse.core.boot,3.0.0,org.eclipse.core.filebuffers,3.0.1,org.eclipse.core.expressions,3.0.0,org.eclipse.core.resources,3.0.1,org.eclipse.core.runtime,3.0.1,org.eclipse.core.runtime.compatibility,3.0.0,org.eclipse.osgi,3.0.1,org.eclipse.osgi.services,3.0.0,org.eclipse.osgi.util,3.0.0,org.eclipse.core.variables,3.0.0,org.eclipse.debug.core,3.0.1,org.eclipse.debug.ui,3.0.1,org.eclipse.help,3.0.0,org.eclipse.help.webapp,3.0.1,org.eclipse.help.base,3.0.1,org.eclipse.help.ui,3.0.0,org.eclipse.help.appserver,3.0.0,org.eclipse.help.ide,3.0.0,org.eclipse.platform,3.0.1,org.eclipse.platform.doc.user,3.0.1,org.eclipse.search,3.0.1,org.eclipse.swt,3.0.1,org.eclipse.team.core,3.0.0,org.eclipse.team.cvs.core,3.0.1,org.eclipse.team.cvs.ssh,3.0.0,org.eclipse.team.cvs.ssh2,3.0.0,org.eclipse.team.cvs.ui,3.0.1,org.eclipse.team.ui,3.0.1,org.eclipse.tomcat,4.1.30,org.eclipse.text,3.0.1,org.eclipse.jface,3.0.0,org.eclipse.jface.text,3.0.1,org.eclipse.ui.console,3.0.0,org.eclipse.ui.presentations.r21,3.0.1,org.eclipse.ui.intro,3.0.1,org.eclipse.ui.cheatsheets,3.0.1,org.eclipse.ui.workbench,3.0.1,org.eclipse.ui.workbench.texteditor,3.0.1,org.eclipse.ui.views,3.0.0,org.eclipse.ui.editors,3.0.1,org.eclipse.ui.forms,3.0.0,org.eclipse.ui,3.0.1,org.eclipse.ui.externaltools,3.0.1,org.eclipse.ui.ide,3.0.1,org.eclipse.update.configurator,3.0.0,org.eclipse.update.core,3.0.1,org.eclipse.update.scheduler,3.0.0,org.eclipse.update.ui,3.0.1,org.eclipse.ui.workbench.compatibility,3.0.0,org.eclipse.swt.motif,3.0.1,org.eclipse.swt.motif,3.0.1,org.eclipse.core.resources.hpux,3.0.0,org.eclipse.swt.gtk,3.0.1,org.eclipse.swt.gtk,3.0.1,org.eclipse.core.resources.linux,3.0.0,org.eclipse.update.core.linux,3.0.1,org.eclipse.swt.gtk64,3.0.1,org.eclipse.swt.gtk64,3.0.1,org.eclipse.update.core.linux,3.0.1,org.eclipse.swt.motif,3.0.1,org.eclipse.core.resources.linux,3.0.0,org.eclipse.update.core.linux,3.0.1,org.eclipse.swt.carbon,3.0.1,org.eclipse.core.resources.macosx,3.0.0,org.eclipse.ui.carbon,3.0.0,org.eclipse.swt.photon,3.0.1,org.eclipse.core.resources.qnx,3.0.0,org.eclipse.swt.motif,3.0.1,org.eclipse.swt.win32,3.0.1,org.eclipse.core.resources.win32,3.0.0,org.eclipse.ui.win32,3.0.1,org.eclipse.update.core.win32,3.0.0,"/>
|
||||
+ <eclipse.idReplacer featureFilePath="${feature.base}/features/org.eclipse.platform_3.0.1/feature.xml" selfVersion="3.0.1" featureIds="" pluginIds="org.apache.ant,1.6.2,org.apache.lucene,1.3.1,org.eclipse.ant.core,3.0.0,org.eclipse.compare,3.0.0,org.eclipse.core.boot,3.0.0,org.eclipse.core.filebuffers,3.0.1,org.eclipse.core.expressions,3.0.0,org.eclipse.core.resources,3.0.1,org.eclipse.core.runtime,3.0.1,org.eclipse.core.runtime.compatibility,3.0.0,org.eclipse.osgi,3.0.1,org.eclipse.osgi.services,3.0.0,org.eclipse.osgi.util,3.0.0,org.eclipse.core.variables,3.0.0,org.eclipse.debug.core,3.0.1,org.eclipse.debug.ui,3.0.1,org.eclipse.help,3.0.0,org.eclipse.help.webapp,3.0.1,org.eclipse.help.base,3.0.1,org.eclipse.help.ui,3.0.0,org.eclipse.help.appserver,3.0.0,org.eclipse.help.ide,3.0.0,org.eclipse.platform,3.0.1,org.eclipse.platform.doc.user,3.0.1,org.eclipse.search,3.0.1,org.eclipse.swt,3.0.1,org.eclipse.team.core,3.0.0,org.eclipse.team.cvs.core,3.0.1,org.eclipse.team.cvs.ssh,3.0.0,org.eclipse.team.cvs.ssh2,3.0.0,org.eclipse.team.cvs.ui,3.0.1,org.eclipse.team.ui,3.0.1,org.eclipse.tomcat,4.1.30,org.eclipse.text,3.0.1,org.eclipse.jface,3.0.0,org.eclipse.jface.text,3.0.1,org.eclipse.ui.console,3.0.0,org.eclipse.ui.presentations.r21,3.0.1,org.eclipse.ui.intro,3.0.1,org.eclipse.ui.cheatsheets,3.0.1,org.eclipse.ui.workbench,3.0.1,org.eclipse.ui.workbench.texteditor,3.0.1,org.eclipse.ui.views,3.0.0,org.eclipse.ui.editors,3.0.1,org.eclipse.ui.forms,3.0.0,org.eclipse.ui,3.0.1,org.eclipse.ui.externaltools,3.0.1,org.eclipse.ui.ide,3.0.1,org.eclipse.update.configurator,3.0.0,org.eclipse.update.core,3.0.1,org.eclipse.update.scheduler,3.0.0,org.eclipse.update.ui,3.0.1,org.eclipse.ui.workbench.compatibility,3.0.0,org.eclipse.swt.motif,3.0.1,org.eclipse.swt.motif,3.0.1,org.eclipse.core.resources.hpux,3.0.0,org.eclipse.swt.gtk,3.0.1,org.eclipse.swt.gtk,3.0.1,org.eclipse.core.resources.openbsd,3.0.0,org.eclipse.update.core.openbsd,3.0.1,org.eclipse.core.resources.linux,3.0.0,org.eclipse.update.core.linux,3.0.1,org.eclipse.swt.gtk64,3.0.1,org.eclipse.swt.gtk64,3.0.1,org.eclipse.update.core.linux,3.0.1,org.eclipse.swt.motif,3.0.1,org.eclipse.core.resources.linux,3.0.0,org.eclipse.update.core.linux,3.0.1,org.eclipse.swt.carbon,3.0.1,org.eclipse.core.resources.macosx,3.0.0,org.eclipse.ui.carbon,3.0.0,org.eclipse.swt.photon,3.0.1,org.eclipse.core.resources.qnx,3.0.0,org.eclipse.swt.motif,3.0.1,org.eclipse.swt.win32,3.0.1,org.eclipse.core.resources.win32,3.0.0,org.eclipse.ui.win32,3.0.1,org.eclipse.update.core.win32,3.0.0,"/>
|
||||
- <eclipse.idReplacer featureFilePath="${feature.base}/features/org.eclipse.platform_3.0.2/feature.xml" selfVersion="3.0.2" featureIds="" pluginIds="org.apache.ant,1.6.2,org.apache.lucene,1.4.3,org.eclipse.ant.core,3.0.0,org.eclipse.compare,3.0.0,org.eclipse.core.boot,3.0.0,org.eclipse.core.filebuffers,3.0.1,org.eclipse.core.expressions,3.0.0,org.eclipse.core.resources,3.0.1,org.eclipse.core.runtime,3.0.2,org.eclipse.core.runtime.compatibility,3.0.0,org.eclipse.osgi,3.0.1,org.eclipse.osgi.services,3.0.0,org.eclipse.osgi.util,3.0.0,org.eclipse.core.variables,3.0.0,org.eclipse.debug.core,3.0.2,org.eclipse.debug.ui,3.0.2,org.eclipse.help,3.0.0,org.eclipse.help.webapp,3.0.2,org.eclipse.help.base,3.0.2,org.eclipse.help.ui,3.0.2,org.eclipse.help.appserver,3.0.0,org.eclipse.help.ide,3.0.0,org.eclipse.platform,3.0.2,org.eclipse.platform.doc.user,3.0.1,org.eclipse.search,3.0.1,org.eclipse.swt,3.0.2,org.eclipse.team.core,3.0.0,org.eclipse.team.cvs.core,3.0.1,org.eclipse.team.cvs.ssh,3.0.0,org.eclipse.team.cvs.ssh2,3.0.0,org.eclipse.team.cvs.ui,3.0.1,org.eclipse.team.ui,3.0.1,org.eclipse.tomcat,4.1.30,org.eclipse.text,3.0.1,org.eclipse.jface,3.0.2,org.eclipse.jface.text,3.0.2,org.eclipse.ui.console,3.0.0,org.eclipse.ui.presentations.r21,3.0.1,org.eclipse.ui.intro,3.0.2,org.eclipse.ui.cheatsheets,3.0.1,org.eclipse.ui.workbench,3.0.2,org.eclipse.ui.workbench.texteditor,3.0.1,org.eclipse.ui.views,3.0.0,org.eclipse.ui.editors,3.0.1,org.eclipse.ui.forms,3.0.0,org.eclipse.ui,3.0.2,org.eclipse.ui.externaltools,3.0.1,org.eclipse.ui.ide,3.0.2,org.eclipse.update.configurator,3.0.0,org.eclipse.update.core,3.0.2,org.eclipse.update.scheduler,3.0.1.1,org.eclipse.update.ui,3.0.1.1,org.eclipse.ui.workbench.compatibility,3.0.0,org.eclipse.swt.motif,3.0.2,org.eclipse.swt.motif,3.0.2,org.eclipse.swt.motif,3.0.2,org.eclipse.core.resources.hpux,3.0.0,org.eclipse.swt.gtk,3.0.2,org.eclipse.swt.gtk,3.0.2,org.eclipse.core.resources.linux,3.0.0,org.eclipse.update.core.linux,3.0.1,org.eclipse.swt.gtk64,3.0.2,org.eclipse.swt.gtk64,3.0.2,org.eclipse.update.core.linux,3.0.1,org.eclipse.swt.motif,3.0.2,org.eclipse.core.resources.linux,3.0.0,org.eclipse.update.core.linux,3.0.1,org.eclipse.swt.carbon,3.0.2,org.eclipse.core.resources.macosx,3.0.0,org.eclipse.ui.carbon,3.0.0,org.eclipse.swt.photon,3.0.2,org.eclipse.core.resources.qnx,3.0.0,org.eclipse.swt.motif,3.0.2,org.eclipse.swt.gtk,3.0.2,org.eclipse.swt.win32,3.0.2,org.eclipse.core.resources.win32,3.0.0,org.eclipse.ui.win32,3.0.1,org.eclipse.update.core.win32,3.0.0,"/>
|
||||
+ <eclipse.idReplacer featureFilePath="${feature.base}/features/org.eclipse.platform_3.0.2/feature.xml" selfVersion="3.0.2" featureIds="" pluginIds="org.apache.ant,1.6.2,org.apache.lucene,1.4.3,org.eclipse.ant.core,3.0.0,org.eclipse.compare,3.0.0,org.eclipse.core.boot,3.0.0,org.eclipse.core.filebuffers,3.0.1,org.eclipse.core.expressions,3.0.0,org.eclipse.core.resources,3.0.1,org.eclipse.core.runtime,3.0.2,org.eclipse.core.runtime.compatibility,3.0.0,org.eclipse.osgi,3.0.1,org.eclipse.osgi.services,3.0.0,org.eclipse.osgi.util,3.0.0,org.eclipse.core.variables,3.0.0,org.eclipse.debug.core,3.0.2,org.eclipse.debug.ui,3.0.2,org.eclipse.help,3.0.0,org.eclipse.help.webapp,3.0.2,org.eclipse.help.base,3.0.2,org.eclipse.help.ui,3.0.2,org.eclipse.help.appserver,3.0.0,org.eclipse.help.ide,3.0.0,org.eclipse.platform,3.0.2,org.eclipse.platform.doc.user,3.0.1,org.eclipse.search,3.0.1,org.eclipse.swt,3.0.2,org.eclipse.team.core,3.0.0,org.eclipse.team.cvs.core,3.0.1,org.eclipse.team.cvs.ssh,3.0.0,org.eclipse.team.cvs.ssh2,3.0.0,org.eclipse.team.cvs.ui,3.0.1,org.eclipse.team.ui,3.0.1,org.eclipse.tomcat,4.1.30,org.eclipse.text,3.0.1,org.eclipse.jface,3.0.2,org.eclipse.jface.text,3.0.2,org.eclipse.ui.console,3.0.0,org.eclipse.ui.presentations.r21,3.0.1,org.eclipse.ui.intro,3.0.2,org.eclipse.ui.cheatsheets,3.0.1,org.eclipse.ui.workbench,3.0.2,org.eclipse.ui.workbench.texteditor,3.0.1,org.eclipse.ui.views,3.0.0,org.eclipse.ui.editors,3.0.1,org.eclipse.ui.forms,3.0.0,org.eclipse.ui,3.0.2,org.eclipse.ui.externaltools,3.0.1,org.eclipse.ui.ide,3.0.2,org.eclipse.update.configurator,3.0.0,org.eclipse.update.core,3.0.2,org.eclipse.update.scheduler,3.0.1.1,org.eclipse.update.ui,3.0.1.1,org.eclipse.ui.workbench.compatibility,3.0.0,org.eclipse.swt.motif,3.0.2,org.eclipse.swt.motif,3.0.2,org.eclipse.swt.motif,3.0.2,org.eclipse.core.resources.hpux,3.0.0,org.eclipse.swt.gtk,3.0.2,org.eclipse.swt.gtk,3.0.2,org.eclipse.core.resources.openbsd,3.0.0,org.eclipse.update.core.openbsd,3.0.1,org.eclipse.core.resources.linux,3.0.0,org.eclipse.update.core.linux,3.0.1,org.eclipse.swt.gtk64,3.0.2,org.eclipse.swt.gtk64,3.0.2,org.eclipse.update.core.linux,3.0.1,org.eclipse.swt.motif,3.0.2,org.eclipse.core.resources.linux,3.0.0,org.eclipse.update.core.linux,3.0.1,org.eclipse.swt.carbon,3.0.2,org.eclipse.core.resources.macosx,3.0.0,org.eclipse.ui.carbon,3.0.0,org.eclipse.swt.photon,3.0.2,org.eclipse.core.resources.qnx,3.0.0,org.eclipse.swt.motif,3.0.2,org.eclipse.swt.gtk,3.0.2,org.eclipse.swt.win32,3.0.2,org.eclipse.core.resources.win32,3.0.0,org.eclipse.ui.win32,3.0.1,org.eclipse.update.core.win32,3.0.0,"/>
|
||||
<antcall target="rootFiles${os}_${ws}_${arch}"/>
|
||||
</target>
|
||||
<target name="rootFileswin32_win32_x86">
|
||||
@@ -496,6 +516,28 @@
|
||||
@@ -506,6 +526,28 @@
|
||||
</copy>
|
||||
<chmod perm="755" dir="${feature.base}/linux.gtk.ia64/${collectingFolder}" includes="eclipse" />
|
||||
</target>
|
||||
@ -87,9 +86,9 @@ $OpenBSD: patch-features_org_eclipse_platform_build_xml,v 1.1.1.1 2005/02/04 17:
|
||||
<target name="rootFileslinux_motif_x86">
|
||||
<mkdir dir="${feature.base}/linux.motif.x86/${collectingFolder}"/>
|
||||
<copy todir="${feature.base}/linux.motif.x86/${collectingFolder}" failonerror="true">
|
||||
@@ -517,6 +559,16 @@
|
||||
<arg line="libXm.so.2.1"/>
|
||||
<arg line="libXm.so"/>
|
||||
@@ -595,6 +637,16 @@
|
||||
<arg line="Eclipse.app/Contents/MacOS/eclipse"/>
|
||||
<arg line="eclipse"/>
|
||||
</exec>
|
||||
+ </target>
|
||||
+ <target name="rootFilesopenbsd_gtk_x86">
|
||||
@ -102,5 +101,5 @@ $OpenBSD: patch-features_org_eclipse_platform_build_xml,v 1.1.1.1 2005/02/04 17:
|
||||
+ </copy>
|
||||
+ <chmod perm="755" dir="${feature.base}/openbsd.gtk.x86/${collectingFolder}" includes="eclipse" />
|
||||
</target>
|
||||
<target name="rootFilessolaris_motif_sparc">
|
||||
<mkdir dir="${feature.base}/solaris.motif.sparc/${collectingFolder}"/>
|
||||
<target name="rootFilesqnx_photon_x86">
|
||||
<mkdir dir="${feature.base}/qnx.photon.x86/${collectingFolder}"/>
|
||||
|
@ -1,9 +1,8 @@
|
||||
$OpenBSD: patch-features_org_eclipse_platform_source_build_xml,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
--- features/org.eclipse.platform.source/build.xml.orig Thu Sep 16 11:45:46 2004
|
||||
+++ features/org.eclipse.platform.source/build.xml Wed Oct 20 10:32:12 2004
|
||||
@@ -32,6 +32,11 @@
|
||||
<property name="os" value="linux"/>
|
||||
<property name="ws" value="gtk"/>
|
||||
--- features/org.eclipse.platform.source/build.xml.orig Fri Mar 11 23:58:23 2005
|
||||
+++ features/org.eclipse.platform.source/build.xml Mon Mar 28 23:16:04 2005
|
||||
@@ -52,6 +52,11 @@
|
||||
<property name="os" value="macosx"/>
|
||||
<property name="ws" value="carbon"/>
|
||||
</ant>
|
||||
+ <ant antfile="build.xml" dir="../../plugins/org.eclipse.platform.source.openbsd.motif.x86" target="${target}">
|
||||
+ <property name="arch" value="x86"/>
|
||||
@ -13,7 +12,7 @@ $OpenBSD: patch-features_org_eclipse_platform_source_build_xml,v 1.1.1.1 2005/02
|
||||
<ant antfile="build.xml" dir="../../plugins/org.eclipse.platform.source.linux.motif.x86" target="${target}">
|
||||
<property name="arch" value="x86"/>
|
||||
<property name="os" value="linux"/>
|
||||
@@ -67,6 +72,11 @@
|
||||
@@ -77,6 +82,11 @@
|
||||
<property name="os" value="linux"/>
|
||||
<property name="ws" value="gtk"/>
|
||||
</ant>
|
||||
@ -25,12 +24,12 @@ $OpenBSD: patch-features_org_eclipse_platform_source_build_xml,v 1.1.1.1 2005/02
|
||||
<ant antfile="build.xml" dir="../../plugins/org.eclipse.platform.doc.isv" target="${target}">
|
||||
<property name="arch" value="x86"/>
|
||||
<property name="os" value="win32"/>
|
||||
@@ -129,12 +139,16 @@
|
||||
<copy todir="${feature.base}/features/org.eclipse.platform.source_3.0.1" failonerror="true">
|
||||
@@ -139,12 +149,16 @@
|
||||
<copy todir="${feature.base}/features/org.eclipse.platform.source_3.0.2" failonerror="true">
|
||||
<fileset dir="${basedir}" includes="cpl-v10.html,eclipse_update_120.jpg,feature.xml,feature.properties,license.html" />
|
||||
</copy>
|
||||
- <eclipse.idReplacer featureFilePath="${feature.base}/features/org.eclipse.platform.source_3.0.1/feature.xml" selfVersion="3.0.1" featureIds="" pluginIds="org.eclipse.platform.doc.isv,3.0.1,org.eclipse.platform.source,3.0.1,org.eclipse.platform.source.linux.gtk.ia64,3.0.1,org.eclipse.platform.source.macosx.carbon.ppc,3.0.1,org.eclipse.platform.source.qnx.photon.x86,3.0.1,org.eclipse.platform.source.linux.gtk.ppc,3.0.1,org.eclipse.platform.source.hpux.motif.PA_RISC,3.0.1,org.eclipse.platform.source.aix.motif.ppc,3.0.1,org.eclipse.platform.source.linux.gtk.x86,3.0.1,org.eclipse.platform.source.win32.win32.x86,3.0.1,org.eclipse.platform.source.solaris.motif.sparc,3.0.1,org.eclipse.platform.source.linux.gtk.amd64,3.0.1,org.eclipse.platform.source.linux.motif.x86,3.0.1,"/>
|
||||
+ <eclipse.idReplacer featureFilePath="${feature.base}/features/org.eclipse.platform.source_3.0.1/feature.xml" selfVersion="3.0.1" featureIds="" pluginIds="org.eclipse.platform.doc.isv,3.0.1,org.eclipse.platform.source,3.0.1,org.eclipse.platform.source.linux.gtk.ia64,3.0.1,org.eclipse.platform.source.macosx.carbon.ppc,3.0.1,org.eclipse.platform.source.qnx.photon.x86,3.0.1,org.eclipse.platform.source.linux.gtk.ppc,3.0.1,org.eclipse.platform.source.hpux.motif.PA_RISC,3.0.1,org.eclipse.platform.source.aix.motif.ppc,3.0.1,org.eclipse.platform.source.linux.gtk.x86,3.0.1,org.eclipse.platform.source.win32.win32.x86,3.0.1,org.eclipse.platform.source.solaris.motif.sparc,3.0.1,org.eclipse.platform.source.linux.gtk.amd64,3.0.1,org.eclipse.platform.source.linux.motif.x86,3.0.1,org.eclipse.platform.source.openbsd.gtk.x86,3.0.1,org.eclipse.platform.source.openbsd.motif.x86,3.0.1,"/>
|
||||
- <eclipse.idReplacer featureFilePath="${feature.base}/features/org.eclipse.platform.source_3.0.2/feature.xml" selfVersion="3.0.2" featureIds="" pluginIds="org.eclipse.platform.doc.isv,3.0.1,org.eclipse.platform.source,3.0.2,org.eclipse.platform.source.linux.gtk.ia64,3.0.2,org.eclipse.platform.source.linux.gtk.ppc,3.0.2,org.eclipse.platform.source.qnx.photon.x86,3.0.2,org.eclipse.platform.source.hpux.motif.PA_RISC,3.0.2,org.eclipse.platform.source.hpux.motif.ia64,3.0.2,org.eclipse.platform.source.solaris.gtk.sparc,3.0.2,org.eclipse.platform.source.macosx.carbon.ppc,3.0.2,org.eclipse.platform.source.linux.gtk.x86,3.0.2,org.eclipse.platform.source.aix.motif.ppc,3.0.2,org.eclipse.platform.source.win32.win32.x86,3.0.2,org.eclipse.platform.source.solaris.motif.sparc,3.0.2,org.eclipse.platform.source.linux.gtk.amd64,3.0.2,org.eclipse.platform.source.linux.motif.x86,3.0.2,"/>
|
||||
+ <eclipse.idReplacer featureFilePath="${feature.base}/features/org.eclipse.platform.source_3.0.2/feature.xml" selfVersion="3.0.2" featureIds="" pluginIds="org.eclipse.platform.doc.isv,3.0.1,org.eclipse.platform.source,3.0.2,org.eclipse.platform.source.linux.gtk.ia64,3.0.2,org.eclipse.platform.source.linux.gtk.ppc,3.0.2,org.eclipse.platform.source.qnx.photon.x86,3.0.2,org.eclipse.platform.source.hpux.motif.PA_RISC,3.0.2,org.eclipse.platform.source.hpux.motif.ia64,3.0.2,org.eclipse.platform.source.solaris.gtk.sparc,3.0.2,org.eclipse.platform.source.macosx.carbon.ppc,3.0.2,org.eclipse.platform.source.linux.gtk.x86,3.0.2,org.eclipse.platform.source.aix.motif.ppc,3.0.2,org.eclipse.platform.source.win32.win32.x86,3.0.2,org.eclipse.platform.source.solaris.motif.sparc,3.0.2,org.eclipse.platform.source.linux.gtk.amd64,3.0.2,org.eclipse.platform.source.linux.motif.x86,3.0.2,org.eclipse.platform.source.openbsd.gtk.x86,3.0.2,org.eclipse.platform.source.openbsd.motif.x86,3.0.2,"/>
|
||||
<antcall target="rootFiles${os}_${ws}_${arch}"/>
|
||||
</target>
|
||||
<target name="rootFileswin32_win32_x86">
|
||||
|
@ -1,14 +1,14 @@
|
||||
$OpenBSD: patch-features_org_eclipse_platform_source_feature_xml,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
--- features/org.eclipse.platform.source/feature.xml.orig Thu Sep 16 11:45:46 2004
|
||||
+++ features/org.eclipse.platform.source/feature.xml Tue Oct 19 17:11:32 2004
|
||||
@@ -19,8 +19,10 @@
|
||||
<plugin ws="motif" os="hpux" fragment="true" arch="PA_RISC" download-size="0" install-size="0" id="org.eclipse.platform.source.hpux.motif.PA_RISC" version="3.0.1"/>
|
||||
<plugin ws="motif" os="aix" fragment="true" arch="ppc" download-size="0" install-size="0" id="org.eclipse.platform.source.aix.motif.ppc" version="3.0.1"/>
|
||||
<plugin ws="gtk" os="linux" fragment="true" arch="x86" download-size="0" install-size="0" id="org.eclipse.platform.source.linux.gtk.x86" version="3.0.1"/>
|
||||
+ <plugin ws="gtk" os="openbsd" fragment="true" arch="x86" download-size="0" install-size="0" id="org.eclipse.platform.source.openbsd.gtk.x86" version="3.0.1"/>
|
||||
<plugin ws="win32" os="win32" fragment="true" arch="x86" download-size="0" install-size="0" id="org.eclipse.platform.source.win32.win32.x86" version="3.0.1"/>
|
||||
<plugin ws="motif" os="solaris" fragment="true" arch="sparc" download-size="0" install-size="0" id="org.eclipse.platform.source.solaris.motif.sparc" version="3.0.1"/>
|
||||
<plugin ws="gtk" os="linux" fragment="true" arch="amd64" download-size="0" install-size="0" id="org.eclipse.platform.source.linux.gtk.amd64" version="3.0.1"/>
|
||||
<plugin ws="motif" os="linux" fragment="true" arch="x86" download-size="0" install-size="0" id="org.eclipse.platform.source.linux.motif.x86" version="3.0.1"/>
|
||||
+ <plugin ws="motif" os="openbsd" fragment="true" arch="x86" download-size="0" install-size="0" id="org.eclipse.platform.source.openbsd.motif.x86" version="3.0.1"/>
|
||||
--- features/org.eclipse.platform.source/feature.xml.orig Fri Mar 11 23:58:23 2005
|
||||
+++ features/org.eclipse.platform.source/feature.xml Mon Mar 28 23:20:39 2005
|
||||
@@ -20,9 +20,11 @@
|
||||
<plugin ws="gtk" os="solaris" fragment="true" arch="sparc" download-size="0" install-size="0" id="org.eclipse.platform.source.solaris.gtk.sparc" version="3.0.2"/>
|
||||
<plugin ws="carbon" os="macosx" fragment="true" arch="ppc" download-size="0" install-size="0" id="org.eclipse.platform.source.macosx.carbon.ppc" version="3.0.2"/>
|
||||
<plugin ws="gtk" os="linux" fragment="true" arch="x86" download-size="0" install-size="0" id="org.eclipse.platform.source.linux.gtk.x86" version="3.0.2"/>
|
||||
+ <plugin ws="gtk" os="openbsd" fragment="true" arch="x86" download-size="0" install-size="0" id="org.eclipse.platform.source.openbsd.gtk.x86" version="3.0.2"/>
|
||||
<plugin ws="motif" os="aix" fragment="true" arch="ppc" download-size="0" install-size="0" id="org.eclipse.platform.source.aix.motif.ppc" version="3.0.2"/>
|
||||
<plugin ws="win32" os="win32" fragment="true" arch="x86" download-size="0" install-size="0" id="org.eclipse.platform.source.win32.win32.x86" version="3.0.2"/>
|
||||
<plugin ws="motif" os="solaris" fragment="true" arch="sparc" download-size="0" install-size="0" id="org.eclipse.platform.source.solaris.motif.sparc" version="3.0.2"/>
|
||||
<plugin ws="gtk" os="linux" fragment="true" arch="amd64" download-size="0" install-size="0" id="org.eclipse.platform.source.linux.gtk.amd64" version="3.0.2"/>
|
||||
<plugin ws="motif" os="linux" fragment="true" arch="x86" download-size="0" install-size="0" id="org.eclipse.platform.source.linux.motif.x86" version="3.0.2"/>
|
||||
+ <plugin ws="motif" os="openbsd" fragment="true" arch="x86" download-size="0" install-size="0" id="org.eclipse.platform.source.openbsd.motif.x86" version="3.0.2"/>
|
||||
</feature>
|
||||
|
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-features_org_eclipse_sdk_build_xml,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
--- features/org.eclipse.sdk/build.xml.orig Wed Oct 20 10:53:58 2004
|
||||
+++ features/org.eclipse.sdk/build.xml Wed Oct 20 10:57:38 2004
|
||||
$OpenBSD: patch-features_org_eclipse_sdk_build_xml,v 1.2 2005/04/19 13:56:47 kurt Exp $
|
||||
--- features/org.eclipse.sdk/build.xml.orig Fri Mar 11 08:58:23 2005
|
||||
+++ features/org.eclipse.sdk/build.xml Mon Apr 18 09:34:42 2005
|
||||
@@ -113,6 +113,13 @@
|
||||
<fileset dir="${basedir}/../org.eclipse.platform/configuration.files" includes="**" />
|
||||
</copy>
|
||||
@ -15,7 +15,7 @@ $OpenBSD: patch-features_org_eclipse_sdk_build_xml,v 1.1.1.1 2005/02/04 17:18:13
|
||||
<target name="rootFileslinux_motif_x86">
|
||||
<mkdir dir="${feature.base}/linux.motif.x86/${collectingFolder}"/>
|
||||
<copy todir="${feature.base}/linux.motif.x86/${collectingFolder}" failonerror="true">
|
||||
@@ -132,6 +139,12 @@
|
||||
@@ -139,6 +146,12 @@
|
||||
<copy todir="${feature.base}/aix.motif.ppc/${collectingFolder}" failonerror="true">
|
||||
<fileset dir="${basedir}/../org.eclipse.platform/rootfiles" includes="**" />
|
||||
<fileset dir="${basedir}/../org.eclipse.platform/configuration.files" includes="**" />
|
||||
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-plugins_org_eclipse_core_resources_openbsd_src_Makefile,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
--- plugins/org.eclipse.core.resources.openbsd/src/Makefile.orig Tue Dec 21 14:24:20 2004
|
||||
+++ plugins/org.eclipse.core.resources.openbsd/src/Makefile Tue Dec 21 14:23:24 2004
|
||||
@@ -10,8 +10,8 @@
|
||||
$OpenBSD: patch-plugins_org_eclipse_core_resources_openbsd_src_Makefile,v 1.2 2005/04/19 13:56:47 kurt Exp $
|
||||
--- plugins/org.eclipse.core.resources.openbsd/src/Makefile.orig Mon Apr 18 16:03:10 2005
|
||||
+++ plugins/org.eclipse.core.resources.openbsd/src/Makefile Mon Apr 18 17:12:41 2005
|
||||
@@ -10,12 +10,12 @@
|
||||
|
||||
CORE.C = core.c
|
||||
CORE.O = core.o
|
||||
@ -11,4 +11,10 @@ $OpenBSD: patch-plugins_org_eclipse_core_resources_openbsd_src_Makefile,v 1.1.1.
|
||||
+LIB_NAME_FULL = libcore_2_1_0b.so.1.0
|
||||
|
||||
core :
|
||||
gcc -fPIC -g -c -I$(JDK_INCLUDE) $(CORE.C) -o $(CORE.O)
|
||||
- gcc -fPIC -g -c -I$(JDK_INCLUDE) $(CORE.C) -o $(CORE.O)
|
||||
- gcc -g -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(CORE.O) -lc
|
||||
+ $(CC) $(CFLAGS) -fPIC -g -c -I$(JDK_INCLUDE) $(CORE.C) -o $(CORE.O)
|
||||
+ $(CC) $(CFLAGS) -g -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(CORE.O) -lc
|
||||
|
||||
clean :
|
||||
rm *.o
|
||||
|
@ -1,12 +1,11 @@
|
||||
$OpenBSD: patch-plugins_org_eclipse_platform_source_openbsd_gtk_x86_build_xml,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
--- plugins/org.eclipse.platform.source.openbsd.gtk.x86/build.xml.orig Thu Oct 21 09:23:51 2004
|
||||
+++ plugins/org.eclipse.platform.source.openbsd.gtk.x86/build.xml Thu Oct 21 09:24:25 2004
|
||||
--- plugins/org.eclipse.platform.source.openbsd.gtk.x86/build.xml.orig Mon Mar 28 22:39:02 2005
|
||||
+++ plugins/org.eclipse.platform.source.openbsd.gtk.x86/build.xml Mon Mar 28 23:22:41 2005
|
||||
@@ -60,7 +60,7 @@
|
||||
<target name="gather.bin.parts" depends="init" if="destination.temp.folder">
|
||||
<mkdir dir="${destination.temp.folder}/org.eclipse.platform.source.openbsd.gtk.x86_3.0.1"/>
|
||||
<copy todir="${destination.temp.folder}/org.eclipse.platform.source.openbsd.gtk.x86_3.0.1" failonerror="true">
|
||||
<mkdir dir="${destination.temp.folder}/org.eclipse.platform.source.openbsd.gtk.x86_3.0.2"/>
|
||||
<copy todir="${destination.temp.folder}/org.eclipse.platform.source.openbsd.gtk.x86_3.0.2" failonerror="true">
|
||||
- <fileset dir="${basedir}" includes="fragment.xml,src/**" />
|
||||
+ <fileset dir="${basedir}" includes="fragment.xml,src/**" excludes="**/*.orig"/>
|
||||
+ <fileset dir="${basedir}" includes="fragment.xml,src/**" excludes="**/*.orig"/>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
|
@ -0,0 +1,20 @@
|
||||
$OpenBSD: patch-plugins_org_eclipse_swt_Eclipse_SWT_Mozilla_common_library_xpcom_cpp,v 1.1 2005/04/19 13:56:47 kurt Exp $
|
||||
--- plugins/org.eclipse.swt/Eclipse SWT Mozilla/common/library/xpcom.cpp.orig Mon Apr 18 14:28:27 2005
|
||||
+++ plugins/org.eclipse.swt/Eclipse SWT Mozilla/common/library/xpcom.cpp Mon Apr 18 14:28:39 2005
|
||||
@@ -234,16 +234,6 @@ JNIEXPORT jint JNICALL XPCOM_NATIVE(nsSt
|
||||
return rc;
|
||||
}
|
||||
|
||||
-JNIEXPORT jboolean JNICALL XPCOM_NATIVE(nsString_1Equals)
|
||||
- (JNIEnv *env, jclass, jint arg0, jint arg1)
|
||||
-{
|
||||
- nsEmbedString *lparg0 = NULL;
|
||||
- nsEmbedString *lparg1 = NULL;
|
||||
- if (arg0 != 0) lparg0 = (nsEmbedString*)arg0;
|
||||
- if (arg1 != 0) lparg1 = (nsEmbedString*)arg1;
|
||||
- return lparg0->Equals(*lparg1);
|
||||
-}
|
||||
-
|
||||
JNIEXPORT jstring JNICALL XPCOM_NATIVE(PR_1GetEnv)
|
||||
(JNIEnv *env, jclass, jstring arg0)
|
||||
{
|
@ -1,9 +1,34 @@
|
||||
$OpenBSD: patch-plugins_org_eclipse_swt_Eclipse_SWT_PI_gtk_library_build_sh,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
--- plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh.orig Thu Sep 16 11:50:21 2004
|
||||
+++ plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh Tue Nov 23 21:11:31 2004
|
||||
@@ -13,4 +13,4 @@
|
||||
--- plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh.orig Fri Mar 11 09:01:58 2005
|
||||
+++ plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh Mon Apr 18 19:17:21 2005
|
||||
@@ -58,6 +58,21 @@ case $OS in
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
+ "OpenBSD")
|
||||
+ case $MODEL in
|
||||
+ i386)
|
||||
+ LD=${CC}
|
||||
+ AWT_LIB_PATH=${JAVA_HOME}/jre/lib/i386
|
||||
+ XTEST_LIB_PATH=/usr/X11R6/lib
|
||||
+ OUTPUT_DIR=../../../org.eclipse.swt.gtk/os/openbsd/x86
|
||||
+ makefile="make_openbsd.mak"
|
||||
+ echo "Building OpenBSD GTK x86 version of SWT"
|
||||
+ ;;
|
||||
+ *)
|
||||
+ echo "*** Unknown MODEL <${MODEL}>"
|
||||
+ ;;
|
||||
+ esac
|
||||
+ ;;
|
||||
"SunOS")
|
||||
CC=gcc
|
||||
LD=gcc
|
||||
@@ -81,6 +96,7 @@ case $OS in
|
||||
;;
|
||||
esac
|
||||
|
||||
#!/bin/sh
|
||||
-export CC LD JAVA_HOME QT_HOME AWT_LIB_PATH XTEST_LIB_PATH GECKO_SDK SWT_PTR_CFLAGS OUTPUT_DIR
|
||||
+export CC LD CXX CFLAGS CXXFLAGS JAVA_HOME QT_HOME AWT_LIB_PATH XTEST_LIB_PATH GECKO_SDK SWT_PTR_CFLAGS OUTPUT_DIR
|
||||
|
||||
-make -f make_gtk.mak ${1} ${2} ${3} ${4}
|
||||
+gmake -f make_gtk.mak ${1} ${2} ${3} ${4}
|
||||
-make -f $makefile ${1} ${2} ${3} ${4}
|
||||
+set -x
|
||||
+gmake -f $makefile ${1} ${2} ${3} ${4}
|
||||
|
@ -1,111 +0,0 @@
|
||||
$OpenBSD: patch-plugins_org_eclipse_swt_Eclipse_SWT_PI_gtk_library_make_gtk_mak,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
--- plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_gtk.mak.orig Thu Sep 16 11:49:09 2004
|
||||
+++ plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_gtk.mak Tue Jan 4 12:42:33 2005
|
||||
@@ -9,12 +9,11 @@
|
||||
# IBM Corporation - initial API and implementation
|
||||
#*******************************************************************************
|
||||
|
||||
-# Makefile for creating SWT libraries for Linux GTK
|
||||
+# Makefile for creating SWT libraries for OpenBSD GTK
|
||||
|
||||
include make_common.mak
|
||||
|
||||
-CC=gcc
|
||||
-LD=gcc
|
||||
+LD=$(CC)
|
||||
|
||||
SWT_VERSION=$(maj_ver)$(min_ver)
|
||||
|
||||
@@ -22,20 +21,12 @@ SWT_VERSION=$(maj_ver)$(min_ver)
|
||||
# Your system may have these in a different place.
|
||||
# JAVA_HOME - IBM's version of Java
|
||||
|
||||
-ifeq ($(SWT_PTR_CFLAGS),-DSWT_PTR_SIZE_64)
|
||||
-# 64 bit path
|
||||
-JAVA_HOME = /bluebird/teamswt/swt-builddir/jdk1.5.0
|
||||
-AWT_LIB_PATH = $(JAVA_HOME)/jre/lib/amd64
|
||||
-XTEST_LIB_PATH = /usr/X11R6/lib64
|
||||
-else
|
||||
-# 32 bit path
|
||||
-JAVA_HOME = /bluebird/teamswt/swt-builddir/IBMJava2-141
|
||||
-AWT_LIB_PATH = $(JAVA_HOME)/jre/bin
|
||||
+#JAVA_HOME = /usr/local/jdk1.4.2
|
||||
+AWT_LIB_PATH = $(JAVA_HOME)/jre/lib/i386
|
||||
XTEST_LIB_PATH = /usr/X11R6/lib
|
||||
-endif
|
||||
|
||||
# mozilla source distribution folder
|
||||
-MOZILLA_HOME = /mozilla/mozilla/1.6/linux_gtk2/mozilla/dist
|
||||
+#MOZILLA_HOME = /usr/local/mozilla
|
||||
|
||||
# Define the various shared libraries to be build.
|
||||
WS_PREFIX = gtk
|
||||
@@ -45,12 +36,12 @@ SWTPI_PREFIX = swt-pi
|
||||
ATK_PREFIX = swt-atk
|
||||
GNOME_PREFIX = swt-gnome
|
||||
MOZILLA_PREFIX = swt-mozilla
|
||||
-SWT_LIB = lib$(SWT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so
|
||||
-AWT_LIB = lib$(AWT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so
|
||||
-SWTPI_LIB = lib$(SWTPI_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so
|
||||
-ATK_LIB = lib$(ATK_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so
|
||||
-GNOME_LIB = lib$(GNOME_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so
|
||||
-MOZILLA_LIB = lib$(MOZILLA_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so
|
||||
+SWT_LIB = lib$(SWT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so.1.0
|
||||
+AWT_LIB = lib$(AWT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so.1.0
|
||||
+SWTPI_LIB = lib$(SWTPI_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so.1.0
|
||||
+ATK_LIB = lib$(ATK_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so.1.0
|
||||
+GNOME_LIB = lib$(GNOME_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so.1.0
|
||||
+MOZILLA_LIB = lib$(MOZILLA_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so.1.0
|
||||
|
||||
GTKCFLAGS = `pkg-config --cflags gtk+-2.0`
|
||||
GTKLIBS = `pkg-config --libs gtk+-2.0 gthread-2.0` -L$(XTEST_LIB_PATH) -lXtst
|
||||
@@ -65,9 +56,15 @@ GNOMELIBS = `pkg-config --libs gnome-vfs
|
||||
|
||||
MOZILLACFLAGS = -O \
|
||||
-fno-rtti \
|
||||
- -Wall \
|
||||
+ -fno-exceptions \
|
||||
+ -fno-stack-protector \
|
||||
+ -Wall \
|
||||
+ -Wno-non-virtual-dtor \
|
||||
+ -fPIC \
|
||||
-I./ \
|
||||
- -I$(JAVA_HOME) \
|
||||
+ -I$(JAVA_HOME)/include \
|
||||
+ -I$(JAVA_HOME)/include/bsd \
|
||||
+ -I$(JAVA_HOME)/include/openbsd \
|
||||
-include $(MOZILLA_HOME)/include/mozilla-config.h \
|
||||
-I$(MOZILLA_HOME)/include \
|
||||
-I$(MOZILLA_HOME)/include/xpcom \
|
||||
@@ -75,8 +72,8 @@ MOZILLACFLAGS = -O \
|
||||
-I$(MOZILLA_HOME)/include/nspr \
|
||||
-I$(MOZILLA_HOME)/include/embed_base \
|
||||
-I$(MOZILLA_HOME)/include/gfx
|
||||
-MOZILLALIBS = -L$(MOZILLA_HOME)/lib -lembed_base_s -lxpcom
|
||||
-MOZILLALDFLAGS = -s
|
||||
+MOZILLALIBS = -L$(MOZILLA_HOME) -lgtkembedmoz -lxpcom
|
||||
+MOZILLALDFLAGS = -shared
|
||||
|
||||
SWT_OBJECTS = swt.o callback.o
|
||||
AWT_OBJECTS = swt_awt.o
|
||||
@@ -87,8 +84,13 @@ MOZILLA_OBJECTS = xpcom.o
|
||||
|
||||
CFLAGS = -O -Wall \
|
||||
-DSWT_VERSION=$(SWT_VERSION) \
|
||||
- -DLINUX -DGTK \
|
||||
+ -DOPENBSD -DGTK \
|
||||
-I$(JAVA_HOME)/include \
|
||||
+ -I$(JAVA_HOME)/include/bsd \
|
||||
+ -I$(JAVA_HOME)/include/openbsd \
|
||||
+ -I../../../Eclipse_SWT/common/library \
|
||||
+ -I../../../Eclipse_SWT_PI/gtk/library \
|
||||
+ -I/usr/X11R6/include \
|
||||
-fpic \
|
||||
${SWT_PTR_CFLAGS}
|
||||
|
||||
@@ -184,4 +186,4 @@ xpcom.o: xpcom.cpp
|
||||
# Clean
|
||||
#
|
||||
clean:
|
||||
- rm -f *.o *.so
|
||||
+ rm -f *.o *.so.1.0
|
@ -0,0 +1,181 @@
|
||||
--- plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_openbsd.mak.orig Mon Apr 18 19:20:08 2005
|
||||
+++ plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_openbsd.mak Mon Apr 18 20:21:23 2005
|
||||
@@ -0,0 +1,178 @@
|
||||
+#*******************************************************************************
|
||||
+# Copyright (c) 2000, 2004 IBM Corporation and others.
|
||||
+# All rights reserved. This program and the accompanying materials
|
||||
+# are made available under the terms of the Common Public License v1.0
|
||||
+# which accompanies this distribution, and is available at
|
||||
+# http://www.eclipse.org/legal/cpl-v10.html
|
||||
+#
|
||||
+# Contributors:
|
||||
+# IBM Corporation - initial API and implementation
|
||||
+#*******************************************************************************
|
||||
+
|
||||
+# Makefile for creating SWT libraries for OpenBSD GTK
|
||||
+# (derived from make_linux.mak)
|
||||
+
|
||||
+include make_common.mak
|
||||
+
|
||||
+SWT_VERSION=$(maj_ver)$(min_ver)
|
||||
+
|
||||
+# Define the various shared libraries to be build.
|
||||
+WS_PREFIX = gtk
|
||||
+SWT_PREFIX = swt
|
||||
+AWT_PREFIX = swt-awt
|
||||
+SWTPI_PREFIX = swt-pi
|
||||
+ATK_PREFIX = swt-atk
|
||||
+GNOME_PREFIX = swt-gnome
|
||||
+MOZILLA_PREFIX = swt-mozilla
|
||||
+SWT_LIB = lib$(SWT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so.1.0
|
||||
+AWT_LIB = lib$(AWT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so.1.0
|
||||
+SWTPI_LIB = lib$(SWTPI_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so.1.0
|
||||
+ATK_LIB = lib$(ATK_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so.1.0
|
||||
+GNOME_LIB = lib$(GNOME_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so.1.0
|
||||
+MOZILLA_LIB = lib$(MOZILLA_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so.1.0
|
||||
+
|
||||
+# Do not use pkg-config to get libs because it includes unnecessary dependencies (i.e. pangoxft-1.0)
|
||||
+GTKCFLAGS = `pkg-config --cflags gtk+-2.0`
|
||||
+GTKLIBS = `pkg-config --libs-only-L gtk+-2.0 gthread-2.0` -lgtk-x11-2.0 -lgthread-2.0 -L$(XTEST_LIB_PATH) -lXtst
|
||||
+
|
||||
+AWT_LIBS = -L$(AWT_LIB_PATH) -ljawt -shared
|
||||
+
|
||||
+ATKCFLAGS = `pkg-config --cflags atk gtk+-2.0`
|
||||
+ATKLIBS = `pkg-config --libs-only-L atk gtk+-2.0`-latk-1.0 -lgtk-x11-2.0
|
||||
+
|
||||
+GNOMECFLAGS = `pkg-config --cflags gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0`
|
||||
+GNOMELIBS = `pkg-config --libs-only-L gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` -lgnomevfs-2 -lgnome-2 -lgnomeui-2
|
||||
+
|
||||
+# Uncomment for Native Stats tool
|
||||
+#NATIVE_STATS = -DNATIVE_STATS
|
||||
+
|
||||
+MOZILLACFLAGS = \
|
||||
+ -DXPCOM_GLUE=1 \
|
||||
+ -DMOZILLA_STRICT_API=1 \
|
||||
+ -fno-rtti \
|
||||
+ -fno-exceptions \
|
||||
+ -Wall \
|
||||
+ -DSWT_VERSION=$(SWT_VERSION) $(NATIVE_STATS) \
|
||||
+ -Wno-non-virtual-dtor \
|
||||
+ -fPIC \
|
||||
+ -I$(JAVA_HOME)/include \
|
||||
+ -I$(JAVA_HOME)/include/openbsd \
|
||||
+ -I./ \
|
||||
+ `pkg-config --cflags mozilla-gtkmozembed` \
|
||||
+ -I$(MOZILLA_HOME)/include/embed_base \
|
||||
+ -include $(MOZILLA_HOME)/include/mozilla-config.h
|
||||
+MOZILLALIBS = -shared -Bsymbolic \
|
||||
+ `pkg-config --libs mozilla-gtkmozembed`
|
||||
+
|
||||
+SWT_OBJECTS = swt.o callback.o
|
||||
+AWT_OBJECTS = swt_awt.o
|
||||
+SWTPI_OBJECTS = swt.o os.o os_structs.o os_custom.o os_stats.o
|
||||
+ATK_OBJECTS = swt.o atk.o atk_structs.o atk_custom.o atk_stats.o
|
||||
+GNOME_OBJECTS = swt.o gnome.o gnome_structs.o gnome_stats.o
|
||||
+MOZILLA_OBJECTS = swt.o xpcom.o
|
||||
+
|
||||
+EXTRACFLAGS = -Wall \
|
||||
+ -DSWT_VERSION=$(SWT_VERSION) \
|
||||
+ $(NATIVE_STATS) \
|
||||
+ -DOPENBSD -DGTK \
|
||||
+ -I$(JAVA_HOME)/include \
|
||||
+ -I$(JAVA_HOME)/include/openbsd \
|
||||
+ -I/usr/X11R6/include \
|
||||
+ -fpic \
|
||||
+ ${SWT_PTR_CFLAGS}
|
||||
+LIBS = -shared -fpic
|
||||
+
|
||||
+
|
||||
+all: make_swt make_atk make_gnome make_awt make_mozilla
|
||||
+
|
||||
+#
|
||||
+# SWT libs
|
||||
+#
|
||||
+make_swt: $(SWT_LIB) $(SWTPI_LIB)
|
||||
+
|
||||
+$(SWT_LIB): $(SWT_OBJECTS)
|
||||
+ $(LD) $(LIBS) -o $(SWT_LIB) $(SWT_OBJECTS)
|
||||
+
|
||||
+callback.o: callback.c callback.h
|
||||
+ $(CC) $(CFLAGS) $(EXTRACFLAGS) -c callback.c
|
||||
+
|
||||
+$(SWTPI_LIB): $(SWTPI_OBJECTS)
|
||||
+ $(LD) $(LIBS) $(GTKLIBS) -o $(SWTPI_LIB) $(SWTPI_OBJECTS)
|
||||
+
|
||||
+swt.o: swt.c swt.h
|
||||
+ $(CC) $(CFLAGS) $(EXTRACFLAGS) -c swt.c
|
||||
+os.o: os.c os.h swt.h os_custom.h
|
||||
+ $(CC) $(CFLAGS) $(EXTRACFLAGS) $(GTKCFLAGS) -c os.c
|
||||
+os_structs.o: os_structs.c os_structs.h os.h swt.h
|
||||
+ $(CC) $(CFLAGS) $(EXTRACFLAGS) $(GTKCFLAGS) -c os_structs.c
|
||||
+os_custom.o: os_custom.c os_structs.h os.h swt.h
|
||||
+ $(CC) $(CFLAGS) $(EXTRACFLAGS) $(GTKCFLAGS) -c os_custom.c
|
||||
+os_stats.o: os_stats.c os_structs.h os.h os_stats.h swt.h
|
||||
+ $(CC) $(CFLAGS) $(EXTRACFLAGS) $(GTKCFLAGS) -c os_stats.c
|
||||
+
|
||||
+#
|
||||
+# AWT lib
|
||||
+#
|
||||
+make_awt:$(AWT_LIB)
|
||||
+
|
||||
+$(AWT_LIB): $(AWT_OBJECTS)
|
||||
+ $(LD) $(AWT_LIBS) -o $(AWT_LIB) $(AWT_OBJECTS)
|
||||
+
|
||||
+swt_awt.o: swt_awt.c
|
||||
+ $(CC) $(CFLAGS) $(EXTRACFLAGS) -c swt_awt.c
|
||||
+#
|
||||
+# Atk lib
|
||||
+#
|
||||
+make_atk: $(ATK_LIB)
|
||||
+
|
||||
+$(ATK_LIB): $(ATK_OBJECTS)
|
||||
+ $(LD) $(LIBS) $(ATKLIBS) -o $(ATK_LIB) $(ATK_OBJECTS)
|
||||
+
|
||||
+atk.o: atk.c atk.h
|
||||
+ $(CC) $(CFLAGS) $(EXTRACFLAGS) $(ATKCFLAGS) -c atk.c
|
||||
+atk_structs.o: atk_structs.c atk_structs.h atk.h
|
||||
+ $(CC) $(CFLAGS) $(EXTRACFLAGS) $(ATKCFLAGS) -c atk_structs.c
|
||||
+atk_custom.o: atk_custom.c atk_structs.h atk.h
|
||||
+ $(CC) $(CFLAGS) $(EXTRACFLAGS) $(ATKCFLAGS) -c atk_custom.c
|
||||
+atk_stats.o: atk_stats.c atk_structs.h atk_stats.h atk.h
|
||||
+ $(CC) $(CFLAGS) $(EXTRACFLAGS) $(ATKCFLAGS) -c atk_stats.c
|
||||
+
|
||||
+#
|
||||
+# Gnome lib
|
||||
+#
|
||||
+make_gnome: $(GNOME_LIB)
|
||||
+
|
||||
+$(GNOME_LIB): $(GNOME_OBJECTS)
|
||||
+ $(LD) $(LIBS) $(GNOMELIBS) -o $(GNOME_LIB) $(GNOME_OBJECTS)
|
||||
+
|
||||
+gnome.o: gnome.c
|
||||
+ $(CC) $(CFLAGS) $(EXTRACFLAGS) $(GNOMECFLAGS) -c gnome.c
|
||||
+
|
||||
+gnome_structs.o: gnome_structs.c
|
||||
+ $(CC) $(CFLAGS) $(EXTRACFLAGS) $(GNOMECFLAGS) -c gnome_structs.c
|
||||
+
|
||||
+gnome_stats.o: gnome_stats.c gnome_stats.h
|
||||
+ $(CC) $(CFLAGS) $(EXTRACFLAGS) $(GNOMECFLAGS) -c gnome_stats.c
|
||||
+
|
||||
+#
|
||||
+# Mozilla lib
|
||||
+#
|
||||
+make_mozilla:$(MOZILLA_LIB)
|
||||
+
|
||||
+$(MOZILLA_LIB): $(MOZILLA_OBJECTS)
|
||||
+ $(CXX) -o $(MOZILLA_LIB) $(MOZILLA_OBJECTS) $(MOZILLALIBS)
|
||||
+
|
||||
+xpcom.o: xpcom.cpp
|
||||
+ $(CXX) $(CFLAGS) $(CXXFLAGS) $(MOZILLACFLAGS) -c xpcom.cpp
|
||||
+
|
||||
+#
|
||||
+# Install
|
||||
+#
|
||||
+install: all
|
||||
+ cp *.so.1.0 $(OUTPUT_DIR)
|
||||
+
|
||||
+#
|
||||
+# Clean
|
||||
+#
|
||||
+clean:
|
||||
+ rm -f *.o *.so.1.0
|
@ -1,19 +0,0 @@
|
||||
$OpenBSD: patch-plugins_org_eclipse_swt_Eclipse_SWT_PI_motif_library_build_sh,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
--- plugins/org.eclipse.swt/Eclipse SWT PI/motif/library/build.sh.orig Thu Sep 16 11:48:36 2004
|
||||
+++ plugins/org.eclipse.swt/Eclipse SWT PI/motif/library/build.sh Tue Nov 23 21:11:31 2004
|
||||
@@ -30,6 +30,15 @@ case $OS in
|
||||
fi
|
||||
;;
|
||||
|
||||
+ "OpenBSD")
|
||||
+ if [ "$1" = "clean" ]; then
|
||||
+ gmake -f make_openbsd.mak clean
|
||||
+ else
|
||||
+ echo "Building OpenBSD version of SWT, Mozilla, GNOME and KDE DLLs."
|
||||
+ gmake -f make_openbsd.mak ${1} ${2} ${3} ${4}
|
||||
+ fi
|
||||
+ ;;
|
||||
+
|
||||
"Linux")
|
||||
if [ "$1" = "clean" ]; then
|
||||
make -f make_linux.mak clean
|
@ -1,40 +0,0 @@
|
||||
$OpenBSD: patch-plugins_org_eclipse_swt_Eclipse_SWT_PI_motif_library_make_motif_xml,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
--- plugins/org.eclipse.swt/Eclipse SWT PI/motif/library/make_motif.xml.orig Tue Nov 23 21:11:31 2004
|
||||
+++ plugins/org.eclipse.swt/Eclipse SWT PI/motif/library/make_motif.xml Tue Nov 23 21:11:31 2004
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
-<project default="build_motif_linux_lib" basedir="../../..">
|
||||
+<project default="build_motif_openbsd_lib" basedir="../../..">
|
||||
|
||||
<target name="init_linux">
|
||||
<tstamp/>
|
||||
@@ -12,6 +12,16 @@
|
||||
<mkdir dir="${lib_destdir}" />
|
||||
</target>
|
||||
|
||||
+<target name="init_openbsd">
|
||||
+ <tstamp/>
|
||||
+ <property name="fragment_dir" value="${basedir}/../org.eclipse.swt.motif" />
|
||||
+ <property name="jar_destdir" value="${fragment_dir}/ws/openbsd" />
|
||||
+ <property name="lib_destdir" value="${fragment_dir}/os/openbsd/x86" />
|
||||
+ <property name="lib_extension" value=".so"/>
|
||||
+
|
||||
+ <mkdir dir="${lib_destdir}" />
|
||||
+</target>
|
||||
+
|
||||
<target name="init_aix">
|
||||
<tstamp/>
|
||||
<property name="fragment_dir" value="${basedir}/../org.eclipse.swt.motif" />
|
||||
@@ -65,6 +75,11 @@
|
||||
<!-- Build swt.so for motif linux -->
|
||||
<!-- Output .so for this platform into the org.eclipse.swt.motif/os directory -->
|
||||
<target name="build_motif_linux_lib" depends="init_linux,build_file_lib">
|
||||
+</target>
|
||||
+
|
||||
+<!-- Build swt.so for motif openbsd -->
|
||||
+<!-- Output .so for this platform into the org.eclipse.swt.motif/os directory -->
|
||||
+<target name="build_motif_openbsd_lib" depends="init_openbsd,build_file_lib">
|
||||
</target>
|
||||
|
||||
<!-- Build swt.so for aix ppc -->
|
@ -1,155 +0,0 @@
|
||||
$OpenBSD: patch-plugins_org_eclipse_swt_Eclipse_SWT_PI_motif_library_make_openbsd_mak,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
--- plugins/org.eclipse.swt/Eclipse SWT PI/motif/library/make_openbsd.mak.orig Tue Dec 21 15:52:20 2004
|
||||
+++ plugins/org.eclipse.swt/Eclipse SWT PI/motif/library/make_openbsd.mak Tue Dec 21 15:56:50 2004
|
||||
@@ -0,0 +1,151 @@
|
||||
+#*******************************************************************************
|
||||
+# Copyright (c) 2000, 2004 IBM Corporation and others.
|
||||
+# All rights reserved. This program and the accompanying materials
|
||||
+# are made available under the terms of the Common Public License v1.0
|
||||
+# which accompanies this distribution, and is available at
|
||||
+# http://www.eclipse.org/legal/cpl-v10.html
|
||||
+#
|
||||
+# Contributors:
|
||||
+# IBM Corporation - initial API and implementation
|
||||
+#*******************************************************************************
|
||||
+
|
||||
+# Makefile for creating SWT libraries on OpenBSD
|
||||
+
|
||||
+include make_common.mak
|
||||
+
|
||||
+SWT_VERSION=$(maj_ver)$(min_ver)
|
||||
+
|
||||
+# Define the installation directories for various products.
|
||||
+# JAVA_HOME - The JDK > 1.3
|
||||
+
|
||||
+# mozilla source distribution folder
|
||||
+#MOZILLA_HOME = /usr/local/mozilla
|
||||
+
|
||||
+# Define the various DLL (shared) libraries to be made.
|
||||
+
|
||||
+SWT_PREFIX = swt
|
||||
+WS_PREFIX = motif
|
||||
+SWT_LIB = lib$(SWT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so.1.0
|
||||
+SWT_OBJS = swt.o callback.o os.o os_structs.o os_custom.o os_stats.o
|
||||
+SWT_LIBS = -L$(PREFIX)/lib -lXm -L/usr/X11R6/lib \
|
||||
+ -rpath . -x -shared -lX11 -lm -lXext -lXt -lXp -lXinerama \
|
||||
+ -lXtst -liconv
|
||||
+CFLAGS = -O -s -DSWT_VERSION=$(SWT_VERSION) -DOPENBSD -DMOTIF -fpic -I./ \
|
||||
+ -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/bsd \
|
||||
+ -I$(JAVA_HOME)/include/openbsd -I$(PREFIX)/include \
|
||||
+ -I/usr/X11R6/include -DNO_CODESET
|
||||
+
|
||||
+GNOME_PREFIX = swt-gnome
|
||||
+GNOME_LIB = lib$(GNOME_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so.1.0
|
||||
+GNOME_OBJECTS= swt.o gnome.o gnome_structs.o gnome_stats.o
|
||||
+GNOME_CFLAGS = `pkg-config --cflags gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0`
|
||||
+GNOME_LIBS = -shared -fpic -fPIC `pkg-config --libs gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0`
|
||||
+
|
||||
+KDE_PREFIX = swt-kde
|
||||
+KDE_LIB = lib$(KDE_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so.1.0
|
||||
+KDE_OBJS = kde.o
|
||||
+KDE_LIBS = -L$(PREFIX)/lib -shared -lkdecore -lqt-mt
|
||||
+KDE_CFLAGS = -fno-rtti -c -O -I$(PREFIX)/include/X11/qt3 -I$(JAVA_HOME)/include \
|
||||
+ -I$(JAVA_HOME)/include/bsd \
|
||||
+ -I$(JAVA_HOME)/include/openbsd -I$(PREFIX)/include
|
||||
+
|
||||
+AWT_PREFIX = swt-awt
|
||||
+AWT_LIB = lib$(AWT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so.1.0
|
||||
+AWT_OBJS = swt_awt.o
|
||||
+AWT_LIBS = -L$(JAVA_HOME)/jre/lib/i386 -ljawt -shared
|
||||
+
|
||||
+GTK_PREFIX = swt-gtk
|
||||
+GTK_LIB = lib$(GTK_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so.1.0
|
||||
+GTK_OBJS = swt.o gtk.o
|
||||
+GTK_CFLAGS = `pkg-config --cflags gtk+-2.0`
|
||||
+GTK_LIBS = -x -shared `pkg-config --libs-only-L gtk+-2.0` `pkg-config --libs-only-l --libs-only-L gtk+-2.0`
|
||||
+
|
||||
+MOZILLA_PREFIX = swt-mozilla
|
||||
+MOZILLA_LIB = lib$(MOZILLA_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so.1.0
|
||||
+MOZILLA_OBJECTS= xpcom.o
|
||||
+MOZILLACFLAGS = -O \
|
||||
+ -fno-rtti \
|
||||
+ -Wall \
|
||||
+ -I./ \
|
||||
+ -I$(JAVA_HOME)/include \
|
||||
+ -I$(JAVA_HOME)/include/bsd \
|
||||
+ -I$(JAVA_HOME)/include/openbsd \
|
||||
+ -include $(MOZILLA_HOME)/include/mozilla-config.h \
|
||||
+ -I$(MOZILLA_HOME)/include \
|
||||
+ -I$(MOZILLA_HOME)/include/xpcom \
|
||||
+ -I$(MOZILLA_HOME)/include/string \
|
||||
+ -I$(MOZILLA_HOME)/include/nspr \
|
||||
+ -I$(MOZILLA_HOME)/include/embed_base \
|
||||
+ -I$(MOZILLA_HOME)/include/gfx
|
||||
+MOZILLALIBS = -L$(MOZILLA_HOME) -lgtkembedmoz -lxpcom
|
||||
+MOZILLALDFLAGS = -shared -fpic -s
|
||||
+
|
||||
+all: make_swt make_awt make_gnome make_gtk make_kde
|
||||
+
|
||||
+kde: make_kde
|
||||
+
|
||||
+make_swt: $(SWT_LIB)
|
||||
+
|
||||
+$(SWT_LIB): $(SWT_OBJS)
|
||||
+ $(LD) -o $@ $(SWT_OBJS) $(SWT_LIBS)
|
||||
+
|
||||
+swt.o: swt.c swt.h
|
||||
+ $(CC) $(CFLAGS) -c swt.c
|
||||
+os.o: os.c os.h swt.h os_custom.h
|
||||
+ $(CC) $(CFLAGS) -c os.c
|
||||
+os_structs.o: os_structs.c os_structs.h os.h swt.h
|
||||
+ $(CC) $(CFLAGS) -c os_structs.c
|
||||
+os_custom.o: os_custom.c os_structs.h os.h swt.h
|
||||
+ $(CC) $(CFLAGS) -c os_custom.c
|
||||
+os_stats.o: os_stats.c os_structs.h os.h os_stats.h swt.h
|
||||
+ $(CC) $(CFLAGS) -c os_stats.c
|
||||
+
|
||||
+make_gnome: $(GNOME_LIB)
|
||||
+
|
||||
+$(GNOME_LIB): $(GNOME_OBJECTS)
|
||||
+ $(CC) -o $@ $(GNOME_OBJECTS) $(GNOME_LIBS)
|
||||
+
|
||||
+gnome.o: gnome.c
|
||||
+ $(CC) -O -Wall -DSWT_VERSION=$(SWT_VERSION) -DOPENBSD -DGTK -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/bsd -I$(JAVA_HOME)/include/openbsd $(GNOME_CFLAGS) -c -o gnome.o gnome.c
|
||||
+
|
||||
+gnome_structs.o: gnome_structs.c
|
||||
+ $(CC) -O -Wall -DSWT_VERSION=$(SWT_VERSION) -DOPENBSD -DGTK -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/bsd -I$(JAVA_HOME)/include/openbsd $(GNOME_CFLAGS) -c -o gnome_structs.o gnome_structs.c
|
||||
+
|
||||
+gnome_stats.o: gnome_stats.c
|
||||
+ $(CC) -O -Wall -DSWT_VERSION=$(SWT_VERSION) -DOPENBSD -DGTK -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/bsd -I$(JAVA_HOME)/include/openbsd $(GNOME_CFLAGS) -c -o gnome_stats.o gnome_stats.c
|
||||
+
|
||||
+make_kde: $(KDE_LIB)
|
||||
+
|
||||
+$(KDE_LIB): $(KDE_OBJS)
|
||||
+ ld -o $@ $(KDE_OBJS) $(KDE_LIBS)
|
||||
+
|
||||
+$(KDE_OBJS): kde.cc
|
||||
+ $(CXX) $(KDE_CFLAGS) -o kde.o kde.cc
|
||||
+
|
||||
+make_awt: $(AWT_LIB)
|
||||
+
|
||||
+$(AWT_LIB): $(AWT_OBJS)
|
||||
+ ld -o $@ $(AWT_OBJS) $(AWT_LIBS)
|
||||
+
|
||||
+make_gtk: $(GTK_LIB)
|
||||
+
|
||||
+$(GTK_LIB): $(GTK_OBJS)
|
||||
+ ld -o $@ $(GTK_OBJS) $(GTK_LIBS)
|
||||
+
|
||||
+gtk.o: gtk.c
|
||||
+ $(CC) $(CFLAGS) $(GTK_CFLAGS) -c -o gtk.o gtk.c
|
||||
+
|
||||
+#
|
||||
+# Mozilla lib
|
||||
+#
|
||||
+make_mozilla:$(MOZILLA_LIB)
|
||||
+
|
||||
+$(MOZILLA_LIB): $(MOZILLA_OBJECTS)
|
||||
+ $(CXX) $(MOZILLALDFLAGS) -o $(MOZILLA_LIB) $(MOZILLA_OBJECTS) $(MOZILLALIBS)
|
||||
+
|
||||
+xpcom.o: xpcom.cpp
|
||||
+ $(CXX) $(MOZILLACFLAGS) -c xpcom.cpp
|
||||
+
|
||||
+clean:
|
||||
+ rm -f *.so.1.0 *.o
|
||||
+
|
@ -1,19 +0,0 @@
|
||||
$OpenBSD: patch-plugins_org_eclipse_swt_Eclipse_SWT_PI_motif_org_eclipse_swt_internal_motif_OS_java,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
--- plugins/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/OS.java.orig Thu Sep 16 11:48:03 2004
|
||||
+++ plugins/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/OS.java Tue Nov 23 21:11:31 2004
|
||||
@@ -36,7 +36,6 @@ public class OS {
|
||||
IsAIX = isAIX; IsSunOS = isSunOS; IsLinux = isLinux; IsHPUX = isHPUX;
|
||||
IsDBLocale = OS.MB_CUR_MAX () != 1;
|
||||
}
|
||||
- public static final int CODESET = CODESET ();
|
||||
public static final int LC_CTYPE = LC_CTYPE ();
|
||||
|
||||
static final int RESOURCE_LENGTH = 1024 * 3;
|
||||
@@ -607,7 +606,6 @@ public class OS {
|
||||
/** Natives */
|
||||
public static final synchronized native int Call(int proc, int arg1, int arg2);
|
||||
public static final synchronized native int ConnectionNumber(int display);
|
||||
-public static final native int CODESET();
|
||||
public static final native boolean FD_ISSET(int fd, byte[] fd_set);
|
||||
public static final native void FD_SET(int fd, byte[] fd_set);
|
||||
public static final native void FD_ZERO(byte[] fd_set);
|
@ -1,27 +0,0 @@
|
||||
$OpenBSD: patch-plugins_org_eclipse_swt_Eclipse_SWT_motif_org_eclipse_swt_graphics_Font_java,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
--- plugins/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Font.java.orig Thu Sep 16 11:47:01 2004
|
||||
+++ plugins/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Font.java Tue Nov 23 21:11:32 2004
|
||||
@@ -234,10 +234,7 @@ static String getCodePage (int xDisplay,
|
||||
|
||||
/* Get code page for the font set locale */
|
||||
OS.setlocale (OS.LC_CTYPE, locale);
|
||||
- int codesetPtr = OS.nl_langinfo (OS.CODESET);
|
||||
- length = OS.strlen (codesetPtr);
|
||||
- byte [] codeset = new byte [length];
|
||||
- OS.memmove (codeset, codesetPtr, length);
|
||||
+ byte [] codeset = "iso8859_1".getBytes();
|
||||
codePage = new String(Converter.mbcsToWcs(null, codeset));
|
||||
|
||||
/* Reset the locale */
|
||||
@@ -471,10 +468,7 @@ void init (Device device, FontData[] fds
|
||||
if (fontListEntry != 0) {
|
||||
handle = OS.XmFontListAppendEntry(0, fontListEntry);
|
||||
OS.XmFontListEntryFree(new int[]{fontListEntry});
|
||||
- int codesetPtr = OS.nl_langinfo(OS.CODESET);
|
||||
- int length = OS.strlen(codesetPtr);
|
||||
- buffer = new byte[length];
|
||||
- OS.memmove(buffer, codesetPtr, length);
|
||||
+ buffer = "iso8859_1".getBytes();
|
||||
codePage = new String(Converter.mbcsToWcs(null, buffer));
|
||||
} else {
|
||||
Font systemFont = device.systemFont;
|
@ -1,27 +0,0 @@
|
||||
$OpenBSD: patch-plugins_org_eclipse_swt_Eclipse_SWT_motif_org_eclipse_swt_internal_Converter_java,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
--- plugins/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/internal/Converter.java.orig Thu Sep 16 11:49:53 2004
|
||||
+++ plugins/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/internal/Converter.java Tue Nov 23 21:11:32 2004
|
||||
@@ -58,22 +58,7 @@ public final class Converter {
|
||||
UTF8 = getAsciiBytes("UTF-8");
|
||||
}
|
||||
|
||||
- int length, item = OS.nl_langinfo (OS.CODESET);
|
||||
- if (item != 0 && (length = OS.strlen (item)) > 0) {
|
||||
- byte [] buffer = new byte [length];
|
||||
- OS.memmove (buffer, item, length);
|
||||
- CodePage = new String (buffer);
|
||||
- if (OS.IsSunOS) {
|
||||
- if (length > 3 && CodePage.indexOf ("ISO") == 0) {
|
||||
- CodePage = CodePage.substring (3, length);
|
||||
- }
|
||||
- }
|
||||
- } else {
|
||||
- if (OS.IsLinux) CodePage = "ISO-8859-1";
|
||||
- else if (OS.IsAIX) CodePage = "ISO8859-1";
|
||||
- else if (OS.IsSunOS) CodePage = "8859-1";
|
||||
- else CodePage = "iso8859_1";
|
||||
- }
|
||||
+ CodePage = "iso8859_1";
|
||||
|
||||
/*
|
||||
* The buffers can hold up to 512 unicode characters when converting
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-plugins_org_eclipse_swt_motif_build_xml,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
--- plugins/org.eclipse.swt.motif/build.xml.orig Tue Oct 19 17:26:09 2004
|
||||
+++ plugins/org.eclipse.swt.motif/build.xml Tue Oct 19 17:26:48 2004
|
||||
@@ -10,7 +10,7 @@
|
||||
<property name="build.result.folder" value="${basedir}"/>
|
||||
<property name="plugindir" value="../org.eclipse.swt"/>
|
||||
<property name="destination" value="${basedir}"/>
|
||||
- <property name="os" value="linux"/>
|
||||
+ <property name="os" value="${os}"/>
|
||||
<property name="ws" value="motif"/>
|
||||
<property name="arch" value="x86"/>
|
||||
<property name="bootclasspath" value=""/>
|
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-plugins_org_eclipse_update_core_openbsd_src_build_xml,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
--- plugins/org.eclipse.update.core.openbsd/src/build.xml.orig Tue Dec 21 14:15:54 2004
|
||||
+++ plugins/org.eclipse.update.core.openbsd/src/build.xml Tue Dec 21 14:20:30 2004
|
||||
$OpenBSD: patch-plugins_org_eclipse_update_core_openbsd_src_build_xml,v 1.2 2005/04/19 13:56:47 kurt Exp $
|
||||
--- plugins/org.eclipse.update.core.openbsd/src/build.xml.orig Mon Apr 18 16:03:27 2005
|
||||
+++ plugins/org.eclipse.update.core.openbsd/src/build.xml Mon Apr 18 17:11:06 2005
|
||||
@@ -6,12 +6,12 @@
|
||||
<property name="eclipse-home" value="${basedir}/../.."/>
|
||||
<property name="jdk-path" value="${java.home}"/>
|
||||
|
@ -1,18 +0,0 @@
|
||||
$OpenBSD: patch-plugins_platform-launcher_library_gtk_build_csh,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
--- plugins/platform-launcher/library/gtk/build.csh.orig Thu Sep 16 11:48:41 2004
|
||||
+++ plugins/platform-launcher/library/gtk/build.csh Tue Oct 19 17:14:02 2004
|
||||
@@ -72,11 +72,11 @@ setenv DEFAULT_WS "$defaultWS"
|
||||
# If the OS is supported (a makefile exists)
|
||||
if ("$makefile" != "") then
|
||||
if ("$extraArgs" != "") then
|
||||
- make -f $makefile $extraArgs
|
||||
+ gmake -f $makefile $extraArgs
|
||||
else
|
||||
echo "Building $OS launcher. Defaults: -os $DEFAULT_OS -arch $DEFAULT_OS_ARCH -ws $DEFAULT_WS"
|
||||
- make -f $makefile clean
|
||||
- make -f $makefile all
|
||||
+ gmake -f $makefile clean
|
||||
+ gmake -f $makefile all
|
||||
endif
|
||||
else
|
||||
echo "Unknown OS ($OS) -- build aborted"
|
@ -0,0 +1,30 @@
|
||||
--- plugins/platform-launcher/library/gtk/build.sh.orig Fri Mar 11 08:58:57 2005
|
||||
+++ plugins/platform-launcher/library/gtk/build.sh Mon Apr 18 09:34:43 2005
|
||||
@@ -54,6 +54,12 @@ case $OS in
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
+ "OpenBSD")
|
||||
+ makefile="make_linux.mak" # ** reuses make_linux.mak **
|
||||
+ defaultOS="openbsd"
|
||||
+ OUTPUT_DIR=../../bin/openbsd/gtk
|
||||
+ defaultOSArch="x86"
|
||||
+ ;;
|
||||
"SunOS")
|
||||
makefile="make_solaris.mak"
|
||||
defaultOS="solaris"
|
||||
@@ -103,11 +109,11 @@ export OUTPUT_DIR PROGRAM_OUTPUT PROGRAM
|
||||
# If the OS is supported (a makefile exists)
|
||||
if [ "$makefile" != "" ]; then
|
||||
if [ "$extraArgs" != "" ]; then
|
||||
- make -f $makefile $extraArgs
|
||||
+ gmake -f $makefile $extraArgs
|
||||
else
|
||||
echo "Building $OS launcher. Defaults: -os $DEFAULT_OS -arch $DEFAULT_OS_ARCH -ws $DEFAULT_WS"
|
||||
- make -f $makefile clean
|
||||
- make -f $makefile all
|
||||
+ gmake -f $makefile clean
|
||||
+ gmake -f $makefile all
|
||||
fi
|
||||
else
|
||||
echo "Unknown OS ($OS) -- build aborted"
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-plugins_platform-launcher_library_gtk_make_gtk_mak,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
--- plugins/platform-launcher/library/gtk/make_gtk.mak.orig Thu Sep 16 11:48:42 2004
|
||||
+++ plugins/platform-launcher/library/gtk/make_gtk.mak Tue Oct 19 17:14:44 2004
|
||||
@@ -26,7 +26,7 @@
|
||||
# Define the object modules to be compiled and flags.
|
||||
OBJS = eclipse.o eclipseUtil.o eclipseShm.o eclipseGtk.o
|
||||
EXEC = $(PROGRAM_OUTPUT)
|
||||
-LIBS = `pkg-config ?libs-only-L gtk+-2.0` -lgtk-x11-2.0 -lgdk_pixbuf-2.0
|
||||
+LIBS = `pkg-config --libs-only-L gtk+-2.0` -lgtk-x11-2.0 -lgdk_pixbuf-2.0
|
||||
|
||||
CFLAGS = -O -s \
|
||||
-DMOZILLA_FIX \
|
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-plugins_platform-launcher_library_gtk_make_linux_mak,v 1.1 2005/04/19 13:56:47 kurt Exp $
|
||||
--- plugins/platform-launcher/library/gtk/make_linux.mak.orig Mon Apr 18 16:48:27 2005
|
||||
+++ plugins/platform-launcher/library/gtk/make_linux.mak Mon Apr 18 16:48:45 2005
|
||||
@@ -27,7 +27,7 @@
|
||||
OBJS = eclipse.o eclipseUtil.o eclipseShm.o eclipseGtk.o
|
||||
EXEC = $(PROGRAM_OUTPUT)
|
||||
LIBS = `pkg-config --libs-only-L gtk+-2.0` -lgtk-x11-2.0 -lgdk_pixbuf-2.0
|
||||
-CFLAGS = -O -s \
|
||||
+CFLAGS+= -s \
|
||||
-fpic \
|
||||
-DMOZILLA_FIX \
|
||||
-DPROGRAM_NAME="\"$(PROGRAM_NAME)\"" \
|
@ -1,32 +0,0 @@
|
||||
$OpenBSD: patch-plugins_platform-launcher_library_motif_build_csh,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
--- plugins/platform-launcher/library/motif/build.csh.orig Thu Sep 16 11:48:26 2004
|
||||
+++ plugins/platform-launcher/library/motif/build.csh Tue Oct 19 17:15:54 2004
|
||||
@@ -48,6 +48,13 @@ switch ($OS )
|
||||
set defaultWS = "motif"
|
||||
breaksw
|
||||
|
||||
+ case OpenBSD:
|
||||
+ set makefile = "make_openbsd.mak"
|
||||
+ set defaultOS = "openbsd"
|
||||
+ set defaultOSArch = "x86"
|
||||
+ set defaultWS = "motif"
|
||||
+ breaksw
|
||||
+
|
||||
case Linux:
|
||||
set makefile = "make_linux.mak"
|
||||
set defaultOS = "linux"
|
||||
@@ -120,11 +127,11 @@ setenv DEFAULT_WS "$defaultWS"
|
||||
# If the OS is supported (a makefile exists)
|
||||
if ("$makefile" != "") then
|
||||
if ("$extraArgs" != "") then
|
||||
- make -f $makefile $extraArgs
|
||||
+ gmake -f $makefile $extraArgs
|
||||
else
|
||||
echo "Building $OS launcher. Defaults: -os $DEFAULT_OS -arch $DEFAULT_OS_ARCH -ws $DEFAULT_WS"
|
||||
- make -f $makefile clean
|
||||
- make -f $makefile all
|
||||
+ gmake -f $makefile clean
|
||||
+ gmake -f $makefile all
|
||||
endif
|
||||
else
|
||||
echo "Unknown OS ($OS) -- build aborted"
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-plugins_platform-launcher_library_motif_make_linux_mak,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
--- plugins/platform-launcher/library/motif/make_linux.mak.orig Thu Sep 16 11:49:35 2004
|
||||
+++ plugins/platform-launcher/library/motif/make_linux.mak Tue Oct 19 17:17:37 2004
|
||||
@@ -21,7 +21,7 @@
|
||||
# X11_HOME - X11 includes and libraries
|
||||
# MOTIF_HOME - Motif include and libraries if not the same as X11_HOME
|
||||
X11_HOME = /usr/X11R6
|
||||
-MOTIF_HOME = /bluebird/teamswt/swt-builddir/motif21
|
||||
+MOTIF_HOME = $(X11_HOME)
|
||||
|
||||
# Define the object modules to be compiled and flags.
|
||||
OBJS = eclipse.o eclipseUtil.o eclipseShm.o eclipseMotif.o \
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-plugins_platform-launcher_library_motif_make_openbsd_mak,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
--- plugins/platform-launcher/library/motif/make_openbsd.mak.orig Tue Dec 21 16:46:45 2004
|
||||
+++ plugins/platform-launcher/library/motif/make_openbsd.mak Tue Dec 21 16:53:14 2004
|
||||
@@ -21,7 +21,7 @@
|
||||
# X11_HOME - X11 includes and libraries
|
||||
# MOTIF_HOME - Motif include and libraries if not the same as X11_HOME
|
||||
X11_HOME = /usr/X11R6
|
||||
-MOTIF_HOME = /bluebird/teamswt/swt-builddir/motif21
|
||||
+MOTIF_HOME = $(PREFIX)
|
||||
|
||||
# Define the object modules to be compiled and flags.
|
||||
OBJS = eclipse.o eclipseUtil.o eclipseShm.o eclipseMotif.o \
|
@ -8,8 +8,3 @@ Eclipse Platform. PDE adds a number of views and editors that make it
|
||||
easier to build plug-ins for Eclipse. The Eclipse Platform together
|
||||
with JDT and PDE form the Eclipse SDK, a complete development
|
||||
environment for Eclipse-based tools, and for developing Eclipse itself.
|
||||
|
||||
Flavors:
|
||||
gtk2 Uses gtk look and feel (default).
|
||||
motif Uses motif look and feel. However sill requires the
|
||||
gtk2 lib depends.
|
||||
|
@ -1 +0,0 @@
|
||||
Provides eclipse integration with the kde desktop.
|
@ -1,6 +0,0 @@
|
||||
@comment $OpenBSD: PFRAG.gtk2,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
@conflict eclipse-sdk-motif-*
|
||||
eclipse/plugins/org.eclipse.platform.source.openbsd.${ECLIPSE_WS}.x86_${ECLIPSE_VER}/src/org.eclipse.swt.${ECLIPSE_WS}_${ECLIPSE_VER}/ws/${ECLIPSE_WS}/swt-pisrc.zip
|
||||
@lib eclipse/plugins/org.eclipse.swt.${ECLIPSE_WS}_${ECLIPSE_VER}/os/openbsd/x86/libswt-atk-${ECLIPSE_WS}-${ECLIPSE_BUILD}.so.1.0
|
||||
@lib eclipse/plugins/org.eclipse.swt.${ECLIPSE_WS}_${ECLIPSE_VER}/os/openbsd/x86/libswt-pi-${ECLIPSE_WS}-${ECLIPSE_BUILD}.so.1.0
|
||||
eclipse/plugins/org.eclipse.swt.${ECLIPSE_WS}_${ECLIPSE_VER}/ws/${ECLIPSE_WS}/swt-pi.jar
|
@ -1,6 +0,0 @@
|
||||
@comment $OpenBSD: PFRAG.motif,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
@conflict eclipse-sdk-gtk2-*
|
||||
eclipse/plugins/org.eclipse.platform.source.openbsd.${ECLIPSE_WS}.x86_${ECLIPSE_VER}/src/org.eclipse.swt.${ECLIPSE_WS}_${ECLIPSE_VER}/ws/${ECLIPSE_WS}/swt-gtksrc.zip
|
||||
@lib eclipse/plugins/org.eclipse.swt.${ECLIPSE_WS}_${ECLIPSE_VER}/os/openbsd/x86/libswt-gtk-${ECLIPSE_WS}-${ECLIPSE_BUILD}.so.1.0
|
||||
eclipse/plugins/org.eclipse.swt.${ECLIPSE_WS}_${ECLIPSE_VER}/permissions.properties
|
||||
eclipse/plugins/org.eclipse.swt.${ECLIPSE_WS}_${ECLIPSE_VER}/ws/${ECLIPSE_WS}/swt-gtk.jar
|
@ -1,5 +1,7 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2005/02/04 17:18:10 kurt Exp $
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.2 2005/04/19 13:56:47 kurt Exp $
|
||||
@lib eclipse/plugins/org.eclipse.core.resources.openbsd_${ECLIPSE_COREVER}/os/openbsd/x86/libcore_2_1_0b.so.1.0
|
||||
@lib eclipse/plugins/org.eclipse.swt.${ECLIPSE_WS}_${ECLIPSE_VER}/os/openbsd/x86/libswt-awt-${ECLIPSE_WS}-${ECLIPSE_BUILD}.so.1.0
|
||||
@lib eclipse/plugins/org.eclipse.swt.${ECLIPSE_WS}_${ECLIPSE_VER}/os/openbsd/x86/libswt-${ECLIPSE_WS}-${ECLIPSE_BUILD}.so.1.0
|
||||
@lib eclipse/plugins/org.eclipse.update.core.openbsd_${ECLIPSE_VER}/os/openbsd/x86/libupdate.so.1.0
|
||||
@lib eclipse/plugins/org.eclipse.swt.gtk_${ECLIPSE_VER}/os/openbsd/x86/libswt-atk-gtk-${ECLIPSE_BUILD}.so.1.0
|
||||
@lib eclipse/plugins/org.eclipse.swt.gtk_${ECLIPSE_VER}/os/openbsd/x86/libswt-awt-gtk-${ECLIPSE_BUILD}.so.1.0
|
||||
@lib eclipse/plugins/org.eclipse.swt.gtk_${ECLIPSE_VER}/os/openbsd/x86/libswt-gtk-${ECLIPSE_BUILD}.so.1.0
|
||||
@lib eclipse/plugins/org.eclipse.swt.gtk_${ECLIPSE_VER}/os/openbsd/x86/libswt-pi-gtk-${ECLIPSE_BUILD}.so.1.0
|
||||
@lib eclipse/plugins/org.eclipse.update.core.openbsd_3.0.1/os/openbsd/x86/libupdate.so.1.0
|
||||
|
@ -1,2 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared-gnome,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
@lib eclipse/plugins/org.eclipse.swt.${ECLIPSE_WS}_${ECLIPSE_VER}/os/openbsd/x86/libswt-gnome-${ECLIPSE_WS}-${ECLIPSE_BUILD}.so.1.0
|
||||
@comment $OpenBSD: PFRAG.shared-gnome,v 1.2 2005/04/19 13:56:47 kurt Exp $
|
||||
@lib eclipse/plugins/org.eclipse.swt.gtk_${ECLIPSE_VER}/os/openbsd/x86/libswt-gnome-gtk-${ECLIPSE_BUILD}.so.1.0
|
||||
|
@ -1,2 +0,0 @@
|
||||
@comment $OpenBSD: PFRAG.shared-kde,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
@lib eclipse/plugins/org.eclipse.swt.${ECLIPSE_WS}_${ECLIPSE_VER}/os/openbsd/x86/libswt-kde-${ECLIPSE_WS}-${ECLIPSE_BUILD}.so.1.0
|
@ -1,2 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared-mozilla,v 1.1.1.1 2005/02/04 17:18:13 kurt Exp $
|
||||
@lib eclipse/plugins/org.eclipse.swt.${ECLIPSE_WS}_${ECLIPSE_VER}/os/openbsd/x86/libswt-mozilla-${ECLIPSE_WS}-${ECLIPSE_BUILD}.so.1.0
|
||||
@comment $OpenBSD: PFRAG.shared-mozilla,v 1.2 2005/04/19 13:56:47 kurt Exp $
|
||||
@lib eclipse/plugins/org.eclipse.swt.gtk_${ECLIPSE_VER}/os/openbsd/x86/libswt-mozilla-gtk-${ECLIPSE_BUILD}.so.1.0
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,2 +0,0 @@
|
||||
@comment $OpenBSD: PLIST-kde,v 1.1.1.1 2005/02/04 17:18:10 kurt Exp $
|
||||
%%SHARED%%
|
Loading…
x
Reference in New Issue
Block a user