Bug#589136: gitweb.js is not installed

2010-07-15 Thread Emil Renner Berthing

Package: gitweb
Version: 1:1.7.1-1

New versions of gitweb come with a javascript file, but it isn't 
installed by the package. This results in the /var/log/apache2/error.log 
being filled with lines similar to


[Wed Jul 14 13:39:09 2010] [error] [client *.*.*.*] File does not exist: 
/usr/share/gitweb/gitweb.js, referer: http://*.*/gitweb/

/var/log/apache2/error.log

Applying the following patch fixes it:

diff --git a/debian/rules b/debian/rules
index c629e96..aae9d02 100755
--- a/debian/rules
+++ b/debian/rules
@@ -201,6 +201,8 @@ install-indep: build-arch-stamp build-indep-stamp
  '$(GIT)'web/usr/share/gitweb/index.cgi
install -m0644 gitweb/gitweb.css \
  '$(GIT)'web/usr/share/gitweb/gitweb.css
+   install -m0644 gitweb/gitweb.js \
+ '$(GIT)'web/usr/share/gitweb/gitweb.js
install -m0644 gitweb/git-favicon.png \
  '$(GIT)'web/usr/share/gitweb/git-favicon.png
install -m0644 gitweb/git-logo.png \



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#589136: gitweb.js is not installed

2010-07-15 Thread Jonathan Nieder
retitle 555047 File does not exist: /usr/share/gitweb/gitweb.js
merge 555047 589136
tags 555047 + patch
quit

Hi Emil,

Emil Renner Berthing wrote:

 New versions of gitweb come with a javascript file, but it isn't
 installed by the package.

Yep.  A fix very much like yours is included in

  git://repo.or.cz/debian-git/jrn.git for-gerrit

and

  git://repo.or.cz/debian-git/jrn.git for-gerrit-experimental

if you would like to test.

Thanks for the report.
Jonathan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org