[Pkg-chromium-maint] Bug#655521: chromium-browser: Source package does not build on Ubuntu

Jonathan Nieder jrnieder at gmail.com
Wed Jan 11 23:23:37 UTC 2012


Michael Kuhn wrote:

> I guess this was just to get the correct (build) output in the about
> screen -- otherwise it says “Built on Ubuntu wheezy/sid”. :-)

I see.  Maybe the following would be sensible.  Or maybe hard-code
"Debian" like /usr/bin/chromium does.

diff --git i/debian/rules w/debian/rules
index cc4981d2..83cf7a4e 100755
--- i/debian/rules
+++ w/debian/rules
@@ -6,7 +6,11 @@ DEBIAN_UPSTREAM_VERSION	:= $(shell echo $(DEBIAN_VERSION) | sed 's/^\(.*\)-[^-]*
 DEBIAN_REVISION		:= $(shell echo $(DEBIAN_VERSION) | sed 's/^.*r\([^-]*\)-.*/\1/')
 DEBIAN_DIST		:= $(shell lsb_release -ds | tr -d '()')
 DEBIAN_DIST_NAME	:= $(shell lsb_release -si)
+ifeq (Debian,$(DEBIAN_DIST_NAME))
 DEBIAN_DIST_VERSION	:= $(shell cat /etc/debian_version)
+else
+DEBIAN_DIST_VERSION	:= $(shell lsb_release -sr)
+endif
 MULTIARCH		:= $(shell dpkg-architecture -qDEB_BUILD_MULTIARCH)
 USE_SYSTEM_FFMPEG	:= 1
 ifeq (1,$(USE_SYSTEM_FFMPEG))





More information about the Pkg-chromium-maint mailing list