wok-next rev 21059

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Dec 04 13:43:21 2018 +0200 (2018-12-04)
parents 9f382dac8c6a
children d03cdb2a688a
files gaupol/.icon.png gaupol/receipt iso-codes/receipt python-pyenchant/.icon.png python-pyenchant/receipt python-shapely/receipt runcom/description.txt
line diff
     1.1 Binary file gaupol/.icon.png has changed
     2.1 --- a/gaupol/receipt	Mon Dec 03 23:35:15 2018 +0200
     2.2 +++ b/gaupol/receipt	Tue Dec 04 13:43:21 2018 +0200
     2.3 @@ -1,27 +1,29 @@
     2.4  # SliTaz package receipt v2.
     2.5  
     2.6  PACKAGE="gaupol"
     2.7 -VERSION="0.19.2"
     2.8 +VERSION="1.4.1"
     2.9  CATEGORY="multimedia"
    2.10 -SHORT_DESC="Text-based subtitle files editor"
    2.11 -MAINTAINER="claudinei@slitaz.org"
    2.12 +SHORT_DESC="Editor for text-based subtitles"
    2.13 +MAINTAINER="devel@slitaz.org"
    2.14  LICENSE="GPL3"
    2.15  WEB_SITE="https://otsaloma.io/gaupol/"
    2.16 +HOST_ARCH="any"
    2.17  
    2.18  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.19 -WGET_URL="http://download.gna.org/$PACKAGE/${VERSION:0:4}/$TARBALL" # FIXME
    2.20 +WGET_URL="https://github.com/otsaloma/gaupol/archive/$VERSION.tar.gz"
    2.21 +TARBALL_SHA256="6c5bfa20fc7aa25c81027049ca7d87569e938ca272462f22ace4a6ebb00dcfc8"
    2.22  
    2.23 -BUILD_DEPENDS="python-dev intltool gettext-dev"
    2.24 +BUILD_DEPENDS="python3 gettext-dev"
    2.25 +
    2.26 +DEPENDS_std="python3 python3-pygobject gtk3"
    2.27 +SUGGESTED_std="gstreamer1 gst1-plugins-base gst1-plugins-good gst1-plugins-bad \
    2.28 +gst1-plugins-ugly gst1-libav python3-pyenchant gtkspell3 iso-codes \
    2.29 +python3-chardet mplayer"
    2.30  
    2.31  compile_rules() {
    2.32 -	python -B setup.py clean install --prefix=$install/usr
    2.33 +	# don't use '-B' flag: *.egg-info will not be created
    2.34 +	python3 setup.py install --root=$install || return 1
    2.35 +
    2.36 +	find $install -type f -name '*.pyc' -delete
    2.37 +	find $install -type f -exec chmod g-w '{}' \;
    2.38  }
    2.39 -
    2.40 -genpkg_rules() {
    2.41 -	PYTHON_LIB="$(python2 -c 'import os; print os.path.dirname(os.__file__)')"
    2.42 -	sed -i 's|/home/slitaz/wok/gaupol/install||g' \
    2.43 -		$install$PYTHON_LIB/site-packages/aeidon/paths.py
    2.44 -	cp -a $install/usr $fs
    2.45 -	DEPENDS="python python-pygtk"
    2.46 -	SUGGESTED="mplayer"
    2.47 -}
     3.1 --- a/iso-codes/receipt	Mon Dec 03 23:35:15 2018 +0200
     3.2 +++ b/iso-codes/receipt	Tue Dec 04 13:43:21 2018 +0200
     3.3 @@ -1,34 +1,25 @@
     3.4  # SliTaz package receipt v2.
     3.5  
     3.6  PACKAGE="iso-codes"
     3.7 -VERSION="3.79"
     3.8 +VERSION="4.1"
     3.9  CATEGORY="utilities"
    3.10  SHORT_DESC="ISO-639, ISO-4217, ISO-3166 and ISO-3166-2 code lists + translations"
    3.11  MAINTAINER="pascal.bellard@slitaz.org"
    3.12  LICENSE="LGPL2.1"
    3.13 -WEB_SITE="https://salsa.debian.org/debian/iso-codes"
    3.14 +WEB_SITE="https://salsa.debian.org/iso-codes-team/iso-codes"
    3.15  LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/iso-codes.html"
    3.16  HOST_ARCH="any"
    3.17  
    3.18 -TARBALL="$PACKAGE-upstream-$VERSION.tar.bz2"
    3.19 -WGET_URL="https://salsa.debian.org/debian/iso-codes/-/archive/upstream/$VERSION/$TARBALL"
    3.20 +TARBALL="iso-codes-iso-codes-$VERSION.tar.gz"
    3.21 +WGET_URL="https://salsa.debian.org/iso-codes-team/iso-codes/-/archive/iso-codes-$VERSION/$TARBALL"
    3.22  
    3.23  BUILD_DEPENDS="gettext-dev python3"
    3.24  SPLIT="$PACKAGE-dev"
    3.25  
    3.26 +COPY_std="@std *.mo"
    3.27 +
    3.28  compile_rules() {
    3.29  	./configure $CONFIGURE_ARGS &&
    3.30  	make &&
    3.31  	make install
    3.32  }
    3.33 -
    3.34 -genpkg_rules() {
    3.35 -	case $PACKAGE in
    3.36 -		iso-codes)
    3.37 -			copy @std *.mo
    3.38 -			;;
    3.39 -		*-dev)
    3.40 -			copy @dev
    3.41 -			;;
    3.42 -	esac
    3.43 -}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/python-pyenchant/.icon.png	Tue Dec 04 13:43:21 2018 +0200
     4.3 @@ -0,0 +1,1 @@
     4.4 +../python/.icon.png
     4.5 \ No newline at end of file
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/python-pyenchant/receipt	Tue Dec 04 13:43:21 2018 +0200
     5.3 @@ -0,0 +1,26 @@
     5.4 +# SliTaz package receipt v2.
     5.5 +
     5.6 +ORIGIN="pyenchant"
     5.7 +PACKAGE="python-pyenchant"
     5.8 +VERSION="2.0.0"
     5.9 +CATEGORY="python"
    5.10 +SHORT_DESC="Python bindings for the Enchant spellchecking system"
    5.11 +MAINTAINER="al.bobylev@gmail.com"
    5.12 +LICENSE="LGPL"
    5.13 +WEB_SITE="https://pypi.org/project/$ORIGIN/"
    5.14 +HOST_ARCH="any"
    5.15 +REPOLOGY="python:pyenchant"
    5.16 +
    5.17 +BUILD_DEPENDS="python python3 enchant"
    5.18 +SPLIT="${PACKAGE/python/python3}:3"
    5.19 +
    5.20 +compile_rules() {
    5.21 +	pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
    5.22 +}
    5.23 +
    5.24 +genpkg_rules() {
    5.25 +	copy @std
    5.26 +	py="${PACKAGE%%-*}" # python/python3
    5.27 +	DEPENDS="$py enchant"
    5.28 +	TAGS="spelling spellcheck enchant"
    5.29 +}
     6.1 --- a/python-shapely/receipt	Mon Dec 03 23:35:15 2018 +0200
     6.2 +++ b/python-shapely/receipt	Tue Dec 04 13:43:21 2018 +0200
     6.3 @@ -8,7 +8,6 @@
     6.4  MAINTAINER="pascal.bellard@slitaz.org"
     6.5  LICENSE="BSD"
     6.6  WEB_SITE="https://pypi.org/project/$ORIGIN/"
     6.7 -HOST_ARCH="any"
     6.8  REPOLOGY="python:shapely"
     6.9  
    6.10  BUILD_DEPENDS="python python3 geos-dev"
     7.1 --- a/runcom/description.txt	Mon Dec 03 23:35:15 2018 +0200
     7.2 +++ b/runcom/description.txt	Tue Dec 04 13:43:21 2018 +0200
     7.3 @@ -1,41 +1,51 @@
     7.4 -Runcom support DOS .com binary files and boot sector files.
     7.5 +Runcom support DOS `.com` binary files and boot sector files.
     7.6  
     7.7 -1- The DOS .com support
     7.8 +### 1. The DOS `.com` support
     7.9  
    7.10 -Runcom provides few BIOS and DOS (int 21H) interrupt handlers. Many .com files
    7.11 -may not work. DOS .exe are also supported.
    7.12 -You can test it with the file /usr/bin/debug.com, with the command line :
    7.13 -$ debug.com
    7.14 +Runcom provides few BIOS and DOS (int 21H) interrupt handlers. Many `.com`
    7.15 +files may not work. DOS `.exe` are also supported.
    7.16  
    7.17 -2- The boot sector image support
    7.18 +You can test it with the file `/usr/bin/debug.com`, with the command line:
    7.19  
    7.20 -A boot sector image is a 512 bytes file ending with the 0xAA and 0x55 bytes 
    7.21 -with the .bin extension.
    7.22 -Bios disk (int 13H) are emulated (CHS or LBA) with an image file :
    7.23 -- hard disk are image ./hd0, ./hd1, ... for disk 0x80, 0x81...
    7.24 -- floppy disk are image ./fd0, ./fd1 ... or /dev/fd0, /dev/fd1 if not found.
    7.25 -You can test it with the file /usr/bin/debug.bin, with the command line :
    7.26 -$ debug.bin
    7.27 +    $ debug.com
    7.28  
    7.29 -3- The 512 bytes boot sector debugger /usr/bin/debug.bin
    7.30 +### 2. The boot sector image support
    7.31 +
    7.32 +A boot sector image is a 512 bytes file ending with the **0xAA** and **0x55**
    7.33 +bytes with the `.bin` extension.
    7.34 +
    7.35 +BIOS disk (int 13H) are emulated (CHS or LBA) with an image file:
    7.36 +
    7.37 +  - hard disk are image ./hd0, ./hd1, ... for disk 0x80, 0x81...
    7.38 +  - floppy disk are image ./fd0, ./fd1 ... or /dev/fd0, /dev/fd1 if not found.
    7.39 +
    7.40 +You can test it with the file `/usr/bin/debug.bin`, with the command line:
    7.41 +
    7.42 +    $ debug.bin
    7.43 +
    7.44 +### 3. The 512 bytes boot sector debugger `/usr/bin/debug.bin`
    7.45  
    7.46  Usage:
    7.47  
    7.48 - f DX:CX		load one CHS sector to 0000:7C00
    7.49 - t			trace one step
    7.50 - g <address>		go to adrs
    7.51 - d <address>		display 16 bytes, CR for next 16 bytes...
    7.52 - e <address> <words>...	enter memory byte/word/dword
    7.53 - m <segment>		self move
    7.54 - + <segment>		default segment offset
    7.55 +    f DX:CX                 load one CHS sector to 0000:7C00
    7.56 +    t                       trace one step
    7.57 +    g <address>             go to adrs
    7.58 +    d <address>             display 16 bytes, CR for next 16 bytes...
    7.59 +    e <address> <words>...  enter memory byte/word/dword
    7.60 +    m <segment>             self move
    7.61 +    + <segment>             default segment offset
    7.62  
    7.63 -seqment and offset are hexadecimal values in 0..FFFF range
    7.64 -address is linear hexadecimal value in 0..FFFFF range or seqment:offset
    7.65 -words are bytes in 0..FF range or words in 000..FFFF range or double words
    7.66 -CX and DX are used by INT13H/AL=01 BIOS interrupt.
    7.67 +`seqment` and `offset` are hexadecimal values in `0000..FFFF` range
    7.68 +
    7.69 +`address` is linear hexadecimal value in `00000..FFFFF` range or
    7.70 +`seqment:offset` words are bytes in `00..FF` range or words in `0000..FFFF`
    7.71 +range or double words
    7.72 +
    7.73 +`CX` and `DX` are used by `INT13H/AL=01` BIOS interrupt.
    7.74  
    7.75  Example:
    7.76 - m 0FC0			move debugger to 0FC0:0000 0FC0:01FF
    7.77 - f 1			read floppy boot sector to 0000:7C00
    7.78 - f 80:1			read hard disk master boot sector to 0000:7C00
    7.79 - g 7C0E			...
    7.80 +
    7.81 +    m 0FC0    move debugger to 0FC0:0000 0FC0:01FF
    7.82 +    f 1       read floppy boot sector to 0000:7C00
    7.83 +    f 80:1    read hard disk master boot sector to 0000:7C00
    7.84 +    g 7C0E    ...