r11471 - packages/trunk/gravitation/debian
Paul Wise
pabs at alioth.debian.org
Thu Nov 18 10:57:31 UTC 2010
Author: pabs
Date: 2010-11-18 10:57:30 +0000 (Thu, 18 Nov 2010)
New Revision: 11471
Removed:
packages/trunk/gravitation/debian/gravitation.xpm
Modified:
packages/trunk/gravitation/debian/changelog
packages/trunk/gravitation/debian/control
packages/trunk/gravitation/debian/install
packages/trunk/gravitation/debian/rules
Log:
Build & use a large transparent icon from the MacOS icon & mask
Modified: packages/trunk/gravitation/debian/changelog
===================================================================
--- packages/trunk/gravitation/debian/changelog 2010-11-18 10:41:54 UTC (rev 11470)
+++ packages/trunk/gravitation/debian/changelog 2010-11-18 10:57:30 UTC (rev 11471)
@@ -7,6 +7,7 @@
* Keep upstream capitalization, add symlinks
* Improve the menu files
* Drop README.Debian, it is not useful to users
+ * Build & use a large transparent icon from the MacOS icon & mask
-- Paul Wise <pabs at debian.org> Thu, 18 Nov 2010 17:53:10 +0800
Modified: packages/trunk/gravitation/debian/control
===================================================================
--- packages/trunk/gravitation/debian/control 2010-11-18 10:41:54 UTC (rev 11470)
+++ packages/trunk/gravitation/debian/control 2010-11-18 10:57:30 UTC (rev 11471)
@@ -3,7 +3,7 @@
Priority: extra
Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
Uploaders: Paul Wise <pabs at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), libsdl1.2-dev
+Build-Depends: debhelper (>= 7.0.50~), imagemagick, libsdl1.2-dev
Standards-Version: 3.8.0
Homepage: http://hcsoftware.sourceforge.net/gravitation/
Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/gravitation/
Deleted: packages/trunk/gravitation/debian/gravitation.xpm
===================================================================
--- packages/trunk/gravitation/debian/gravitation.xpm 2010-11-18 10:41:54 UTC (rev 11470)
+++ packages/trunk/gravitation/debian/gravitation.xpm 2010-11-18 10:57:30 UTC (rev 11471)
@@ -1,44 +0,0 @@
-/* XPM */
-/* Converted from game5/build/win32/iconSource.png */
-static char *xpm__[] = {
-/* columns rows colors chars-per-pixel */
-"32 32 5 1",
-" c #6D6D6D6D6D6D",
-". c #B6B600000000",
-"X c red",
-"o c #FFFF6D6D6D6D",
-"O c gray100",
-/* pixels */
-" oooooooooooooooo ",
-" oooooooooooooooo ",
-" oooooooooooooooo ",
-" oooooooooooooooo ",
-" oooooooooooooooo ",
-" oooooooooooooooo ",
-" oooooooooooooooo ",
-" oooooooooooooooo ",
-"........XXXXXXXXOOOOOOOOoooooooo",
-"........XXXXXXXXOOOOOOOOoooooooo",
-"........XXXXXXXXOOOOOOOOoooooooo",
-"........XXXXXXXXOOOOOOOOoooooooo",
-"........XXXXXXXXOOOOOOOOoooooooo",
-"........XXXXXXXXOOOOOOOOoooooooo",
-"........XXXXXXXXOOOOOOOOoooooooo",
-"........XXXXXXXXOOOOOOOOoooooooo",
-"........XXXXXXXXXXXXXXXXoooooooo",
-"........XXXXXXXXXXXXXXXXoooooooo",
-"........XXXXXXXXXXXXXXXXoooooooo",
-"........XXXXXXXXXXXXXXXXoooooooo",
-"........XXXXXXXXXXXXXXXXoooooooo",
-"........XXXXXXXXXXXXXXXXoooooooo",
-"........XXXXXXXXXXXXXXXXoooooooo",
-"........XXXXXXXXXXXXXXXXoooooooo",
-" ................ ",
-" ................ ",
-" ................ ",
-" ................ ",
-" ................ ",
-" ................ ",
-" ................ ",
-" ................ "
-};
Modified: packages/trunk/gravitation/debian/install
===================================================================
--- packages/trunk/gravitation/debian/install 2010-11-18 10:41:54 UTC (rev 11470)
+++ packages/trunk/gravitation/debian/install 2010-11-18 10:57:30 UTC (rev 11471)
@@ -2,5 +2,8 @@
game5/gameSource/graphics usr/share/games/gravitation
game5/gameSource/music usr/share/games/gravitation
game5/gameSource/settings/* etc/gravitation
-debian/*.xpm usr/share/pixmaps
debian/*.desktop usr/share/applications
+gravitation.png usr/share/icons/hicolor/128x128/apps
+32x32/gravitation.png usr/share/icons/hicolor/32x32/apps
+32x32/gravitation.png usr/share/pixmaps
+32x32/gravitation.xpm usr/share/pixmaps
Modified: packages/trunk/gravitation/debian/rules
===================================================================
--- packages/trunk/gravitation/debian/rules 2010-11-18 10:41:54 UTC (rev 11470)
+++ packages/trunk/gravitation/debian/rules 2010-11-18 10:57:30 UTC (rev 11471)
@@ -8,6 +8,11 @@
cd game5/gameSource && platformSelection=1 ./configure
override_dh_auto_build:
+ convert -type Grayscale -negate ./game5/build/macOSX/iconMask.png mask.png
+ composite -compose CopyOpacity mask.png ./game5/build/macOSX/iconColor.png gravitation.png
+ mkdir 32x32
+ convert -scale 32x32 gravitation.png 32x32/gravitation.png
+ convert 32x32/gravitation.png 32x32/gravitation.xpm
$(MAKE) -C game5/gameSource PLATFORM_COMPILE_FLAGS="$(CFLAGS) -DETCDIR=\\\"/etc/gravitation\\\" -DDATADIR=\\\"/usr/share/games/gravitation/\\\""
override_dh_auto_clean:
@@ -15,7 +20,8 @@
find minorGems -name "*.o" -delete
rm -f game5/gameSource/Gravitation
rm -f game5/gameSource/Makefile
- rm -f game5/gameSource/Makefile.minorGems_dependencies
+ rm -f game5/gameSource/Makefile.dependencies
+ rm -rf mask.png gravitation.png 32x32
override_dh_installchangelogs:
dh_installchangelogs game5/documentation/changeLog.txt
More information about the Pkg-games-commits
mailing list