[Pkg-owncloud-commits] [owncloud] 02/15: Update repack script
David Prévot
taffit at alioth.debian.org
Fri Oct 25 03:15:07 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 09e96d20eb4842ae0022f650cd8b021063e95afe
Author: David Prévot <taffit at debian.org>
Date: Wed Oct 9 22:08:35 2013 -0400
Update repack script
---
debian/repack.sh | 25 ++++++++++++++++++-------
1 file changed, 18 insertions(+), 7 deletions(-)
diff --git a/debian/repack.sh b/debian/repack.sh
index b6bc0ed..a40aab0 100755
--- a/debian/repack.sh
+++ b/debian/repack.sh
@@ -27,9 +27,13 @@ if [ `ls -1 "$UP_BASE" | wc -l` -eq 1 ]; then
UP_BASE="$UP_BASE/`ls -1 "$UP_BASE"`"
fi
-## Remove stuff
+## Remove sourceless minified JavaScript and CSS, and fonts
rm -vr $UP_BASE/3rdparty/timepicker/css/include
-rm -v $UP_BASE/core/js/jquery-1.7.2.min.js
+rm -vr $UP_BASE/3rdparty/phpdocx/pdf/tcpdf/fonts/free*
+rm -v $UP_BASE/3rdparty/dompdf/lib/fonts/*.ttf
+rm -v $UP_BASE/apps/documents/css/fonts/*.ttf
+rm -v $UP_BASE/apps/documents/css/fonts/wqy-microhei.ttc
+rm -v $UP_BASE/core/js/jquery-1.10.0.min.js
rm -v $UP_BASE/core/doc/*/_static/bootstrap.css
rm -v $UP_BASE/core/doc/*/_static/bootstrap.js
rm -v $UP_BASE/core/doc/*/_static/bootstrap-responsive.css
@@ -38,19 +42,26 @@ rm -v $UP_BASE/core/doc/*/_static/underscore.js
# following contain incompatible license with Debian
rm -vr $UP_BASE/3rdparty/Console
+rm -v $UP_BASE/3rdparty/phpdocx/pdf/tcpdf/fonts/utils/*.dll
+rm -v $UP_BASE/3rdparty/phpdocx/pdf/www/test/latin1.html
+rm -v $UP_BASE/3rdparty/phpdocx/pdf/www/test/special.html
+rm -v $UP_BASE/3rdparty/phpdocx/pdf/www/test/symbols.html
+rm -v $UP_BASE/3rdparty/phpdocx/pdf/www/test/images/goldengate.jpg
+rm -v $UP_BASE/3rdparty/phpdocx/pdf/www/test/images/what_ordered.gif
rm -vr $UP_BASE/3rdparty/fontawesome/docs
+rm -v $UP_BASE/3rdparty/symfony/console/Symfony/Component/Console/Resources/bin/hiddeninput.exe
+rm -v $UP_BASE/apps/contacts/js/jshint.js
rm -vr $UP_BASE/apps/files_encryption/3rdparty/Crypt_Blowfish
-rm -v $UP_BASE/apps/files_pdfviewer/3rdparty/pdfjs/compressed.tracemonkey-pldi-09.pdf
-rm -v $UP_BASE/apps/files_texteditor/js/vendor/ace/src-noconflict/worker-*
+rm -v $UP_BASE/apps/files_texteditor/js/vendor/ace/src-noconflict/worker-*
## End
mv "$UP_BASE" "$DIR/$REPACK_DIR"
# Using a pipe hides tar errors!
tar cfC "$DIR/repacked.tar" "$DIR" "$REPACK_DIR"
-bzip2 -9 < "$DIR/repacked.tar" > "$DIR/repacked.tar.bz2"
-RESULTING_FILE="$(dirname $FILE)/${PKG}_${VER}.orig.tar.bz2"
-mv "$DIR/repacked.tar.bz2" "$RESULTING_FILE"
+xz < "$DIR/repacked.tar" > "$DIR/repacked.tar.xz"
+RESULTING_FILE="$(dirname $FILE)/${PKG}_${VER}.orig.tar.xz"
+mv "$DIR/repacked.tar.xz" "$RESULTING_FILE"
rm -f "$FILE"
echo "*** $FILE repackaged"
--
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