diff options
author | Tobias Markmann <tm@ayena.de> | 2016-08-15 09:08:26 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2016-08-15 11:08:42 (GMT) |
commit | 8d6d46759f507b227defe2b418066be3a43e8658 (patch) | |
tree | a2a3cd28aee2c349806491b5481128b75e79a95b /Swift | |
parent | b7cf1297b44bf245321a060fa8e71cbae5b5c1e8 (diff) | |
download | swift-8d6d46759f507b227defe2b418066be3a43e8658.zip swift-8d6d46759f507b227defe2b418066be3a43e8658.tar.bz2 |
Remove DocBook fonts and commit-msg Git hook for debian packages
Test-Information:
Tested that package.sh generates .deb packages on Debian 8.
Change-Id: I6a75cb186c00f6c8f19a7dbfc34e1d8d153fa57f
Diffstat (limited to 'Swift')
-rwxr-xr-x | Swift/Packaging/Debian/package.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/Packaging/Debian/package.sh b/Swift/Packaging/Debian/package.sh index dee5346..62dfff0 100755 --- a/Swift/Packaging/Debian/package.sh +++ b/Swift/Packaging/Debian/package.sh @@ -30,60 +30,62 @@ rm -f swift-im_* rm -f libswiften* rm -rf swift-im-* TARBALLBARE="swift-im_$DEBIAN_VERSION.orig.tar.gz" TARBALL="${SHARED_DIR}${TARBALLBARE}" if [ -f $TARBALL ]; then echo "Found existing tarball for the right version, using ${TARBALL}" echo "Cleaning out any previous builds in ${DIRNAME} and re-extracting" rm -rf $DIRNAME cp $TARBALL tmp.tmp mv tmp.tmp $TARBALLBARE tar xzf $TARBALLBARE else echo "No shared tarball found" echo "Checking out a fresh copy ..." rm -rf $DIRNAME git clone ../../../.git $DIRNAME # Remove development files & 3rdParty files rm -rf $DIRNAME/.git find $DIRNAME -name .gitignore | xargs rm -f if [ -z "$SWIFT_COPY_UUID" ]; then find $DIRNAME/3rdParty -type f | grep -v SConscript | xargs rm -f else find $DIRNAME/3rdParty -type f | grep -v uuid | grep -v SConscript | grep -v miniupnp | grep -v natpmp || xargs rm -f fi find $DIRNAME/3rdParty -depth -empty -type d -exec rmdir {} \; rm -rf $DIRNAME/3rdParty/SCons rm -rf $DIRNAME/Swift/Packaging/Debian + rm -rf $DIRNAME/BuildTools/DocBook/Fonts + rm -rf $DIRNAME/BuildTools/Git/Hooks/commit-msg # Initialize the build version echo $VERSION > $DIRNAME/VERSION.swift # Fork local Boost UUID copy # FIXME: This shouldn't be necessary, but SCons isn't picking up the generated headers for compilation if [ ! -z "$SWIFT_COPY_UUID" ]; then mkdir -p $DIRNAME/3rdParty/Boost/uuid/boost cp -r $DIRNAME/3rdParty/Boost/src/boost/uuid $DIRNAME/3rdParty/Boost/uuid/boost fi # Create orig tarball tar czf $TARBALLBARE $DIRNAME cp $TARBALLBARE tmp.tmp mv tmp.tmp $TARBALL fi # Detect dependencies WEBKIT_DEPENDENCY=", libqtwebkit-dev (>= 2.0.0)" DISTRIBUTION=`lsb_release -s -i`-`lsb_release -s -c` if [ "$DISTRIBUTION" = "Debian-squeeze" -o "$DISTRIBUTION" = "Ubuntu-lucid" -o ! -z "$SWIFT_FORCE_LUCID" ]; then WEBKIT_DEPENDENCY="" fi # Initialize debian files cp -r debian $DIRNAME/debian if [ -z "$CHANGELOG" ]; then ../../../BuildTools/UpdateDebianChangelog.py $DIRNAME/debian/changelog $DEBIAN_VERSION else |