[eclipse-texlipse] Update to 1.5.0

mef mef at fedoraproject.org
Wed Mar 14 11:07:25 UTC 2012


commit 75b6737a2b01d5343130b42cef750a580f1ea2ec
Author: Mary Ellen Foster <mefoster at gmail.com>
Date:   Wed Mar 14 10:48:56 2012 +0000

    Update to 1.5.0

 .gitignore                                         |    3 ++
 ...atch => eclipse-texlipse-1.5.0-pdfpreview.patch |   14 +++++-----
 eclipse-texlipse-bin_excludes.patch                |   10 ++++---
 eclipse-texlipse-download.sh                       |   15 ----------
 eclipse-texlipse-feature-version.patch             |   19 +++++++++++++
 eclipse-texlipse.spec                              |   29 +++++++++++++------
 sources                                            |    3 +-
 7 files changed, 57 insertions(+), 36 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 335a6ba..ad2c7cf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,4 @@
 net.sourceforge.texlipse.tar.gz
+net.sourceforge.texlipse-feature.tar.gz
+net.sourceforge.texlipse.254ca99.tar.gz
+net.sourceforge.texlipse-feature.80ce9fe.tar.gz
diff --git a/eclipse-texlipse-1.3.0-pdfpreview.patch b/eclipse-texlipse-1.5.0-pdfpreview.patch
similarity index 58%
rename from eclipse-texlipse-1.3.0-pdfpreview.patch
rename to eclipse-texlipse-1.5.0-pdfpreview.patch
index 5342030..859edef 100644
--- a/eclipse-texlipse-1.3.0-pdfpreview.patch
+++ b/eclipse-texlipse-1.5.0-pdfpreview.patch
@@ -1,17 +1,17 @@
---- net.sourceforge.texlipse/net.sourceforge.texlipse/source/net/sourceforge/texlipse/viewer/ViewerAttributeRegistry.java	2009-05-04 23:12:38.000000000 +0200
-+++ ViewerAttributeRegistry.java	2009-06-16 21:09:03.602314289 +0200
-@@ -61,7 +61,7 @@
+--- eclipse-texlipse-1.5.0/net.sourceforge.texlipse/source/net/sourceforge/texlipse/viewer/ViewerAttributeRegistry.java.orig	2012-03-06 12:37:08.250146516 +0000
++++ eclipse-texlipse-1.5.0/net.sourceforge.texlipse/source/net/sourceforge/texlipse/viewer/ViewerAttributeRegistry.java	2012-03-06 12:37:40.665007336 +0000
+@@ -62,7 +62,7 @@
      private static final String VIEWER_YAP = "yap";
  
      private static final String VIEWER_GV = "gv";
 -    private static final String VIEWER_ACROBAT = "acroread";
 +    private static final String VIEWER_ACROBAT = "PDF Reader";
+     private static final String VIEWER_SUMATRA = "sumatra PDF";
      private static final String VIEWER_ITEXMAC = "itexmac";
  
-     // default viewer attribute values 
-@@ -179,7 +179,7 @@
-         prefs.setDefault(VIEWER_GV + ATTRIBUTE_INVERSE_SEARCH, INVERSE_SEARCH_NO);
-         prefs.setDefault(VIEWER_GV + ATTRIBUTE_FORWARD_SEARCH, "false");
+@@ -192,7 +192,7 @@
+         prefs.setDefault(VIEWER_SUMATRA + ATTRIBUTE_INVERSE_SEARCH, INVERSE_SEARCH_NO);
+         prefs.setDefault(VIEWER_SUMATRA + ATTRIBUTE_FORWARD_SEARCH, "true");
  
 -        prefs.setDefault(VIEWER_ACROBAT + ATTRIBUTE_COMMAND, findFromEnvPath("acroread", "acroread.exe", ""));
 +        prefs.setDefault(VIEWER_ACROBAT + ATTRIBUTE_COMMAND, findFromEnvPath("xdg-open", "acroread.exe", ""));
diff --git a/eclipse-texlipse-bin_excludes.patch b/eclipse-texlipse-bin_excludes.patch
index 548c62e..147ed29 100644
--- a/eclipse-texlipse-bin_excludes.patch
+++ b/eclipse-texlipse-bin_excludes.patch
@@ -1,9 +1,11 @@
---- net.sourceforge.texlipse/build.properties	2008-02-25 23:15:30.000000000 +0100
-+++ build.properties	2009-06-18 14:39:35.543178215 +0200
-@@ -8,5 +8,4 @@
+--- eclipse-texlipse-1.5.0/net.sourceforge.texlipse/build.properties.orig	2012-03-06 12:39:08.864628621 +0000
++++ eclipse-texlipse-1.5.0/net.sourceforge.texlipse/build.properties	2012-03-06 12:39:28.496544308 +0000
+@@ -8,7 +8,4 @@
                 templates/,\
                 toc.xml,\
                 about.html,\
 -               contexts.xml,\
