[eclipse] 02/04: Add README.ports

Jakub Adam xhaakon-guest at moszumanska.debian.org
Wed Jan 15 18:33:00 UTC 2014


This is an automated email from the git hooks/post-receive script.

xhaakon-guest pushed a commit to branch master
in repository eclipse.

commit 8ae06d0156467caf6d578d3d9ae02e5f1730801d
Author: Jakub Adam <jakub.adam at ktknet.cz>
Date:   Wed Jan 15 17:06:26 2014 +0100

    Add README.ports
---
 debian/README.ports | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/changelog    |  1 +
 2 files changed, 97 insertions(+)

diff --git a/debian/README.ports b/debian/README.ports
new file mode 100644
index 0000000..0a87f62
--- /dev/null
+++ b/debian/README.ports
@@ -0,0 +1,96 @@
+To make Eclipse build on a new architecture, a few files have to be updated in
+the source tree. Some of them are patches from eclipse-build project that patch
+the actual Eclipse sources (yes, you have to patch the patches!).
+
+The following is a list of Eclipse source files which must be changed. When some
+of them has to be patched through eclipse-build patch, it's mentioned which one
+you sould update. Replace <arch> with name of the architecture.
+
+eclipse-build-config/productFiles/rcpConfig/build.properties
+------------------------------------------------------------
+Add following lines:
+
+root.linux.gtk.<arch>=absolute:${buildDirectory}/features/org.eclipse.platform/about_files/linux.gtk.<arch>,absolute:${buildDirectory}/features/org.eclipse.equinox.executable/bin/gtk/linux/<arch>
+root.linux.gtk.<arch>.permissions.755=*.so*
+
+eclipse/features/org.eclipse.equinox.executable/target.build.properties
+-----------------------------------------------------------------------
+Add following lines (via patches/eclipse-add-archs-executable.patch):
+
+root.linux.gtk.<arch>=bin/gtk/linux/<arch>,gtk_root
+root.linux.gtk.<arch>.permissions.755=libcairo-swt.so
+
+eclipse/features/org.eclipse.equinox.executable/feature.xml
+-----------------------------------------------------------
+Add new plugin element (via patches/eclipse-add-archs-executable.patch):
+
+<plugin
+  id="org.eclipse.equinox.launcher.gtk.linux.<arch>"
+  os="linux"
+  ws="gtk"
+  arch="<arch>"
+  download-size="0"
+  install-size="0"
+  version="0.0.0"
+  fragment="true"/>
+
+eclipse/plugins/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java
+----------------------------------------------------------------------------------------------------
+Add item into ARCH_LIST array:
+
+Platform.ARCH_<arch>
+
+eclipse/plugins/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java
+-----------------------------------------------------------------------------------
+Add string constant:
+
+public static final String ARCH_<arch> = "<arch>";//$NON-NLS-1$
+
+eclipse/plugins/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/internal/adaptor/PluginConverterImpl.java
+----------------------------------------------------------------------------------------------------------------------
+Add item into ARCH_LIST array:
+
+org.eclipse.osgi.service.environment.Constants.ARCH_<arch>
+
+eclipse/plugins/org.eclipse.osgi/supplement/src/org/eclipse/osgi/service/environment/Constants.java
+---------------------------------------------------------------------------------------------------
+Add string constant:
+
+public static final String ARCH_<arch> = "<arch>";//$NON-NLS-1$
+
+eclipse/features/org.eclipse.platform/feature.xml
+-------------------------------------------------
+Add new plugin element (via patches/eclipse-add-archs-filesystem.patch):
+
+<plugin
+  id="org.eclipse.core.filesystem.linux.<arch>"
+  os="linux"
+  arch="<arch>"
+  download-size="0"
+  install-size="0"
+  version="0.0.0"
+  fragment="true"
+  unpack="false"/>
+
+Add new plugin element (via patches/eclipse-add-archs-net.patch):
+
+<plugin
+  id="org.eclipse.core.net.linux.<arch>"
+  os="linux"
+  arch="<arch>"
+  download-size="0"
+  install-size="0"
+  version="0.0.0"
+  fragment="true"
+  unpack="false"/>
+
+build.xml
+---------
+In target generateSecondaryFragments add:
+
+For 64bit platform:
+<generateArch newArch="<arch>" archBase="x86_64"/>
+
+For 32bit platform:
+<generateArch newArch="<arch>" archBase="x86"/>
+
diff --git a/debian/changelog b/debian/changelog
index 9cbc9fd..f8a492f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ eclipse (3.8.1-5) UNRELEASED; urgency=low
     - Required for Tycho build with Java 7.
   * Fix FTBFS on s390x architecture.
   * Provide convenient symlinks for jdi.jar and jdimodel.jar (Closes: #734797).
+  * Add README.ports.
 
   [ Matthias Klose ]
   * Build for arm64 and ppc64el.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/eclipse.git



More information about the pkg-java-commits mailing list