From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bobbio?= <lunar@debian.org>
Date: Sun, 21 Apr 2013 17:53:18 +0000
Subject: Stop using non-free background image
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The background image currently shipped with Coquelicot is licensed under CC-BY
2.0 which is not DFSG compliant. So we must do without…
---
 README                      |    4 ----
 spec/coquelicot/app_spec.rb |    4 ++--
 views/style.sass            |    2 +-
 3 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/README b/README
index 7571d3b..fe9cee5 100644
--- a/README
+++ b/README
@@ -106,10 +106,6 @@ Authors
 Coquelicot is distributed under the [GNU Affero General Public License]
 version 3 or (at your option) any later version.
 
-Background image (`public/images/background.jpg`) derived from:  
-[“coquelicot” picture] © 2008 Jean-Louis Zimmermann  
-Licensed under [Creative Commons Attributions 2.0 Generic]  
-
 *jQuery* is © 2011 John Resig. Licensed under the [MIT license].  
 *jquery.uploadProgress* is © 2008 Piotr Sarnacki. Licensed under the
 [MIT license].  
diff --git a/spec/coquelicot/app_spec.rb b/spec/coquelicot/app_spec.rb
index 064ef2a..1f4078d 100644
--- a/spec/coquelicot/app_spec.rb
+++ b/spec/coquelicot/app_spec.rb
@@ -283,8 +283,8 @@ describe Coquelicot::Application do
   describe 'post /authenticate' do
     context 'when given a request with too much input' do
       before do
-        # background image is bigger than 5 kiB
-        path = File.expand_path('../../../public/images/background.jpg', __FILE__)
+        # license is bigger than 5 kiB
+        path = File.expand_path('../../fixtures/LICENSE-secret-1.0/reference', __FILE__)
         post '/authenticate', :file => Rack::Test::UploadedFile.new(path, 'text/plain')
       end
       it 'should get status 413 (Request entity too large)' do
diff --git a/views/style.sass b/views/style.sass
index d645d4d..c1a18d1 100644
--- a/views/style.sass
+++ b/views/style.sass
@@ -19,7 +19,7 @@
  */
 
 body
-  background: no-repeat fixed 50% 100% #70794e url('images/background.jpg')
+  background: #70794e
   font-family: Georgia
   color: darkgreen
 
