[Pkg-octave-commit] [octave-interval] 01/01: Replace external CSS with local copy

Oliver Heimlich oheim-guest at moszumanska.debian.org
Sat Jun 11 06:02:32 UTC 2016


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

oheim-guest pushed a commit to branch master
in repository octave-interval.

commit 5a7dbbf108b59d803b0ccaaa0a0235a7ad4f2658
Author: Oliver Heimlich <oheim at posteo.de>
Date:   Sat Jun 11 07:32:26 2016 +0200

    Replace external CSS with local copy
    
     * Fixes lintian warning “privacy-breach-generic”
     * Also removed custom fonts
---
 debian/patches/fix-external-css.patch | 56 +++++++++++++++++++++++++++++++++++
 debian/patches/series                 |  1 +
 2 files changed, 57 insertions(+)

diff --git a/debian/patches/fix-external-css.patch b/debian/patches/fix-external-css.patch
new file mode 100644
index 0000000..73c439f
--- /dev/null
+++ b/debian/patches/fix-external-css.patch
@@ -0,0 +1,56 @@
+--- a/doc/Makefile
++++ b/doc/Makefile
+@@ -17,7 +17,7 @@
+ images: $(IMAGE_OBJ)
+ 
+ manual.html: manual.texinfo $(wildcard chapter/*) license/gpl-3.0.texi $(wildcard image/*.texinfo) $(IMAGE_OBJ)
+-	$(MAKEINFO) -D 'version $(VERSION)' --html --no-split --css-ref='https://www.gnu.org/software/octave/doc/interpreter/octave.css' --css-include manual.css "$<"
++	$(MAKEINFO) -D 'version $(VERSION)' --html --no-split --css-include=octave.css --css-include manual.css "$<"
+ 
+ manual.pdf: manual.texinfo $(wildcard chapter/*) license/gpl-3.0.texi $(wildcard image/*.texinfo) $(wildcard image/*.pdf) $(IMAGE_OBJ)
+ 	$(MAKEINFO) --Xopt=--texinfo='@set version $(VERSION)' --pdf "$<"
+--- /dev/null
++++ b/doc/octave.css
+@@ -0,0 +1,42 @@
++/*
++Copyright (C) 2016 Oliver Heimlich
++
++This file is part of Octave.
++
++Octave is free software; you can redistribute it and/or modify it
++under the terms of the GNU General Public License as published by the
++Free Software Foundation; either version 3 of the License, or (at
++your option) any later version.
++
++Octave is distributed in the hope that it will be useful, but WITHOUT
++ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
++FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
++for more details.
++
++You should have received a copy of the GNU General Public License
++along with Octave; see the file COPYING.  If not, see
++<http://www.gnu.org/licenses/>.
++*/
++
++body > * { max-width: 42em; }
++div.header { max-width: 100%; }
++hr { margin-left: 0; border: none; border-top: 3px double #657b83; }
++div.header, div.float-caption { color: #657b83; }
++ul, ol { max-width: 39.5em; padding-left: 2.5em; }
++div.example, div.display, div.indentedblock, div.smalldisplay, div.lisp, div.smallindentedblock, div.smallexample, div.smalllisp { max-width: 38.8em; margin-left: 3.2em; }
++blockquote { margin-left: 3.2em; margin-right: 3.2em; max-width: 35.6em; }
++body, span.roman { font-family: sans-serif; }
++body { padding-left: 7.5em; padding-right: 7.5em; }
++h1, h2, h3, h4, h5, pre.menu-comment { font-family: serif; text-align: left !important; }
++div.float table, img { margin-left: auto; margin-right: auto; }
++div.float table { width: 38em; }
++div.float table, div.float th { border-collapse: collapse; border-top: 1px solid black; border-bottom: 1px solid black; }
++div.float th, div.float td { padding: 0.5em; }
++dd > p:first-child { margin-top: 0; }
++a { color: #268bd2; }
++a:visited { color: #d33682; }
++code, kbd, samp, tt { font-family: monospace; padding: 0 0.1em; font-style: italic; }
++pre.example, pre.smallexample, pre.verbatim { font-family: monospace; }
++pre.example { background-color: #fdf6e3; color: #657b83; padding: 0.5em; }
++.example { margin-bottom: 1em; }
++.example + .example { margin-top: -0.5em }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..578de0b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-external-css.patch

-- 
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-interval.git



More information about the Pkg-octave-commit mailing list