eclipse/eclipse-swt-disable-gtk2.patch
Mat Booth c736234c3b Update to Oxygen I-build
Don't build unsupported GTK2 backend for SWT
Move installation to a multilib agnostic location /usr/lib
2017-04-19 12:45:38 +01:00

26 lines
850 B
Diff

--- eclipse.platform.swt/bundles/org.eclipse.swt/buildSWT.xml.orig
+++ eclipse.platform.swt/bundles/org.eclipse.swt/buildSWT.xml
@@ -898,15 +898,19 @@
</not>
</condition>
<antcall target="init_build"/>
+ <antcall target="build_gtk2"/>
+ <antcall target="build_gtk3"/>
+ <delete dir="${build_dir}" quiet="true"/>
+ <antcall target="refresh_fragment"/>
+ </target>
+
+ <target name="build_gtk2" if="machine_gtk2">
<antcall target="${build_task}">
<param name="build_targets" value="${targets}"/>
<param name="build_machine" value="${machine}"/>
<param name="port" value="${port}"/>
<param name="keyfile" value="${keyfile}"/>
</antcall>
- <antcall target="build_gtk3"/>
- <delete dir="${build_dir}" quiet="true"/>
- <antcall target="refresh_fragment"/>
</target>
<target name="build_gtk3" if="machine_gtk3">