From 8a5eb720400a7696923ac72b216a1d8a43ce5a43 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Fri, 3 Jun 2011 19:40:40 +0200 Subject: [PATCH] patches: Added css-js-path.dpatch. This patch adjusts the path to CSS and JavaScript files. --- debian/README.source | 4 ++++ debian/changelog | 4 +++- debian/control | 2 +- debian/patches/css-js-path.dpatch | 29 +++++++++++++++++++++++++++++ debian/patches/series | 1 + debian/rules | 6 ++++-- 6 files changed, 42 insertions(+), 4 deletions(-) create mode 100644 debian/README.source create mode 100644 debian/patches/css-js-path.dpatch create mode 100644 debian/patches/series diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..92cdadc --- /dev/null +++ b/debian/README.source @@ -0,0 +1,4 @@ +This package uses quilt to manage all modifications to the upstream source. +See /usr/share/doc/quilt/README.source for instructions how to generate the +patched source, add a new modification, and remove an existing one. + diff --git a/debian/changelog b/debian/changelog index e840671..a6698d2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,5 +4,7 @@ collection4 (4.0.0-1) experimental; urgency=low * Uploading to experimental, since this is still an alpha release and work- in-progress. * Install into /usr/{share,lib}/collection4/. + * debian/patches: + - Added css-js-path.dpatch to adjust the path to CSS and JavaScript files. - -- Sebastian Harl Fri, 03 Jun 2011 17:32:48 +0200 + -- Sebastian Harl Fri, 03 Jun 2011 19:39:53 +0200 diff --git a/debian/control b/debian/control index e7b073e..36ba351 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: collection4 Section: web Priority: optional Maintainer: Sebastian Harl -Build-Depends: debhelper (>= 7), autotools-dev, libfcgi-dev, librrd-dev, libyajl-dev, bison +Build-Depends: debhelper (>= 7), quilt, autotools-dev, libfcgi-dev, librrd-dev, libyajl-dev, bison Standards-Version: 3.9.1 Homepage: http://octo.it/c4/ Vcs-Git: git://git.tokkee.org/pkg-collection4.git diff --git a/debian/patches/css-js-path.dpatch b/debian/patches/css-js-path.dpatch new file mode 100644 index 0000000..c0e43e8 --- /dev/null +++ b/debian/patches/css-js-path.dpatch @@ -0,0 +1,29 @@ +Description: Adjust path to CSS and JavaScript files. +Author: Sebastian Harl +Forwarded: not-needed + +--- a/src/utils_cgi.c ++++ b/src/utils_cgi.c +@@ -687,16 +687,16 @@ + printf ("\n" + " \n" + " %s\n" +- " \n" +- " \n" +- " \n" +- " \n" +- " \n" +- " \n" + " \n", + title_html); diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..dcf7c86 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +css-js-path.dpatch diff --git a/debian/rules b/debian/rules index f06402f..69e4d3c 100755 --- a/debian/rules +++ b/debian/rules @@ -3,6 +3,8 @@ # # Written by Sebastian Harl +include /usr/share/quilt/quilt.make + # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 @@ -32,14 +34,14 @@ config.status: configure build: build-stamp -build-stamp: config.status +build-stamp: $(QUILT_STAMPFN) config.status dh_testdir $(MAKE) touch build-stamp -clean: +clean: unpatch dh_testdir dh_testroot rm -f build-stamp -- 2.30.2