wok-next rev 17526

Add jp2a
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 19 00:23:49 2015 +0100 (2015-01-19)
parents ab52504863e3
children ec1c047ea51f
files fusecloop/description.txt jp2a/receipt pm-utils/receipt slim/stuff/strings
line diff
     1.1 --- a/fusecloop/description.txt	Sun Jan 18 16:43:46 2015 -0500
     1.2 +++ b/fusecloop/description.txt	Mon Jan 19 00:23:49 2015 +0100
     1.3 @@ -6,11 +6,14 @@
     1.4  1- Add transparent support for accelerated knoppix, V0, V1 and V2 (current)
     1.5     format.
     1.6  
     1.7 -2- Add new V3 format
     1.8 - * The index uses 32 bits lengths instead of 64 bits offsets.
     1.9 - * The index move to the file end. The cloop creation tool holds the index in 
    1.10 -   memory instead of the datas. This reduce memory needs by 5000.
    1.11 -   $ genisoimage -R mydvd/ | create_compressed_fs 131072 > mydvd.cloop
    1.12 +2- Add new V3 format to build huge cloop images.
    1.13 + * The index is compressed and uses 32 bits lengths instead of 64 bits offsets.
    1.14 + * The index is moved to the file end. The cloop creation tool holds the index
    1.15 +   in memory instead of the datas. This reduces memory needs by 5000.
    1.16 +   $ genisoimage -R myDVD/ | create_compressed_fs 131072 > myDVD.cloop
    1.17    
    1.18  3- Any format cloop can be converted to V2 format for knoppix compatibility.
    1.19 -   $ extract_compressed_fs mydvd.cloop --convert-to-v2 > mydvdinv2.cloop
    1.20 +   $ extract_compressed_fs myDVD.cloop --convert-to-v2 > myDVDinV2.cloop
    1.21 +
    1.22 +create_compressed_fs and extract_compressed_fs are available here:
    1.23 +http://cook.slitaz.org/cooker.cgi?files=cloop-utils
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/jp2a/receipt	Mon Jan 19 00:23:49 2015 +0100
     2.3 @@ -0,0 +1,30 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="jp2a"
     2.7 +VERSION="1.0.6"
     2.8 +CATEGORY="graphics"
     2.9 +SHORT_DESC="Converts JPG images to ASCII."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE="GPL2"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.13 +WEB_SITE="https://csl.name/jp2a/"
    2.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.15 +
    2.16 +DEPENDS="jpeg libcurl"
    2.17 +BUILD_DEPENDS="jpeg-dev curl-dev"
    2.18 +
    2.19 +# Rules to configure and make the package.
    2.20 +compile_rules()
    2.21 +{
    2.22 +	./configure --prefix=/usr \
    2.23 +		$CONFIGURE_ARGS &&
    2.24 +	make &&
    2.25 +	make DESTDIR=$DESTDIR install
    2.26 +}
    2.27 +
    2.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.29 +genpkg_rules()
    2.30 +{
    2.31 +	mkdir -p $fs/usr
    2.32 +	cp -a $install/usr/bin $fs/usr
    2.33 +}
     3.1 --- a/pm-utils/receipt	Sun Jan 18 16:43:46 2015 -0500
     3.2 +++ b/pm-utils/receipt	Mon Jan 19 00:23:49 2015 +0100
     3.3 @@ -64,3 +64,16 @@
     3.4  	cp -a $stuff/video-quirks $fs/usr/lib/pm-utils
     3.5  	status
     3.6  }
     3.7 +
     3.8 +pre_remove()
     3.9 +{
    3.10 +	[ -s $1/etc/slim.conf ] &&
    3.11 +	sed -i 's|.*/usr/sbin/pm-suspend|#&|' $1/etc/slim.conf
    3.12 +}
    3.13 +
    3.14 +post_install()
    3.15 +{
    3.16 +	[ -s $1/etc/slim.conf ] &&
    3.17 +	sed -i 's|^#suspend_cmd.*|suspend_cmd         /usr/sbin/pm-suspend|' \
    3.18 +		$1/etc/slim.conf
    3.19 +}
     4.1 --- a/slim/stuff/strings	Sun Jan 18 16:43:46 2015 -0500
     4.2 +++ b/slim/stuff/strings	Mon Jan 19 00:23:49 2015 +0100
     4.3 @@ -43,7 +43,7 @@
     4.4  u:fi	Käyttäjätunnus
     4.5  p:fi	Salasana
     4.6  # Français
     4.7 -w:fr	Bienvenue à %host!
     4.8 +w:fr	Bienvenue sur %host!
     4.9  u:fr	Nom d'utilisateur :
    4.10  p:fr	Mot de passe :
    4.11  # Hrvatski