cvs commit: ports/java/eclipse-devel Makefile

Thomas Gellekum Thomas.Gellekum at gmx.de
Wed Jul 27 09:26:58 UTC 2011


On 07/26/11 21:53, Pav Lucistnik wrote:
> pav         2011-07-26 19:53:15 UTC
>
>    FreeBSD ports repository
>
>    Modified files:
>      java/eclipse-devel   Makefile
>    Log:
>    - Mark BROKEN: does not package
>      tar: share/applications/eclipse-devel.desktop: Cannot stat: No such file or directory

Please commit the attached patch to fix this.

tg
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/java/eclipse-devel/Makefile,v
retrieving revision 1.40
diff -u -r1.40 Makefile
--- Makefile	26 Jul 2011 19:53:15 -0000	1.40
+++ Makefile	27 Jul 2011 09:21:54 -0000
@@ -36,8 +36,6 @@
 		zip:${PORTSDIR}/archivers/zip
 LIB_DEPENDS=	cairo.2:${PORTSDIR}/graphics/cairo
 
-BROKEN=		fails to package
-
 OPTIONS=	TESTS	"Build SDK test suite"	off
 
 ONLY_FOR_ARCHS=	i386 amd64
Index: files/patch-eclipse-build
===================================================================
RCS file: /home/ncvs/ports/java/eclipse-devel/files/patch-eclipse-build,v
retrieving revision 1.5
diff -u -r1.5 patch-eclipse-build
--- files/patch-eclipse-build	14 Jul 2011 16:12:59 -0000	1.5
+++ files/patch-eclipse-build	27 Jul 2011 09:22:57 -0000
@@ -97,7 +111,7 @@
  			<param name="profileName" value="SDKProfile" />
  		</antcall>
  
-@@ -804,7 +815,8 @@
+@@ -829,7 +833,8 @@
  		<!--
  		<echo message="Calling runtests with (debug, verbose) = (${testSwitches})" />
  		-->
@@ -107,7 +121,7 @@
  			<arg value="-t${timestamp}" />
  			<arg value="-a${buildArch}" />
  			<arg value="-o${buildOs}" />
-@@ -958,7 +962,7 @@
+@@ -958,33 +963,29 @@
  	<target name="installIntoDestDir">
  		<mkdir dir="${installationDir}" />
                  <exec executable="rsync" failonerror="true">
@@ -116,13 +130,14 @@
                         <arg value="--exclude=dropins" />
                         <arg value="${provisionDir}/" />
                         <arg value="${installationDir}/" />
-@@ -966,25 +970,21 @@
+                 </exec>
  
  		<!-- install desktop file -->
- 		<copy file="eclipse.desktop" todir="${destDir}${prefix}/share/applications" />
+-		<copy file="eclipse.desktop" todir="${destDir}${prefix}/share/applications" />
 -		<!-- install Eclipse Java code formatter launcher -->
 -		<property name="efj" value="${destDir}${prefix}/bin/efj"/>
 -		<copy file="efj.sh" todir="${efj}" />
++		<copy file="eclipse.desktop" tofile="${destDir}${prefix}/share/applications/%%PORTNAME%%.desktop" />
  	    <fileset id="equinoxLauncher" dir="${installationDir}/plugins">
  	      <include name="org.eclipse.equinox.launcher_*.jar" />
  	    </fileset>
@@ -148,7 +163,7 @@
  		<!-- Create the "swt.jar" and friends symlinks  -->
  		<fileset dir="${installationDir}/plugins" includes="org.eclipse.swt.gtk.${buildOs}.${buildArch}_*" id="swtjar" />
  		<property name="swtjarpath" refid="swtjar" />
-@@ -992,7 +996,7 @@
+@@ -992,7 +993,7 @@
  		<symlink link="${installationDir}/swt-gtk.jar" resource="plugins/${swtjarpath}" overwrite="true"/>
  		<symlink link="${installationDir}/swt.jar" resource="plugins/${swtjarpath}" overwrite="true"/>
  
@@ -157,7 +172,7 @@
  
  		<!-- Extract SWT JNI .so files -->
  		<java classname="org.eclipse.core.launcher.Main" fork="true" failonerror="true" dir="${destDir}">
-@@ -990,8 +1001,8 @@
+@@ -1064,8 +1065,8 @@
  			<arg value="s@/@_ at g" />
  		</exec>
  		<apply executable="sed" failonerror="true" verbose="true">
@@ -168,7 +183,7 @@
  			<srcfile />
  			<fileset dir="${installationDir}">
  				<include name="metadata/content.xml" />
-@@ -1012,7 +1023,7 @@
+@@ -1086,7 +1087,7 @@
  			</fileset>
  		</apply>
  		<apply executable="sed" failonerror="true" verbose="true">


More information about the freebsd-eclipse mailing list