Build support for GTK2 and GTK3 together.

This commit is contained in:
Krzysztof Daniel 2013-02-12 15:23:49 +01:00
parent 475caa030b
commit 75d982efa2

View File

@ -55,7 +55,7 @@ fi;
Summary: An open, extensible IDE
Name: %{?scl_prefix}eclipse
Version: %{eclipse_version}
Release: 0.11.git201301281400%{?dist}
Release: 0.12.git201301281400%{?dist}
License: EPL
Group: Development/Tools
URL: http://www.eclipse.org/
@ -487,7 +487,7 @@ done
%build
#This is the lowest value where the build succeeds. 512m is not enough.
export MAVEN_OPTS="-Xmx700m -XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState"
export GTK_VERSION=3.0
mvn-rpmbuild -f eclipse-parent/pom.xml \
clean install \
-Dmaven.local.mode=true -Dtycho.local.keepTarget -DskipTychoVersionCheck
@ -502,6 +502,13 @@ pushd rt.equinox.framework/bundles/org.eclipse.equinox.executable/library/gtk/
ant
popd
pushd eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.%{eclipse_arch}
mvn-rpmbuild clean install \
-Dmaven.test.skip=true -Dnative=gtk.linux.%{eclipse_arch} -DskipTychoVersionCheck \
-Dmaven.local.mode=true -Dtycho.local.keepTarget -Dbuilddoc=$((%{bootstrap} != 1)) -Pno-bree-libs
popd
export GTK_VERSION=3.0
mvn-rpmbuild clean install \
-Dmaven.test.skip=true -Dnative=gtk.linux.%{eclipse_arch} -DskipTychoVersionCheck \
-Dmaven.local.mode=true -Dtycho.local.keepTarget -Dbuilddoc=$((%{bootstrap} != 1)) -Pno-bree-libs
@ -1010,6 +1017,9 @@ echo "pushd %{_javadir}/eclipse-testing;./runtests.sh -os linux -ws gtk -arch %{
%{_libdir}/%{pkg_name}/plugins/org.eclipse.osgi.util_*
%changelog
* Tue Feb 12 2013 Krzysztof Daniel <kdaniel@redhat.com> 1:4.3.0-0.12.git201301281400
- Build support for GTK2 and GTK3 together.
* Tue Feb 12 2013 Krzysztof Daniel <kdaniel@redhat.com> 1:4.3.0-0.11.git201301281400
- Ability to use sclized icu4j.