[fedora-java] Another crack at photran

Ben Konrath bkonrath at redhat.com
Wed Apr 25 10:44:37 UTC 2007


Hi Orion,

I investigated the photran build you provided and managed to get
something going. There were a couple of problems with your spec file
which I have corrected with the attached a patch. The photran build also
hit a bug in package-build so you will need to install a new version of
prepare-build-dir.sh (attached). Something like this should do the
trick:

sudo mv prepare-build-dir.sh \
  /usr/share/eclipse/plugins/org.eclipse.pde.build_3.2.1.r321_v20060823/templates/package-build

I will update package-build in the FC-6 eclipse package and push out a
new release. Expect to see it in a couple of days.

Also, there are three features included in the Photran zip:

  org.eclipse.photran_feature
  org.eclipse.photran.intel
  org.eclipse.photran.refactoring_feature

Your spec file (with my patch) is only building
org.eclipse.photran_feature. You will need to add another call to
package-build for the org.eclipse.photran.intel and
org.eclipse.photran.refactoring_feature features if you want to build
them.

Thanks for packaging up this plugin! Feel free to post any other
questions you have.

Cheers, Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eclipse-photran.spec.patch
Type: text/x-patch
Size: 1207 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/java-devel/attachments/20070425/e4435b11/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prepare-build-dir.sh
Type: application/x-shellscript
Size: 2582 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/java-devel/attachments/20070425/e4435b11/attachment-0001.bin 


More information about the java-devel mailing list