supertux: fix installation(will not overwrite just-created) and bump PR
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Mon, 5 Jul 2010 17:42:56 +0000 (19:42 +0200)
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Mon, 5 Jul 2010 22:21:14 +0000 (00:21 +0200)
data/Makefile.am has some duplicated entries which causes that kind of failure:
...usr/bin/install: will not overwrite just-created
`.../image/usr/share/supertux/sounds/bigjump.wav' with `sounds/bigjump.wav'
So in the patch we just remove the duplicated entries

recipes/supertux/files/install-no-overwrite.patch [new file with mode: 0644]
recipes/supertux/supertux-qvga_0.1.3.bb
recipes/supertux/supertux_0.1.2.bb
recipes/supertux/supertux_0.1.3.bb

diff --git a/recipes/supertux/files/install-no-overwrite.patch b/recipes/supertux/files/install-no-overwrite.patch
new file mode 100644 (file)
index 0000000..41e4486
--- /dev/null
@@ -0,0 +1,13 @@
+Index: supertux-0.1.3/data/Makefile.am
+===================================================================
+--- supertux-0.1.3.orig/data/Makefile.am       2010-07-04 22:53:15.209949507 +0200
++++ supertux-0.1.3/data/Makefile.am    2010-07-04 22:53:51.490637559 +0200
+@@ -2,8 +2,6 @@
+   supertux.strf \
+   $(wildcard *.txt) \
+   CREDITS \
+-  $(wildcard sounds/*.wav) \
+-  images/icon.xpm \
+   $(wildcard images/*.png) \
+   $(wildcard images/*.xpm) \
+   $(wildcard images/background/*.png) \
index aad255b..d34e5d9 100644 (file)
@@ -4,7 +4,7 @@ SECTION = "games"
 PRIORITY = "optional"
 LICENSE = "GPL"
 DEPENDS = "libsdl-gfx imagemagick-native pngcrush-native"
-PR = "r0.20"
+PR = "r0.21"
 
 APPIMAGE = "${WORKDIR}/supertux.png"
 APPDESKTOP = "${WORKDIR}/supertux.desktop"
@@ -13,6 +13,7 @@ PACKAGES_prepend = " ${PN}-levels-bonus1 ${PN}-levels-bonus2 "
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/super-tux/supertux-${PV}.tar.bz2 \
 #           file://supertux-qvga-gfx.tar.bz2 \
+           file://install-no-overwrite.patch \
            file://supertux-smallsize-data.tar.bz2 \
           file://gp2x.patch \
           file://img-resize.sh \
index 4d88eef..8a337e3 100644 (file)
@@ -3,13 +3,14 @@ in a style similar to the original SuperMario games."
 SECTION = "games"
 PRIORITY = "optional"
 LICENSE = "GPL"
-PR = "r4"
+PR = "r5"
 
 APPIMAGE = "${WORKDIR}/supertux.png"
 APPDESKTOP = "${WORKDIR}/supertux.desktop"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/super-tux/supertux-${PV}.tar.bz2;name=archive \
            http://ssel.vub.ac.be/Members/DennisWagelaar/download/zaurus/supertux-0.1.2-fp.patch.gz;name=patch \
+           file://install-no-overwrite.patch \
           file://supertux.png"
 
 export SDL_CONFIG = "${STAGING_BINDIR_CROSS}/sdl-config"
index 0006a2b..e859cce 100644 (file)
@@ -3,7 +3,7 @@ in a style similar to the original SuperMario games."
 SECTION = "games"
 PRIORITY = "optional"
 LICENSE = "GPL"
-PR = "r1"
+PR = "r2"
 
 APPIMAGE = "${WORKDIR}/supertux.png"
 APPDESKTOP = "${WORKDIR}/supertux.desktop"
@@ -11,6 +11,7 @@ APPDESKTOP = "${WORKDIR}/supertux.desktop"
 SRC_URI = "${SOURCEFORGE_MIRROR}/super-tux/supertux-${PV}.tar.bz2 \
 #           http://ssel.vub.ac.be/Members/DennisWagelaar/download/zaurus/supertux-0.1.2-fp.patch.gz \
           file://supertux.png \
+          file://install-no-overwrite.patch \
           file://supertux.desktop \
           "