rpms/eclipse-photran/devel eclipse-photran-4.0.0b5-outline.patch, NONE, 1.1 eclipse-photran.spec, 1.8, 1.9

Orion Poplawski orion at fedoraproject.org
Tue Apr 7 14:58:22 UTC 2009


Author: orion

Update of /cvs/pkgs/rpms/eclipse-photran/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30073

Modified Files:
	eclipse-photran.spec 
Added Files:
	eclipse-photran-4.0.0b5-outline.patch 
Log Message:
* Tue Apr 7 2009 Orion Poplawski <orion at cora.nwra.com> - 4.0.0-0.6.b5
- Add patch from discussion list to fix outline view


eclipse-photran-4.0.0b5-outline.patch:

--- NEW FILE eclipse-photran-4.0.0b5-outline.patch ---
--- org.eclipse.photran-v20090220_4_0_0_Beta5/org.eclipse.photran.ui/src/org/eclipse/photran/internal/ui/editor/AbstractFortranEditor.java.outline	2009-02-11 11:00:52.000000000 -0700
+++ org.eclipse.photran-v20090220_4_0_0_Beta5/org.eclipse.photran.ui/src/org/eclipse/photran/internal/ui/editor/AbstractFortranEditor.java	2009-04-06 09:01:50.000000000 -0600
@@ -17,11 +17,11 @@
 import org.eclipse.cdt.core.model.IWorkingCopy;
 import org.eclipse.cdt.internal.ui.actions.SelectionConverter;
 import org.eclipse.cdt.internal.ui.editor.CContentOutlinePage;
+import org.eclipse.cdt.internal.ui.editor.CEditor;
 import org.eclipse.cdt.internal.ui.editor.CEditorMessages;
 import org.eclipse.cdt.internal.ui.editor.ICEditorActionDefinitionIds;
 import org.eclipse.cdt.internal.ui.text.CCompositeReconcilingStrategy;
 import org.eclipse.cdt.internal.ui.text.CReconciler;
-import org.eclipse.cdt.internal.ui.text.CReconcilingStrategy;
 import org.eclipse.cdt.ui.CUIPlugin;
 import org.eclipse.cdt.ui.IWorkingCopyManager;
 import org.eclipse.core.resources.IFile;
@@ -442,7 +442,7 @@
 	 */
 	public CContentOutlinePage getOutlinePage() {
 		if (fOutlinePage == null) {
-			fOutlinePage = new CContentOutlinePage(null);
+			fOutlinePage = new CContentOutlinePage(new CEditor());
 			fOutlinePage.addSelectionChangedListener(this);
 		}
 		setOutlinePageInput(fOutlinePage, getEditorInput());


Index: eclipse-photran.spec
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse-photran/devel/eclipse-photran.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- eclipse-photran.spec	23 Mar 2009 18:38:24 -0000	1.8
+++ eclipse-photran.spec	7 Apr 2009 14:57:51 -0000	1.9
@@ -8,7 +8,7 @@
 Summary:        Eclipse Fortran Development Tools (Photran) plugin
 Name:           eclipse-photran
 Version:        %{majmin}.%{patch}
-Release:        0.5.b5%{?dist}
+Release:        0.6.b5%{?dist}
 License:        EPL
 Group:          Development/Tools
 URL:            http://www.eclipse.org/photran
@@ -17,6 +17,7 @@
 # The following tarball was generated by the makesource.sh script
 Source0: org.eclipse.photran-v20090220_4_0_0_Beta5.tar.gz
 Source1: makesource.sh
+Patch0:  eclipse-photran-4.0.0b5-outline.patch
 BuildRequires: eclipse-pde
 BuildRequires: eclipse-cdt >= 4.0.1
 %if %{gcj_support}
@@ -61,6 +62,7 @@
 
 %prep
 %setup -q -n org.eclipse.photran-v20090220_4_0_0_Beta5
+%patch0 -p1 -b .outline
 # Fixup to use 1.5 source level
 find -name \*.prefs | xargs sed -i -e 's/source=1.3/source=1.5/'
 # This prevents the intel feature from building
@@ -126,6 +128,9 @@
 
 
 %changelog
+* Tue Apr 7 2009 Orion Poplawski <orion at cora.nwra.com> - 4.0.0-0.6.b5
+- Add patch from discussion list to fix outline view
+
 * Mon Mar 23 2009 Alexander Kurtakov <akurtako at redhat.com> 4.0.0-0.5.b5
 - Rebuild to not ship p2 content.xml.
 




More information about the fedora-extras-commits mailing list