# HG changeset patch # User Aleksej Bobylev # Date 1528585000 -10800 # Node ID 618256f7a33235145ace473bc4f61f2acbdfde97 # Parent 96d29914cbad68d583746c1ddf75966ed2859889 Up gnome-games, and add/update all the required dependencies diff -r 96d29914cbad -r 618256f7a332 cookutils/receipt --- a/cookutils/receipt Sat Jun 09 11:23:42 2018 +0000 +++ b/cookutils/receipt Sun Jun 10 01:56:40 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="cookutils" -VERSION="1071" +VERSION="1072" CATEGORY="base-system" SHORT_DESC="SliTaz packages builder new generation" MAINTAINER="pankso@slitaz.org" diff -r 96d29914cbad -r 618256f7a332 gif2apng/receipt --- a/gif2apng/receipt Sat Jun 09 11:23:42 2018 +0000 +++ b/gif2apng/receipt Sun Jun 10 01:56:40 2018 +0300 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="gif2apng" VERSION="1.9" @@ -11,20 +11,14 @@ TARBALL="$PACKAGE-$VERSION-src.zip" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -DEPENDS="zlib" BUILD_DEPENDS="zlib-dev" -# Rules to configure and make the package. -compile_rules() -{ - make - - mkdir -p $install/usr/bin - cp -a $src/gif2apng $install/usr/bin +compile_rules() { + make && + install -Dm755 gif2apng $install/usr/bin/gif2apng } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - copy gif2apng +genpkg_rules() { + copy @std + DEPENDS="zlib" } diff -r 96d29914cbad -r 618256f7a332 gmime3/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gmime3/receipt Sun Jun 10 01:56:40 2018 +0300 @@ -0,0 +1,41 @@ +# SliTaz package receipt v2. + +PACKAGE="gmime3" +VERSION="3.2.0" +CATEGORY="development" +SHORT_DESC="A C/C++ MIME creation and parser library with support for S/MIME, \ +PGP, and Unix mbox spools" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="LGPL2.1" +WEB_SITE="https://github.com/jstedfast/gmime" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/gmime3.html" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/jstedfast/gmime/archive/$VERSION.tar.gz" + +BUILD_DEPENDS="libtool gtk-doc glib-dev gpgme-dev libidn-dev \ +gobject-introspection-dev vala" +SPLIT="gmime3-dev" + +compile_rules() { + ./autogen.sh \ + --disable-static \ + $CONFIGURE_ARGS && + fix libtool && + make && + make install +} + +genpkg_rules() { + case $PACKAGE in + gmime3) + copy @std + DEPENDS="glib gpgme libidn zlib" + ;; + *-dev) + copy @dev + DEPENDS="gmime3 glib-dev gpgme-dev libassuan-dev libgpg-error-dev \ + libidn-dev zlib-dev" + ;; + esac +} diff -r 96d29914cbad -r 618256f7a332 gnome-games/description.gnome-games-aisleriot.txt --- a/gnome-games/description.gnome-games-aisleriot.txt Sat Jun 09 11:23:42 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -AisleRiot (also known as Solitaire or sol) is a collection of card games which -are easy to play with the aid of a mouse. The rules for the games have been -coded for your pleasure in the GNOME scripting language (Scheme). diff -r 96d29914cbad -r 618256f7a332 gnome-games/description.gnome-games-glchess.txt --- a/gnome-games/description.gnome-games-glchess.txt Sat Jun 09 11:23:42 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -glChess is a game for playing the classic board game of chess, in which two -players simulate a battle by capturing the opponents pieces and ultimately -the king. It can be played in 2D or 3D mode, full screen or in a window. diff -r 96d29914cbad -r 618256f7a332 gnome-games/description.gnome-games-glines.txt --- a/gnome-games/description.gnome-games-glines.txt Sat Jun 09 11:23:42 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ -To play Five or More one must align colored pieces as the board gets filled -with randomly placed pieces. When five or more pieces of the same color get -lined up, they disappear. The game ends when the board gets filled up all the -way. diff -r 96d29914cbad -r 618256f7a332 gnome-games/description.gnome-games-gnect.txt --- a/gnome-games/description.gnome-games-gnect.txt Sat Jun 09 11:23:42 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -The object of Four-in-a-Row is to place four pieces in a vertical, horizontal, -or diagonal row while the opponent tries to block and make his/her own row of -four. Four-in-a-Row can be played against another human or the computer. diff -r 96d29914cbad -r 618256f7a332 gnome-games/description.gnome-games-gnibbles.txt --- a/gnome-games/description.gnome-games-gnibbles.txt Sat Jun 09 11:23:42 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -Nibbles is a worm game for GNOME. The player controls a 2D worm while trying to -get food. Getting food gives points, but hitting anything causes a loss of -points. When all points are lost, the player loses. diff -r 96d29914cbad -r 618256f7a332 gnome-games/description.gnome-games-gnobots2.txt --- a/gnome-games/description.gnome-games-gnobots2.txt Sat Jun 09 11:23:42 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -Robots is a graphical version of the original text based robots game, which can -be found on a number of UNIX systems. The player must outwit the robots chasing -him/her by getting them to run into each other. diff -r 96d29914cbad -r 618256f7a332 gnome-games/description.gnome-games-gnomine.txt --- a/gnome-games/description.gnome-games-gnomine.txt Sat Jun 09 11:23:42 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -Mines is GNOME's take on the popular logic puzzle minesweeper, which includes -avoiding mines while receiving clues for the location of the mines. diff -r 96d29914cbad -r 618256f7a332 gnome-games/description.gnome-games-gnotravex.txt --- a/gnome-games/description.gnome-games-gnotravex.txt Sat Jun 09 11:23:42 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -GNOME Tetravex is a simple puzzle game which scope is to move the various -pieces from one side of the board to the other side, so that the same numbers -depicted on the pieces are touching each other. diff -r 96d29914cbad -r 618256f7a332 gnome-games/description.gnome-games-gnotski.txt --- a/gnome-games/description.gnome-games-gnotski.txt Sat Jun 09 11:23:42 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -Klotski is a puzzle game of which the objective is to get the patterned block -to the marker, which is done by moving the blocks in its way. diff -r 96d29914cbad -r 618256f7a332 gnome-games/description.gnome-games-gtali.txt --- a/gnome-games/description.gnome-games-gtali.txt Sat Jun 09 11:23:42 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ -Tali is like Yahtzee for GNOME or like poker with dice. The player rolls dice -to try to make the best possible combinations, like 4 of a kind, small straight, -and full house. The player is allowed 3 rolls per turn and can hold certain -dice with each roll. diff -r 96d29914cbad -r 618256f7a332 gnome-games/description.gnome-games-iagno.txt --- a/gnome-games/description.gnome-games-iagno.txt Sat Jun 09 11:23:42 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,6 +0,0 @@ -Iagno is the two player strategy game of Othello, which is also known as -Reversi and is similar to Go. The pieces are tiles that are black on one side -and white on the other and the objective is for the player to flip his/her -opponent's tiles to his/her color, while keeping the opponent from doing the -same. Once the board is filled with tiles, the winner is the player with the -most of his/her color tiles on the board. diff -r 96d29914cbad -r 618256f7a332 gnome-games/description.gnome-games-lightsoff.txt --- a/gnome-games/description.gnome-games-lightsoff.txt Sat Jun 09 11:23:42 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -Lights Off is a puzzle game, where the objective is to turn off all of the -tiles on the board. Each click toggles the state of the clicked tile and its -non-diagonal neighbors. diff -r 96d29914cbad -r 618256f7a332 gnome-games/description.gnome-games-mahjongg.txt --- a/gnome-games/description.gnome-games-mahjongg.txt Sat Jun 09 11:23:42 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -Mahjongg is a solitaire version of the classic Eastern tile game. It involves -clearing as much of the board as possible by matching corresponding tiles and -taking them out of play. diff -r 96d29914cbad -r 618256f7a332 gnome-games/description.gnome-games-quadrapassel.txt --- a/gnome-games/description.gnome-games-quadrapassel.txt Sat Jun 09 11:23:42 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ -Quadrapassel is GNOME's version of Tetris, the classic game of interlocking -four-piece blocks. As they fall from the top, the player must orient them to -fit the other blocks at the bottom so that they form a complete horizontal -line, in which case that line disappears and the player gains points. diff -r 96d29914cbad -r 618256f7a332 gnome-games/description.gnome-games-sudoku.txt --- a/gnome-games/description.gnome-games-sudoku.txt Sat Jun 09 11:23:42 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -Sudoku is an application for playing the popular sudoku logic puzzle game, in -which one must fill a 9 by 9 square with the correct digits. diff -r 96d29914cbad -r 618256f7a332 gnome-games/description.gnome-games-swell-foop.txt --- a/gnome-games/description.gnome-games-swell-foop.txt Sat Jun 09 11:23:42 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ -Swell Foop is a puzzle game, of which the objective is to clear the window -of as many pieces as possible by clicking on groups of the same colored pieces. -That group will vanish and the pieces on top will fall until there are none -left or no more color groups. diff -r 96d29914cbad -r 618256f7a332 gnome-games/receipt --- a/gnome-games/receipt Sat Jun 09 11:23:42 2018 +0000 +++ b/gnome-games/receipt Sun Jun 10 01:56:40 2018 +0300 @@ -1,185 +1,36 @@ # SliTaz package receipt v2. PACKAGE="gnome-games" -VERSION="2.32.1" -CATEGORY="meta" -SHORT_DESC="Simple games from GNOME" +VERSION="3.29.1" +CATEGORY="games" +SHORT_DESC="Simple game launcher for GNOME" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" WEB_SITE="https://wiki.gnome.org/Apps/Games" -TARBALL="$PACKAGE-$VERSION.tar.bz2" +TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" -BUILD_DEPENDS="glib-dev gtk+-dev GConf-dev librsvg-dev clutter-dev \ -clutter-gtk-dev pygtk-dev libcanberra-dev intltool guile-dev \ -gnome-doc-utils xorg-libSM-dev xorg-libICE-dev gobject-introspection-dev" - -gg='gnome-games' -SPLIT="\ -$gg-aisleriot $gg-glchess $gg-glines $gg-gnect $gg-gnibbles \ -$gg-gnobots2 $gg-sudoku $gg-gnomine $gg-gnotravex $gg-gnotski \ -$gg-gtali $gg-iagno $gg-lightsoff $gg-mahjongg $gg-quadrapassel \ -$gg-swell-foop $gg-common $gg-help $gg $gg-dev" +BUILD_DEPENDS="intltool vala glib-dev grilo-dev gtk+3-dev libmanette-dev \ +librsvg-dev libsoup-dev libxml2-dev retro-gtk-dev sqlite3-dev tracker-dev" +SPLIT="gnome-games-dev" compile_rules() { - ./configure \ - --bindir=/usr/games \ - --disable-scrollkeeper \ - --enable-introspection \ - --enable-sound \ - $CONFIGURE_ARGS && + ./configure $CONFIGURE_ARGS && fix libtool && make && - make install || return 1 - - chmod a+w $install/var/games/*.scores + make install } genpkg_rules() { - COOKOPTS="!menus" - game=${PACKAGE/gnome-games-/} - case $game in - aisleriot) bin='sol';; - glchess) bin='glchess gnome-gnuchess';; - sudoku) bin='gnome-sudoku';; - *) bin="$game";; - esac - case $game in - glchess) py='site-packages/glchess/';; - sudoku) py='site-packages/gnome_sudoku/';; - *) py='';; - esac - case $game in - aisleriot) desktop='freecell.desktop sol.desktop';; - sudoku) desktop='gnome-sudoku.desktop';; - *) desktop="$game.desktop";; - esac - case $game in - aisleriot) icon='gnome-freecell.png gnome-aisleriot.png';; - gnotski) icon='gnome-klotski.png';; - gnomine) icon='gnome-mines.png';; - gnobots2) icon='gnome-robots.png';; - gtali) icon='gnome-tali.png';; - gnotravex) icon='gnome-tetravex.png';; - *) icon="gnome-$game.png";; - esac - case $game in - glchess) share='share/glchess/';; - sudoku) share='share/gnome-sudoku/';; - *) share="share/gnome-games/$game/";; - esac - case $game in - glines|gnibbles|gnobots2|gnomine|gnotravex|gnotski|gtali|mahjongg|quadrapassel) - scores="var/games/$game*.scores";; - *) scores='';; - esac - case $game in - sudoku) schemas='gnome-sudoku.schemas';; - *) schemas="$game.schemas";; - esac - - case $game in - gnome-games) ;; - dev) copy @dev;; - help) copy gnome/help/ omf/;; - common) copy sounds/ gnome-games-common/ \ - share/gnome-games/icons/ share/gnome-games/pixmaps/ \ - lib/gnome-games/ar-cards-renderer lib/gnome-games/*.so* ;; - *) copy $bin $py $desktop $icon ${icon//.png/.svg} $share $scores \ - $schemas;; - esac - - DEPENDS="gnome-games-common" case $PACKAGE in - *-common) - CAT="games|common files" - DEPENDS="GConf atk bzlib cairo fontconfig freetype gdk-pixbuf glib \ - gtk+ libcanberra libcanberra-gtk2 libcroco libffi libharfbuzz \ - libltdl liblzma libogg libpng16 librsvg libvorbis libxml2 orbit2 \ - pango pcre util-linux-blkid util-linux-mount util-linux-uuid \ - xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp \ - xorg-libXext xorg-libXrender xorg-libxcb xorg-pixman zlib" - ;; - *-aisleriot) - CAT="games|collection of over 80 card games" - DEPENDS="gnome-games-common gmp guile" - ;; - *-glchess) - CAT="games|classic board game of chess" - DEPENDS="gnome-games-common pygtk mesa" - TAGS="chess" - ;; - *-glines) - CAT="games|Five or More" - ;; - *-gnect) - CAT="games|Four-in-a-Row" - ;; - *-gnibbles) - CAT="games|Nibbles" - DEPENDS="gnome-games-common clutter clutter-gtk cogl json-glib \ - libdrm mesa-libegl mesa-libgbm mesa-libwayland-egl wayland \ - xorg-libXcomposite xorg-libXdamage xorg-libXfixes xorg-libXrandr" - ;; - *-gnobots2) - CAT="games|Robots" - ;; - *-sudoku) - CAT="games|Sudoku" - DEPENDS="gnome-games-common pygtk" - ;; - *-gnomine) - CAT="games|Mines" - ;; - *-gnotravex) - CAT="games|Tetravex" - ;; - *-gnotski) - CAT="games|Klotski" - ;; - *-gtali) - CAT="games|Tali" - ;; - *-iagno) - CAT="games|Reversi" - ;; - *-lightsoff) - CAT="games|Lights Off" - DEPENDS="gnome-games-common seed" - ;; - *-mahjongg) - CAT="games|Mahjongg" - ;; - *-quadrapassel) - CAT="games|Quadrapassel" - DEPENDS="gnome-games-common clutter clutter-gtk cogl json-glib \ - libdrm mesa-libegl mesa-libgbm mesa-libwayland-egl wayland \ - xorg-libXcomposite xorg-libXdamage xorg-libXfixes xorg-libXrandr" - ;; - *-swell-foop) - CAT="games|Swell Foop" - DEPENDS="gnome-games-common seed" - ;; - *-help) - CAT="gnome|help files" - ;; gnome-games) - CAT="meta|full set" - DEPENDS="$gg-aisleriot $gg-glchess $gg-glines $gg-gnect \ - $gg-gnibbles $gg-gnobots2 $gg-sudoku $gg-gnomine $gg-gnotravex \ - $gg-gnotski $gg-gtali $gg-iagno $gg-lightsoff $gg-mahjongg \ - $gg-quadrapassel $gg-swell-foop" + copy @std + DEPENDS="cairo gdk-pixbuf glib grilo gtk+3 libmanette librsvg \ + libsoup libsqlite3 libxml2 retro-gtk tracker" ;; *-dev) - DEPENDS="GConf-dev atk-dev bzip2-dev cairo-dev fontconfig-dev \ - freetype-dev gdk-pixbuf-dev glib-dev gtk+-dev harfbuzz-dev \ - libcanberra-dev libcroco-dev libffi-dev libogg-dev libpng16-dev \ - librsvg-dev libtool libvorbis-dev libxml2-dev orbit2-dev pango-dev \ - pcre-dev util-linux-blkid-dev util-linux-mount-dev \ - util-linux-uuid-dev xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev \ - xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \ - xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev" + copy @dev ;; esac } diff -r 96d29914cbad -r 618256f7a332 grilo/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/grilo/receipt Sun Jun 10 01:56:40 2018 +0300 @@ -0,0 +1,37 @@ +# SliTaz package receipt v2. + +PACKAGE="grilo" +VERSION="0.3.4" +CATEGORY="gnome" +SHORT_DESC="Framework that provides access to various sources of multimedia \ +content" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="LGPL2.1" +WEB_SITE="https://wiki.gnome.org/Projects/Grilo" + +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" + +BUILD_DEPENDS="glib-dev libxml2-dev gobject-introspection-dev vala intltool \ +gtk+3-dev liboauth-dev libsoup-dev totem-pl-parser-dev" +SPLIT="grilo-dev" + +compile_rules() { + ./configure $CONFIGURE_ARGS && + fix libtool && + make && + make install +} + +genpkg_rules() { + case $PACKAGE in + grilo) + copy @std + DEPENDS="glib gtk+3 liboauth libsoup totem-pl-parser" + ;; + *-dev) + copy @dev + DEPENDS="grilo glib-dev libxml2-dev" + ;; + esac +} diff -r 96d29914cbad -r 618256f7a332 libmanette/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libmanette/receipt Sun Jun 10 01:56:40 2018 +0300 @@ -0,0 +1,35 @@ +# SliTaz package receipt v2. + +PACKAGE="libmanette" +VERSION="0.2.0" +CATEGORY="libs" +SHORT_DESC="Simple GObject game controller library" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="LGPL2.1" +WEB_SITE="https://gitlab.gnome.org/aplazas/libmanette" + +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" + +BUILD_DEPENDS="meson ninja glib-dev libgudev-dev libevdev-dev \ +gobject-introspection-dev vala" +SPLIT="libmanette-dev" + +compile_rules() { + meson-wrapper build && + ninja -C build && + DESTDIR=$install ninja -C build install +} + +genpkg_rules() { + case $PACKAGE in + libmanette) + copy @std + DEPENDS="glib libevdev libgudev" + ;; + *-dev) + copy @dev + DEPENDS="libmanette glib-dev" + ;; + esac +} diff -r 96d29914cbad -r 618256f7a332 liboauth/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/liboauth/receipt Sun Jun 10 01:56:40 2018 +0300 @@ -0,0 +1,41 @@ +# SliTaz package receipt v2. + +PACKAGE="liboauth" +VERSION="1.0.3" +CATEGORY="security" +SHORT_DESC="POSIX-C functions implementing the OAuth Core RFC 5849 standard" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="https://github.com/x42/liboauth" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/x42/liboauth/archive/v$VERSION.tar.gz" + +BUILD_DEPENDS="automake libtool curl-dev nss-dev" +SPLIT="liboauth-dev" + +compile_rules() { + mkdir m4 + autoreconf -fvi && + + ./configure \ + --disable-static \ + --enable-nss \ + $CONFIGURE_ARGS && + fix libtool && + make && + make install +} + +genpkg_rules() { + case $PACKAGE in + liboauth) + copy @std + DEPENDS="libcurl nss" + ;; + *-dev) + copy @dev + DEPENDS="liboauth curl-dev nss-dev" + ;; + esac +} diff -r 96d29914cbad -r 618256f7a332 libquvi-scripts/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libquvi-scripts/receipt Sun Jun 10 01:56:40 2018 +0300 @@ -0,0 +1,35 @@ +# SliTaz package receipt v2. + +PACKAGE="libquvi-scripts" +VERSION="0.9.20131130" +CATEGORY="network" +SHORT_DESC="Scripts for parsing video download links" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="AGPL3" +WEB_SITE="http://quvi.sourceforge.net/" + +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="$SF_MIRROR/quvi/$TARBALL" + +SPLIT="libquvi-scripts-dev" + +compile_rules() { + ./configure \ + --with-nsfw \ + --with-geoblocked \ + $CONFIGURE_ARGS && + make && + make install +} + +genpkg_rules() { + case $PACKAGE in + libquvi-scripts) + copy @std + DEPENDS="luabitop luaexpat luajson" + ;; + *-dev) + copy @dev + ;; + esac +} diff -r 96d29914cbad -r 618256f7a332 libquvi/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libquvi/receipt Sun Jun 10 01:56:40 2018 +0300 @@ -0,0 +1,36 @@ +# SliTaz package receipt v2. + +PACKAGE="libquvi" +VERSION="0.9.4" +CATEGORY="network" +SHORT_DESC="Library for parsing video download links" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="AGPL3" +WEB_SITE="http://quvi.sourceforge.net/" + +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="$SF_MIRROR/quvi/$TARBALL" + +BUILD_DEPENDS="automake gettext libgcrypt-dev libtool lua5.1-dev libproxy-dev \ +curl-dev glib-dev libquvi-scripts-dev" +SPLIT="libquvi-dev" + +compile_rules() { + autoreconf -fvi && + + ./configure $CONFIGURE_ARGS && + make && + make install +} + +genpkg_rules() { + case $PACKAGE in + libquvi) + copy @std + DEPENDS="glib libcurl libgcrypt libgpg-error libproxy lua5.1" + ;; + *-dev) + copy @dev + ;; + esac +} diff -r 96d29914cbad -r 618256f7a332 lua5.1/receipt --- a/lua5.1/receipt Sat Jun 09 11:23:42 2018 +0000 +++ b/lua5.1/receipt Sun Jun 10 01:56:40 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="lua5.1" -VERSION="5.1.4" +VERSION="5.1.5" CATEGORY="development" SHORT_DESC="Powerful, fast, light-weight, embeddable scripting language" MAINTAINER="pankso@slitaz.org" @@ -15,38 +15,26 @@ SPLIT="lua5.1-dev" compile_rules() { - sed -i "s#prefix= /usr/local#prefix= /usr#" etc/lua.pc - sed -i "s#${prefix}/lib#${prefix}/lib/lua/5.1#" etc/lua.pc - sed -i "s#/include#/include/lua/5.1#g" etc/lua.pc - sed -i "s#/usr/local/#/usr/#" src/luaconf.h - sed -i "s#share/lua/5.1/#lib/lua/5.1/#" src/luaconf.h - case $ARCH in - x86_64) Arch='nocona';; + x86_64) Arch='nocona'; export CFLAGS="$CFLAGS -fPIC";; *) Arch="$ARCH";; esac - sed -i s"/-O2/-Os -march=$Arch/" src/Makefile + sed -i s"/-O2/-Os -march=$Arch/" src/Makefile - make linux && - make install \ - INSTALL_TOP=$DESTDIR/usr \ - INSTALL_MAN=$DESTDIR/usr/share/man/man1 + make MYCFLAGS="$CFLAGS" MYLDFLAGS="$LDFLAGS" linux && + make install || return 1 + + install -Dm644 $src/etc/lua.pc $install/usr/lib/pkgconfig/lua5.1.pc } genpkg_rules() { case $PACKAGE in lua5.1) - mkdir -p $fs/usr/bin $fs/usr/lib/lua/5.1 - cp -a $install/usr/bin/lua $fs/usr/bin/lua5.1 - cp -a $install/usr/bin/luac $fs/usr/bin/luac5.1 - DEPENDS="readline ncurses" + copy @std + DEPENDS="readline" ;; *-dev) - mkdir -p $fs/usr/lib/pkgconfig $fs/usr/lib/lua/5.1 - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/lua/5.1/liblua.a $fs/usr/lib/lua/5.1 - ln -s liblua.a $fs/usr/lib/lua/5.1/liblua5.1.a - cp -a $src/etc/lua.pc $fs/usr/lib/pkgconfig/lua5.1.pc + copy @dev ;; esac } diff -r 96d29914cbad -r 618256f7a332 lua5.1/stuff/patches/lua5.1-paths.patch --- a/lua5.1/stuff/patches/lua5.1-paths.patch Sat Jun 09 11:23:42 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ ---- Makefile -+++ Makefile -@@ -9,15 +9,15 @@ - - # Where to install. The installation starts in the src and doc directories, - # so take care if INSTALL_TOP is not an absolute path. --INSTALL_TOP= /usr/local -+INSTALL_TOP= /usr - INSTALL_BIN= $(INSTALL_TOP)/bin --INSTALL_INC= $(INSTALL_TOP)/include --INSTALL_LIB= $(INSTALL_TOP)/lib -+INSTALL_INC= $(INSTALL_TOP)/include/lua/$V -+INSTALL_LIB= $(INSTALL_TOP)/lib/lua/$V - INSTALL_MAN= $(INSTALL_TOP)/man/man1 - # - # You probably want to make INSTALL_LMOD and INSTALL_CMOD consistent with - # LUA_ROOT, LUA_LDIR, and LUA_CDIR in luaconf.h (and also with etc/lua.pc). --INSTALL_LMOD= $(INSTALL_TOP)/share/lua/$V -+INSTALL_LMOD= $(INSTALL_TOP)/lib/lua/$V - INSTALL_CMOD= $(INSTALL_TOP)/lib/lua/$V - - # How to install. If your install program does not support "-p", then you diff -r 96d29914cbad -r 618256f7a332 lua5.1/stuff/patches/lua5.1.5.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lua5.1/stuff/patches/lua5.1.5.patch Sun Jun 10 01:56:40 2018 +0300 @@ -0,0 +1,143 @@ +--- a/Makefile ++++ b/Makefile +@@ -9,11 +9,11 @@ + + # Where to install. The installation starts in the src and doc directories, + # so take care if INSTALL_TOP is not an absolute path. +-INSTALL_TOP= /usr/local ++INSTALL_TOP= $(DESTDIR)/usr + INSTALL_BIN= $(INSTALL_TOP)/bin +-INSTALL_INC= $(INSTALL_TOP)/include ++INSTALL_INC= $(INSTALL_TOP)/include/lua/$V + INSTALL_LIB= $(INSTALL_TOP)/lib +-INSTALL_MAN= $(INSTALL_TOP)/man/man1 ++INSTALL_MAN= $(INSTALL_TOP)/share/man/man1 + # + # You probably want to make INSTALL_LMOD and INSTALL_CMOD consistent with + # LUA_ROOT, LUA_LDIR, and LUA_CDIR in luaconf.h (and also with etc/lua.pc). +@@ -24,7 +24,7 @@ + # may have to run ranlib on the installed liblua.a (do "make ranlib"). + INSTALL= install -p + INSTALL_EXEC= $(INSTALL) -m 0755 +-INSTALL_DATA= $(INSTALL) -m 0644 ++INSTALL_DATA= cp -d + # + # If you don't have install you can use cp instead. + # INSTALL= cp -p +@@ -41,9 +41,9 @@ + PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris + + # What to install. +-TO_BIN= lua luac ++TO_BIN= lua$V luac$V + TO_INC= lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp +-TO_LIB= liblua.a ++TO_LIB= liblua$V.a liblua$V.so liblua$V.so.$V liblua$V.so.$R + TO_MAN= lua.1 luac.1 + + # Lua version and release. +@@ -53,7 +53,7 @@ + all: $(PLAT) + + $(PLATS) clean: +- cd src && $(MAKE) $@ ++ cd src && $(MAKE) $@ V=$(V) R=$(R) + + test: dummy + src/lua test/hello.lua +Only in source/: lua5.1-5.1.5/done.lua5.1.5.patch +--- a/etc/lua.pc ++++ b/etc/lua.pc +@@ -8,24 +8,24 @@ + R= 5.1.5 + + # grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/' +-prefix= /usr/local ++prefix= /usr + INSTALL_BIN= ${prefix}/bin +-INSTALL_INC= ${prefix}/include +-INSTALL_LIB= ${prefix}/lib ++INSTALL_INC= ${prefix}/include/lua/${V} ++INSTALL_LIB= ${prefix}/lib/lua/${V} + INSTALL_MAN= ${prefix}/man/man1 + INSTALL_LMOD= ${prefix}/share/lua/${V} + INSTALL_CMOD= ${prefix}/lib/lua/${V} + + # canonical vars + exec_prefix=${prefix} +-libdir=${exec_prefix}/lib +-includedir=${prefix}/include ++libdir=${exec_prefix}/lib/lua/${V} ++includedir=${prefix}/include/lua/${V} + + Name: Lua + Description: An Extensible Extension Language + Version: ${R} + Requires: +-Libs: -L${libdir} -llua -lm ++Libs: -L${libdir} -llua${V} -lm + Cflags: -I${includedir} + + # (end of lua.pc) +--- a/src/Makefile ++++ b/src/Makefile +@@ -8,7 +8,8 @@ + PLAT= none + + CC= gcc +-CFLAGS= -O2 -Wall $(MYCFLAGS) ++CFLAGS ?= -O2 -Wall ++CFLAGS += $(MYCFLAGS) + AR= ar rcu + RANLIB= ranlib + RM= rm -f +@@ -22,21 +23,22 @@ + + PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris + +-LUA_A= liblua.a ++LUA_A= liblua$(V).a ++LUA_SO= liblua$(V).so + CORE_O= lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o \ + lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o \ + lundump.o lvm.o lzio.o + LIB_O= lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o loslib.o ltablib.o \ + lstrlib.o loadlib.o linit.o + +-LUA_T= lua ++LUA_T= lua$(V) + LUA_O= lua.o + +-LUAC_T= luac ++LUAC_T= luac$(V) + LUAC_O= luac.o print.o + + ALL_O= $(CORE_O) $(LIB_O) $(LUA_O) $(LUAC_O) +-ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) ++ALL_T= $(LUA_A) $(LUA_SO) $(LUA_T) $(LUAC_T) + ALL_A= $(LUA_A) + + default: $(PLAT) +@@ -50,6 +52,11 @@ + $(LUA_A): $(CORE_O) $(LIB_O) + $(AR) $@ $(CORE_O) $(LIB_O) # DLL needs all object files + $(RANLIB) $@ ++ ++$(LUA_SO): $(CORE_O) $(LIB_O) ++ $(CC) -shared -ldl -Wl,-soname,$(LUA_SO).$(V) -o $@.$(R) $? -lm $(MYLDFLAGS) ++ ln -sf $(LUA_SO).$(R) $(LUA_SO).$(V) ++ ln -sf $(LUA_SO).$(R) $(LUA_SO) + + $(LUA_T): $(LUA_O) $(LUA_A) + $(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) $(LIBS) +--- a/src/luaconf.h ++++ b/src/luaconf.h +@@ -94,7 +94,7 @@ + ".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll" + + #else +-#define LUA_ROOT "/usr/local/" ++#define LUA_ROOT "/usr/" + #define LUA_LDIR LUA_ROOT "share/lua/5.1/" + #define LUA_CDIR LUA_ROOT "lib/lua/5.1/" + #define LUA_PATH_DEFAULT \ diff -r 96d29914cbad -r 618256f7a332 lua5.1/stuff/patches/series --- a/lua5.1/stuff/patches/series Sat Jun 09 11:23:42 2018 +0000 +++ b/lua5.1/stuff/patches/series Sun Jun 10 01:56:40 2018 +0300 @@ -1,1 +1,1 @@ --p0|lua5.1-paths.patch +lua5.1.5.patch diff -r 96d29914cbad -r 618256f7a332 luabitop/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/luabitop/receipt Sun Jun 10 01:56:40 2018 +0300 @@ -0,0 +1,26 @@ +# SliTaz package receipt v2. + +PACKAGE="luabitop" +VERSION="1.0.2" +CATEGORY="system-tools" +SHORT_DESC="Bitwise operations on numbers" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="https://bitop.luajit.org/" + +TARBALL="LuaBitOp-$VERSION.tar.gz" +WGET_URL="https://bitop.luajit.org/download/$TARBALL" + +BUILD_DEPENDS="lua5.1-dev" + +compile_rules() { + make \ + INCLUDES=' -I/usr/include/lua/5.1' \ + LUA='lua5.1' && + install -Dm755 bit.so "$install/usr/lib/lua/5.1/bit.so" +} + +genpkg_rules() { + copy @std + DEPENDS="lua5.1" +} diff -r 96d29914cbad -r 618256f7a332 luaexpat/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/luaexpat/receipt Sun Jun 10 01:56:40 2018 +0300 @@ -0,0 +1,24 @@ +# SliTaz package receipt v2. + +PACKAGE="luaexpat" +VERSION="1.3.0" +CATEGORY="system-tools" +SHORT_DESC="SAX XML parser based on the Expat library" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="http://matthewwild.co.uk/projects/luaexpat/" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="http://matthewwild.co.uk/projects/luaexpat/$TARBALL" + +BUILD_DEPENDS="lua5.1-dev expat-dev" + +compile_rules() { + make LUA_V=5.1 LUA_INC=' -I/usr/include/lua/5.1' && + make LUA_V=5.1 DESTDIR="$install" install +} + +genpkg_rules() { + copy @std + DEPENDS="lua5.1 expat" +} diff -r 96d29914cbad -r 618256f7a332 luajson/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/luajson/receipt Sun Jun 10 01:56:40 2018 +0300 @@ -0,0 +1,28 @@ +# SliTaz package receipt v2. + +PACKAGE="luajson" +VERSION="1.3.4" +CATEGORY="system-tools" +SHORT_DESC="JSON parser/encoder for Lua" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="https://github.com/harningt/luajson" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/harningt/luajson/archive/$VERSION.tar.gz" + +compile_rules() { + make \ + PREFIX=/usr \ + DESTDIR=$install \ + INSTALL_LMOD='$(INSTALL_TOP)/share/lua/5.1' \ + INSTALL_CMOD='$(INSTALL_TOP)/lib/lua/5.1' \ + install || return 1 + + chmod -R g-w $install # 664 -> 644 +} + +genpkg_rules() { + copy @std + DEPENDS="lua5.1 lualpeg" +} diff -r 96d29914cbad -r 618256f7a332 lualpeg/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lualpeg/receipt Sun Jun 10 01:56:40 2018 +0300 @@ -0,0 +1,28 @@ +# SliTaz package receipt v2. + +PACKAGE="lualpeg" +VERSION="1.0.1" +CATEGORY="system-tools" +SHORT_DESC="Pattern-matching library for Lua" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="http://www.inf.puc-rio.br/~roberto/lpeg" + +TARBALL="lpeg-$VERSION.tar.gz" +WGET_URL="http://www.inf.puc-rio.br/~roberto/lpeg/$TARBALL" + +BUILD_DEPENDS="lua5.1-dev" + +compile_rules() { + sed -i 's|^CFLAGS =|CFLAGS +=|; s|^COPT =|# COPT =|' makefile + + make LUADIR=/usr/include/lua/5.1 || return 1 + + install -Dm755 lpeg.so $install/usr/lib/lua/5.1/lpeg.so + install -Dm644 re.lua $install/usr/share/lua/5.1/re.lua +} + +genpkg_rules() { + copy @std + DEPENDS="lua5.1" +} diff -r 96d29914cbad -r 618256f7a332 retro-gtk/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/retro-gtk/receipt Sun Jun 10 01:56:40 2018 +0300 @@ -0,0 +1,35 @@ +# SliTaz package receipt v2. + +PACKAGE="retro-gtk" +VERSION="0.14.0" +CATEGORY="gnome" +SHORT_DESC="Toolkit to write GTK+3 based Libretro frontends" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPL3" +WEB_SITE="https://gitlab.gnome.org/GNOME/retro-gtk" + +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" + +BUILD_DEPENDS="meson ninja libepoxy-dev glib-dev gtk+3-dev pulseaudio-dev \ +gobject-introspection-dev vala" +SPLIT="retro-gtk-dev" + +compile_rules() { + meson-wrapper build && + ninja -C build && + DESTDIR=$install ninja -C build install +} + +genpkg_rules() { + case $PACKAGE in + retro-gtk) + copy @std + DEPENDS="cairo gdk-pixbuf glib gtk+3 libepoxy pulseaudio" + ;; + *-dev) + copy @dev + DEPENDS="retro-gtk glib-dev" + ;; + esac +} diff -r 96d29914cbad -r 618256f7a332 totem-pl-parser/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/totem-pl-parser/receipt Sun Jun 10 01:56:40 2018 +0300 @@ -0,0 +1,39 @@ +# SliTaz package receipt v2. + +PACKAGE="totem-pl-parser" +VERSION="3.26.0" +CATEGORY="gnome" +SHORT_DESC="Totem playlist parser" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="LGPL2.1" +WEB_SITE="https://developer.gnome.org/totem-pl-parser/" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/gnome/totem-pl-parser.html" + +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" + +BUILD_DEPENDS="meson ninja glib-dev libxml2-dev libsoup-dev gmime3-dev \ +libquvi-dev libarchive-dev libgcrypt-dev gobject-introspection-dev gettext" +SPLIT="totem-pl-parser-dev" + +compile_rules() { + meson-wrapper build --default-library shared && + ninja -C build && + DESTDIR=$install ninja -C build install || return 1 + + chmod -R g-w $install # 664 -> 644 +} + +genpkg_rules() { + case $PACKAGE in + totem-pl-parser) + copy @std + DEPENDS="glib gmime3 libarchive libgcrypt libquvi libxml2" + ;; + *-dev) + copy @dev + DEPENDS="totem-pl-parser glib-dev gmime3-dev libarchive-dev \ + libgcrypt-dev libxml2-dev" + ;; + esac +} diff -r 96d29914cbad -r 618256f7a332 tracker/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tracker/receipt Sun Jun 10 01:56:40 2018 +0300 @@ -0,0 +1,40 @@ +# SliTaz package receipt v2. + +PACKAGE="tracker" +VERSION="2.0.3" +CATEGORY="gnome" +SHORT_DESC="Desktop-neutral user information store, search tool and indexer" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPL3" +WEB_SITE="https://wiki.gnome.org/Projects/Tracker" + +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" + +BUILD_DEPENDS="zlib-dev glib-dev gobject-introspection-dev sqlite3-dev \ +libsoup-dev libxml2-dev json-glib-dev vala intltool upower-dev \ +libunistring-dev network-manager-dev python3" +SPLIT="tracker-dev" + +compile_rules() { + ./configure \ + --disable-static \ + $CONFIGURE_ARGS && + fix libtool && + make && + make install +} + +genpkg_rules() { + case $PACKAGE in + tracker) + copy @std + DEPENDS="glib json-glib libsoup libsqlite3 libunistring libxml2 \ + util-linux-uuid" + ;; + *-dev) + copy @dev + DEPENDS="tracker glib-dev" + ;; + esac +}