[med-svn] [mauve-aligner] 01/05: Replace images right in the source tarball since this has to be tweaked anyway

Andreas Tille tille at debian.org
Thu Jul 16 15:03:17 UTC 2015


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository mauve-aligner.

commit f28cd51b99255a572c366bd0c750568fc8aa6d4c
Author: Andreas Tille <tille at debian.org>
Date:   Thu Jul 16 16:54:39 2015 +0200

    Replace images right in the source tarball since this has to be tweaked anyway
---
 debian/get-orig-source         |  37 ++++++++++++++++++++++++++++++++++++-
 debian/images/Back16.gif       | Bin 325 -> 0 bytes
 debian/images/Down16.gif       | Bin 332 -> 0 bytes
 debian/images/Forward16.gif    | Bin 322 -> 0 bytes
 debian/images/Home16.gif       | Bin 582 -> 0 bytes
 debian/images/Up16.gif         | Bin 219 -> 0 bytes
 debian/images/Zoom16.gif       | Bin 592 -> 0 bytes
 debian/images/ZoomIn16.gif     | Bin 622 -> 0 bytes
 debian/images/ZoomIn24.gif     | Bin 703 -> 0 bytes
 debian/images/ZoomOut16.gif    | Bin 399 -> 0 bytes
 debian/images/ZoomOut24.gif    | Bin 677 -> 0 bytes
 debian/source/include-binaries |  11 -----------
 12 files changed, 36 insertions(+), 12 deletions(-)

diff --git a/debian/get-orig-source b/debian/get-orig-source
index e0b7a45..b218d62 100755
--- a/debian/get-orig-source
+++ b/debian/get-orig-source
@@ -1,6 +1,21 @@
 #!/bin/sh
 # get source for mauve from SVN because there is no source tarball distribution
 
+# To rebuild the new upstream tarball you need these packages installed.  
+# The reason is that the original source contains some icons copyrighted
+# by Sun Microsystems Inc. and these will be replaced by free icons
+# shipped with Gnome
+BUILDTARBALLDEPENDS="imagemagick gnome-icon-theme"
+missingdepends=`dpkg -l ${BUILDTARBALLDEPENDS} | \
+    grep -v -e "^ii" -e "^|" -e "^++" -e "^ " -e "^..[^[:space:]]" | \
+    sed 's/^[a-z][a-z][[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+.*/\1/'`
+
+if [ "$missingdepends" != "" ] ; then
+    echo "Please install the following packages to rebuild the upstream source tarball:"
+    echo $missingdepends
+    exit -1
+fi
+
 set -e
 NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
 
@@ -32,7 +47,27 @@ for libjava in ant bytecode commons-cli core dbus gui jebl jnlp postgres unix ze
    find . -name "*${libjava}*.jar" -delete
 done
 rm -rf build_support
-cd ..
+
+# Replace icons
+#   Copyright 2000 by Sun Microsystems, Inc. All Rights Reserved.
+# by pendants from gnome-icon-theme
+cd src/images
+GICONDIR16=/usr/share/icons/gnome/16x16/actions
+GICONDIR24=/usr/share/icons/gnome/24x24/actions
+
+convert $GICONDIR16/go-previous.png     Back16.gif
+convert $GICONDIR16/go-down.png         Down16.gif
+convert $GICONDIR16/go-next.png         Forward16.gif
+convert $GICONDIR16/go-home.png         Home16.gif
+convert $GICONDIR16/go-up.png           Up16.gif
+convert $GICONDIR16/edit-find.png       Zoom16.gif
+convert $GICONDIR16/zoom-in.png         ZoomIn16.gif
+convert $GICONDIR16/zoom-out.png        ZoomOut16.gif
+
+convert $GICONDIR24/zoom-in.png         ZoomIn24.gif
+convert $GICONDIR24/zoom-out.png        ZoomOut24.gif
+
+cd ../../..
 
 tar --owner=root --group=root --mode=a+rX -caf "$NAME"_"$VERSION".orig.tar.xz "${TARDIR}"
 rm -rf "${NAME}"-"$VERSION"
diff --git a/debian/images/Back16.gif b/debian/images/Back16.gif
deleted file mode 100644
index 66ee29f..0000000
Binary files a/debian/images/Back16.gif and /dev/null differ
diff --git a/debian/images/Down16.gif b/debian/images/Down16.gif
deleted file mode 100644
index 5bd2781..0000000
Binary files a/debian/images/Down16.gif and /dev/null differ
diff --git a/debian/images/Forward16.gif b/debian/images/Forward16.gif
deleted file mode 100644
index eb59b9d..0000000
Binary files a/debian/images/Forward16.gif and /dev/null differ
diff --git a/debian/images/Home16.gif b/debian/images/Home16.gif
deleted file mode 100644
index c7f5390..0000000
Binary files a/debian/images/Home16.gif and /dev/null differ
diff --git a/debian/images/Up16.gif b/debian/images/Up16.gif
deleted file mode 100644
index 8baa679..0000000
Binary files a/debian/images/Up16.gif and /dev/null differ
diff --git a/debian/images/Zoom16.gif b/debian/images/Zoom16.gif
deleted file mode 100644
index aecd9c7..0000000
Binary files a/debian/images/Zoom16.gif and /dev/null differ
diff --git a/debian/images/ZoomIn16.gif b/debian/images/ZoomIn16.gif
deleted file mode 100644
index fa83898..0000000
Binary files a/debian/images/ZoomIn16.gif and /dev/null differ
diff --git a/debian/images/ZoomIn24.gif b/debian/images/ZoomIn24.gif
deleted file mode 100644
index 9a7245d..0000000
Binary files a/debian/images/ZoomIn24.gif and /dev/null differ
diff --git a/debian/images/ZoomOut16.gif b/debian/images/ZoomOut16.gif
deleted file mode 100644
index 3ffccce..0000000
Binary files a/debian/images/ZoomOut16.gif and /dev/null differ
diff --git a/debian/images/ZoomOut24.gif b/debian/images/ZoomOut24.gif
deleted file mode 100644
index d589709..0000000
Binary files a/debian/images/ZoomOut24.gif and /dev/null differ
diff --git a/debian/source/include-binaries b/debian/source/include-binaries
deleted file mode 100644
index a48a918..0000000
--- a/debian/source/include-binaries
+++ /dev/null
@@ -1,11 +0,0 @@
-debian/images/Down16.gif
-debian/images/ZoomIn24.gif
-debian/images/Back16.gif
-debian/images/Home16.gif
-debian/images/ZoomOut16.gif
-debian/images/ZoomOut24.gif
-debian/images/Zoom16.gif
-debian/images/ZoomIn16.gif
-debian/images/Forward16.gif
-debian/images/Up16.gif
-

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/mauve-aligner.git



More information about the debian-med-commit mailing list