rpms/eclipse-phpeclipse/F-9 eclipse-phpeclipse-fix-phpmanual-view.patch, NONE, 1.1 eclipse-phpeclipse-httpd-integration.patch, 1.5, 1.6 eclipse-phpeclipse.spec, 1.8, 1.9 get-phpeclipse.sh, 1.2, 1.3 sources, 1.4, 1.5 eclipse-phpeclipse-no-htmlparser.patch, 1.2, NONE
Mat Booth
mbooth at fedoraproject.org
Sun Apr 5 20:36:43 UTC 2009
Author: mbooth
Update of /cvs/pkgs/rpms/eclipse-phpeclipse/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14964
Modified Files:
eclipse-phpeclipse-httpd-integration.patch
eclipse-phpeclipse.spec get-phpeclipse.sh sources
Added Files:
eclipse-phpeclipse-fix-phpmanual-view.patch
Removed Files:
eclipse-phpeclipse-no-htmlparser.patch
Log Message:
* Sun Apr 05 2009 Mat Booth <fedora at matbooth.co.uk> 1.2.1-3
- Drop GCJ AOT support.
- Add htmlparser dependency and drop htmlparser patch.
- Add patch to fix PartInitException and IllegalArgumentException in
PHP Manual view.
eclipse-phpeclipse-fix-phpmanual-view.patch:
--- NEW FILE eclipse-phpeclipse-fix-phpmanual-view.patch ---
Index: /home/mbooth/workspace/net.sourceforge.phpeclipse.phpmanual/src/net/sourceforge/phpeclipse/phpmanual/views/PHPManualView.java
===================================================================
--- /home/mbooth/workspace/net.sourceforge.phpeclipse.phpmanual/src/net/sourceforge/phpeclipse/phpmanual/views/PHPManualView.java (revision 1643)
+++ /home/mbooth/workspace/net.sourceforge.phpeclipse.phpmanual/src/net/sourceforge/phpeclipse/phpmanual/views/PHPManualView.java (working copy)
@@ -181,7 +181,8 @@
Display.getDefault().asyncExec(new Runnable() {
public void run() {
String html = getHtmlSource(funcName);
- browser.setText(html);
+ if (html != null)
+ browser.setText(html);
}
});
}
Index: /home/mbooth/workspace/net.sourceforge.phpeclipse.phpmanual/plugin.xml
===================================================================
--- /home/mbooth/workspace/net.sourceforge.phpeclipse.phpmanual/plugin.xml (revision 1643)
+++ /home/mbooth/workspace/net.sourceforge.phpeclipse.phpmanual/plugin.xml (working copy)
@@ -13,16 +13,16 @@
icon="icons/phpmanual.png"
category="net.sourceforge.phpeclipse.views.category"
class="net.sourceforge.phpeclipse.phpmanual.views.PHPManualView"
- id="net.sourceforge.phpeclipse.phpmanual.views.PHPManualViewz">
+ id="net.sourceforge.phpeclipse.phpmanual.views.PHPManualView">
</view>
</extension>
<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
- targetID="org.eclipse.ui.resourcePerspective">
+ targetID="net.sourceforge.phpeclipse.PHPPerspective">
<view
ratio="0.5"
- relative="org.eclipse.ui.views.TaskList"
+ relative="net.sourceforge.phpeclipse.webbrowser.views"
relationship="right"
id="net.sourceforge.phpeclipse.phpmanual.views.PHPManualView">
</view>
eclipse-phpeclipse-httpd-integration.patch:
Index: eclipse-phpeclipse-httpd-integration.patch
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse-phpeclipse/F-9/eclipse-phpeclipse-httpd-integration.patch,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- eclipse-phpeclipse-httpd-integration.patch 15 Nov 2008 02:23:30 -0000 1.5
+++ eclipse-phpeclipse-httpd-integration.patch 5 Apr 2009 20:36:42 -0000 1.6
@@ -119,9 +119,9 @@
+_xampp_start_pref=
+_xampp_stop_pref=
+__mysql_start=
-+__apache_start=-f /usr/share/eclipse/plugins/net.sourceforge.phpeclipse.externaltools_1.2.1/conf/httpd.conf -c "ErrorLog {0}/.metadata/phpeclipse-httpd-error_log" -c "DocumentRoot {0}" -c "PidFile {0}/.metadata/phpeclipse-httpd.pid" -c "Listen {1}"
-+__apache_stop=-f /usr/share/eclipse/plugins/net.sourceforge.phpeclipse.externaltools_1.2.1/conf/httpd.conf -c "ErrorLog {0}/.metadata/phpeclipse-httpd-error_log" -c "DocumentRoot {0}" -c "PidFile {0}/.metadata/phpeclipse-httpd.pid" -c "Listen {1}" -k stop
-+__apache_restart=-f /usr/share/eclipse/plugins/net.sourceforge.phpeclipse.externaltools_1.2.1/conf/httpd.conf -c "ErrorLog {0}/.metadata/phpeclipse-httpd-error_log" -c "DocumentRoot {0}" -c "PidFile {0}/.metadata/phpeclipse-httpd.pid" -c "Listen {1}" -k restart
++__apache_start=-f /usr/share/eclipse/dropins/phpeclipse/eclipse/plugins/net.sourceforge.phpeclipse.externaltools_1.2.1/conf/httpd.conf -c "ErrorLog {0}/.metadata/phpeclipse-httpd-error_log" -c "DocumentRoot {0}" -c "PidFile {0}/.metadata/phpeclipse-httpd.pid" -c "Listen {1}"
++__apache_stop=-f /usr/share/eclipse/dropins/phpeclipse/eclipse/plugins/net.sourceforge.phpeclipse.externaltools_1.2.1/conf/httpd.conf -c "ErrorLog {0}/.metadata/phpeclipse-httpd-error_log" -c "DocumentRoot {0}" -c "PidFile {0}/.metadata/phpeclipse-httpd.pid" -c "Listen {1}" -k stop
++__apache_restart=-f /usr/share/eclipse/dropins/phpeclipse/eclipse/plugins/net.sourceforge.phpeclipse.externaltools_1.2.1/conf/httpd.conf -c "ErrorLog {0}/.metadata/phpeclipse-httpd-error_log" -c "DocumentRoot {0}" -c "PidFile {0}/.metadata/phpeclipse-httpd.pid" -c "Listen {1}" -k restart
_mysql_start_background=true
_apache_start_background=true
_apache_stop_background=true
@@ -307,10 +307,10 @@
+ prefs/default_win32.properties
+src.excludes = prefs/default_macosx.properties,\
+ prefs/default_win32.properties
-Index: /home/mbooth/workspace-plugins/net.sourceforge.phpeclipse.externaltools/plugin.xml
+Index: /home/mbooth/workspace/net.sourceforge.phpeclipse.externaltools/plugin.xml
===================================================================
---- /home/mbooth/workspace-plugins/net.sourceforge.phpeclipse.externaltools/plugin.xml (revision 1625)
-+++ /home/mbooth/workspace-plugins/net.sourceforge.phpeclipse.externaltools/plugin.xml (working copy)
+--- /home/mbooth/workspace/net.sourceforge.phpeclipse.externaltools/plugin.xml (revision 1643)
++++ /home/mbooth/workspace/net.sourceforge.phpeclipse.externaltools/plugin.xml (working copy)
@@ -192,11 +192,6 @@
</page>
<page
@@ -323,7 +323,18 @@
class="net.sourceforge.phpdt.externaltools.preferences.MySQLPreferencePage"
id="net.sourceforge.phpeclipse.externaltools.mysql.preferences"
name="MySQL"/>
-@@ -268,24 +263,6 @@
+@@ -213,10 +208,6 @@
+ targetID="net.sourceforge.phpeclipse.PHPPerspective">
+ <actionSet id="net.sourceforge.phpeclipse.PHPActionSet"/>
+ </perspectiveExtension>
+- <perspectiveExtension
+- targetID="net.sourceforge.phpeclipse.PHPPerspective">
+- <actionSet id="net.sf.eclipsetidy.ActionSet"/>
+- </perspectiveExtension>
+ </extension>
+
+ <extension
+@@ -268,24 +259,6 @@
toolbarPath="Normal"
id="net.sourceforge.phpdt.externaltools.actions.PHPStartMySQLAction">
</action>
Index: eclipse-phpeclipse.spec
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse-phpeclipse/F-9/eclipse-phpeclipse.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- eclipse-phpeclipse.spec 16 Nov 2008 21:55:15 -0000 1.8
+++ eclipse-phpeclipse.spec 5 Apr 2009 20:36:42 -0000 1.9
@@ -1,9 +1,8 @@
%define eclipse_base %{_datadir}/eclipse
-%define gcj_support 1
Name: eclipse-phpeclipse
Version: 1.2.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: PHP Eclipse plugin
Group: Development/Tools
License: CPL
@@ -18,27 +17,23 @@
Patch0: %{name}-broken-help-links.patch
Patch1: %{name}-fix-build-props.patch
Patch2: %{name}-httpd-integration.patch
-Patch3: %{name}-no-htmlparser.patch
Patch4: %{name}-rm-win32-help.patch
Patch5: %{name}-external-parser.patch
Patch6: %{name}-external-preview.patch
+Patch7: %{name}-fix-phpmanual-view.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-%if %{gcj_support}
-BuildRequires: gcc-java
-BuildRequires: java-gcj-compat-devel
-Requires(post): java-gcj-compat
-Requires(postun): java-gcj-compat
-%else
BuildArch: noarch
-%endif
+
BuildRequires: java-devel
BuildRequires: jpackage-utils
-BuildRequires: eclipse-pde >= 1:3.3
+BuildRequires: eclipse-pde >= 3.3
+BuildRequires: htmlparser
Requires: java
Requires: jpackage-utils
-Requires: eclipse-platform >= 1:3.3
+Requires: eclipse-platform >= 3.3
+Requires: htmlparser
Requires: php >= 5
Requires: php-pecl-xdebug
Requires: httpd
@@ -55,21 +50,19 @@
%patch0 -p4
%patch1 -p4
%patch2 -p4
-%patch3 -p4
%patch4 -p4
%patch5 -p4
%patch6 -p4
+%patch7 -p4
# ditch bundled libs in favor of building against fedora packaged libs
-#rm net.sourceforge.phpeclipse.phpmanual.htmlparser/sax2.jar \
-# net.sourceforge.phpeclipse.phpmanual.htmlparser/htmllexer.jar \
-# net.sourceforge.phpeclipse.phpmanual.htmlparser/filterbuilder.jar \
-# net.sourceforge.phpeclipse.phpmanual.htmlparser/thumbelina.jar \
-# net.sourceforge.phpeclipse.phpmanual.htmlparser/junit.jar \
-# net.sourceforge.phpeclipse.phpmanual.htmlparser/htmlparser.jar
-#build-jar-repository -s -p net.sourceforge.phpeclipse.phpmanual.htmlparser xml-commons-apis
-
-#grep -lR sax2 * | xargs sed --in-place "s/sax2/xml-commons-apis/"
+rm net.sourceforge.phpeclipse.phpmanual.htmlparser/sax2.jar \
+ net.sourceforge.phpeclipse.phpmanual.htmlparser/htmllexer.jar \
+ net.sourceforge.phpeclipse.phpmanual.htmlparser/filterbuilder.jar \
+ net.sourceforge.phpeclipse.phpmanual.htmlparser/thumbelina.jar \
+ net.sourceforge.phpeclipse.phpmanual.htmlparser/junit.jar \
+ net.sourceforge.phpeclipse.phpmanual.htmlparser/htmlparser.jar
+build-jar-repository -s -p net.sourceforge.phpeclipse.phpmanual.htmlparser htmlparser
# fix jar versions
find -name MANIFEST.MF | xargs sed --in-place "s/0.0.0/%{version}/"
@@ -103,39 +96,27 @@
# need to recreate the symlinks to libraries that were setup in "prep"
# because for some reason the ant copy task doesn't preserve them
-#pushd %{buildroot}%{eclipse_base}/plugins/net.sourceforge.phpeclipse.phpmanual.htmlparser_*
-#rm *.jar
-#build-jar-repository -s -p . xml-commons-apis
-#popd
-
-%if %{gcj_support}
-%{_bindir}/aot-compile-rpm
-%endif
+pushd %{buildroot}%{eclipse_base}/plugins/net.sourceforge.phpeclipse.phpmanual.htmlparser_*
+rm *.jar
+build-jar-repository -s -p . htmlparser
+popd
%clean
rm -rf %{buildroot}
-%if %{gcj_support}
-%post -p %{_bindir}/rebuild-gcj-db
-%postun -p %{_bindir}/rebuild-gcj-db
-%endif
-
%files
%defattr(-,root,root,-)
# main feature
-%doc %{eclipse_base}/features/net.sourceforge.phpeclipse.feature_*/cpl-v10.html
-%{eclipse_base}/features/net.sourceforge.phpeclipse.feature_*/feature.xml
-%{eclipse_base}/features/net.sourceforge.phpeclipse.feature_*/license.html
-%{eclipse_base}/features/net.sourceforge.phpeclipse.feature_*/phpeclipse.jpeg
-%dir %{eclipse_base}/features/net.sourceforge.phpeclipse.feature_*
+%doc net.sourceforge.phpeclipse.feature/cpl-v10.html
+%{eclipse_base}/features/net.sourceforge.phpeclipse.feature_*
%{eclipse_base}/plugins/net.sourceforge.phpeclipse_*
%{eclipse_base}/plugins/net.sourceforge.phpeclipse.core_*
%{eclipse_base}/plugins/net.sourceforge.phpeclipse.externaltools_*
%{eclipse_base}/plugins/net.sourceforge.phpeclipse.help_*
%{eclipse_base}/plugins/net.sourceforge.phpeclipse.phphelp_*
%{eclipse_base}/plugins/net.sourceforge.phpeclipse.phpmanual_*
-#%{eclipse_base}/plugins/net.sourceforge.phpeclipse.phpmanual.htmlparser_*
+%{eclipse_base}/plugins/net.sourceforge.phpeclipse.phpmanual.htmlparser_*
%{eclipse_base}/plugins/net.sourceforge.phpeclipse.smarty.ui_*
%{eclipse_base}/plugins/net.sourceforge.phpeclipse.ui_*
%{eclipse_base}/plugins/net.sourceforge.phpeclipse.webbrowser_*
@@ -151,11 +132,13 @@
%{eclipse_base}/plugins/net.sourceforge.phpeclipse.xdebug.core_*
%{eclipse_base}/plugins/net.sourceforge.phpeclipse.xdebug.ui_*
-%if %{gcj_support}
-%{_libdir}/gcj/%{name}
-%endif
-
%changelog
+* Sun Apr 05 2009 Mat Booth <fedora at matbooth.co.uk> 1.2.1-3
+- Drop GCJ AOT support.
+- Add htmlparser dependency and drop htmlparser patch.
+- Add patch to fix PartInitException and IllegalArgumentException in
+ PHP Manual view.
+
* Sun Nov 16 2008 Mat Booth <fedora at matbooth.co.uk> 1.2.1-2
- Add php-pecl-xdebug dependency.
Index: get-phpeclipse.sh
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse-phpeclipse/F-9/get-phpeclipse.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- get-phpeclipse.sh 15 Nov 2008 02:23:30 -0000 1.2
+++ get-phpeclipse.sh 5 Apr 2009 20:36:42 -0000 1.3
@@ -18,6 +18,7 @@
net.sourceforge.phpeclipse.launching \
net.sourceforge.phpeclipse.phphelp \
net.sourceforge.phpeclipse.phpmanual \
+ net.sourceforge.phpeclipse.phpmanual.htmlparser \
net.sourceforge.phpeclipse.smarty.ui \
net.sourceforge.phpeclipse.ui \
net.sourceforge.phpeclipse.webbrowser \
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse-phpeclipse/F-9/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources 15 Nov 2008 02:23:30 -0000 1.4
+++ sources 5 Apr 2009 20:36:42 -0000 1.5
@@ -1 +1 @@
-a0ccdfd8056caa958bff85f7e7b1adc9 phpeclipse-1.2.1.tar.gz
+8ac385ed7418b7cf61cacc7f630adf36 phpeclipse-1.2.1.tar.gz
--- eclipse-phpeclipse-no-htmlparser.patch DELETED ---
More information about the scm-commits
mailing list