r13964 - packages/trunk/love/debian
Jon Dowland
jmtd at alioth.debian.org
Fri Feb 22 15:27:48 UTC 2013
Author: jmtd
Date: 2013-02-22 15:27:48 +0000 (Fri, 22 Feb 2013)
New Revision: 13964
Added:
packages/trunk/love/debian/love.binfmt
Modified:
packages/trunk/love/debian/changelog
packages/trunk/love/debian/control
packages/trunk/love/debian/love.install
packages/trunk/love/debian/love.postinst
packages/trunk/love/debian/love.prerm
packages/trunk/love/debian/rules
Log:
register .love with binfmt-support if it is installed
Modified: packages/trunk/love/debian/changelog
===================================================================
--- packages/trunk/love/debian/changelog 2013-02-22 15:07:10 UTC (rev 13963)
+++ packages/trunk/love/debian/changelog 2013-02-22 15:27:48 UTC (rev 13964)
@@ -1,6 +1,9 @@
love (0.8.0-4) UNRELEASED; urgency=low
+ * Team upload.
* Update Vcs-Browser control file field.
+ * If binfmt-tools is installed, associate .love files with
+ /usr/bin/love. Closes: #628438.
-- Jonathan Dowland <jmtd at debian.org> Fri, 22 Feb 2013 15:05:10 +0000
Modified: packages/trunk/love/debian/control
===================================================================
--- packages/trunk/love/debian/control 2013-02-22 15:07:10 UTC (rev 13963)
+++ packages/trunk/love/debian/control 2013-02-22 15:27:48 UTC (rev 13964)
@@ -17,6 +17,7 @@
Package: love
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: binfmt-support
Description: 2D game development framework based on Lua and OpenGL
LÖVE was created to be a user-friendly engine in which simple (or
complicated) games could be made without having extensive knowledge
Added: packages/trunk/love/debian/love.binfmt
===================================================================
--- packages/trunk/love/debian/love.binfmt (rev 0)
+++ packages/trunk/love/debian/love.binfmt 2013-02-22 15:27:48 UTC (rev 13964)
@@ -0,0 +1,3 @@
+package love
+interpreter /usr/bin/love
+extension love
Modified: packages/trunk/love/debian/love.install
===================================================================
--- packages/trunk/love/debian/love.install 2013-02-22 15:07:10 UTC (rev 13963)
+++ packages/trunk/love/debian/love.install 2013-02-22 15:27:48 UTC (rev 13964)
@@ -10,3 +10,5 @@
debian/application-registry/*.applications usr/share/application-registry/
debian/mime-info/*.mime usr/share/mime-info/
debian/mime-info/*.keys usr/share/mime-info/
+
+debian/love.binfmt usr/share/binfmts/
Modified: packages/trunk/love/debian/love.postinst
===================================================================
--- packages/trunk/love/debian/love.postinst 2013-02-22 15:07:10 UTC (rev 13963)
+++ packages/trunk/love/debian/love.postinst 2013-02-22 15:27:48 UTC (rev 13964)
@@ -30,6 +30,9 @@
love.1.gz \
/usr/share/man/man1/love-0.8.1.gz \
10
+ if which update-binfmts >/dev/null; then
+ update-binfmts --import love
+ fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
Modified: packages/trunk/love/debian/love.prerm
===================================================================
--- packages/trunk/love/debian/love.prerm 2013-02-22 15:07:10 UTC (rev 13963)
+++ packages/trunk/love/debian/love.prerm 2013-02-22 15:27:48 UTC (rev 13964)
@@ -19,6 +19,9 @@
case "$1" in
remove|upgrade|deconfigure)
+ if which update-binfmts >/dev/null; then
+ update-binfmts --package love --remove love /usr/bin/love
+ fi
update-alternatives --quiet --remove \
love \
/usr/bin/love-0.8
Modified: packages/trunk/love/debian/rules
===================================================================
--- packages/trunk/love/debian/rules 2013-02-22 15:07:10 UTC (rev 13963)
+++ packages/trunk/love/debian/rules 2013-02-22 15:27:48 UTC (rev 13964)
@@ -81,6 +81,8 @@
dh_installdocs -i
dh_installexamples -i
dh_install -i
+ mv debian/love/usr/share/binfmts/love.binfmt \
+ debian/love/usr/share/binfmts/love
# dh_installmenu -i
dh_installmime -i
# dh_installinfo -i
More information about the Pkg-games-commits
mailing list