wok-next rev 20402

Up seed (3.8.1) use webkitgtk instead of libwebkit; add cogl for clutter; up clutter (1.26.2) using mesa17 instead of mesa; up gnome-games using mesa17 instead of mix 'mesa & mesa17'
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Dec 05 17:49:11 2017 +0200 (2017-12-05)
parents 79820d8299f4
children 1e44db1651e4
files clutter/receipt cogl/receipt gnome-games/description.gnome-games-aisleriot.txt gnome-games/description.gnome-games-glchess.txt gnome-games/description.gnome-games-glines.txt gnome-games/description.gnome-games-gnect.txt gnome-games/description.gnome-games-gnibbles.txt gnome-games/description.gnome-games-gnobots2.txt gnome-games/description.gnome-games-gnomine.txt gnome-games/description.gnome-games-gnotravex.txt gnome-games/description.gnome-games-gnotski.txt gnome-games/description.gnome-games-gtali.txt gnome-games/description.gnome-games-iagno.txt gnome-games/description.gnome-games-lightsoff.txt gnome-games/description.gnome-games-mahjongg.txt gnome-games/description.gnome-games-quadrapassel.txt gnome-games/description.gnome-games-sudoku.txt gnome-games/description.gnome-games-swell-foop.txt gnome-games/receipt seed/receipt
line diff
     1.1 --- a/clutter/receipt	Mon Dec 04 10:44:24 2017 +0100
     1.2 +++ b/clutter/receipt	Tue Dec 05 17:49:11 2017 +0200
     1.3 @@ -1,24 +1,26 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="clutter"
     1.7 -VERSION="1.6.20"
     1.8 +VERSION="1.26.2"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Animated graphical user interfaces library"
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="LGPL2.1"
    1.13 -WEB_SITE="http://clutter-project.org/"
    1.14 +WEB_SITE="https://blogs.gnome.org/clutter/"
    1.15 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/clutter.html"
    1.16  
    1.17 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18 -WGET_URL="http://www.clutter-project.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.19 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.20 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.21  
    1.22 -BUILD_DEPENDS="atk-dev glib-dev gdk-pixbuf-dev cairo-dev pango-dev \
    1.23 -json-glib-dev mesa-dev libdrm-dev xorg-libXcomposite-dev \
    1.24 -gobject-introspection-dev pkg-config libxml2-dev expat-dev xorg-libxshmfence-dev"
    1.25 +BUILD_DEPENDS="glib-dev cogl-dev atk-dev json-glib-dev \
    1.26 +gobject-introspection-dev gettext"
    1.27  SPLIT="clutter-dev"
    1.28  
    1.29  compile_rules() {
    1.30  	./configure \
    1.31 +		--sysconfdir=/etc \
    1.32  		--enable-introspection \
    1.33 +		--enable-egl-backend \
    1.34  		$CONFIGURE_ARGS &&
    1.35  	make && make install || return 1
    1.36  
    1.37 @@ -29,13 +31,26 @@
    1.38  	case $PACKAGE in
    1.39  		clutter)
    1.40  			copy @std
    1.41 -			DEPENDS="atk glib gdk-pixbuf cairo pango json-glib mesa libdrm \
    1.42 -			xorg-libXcomposite"
    1.43 -			SUGGESTED="nvidia"
    1.44 +			DEPENDS="atk bzlib cairo cogl expat fontconfig freetype gdk-pixbuf \
    1.45 +			glib json-glib libatomic libdrm libffi libharfbuzz liblzma \
    1.46 +			libpng16 libxml2 mesa17-libegl mesa17-libgbm mesa17-libwayland-egl \
    1.47 +			pango pcre util-linux-blkid util-linux-mount util-linux-uuid \
    1.48 +			wayland xorg-libX11 xorg-libXau xorg-libxcb xorg-libXcomposite \
    1.49 +			xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \
    1.50 +			xorg-libXrandr xorg-libXrender xorg-libxshmfence xorg-pixman zlib"
    1.51  			;;
    1.52  		*-dev)
    1.53  			copy @dev
    1.54 -			DEPENDS="clutter mesa-dev json-glib-dev xorg-libXcomposite-dev"
    1.55 +			DEPENDS="clutter atk-dev bzip2-dev cairo-dev cogl-dev expat-dev \
    1.56 +			fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev harfbuzz-dev \
    1.57 +			json-glib-dev libdrm-dev libffi-dev libpng16-dev libxml2-dev \
    1.58 +			mesa17-dev pango-dev pcre-dev util-linux-blkid-dev \
    1.59 +			util-linux-mount-dev util-linux-uuid-dev wayland-dev \
    1.60 +			xorg-libX11-dev xorg-libXau-dev xorg-libxcb-dev \
    1.61 +			xorg-libXcomposite-dev xorg-libXdamage-dev xorg-libXdmcp-dev \
    1.62 +			xorg-libXext-dev xorg-libXfixes-dev xorg-libXrandr-dev \
    1.63 +			xorg-libXrender-dev xorg-libxshmfence-dev xorg-pixman-dev xz-dev \
    1.64 +			zlib-dev"
    1.65  			;;
    1.66  	esac
    1.67  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/cogl/receipt	Tue Dec 05 17:49:11 2017 +0200
     2.3 @@ -0,0 +1,66 @@
     2.4 +# SliTaz package receipt v2.
     2.5 +
     2.6 +PACKAGE="cogl"
     2.7 +VERSION="1.22.2"
     2.8 +CATEGORY="x-window"
     2.9 +SHORT_DESC="Object oriented GL/GLES abstraction/utility layer"
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +LICENSE="GPL2"
    2.12 +WEB_SITE="https://blogs.gnome.org/clutter/"
    2.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/cogl.html"
    2.14 +
    2.15 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.16 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    2.17 +
    2.18 +BUILD_DEPENDS="glib-dev mesa17-dev xorg-libXcomposite-dev xorg-libXrandr-dev \
    2.19 +gdk-pixbuf-dev gettext cairo-dev pango-dev gobject-introspection-dev"
    2.20 +SPLIT="cogl cogl-dev"
    2.21 +
    2.22 +compile_rules() {
    2.23 +	sed -i 's/^#if COGL/#ifdef COGL/' cogl/winsys/cogl-winsys-egl.c
    2.24 +
    2.25 +	# --enable-kms-egl-platform, --enable-wayland-egl-platform,
    2.26 +	# --enable-wayland-egl-server: for GNOME Wayland support.
    2.27 +	# This added mesa17-libwayland-egl to DEPENDS.
    2.28 +	# --enable-xlib-egl-platform is default option.
    2.29 +	./configure \
    2.30 +		--enable-gles1 \
    2.31 +		--enable-gles2 \
    2.32 +		--enable-kms-egl-platform \
    2.33 +		--enable-wayland-egl-platform \
    2.34 +		--enable-xlib-egl-platform \
    2.35 +		--enable-wayland-egl-server \
    2.36 +		$CONFIGURE_ARGS &&
    2.37 +	make &&
    2.38 +	make install || return 1
    2.39 +
    2.40 +	# remove /usr/share/cogl/examples-data/crate.jpg with folder: no examples anyway
    2.41 +	rm -r $install/usr/share/cogl
    2.42 +}
    2.43 +
    2.44 +genpkg_rules() {
    2.45 +	case $PACKAGE in
    2.46 +		cogl)
    2.47 +			copy @std
    2.48 +			DEPENDS="bzlib cairo expat fontconfig freetype gdk-pixbuf glib \
    2.49 +			libatomic libdrm libffi libharfbuzz liblzma libpng16 libxml2 \
    2.50 +			mesa17-libegl mesa17-libgbm mesa17-libwayland-egl pango pcre \
    2.51 +			util-linux-blkid util-linux-mount util-linux-uuid wayland \
    2.52 +			xorg-libX11 xorg-libXau xorg-libxcb xorg-libXcomposite \
    2.53 +			xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \
    2.54 +			xorg-libXrandr xorg-libXrender xorg-libxshmfence xorg-pixman zlib"
    2.55 +			;;
    2.56 +		cogl-dev)
    2.57 +			copy @dev
    2.58 +			DEPENDS="cogl bzip2-dev cairo-dev expat-dev fontconfig-dev \
    2.59 +			freetype-dev gdk-pixbuf-dev glib-dev harfbuzz-dev libdrm-dev \
    2.60 +			libffi-dev libpng16-dev libxml2-dev mesa17-dev pango-dev pcre-dev \
    2.61 +			util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
    2.62 +			wayland-dev xorg-libX11-dev xorg-libXau-dev xorg-libxcb-dev \
    2.63 +			xorg-libXcomposite-dev xorg-libXdamage-dev xorg-libXdmcp-dev \
    2.64 +			xorg-libXext-dev xorg-libXfixes-dev xorg-libXrandr-dev \
    2.65 +			xorg-libXrender-dev xorg-libxshmfence-dev xorg-pixman-dev xz-dev \
    2.66 +			zlib-dev"
    2.67 +			;;
    2.68 +	esac
    2.69 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/gnome-games/description.gnome-games-aisleriot.txt	Tue Dec 05 17:49:11 2017 +0200
     3.3 @@ -0,0 +1,3 @@
     3.4 +AisleRiot (also known as Solitaire or sol) is a collection of card games which
     3.5 +are easy to play with the aid of a mouse. The rules for the games have been
     3.6 +coded for your pleasure in the GNOME scripting language (Scheme).
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/gnome-games/description.gnome-games-glchess.txt	Tue Dec 05 17:49:11 2017 +0200
     4.3 @@ -0,0 +1,3 @@
     4.4 +glChess is a game for playing the classic board game of chess, in which two
     4.5 +players simulate a battle by capturing the opponents pieces and ultimately
     4.6 +the king. It can be played in 2D or 3D mode, full screen or in a window.
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/gnome-games/description.gnome-games-glines.txt	Tue Dec 05 17:49:11 2017 +0200
     5.3 @@ -0,0 +1,4 @@
     5.4 +To play Five or More one must align colored pieces as the board gets filled
     5.5 +with randomly placed pieces. When five or more pieces of the same color get
     5.6 +lined up, they disappear. The game ends when the board gets filled up all the
     5.7 +way.
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/gnome-games/description.gnome-games-gnect.txt	Tue Dec 05 17:49:11 2017 +0200
     6.3 @@ -0,0 +1,3 @@
     6.4 +The object of Four-in-a-Row is to place four pieces in a vertical, horizontal,
     6.5 +or diagonal row while the opponent tries to block and make his/her own row of
     6.6 +four. Four-in-a-Row can be played against another human or the computer.
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/gnome-games/description.gnome-games-gnibbles.txt	Tue Dec 05 17:49:11 2017 +0200
     7.3 @@ -0,0 +1,3 @@
     7.4 +Nibbles is a worm game for GNOME. The player controls a 2D worm while trying to
     7.5 +get food. Getting food gives points, but hitting anything causes a loss of
     7.6 +points. When all points are lost, the player loses.
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/gnome-games/description.gnome-games-gnobots2.txt	Tue Dec 05 17:49:11 2017 +0200
     8.3 @@ -0,0 +1,3 @@
     8.4 +Robots is a graphical version of the original text based robots game, which can
     8.5 +be found on a number of UNIX systems. The player must outwit the robots chasing
     8.6 +him/her by getting them to run into each other.
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/gnome-games/description.gnome-games-gnomine.txt	Tue Dec 05 17:49:11 2017 +0200
     9.3 @@ -0,0 +1,2 @@
     9.4 +Mines is GNOME's take on the popular logic puzzle minesweeper, which includes
     9.5 +avoiding mines while receiving clues for the location of the mines.
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/gnome-games/description.gnome-games-gnotravex.txt	Tue Dec 05 17:49:11 2017 +0200
    10.3 @@ -0,0 +1,3 @@
    10.4 +GNOME Tetravex is a simple puzzle game which scope is to move the various
    10.5 +pieces from one side of the board to the other side, so that the same numbers
    10.6 +depicted on the pieces are touching each other.
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/gnome-games/description.gnome-games-gnotski.txt	Tue Dec 05 17:49:11 2017 +0200
    11.3 @@ -0,0 +1,2 @@
    11.4 +Klotski is a puzzle game of which the objective is to get the patterned block
    11.5 +to the marker, which is done by moving the blocks in its way.
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/gnome-games/description.gnome-games-gtali.txt	Tue Dec 05 17:49:11 2017 +0200
    12.3 @@ -0,0 +1,4 @@
    12.4 +Tali is like Yahtzee for GNOME or like poker with dice. The player rolls dice
    12.5 +to try to make the best possible combinations, like 4 of a kind, small straight,
    12.6 +and full house. The player is allowed 3 rolls per turn and can hold certain
    12.7 +dice with each roll.
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/gnome-games/description.gnome-games-iagno.txt	Tue Dec 05 17:49:11 2017 +0200
    13.3 @@ -0,0 +1,6 @@
    13.4 +Iagno is the two player strategy game of Othello, which is also known as
    13.5 +Reversi and is similar to Go. The pieces are tiles that are black on one side
    13.6 +and white on the other and the objective is for the player to flip his/her
    13.7 +opponent's tiles to his/her color, while keeping the opponent from doing the
    13.8 +same. Once the board is filled with tiles, the winner is the player with the
    13.9 +most of his/her color tiles on the board.
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/gnome-games/description.gnome-games-lightsoff.txt	Tue Dec 05 17:49:11 2017 +0200
    14.3 @@ -0,0 +1,3 @@
    14.4 +Lights Off is a puzzle game, where the objective is to turn off all of the
    14.5 +tiles on the board. Each click toggles the state of the clicked tile and its
    14.6 +non-diagonal neighbors.
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/gnome-games/description.gnome-games-mahjongg.txt	Tue Dec 05 17:49:11 2017 +0200
    15.3 @@ -0,0 +1,3 @@
    15.4 +Mahjongg is a solitaire version of the classic Eastern tile game. It involves
    15.5 +clearing as much of the board as possible by matching corresponding tiles and
    15.6 +taking them out of play.
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/gnome-games/description.gnome-games-quadrapassel.txt	Tue Dec 05 17:49:11 2017 +0200
    16.3 @@ -0,0 +1,4 @@
    16.4 +Quadrapassel is GNOME's version of Tetris, the classic game of interlocking
    16.5 +four-piece blocks. As they fall from the top, the player must orient them to
    16.6 +fit the other blocks at the bottom so that they form a complete horizontal
    16.7 +line, in which case that line disappears and the player gains points.
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/gnome-games/description.gnome-games-sudoku.txt	Tue Dec 05 17:49:11 2017 +0200
    17.3 @@ -0,0 +1,2 @@
    17.4 +Sudoku is an application for playing the popular sudoku logic puzzle game, in
    17.5 +which one must fill a 9 by 9 square with the correct digits.
    18.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.2 +++ b/gnome-games/description.gnome-games-swell-foop.txt	Tue Dec 05 17:49:11 2017 +0200
    18.3 @@ -0,0 +1,4 @@
    18.4 +Swell Foop is a puzzle game, of which the objective is to clear the window
    18.5 +of as many pieces as possible by clicking on groups of the same colored pieces.
    18.6 +That group will vanish and the pieces on top will fall until there are none
    18.7 +left or no more color groups.
    19.1 --- a/gnome-games/receipt	Mon Dec 04 10:44:24 2017 +0100
    19.2 +++ b/gnome-games/receipt	Tue Dec 05 17:49:11 2017 +0200
    19.3 @@ -2,24 +2,31 @@
    19.4  
    19.5  PACKAGE="gnome-games"
    19.6  VERSION="2.32.1"
    19.7 -CATEGORY="games"
    19.8 -SHORT_DESC="A set of of simple games from Gnome."
    19.9 +CATEGORY="meta"
   19.10 +SHORT_DESC="Simple games from GNOME"
   19.11  MAINTAINER="pankso@slitaz.org"
   19.12  LICENSE="GPL2"
   19.13 +WEB_SITE="https://wiki.gnome.org/Apps/Games"
   19.14 +
   19.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   19.16 -WEB_SITE="http://www.gnome.org/"
   19.17  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
   19.18  
   19.19 -# Games: aisleriot need guile. glchess use pygtk/mesa and is splitted
   19.20 -BUILD_DEPENDS="GConf-dev librsvg-dev libcroco-dev mesa-dev clutter-dev \
   19.21 -clutter-gtk-dev python-dev pygtk-dev libcanberra-dev gnome-doc-utils-dev \
   19.22 -libvorbis-dev libogg-dev util-linux-uuid-dev seed-dev libtool guile-dev \
   19.23 -libffi-dev"
   19.24 -SPLIT="gnome-games-glchess gnome-games-icons gnome-games-sudoku"
   19.25 +BUILD_DEPENDS="libcroco-dev mesa-dev python-dev libvorbis-dev libogg-dev util-linux-uuid-dev seed-dev libtool libffi-dev"
   19.26  
   19.27 -# Rules to configure and make the package.
   19.28 -compile_rules()
   19.29 -{
   19.30 +BUILD_DEPENDS="glib-dev gtk+-dev GConf-dev librsvg-dev clutter-dev \
   19.31 +clutter-gtk-dev pygtk-dev libcanberra-dev intltool guile-dev \
   19.32 +gnome-doc-utils-dev"
   19.33 +
   19.34 +gg='gnome-games'
   19.35 +SPLIT="\
   19.36 +$gg-aisleriot  $gg-glchess $gg-glines    $gg-gnect     $gg-gnibbles \
   19.37 +$gg-gnobots2   $gg-sudoku  $gg-gnomine   $gg-gnotravex $gg-gnotski \
   19.38 +$gg-gtali      $gg-iagno   $gg-lightsoff $gg-mahjongg  $gg-quadrapassel \
   19.39 +$gg-swell-foop $gg-common  $gg-help      $gg           $gg-dev"
   19.40 +
   19.41 +compile_rules() {
   19.42 +	addgroup -S games # for high score logging
   19.43 +
   19.44  	./configure \
   19.45  		--sysconfdir=/etc \
   19.46  		--bindir=/usr/games \
   19.47 @@ -31,68 +38,150 @@
   19.48  	make && make install
   19.49  }
   19.50  
   19.51 -# Rules to gen a SliTaz package suitable for Tazpkg.
   19.52 -genpkg_rules()
   19.53 -{
   19.54 +genpkg_rules() {
   19.55 +	COOKOPTS="!menus"
   19.56 +	game=${PACKAGE/gnome-games-/}
   19.57 +	case $game in
   19.58 +		aisleriot) bin='sol';;
   19.59 +		glchess)   bin='glchess gnome-gnuchess';;
   19.60 +		sudoku)    bin='gnome-sudoku';;
   19.61 +		*)         bin="$game";;
   19.62 +	esac
   19.63 +	case $game in
   19.64 +		glchess) py='site-packages/glchess/';;
   19.65 +		sudoku)  py='site-packages/gnome_sudoku/';;
   19.66 +		*)       py='';;
   19.67 +	esac
   19.68 +	case $game in
   19.69 +		aisleriot) desktop='freecell.desktop sol.desktop';;
   19.70 +		sudoku)    desktop='gnome-sudoku.desktop';;
   19.71 +		*)         desktop="$game.desktop";;
   19.72 +	esac
   19.73 +	case $game in
   19.74 +		aisleriot) icon='gnome-freecell.png gnome-aisleriot.png';;
   19.75 +		gnotski)   icon='gnome-klotski.png';;
   19.76 +		gnomine)   icon='gnome-mines.png';;
   19.77 +		gnobots2)  icon='gnome-robots.png';;
   19.78 +		gtali)     icon='gnome-tali.png';;
   19.79 +		gnotravex) icon='gnome-tetravex.png';;
   19.80 +		*)         icon="gnome-$game.png";;
   19.81 +	esac
   19.82 +	case $game in
   19.83 +		glchess) share='share/glchess/';;
   19.84 +		sudoku)  share='share/gnome-sudoku/';;
   19.85 +		*)       share="share/gnome-games/$game/";;
   19.86 +	esac
   19.87 +	case $game in
   19.88 +		glines|gnibbles|gnobots2|gnomine|gnotravex|gnotski|gtali|mahjongg|quadrapassel)
   19.89 +			scores="var/games/$game*.scores";;
   19.90 +		*)	scores='';;
   19.91 +	esac
   19.92 +	case $game in
   19.93 +		sudoku) schemas='gnome-sudoku.schemas';;
   19.94 +		*)      schemas="$game.schemas";;
   19.95 +	esac
   19.96 +
   19.97 +	case $game in
   19.98 +		gnome-games) ;;
   19.99 +		dev)    copy @dev;;
  19.100 +		help)   copy gnome/help/ omf/;;
  19.101 +		common) copy sounds/ gnome-games-common/ \
  19.102 +		        share/gnome-games/icons/ share/gnome-games/pixmaps/ \
  19.103 +		        lib/gnome-games/ar-cards-renderer lib/gnome-games/*.so* ;;
  19.104 +		*)      copy $bin $py $desktop $icon ${icon//.png/.svg} $share $scores \
  19.105 +		        $schemas;;
  19.106 +	esac
  19.107 +
  19.108 +	DEPENDS="gnome-games-common"
  19.109  	case $PACKAGE in
  19.110 -	gnome-games)
  19.111 -		DEPENDS="clutter-gtk GConf guile libcanberra librsvg seed xorg-libXi"
  19.112 -		mkdir -p $fs/usr/lib $fs/usr/share/$PACKAGE-common
  19.113 -
  19.114 -		cp -a $install/usr/games $fs/usr
  19.115 -		cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
  19.116 -		cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
  19.117 -		cp -a $install/usr/share/$PACKAGE $fs/usr/share
  19.118 -		cp -a $install/usr/share/$PACKAGE-common/cards \
  19.119 -			$fs/usr/share/$PACKAGE-common
  19.120 -		cp -a $install/usr/share/gir-1.0 $fs/usr/share
  19.121 -
  19.122 -		# Remove splitted games files
  19.123 -		rm -f $fs/usr/games/glchess
  19.124 -		rm -f $fs/usr/games/gnome-sudoku
  19.125 -		rm -f $fs/usr/share/*/glchess.desktop
  19.126 -		rm -f $fs/usr/share/*/gnome-sudoku.desktop
  19.127 -
  19.128 -		cp -a $install/var $fs
  19.129 -		chmod a+w $fs/var/games/*
  19.130 -		;;
  19.131 -	gnome-games-glchess)
  19.132 -		CAT="games|Chess game using GL/Mesa."
  19.133 -		TAGS="chess"
  19.134 -		DEPENDS="mesa python gnuchess gnome-games-icons"
  19.135 -		game=glchess
  19.136 -		mkdir -p \
  19.137 -			$fs/usr/games $fs/usr/lib \
  19.138 -			$fs/usr/share/applications
  19.139 -
  19.140 -		cp -a $install/usr/games/$game $fs/usr/games
  19.141 -		cp -a $install/usr/lib/python* $fs/usr/lib
  19.142 -		rm -rf $fs/usr/lib/python*/*/gnome_sudoku
  19.143 -		cp -a $install/usr/share/$game $fs/usr/share
  19.144 -
  19.145 -		cp $src/$game/$game.desktop $fs/usr/share/applications
  19.146 -		;;
  19.147 -	gnome-games-icons)
  19.148 -		CAT="games|Gnome games icons set."
  19.149 -		DEPENDS="gnome-games"
  19.150 -		mkdir -p $fs/usr/share
  19.151 -		cp -a $install/usr/share/icons $fs/usr/share
  19.152 -		rm -rf $fs/usr/share/icons/hicolor/scalable
  19.153 -		;;
  19.154 -	gnome-games-sudoku)
  19.155 -		CAT="games|Gnome sudoku game."
  19.156 -		DEPENDS="python pygtk python-gconf gnome-games-icons"
  19.157 -		game=gnome-sudoku
  19.158 -		mkdir -p \
  19.159 -			$fs/usr/games $fs/usr/lib \
  19.160 -			$fs/usr/share/applications
  19.161 -
  19.162 -		cp -a $install/usr/games/$game $fs/usr/games
  19.163 -		cp -a $install/usr/lib/python* $fs/usr/lib
  19.164 -		rm -rf $fs/usr/lib/python*/*/glchess
  19.165 -		cp -a $install/usr/share/$game $fs/usr/share
  19.166 -
  19.167 -		cp $src/$game/$game.desktop $fs/usr/share/applications
  19.168 -		;;
  19.169 +		*-common)
  19.170 +			CAT="games|common files"
  19.171 +			DEPENDS="GConf atk bzlib cairo fontconfig freetype gdk-pixbuf glib \
  19.172 +			gtk+ libcanberra libcanberra-gtk2 libcroco libffi libharfbuzz \
  19.173 +			libltdl liblzma libogg libpng16 librsvg libvorbis libxml2 orbit2 \
  19.174 +			pango pcre util-linux-blkid util-linux-mount util-linux-uuid \
  19.175 +			xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp \
  19.176 +			xorg-libXext xorg-libXrender xorg-libxcb xorg-pixman zlib"
  19.177 +			;;
  19.178 +		*-aisleriot)
  19.179 +			CAT="games|collection of over 80 card games"
  19.180 +			DEPENDS="gnome-games-common gmp guile"
  19.181 +			;;
  19.182 +		*-glchess)
  19.183 +			CAT="games|classic board game of chess"
  19.184 +			DEPENDS="gnome-games-common pygtk   mesa17"
  19.185 +			TAGS="chess"
  19.186 +			;;
  19.187 +		*-glines)
  19.188 +			CAT="games|Five or More"
  19.189 +			;;
  19.190 +		*-gnect)
  19.191 +			CAT="games|Four-in-a-Row"
  19.192 +			;;
  19.193 +		*-gnibbles)
  19.194 +			CAT="games|Nibbles"
  19.195 +			DEPENDS="gnome-games-common clutter clutter-gtk cogl json-glib \
  19.196 +			libdrm mesa17-libegl mesa17-libgbm mesa17-libwayland-egl wayland \
  19.197 +			xorg-libXcomposite xorg-libXdamage xorg-libXfixes xorg-libXrandr"
  19.198 +			;;
  19.199 +		*-gnobots2)
  19.200 +			CAT="games|Robots"
  19.201 +			;;
  19.202 +		*-sudoku)
  19.203 +			CAT="games|Sudoku"
  19.204 +			DEPENDS="gnome-games-common pygtk"
  19.205 +			;;
  19.206 +		*-gnomine)
  19.207 +			CAT="games|Mines"
  19.208 +			;;
  19.209 +		*-gnotravex)
  19.210 +			CAT="games|Tetravex"
  19.211 +			;;
  19.212 +		*-gnotski)
  19.213 +			CAT="games|Klotski"
  19.214 +			;;
  19.215 +		*-gtali)
  19.216 +			CAT="games|Tali"
  19.217 +			;;
  19.218 +		*-iagno)
  19.219 +			CAT="games|Reversi"
  19.220 +			;;
  19.221 +		*-lightsoff)
  19.222 +			CAT="games|Lights Off"
  19.223 +			DEPENDS="gnome-games-common   seed"
  19.224 +			;;
  19.225 +		*-mahjongg)
  19.226 +			CAT="games|Mahjongg"
  19.227 +			;;
  19.228 +		*-quadrapassel)
  19.229 +			CAT="games|Quadrapassel"
  19.230 +			DEPENDS="gnome-games-common clutter clutter-gtk cogl json-glib \
  19.231 +			libdrm mesa17-libegl mesa17-libgbm mesa17-libwayland-egl wayland \
  19.232 +			xorg-libXcomposite xorg-libXdamage xorg-libXfixes xorg-libXrandr"
  19.233 +			;;
  19.234 +		*-swell-foop)
  19.235 +			CAT="games|Swell Foop"
  19.236 +			DEPENDS="gnome-games-common   seed"
  19.237 +			;;
  19.238 +		*-help)
  19.239 +			CAT="gnome|help files"
  19.240 +			;;
  19.241 +		gnome-games)
  19.242 +			CAT="meta|full set"
  19.243 +			DEPENDS="$gg-aisleriot $gg-glchess $gg-glines $gg-gnect \
  19.244 +			$gg-gnibbles $gg-gnobots2 $gg-sudoku $gg-gnomine $gg-gnotravex \
  19.245 +			$gg-gnotski $gg-gtali $gg-iagno $gg-lightsoff $gg-mahjongg \
  19.246 +			$gg-quadrapassel $gg-swell-foop"
  19.247 +			;;
  19.248 +		*-dev)
  19.249 +			DEPENDS="GConf-dev atk-dev bzip2-dev cairo-dev fontconfig-dev \
  19.250 +			freetype-dev gdk-pixbuf-dev glib-dev gtk+-dev harfbuzz-dev \
  19.251 +			libcanberra-dev libcroco-dev libffi-dev libogg-dev libpng16-dev \
  19.252 +			librsvg-dev libtool libvorbis-dev libxml2-dev orbit2-dev pango-dev \
  19.253 +			pcre-dev util-linux-blkid-dev util-linux-mount-dev \
  19.254 +			util-linux-uuid-dev xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev \
  19.255 +			xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
  19.256 +			xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
  19.257 +			;;
  19.258  	esac
  19.259  }
    20.1 --- a/seed/receipt	Mon Dec 04 10:44:24 2017 +0100
    20.2 +++ b/seed/receipt	Tue Dec 05 17:49:11 2017 +0200
    20.3 @@ -1,53 +1,46 @@
    20.4  # SliTaz package receipt v2.
    20.5  
    20.6  PACKAGE="seed"
    20.7 -VERSION="3.2.0"
    20.8 +VERSION="3.8.1"
    20.9  CATEGORY="system-tools"
   20.10 -SHORT_DESC="Gnome JavaScript REPL/Interpreter."
   20.11 +SHORT_DESC="GObject JavaScriptCore bridge"
   20.12  MAINTAINER="pankso@slitaz.org"
   20.13  LICENSE="GPL2"
   20.14 +WEB_SITE="https://wiki.gnome.org/Projects/Seed"
   20.15 +
   20.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
   20.17 -WEB_SITE="http://www.gnome.org/"
   20.18  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
   20.19  
   20.20 -BUILD_DEPENDS="libffi-dev libwebkit-dev gobject-introspection-dev dbus-dev \
   20.21 -dbus-glib-dev readline-dev mpfr-dev gmp-dev libxslt-dev util-linux-uuid-dev \
   20.22 -cairo-dev gnome-js-common intltool gtk+-dev xorg-libXt-dev bash"
   20.23 +BUILD_DEPENDS="gettext libtool webkitgtk-dev intltool \
   20.24 +gobject-introspection-dev gnome-js-common readline-dev dbus-dev dbus-glib-dev \
   20.25 +mpfr-dev"
   20.26  SPLIT="seed-dev"
   20.27  
   20.28 -# Rules to configure and make the package.
   20.29 -compile_rules()
   20.30 -{
   20.31 +compile_rules() {
   20.32  	./configure \
   20.33  		--with-webkit=1.0 \
   20.34  		$CONFIGURE_ARGS &&
   20.35  	make && make install
   20.36  }
   20.37  
   20.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
   20.39 -genpkg_rules()
   20.40 -{
   20.41 +genpkg_rules() {
   20.42  	case $PACKAGE in
   20.43 -	seed)
   20.44 -		DEPENDS="libffi libwebkit gobject-introspection dbus dbus-glib \
   20.45 -			readline mpfr gmp libxslt util-linux-uuid cairo \
   20.46 -			gnome-js-common"
   20.47 -		mkdir -p $fs/usr/lib/seed $fs/usr/share
   20.48 -		cp -a $install/usr/bin $fs/usr
   20.49 -		cp -a $install/usr/lib/*.so* $fs/usr/lib
   20.50 -		cp -a $install/usr/lib/seed/*.so* $fs/usr/lib/seed
   20.51 -		cp -a $install/usr/share/seed $fs/usr/share
   20.52 -		;;
   20.53 -	seed-dev)
   20.54 -		DEPENDS="libffi-dev libwebkit-dev gobject-introspection-dev \
   20.55 -			dbus-dev dbus-glib-dev readline-dev mpfr-dev gmp-dev \
   20.56 -			libxslt-dev util-linux-uuid-dev cairo-dev \
   20.57 -			gnome-js-common pkg-config"
   20.58 -		mkdir -p $fs/usr/lib/seed
   20.59 -		cp -a $install/usr/include $fs/usr
   20.60 -		cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   20.61 -		cp -a $install/usr/lib/*.*a $fs/usr/lib
   20.62 -		cp -a $install/usr/lib/seed/*.*a $fs/usr/lib/seed
   20.63 -		;;
   20.64 +		seed)
   20.65 +			copy @std
   20.66 +			DEPENDS="atk cairo dbus dbus-glib fontconfig freetype gdk-pixbuf \
   20.67 +			glib gmp gobject-introspection gtk+ libffi libsqlite3 webkitgtk \
   20.68 +			libxml2 mpfr ncurses pango readline"
   20.69 +			;;
   20.70 +		seed-dev)
   20.71 +			copy @dev
   20.72 +			DEPENDS="seed atk-dev bzip2-dev cairo-dev dbus-dev dbus-glib-dev \
   20.73 +			fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev gmp-dev \
   20.74 +			gobject-introspection-dev gtk+-dev harfbuzz-dev icu-dev libffi-dev \
   20.75 +			libpng16-dev webkitgtk-dev libxml2-dev mpfr-dev pango-dev pcre-dev \
   20.76 +			readline-dev sqlite3-dev util-linux-blkid-dev util-linux-mount-dev \
   20.77 +			util-linux-uuid-dev xorg-libX11-dev xorg-libXau-dev \
   20.78 +			xorg-libXdmcp-dev xorg-libXext-dev xorg-libXrender-dev \
   20.79 +			xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
   20.80 +			;;
   20.81  	esac
   20.82  }