[abe] 15/30: Install abe.png icon to /usr/share/pixmaps.

Markus Koschany apo at moszumanska.debian.org
Sat Jun 11 10:41:24 UTC 2016


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

apo pushed a commit to branch master
in repository abe.

commit 764ece084a51615f0e4cc84b847c0a5633641fc3
Author: Markus Koschany <apo at debian.org>
Date:   Sat Jun 11 10:05:36 2016 +0200

    Install abe.png icon to /usr/share/pixmaps.
    
    Move abe.xpm icon into abe-data package. Add Breaks and Replaces.
---
 debian/abe-data.install | 2 ++
 debian/abe.install      | 1 -
 debian/control          | 4 ++++
 debian/rules            | 3 ++-
 4 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/abe-data.install b/debian/abe-data.install
index a83c071..fc40b81 100644
--- a/debian/abe-data.install
+++ b/debian/abe-data.install
@@ -1,3 +1,5 @@
+abe.png usr/share/pixmaps
+abe.xpm usr/share/pixmaps
 images usr/share/games/abe/
 maps usr/share/games/abe/
 sounds usr/share/games/abe/
diff --git a/debian/abe.install b/debian/abe.install
index 4407350..62af6b9 100644
--- a/debian/abe.install
+++ b/debian/abe.install
@@ -1,3 +1,2 @@
-abe.xpm usr/share/pixmaps/
 debian/abe.desktop usr/share/applications/
 usr/games
diff --git a/debian/control b/debian/control
index 082d5c0..d0f3437 100644
--- a/debian/control
+++ b/debian/control
@@ -31,6 +31,10 @@ Description: Side-scrolling game named "Abe's Amazing Adventure"
 
 Package: abe-data
 Architecture: all
+Breaks:
+ abe (<< 1.1+dfsg-2)
+Replaces:
+ abe (<< 1.1+dfsg-2)
 Depends:
  ${misc:Depends}
 Description: Side-scrolling game named "Abe's Amazing Adventure"
diff --git a/debian/rules b/debian/rules
index 05d7fc0..dfd7b63 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,10 +10,11 @@ override_dh_auto_configure:
 
 override_dh_auto_build-indep:
 	[ -e tom4.bmp ] || tar xf images/images.tar tom4.bmp
+	[ -e abe.png ] || convert -resize 64x64 tom4.bmp abe.png
 	[ -e tom4.xpm ] || convert -resize 24x32 tom4.bmp tom4.xpm
 	[ -e abe.xpm ] || sed -e "s/#000000/None/" < tom4.xpm > abe.xpm
 
 override_dh_clean:
 	dh_clean
-	$(RM)tom4.bmp tom4.xpm abe.xpm
+	$(RM) tom4.bmp tom4.xpm abe.xpm abe.png
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/abe.git



More information about the Pkg-games-commits mailing list