[Pkg-owncloud-commits] [owncloud] 164/172: Document repack
David Prévot
taffit at moszumanska.debian.org
Sun May 18 20:09:55 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 55b44771562656a696a5f3f2b20eee8a95d370e5
Author: David Prévot <taffit at debian.org>
Date: Sat May 17 12:36:09 2014 -0400
Document repack
---
debian/README.source | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/debian/README.source b/debian/README.source
index 8359eaf..11b2f8d 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -20,3 +20,24 @@ necessary parts of the source are installed as follows:
* minified JavaScript libraries are regenerated from source and then the
source is removed,
* JavaScript libraries that are available via Debian are used (using symlinks).
+
+
+The source package is also repacked to strip away copyrighted ICC profiles
+
+First, they have to be found, using, e.g.:
+
+ find . -regextype posix-extended -iregex '.*\.(jpg|png)' \
+ -exec sh -c 'identify -verbose "$0" \
+ | grep -i copyright && echo "$0"' {} \;
+
+Then the ICC profiles can be stripped away, e.g.:
+
+ exiftool -icc_profile"-<=" core/skeleton/photos/*
+
+The modification are being made in the upstream branch, and the
+--git-pristine-tar and --git-pristine-tar-commit switches of
+gbp buildpackage can be used to generate the appropriate tarball.
+
+All this can be forgotten once upstream fixes the file, as requested:
+
+ https://github.com/owncloud/core/issues/8627
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list