# HG changeset patch # User Pascal Bellard # Date 1563697930 -7200 # Node ID 68f9518c4cb047ea1675e67acf4541e931eead04 # Parent 89a9d0d5d7e2c0b155415e19f029db7bb59297a5 Update powermanga (thanks Rene Rivero) diff -r 89a9d0d5d7e2 -r 68f9518c4cb0 lbzip2/receipt --- a/lbzip2/receipt Wed Jul 17 22:18:59 2019 +0300 +++ b/lbzip2/receipt Sun Jul 21 10:32:10 2019 +0200 @@ -7,7 +7,7 @@ MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://lbzip2.org/" +WEB_SITE="https://github.com/kjn/lbzip2/" WGET_URL="http://archive.lbzip2.org/$TARBALL" # Rules to configure and make the package. diff -r 89a9d0d5d7e2 -r 68f9518c4cb0 libmowgli-dev/receipt --- a/libmowgli-dev/receipt Wed Jul 17 22:18:59 2019 +0300 +++ b/libmowgli-dev/receipt Sun Jul 21 10:32:10 2019 +0200 @@ -6,7 +6,7 @@ SHORT_DESC="High performance and highly flexible algorithms - development files." MAINTAINER="mimas@slitaz.org" LICENSE="BSD" -WEB_SITE="http://atheme.org/projects/libmowgli.html" +WEB_SITE="https://github.com/atheme/libmowgli-2" WANTED="libmowgli" DEPENDS="libmowgli pkg-config" diff -r 89a9d0d5d7e2 -r 68f9518c4cb0 libmowgli/receipt --- a/libmowgli/receipt Wed Jul 17 22:18:59 2019 +0300 +++ b/libmowgli/receipt Sun Jul 21 10:32:10 2019 +0200 @@ -6,7 +6,7 @@ SHORT_DESC="High performance and highly flexible algorithms." MAINTAINER="mimas@slitaz.org" LICENSE="BSD" -WEB_SITE="http://atheme.org/projects/libmowgli.html" +WEB_SITE="https://github.com/atheme/libmowgli-2" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/atheme/$PACKAGE-2/archive/v$VERSION.tar.gz" diff -r 89a9d0d5d7e2 -r 68f9518c4cb0 libstroke-dev/receipt --- a/libstroke-dev/receipt Wed Jul 17 22:18:59 2019 +0300 +++ b/libstroke-dev/receipt Sun Jul 21 10:32:10 2019 +0200 @@ -7,7 +7,7 @@ MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" WANTED="libstroke" -WEB_SITE="http://etla.net/libstroke/" +WEB_SITE="https://web.archive.org/web/20161204100704/http://etla.net/libstroke/" DEPENDS="libstroke" diff -r 89a9d0d5d7e2 -r 68f9518c4cb0 libstroke/receipt --- a/libstroke/receipt Wed Jul 17 22:18:59 2019 +0300 +++ b/libstroke/receipt Sun Jul 21 10:32:10 2019 +0200 @@ -7,7 +7,7 @@ MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://etla.net/libstroke/" +WEB_SITE="https://web.archive.org/web/20161204100704/http://etla.net/libstroke/" WGET_URL="$WEB_SITE/$TARBALL" DEPENDS="" diff -r 89a9d0d5d7e2 -r 68f9518c4cb0 linld/stuff/src/pipehole.awk --- a/linld/stuff/src/pipehole.awk Wed Jul 17 22:18:59 2019 +0300 +++ b/linld/stuff/src/pipehole.awk Sun Jul 21 10:32:10 2019 +0200 @@ -6,6 +6,11 @@ if (/^@.*:$/ || / endp$/) afterjmp=0 if (/dword ptr/) is386=1 sub(/DGROUP:_imgs\+65534/,"[di-2]") + if (/fallback\)\[1\] == 0/) isload=8 + if (isload == 8) { # LOAD.LST + if (/load_image/) isload=0 + else next + } if (/cmd_line_ptr =/ && is386 == 0) isload=7 if (isload == 7) { # LOAD.LST if (/add/ || /xor/ || /extrn/ || /N_LXLSH@/ || /cl,4/) next @@ -55,7 +60,13 @@ } if (/dx,dx/) next sub(/ax,dx/,"ax,bx") - if (/call/) isload=400 + if (/call/) { + print " cmp ax,0fffh" + print " jae @sys@ok" + print " mov ax,0fffh" + print "@sys@ok:" + isload=400 + } } if (isload == 400 && /,0/) { sub(/,0/,",dh") @@ -64,6 +75,13 @@ if (isload == 4 && is386) { # LOAD.LST sub(/dx,cs/,"edx,cs") sub(/eax/,"edx") + if (/shl/) { + print " mov ax,0fffh" + print " cmp dx,ax" + print " jae @sys@ok" + print " xchg ax,dx" + print "@sys@ok:" + } sub(/ax,9/,"dx,9") if (/,0$/) sub(/,0/,",dh") if (/movzx/) next diff -r 89a9d0d5d7e2 -r 68f9518c4cb0 powermanga/receipt --- a/powermanga/receipt Wed Jul 17 22:18:59 2019 +0300 +++ b/powermanga/receipt Sun Jul 21 10:32:10 2019 +0200 @@ -4,23 +4,20 @@ VERSION="0.93.1" CATEGORY="games" SHORT_DESC="Space War." -MAINTAINER="arca2@hotmail.com" +MAINTAINER="arca1085@gmail.com " LICENSE="GPL2" WEB_SITE="http://linux.tlk.fr/games/Powermanga/" TARBALL="$PACKAGE-$VERSION.tgz" WGET_URL="${WEB_SITE}download/$TARBALL" -DEPENDS="libsdl-mixer zlib" -BUILD_DEPENDS="automake libsdl-dev libsdl-mixer-dev zlib-dev" - -# Packaging for SliTaz by Rene Rivero. +DEPENDS="libsdl-mixer zlib libogg" +BUILD_DEPENDS="automake libsdl-dev libsdl-mixer-dev zlib-dev libogg-dev" # Rules to configure and make the package. compile_rules() { sed -i 's|SDL_mixer.h|SDL/SDL_mixer.h|' src/sdl_mixer.c -# sed -i '239,243 s|^|// |' src/sdl_mixer.cpp ./bootstrap && ./configure && @@ -33,12 +30,19 @@ { mkdir -p $fs/usr/share/applications + rm $install/usr/share/games/powermanga/sounds/*.zik + cp -a $install/usr/share/games/powermanga/sound/handheld_console/*.ogg $install/usr/share/games/powermanga/sounds/ + mv $install/usr/share/games/powermanga/sounds/music_congratulations.ogg $install/usr/share/games/powermanga/sounds/music_congratulations.zik + mv $install/usr/share/games/powermanga/sounds/music_game.ogg $install/usr/share/games/powermanga/sounds/music_game.zik + mv $install/usr/share/games/powermanga/sounds/music_menu.ogg $install/usr/share/games/powermanga/sounds/music_menu.zik cp -a $install/var $fs cp -a $install/usr/games $fs/usr cp -a $install/usr/share/games $fs/usr/share cp -a $src/texts $fs/usr/share/games/powermanga cp $stuff/power-manga.png $fs/usr/share/games/powermanga cp $stuff/powermanga.desktop $fs/usr/share/applications + mkdir -p $fs/var/games/powermanga + chmod -R 777 $fs/var/games/powermanga chown -R root.root $fs }