--               ddeclient.dll
+-               ddeclient-x86.dll,\
+-               jazzy-core.jar,\
+-               ddeclient-x86_64.dll
 +               contexts.xml
diff --git a/eclipse-texlipse-feature-version.patch b/eclipse-texlipse-feature-version.patch
new file mode 100644
index 0000000..f6d305c
--- /dev/null
+++ b/eclipse-texlipse-feature-version.patch
@@ -0,0 +1,19 @@
+--- eclipse-texlipse-1.5.0/net.sourceforge.texlipse-feature/feature.xml.orig	2012-03-06 13:06:13.906557188 +0000
++++ eclipse-texlipse-1.5.0/net.sourceforge.texlipse-feature/feature.xml	2012-03-06 13:06:24.001513520 +0000
+@@ -2,7 +2,7 @@
+ <feature
+       id="net.sourceforge.texlipse"
+       label="TeXlipse"
+-      version="1.3.0"
++      version="1.5.0"
+       provider-name="texlipse.sf.net"
+       plugin="net.sourceforge.texlipse"
+       primary="true">
+@@ -282,6 +282,6 @@
+          id="net.sourceforge.texlipse"
+          download-size="0"
+          install-size="0"
+-         version="1.3.0"/>
++         version="1.5.0"/>
+ 
+ </feature>
diff --git a/eclipse-texlipse.spec b/eclipse-texlipse.spec
index 4f05262..aac464b 100644
--- a/eclipse-texlipse.spec
+++ b/eclipse-texlipse.spec
@@ -2,19 +2,26 @@
 %global eclipse_base %{_libdir}/eclipse
 
 %global pkgname      texlipse
+%global plugin_git   254ca99
+%global feature_git  80ce9fe
 
 Name:           eclipse-%{pkgname}
-Version:        1.3.0
-Release:        4.20090829cvs%{?dist}
+Version:        1.5.0
+Release:        1.20111125git%{plugin_git}%{?dist}
 Summary:        Eclipse plugin for editing Latex
 
 Group:          Applications/Engineering
 License:        EPL
 URL:            http://texlipse.sourceforge.net
 
-Source0:        net.sourceforge.%{pkgname}.tar.gz
-# Source1 is used to download Source0
-Source1:        eclipse-%{pkgname}-download.sh
+# git archive --remote git://texlipse.git.sourceforge.net/gitroot/texlipse/net.sourceforge.texlipse \
+#     --prefix=net.sourceforge.texlipse/ %{plugin_git} \
+#     > net.sourceforge.texlipse.%{plugin_git}.tar.gz
+Source0:        net.sourceforge.%{pkgname}.%{plugin_git}.tar.gz
+# git archive --remote git://texlipse.git.sourceforge.net/gitroot/texlipse/net.sourceforge.texlipse-feature \
+#     --prefix=net.sourceforge.texlipse-feature/ %{feature_git} \
+#     > net.sourceforge.texlipse-feature.%{feature_git}.tar.gz
+Source1:        net.sourceforge.%{pkgname}-feature.%{feature_git}.tar.gz
 
 
 # Fedora related patches as upstream default is suitable for Windows as well
@@ -22,6 +29,8 @@ Source1:        eclipse-%{pkgname}-download.sh
 Patch0:         eclipse-%{pkgname}-%{version}-pdfpreview.patch
 #    Remove unneccessary files
 Patch1:         eclipse-%{pkgname}-bin_excludes.patch
+#    Fix version in feature.xml
+Patch2:         eclipse-%{pkgname}-feature-version.patch
 
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -53,9 +62,11 @@ Key features include:
 
 %prep
 %setup -q -c
+%setup -q -T -D -a 1
 
-%patch0 -p1 -b .pdfreview
-%patch1 -p0 -b .exclude
+%patch0 -p1 -b .pdfpreview
+%patch1 -p1 -b .exclude
+%patch2 -p1 -b .feature-version
 
 find -name '*.jar' -o -name '*.class' -o -name '.cvsignore' -exec rm -f '{}' \;
 
@@ -87,8 +98,8 @@ unzip -d %{buildroot}%{install_loc} -q build/rpmBuild/net.sourceforge.%{pkgname}
 
 
 %changelog
-* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3.0-4.20090829cvs
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+* Wed Mar 14 2012 Mary Ellen Foster <mefoster at gmail.com> - 1.5.0-1.20111125git254ca99
+- Update to 1.5.0 (via git snapshot)
 
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3.0-3.20090829cvs
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
diff --git a/sources b/sources
index 000d476..e324434 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
-9aa49f905811f0987c5096b40133eeef  net.sourceforge.texlipse.tar.gz
+f846baee27d3f086297102757adcf473  net.sourceforge.texlipse.254ca99.tar.gz
+7b46f8283d20d64d2b3237b60f650d64  net.sourceforge.texlipse-feature.80ce9fe.tar.gz


More information about the scm-commits mailing list