mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
Remove swt-devel
the swt* ports hasn't been touched since 2012 and are both way outdated, This version does not represent at all any development version anymore.
This commit is contained in:
parent
be24b00be9
commit
1d78be7c8b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=460248
1
MOVED
1
MOVED
@ -9890,3 +9890,4 @@ lang/gcl||2018-01-28|Has expired: Broken for more than 6 months
|
||||
lang/pike78||2018-01-28|Has expired: Broken for more than 6 months
|
||||
shells/ambit||2018-01-28|Has expired: Broken for more than 6 months
|
||||
mail/evolution-mapi||2018-01-28|Has expired: Depends on expiring mail/libmapi
|
||||
x11-toolkits/swt-devel||x11-toolkits/swt|2018-01-29|Not maintained, use regular version instead
|
||||
|
@ -261,7 +261,6 @@
|
||||
SUBDIR += slingshot
|
||||
SUBDIR += soqt
|
||||
SUBDIR += swt
|
||||
SUBDIR += swt-devel
|
||||
SUBDIR += termit
|
||||
SUBDIR += tile
|
||||
SUBDIR += tix
|
||||
|
@ -1,95 +0,0 @@
|
||||
# Created by: Robert C. Noland III <rnoland@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= swt
|
||||
DISTVERSION= 3.7.1
|
||||
PORTREVISION= 3
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= x11-toolkits devel java
|
||||
MASTER_SITES= ECLIPSE/R-${DISTVERSION}-201109091335
|
||||
PKGNAMESUFFIX= -devel
|
||||
DISTNAME= swt-${DISTVERSION}-${DIST_EXT}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Standard Widget Toolkit for Java
|
||||
|
||||
LICENSE= EPL
|
||||
|
||||
ONLY_FOR_ARCHS= i386 amd64 powerpc
|
||||
|
||||
SWT_VERSION= 3738
|
||||
OUTPUT_JAR= ${PORTNAME}${PKGNAMESUFFIX}.jar
|
||||
|
||||
USE_GL= yes
|
||||
USES= pkgconfig zip
|
||||
USE_GNOME= gtk20
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.6+
|
||||
JAVA_OS= native
|
||||
USE_ANT= yes
|
||||
USE_LDCONFIG= yes
|
||||
PLIST_SUB= BUILD=${SWT_VERSION}
|
||||
PLIST_FILES= %%JAVAJARDIR%%/${OUTPUT_JAR} \
|
||||
lib/libswt-atk-gtk-%%BUILD%%.so \
|
||||
lib/libswt-awt-gtk-%%BUILD%%.so \
|
||||
lib/libswt-gtk-%%BUILD%%.so \
|
||||
lib/libswt-glx-gtk-%%BUILD%%.so \
|
||||
lib/libswt-pi-gtk-%%BUILD%%.so
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
OPTIONS_DEFINE= CAIRO GNOMEVFS MOZILLA
|
||||
GNOMEVFS_DESC= Gnome VFS support
|
||||
MOZILLA_DESC= Gecko browser support
|
||||
|
||||
OPTIONS_DEFAULT=CAIRO GNOMEVFS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MCAIRO}
|
||||
LIB_DEPENDS+= libcairo.so:graphics/cairo
|
||||
PLIST_FILES+= lib/libswt-cairo-gtk-%%BUILD%%.so
|
||||
MAKE_CAIRO= make_cairo
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MGNOMEVFS}
|
||||
USE_GNOME+= gnomevfs2 libgnome libgnomeui
|
||||
PLIST_FILES+= lib/libswt-gnome-gtk-%%BUILD%%.so
|
||||
MAKE_GNOME= make_gnome
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MMOZILLA}
|
||||
USES= gecko
|
||||
BROKEN= Does now work with newer libxul
|
||||
PLIST_FILES+= lib/libswt-xulrunner-gtk-%%BUILD%%.so
|
||||
MAKE_MOZILLA= make_xulrunner
|
||||
.endif
|
||||
|
||||
MAKE_ENV+= MAKE_CAIRO=${MAKE_CAIRO} \
|
||||
MAKE_GNOME=${MAKE_GNOME} \
|
||||
MAKE_MOZILLA=${MAKE_MOZILLA} \
|
||||
JAVA_HOME=${JAVA_HOME}
|
||||
|
||||
.if (${ARCH} == "amd64")
|
||||
DIST_EXT= gtk-linux-x86_64
|
||||
.elif (${ARCH} == "powerpc")
|
||||
DIST_EXT= gtk-linux-ppc64
|
||||
.else
|
||||
DIST_EXT= gtk-linux-x86
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@(cd ${WRKSRC} && ${UNZIP_NATIVE_CMD} -qo *.zip)
|
||||
@${RM} ${WRKSRC}/*.o ${WRKSRC}/*.so ${WRKSRC}/*.jar
|
||||
|
||||
post-patch:
|
||||
@${SED} -E -e 's|%%ARCH%%|${ARCH}|' \
|
||||
-e 's|%%OUTPUT_JAR%%|${OUTPUT_JAR}|' \
|
||||
${FILESDIR}/build.xml > ${WRKSRC}/build.xml
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
|
||||
${INSTALL_LIB} ${WRKSRC}/libswt-*.so ${STAGEDIR}${PREFIX}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/${OUTPUT_JAR} ${STAGEDIR}${JAVAJARDIR}/
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,6 +0,0 @@
|
||||
SHA256 (swt-3.7.1-gtk-linux-x86_64.zip) = dd11d29a95391afed42ac3883c45a2bda7e4597c72c4b7b1291316e006139b75
|
||||
SIZE (swt-3.7.1-gtk-linux-x86_64.zip) = 5671004
|
||||
SHA256 (swt-3.7.1-gtk-linux-x86.zip) = 94279a6ab1aab248641daf728bca34f4eb2f4b812aaebc1973c775320cb96942
|
||||
SIZE (swt-3.7.1-gtk-linux-x86.zip) = 5374283
|
||||
SHA256 (swt-3.7.1-gtk-linux-ppc64.zip) = 11b0ea72554f0f75941b44ae76aaf70b326e1c0cda7328fbb5a83b682a5e653c
|
||||
SIZE (swt-3.7.1-gtk-linux-ppc64.zip) = 5687650
|
@ -1,67 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
Copyright (c) 2009 IBM Corporation and others.
|
||||
All rights reserved. This program and the accompanying materials
|
||||
are made available under the terms of the Eclipse Public License v1.0
|
||||
which accompanies this distribution, and is available at
|
||||
http://www.eclipse.org/legal/epl-v10.html
|
||||
|
||||
Contributors:
|
||||
IBM Corporation - initial API and implementation
|
||||
-->
|
||||
<project name="org.eclipse.swt.gtk.freebsd.%%ARCH%%" default="build.jar" basedir=".">
|
||||
|
||||
<target name="init">
|
||||
<property name="ws" value="gtk"/>
|
||||
<property name="os" value="freebsd"/>
|
||||
<property name="destination" value="${basedir}"/>
|
||||
<property name="javac.verbose" value="false"/>
|
||||
<property name="javac.debug" value="off"/>
|
||||
<property name="input.srcdir" value="${basedir}/org"/>
|
||||
<property name="output.jar" value="${basedir}/%%OUTPUT_JAR%%"/>
|
||||
<property name="output.classes" value="${basedir}/classes"/>
|
||||
</target>
|
||||
|
||||
<target name="all" depends="build.jar"/>
|
||||
|
||||
<target name="build.classes" depends="init">
|
||||
<mkdir dir="${output.classes}"/>
|
||||
<javac srcdir="${input.srcdir}" destdir="${output.classes}"
|
||||
debug="${javac.debug}" verbose="${javac.verbose}"
|
||||
source="1.4" target="1.4">
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<target name="build.jar" depends="build.nativeLibraries">
|
||||
<jar destfile="${output.jar}" index="false">
|
||||
<fileset dir="${output.classes}">
|
||||
<exclude name="**/*.java"/>
|
||||
<exclude name="**/*.o"/>
|
||||
<exclude name="**/*.so"/>
|
||||
<!-- exclude CVS archive -->
|
||||
<exclude name="**/CVS/**"/>
|
||||
</fileset>
|
||||
<fileset dir="${basedir}">
|
||||
<include name="**/version.txt"/>
|
||||
<include name="**/*.properties"/>
|
||||
</fileset>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
<target name="clean" depends="init">
|
||||
<delete dir="${output.classes}"/>
|
||||
<delete file="${output.jar}"/>
|
||||
<exec executable="sh" failonerror="true">
|
||||
<arg value="build.sh"/>
|
||||
<arg value="clean"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="build.nativeLibraries" depends="build.classes">
|
||||
<exec executable="sh" failonerror="true">
|
||||
<arg value="build.sh"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
</project>
|
@ -1,26 +0,0 @@
|
||||
--- ./org/eclipse/swt/internal/gtk/OS.java.orig Thu Dec 15 15:19:38 2005
|
||||
+++ ./org/eclipse/swt/internal/gtk/OS.java Mon Jan 23 23:51:20 2006
|
||||
@@ -20,18 +20,20 @@
|
||||
}
|
||||
|
||||
/** OS Constants */
|
||||
- public static final boolean IsAIX, IsSunOS, IsLinux, IsHPUX;
|
||||
+ public static final boolean IsAIX, IsSunOS, IsLinux, IsHPUX, IsFreeBSD;
|
||||
static {
|
||||
|
||||
/* Initialize the OS flags and locale constants */
|
||||
+ /* make bootstrap compatible with `uname -s` for FreeBSD */
|
||||
String osName = System.getProperty ("os.name");
|
||||
- boolean isAIX = false, isSunOS = false, isLinux = false, isHPUX = false;
|
||||
+ boolean isAIX = false, isSunOS = false, isLinux = false, isHPUX = false, isFreeBSD = false;
|
||||
if (osName.equals ("Linux")) isLinux = true;
|
||||
+ if (osName.equals ("FreeBSD")) isFreeBSD = true;
|
||||
if (osName.equals ("AIX")) isAIX = true;
|
||||
if (osName.equals ("Solaris")) isSunOS = true;
|
||||
if (osName.equals ("SunOS")) isSunOS = true;
|
||||
if (osName.equals ("HP-UX")) isHPUX = true;
|
||||
- IsAIX = isAIX; IsSunOS = isSunOS; IsLinux = isLinux; IsHPUX = isHPUX;
|
||||
+ IsAIX = isAIX; IsSunOS = isSunOS; IsLinux = isLinux; IsFreeBSD = isFreeBSD; IsHPUX = isHPUX;
|
||||
}
|
||||
|
||||
/** Constants */
|
@ -1,101 +0,0 @@
|
||||
--- build.sh.orig 2011-11-02 21:46:45.000000000 -0500
|
||||
+++ build.sh 2011-11-02 21:46:57.000000000 -0500
|
||||
@@ -54,6 +54,9 @@
|
||||
"FreeBSD")
|
||||
SWT_OS=freebsd
|
||||
MAKEFILE=make_freebsd.mak
|
||||
+ if uname -p > /dev/null 2>&1; then
|
||||
+ MODEL=`uname -p`
|
||||
+ fi
|
||||
;;
|
||||
*)
|
||||
SWT_OS=`uname -s | tr -s '[:upper:]' '[:lower:]'`
|
||||
@@ -92,10 +95,10 @@
|
||||
esac
|
||||
echo "Model is ${MODEL}"
|
||||
# For 64-bit CPUs, we have a switch
|
||||
-if [ ${MODEL} = 'x86_64' -o ${MODEL} = 'ppc64' -o ${MODEL} = 'ia64' -o ${MODEL} = 'sparc64' -o ${MODEL} = 's390x' ]; then
|
||||
+if [ ${MODEL} = 'x86_64' -o ${MODEL} = 'ppc64' -o ${MODEL} = 'ia64' -o ${MODEL} = 'sparc64' -o ${MODEL} = 's390x' -o ${MODEL} = 'amd64' ]; then
|
||||
SWT_PTR_CFLAGS=-DJNI64
|
||||
if [ -d /lib64 ]; then
|
||||
- XLIB64=-L/usr/X11R6/lib64
|
||||
+ XLIB64=-L${LOCALBASE}/lib64
|
||||
export XLIB64
|
||||
fi
|
||||
if [ ${MODEL} = 'ppc64' ]; then
|
||||
@@ -131,6 +134,7 @@
|
||||
export SWT_LFLAGS SWT_PTR_CFLAGS
|
||||
fi
|
||||
|
||||
+if [ x${MAKE_GNOME} = "xmake_gnome" ]; then
|
||||
if [ x`pkg-config --exists gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0 && echo YES` = "xYES" -a ${MODEL} != "sparc64" ]; then
|
||||
echo "libgnomeui-2.0 found, compiling SWT program support using GNOME"
|
||||
MAKE_GNOME=make_gnome
|
||||
@@ -138,7 +142,9 @@
|
||||
echo "libgnome-2.0 and libgnomeui-2.0 not found:"
|
||||
echo " *** SWT Program support for GNOME will not be compiled."
|
||||
fi
|
||||
+fi
|
||||
|
||||
+if [ x${MAKE_CAIRO} = "xmake_cairo" ]; then
|
||||
if [ x`pkg-config --exists cairo && echo YES` = "xYES" ]; then
|
||||
echo "Cairo found, compiling SWT support for the cairo graphics library."
|
||||
MAKE_CAIRO=make_cairo
|
||||
@@ -146,40 +152,28 @@
|
||||
echo "Cairo not found:"
|
||||
echo " *** Advanced graphics support using cairo will not be compiled."
|
||||
fi
|
||||
-
|
||||
-if [ -z "${MOZILLA_INCLUDES}" -a -z "${MOZILLA_LIBS}" -a ${MODEL} != 'sparc64' ]; then
|
||||
- if [ x`pkg-config --exists mozilla-xpcom && echo YES` = "xYES" ]; then
|
||||
- MOZILLA_INCLUDES=`pkg-config --cflags mozilla-xpcom`
|
||||
- MOZILLA_LIBS=`pkg-config --libs mozilla-xpcom`
|
||||
- export MOZILLA_INCLUDES
|
||||
- export MOZILLA_LIBS
|
||||
- MAKE_MOZILLA=make_mozilla
|
||||
- elif [ x`pkg-config --exists firefox-xpcom && echo YES` = "xYES" ]; then
|
||||
- MOZILLA_INCLUDES=`pkg-config --cflags firefox-xpcom`
|
||||
- MOZILLA_LIBS=`pkg-config --libs firefox-xpcom`
|
||||
- export MOZILLA_INCLUDES
|
||||
- export MOZILLA_LIBS
|
||||
- MAKE_MOZILLA=make_mozilla
|
||||
- elif [ x`pkg-config --exists libxul && echo YES` = "xYES" ]; then
|
||||
- XULRUNNER_INCLUDES=`pkg-config --cflags libxul`
|
||||
- XULRUNNER_LIBS=`pkg-config --libs libxul`
|
||||
- export XULRUNNER_INCLUDES
|
||||
- export XULRUNNER_LIBS
|
||||
- MAKE_MOZILLA=make_xulrunner
|
||||
- else
|
||||
- echo "None of the following libraries were found: Mozilla/XPCOM, Firefox/XPCOM, or XULRunner/XPCOM"
|
||||
- echo " *** Mozilla embedding support will not be compiled."
|
||||
- fi
|
||||
fi
|
||||
|
||||
-if [ x`pkg-config --exists webkit-1.0 && echo YES` = "xYES" ]; then
|
||||
- echo "WebKit found, compiling webkit embedded browser support."
|
||||
- MAKE_WEBKIT=make_webkit
|
||||
+if [ x${MAKE_MOZILLA} = "xmake_xulrunner" ]; then
|
||||
+ echo "Using libxul for gecko support"
|
||||
+ XULRUNNER_INCLUDES=`pkg-config --cflags libxul libxul-embedding`
|
||||
+ XULRUNNER_LIBS=`pkg-config --libs libxul libxul-embedding`
|
||||
+ export XULRUNNER_INCLUDES
|
||||
+ export XULRUNNER_LIBS
|
||||
else
|
||||
- echo "WebKit not found:"
|
||||
- echo " *** WebKit embedding support will not be compiled."
|
||||
+ echo "None of the following libraries were found: XULRunner/XPCOM"
|
||||
+ echo " *** Mozilla embedding support will not be compiled."
|
||||
fi
|
||||
|
||||
+#if [ x`pkg-config --exists webkit-1.0 && echo YES` = "xYES" ]; then
|
||||
+# echo "WebKit found, compiling webkit embedded browser support."
|
||||
+# MAKE_WEBKIT=make_webkit
|
||||
+#else
|
||||
+# echo "WebKit not found:"
|
||||
+ echo " *** WebKit embedding support will not be compiled, causes build to fail."
|
||||
+ echo " *** (temporary workaround until a better solution can be found)"
|
||||
+#fi
|
||||
+
|
||||
# Find AWT if available
|
||||
if [ -z "${AWT_LIB_PATH}" ]; then
|
||||
if [ -f ${JAVA_HOME}/jre/lib/${AWT_ARCH}/libjawt.* ]; then
|
@ -1,157 +0,0 @@
|
||||
--- make_freebsd.mak.orig 2011-02-10 17:29:10.000000000 +0000
|
||||
+++ make_freebsd.mak 2011-10-01 22:28:43.000000000 +0000
|
||||
@@ -9,7 +9,7 @@
|
||||
# IBM Corporation - initial API and implementation
|
||||
#*******************************************************************************
|
||||
|
||||
-# Makefile for creating SWT libraries for Linux GTK
|
||||
+# Makefile for creating SWT libraries for FreeBSD GTK
|
||||
|
||||
include make_common.mak
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
# 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/usr/X11R6/lib $(XLIB64) -lXtst
|
||||
+GTKLIBS = `pkg-config --libs-only-L gtk+-2.0 gthread-2.0` -lgtk-x11-2.0 -lgthread-2.0 -L$(LOCALBASE)/lib $(XLIB64) -lXtst
|
||||
|
||||
CDE_LIBS = -L$(CDE_HOME)/lib -R$(CDE_HOME)/lib -lXt -lX11 -lDtSvc
|
||||
|
||||
@@ -59,7 +59,8 @@
|
||||
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
|
||||
|
||||
-GLXLIBS = -L/usr/X11R6/lib -lGL -lGLU -lm
|
||||
+GLXCFLAGS = -I$(LOCALBASE)/include
|
||||
+GLXLIBS = -L$(LOCALBASE)/lib -lGL -lGLU -lm
|
||||
|
||||
# Uncomment for Native Stats tool
|
||||
#NATIVE_STATS = -DNATIVE_STATS
|
||||
@@ -78,6 +79,17 @@
|
||||
-I$(JAVA_HOME)/include/freebsd \
|
||||
${SWT_PTR_CFLAGS}
|
||||
MOZILLALFLAGS = -shared -Wl,--version-script=mozilla_exports -Bsymbolic
|
||||
+
|
||||
+MOZILLAEXCLUDES = -DNO__1XPCOMGlueShutdown \
|
||||
+ -DNO__1XPCOMGlueStartup \
|
||||
+ -DNO__1XPCOMGlueLoadXULFunctions \
|
||||
+ -DNO_memmove__ILorg_eclipse_swt_internal_mozilla_nsDynamicFunctionLoad_2I \
|
||||
+ -DNO_memmove__JLorg_eclipse_swt_internal_mozilla_nsDynamicFunctionLoad_2J \
|
||||
+ -DNO_nsDynamicFunctionLoad_1sizeof \
|
||||
+ -DNO__1Call__IIIIII \
|
||||
+ -DNO__1Call__JJJJJI \
|
||||
+ -DNO_nsDynamicFunctionLoad
|
||||
+XULRUNNEREXCLUDES = -DNO__1NS_1InitXPCOM2
|
||||
|
||||
SWT_OBJECTS = swt.o c.o c_stats.o callback.o
|
||||
CDE_OBJECTS = swt.o cde.o cde_structs.o cde_stats.o
|
||||
@@ -87,7 +99,7 @@
|
||||
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 xpcom_custom.o xpcom_structs.o xpcom_stats.o
|
||||
-XULRUNNER_OBJECTS = swt.o xpcomxul.o xpcomxul_custom.o xpcomxul_structs.o xpcomxul_stats.o xpcomxulglue.o xpcomxulglue_stats.o
|
||||
+XULRUNNER_OBJECTS = swt.o xpcomxul.o xpcomxul_custom.o xpcomxul_structs.o xpcomxul_stats.o
|
||||
XPCOMINIT_OBJECTS = swt.o xpcominit.o xpcominit_structs.o xpcominit_stats.o
|
||||
GLX_OBJECTS = swt.o glx.o glx_structs.o glx_stats.o
|
||||
|
||||
@@ -95,19 +107,20 @@
|
||||
-DSWT_VERSION=$(SWT_VERSION) \
|
||||
$(NATIVE_STATS) \
|
||||
-DFREEBSD -DGTK \
|
||||
+ -I$(LOCALBASE)/include \
|
||||
-I$(JAVA_HOME)/include \
|
||||
-I$(JAVA_HOME)/include/freebsd \
|
||||
-fPIC \
|
||||
${SWT_PTR_CFLAGS}
|
||||
LFLAGS = -shared -fPIC
|
||||
|
||||
-ifndef NO_STRIP
|
||||
- AWT_LFLAGS := $(AWT_LFLAGS) -s
|
||||
- MOZILLALFLAGS := $(MOZILLALFLAGS) -s
|
||||
- LFLAGS := $(LFLAGS) -s
|
||||
-endif
|
||||
+.ifndef NO_STRIP
|
||||
+AWT_LFLAGS := $(AWT_LFLAGS) -s
|
||||
+MOZILLALFLAGS := $(MOZILLALFLAGS) -s
|
||||
+LFLAGS := $(LFLAGS) -s
|
||||
+.endif
|
||||
|
||||
-all: make_swt make_atk make_gnome make_glx
|
||||
+all: make_swt make_atk make_glx
|
||||
|
||||
#
|
||||
# SWT libs
|
||||
@@ -161,7 +174,7 @@
|
||||
#
|
||||
# AWT lib
|
||||
#
|
||||
-make_awt:$(AWT_LIB)
|
||||
+make_awt: $(AWT_LIB)
|
||||
|
||||
$(AWT_LIB): $(AWT_OBJECTS)
|
||||
$(CC) $(AWT_LFLAGS) -o $(AWT_LIB) $(AWT_OBJECTS) $(AWT_LIBS)
|
||||
@@ -203,19 +216,19 @@
|
||||
#
|
||||
# Mozilla lib
|
||||
#
|
||||
-make_mozilla:$(MOZILLA_LIB)
|
||||
+make_mozilla: $(MOZILLA_LIB)
|
||||
|
||||
$(MOZILLA_LIB): $(MOZILLA_OBJECTS)
|
||||
$(CXX) -o $(MOZILLA_LIB) $(MOZILLA_OBJECTS) $(MOZILLALFLAGS) ${MOZILLA_LIBS}
|
||||
|
||||
xpcom.o: xpcom.cpp
|
||||
- $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom.cpp
|
||||
+ $(CXX) $(MOZILLACFLAGS) $(MOZILLAEXCLUDES) ${MOZILLA_INCLUDES} -c xpcom.cpp
|
||||
|
||||
xpcom_structs.o: xpcom_structs.cpp
|
||||
- $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom_structs.cpp
|
||||
+ $(CXX) $(MOZILLACFLAGS) $(MOZILLAEXCLUDES) $(MOZILLAEXCLUDES) ${MOZILLA_INCLUDES} -c xpcom_structs.cpp
|
||||
|
||||
xpcom_custom.o: xpcom_custom.cpp
|
||||
- $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom_custom.cpp
|
||||
+ $(CXX) $(MOZILLACFLAGS) $(MOZILLAEXCLUDES) ${MOZILLA_INCLUDES} -c xpcom_custom.cpp
|
||||
|
||||
xpcom_stats.o: xpcom_stats.cpp
|
||||
$(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom_stats.cpp
|
||||
@@ -223,33 +236,27 @@
|
||||
#
|
||||
# XULRunner lib
|
||||
#
|
||||
-make_xulrunner:$(XULRUNNER_LIB)
|
||||
+make_xulrunner: $(XULRUNNER_LIB)
|
||||
|
||||
$(XULRUNNER_LIB): $(XULRUNNER_OBJECTS)
|
||||
$(CXX) -o $(XULRUNNER_LIB) $(XULRUNNER_OBJECTS) $(MOZILLALFLAGS) ${XULRUNNER_LIBS}
|
||||
|
||||
xpcomxul.o: xpcom.cpp
|
||||
- $(CXX) -o xpcomxul.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcom.cpp
|
||||
+ $(CXX) -o xpcomxul.o $(MOZILLACFLAGS) $(XULRUNNEREXCLUDES) ${XULRUNNER_INCLUDES} -c xpcom.cpp
|
||||
|
||||
xpcomxul_structs.o: xpcom_structs.cpp
|
||||
- $(CXX) -o xpcomxul_structs.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcom_structs.cpp
|
||||
+ $(CXX) -o xpcomxul_structs.o $(MOZILLACFLAGS) $(XULRUNNEREXCLUDES) ${XULRUNNER_INCLUDES} -c xpcom_structs.cpp
|
||||
|
||||
xpcomxul_custom.o: xpcom_custom.cpp
|
||||
- $(CXX) -o xpcomxul_custom.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcom_custom.cpp
|
||||
+ $(CXX) -o xpcomxul_custom.o $(MOZILLACFLAGS) $(XULRUNNEREXCLUDES) ${XULRUNNER_INCLUDES} -c xpcom_custom.cpp
|
||||
|
||||
xpcomxul_stats.o: xpcom_stats.cpp
|
||||
- $(CXX) -o xpcomxul_stats.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcom_stats.cpp
|
||||
-
|
||||
-xpcomxulglue.o: xpcomglue.cpp
|
||||
- $(CXX) -o xpcomxulglue.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcomglue.cpp
|
||||
-
|
||||
-xpcomxulglue_stats.o: xpcomglue_stats.cpp
|
||||
- $(CXX) -o xpcomxulglue_stats.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcomglue_stats.cpp
|
||||
+ $(CXX) -o xpcomxul_stats.o $(MOZILLACFLAGS) $(XULRUNNEREXCLUDES) ${XULRUNNER_INCLUDES} -c xpcom_stats.cpp
|
||||
|
||||
#
|
||||
# XPCOMInit lib
|
||||
#
|
||||
-make_xpcominit:$(XPCOMINIT_LIB)
|
||||
+make_xpcominit: $(XPCOMINIT_LIB)
|
||||
|
||||
$(XPCOMINIT_LIB): $(XPCOMINIT_OBJECTS)
|
||||
$(CXX) -o $(XPCOMINIT_LIB) $(XPCOMINIT_OBJECTS) $(MOZILLALFLAGS) ${XULRUNNER_LIBS}
|
@ -1,14 +0,0 @@
|
||||
--- org/eclipse/swt/internal/C.java.orig 2009-07-11 08:21:27.000000000 -0500
|
||||
+++ org/eclipse/swt/internal/C.java 2009-07-11 08:22:21.000000000 -0500
|
||||
@@ -13,9 +13,9 @@
|
||||
public class C extends Platform {
|
||||
|
||||
static {
|
||||
- if ("Linux".equals (System.getProperty ("os.name")) && "motif".equals (Platform.PLATFORM)) { //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
|
||||
+ if ("FreeBSD".equals (System.getProperty ("os.name")) && "motif".equals (Platform.PLATFORM)) { //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
|
||||
try {
|
||||
- Library.loadLibrary ("libXm.so.2", false); //$NON-NLS-1$
|
||||
+ Library.loadLibrary ("libXm.so.3", false); //$NON-NLS-1$
|
||||
} catch (Throwable ex) {}
|
||||
}
|
||||
Library.loadLibrary ("swt"); //$NON-NLS-1$
|
@ -1,20 +0,0 @@
|
||||
--- os.c.orig 2008-12-31 16:16:39.000000000 -0500
|
||||
+++ os.c 2008-12-31 16:20:29.000000000 -0500
|
||||
@@ -18036,11 +18036,16 @@
|
||||
jintLong rc = 0;
|
||||
OS_NATIVE_ENTER(env, that, realpath_FUNC);
|
||||
if (arg0) if ((lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL)) == NULL) goto fail;
|
||||
- if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail;
|
||||
+ if (arg1) {
|
||||
+ if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail;
|
||||
+ } else
|
||||
+ lparg1 = malloc(PATH_MAX);
|
||||
rc = (jintLong)realpath((const char *)lparg0, (char *)lparg1);
|
||||
fail:
|
||||
if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0);
|
||||
if (arg0 && lparg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0);
|
||||
+ if (!arg1 && lparg1 && rc == 0)
|
||||
+ free(lparg1);
|
||||
OS_NATIVE_EXIT(env, that, realpath_FUNC);
|
||||
return rc;
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
SWT is the software component that delivers native widget functionality
|
||||
for the Eclipse platform in an operating system independent manner.
|
||||
|
||||
This port provides SWT without requiring a full download and build of
|
||||
Eclipse.
|
||||
|
||||
WWW: http://www.eclipse.org/swt/
|
Loading…
Reference in New Issue
Block a user