diff options
author | Paul de Vrieze <pauldv@gentoo.org> | 2011-05-05 14:38:57 +0000 |
---|---|---|
committer | Paul de Vrieze <pauldv@gentoo.org> | 2011-05-05 14:38:57 +0000 |
commit | a13f7e512f73573b5a41a20b29a42252ce56af62 (patch) | |
tree | 4691ff01a7a1e5d77c450baf00175252ffc1a648 /dev-java | |
parent | Add newer swt with webkit support from bug: #335165 (diff) | |
download | pauldv-a13f7e512f73573b5a41a20b29a42252ce56af62.tar.gz pauldv-a13f7e512f73573b5a41a20b29a42252ce56af62.tar.bz2 pauldv-a13f7e512f73573b5a41a20b29a42252ce56af62.zip |
New eclipse
svn path=/trunk/overlay/; revision=132
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/swt/Manifest | 4 | ||||
-rw-r--r-- | dev-java/swt/files/as-needed-and-flag-fixes-3.6.patch | 243 | ||||
-rw-r--r-- | dev-java/swt/files/webkitbydefault.patch | 12 | ||||
-rw-r--r-- | dev-java/swt/swt-3.6.2.ebuild | 3 |
4 files changed, 261 insertions, 1 deletions
diff --git a/dev-java/swt/Manifest b/dev-java/swt/Manifest index fea6137..c57cc99 100644 --- a/dev-java/swt/Manifest +++ b/dev-java/swt/Manifest @@ -1,7 +1,9 @@ +AUX as-needed-and-flag-fixes-3.6.patch 7755 RMD160 6ba533af5e7692d632ab4b1430c38e083b6db33b SHA1 07319c70cb9c4944691717032494f6b777c6ad0c SHA256 4a33ab3b2f617d137977562b096c64a37600e48ceaee5e1f94f4c912efdcaaa3 AUX build.xml 458 RMD160 a8eb69b723bdd8e5e25df8df26d28f4ea134fa87 SHA1 3d5befea18ba4c5bc20da80ed067488a16be6585 SHA256 bbac0fb3bf9454b81e6d27dae4ebb9538cf62f2be17adcf169538749230dc8e7 AUX swt-3.3-callback-pointer-dereferencing.patch 882 RMD160 dbdd182d3c5093a0a26994fc6cde4a3e597091ea SHA1 d703af14ca2c405304583fead0f06946c1f26a12 SHA256 27c4120bdcc4bb8f5a65d7c85343ee185c6270366c9f9a3cfc530838b5378cab AUX swt-3.3-manifest 752 RMD160 024e2ace2caa4871b3ec07f7adf853fdbaad91c5 SHA1 73a334d10776a77d32b76e63d7bed59b77c0efbb SHA256 f0c98cefd1ddebe0a5a0c15558edba16b00a3ecc910a3fb0a52babb56fd72dae AUX swt-3.4-manifest 753 RMD160 c56ff2fcaf42d35af618a60273c9f6580adc0d79 SHA1 052261ea0c4f6758959fcd4e2718feabbed4273e SHA256 6401f555a867cba47463a36d3c150f7cf5962ac85be53e14c43a88eadf74c94e +AUX webkitbydefault.patch 888 RMD160 13aee6334fa1f8248ca53f8f05823386c8bc7ea6 SHA1 c771cfbb62c2aa64d73151af46417b55eed96ff6 SHA256 6137b374bf9f8d629aea94c2614a6529d05d8756ebcdf706062598ea18f52e1e DIST swt-3.4.1-gtk-linux-ppc.zip 4631702 RMD160 84d106fef906afbe537919f5d965eed309c5f960 SHA1 f3308bfb5dee4d4029e7c4eac4dcade568388b14 SHA256 97f2ee7873986d9e92d1f21bf02010023b562cb6f4d963fffa5bd7f0800dd84d DIST swt-3.4.1-gtk-linux-x86.zip 4563980 RMD160 bba99111e10eb372a319aa91f99fe6cf4b0d6f23 SHA1 d1fd22dce69153d6a0a34ecebba41a24e8bffbaa SHA256 12cc6ce1a17de34fc97943dd43f5593a4b28e09f85b9405487099496347cdae3 DIST swt-3.4.1-gtk-linux-x86_64.zip 4746984 RMD160 a21facd6d949305ceace634c8a7aa036fb9e8527 SHA1 31f50178920b803b6a21420608dba184af78d2e3 SHA256 99ab9da4df47e93d458c155ba81dba3d1912f6e0f18ec07bd9914c87179e8ca0 @@ -14,6 +16,6 @@ DIST swt-3.6.2-gtk-linux-x86.zip 5236728 RMD160 ee0d8a5ccfde54fa694cf507596679c5 DIST swt-3.6.2-gtk-linux-x86_64.zip 5531856 RMD160 9f0babeed72d1994c1d5df5299b7632028c9f6af SHA1 dbeeb832192974f82c013d965628621b750f1d69 SHA256 9459fbee1cab66fae9dabe085d911b6bfee52e41e1a236ac65bf0491fdbdb205 EBUILD swt-3.4.1.ebuild 5963 RMD160 60cf61a9e7996b0d4a8b2748118adb9b1fb756c2 SHA1 e727232311da81ba86b5a2ef9dda688f9f0ef04c SHA256 02656504f6472835f39de6d37b344234ae3225048519fdf9c3822aec41e9cdc4 EBUILD swt-3.4.2.ebuild 5962 RMD160 485042f03d0ce87dc72f338a6f381f44624cf62a SHA1 7ac829930d47cd795210577b0a2fedd598579f87 SHA256 4721ecd9396d9a13c62ff64f01f17556c8028d9e18fded4ceb8531cae7eedb2b -EBUILD swt-3.6.2.ebuild 6803 RMD160 2e16199c89d2f4e669f0ae18c9fec363d6382947 SHA1 e4b91bee8790041e13d304574466d72c99761e17 SHA256 9334e529996859714f1d893144f37b01c87fa0daade06b9096f4545f23b7afb5 +EBUILD swt-3.6.2.ebuild 6887 RMD160 6fdbe2be16164dddc85637850c13b854f430bfdc SHA1 ad65f5f85cd358d98af584b3d4c2b7a527c2147e SHA256 5da6753ca4d164a764a10655c0bcbeb6c15f946ddb90fadafa61c2ac93d02895 MISC ChangeLog 16455 RMD160 209444c270dd9e4ab99ef7b9c056f1702fdb9cf2 SHA1 ec1447424442b16b52519dcd918879f7e7f60981 SHA256 3fa7133b6d56a104a93bfe65dd069163d9e67838d985a4ed4e41fd955ab950d3 MISC metadata.xml 440 RMD160 36ab97c0b5fbe32d4e636e3edb8c4d9e77b2ce34 SHA1 4d2c6b9b3c860ebd97f431ebae1a73773569c0fa SHA256 c09c2804231b54df222f2380cc75d96db4febd9cc5d838e7fb1eb27dc75a53b8 diff --git a/dev-java/swt/files/as-needed-and-flag-fixes-3.6.patch b/dev-java/swt/files/as-needed-and-flag-fixes-3.6.patch new file mode 100644 index 0000000..16194fd --- /dev/null +++ b/dev-java/swt/files/as-needed-and-flag-fixes-3.6.patch @@ -0,0 +1,243 @@ +--- make_linux.mak~ 2010-06-08 17:30:58.000000000 +0000 ++++ make_linux.mak 2010-08-09 22:48:01.515433721 +0000 +@@ -66,7 +66,7 @@ + # Uncomment for Native Stats tool + #NATIVE_STATS = -DNATIVE_STATS + +-MOZILLACFLAGS = -O \ ++MOZILLACFLAGS = $(CXXFLAGS) \ + -DSWT_VERSION=$(SWT_VERSION) \ + $(NATIVE_STATS) \ + -DMOZILLA_STRICT_API=1 \ +@@ -107,7 +107,7 @@ + WEBKIT_OBJECTS = swt.o webkit.o webkit_structs.o webkit_stats.o + GLX_OBJECTS = swt.o glx.o glx_structs.o glx_stats.o + +-CFLAGS = -O -Wall \ ++CFLAGS += \ + -DSWT_VERSION=$(SWT_VERSION) \ + $(NATIVE_STATS) \ + -DLINUX -DGTK \ +@@ -131,13 +131,13 @@ + make_swt: $(SWT_LIB) $(SWTPI_LIB) + + $(SWT_LIB): $(SWT_OBJECTS) +- $(CC) $(LFLAGS) -o $(SWT_LIB) $(SWT_OBJECTS) ++ $(CC) $(LDFLAGS) $(LFLAGS) -o $(SWT_LIB) $(SWT_OBJECTS) + + callback.o: callback.c callback.h + $(CC) $(CFLAGS) -DUSE_ASSEMBLER -c callback.c + + $(SWTPI_LIB): $(SWTPI_OBJECTS) +- $(CC) $(LFLAGS) -o $(SWTPI_LIB) $(SWTPI_OBJECTS) $(GTKLIBS) ++ $(CC) $(LDFLAGS) $(LFLAGS) -o $(SWTPI_LIB) $(SWTPI_OBJECTS) $(GTKLIBS) + + swt.o: swt.c swt.h + $(CC) $(CFLAGS) -c swt.c +@@ -156,7 +156,7 @@ + make_cairo: $(CAIRO_LIB) + + $(CAIRO_LIB): $(CAIRO_OBJECTS) +- $(CC) $(LFLAGS) -o $(CAIRO_LIB) $(CAIRO_OBJECTS) $(CAIROLIBS) ++ $(CC) $(LDFLAGS) $(LFLAGS) -o $(CAIRO_LIB) $(CAIRO_OBJECTS) $(CAIROLIBS) + + cairo.o: cairo.c cairo.h swt.h + $(CC) $(CFLAGS) $(CAIROCFLAGS) -c cairo.c +@@ -172,7 +172,7 @@ + make_cde: $(CDE_LIB) + + $(CDE_LIB): $(CDE_OBJECTS) +- $(CC) $(LFLAGS) -o $(CDE_LIB) $(CDE_OBJECTS) $(CDE_LIBS) ++ $(CC) $(LDFLAGS) $(LFLAGS) -o $(CDE_LIB) $(CDE_OBJECTS) $(CDE_LIBS) + + # + # AWT lib +@@ -180,7 +180,7 @@ + make_awt:$(AWT_LIB) + + $(AWT_LIB): $(AWT_OBJECTS) +- $(CC) $(AWT_LFLAGS) -o $(AWT_LIB) $(AWT_OBJECTS) $(AWT_LIBS) ++ $(CC) $(LDFLAGS) $(AWT_LFLAGS) -o $(AWT_LIB) $(AWT_OBJECTS) $(AWT_LIBS) + + # + # Atk lib +@@ -188,7 +188,7 @@ + make_atk: $(ATK_LIB) + + $(ATK_LIB): $(ATK_OBJECTS) +- $(CC) $(LFLAGS) -o $(ATK_LIB) $(ATK_OBJECTS) $(ATKLIBS) ++ $(CC) $(LDFLAGS) $(LFLAGS) -o $(ATK_LIB) $(ATK_OBJECTS) $(ATKLIBS) + + atk.o: atk.c atk.h + $(CC) $(CFLAGS) $(ATKCFLAGS) -c atk.c +@@ -205,7 +205,7 @@ + make_gnome: $(GNOME_LIB) + + $(GNOME_LIB): $(GNOME_OBJECTS) +- $(CC) $(LFLAGS) -o $(GNOME_LIB) $(GNOME_OBJECTS) $(GNOMELIBS) ++ $(CC) $(LDFLAGS) $(LFLAGS) -o $(GNOME_LIB) $(GNOME_OBJECTS) $(GNOMELIBS) + + gnome.o: gnome.c + $(CC) $(CFLAGS) $(GNOMECFLAGS) -c gnome.c +@@ -222,7 +222,7 @@ + make_mozilla:$(MOZILLA_LIB) + + $(MOZILLA_LIB): $(MOZILLA_OBJECTS) +- $(CXX) -o $(MOZILLA_LIB) $(MOZILLA_OBJECTS) $(MOZILLALFLAGS) ${MOZILLA_LIBS} ++ $(CXX) $(LDFLAGS) -o $(MOZILLA_LIB) $(MOZILLA_OBJECTS) $(MOZILLALFLAGS) ${MOZILLA_LIBS} + + xpcom.o: xpcom.cpp + $(CXX) $(MOZILLACFLAGS) $(MOZILLAEXCLUDES) ${MOZILLA_INCLUDES} -c xpcom.cpp +@@ -242,7 +242,7 @@ + make_xulrunner:$(XULRUNNER_LIB) + + $(XULRUNNER_LIB): $(XULRUNNER_OBJECTS) +- $(CXX) -o $(XULRUNNER_LIB) $(XULRUNNER_OBJECTS) $(MOZILLALFLAGS) ${XULRUNNER_LIBS} ++ $(CXX) $(LDFLAGS) -o $(XULRUNNER_LIB) $(XULRUNNER_OBJECTS) $(MOZILLALFLAGS) ${XULRUNNER_LIBS} + + xpcomxul.o: xpcom.cpp + $(CXX) -o xpcomxul.o $(MOZILLACFLAGS) $(XULRUNNEREXCLUDES) ${XULRUNNER_INCLUDES} -c xpcom.cpp +@@ -262,7 +262,7 @@ + make_xpcominit:$(XPCOMINIT_LIB) + + $(XPCOMINIT_LIB): $(XPCOMINIT_OBJECTS) +- $(CXX) -o $(XPCOMINIT_LIB) $(XPCOMINIT_OBJECTS) $(MOZILLALFLAGS) ${XULRUNNER_LIBS} ++ $(CXX) $(LDFLAGS) -o $(XPCOMINIT_LIB) $(XPCOMINIT_OBJECTS) $(MOZILLALFLAGS) ${XULRUNNER_LIBS} + + xpcominit.o: xpcominit.cpp + $(CXX) $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcominit.cpp +@@ -279,7 +279,7 @@ + make_webkit: $(WEBKIT_LIB) + + $(WEBKIT_LIB): $(WEBKIT_OBJECTS) +- $(CC) $(LFLAGS) -o $(WEBKIT_LIB) $(WEBKIT_OBJECTS) $(WEBKITLIBS) ++ $(CC) $(LDFLAGS) $(LFLAGS) -o $(WEBKIT_LIB) $(WEBKIT_OBJECTS) $(WEBKITLIBS) + + webkit.o: webkitgtk.c + $(CC) $(CFLAGS) $(WEBKITCFLAGS) -c webkitgtk.c -o webkit.o +@@ -296,7 +296,7 @@ + make_glx: $(GLX_LIB) + + $(GLX_LIB): $(GLX_OBJECTS) +- $(CC) $(LFLAGS) -o $(GLX_LIB) $(GLX_OBJECTS) $(GLXLIBS) ++ $(CC) $(LDFLAGS) $(LFLAGS) -o $(GLX_LIB) $(GLX_OBJECTS) $(GLXLIBS) + + glx.o: glx.c + $(CC) $(CFLAGS) $(GLXCFLAGS) -c glx.c +--- make_freebsd.mak~ 2010-06-08 17:30:58.000000000 +0000 ++++ make_freebsd.mak 2010-08-09 22:50:26.173246263 +0000 +@@ -64,7 +64,7 @@ + # Uncomment for Native Stats tool + #NATIVE_STATS = -DNATIVE_STATS + +-MOZILLACFLAGS = -O \ ++MOZILLACFLAGS += \ + -DSWT_VERSION=$(SWT_VERSION) \ + $(NATIVE_STATS) \ + -DMOZILLA_STRICT_API=1 \ +@@ -91,7 +91,7 @@ + XPCOMINIT_OBJECTS = swt.o xpcominit.o xpcominit_structs.o xpcominit_stats.o + GLX_OBJECTS = swt.o glx.o glx_structs.o glx_stats.o + +-CFLAGS = -O -Wall \ ++CFLAGS += \ + -DSWT_VERSION=$(SWT_VERSION) \ + $(NATIVE_STATS) \ + -DFREEBSD -DGTK \ +@@ -115,13 +115,13 @@ + make_swt: $(SWT_LIB) $(SWTPI_LIB) + + $(SWT_LIB): $(SWT_OBJECTS) +- $(CC) $(LFLAGS) -o $(SWT_LIB) $(SWT_OBJECTS) ++ $(CC) $(LDFLAGS) $(LFLAGS) -o $(SWT_LIB) $(SWT_OBJECTS) + + callback.o: callback.c callback.h + $(CC) $(CFLAGS) -DUSE_ASSEMBLER -c callback.c + + $(SWTPI_LIB): $(SWTPI_OBJECTS) +- $(CC) $(LFLAGS) -o $(SWTPI_LIB) $(SWTPI_OBJECTS) $(GTKLIBS) ++ $(CC) $(LDFLAGS) $(LFLAGS) -o $(SWTPI_LIB) $(SWTPI_OBJECTS) $(GTKLIBS) + + swt.o: swt.c swt.h + $(CC) $(CFLAGS) -c swt.c +@@ -140,7 +140,7 @@ + make_cairo: $(CAIRO_LIB) + + $(CAIRO_LIB): $(CAIRO_OBJECTS) +- $(CC) $(LFLAGS) -o $(CAIRO_LIB) $(CAIRO_OBJECTS) $(CAIROLIBS) ++ $(CC) $(LDFLAGS) $(LFLAGS) -o $(CAIRO_LIB) $(CAIRO_OBJECTS) $(CAIROLIBS) + + cairo.o: cairo.c cairo.h swt.h + $(CC) $(CFLAGS) $(CAIROCFLAGS) -c cairo.c +@@ -156,7 +156,7 @@ + make_cde: $(CDE_LIB) + + $(CDE_LIB): $(CDE_OBJECTS) +- $(CC) $(LFLAGS) -o $(CDE_LIB) $(CDE_OBJECTS) $(CDE_LIBS) ++ $(CC) $(LDFLAGS) $(LFLAGS) -o $(CDE_LIB) $(CDE_OBJECTS) $(CDE_LIBS) + + # + # AWT lib +@@ -164,7 +164,7 @@ + make_awt:$(AWT_LIB) + + $(AWT_LIB): $(AWT_OBJECTS) +- $(CC) $(AWT_LFLAGS) -o $(AWT_LIB) $(AWT_OBJECTS) $(AWT_LIBS) ++ $(CC) $(LDFLAGS) $(AWT_LFLAGS) -o $(AWT_LIB) $(AWT_OBJECTS) $(AWT_LIBS) + + # + # Atk lib +@@ -172,7 +172,7 @@ + make_atk: $(ATK_LIB) + + $(ATK_LIB): $(ATK_OBJECTS) +- $(CC) $(LFLAGS) -o $(ATK_LIB) $(ATK_OBJECTS) $(ATKLIBS) ++ $(CC) $(LDFLAGS) $(LFLAGS) -o $(ATK_LIB) $(ATK_OBJECTS) $(ATKLIBS) + + atk.o: atk.c atk.h + $(CC) $(CFLAGS) $(ATKCFLAGS) -c atk.c +@@ -189,7 +189,7 @@ + make_gnome: $(GNOME_LIB) + + $(GNOME_LIB): $(GNOME_OBJECTS) +- $(CC) $(LFLAGS) -o $(GNOME_LIB) $(GNOME_OBJECTS) $(GNOMELIBS) ++ $(CC) $(LDFLAGS) $(LFLAGS) -o $(GNOME_LIB) $(GNOME_OBJECTS) $(GNOMELIBS) + + gnome.o: gnome.c + $(CC) $(CFLAGS) $(GNOMECFLAGS) -c gnome.c +@@ -206,7 +206,7 @@ + make_mozilla:$(MOZILLA_LIB) + + $(MOZILLA_LIB): $(MOZILLA_OBJECTS) +- $(CXX) -o $(MOZILLA_LIB) $(MOZILLA_OBJECTS) $(MOZILLALFLAGS) ${MOZILLA_LIBS} ++ $(CXX) $(LDFLAGS) -o $(MOZILLA_LIB) $(MOZILLA_OBJECTS) $(MOZILLALFLAGS) ${MOZILLA_LIBS} + + xpcom.o: xpcom.cpp + $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom.cpp +@@ -226,7 +226,7 @@ + make_xulrunner:$(XULRUNNER_LIB) + + $(XULRUNNER_LIB): $(XULRUNNER_OBJECTS) +- $(CXX) -o $(XULRUNNER_LIB) $(XULRUNNER_OBJECTS) $(MOZILLALFLAGS) ${XULRUNNER_LIBS} ++ $(CXX) $(LDFLAGS) -o $(XULRUNNER_LIB) $(XULRUNNER_OBJECTS) $(MOZILLALFLAGS) ${XULRUNNER_LIBS} + + xpcomxul.o: xpcom.cpp + $(CXX) -o xpcomxul.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcom.cpp +@@ -252,7 +252,7 @@ + make_xpcominit:$(XPCOMINIT_LIB) + + $(XPCOMINIT_LIB): $(XPCOMINIT_OBJECTS) +- $(CXX) -o $(XPCOMINIT_LIB) $(XPCOMINIT_OBJECTS) $(MOZILLALFLAGS) ${XULRUNNER_LIBS} ++ $(CXX) $(LDFLAGS) -o $(XPCOMINIT_LIB) $(XPCOMINIT_OBJECTS) $(MOZILLALFLAGS) ${XULRUNNER_LIBS} + + xpcominit.o: xpcominit.cpp + $(CXX) $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcominit.cpp +@@ -269,7 +269,7 @@ + make_glx: $(GLX_LIB) + + $(GLX_LIB): $(GLX_OBJECTS) +- $(CC) $(LFLAGS) -o $(GLX_LIB) $(GLX_OBJECTS) $(GLXLIBS) ++ $(CC) $(LDFLAGS) $(LFLAGS) -o $(GLX_LIB) $(GLX_OBJECTS) $(GLXLIBS) + + glx.o: glx.c + $(CC) $(CFLAGS) $(GLXCFLAGS) -c glx.c diff --git a/dev-java/swt/files/webkitbydefault.patch b/dev-java/swt/files/webkitbydefault.patch new file mode 100644 index 0000000..8d7fe8c --- /dev/null +++ b/dev-java/swt/files/webkitbydefault.patch @@ -0,0 +1,12 @@ +diff -ur work.orig/src/org/eclipse/swt/browser/Browser.java work/src/org/eclipse/swt/browser/Browser.java +--- work.orig/src/org/eclipse/swt/browser/Browser.java 2011-02-10 17:29:10.000000000 +0000 ++++ work/src/org/eclipse/swt/browser/Browser.java 2011-05-05 11:21:22.000000000 +0100 +@@ -95,7 +95,7 @@ + classNames = new String[] {"org.eclipse.swt.browser.Mozilla"}; //$NON-NLS-1$ + } else if ("gtk".equals (platform)) { //$NON-NLS-1$ + String property = System.getProperty (PROPERTY_USEWEBKITGTK); +- if (property != null && property.equalsIgnoreCase ("true")) { //$NON-NLS-1$ ++ if (property == null || property.equalsIgnoreCase ("true")) { //$NON-NLS-1$ + classNames = new String[] {"org.eclipse.swt.browser.WebKit", "org.eclipse.swt.browser.Mozilla"}; //$NON-NLS-1$ //$NON-NLS-2$ + } else { + classNames = new String[] {"org.eclipse.swt.browser.Mozilla"}; //$NON-NLS-1$ diff --git a/dev-java/swt/swt-3.6.2.ebuild b/dev-java/swt/swt-3.6.2.ebuild index b8fb1dd..63116c7 100644 --- a/dev-java/swt/swt-3.6.2.ebuild +++ b/dev-java/swt/swt-3.6.2.ebuild @@ -89,6 +89,9 @@ java_prepare() { # Fix Makefiles to respect flags and work with --as-needed epatch "${FILESDIR}"/as-needed-and-flag-fixes-3.6.patch + + use xulrunner || ( use webkit && \ + epatch "${FILESDIR}"/webkitbydefault.patch ) } src_compile() { |