[Pkg-chromium-maint] Bug#893448: please add a chromium-source binary package
Steinar H. Gunderson
sesse at debian.org
Sun Mar 18 22:39:22 UTC 2018
Source: chromium-browser
Version: 65.0.3325.146-4
Severity: wishlist
Tags: patch
Hi,
As mentioned on pkg-chromium-browser@, it would be useful if chromium-browser
shipped a chromium-browser source package; it would allow packaging and building
CEF (Chromium Embedded Framework) against Debian's (patched) sources instead of
off some random git checkout. I've added a patch.
-- System Information:
Debian Release: 9.4
APT prefers stable-debug
APT policy: (500, 'stable-debug'), (500, 'proposed-updates'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.16.0-rc1 (SMP w/40 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8), LANGUAGE=en_NO:en_US:en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-------------- next part --------------
diff -Nru chromium-browser-65.0.3325.146/debian/changelog chromium-browser-65.0.3325.146/debian/changelog
--- chromium-browser-65.0.3325.146/debian/changelog 2018-03-05 02:26:31.000000000 +0100
+++ chromium-browser-65.0.3325.146/debian/changelog 2018-03-11 00:43:35.000000000 +0100
@@ -1,3 +1,10 @@
+chromium-browser (65.0.3325.146-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Add a chromium-source binary package.
+
+ -- Steinar H. Gunderson <sesse at debian.org> Sun, 11 Mar 2018 00:43:35 +0100
+
chromium-browser (65.0.3325.146-1) unstable; urgency=medium
* New upstream stable release release.
diff -Nru chromium-browser-65.0.3325.146/debian/chromium-source.install chromium-browser-65.0.3325.146/debian/chromium-source.install
--- chromium-browser-65.0.3325.146/debian/chromium-source.install 1970-01-01 01:00:00.000000000 +0100
+++ chromium-browser-65.0.3325.146/debian/chromium-source.install 2018-03-09 22:47:59.000000000 +0100
@@ -0,0 +1,3 @@
+out/chromium-src.tar.xz /usr/src/chromium
+out/chromium-src.flags /usr/src/chromium
+
diff -Nru chromium-browser-65.0.3325.146/debian/control chromium-browser-65.0.3325.146/debian/control
--- chromium-browser-65.0.3325.146/debian/control 2018-03-05 02:26:31.000000000 +0100
+++ chromium-browser-65.0.3325.146/debian/control 2018-03-09 22:46:54.000000000 +0100
@@ -189,3 +189,12 @@
.
This package contains resources that are in common to different chromium
packages.
+
+Package: chromium-source
+Architecture: all
+Recommends: xz-utils
+Description: web browser - source code
+ Web browser that aims to build a safer, faster, and more stable internet
+ browsing experience.
+ .
+ This package contains the patched source code used to build the packages.
diff -Nru chromium-browser-65.0.3325.146/debian/rules chromium-browser-65.0.3325.146/debian/rules
--- chromium-browser-65.0.3325.146/debian/rules 2018-03-05 02:26:31.000000000 +0100
+++ chromium-browser-65.0.3325.146/debian/rules 2018-03-10 14:58:29.000000000 +0100
@@ -113,6 +113,14 @@
./out/Release/gn gen out/Release --args="$(defines)"
ninja $(njobs) -C out/Release packed_resources
rm -f out/Release/locales/en-US.pak
+ echo "$(defines)" | sed 's/host_cpu=[^ ]*//' > $(CURDIR)/out/chromium-src.flags
+ find . '(' -path ./debian -or -path ./out ')' -prune -or -print0 | \
+ LC_ALL=C sort -z | \
+ tar -c -vv -J --null --no-recursion --transform 's,^\./,chromium/,' -T - \
+ --mode=go=rX,u+rw,a-s \
+ --clamp-mtime --mtime "@$(SOURCE_DATE_EPOCH)" \
+ --owner=root --group=root --numeric-owner \
+ -f $(CURDIR)/out/chromium-src.tar.xz
override_dh_auto_install-arch:
dh_auto_install
More information about the Pkg-chromium-maint
mailing list