- Native network support added.
- Native filesystem support added.
This commit is contained in:
parent
023045a22d
commit
2d2e1c3aa6
|
@ -1,5 +1,4 @@
|
|||
eclipse-*-src.tar.bz2
|
||||
eclipse-build-*
|
||||
*.rpm
|
||||
eclipse-build-db208c33d1a67591d17b02148ae7948fd178a80d.tar.xz
|
||||
eclipse-build-eb76edf3fb5bbeb115c59d1b076f4821a6d47d74.tar.xz
|
||||
|
|
|
@ -0,0 +1,141 @@
|
|||
--- eclipse.platform.resources/bundles/org.eclipse.core.filesystem.linux.x86/pom.xml
|
||||
+++ eclipse.platform.resources/bundles/org.eclipse.core.filesystem.linux.x86/pom.xml
|
||||
@@ -45,4 +45,66 @@
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
+
|
||||
+ <profiles>
|
||||
+ <profile>
|
||||
+ <id>build-natives</id>
|
||||
+ <activation>
|
||||
+ <property>
|
||||
+ <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( -->
|
||||
+ <name>native</name>
|
||||
+ <value>linux.gtk.x86</value>
|
||||
+ </property>
|
||||
+ </activation>
|
||||
+ <build>
|
||||
+ <plugins>
|
||||
+ <plugin>
|
||||
+ <artifactId>maven-antrun-plugin</artifactId>
|
||||
+ <version>1.7</version>
|
||||
+ <executions>
|
||||
+ <execution>
|
||||
+ <id>natives</id>
|
||||
+ <phase>process-resources</phase>
|
||||
+ <configuration>
|
||||
+ <target>
|
||||
+ <exec executable="make" newenvironment="false" dir="../org.eclipse.core.filesystem/natives/unix/linux/"/>
|
||||
+ <copy todir="os/linux/x86" >
|
||||
+ <fileset dir="../org.eclipse.core.filesystem/natives/unix/linux/">
|
||||
+ <include name="libunixfile_*.so"/>
|
||||
+ </fileset>
|
||||
+ </copy>
|
||||
+ </target>
|
||||
+ </configuration>
|
||||
+ <goals>
|
||||
+ <goal>run</goal>
|
||||
+ </goals>
|
||||
+ </execution>
|
||||
+ </executions>
|
||||
+ <dependencies>
|
||||
+ <dependency>
|
||||
+ <groupId>bsf</groupId>
|
||||
+ <artifactId>bsf</artifactId>
|
||||
+ <version>2.4.0</version>
|
||||
+ </dependency>
|
||||
+ <dependency>
|
||||
+ <groupId>rhino</groupId>
|
||||
+ <artifactId>js</artifactId>
|
||||
+ <version>1.7R2</version>
|
||||
+ </dependency>
|
||||
+ <dependency>
|
||||
+ <groupId>org.apache.ant</groupId>
|
||||
+ <artifactId>ant-apache-bsf</artifactId>
|
||||
+ <version>1.8.3</version>
|
||||
+ </dependency>
|
||||
+ <dependency>
|
||||
+ <groupId>org.apache.ant</groupId>
|
||||
+ <artifactId>ant-nodeps</artifactId>
|
||||
+ <version>1.8.1</version>
|
||||
+ </dependency>
|
||||
+ </dependencies>
|
||||
+ </plugin>
|
||||
+ </plugins>
|
||||
+ </build>
|
||||
+ </profile>
|
||||
+ </profiles>
|
||||
</project>
|
||||
--- eclipse.platform.resources/bundles/org.eclipse.core.filesystem.linux.x86_64/pom.xml
|
||||
+++ eclipse.platform.resources/bundles/org.eclipse.core.filesystem.linux.x86_64/pom.xml
|
||||
@@ -45,4 +45,66 @@
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
+
|
||||
+ <profiles>
|
||||
+ <profile>
|
||||
+ <id>build-natives</id>
|
||||
+ <activation>
|
||||
+ <property>
|
||||
+ <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( -->
|
||||
+ <name>native</name>
|
||||
+ <value>linux.gtk.x86_64</value>
|
||||
+ </property>
|
||||
+ </activation>
|
||||
+ <build>
|
||||
+ <plugins>
|
||||
+ <plugin>
|
||||
+ <artifactId>maven-antrun-plugin</artifactId>
|
||||
+ <version>1.7</version>
|
||||
+ <executions>
|
||||
+ <execution>
|
||||
+ <id>natives</id>
|
||||
+ <phase>process-resources</phase>
|
||||
+ <configuration>
|
||||
+ <target>
|
||||
+ <exec executable="make" newenvironment="false" dir="../org.eclipse.core.filesystem/natives/unix/linux/"/>
|
||||
+ <copy todir="os/linux/x86_64/" >
|
||||
+ <fileset dir="../org.eclipse.core.filesystem/natives/unix/linux/">
|
||||
+ <include name="libunixfile_*.so"/>
|
||||
+ </fileset>
|
||||
+ </copy>
|
||||
+ </target>
|
||||
+ </configuration>
|
||||
+ <goals>
|
||||
+ <goal>run</goal>
|
||||
+ </goals>
|
||||
+ </execution>
|
||||
+ </executions>
|
||||
+ <dependencies>
|
||||
+ <dependency>
|
||||
+ <groupId>bsf</groupId>
|
||||
+ <artifactId>bsf</artifactId>
|
||||
+ <version>2.4.0</version>
|
||||
+ </dependency>
|
||||
+ <dependency>
|
||||
+ <groupId>rhino</groupId>
|
||||
+ <artifactId>js</artifactId>
|
||||
+ <version>1.7R2</version>
|
||||
+ </dependency>
|
||||
+ <dependency>
|
||||
+ <groupId>org.apache.ant</groupId>
|
||||
+ <artifactId>ant-apache-bsf</artifactId>
|
||||
+ <version>1.8.3</version>
|
||||
+ </dependency>
|
||||
+ <dependency>
|
||||
+ <groupId>org.apache.ant</groupId>
|
||||
+ <artifactId>ant-nodeps</artifactId>
|
||||
+ <version>1.8.1</version>
|
||||
+ </dependency>
|
||||
+ </dependencies>
|
||||
+ </plugin>
|
||||
+ </plugins>
|
||||
+ </build>
|
||||
+ </profile>
|
||||
+ </profiles>
|
||||
</project>
|
||||
--
|
||||
1.7.10.4
|
||||
|
|
@ -0,0 +1,151 @@
|
|||
--- eclipse.platform.team/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.x86/pom.xml
|
||||
+++ eclipse.platform.team/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.x86/pom.xml
|
||||
@@ -42,4 +42,65 @@
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
+ <profiles>
|
||||
+ <profile>
|
||||
+ <id>build-natives</id>
|
||||
+ <activation>
|
||||
+ <property>
|
||||
+ <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( -->
|
||||
+ <name>native</name>
|
||||
+ <value>linux.gtk.x86</value>
|
||||
+ </property>
|
||||
+ </activation>
|
||||
+ <build>
|
||||
+ <plugins>
|
||||
+ <plugin>
|
||||
+ <artifactId>maven-antrun-plugin</artifactId>
|
||||
+ <version>1.7</version>
|
||||
+ <executions>
|
||||
+ <execution>
|
||||
+ <id>natives</id>
|
||||
+ <phase>process-resources</phase>
|
||||
+ <configuration>
|
||||
+ <target>
|
||||
+ <exec executable="make" newenvironment="false" dir="../../natives/unix/linux/"/>
|
||||
+ <copy todir="." >
|
||||
+ <fileset dir="../../natives/unix/linux/">
|
||||
+ <include name="libgnomeproxy-*.so"/>
|
||||
+ </fileset>
|
||||
+ </copy>
|
||||
+ </target>
|
||||
+ </configuration>
|
||||
+ <goals>
|
||||
+ <goal>run</goal>
|
||||
+ </goals>
|
||||
+ </execution>
|
||||
+ </executions>
|
||||
+ <dependencies>
|
||||
+ <dependency>
|
||||
+ <groupId>bsf</groupId>
|
||||
+ <artifactId>bsf</artifactId>
|
||||
+ <version>2.4.0</version>
|
||||
+ </dependency>
|
||||
+ <dependency>
|
||||
+ <groupId>rhino</groupId>
|
||||
+ <artifactId>js</artifactId>
|
||||
+ <version>1.7R2</version>
|
||||
+ </dependency>
|
||||
+ <dependency>
|
||||
+ <groupId>org.apache.ant</groupId>
|
||||
+ <artifactId>ant-apache-bsf</artifactId>
|
||||
+ <version>1.8.3</version>
|
||||
+ </dependency>
|
||||
+ <dependency>
|
||||
+ <groupId>org.apache.ant</groupId>
|
||||
+ <artifactId>ant-nodeps</artifactId>
|
||||
+ <version>1.8.1</version>
|
||||
+ </dependency>
|
||||
+ </dependencies>
|
||||
+ </plugin>
|
||||
+ </plugins>
|
||||
+ </build>
|
||||
+ </profile>
|
||||
+ </profiles>
|
||||
</project>
|
||||
--- eclipse.platform.team/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.x86_64/pom.xml
|
||||
+++ eclipse.platform.team/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.x86_64/pom.xml
|
||||
@@ -43,4 +43,66 @@
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
+
|
||||
+ <profiles>
|
||||
+ <profile>
|
||||
+ <id>build-natives</id>
|
||||
+ <activation>
|
||||
+ <property>
|
||||
+ <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( -->
|
||||
+ <name>native</name>
|
||||
+ <value>linux.gtk.x86_64</value>
|
||||
+ </property>
|
||||
+ </activation>
|
||||
+ <build>
|
||||
+ <plugins>
|
||||
+ <plugin>
|
||||
+ <artifactId>maven-antrun-plugin</artifactId>
|
||||
+ <version>1.7</version>
|
||||
+ <executions>
|
||||
+ <execution>
|
||||
+ <id>natives</id>
|
||||
+ <phase>process-resources</phase>
|
||||
+ <configuration>
|
||||
+ <target>
|
||||
+ <exec executable="make" newenvironment="false" dir="../../natives/unix/linux/x86_64/"/>
|
||||
+ <copy todir="." >
|
||||
+ <fileset dir="../../natives/unix/linux/x86_64/">
|
||||
+ <include name="libgnomeproxy-*.so"/>
|
||||
+ </fileset>
|
||||
+ </copy>
|
||||
+ </target>
|
||||
+ </configuration>
|
||||
+ <goals>
|
||||
+ <goal>run</goal>
|
||||
+ </goals>
|
||||
+ </execution>
|
||||
+ </executions>
|
||||
+ <dependencies>
|
||||
+ <dependency>
|
||||
+ <groupId>bsf</groupId>
|
||||
+ <artifactId>bsf</artifactId>
|
||||
+ <version>2.4.0</version>
|
||||
+ </dependency>
|
||||
+ <dependency>
|
||||
+ <groupId>rhino</groupId>
|
||||
+ <artifactId>js</artifactId>
|
||||
+ <version>1.7R2</version>
|
||||
+ </dependency>
|
||||
+ <dependency>
|
||||
+ <groupId>org.apache.ant</groupId>
|
||||
+ <artifactId>ant-apache-bsf</artifactId>
|
||||
+ <version>1.8.3</version>
|
||||
+ </dependency>
|
||||
+ <dependency>
|
||||
+ <groupId>org.apache.ant</groupId>
|
||||
+ <artifactId>ant-nodeps</artifactId>
|
||||
+ <version>1.8.1</version>
|
||||
+ </dependency>
|
||||
+ </dependencies>
|
||||
+ </plugin>
|
||||
+ </plugins>
|
||||
+ </build>
|
||||
+ </profile>
|
||||
+ </profiles>
|
||||
</project>
|
||||
--- eclipse.platform.team/bundles/org.eclipse.core.net/natives/unix/linux/x86_64/makefile
|
||||
+++ eclipse.platform.team/bundles/org.eclipse.core.net/natives/unix/linux/x86_64/makefile
|
||||
@@ -19,7 +19,7 @@ GNOMEPROXY.O = gnomeproxy.o
|
||||
LIB_NAME = gnomeproxy.so
|
||||
LIB_NAME_FULL = libgnomeproxy-1.0.0.so
|
||||
|
||||
-OS_TYPE =
|
||||
+OS_TYPE = linux
|
||||
JDK_INCLUDE = -I${JAVA_HOME}/include -I${JAVA_HOME}/include/${OS_TYPE}
|
||||
INCLUDE = `pkg-config --cflags gconf-2.0`
|
||||
COMPILER_FLAGS= -O0 -fPIC -g3 -Wall -c -fmessage-length=0 -m64
|
||||
--
|
||||
1.7.10.4
|
||||
|
13
eclipse.spec
13
eclipse.spec
|
@ -33,7 +33,7 @@ ln -s %{_javadir}/%{2} ${_f}
|
|||
Summary: An open, extensible IDE
|
||||
Name: eclipse
|
||||
Version: %{eclipse_version}
|
||||
Release: 13%{?dist}
|
||||
Release: 14%{?dist}
|
||||
License: EPL
|
||||
Group: Text Editors/Integrated Development Environments (IDE)
|
||||
URL: http://www.eclipse.org/
|
||||
|
@ -167,6 +167,11 @@ Patch24: %{name}-pdebuild-add-target.patch
|
|||
# additional poms are a part of e-b
|
||||
Patch25: %{name}-change-build-packagings.patch
|
||||
|
||||
#https://bugs.eclipse.org/bugs/show_bug.cgi?id=385410
|
||||
Patch26: %{name}-build-network-native-libs.patch
|
||||
|
||||
#https://bugs.eclipse.org/bugs/show_bug.cgi?id=385010
|
||||
Patch27: %{name}-build-filesystem-native-libs.patch
|
||||
|
||||
BuildRequires: ant >= 1.8.3
|
||||
BuildRequires: rsync
|
||||
|
@ -365,6 +370,8 @@ tar --strip-components=1 -xf %{SOURCE1}
|
|||
%patch23
|
||||
%patch24
|
||||
%patch25
|
||||
%patch26
|
||||
%patch27
|
||||
|
||||
#https://bugs.eclipse.org/bugs/show_bug.cgi?id=386040
|
||||
%pom_disable_module bundles/org.eclipse.equinox.http.jetty5 rt.equinox.bundles .
|
||||
|
@ -1141,6 +1148,10 @@ rm -rf %{_bindir}/efj/
|
|||
%{_mavendepmapfragdir}/%{name}-equinox-osgi
|
||||
|
||||
%changelog
|
||||
* Fri Aug 31 2012 Krzysztof Daniel <kdaniel@redhat.com> 1:4.2.0-14
|
||||
- Native network support added.
|
||||
- Native filesystem support added.
|
||||
|
||||
* Fri Aug 24 2012 Krzysztof Daniel <kdaniel@redhat.com> 1:4.2.0-12
|
||||
- Fix eclipse-pdebuild script to have proper path to pde bundle.
|
||||
- Ensure there are right R dependencies between subpackages.
|
||||
|
|
Loading…
Reference in New Issue