[deal.ii] 01/01: Replace external links to http://www.dealii.org/deal.ico by local links

Matthias Maier tamiko-guest at moszumanska.debian.org
Mon Mar 3 15:36:18 UTC 2014


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

tamiko-guest pushed a commit to branch master
in repository deal.ii.

commit 0de6bbcd8aa36dfe6a755c1190e2a10444d7bc6f
Author: Matthias Maier <tamiko at kyomu.43-1.org>
Date:   Mon Mar 3 13:32:59 2014 +0100

    Replace external links to http://www.dealii.org/deal.ico by local links
---
 debian/changelog                        |  6 ++++++
 debian/patches/series                   |  1 +
 debian/patches/use_local_deal_ico.patch | 31 +++++++++++++++++++++++++++++++
 debian/rules                            |  4 ++--
 4 files changed, 40 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7ee5924..def4d04 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+deal.ii (8.1.0-3) UNRELEASED; urgency=medium
+
+  * Fix privacy breaches in html documentation v2.
+
+ -- Matthias Maier <tamiko+DEBIAN at kyomu.43-1.org>  Mon, 03 Mar 2014 13:37:27 +0100
+
 deal.ii (8.1.0-2) unstable; urgency=medium
 
   * Add forgotten copyright notice for a file under doc/external-libs/.
diff --git a/debian/patches/series b/debian/patches/series
index fab0ba0..2a50e05 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 fix_suitesparse.patch
+use_local_deal_ico.patch
diff --git a/debian/patches/use_local_deal_ico.patch b/debian/patches/use_local_deal_ico.patch
new file mode 100644
index 0000000..69d4e6d
--- /dev/null
+++ b/debian/patches/use_local_deal_ico.patch
@@ -0,0 +1,31 @@
+Description: Use local (offline) icon instead of an external one
+ This patch replaces all external links to http://www.dealii.org/deal.ico
+ by local ones.
+Author: Matthias Maier <tamiko+DEBIAN at kyomu.43-1.org>
+
+--- deal.ii-8.1.0.orig/doc/doxygen/CMakeLists.txt
++++ deal.ii-8.1.0/doc/doxygen/CMakeLists.txt
+@@ -149,6 +149,12 @@ INSTALL(FILES
+   COMPONENT documentation
+   )
+ 
++INSTALL(FILES
++  ${CMAKE_SOURCE_DIR}/doc/deal.ico
++  DESTINATION ${DEAL_II_DOCHTML_RELDIR}/doxygen/deal.II
++  COMPONENT documentation
++  )
++
+ INSTALL(DIRECTORY
+   ${CMAKE_CURRENT_BINARY_DIR}/deal.II
+   DESTINATION ${DEAL_II_DOCHTML_RELDIR}/doxygen
+--- deal.ii-8.1.0.orig/doc/doxygen/scripts/mod_header.pl.in
++++ deal.ii-8.1.0/doc/doxygen/scripts/mod_header.pl.in
+@@ -6,7 +6,7 @@ $year += 1900;
+ 
+ if (m'</head>')
+ {
+-    print '<link rel="SHORTCUT ICON" href="http://www.dealii.org/deal.ico"></link>', "\n";
++    print '<link rel="SHORTCUT ICON" href="deal.ico"></link>', "\n";
+     print '<meta name="author" content="The deal.II Authors <authors at dealii.org>"></meta>', "\n";
+     print '<meta name="copyright" content="Copyright (C) 1998 - ', $year, ' by the deal.II authors"></meta>', "\n";
+     print '<meta name="deal.II-version" content="@DEAL_II_PACKAGE_VERSION@"></meta>', "\n";
diff --git a/debian/rules b/debian/rules
index bb0fa56..190758a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -49,8 +49,8 @@ override_dh_auto_install:
 	rmdir $(TMP_DOC)/html/glossary
 
 override_dh_compress:
-	# Do not compress example steps:
-	dh_compress -X.cc
+	# Do not compress example source code, and icons:
+	dh_compress -X.cc -X.ico
 
 override_dh_strip:
 	dh_strip --dbg-package=libdeal.ii-dbg

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



More information about the debian-science-commits mailing list