[omd-commits] OMD Git: omd: dokuwiki: style.ini patch. adjust margin and width
git version control
git at mathias-kettner.de
Thu Dec 16 19:54:54 CET 2010
Module: omd
Branch: master
Commit: a9c43f7f199543a68f9113425ce69010315eba4c
URL: http://omdistro.org/projects/omd/repository/revisions/a9c43f7f199543a68f9113425ce69010315eba4c
Author: Joerg Linge <pitchfork at pnp4nagios.org>
Date: Thu Dec 16 19:54:44 2010 +0100
dokuwiki: style.ini patch. adjust margin and width
---
packages/dokuwiki/Makefile | 5 +++++
packages/dokuwiki/patches/0001-style.patch | 17 +++++++++++++++++
2 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/packages/dokuwiki/Makefile b/packages/dokuwiki/Makefile
index 0d0602b..6a9abb7 100644
--- a/packages/dokuwiki/Makefile
+++ b/packages/dokuwiki/Makefile
@@ -11,6 +11,11 @@ build:
tar xzf template-arctic.tgz -C $(DIR)/lib/tpl/
tar xzf plugin-include.tgz -C $(DIR)/lib/plugins/
+ for p in patches/*.patch ; do \
+ echo "applying $$p..." ; \
+ ( cd $(DIR) ; patch -p1 -b ) < $$p ; \
+ done
+
install:
mkdir -p $(DESTDIR)$(OMD_ROOT)/share/dokuwiki
cp preload.php $(DIR)/inc/
diff --git a/packages/dokuwiki/patches/0001-style.patch b/packages/dokuwiki/patches/0001-style.patch
new file mode 100644
index 0000000..6cfbac4
--- /dev/null
+++ b/packages/dokuwiki/patches/0001-style.patch
@@ -0,0 +1,17 @@
+diff -ur dokuwiki-2009-12-25/lib/tpl/arctic/style.ini dokuwiki-2009-12-25.neu/lib/tpl/arctic/style.ini
+--- dokuwiki-2009-12-25/lib/tpl/arctic/style.ini 2010-12-16 19:26:10.000000000 +0100
++++ dokuwiki-2009-12-25.neu/lib/tpl/arctic/style.ini 2010-12-16 19:26:24.000000000 +0100
+@@ -28,10 +28,10 @@
+ ; give your wiki a new look.
+ [replacements]
+ ; arctic template LAYOUT
+-__wiki_width__ = "84%"
++__wiki_width__ = "99%"
+ __header_height__ = "5em"
+-__body_margin__ = "1.5em"
+-__page_padding__ = "0.5em;"
++__body_margin__ = "0.1em"
++__page_padding__ = "0.1em;"
+ __footer_padding__ = "2em"
+
+ ; arctic template FONT-SIZES AND FONT-COLORS
More information about the omd-commits
mailing list