Source: plinth Version: 0.5-1 Severity: wishlist Tags: patch User: [email protected] Usertags: locale X-Debbugs-Cc: [email protected]
Hi! While working on the "reproducible builds" effort [1], we have noticed that plinth could not be built reproducibly. While generating a TODO list by grepping files, it also greps in .pyc files (which produces varying grep output depending on the locale). The attached patch filters pyc files while generating this list. Regards, Reiner [1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/patches/0005-dont-grep-pyc.patch b/debian/patches/0005-dont-grep-pyc.patch new file mode 100644 index 0000000..57167c5 --- /dev/null +++ b/debian/patches/0005-dont-grep-pyc.patch @@ -0,0 +1,12 @@ +Index: plinth-0.5/doc/Makefile +=================================================================== +--- plinth-0.5.orig/doc/Makefile ++++ plinth-0.5/doc/Makefile +@@ -50,6 +50,7 @@ $(SOURCES): + grep -ro --exclude=.git* --exclude=plinth.1 --exclude=*.tex --exclude=*.html \ + --exclude=README.mdwn --exclude=INSTALL.mdwn --exclude-dir=build \ + --exclude=TODO.mdwn --exclude=COPYING.mdwn --exclude-dir=debian \ ++ --exclude=*.pyc \ + "TODO\:.*" ../* 2>/dev/null | \ + sed -e "s/TODO\://g" | \ + sed -e "s/^..\//* /g" | \ diff --git a/debian/patches/series b/debian/patches/series index d23a99b..1f699f7 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ 0002-remove-upstream-install-doc.patch 0003-enable-javascript-common-conf.patch 0004-disable-privileged-actions-test.patch +0005-dont-grep-pyc.patch
signature.asc
Description: OpenPGP digital signature

