Add support for p2 Droplets.
This commit is contained in:
parent
89893fbd4d
commit
da94d71957
|
@ -0,0 +1,26 @@
|
|||
diff --git rt.equinox.p2/bundles/org.eclipse.equinox.simpleconfigurator/src/org/eclipse/equinox/internal/simpleconfigurator/utils/SimpleConfiguratorUtils.java rt.equinox.p2/bundles/org.eclipse.equinox.simpleconfigurator/src/org/eclipse/equinox/internal/simpleconfigurator/utils/SimpleConfiguratorUtils.java
|
||||
index 12e4d89..77945ef 100644
|
||||
--- rt.equinox.p2/bundles/org.eclipse.equinox.simpleconfigurator/src/org/eclipse/equinox/internal/simpleconfigurator/utils/SimpleConfiguratorUtils.java
|
||||
+++ rt.equinox.p2/bundles/org.eclipse.equinox.simpleconfigurator/src/org/eclipse/equinox/internal/simpleconfigurator/utils/SimpleConfiguratorUtils.java
|
||||
@@ -156,7 +156,20 @@ public class SimpleConfiguratorUtils {
|
||||
}
|
||||
continue;
|
||||
}
|
||||
- File[] listFiles = extension.listFiles();
|
||||
+
|
||||
+ // Support the additional 'eclipse' directory if it exists.
|
||||
+ File[] extensionFiles = extension.listFiles(new FilenameFilter() {
|
||||
+ public boolean accept(File dir, String name) {
|
||||
+ return name.equals("eclipse");
|
||||
+ }
|
||||
+ });
|
||||
+
|
||||
+ File[] listFiles;
|
||||
+ if (extensionFiles.length == 1) {
|
||||
+ listFiles = extensionFiles[0].listFiles();
|
||||
+ } else {
|
||||
+ listFiles = extension.listFiles();
|
||||
+ }
|
||||
// new magic - multiple info files, f.e.
|
||||
// egit.info (git feature)
|
||||
// cdt.link (properties file containing link=path) to other info file
|
|
@ -37,7 +37,7 @@ Epoch: 1
|
|||
Summary: An open, extensible IDE
|
||||
Name: eclipse
|
||||
Version: %{eclipse_version}
|
||||
Release: 14%{?dist}
|
||||
Release: 15%{?dist}
|
||||
License: EPL
|
||||
URL: http://www.eclipse.org/
|
||||
|
||||
|
@ -122,6 +122,7 @@ Patch24: %{pkg_name}-fix-tests.patch
|
|||
|
||||
# For https://bugzilla.redhat.com/show_bug.cgi?id=1255150
|
||||
Patch25: eclipse-bug-466499.patch
|
||||
Patch26: %{pkg_name}-adjust-droplets.patch
|
||||
|
||||
BuildRequires: rsync
|
||||
BuildRequires: make, gcc
|
||||
|
@ -374,6 +375,7 @@ pushd eclipse.platform.ui
|
|||
popd
|
||||
%patch24
|
||||
%patch25 -p1
|
||||
%patch26
|
||||
|
||||
# Disable as many things as possible to make the build faster. We care only for Eclipse.
|
||||
%pom_disable_module platform.sdk eclipse.platform.releng.tychoeclipsebuilder
|
||||
|
@ -651,6 +653,7 @@ cat >> eclipse.ini <<EOF
|
|||
-XX:CompileCommand=exclude,org/python/pydev/editor/codecompletion/revisited/PythonPathHelper,isValidSourceFile
|
||||
-XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState
|
||||
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=%{_datadir}/eclipse/dropins
|
||||
-Dp2.fragments=%{_datadir}/%{pkg_name}/droplets,%{_libdir}/%{pkg_name}/droplets
|
||||
-Declipse.p2.skipMovedInstallDetection=true
|
||||
EOF
|
||||
|
||||
|
@ -1103,6 +1106,9 @@ fi
|
|||
%{_libdir}/%{pkg_name}/plugins/org.eclipse.osgi.compatibility.state_*
|
||||
|
||||
%changelog
|
||||
* Thu Aug 27 2015 Roland Grunberg <rgrunber@redhat.com> - 1:4.5.0-15
|
||||
- Add support for p2 Droplets.
|
||||
|
||||
* Wed Aug 26 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-14
|
||||
- Rebuild for new ECF
|
||||
|
||||
|
|
Loading…
Reference in New Issue