wok-6.x rev 20550
Update get-palemoon for 28.2.2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 11 09:42:58 2018 +0100 (2018-12-11) |
parents | 014e68d6a0ef |
children | 2f0fb71a15fb |
files | get-palemoon/receipt get-palemoon/stuff/get-palemoon linld/receipt |
line diff
1.1 --- a/get-palemoon/receipt Sun Dec 02 11:03:17 2018 +0100 1.2 +++ b/get-palemoon/receipt Tue Dec 11 09:42:58 2018 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="get-palemoon" 1.7 -VERSION="27.8.2" 1.8 +VERSION="lastest" # updated for 28.2.2 1.9 CATEGORY="non-free" 1.10 SHORT_DESC="Browser based on Firefox that's optimised for performance. Official sse2 version." 1.11 MAINTAINER="al.bobylev@gmail.com"
2.1 --- a/get-palemoon/stuff/get-palemoon Sun Dec 02 11:03:17 2018 +0100 2.2 +++ b/get-palemoon/stuff/get-palemoon Tue Dec 11 09:42:58 2018 +0100 2.3 @@ -1,46 +1,47 @@ 2.4 #!/bin/sh 2.5 # get Pale Moon web browser 2.6 2.7 -WGET_URL="http://linux.palemoon.org$(wget -O - \ 2.8 -http://linux.palemoon.org/download/mainline/ 2> /dev/null | \ 2.9 +PACKAGE="palemoon-opt" 2.10 +WEB_SITE="http://linux.palemoon.org" 2.11 +PKGROOT="/opt/palemoon" 2.12 +################ 2.13 +WGET_URL="$WEB_SITE$(wget -O - $WEB_SITE/download/mainline/ 2> /dev/null | \ 2.14 sed '/686/!d;s/.*href="\([^"]*\).*/\1/;q')" 2.15 -VERSION="$(echo $WGET_URL | sed 's/.*palemoon-\(.*\).en-US.*/\1/')" 2.16 +VERSION="$(echo $WGET_URL | sed 's/.*palemoon-\([0-9\.]*\)\..*/\1/')" 2.17 2.18 mkdir -p $1/opt; cd $1/opt; busybox wget -O - $WGET_URL | tar -xjf - 2.19 2.20 ################ 2.21 -DESKTOP=usr/share/applications/palemoon-opt.desktop 2.22 +DESKTOP=usr/share/applications/$PACKAGE.desktop 2.23 cat > $1/$DESKTOP << EOA 2.24 [Desktop Entry] 2.25 Type=Application 2.26 Name=Palemoon v${VERSION%.*} 2.27 -Exec=/opt/palemoon/palemoon %u 2.28 -Icon=/opt/palemoon/browser/icons/mozicon128.png 2.29 +Exec=$PKGROOT/palemoon %u 2.30 +Icon=$PKGROOT/browser/icons/mozicon128.png 2.31 StartupNotify=true 2.32 Categories=GTK;Network;WebBrowser; 2.33 MimeType=text/html;text/xml;application/xhtml+xml;application/xml; 2.34 EOA 2.35 ################ 2.36 -PKGDIR="$1/var/lib/tazpkg/installed/palemoon-opt" 2.37 +PKGDIR="$1/var/lib/tazpkg/installed/$PACKAGE" 2.38 mkdir -p "$PKGDIR" 2.39 cat > "$PKGDIR/receipt" << EOR 2.40 # SliTaz package receipt. 2.41 2.42 -UNPACKED_SIZE="$(du -hs $1/opt/palemoon | awk '{ print $1 }')" 2.43 -PACKAGE="palemoon-opt" 2.44 +UNPACKED_SIZE="$(du -hs $1$PKGROOT | awk '{ print $1 }')" 2.45 +PACKAGE="$PACKAGE" 2.46 VERSION="$VERSION" 2.47 CATEGORY="network" 2.48 SHORT_DESC="Browser based on Firefox that's optimised for performance" 2.49 MAINTAINER="al.bobylev@gmail.com" 2.50 LICENSE="MPL2" 2.51 -WEB_SITE="http://linux.palemoon.org" 2.52 +WEB_SITE="$WEB_SITE" 2.53 2.54 DEPENDS="dbus-glib" 2.55 +SUGGESTED="ffmpeg" 2.56 EOR 2.57 ################ 2.58 -find $1/opt/palemoon -type f > "$PKGDIR/files.list" 2.59 -echo "/$DESKTOP" >> "$PKGDIR/files.list" 2.60 +find $1$PKGROOT /$DESKTOP -type f | tee "$PKGDIR/files.list" | \ 2.61 + xargs md5sum > "$PKGDIR/md5sum" 2.62 ################ 2.63 -find $1/opt/palemoon -type f -exec md5sum \{\} \; > "$PKGDIR/md5sum" 2.64 -md5sum "/$DESKTOP" >> "$PKGDIR/md5sum" 2.65 -################
3.1 --- a/linld/receipt Sun Dec 02 11:03:17 2018 +0100 3.2 +++ b/linld/receipt Tue Dec 11 09:42:58 2018 +0100 3.3 @@ -39,7 +39,8 @@ 3.4 EOT 3.5 SDL_VIDEODRIVER=dummy dosbox MAKE.BAT -exit -c "mount D $src" \ 3.6 2>&1 | grep -v 'ALSA lib' 3.7 - grep Error: */LNK.LOG && return 1 3.8 + grep '^Error[ :]' */LNK.LOG */CPP.LOG && return 1 3.9 + grep '*Error*' */*.LST && return 1 3.10 cp LINLD$SUFFIX/LINLD.COM linld.com 3.11 cp TAZBOOT/TAZBOOT.COM tazboot.com 3.12 objdump -D -b binary -mi386 -Maddr16,data16 --adjust-vma=0x100 \