[giac] 01/01: Fix overzealous no-remote patch

Ximin Luo infinity0 at debian.org
Tue Jun 27 08:47:53 UTC 2017


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository giac.

commit 797e08665cf27c0ec6f8430ca77ff9a09f898911
Author: Ximin Luo <infinity0 at debian.org>
Date:   Tue Jun 27 10:47:27 2017 +0200

    Fix overzealous no-remote patch
---
 debian/patches/dont-include-remote-scripts.patch | 38 +-----------------------
 1 file changed, 1 insertion(+), 37 deletions(-)

diff --git a/debian/patches/dont-include-remote-scripts.patch b/debian/patches/dont-include-remote-scripts.patch
index 640df2d..45e6653 100644
--- a/debian/patches/dont-include-remote-scripts.patch
+++ b/debian/patches/dont-include-remote-scripts.patch
@@ -6,7 +6,7 @@ Description: Don't include remote scripts
    -e '/^%\loadgiacjsonline/d' \
    doc/testfr.tex doc/test.tex doc/giac.tex doc/giacfr.tex doc/xcasen.html doc/xcasfr.html
  then refresh, pop, and manually remove false positives from this patch, e.g.
- %%comments and \verb literals.
+ %%comments and \verb literals and \newenvironment declarations.
 Author: Ximin Luo <infinity0 at debian.org>
 Forwarded: not-needed
 ---
@@ -33,24 +33,6 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
  \end{document}
 --- a/doc/giac.tex
 +++ b/doc/giac.tex
-@@ -59,7 +59,7 @@
- }
- \loadgiacscriptend
- } 
--\newenvironment{giacjsonline}[1]["max-height: 500px; overflow:auto"]
-+\newenvironment{giacjshere}[1]["max-height: 500px; overflow:auto"]
- {\loadgiacmain{#1}
- }
- {
-@@ -86,7 +86,7 @@
- \newenvironment{giacjs}[1]["max-height: 500px; overflow:auto"]{}{}
- \newenvironment{giacjshere}[1]["max-height: 500px; overflow:auto"]{}{}
- \newenvironment{giacparijs}[1]["max-height: 500px; overflow:auto"]{}{}
--\newenvironment{giacjsonline}[1]["max-height: 500px; overflow:auto"]{}{}
-+\newenvironment{giacjshere}[1]["max-height: 500px; overflow:auto"]{}{}
- \newenvironment{giacparijsonline}[1]["max-height: 500px; overflow:auto"]{}{}
- \fi
- \newcommand{\loadgiacscriptstart}{
 @@ -348,7 +348,7 @@
    if (UI.usemathjax){
      var script = document.createElement("script");
@@ -62,24 +44,6 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
    var elem= document.getElementById('controlindex');
 --- a/doc/giacfr.tex
 +++ b/doc/giacfr.tex
-@@ -58,7 +58,7 @@
- }
- \loadgiacscriptend
- } 
--\newenvironment{giacjsonline}[1]["max-height: 500px; overflow:auto"]
-+\newenvironment{giacjshere}[1]["max-height: 500px; overflow:auto"]
- {\loadgiacmain{#1}
- }
- {
-@@ -85,7 +85,7 @@
- \newenvironment{giacjs}[1]["max-height: 500px; overflow:auto"]{}{}
- \newenvironment{giacjshere}[1]["max-height: 500px; overflow:auto"]{}{}
- \newenvironment{giacparijs}[1]["max-height: 500px; overflow:auto"]{}{}
--\newenvironment{giacjsonline}[1]["max-height: 500px; overflow:auto"]{}{}
-+\newenvironment{giacjshere}[1]["max-height: 500px; overflow:auto"]{}{}
- \newenvironment{giacparijsonline}[1]["max-height: 500px; overflow:auto"]{}{}
- \fi
- \newcommand{\loadgiacscriptstart}{
 @@ -342,7 +342,7 @@
    if (UI.usemathjax){
      var script = document.createElement("script");

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/giac.git



More information about the debian-science-commits mailing list