wok-next rev 19965

Up frogatto, glew, gtkspell3, libsdl-gfx, libsdl-image, libsdl-mixer, libsdl-net, libsdl-pango, libsdl-ttf, osmo.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 17 13:43:41 2017 +0300 (2017-10-17)
parents a8b48af89217
children 7d1274a730b2
files frogatto-data/receipt frogatto/receipt frogatto/stuff/frogatto frogatto/stuff/frogatto.desktop frogatto/stuff/patches/libboost-mt.patch frogatto/stuff/patches/series frogatto/stuff/patches/server.patch glew-dev/receipt glew/receipt gtkspell3-dev/receipt gtkspell3/receipt libsdl-gfx-dev/receipt libsdl-gfx/receipt libsdl-image-dev/receipt libsdl-image/receipt libsdl-mixer-dev/receipt libsdl-mixer/receipt libsdl-net-dev/receipt libsdl-net/receipt libsdl-pango/receipt libsdl-pango/stuff/SDL_Pango-0.1.2-API-adds.patch libsdl-pango/stuff/matrix_declarations.patch libsdl-pango/stuff/patches/SDL_Pango-0.1.2-API-adds.patch libsdl-pango/stuff/patches/matrix_declarations.patch libsdl-pango/stuff/patches/series libsdl-ttf-dev/receipt libsdl-ttf/receipt osmo/receipt
line diff
     1.1 --- a/frogatto-data/receipt	Tue Oct 17 12:19:34 2017 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,20 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="frogatto-data"
     1.7 -VERSION="1.1.1"
     1.8 -CATEGORY="games"
     1.9 -SHORT_DESC="An old-school 2d platformer game, starring a certain quixotic frog (data files)"
    1.10 -MAINTAINER="gokhlayeh@slitaz.org"
    1.11 -LICENSE="GPL3"
    1.12 -WEB_SITE="http://www.frogatto.com"
    1.13 -WANTED="frogatto"
    1.14 -
    1.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 -genpkg_rules()
    1.17 -{
    1.18 -	mkdir -p $fs/usr/games/frogatto
    1.19 -	for i in data images music sounds FreeMono.ttf DejaVuSans.ttf; do
    1.20 -		cp -a $src/$i $fs/usr/games/frogatto
    1.21 -	done
    1.22 -}
    1.23 -
     2.1 --- a/frogatto/receipt	Tue Oct 17 12:19:34 2017 +0200
     2.2 +++ b/frogatto/receipt	Tue Oct 17 13:43:41 2017 +0300
     2.3 @@ -1,48 +1,43 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="frogatto"
     2.8 -VERSION="1.1.1"
     2.9 +VERSION="1.3.1"
    2.10  CATEGORY="games"
    2.11 -SHORT_DESC="An old-school 2d platformer game, starring a certain quixotic frog."
    2.12 +SHORT_DESC="Frogatto & Friends is an action-adventure game, starring a certain quixotic frog"
    2.13  MAINTAINER="gokhlayeh@slitaz.org"
    2.14 -LICENSE="GPL3"
    2.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.16 -WEB_SITE="http://www.frogatto.com"
    2.17 -WGET_URL="$WEB_SITE/files/$TARBALL"
    2.18 +LICENSE="CC-BY-3 custom"
    2.19 +WEB_SITE="https://frogatto.com/"
    2.20  
    2.21 -DEPENDS="xorg-server mesa glew libsdl libsdl-image libsdl-ttf libsdl-mixer \
    2.22 -libpng libboost-regex libboost-system libboost-date-time libboost-thread \
    2.23 -libboost-iostreams frogatto-data"
    2.24 -BUILD_DEPENDS="${DEPENDS/frogatto-data/} ccache xorg-server-dev mesa-dev \
    2.25 -libsdl-dev libsdl-image-dev libsdl-ttf-dev libsdl-mixer-dev libpng-dev \
    2.26 -libboost-dev glew-dev"
    2.27 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.28 +WGET_URL="https://github.com/frogatto/frogatto/archive/$VERSION.tar.gz"
    2.29  
    2.30 -# Rules to configure and make the package.
    2.31 -compile_rules()
    2.32 -{
    2.33 -	cd $src
    2.34 +BUILD_DEPENDS="xorg-libX11-dev libsdl-dev mesa-dev libglu-mesa-dev glew-dev \
    2.35 +libsdl-image-dev libpng16-dev zlib-dev libboost-dev libsdl-ttf-dev \
    2.36 +libsdl-mixer-dev coreutils-file-format ccache"
    2.37 +SPLIT="frogatto-data"
    2.38  
    2.39 -	# Frogatto look for multithread libboost (*-mt.so) but we don't use
    2.40 -	# them in SliTaz, let's lure it.
    2.41 -	for lib in $(ls /usr/lib/libboost*); do
    2.42 -		link=$(echo $lib | sed 's/\./-mt./')
    2.43 -		ln -s $lib $link
    2.44 -	done
    2.45 +compile_rules() {
    2.46 +	CXXFLAGS="$CXXFLAGS -std=gnu++98" make game server || return 1
    2.47  
    2.48 -	# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652756#19
    2.49 -	sed -i 's/io_service()/get_io_service()/' $src/src/server.cpp
    2.50 -
    2.51 -	make $MAKEFLAGS game server
    2.52 -
    2.53 -	# Remove the links previously created.
    2.54 -	rm -f /usr/lib/libboost*-mt*
    2.55 +	mkdir -p $install/opt/frogatto/
    2.56 +	cp game server *.ttf $install/opt/frogatto/
    2.57 +	cp -r data/ images/ modules/ music/ $install/opt/frogatto
    2.58 +	install -Dm 755 $stuff/frogatto $install/usr/bin/frogatto
    2.59 +	install -Dm 644 $stuff/frogatto.desktop $install/usr/share/applications/frogatto.desktop
    2.60 +	install -Dm 644 $src/images/window-icon.png $install/usr/share/pixmaps/frogatto.png
    2.61  }
    2.62  
    2.63 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.64 -genpkg_rules()
    2.65 -{
    2.66 -	mkdir -p $fs/usr/games/frogatto $fs/usr/bin $fs/usr/share/pixmaps
    2.67 -	cp -a $src/game $src/server $fs/usr/games/frogatto
    2.68 -	cp -a $src/images/window-icon.png $fs/usr/share/pixmaps
    2.69 -	cp -a $stuff/frogatto $fs/usr/bin
    2.70 +genpkg_rules() {
    2.71 +	case $PACKAGE in
    2.72 +		frogatto)
    2.73 +			copy game server frogatto frogatto.desktop frogatto.png
    2.74 +			DEPENDS="glew libboost-iostreams libboost-regex libboost-system \
    2.75 +			libboost-thread libglu-mesa libpng16 libsdl libsdl-image \
    2.76 +			libsdl-mixer libsdl-ttf mesa xorg-libX11 zlib"
    2.77 +			;;
    2.78 +		frogatto-data)
    2.79 +			copy data/ images/ modules/ music/ *.ttf
    2.80 +			CAT="games|data files"
    2.81 +			;;
    2.82 +	esac
    2.83  }
     3.1 --- a/frogatto/stuff/frogatto	Tue Oct 17 12:19:34 2017 +0200
     3.2 +++ b/frogatto/stuff/frogatto	Tue Oct 17 13:43:41 2017 +0300
     3.3 @@ -1,4 +1,4 @@
     3.4  #!/bin/sh
     3.5  
     3.6 -cd /usr/games/frogatto
     3.7 -exec /usr/games/frogatto/game $*
     3.8 +cd /opt/frogatto
     3.9 +exec /opt/frogatto/game $*
     4.1 --- a/frogatto/stuff/frogatto.desktop	Tue Oct 17 12:19:34 2017 +0200
     4.2 +++ b/frogatto/stuff/frogatto.desktop	Tue Oct 17 13:43:41 2017 +0300
     4.3 @@ -1,11 +1,7 @@
     4.4  [Desktop Entry]
     4.5 -Encoding=UTF-8
     4.6 +Type=Application
     4.7  Name=Frogatto
     4.8 -GenericName=Old-school 2D platformer
     4.9  Comment=Old-school 2D platformer
    4.10 -Exec=/usr/bin/frogatto
    4.11 -Terminal=false
    4.12 -MultipleArgs=false
    4.13 -Type=Application
    4.14 -Icon=window-icon
    4.15 -Categories=Game;ArcadeGame
    4.16 +Exec=frogatto
    4.17 +Icon=frogatto
    4.18 +Categories=Game;ArcadeGame;
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/frogatto/stuff/patches/libboost-mt.patch	Tue Oct 17 13:43:41 2017 +0300
     5.3 @@ -0,0 +1,22 @@
     5.4 +Frogatto look for multithread libboost (*-mt.so) but we don't use them in SliTaz
     5.5 +
     5.6 +--- a/Makefile
     5.7 ++++ b/Makefile
     5.8 +@@ -60,7 +60,7 @@
     5.9 + 	$(CCACHE) $(CXX) \
    5.10 + 		$(BASE_CXXFLAGS) $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INC) \
    5.11 + 		$(objects) -o game \
    5.12 +-		$(LIBS) -lboost_regex-mt -lboost_system-mt -lpthread -fthreadsafe-statics
    5.13 ++		$(LIBS) -lboost_regex -lboost_system -lpthread -fthreadsafe-statics
    5.14 + 
    5.15 + # pull in dependency info for *existing* .o files
    5.16 + -include $(objects:.o=.d)
    5.17 +@@ -69,7 +69,7 @@
    5.18 + 	$(CCACHE) $(CXX) \
    5.19 + 		$(BASE_CXXFLAGS) $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) \
    5.20 + 		$(server_objects) -o server \
    5.21 +-		$(LIBS) -lboost_regex-mt -lboost_system-mt -lboost_thread-mt -lboost_iostreams-mt
    5.22 ++		$(LIBS) -lboost_regex -lboost_system -lboost_thread -lboost_iostreams
    5.23 + 
    5.24 + clean:
    5.25 + 	rm -f *.o *.d game
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/frogatto/stuff/patches/series	Tue Oct 17 13:43:41 2017 +0300
     6.3 @@ -0,0 +1,2 @@
     6.4 +libboost-mt.patch
     6.5 +server.patch
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/frogatto/stuff/patches/server.patch	Tue Oct 17 13:43:41 2017 +0300
     7.3 @@ -0,0 +1,11 @@
     7.4 +--- a/src/server.cpp
     7.5 ++++ b/src/server.cpp
     7.6 +@@ -174,7 +174,7 @@
     7.7 + 
     7.8 + 	void handle_udp_receive(udp_endpoint_ptr endpoint, const boost::system::error_code& error, size_t len)
     7.9 + 	{
    7.10 +-		fprintf(stderr, "RECEIVED UDP PACKET: %lu\n", len);
    7.11 ++		fprintf(stderr, "RECEIVED UDP PACKET: %zu\n", len);
    7.12 + 		if(len >= 5) {
    7.13 + 			uint32_t id;
    7.14 + 			memcpy(&id, &udp_buf_[1], 4);
     8.1 --- a/glew-dev/receipt	Tue Oct 17 12:19:34 2017 +0200
     8.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.3 @@ -1,22 +0,0 @@
     8.4 -# SliTaz package receipt.
     8.5 -
     8.6 -PACKAGE="glew-dev"
     8.7 -VERSION="1.5.8"
     8.8 -CATEGORY="development"
     8.9 -SHORT_DESC="The OpenGL Extension Wrangler Library. (devel files)"
    8.10 -MAINTAINER="pascal.bellard@slitaz.org"
    8.11 -LICENSE="MIT BSD"
    8.12 -WEB_SITE="http://glew.sourceforge.net/"
    8.13 -WANTED="glew"
    8.14 -
    8.15 -DEPENDS="glew pkg-config"
    8.16 -
    8.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    8.18 -genpkg_rules()
    8.19 -{
    8.20 -	mkdir -p $fs/usr/lib
    8.21 -	cp -a $install/usr/include $fs/usr
    8.22 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    8.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    8.24 -}
    8.25 -
     9.1 --- a/glew/receipt	Tue Oct 17 12:19:34 2017 +0200
     9.2 +++ b/glew/receipt	Tue Oct 17 13:43:41 2017 +0300
     9.3 @@ -1,38 +1,32 @@
     9.4 -# SliTaz package receipt.
     9.5 +# SliTaz package receipt v2.
     9.6  
     9.7  PACKAGE="glew"
     9.8 -VERSION="1.5.8"
     9.9 +VERSION="2.1.0"
    9.10  CATEGORY="x-window"
    9.11 -SHORT_DESC="The OpenGL Extension Wrangler Library."
    9.12 +SHORT_DESC="The OpenGL Extension Wrangler Library"
    9.13  MAINTAINER="pascal.bellard@slitaz.org"
    9.14  LICENSE="MIT BSD"
    9.15 +WEB_SITE="http://glew.sourceforge.net/"
    9.16 +
    9.17  TARBALL="$PACKAGE-$VERSION.tgz"
    9.18 -WEB_SITE="http://glew.sourceforge.net/"
    9.19  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    9.20  
    9.21 -DEPENDS="glibc-base libdrm xorg-libX11 xorg-libXau xorg-libXdamage \
    9.22 -xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm mesa libglu-mesa \
    9.23 -xorg-libXmu xorg-libXi xorg-libXt xorg-libSM xorg-libICE util-linux-uuid"
    9.24 -BUILD_DEPENDS="glibc-base libdrm xorg-libX11 xorg-libXau xorg-libXdamage \
    9.25 -xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm \
    9.26 -xorg-libXmu xorg-libXi xorg-libXt xorg-libSM xorg-libICE util-linux-uuid \
    9.27 -libdrm-dev xorg-glproto mesa-dev libglu-mesa \
    9.28 -xorg-damageproto xorg-xproto xorg-fixesproto xorg-xextproto \
    9.29 -xorg-libX11-dev xorg-libXdamage-dev xorg-libXfixes-dev xorg-libXt-dev \
    9.30 -xorg-libICE-dev xorg-libSM-dev xorg-xf86vidmodeproto xorg-libXxf86vm-dev"
    9.31 +BUILD_DEPENDS="xorg-libX11-dev mesa-dev"
    9.32 +SPLIT="glew-dev"
    9.33  
    9.34 -# Rules to configure and make the package.
    9.35 -compile_rules()
    9.36 -{
    9.37 -	cd $src
    9.38 -	make && make GLEW_DEST=$DESTDIR/usr install
    9.39 +compile_rules() {
    9.40 +	make && make install
    9.41  }
    9.42  
    9.43 -# Rules to gen a SliTaz package suitable for Tazpkg.
    9.44 -genpkg_rules()
    9.45 -{
    9.46 -	mkdir -p $fs/usr/lib
    9.47 -	cp -a $install/usr/bin $fs/usr
    9.48 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    9.49 +genpkg_rules() {
    9.50 +	case $PACKAGE in
    9.51 +		glew)
    9.52 +			copy @std
    9.53 +			DEPENDS="mesa xorg-libX11"
    9.54 +			;;
    9.55 +		*-dev)
    9.56 +			copy @dev
    9.57 +			DEPENDS="glew libglu-mesa-dev"
    9.58 +			;;
    9.59 +	esac
    9.60  }
    9.61 -
    10.1 --- a/gtkspell3-dev/receipt	Tue Oct 17 12:19:34 2017 +0200
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,22 +0,0 @@
    10.4 -# SliTaz package receipt.
    10.5 -
    10.6 -PACKAGE="gtkspell3-dev"
    10.7 -VERSION="3.0.8"
    10.8 -CATEGORY="development"
    10.9 -SHORT_DESC="On-the-fly spell checking for GtkTextView widgets, development files"
   10.10 -MAINTAINER="al.bobylev@gmail.com"
   10.11 -LICENSE="GPL2"
   10.12 -WEB_SITE="http://gtkspell.sourceforge.net/"
   10.13 -HOST_ARCH="i486 arm"
   10.14 -
   10.15 -WANTED="gtkspell3"
   10.16 -DEPENDS="gtkspell3 glib-dev gtk+3-dev enchant-dev"
   10.17 -
   10.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
   10.19 -genpkg_rules()
   10.20 -{
   10.21 -	mkdir -p $fs/usr/lib
   10.22 -	cp -a $install/usr/include $fs/usr
   10.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   10.24 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   10.25 -}
    11.1 --- a/gtkspell3/receipt	Tue Oct 17 12:19:34 2017 +0200
    11.2 +++ b/gtkspell3/receipt	Tue Oct 17 13:43:41 2017 +0300
    11.3 @@ -1,34 +1,44 @@
    11.4 -# SliTaz package receipt.
    11.5 +# SliTaz package receipt v2.
    11.6  
    11.7  PACKAGE="gtkspell3"
    11.8 -VERSION="3.0.8"
    11.9 +VERSION="3.0.9"
   11.10  CATEGORY="text"
   11.11  SHORT_DESC="On-the-fly spell checking for GtkTextView widgets"
   11.12  MAINTAINER="al.bobylev@gmail.com"
   11.13  LICENSE="GPL2"
   11.14 -TARBALL="$PACKAGE-$VERSION.tar.gz"
   11.15  WEB_SITE="http://gtkspell.sourceforge.net/"
   11.16 -WGET_URL="$SF_MIRROR/gtkspell/$TARBALL"
   11.17  HOST_ARCH="i486 arm"
   11.18  
   11.19 -DEPENDS="enchant gtk+3"
   11.20 -BUILD_DEPENDS="gobject-introspection vala gtk+3-dev enchant-dev gtk-doc"
   11.21 +TARBALL="$PACKAGE-$VERSION.tar.xz"
   11.22 +WGET_URL="$SF_MIRROR/gtkspell/$TARBALL"
   11.23  
   11.24 -# Rules to configure and make the package.
   11.25 -compile_rules()
   11.26 -{
   11.27 +BUILD_DEPENDS="gobject-introspection vala intltool gtk+3-dev enchant-dev \
   11.28 +gtk-doc"
   11.29 +SPLIT="gtkspell3-dev"
   11.30 +
   11.31 +compile_rules() {
   11.32  	./configure $CONFIGURE_ARGS && make && make install
   11.33  }
   11.34  
   11.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
   11.36 -genpkg_rules()
   11.37 -{
   11.38 -	mkdir -p $fs/usr/lib $fs/usr/share/locale
   11.39 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   11.40 -
   11.41 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   11.42 -	for i in $LOCALE_PACK; do
   11.43 -		[ -d $install/usr/share/locale/$i ] &&
   11.44 -			cp -a $install/usr/share/locale/$i $fs/usr/share/locale
   11.45 -	done
   11.46 +genpkg_rules() {
   11.47 +	case $PACKAGE in
   11.48 +		gtkspell3)
   11.49 +			copy @std *.mo
   11.50 +			DEPENDS="atk bzlib cairo enchant fontconfig freetype gdk-pixbuf \
   11.51 +			glib gtk+3 libffi libharfbuzz liblzma libpng16 libxml2 pango pcre \
   11.52 +			util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
   11.53 +			xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
   11.54 +			xorg-pixman zlib"
   11.55 +			;;
   11.56 +		*-dev)
   11.57 +			copy @dev
   11.58 +			DEPENDS="gtkspell3 atk-dev bzip2-dev cairo-dev enchant-dev \
   11.59 +			fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev gtk+3-dev \
   11.60 +			harfbuzz-dev libffi-dev libpng16-dev libxml2-dev \
   11.61 +			util-linux-uuid-dev pango-dev pcre-dev util-linux-blkid-dev \
   11.62 +			util-linux-mount-dev xorg-libX11-dev xorg-libXau-dev \
   11.63 +			xorg-libXdmcp-dev xorg-libXext-dev xorg-libXrender-dev \
   11.64 +			xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
   11.65 +			;;
   11.66 +	esac
   11.67  }
    12.1 --- a/libsdl-gfx-dev/receipt	Tue Oct 17 12:19:34 2017 +0200
    12.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.3 @@ -1,21 +0,0 @@
    12.4 -# SliTaz package receipt.
    12.5 -
    12.6 -PACKAGE="libsdl-gfx-dev"
    12.7 -VERSION="2.0.23"
    12.8 -CATEGORY="development"
    12.9 -SHORT_DESC="SDL gfx lib devel files."
   12.10 -MAINTAINER="pankso@slitaz.org"
   12.11 -LICENSE="LGPL"
   12.12 -WANTED="libsdl-gfx"
   12.13 -SOURCE="SDL_gfx"
   12.14 -WEB_SITE="http://www.ferzkopp.net/joomla/content/view/19/14/"
   12.15 -
   12.16 -DEPENDS="libsdl-gfx"
   12.17 -
   12.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
   12.19 -genpkg_rules()
   12.20 -{
   12.21 -	mkdir -p $fs/usr/lib
   12.22 -	cp -a $install/usr/lib/*.a $fs/usr/lib
   12.23 -	cp -a $install/usr/include $fs/usr
   12.24 -}
    13.1 --- a/libsdl-gfx/receipt	Tue Oct 17 12:19:34 2017 +0200
    13.2 +++ b/libsdl-gfx/receipt	Tue Oct 17 13:43:41 2017 +0300
    13.3 @@ -1,28 +1,35 @@
    13.4 -# SliTaz package receipt.
    13.5 +# SliTaz package receipt v2.
    13.6  
    13.7  PACKAGE="libsdl-gfx"
    13.8 -SOURCE="SDL_gfx"
    13.9 -VERSION="2.0.23"
   13.10 +VERSION="2.0.26"
   13.11  CATEGORY="x-window"
   13.12 -SHORT_DESC="SDL gfx support."
   13.13 +SHORT_DESC="SDL gfx support"
   13.14  MAINTAINER="pankso@slitaz.org"
   13.15  LICENSE="LGPL"
   13.16 -TARBALL="$SOURCE-$VERSION.tar.gz"
   13.17 -WEB_SITE="http://www.ferzkopp.net/joomla/content/view/19/14/"
   13.18 -WGET_URL="http://www.ferzkopp.net/Software/SDL_gfx-${VERSION%.*}/$TARBALL"
   13.19 +WEB_SITE="http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/"
   13.20  
   13.21 -DEPENDS="libsdl"
   13.22 -BUILD_DEPENDS="libsdl-dev"
   13.23 +TARBALL="SDL_gfx-$VERSION.tar.gz"
   13.24 +WGET_URL="http://www.ferzkopp.net/Software/SDL_gfx-2.0/$TARBALL"
   13.25  
   13.26 -# Rules to configure and make the package.
   13.27 -compile_rules()
   13.28 -{
   13.29 +BUILD_DEPENDS="automake libtool xorg-libX11-dev xorg-libICE-dev libsdl-dev"
   13.30 +SPLIT="libsdl-gfx-dev"
   13.31 +
   13.32 +compile_rules() {
   13.33 +	sed -i 's|/usr/local/|/usr/|' autogen.sh
   13.34 +	./autogen.sh &&
   13.35 +
   13.36  	./configure $CONFIGURE_ARGS && make && make install
   13.37  }
   13.38  
   13.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
   13.40 -genpkg_rules()
   13.41 -{
   13.42 -	mkdir -p $fs/usr/lib
   13.43 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   13.44 +genpkg_rules() {
   13.45 +	case $PACKAGE in
   13.46 +		libsdl-gfx)
   13.47 +			copy @std
   13.48 +			DEPENDS="libsdl"
   13.49 +			;;
   13.50 +		*-dev)
   13.51 +			copy @dev
   13.52 +			DEPENDS="libsdl-gfx libsdl-dev"
   13.53 +			;;
   13.54 +	esac
   13.55  }
    14.1 --- a/libsdl-image-dev/receipt	Tue Oct 17 12:19:34 2017 +0200
    14.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.3 @@ -1,23 +0,0 @@
    14.4 -# SliTaz package receipt.
    14.5 -
    14.6 -PACKAGE="libsdl-image-dev"
    14.7 -VERSION="1.2.10"
    14.8 -CATEGORY="development"
    14.9 -SHORT_DESC="Development files of an image file loading library."
   14.10 -MAINTAINER="chadi.elahmad@gmail.com"
   14.11 -LICENSE="LGPL2.1"
   14.12 -WEB_SITE="http://www.libsdl.org/projects/SDL_image/"
   14.13 -WANTED="libsdl-image"
   14.14 -SOURCE="SDL_image"
   14.15 -HOST_ARCH="i486 arm"
   14.16 -
   14.17 -DEPENDS="libsdl-image libsdl-dev libpng-dev jpeg-dev zlib-dev pkg-config"
   14.18 -
   14.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   14.20 -genpkg_rules()
   14.21 -{
   14.22 -	mkdir -p $fs/usr/lib
   14.23 -	cp -a $install/usr/lib/*.a $fs/usr/lib
   14.24 -	cp -a $install/usr/include $fs/usr
   14.25 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   14.26 -}
    15.1 --- a/libsdl-image/receipt	Tue Oct 17 12:19:34 2017 +0200
    15.2 +++ b/libsdl-image/receipt	Tue Oct 17 13:43:41 2017 +0300
    15.3 @@ -1,31 +1,33 @@
    15.4 -# SliTaz package receipt.
    15.5 +# SliTaz package receipt v2.
    15.6  
    15.7  PACKAGE="libsdl-image"
    15.8 -SOURCE="SDL_image"
    15.9 -VERSION="1.2.10"
   15.10 +VERSION="1.2.12"
   15.11  CATEGORY="development"
   15.12 -SHORT_DESC="An image file loading library."
   15.13 +SHORT_DESC="An image file loading library"
   15.14  MAINTAINER="chadi.elahmad@gmail.com"
   15.15  LICENSE="LGPL2.1"
   15.16 -TARBALL="$SOURCE-$VERSION.tar.gz"
   15.17 -WEB_SITE="http://www.libsdl.org/projects/SDL_image/"
   15.18 -WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL"
   15.19 +WEB_SITE="http://www.libsdl.org/projects/SDL_image/release-1.2.html"
   15.20  HOST_ARCH="i486 arm"
   15.21  
   15.22 -DEPENDS="libsdl libpng jpeg zlib tiff"
   15.23 -BUILD_DEPENDS="libsdl-dev libpng-dev jpeg-dev zlib-dev tiff-dev"
   15.24 +TARBALL="SDL_image-$VERSION.tar.gz"
   15.25 +WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL"
   15.26  
   15.27 -# Rules to configure and make the package.
   15.28 -compile_rules()
   15.29 -{
   15.30 -	./configure $CONFIGURE_ARGS \
   15.31 -		LIBS=" -lz " &&
   15.32 -	make && make install
   15.33 +BUILD_DEPENDS="libsdl-dev libjpeg-turbo-dev libpng16-dev tiff-dev libwebp-dev"
   15.34 +SPLIT="libsdl-image-dev"
   15.35 +
   15.36 +compile_rules() {
   15.37 +	./configure $CONFIGURE_ARGS && make && make install
   15.38  }
   15.39  
   15.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
   15.41 -genpkg_rules()
   15.42 -{
   15.43 -	mkdir -p $fs/usr/lib
   15.44 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   15.45 +genpkg_rules() {
   15.46 +	case $PACKAGE in
   15.47 +		libsdl-image)
   15.48 +			copy @std
   15.49 +			DEPENDS="libsdl"
   15.50 +			;;
   15.51 +		*-dev)
   15.52 +			copy @dev
   15.53 +			DEPENDS="libsdl-image libsdl-dev"
   15.54 +			;;
   15.55 +	esac
   15.56  }
    16.1 --- a/libsdl-mixer-dev/receipt	Tue Oct 17 12:19:34 2017 +0200
    16.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.3 @@ -1,23 +0,0 @@
    16.4 -# SliTaz package receipt.
    16.5 -
    16.6 -PACKAGE="libsdl-mixer-dev"
    16.7 -VERSION="1.2.11"
    16.8 -CATEGORY="development"
    16.9 -SHORT_DESC="Development files of a multichannel sample and music mixer."
   16.10 -MAINTAINER="chadi.elahmad@gmail.com"
   16.11 -LICENSE="LGPL2.1"
   16.12 -WEB_SITE="http://www.libsdl.org/projects/SDL_mixer/"
   16.13 -WANTED="libsdl-mixer"
   16.14 -SOURCE="SDL_mixer"
   16.15 -HOST_ARCH="i486 arm"
   16.16 -
   16.17 -DEPENDS="libsdl-mixer libsdl-dev libmad-dev libvorbis-dev libogg-dev "
   16.18 -
   16.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   16.20 -genpkg_rules()
   16.21 -{
   16.22 -	mkdir -p $fs/usr/lib
   16.23 -	cp -a $install/usr/lib/*.a $fs/usr/lib
   16.24 -	cp -a $install/usr/include $fs/usr
   16.25 -}
   16.26 -
    17.1 --- a/libsdl-mixer/receipt	Tue Oct 17 12:19:34 2017 +0200
    17.2 +++ b/libsdl-mixer/receipt	Tue Oct 17 13:43:41 2017 +0300
    17.3 @@ -1,34 +1,33 @@
    17.4 -# SliTaz package receipt.
    17.5 +# SliTaz package receipt v2.
    17.6  
    17.7  PACKAGE="libsdl-mixer"
    17.8 -SOURCE="SDL_mixer"
    17.9 -VERSION="1.2.11"
   17.10 +VERSION="1.2.12"
   17.11  CATEGORY="development"
   17.12 -SHORT_DESC="A multichannel sample and music mixer."
   17.13 +SHORT_DESC="A multichannel sample and music mixer"
   17.14  MAINTAINER="chadi.elahmad@gmail.com"
   17.15  LICENSE="LGPL2.1"
   17.16 -TARBALL="$SOURCE-$VERSION.tar.gz"
   17.17 -WEB_SITE="http://www.libsdl.org/projects/SDL_mixer/"
   17.18 -WGET_URL="http://www.libsdl.org/projects/SDL_mixer/release/$TARBALL"
   17.19 +WEB_SITE="http://www.libsdl.org/projects/SDL_mixer/release-1.2.html"
   17.20  HOST_ARCH="i486 arm"
   17.21  
   17.22 -DEPENDS="libsdl libmad libvorbis libogg"
   17.23 -BUILD_DEPENDS="libsdl libsdl-dev libmad-dev libvorbis-dev libogg-dev \
   17.24 -alsa-lib-dev"
   17.25 +TARBALL="SDL_mixer-$VERSION.tar.gz"
   17.26 +WGET_URL="http://www.libsdl.org/projects/SDL_mixer/release/$TARBALL"
   17.27  
   17.28 -# Rules to configure and make the package.
   17.29 -compile_rules()
   17.30 -{
   17.31 -	./configure \
   17.32 -		--prefix=/usr \
   17.33 -		--enable-music-mp3-mad \
   17.34 -		$CONFIGURE_ARGS &&
   17.35 -	make && make install
   17.36 +BUILD_DEPENDS="libsdl-dev fluidsynth-dev libvorbis-dev flac-dev libsmpeg-dev"
   17.37 +SPLIT="libsdl-mixer-dev"
   17.38 +
   17.39 +compile_rules() {
   17.40 +	./configure $CONFIGURE_ARGS && make && make install
   17.41  }
   17.42  
   17.43 -# Rules to gen a SliTaz package suitable for Tazpkg.
   17.44 -genpkg_rules()
   17.45 -{
   17.46 -	mkdir -p $fs/usr/lib
   17.47 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   17.48 +genpkg_rules() {
   17.49 +	case $PACKAGE in
   17.50 +		libsdl-mixer)
   17.51 +			copy @std
   17.52 +			DEPENDS="libsdl"
   17.53 +			;;
   17.54 +		*-dev)
   17.55 +			copy @dev
   17.56 +			DEPENDS="libsdl-mixer libsdl-dev"
   17.57 +			;;
   17.58 +	esac
   17.59  }
    18.1 --- a/libsdl-net-dev/receipt	Tue Oct 17 12:19:34 2017 +0200
    18.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.3 @@ -1,22 +0,0 @@
    18.4 -# SliTaz package receipt.
    18.5 -
    18.6 -PACKAGE="libsdl-net-dev"
    18.7 -VERSION="1.2.7"
    18.8 -CATEGORY="development"
    18.9 -SHORT_DESC="SDL net lib devel files."
   18.10 -MAINTAINER="pankso@slitaz.org"
   18.11 -LICENSE="LGPL2.1"
   18.12 -WANTED="libsdl-net"
   18.13 -SOURCE="SDL_net"
   18.14 -WEB_SITE="http://www.libsdl.org/projects/SDL_net/"
   18.15 -HOST_ARCH="i486 arm"
   18.16 -
   18.17 -DEPENDS="libsdl-net"
   18.18 -
   18.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   18.20 -genpkg_rules()
   18.21 -{
   18.22 -	mkdir -p $fs/usr/lib
   18.23 -	cp -a $install/usr/lib/*.a $fs/usr/lib
   18.24 -	cp -a $install/usr/include $fs/usr
   18.25 -}
    19.1 --- a/libsdl-net/receipt	Tue Oct 17 12:19:34 2017 +0200
    19.2 +++ b/libsdl-net/receipt	Tue Oct 17 13:43:41 2017 +0300
    19.3 @@ -1,29 +1,33 @@
    19.4 -# SliTaz package receipt.
    19.5 +# SliTaz package receipt v2.
    19.6  
    19.7  PACKAGE="libsdl-net"
    19.8 -SOURCE="SDL_net"
    19.9 -VERSION="1.2.7"
   19.10 +VERSION="1.2.8"
   19.11  CATEGORY="x-window"
   19.12 -SHORT_DESC="SDL net support."
   19.13 +SHORT_DESC="SDL net support"
   19.14  MAINTAINER="pankso@slitaz.org"
   19.15  LICENSE="LGPL2.1"
   19.16 -TARBALL="$SOURCE-$VERSION.tar.gz"
   19.17 -WEB_SITE="http://www.libsdl.org/projects/SDL_net/"
   19.18 -WGET_URL="http://www.libsdl.org/projects/SDL_net/release/$TARBALL"
   19.19 +WEB_SITE="http://www.libsdl.org/projects/SDL_net/release-1.2.html"
   19.20  HOST_ARCH="i486 arm"
   19.21  
   19.22 -DEPENDS="libsdl"
   19.23 +TARBALL="SDL_net-$VERSION.tar.gz"
   19.24 +WGET_URL="http://www.libsdl.org/projects/SDL_net/release/$TARBALL"
   19.25 +
   19.26  BUILD_DEPENDS="libsdl-dev"
   19.27 +SPLIT="libsdl-net-dev"
   19.28  
   19.29 -# Rules to configure and make the package.
   19.30 -compile_rules()
   19.31 -{
   19.32 +compile_rules() {
   19.33  	./configure $CONFIGURE_ARGS && make && make install
   19.34  }
   19.35  
   19.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
   19.37 -genpkg_rules()
   19.38 -{
   19.39 -	mkdir -p $fs/usr/lib
   19.40 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   19.41 +genpkg_rules() {
   19.42 +	case $PACKAGE in
   19.43 +		libsdl-net)
   19.44 +			copy @std
   19.45 +			DEPENDS="libsdl"
   19.46 +			;;
   19.47 +		*-dev)
   19.48 +			copy @dev
   19.49 +			DEPENDS="libsdl-net libsdl-dev"
   19.50 +			;;
   19.51 +	esac
   19.52  }
    20.1 --- a/libsdl-pango/receipt	Tue Oct 17 12:19:34 2017 +0200
    20.2 +++ b/libsdl-pango/receipt	Tue Oct 17 13:43:41 2017 +0300
    20.3 @@ -1,39 +1,42 @@
    20.4 -# SliTaz package receipt.
    20.5 +# SliTaz package receipt v2.
    20.6  
    20.7  PACKAGE="libsdl-pango"
    20.8  VERSION="0.1.2"
    20.9  CATEGORY="x-window"
   20.10 -SHORT_DESC="Pango SDL binding."
   20.11 +SHORT_DESC="Pango SDL binding"
   20.12  MAINTAINER="slaxemulator@gmail.com"
   20.13  LICENSE="LGPL2.1"
   20.14 -SOURCE="SDL_Pango"
   20.15 -TARBALL="$SOURCE-$VERSION.tar.gz"
   20.16  WEB_SITE="http://sdlpango.sourceforge.net/"
   20.17 -WGET_URL="$SF_MIRROR/sdlpango/$TARBALL"
   20.18  HOST_ARCH="i486 arm"
   20.19  
   20.20 -DEPENDS="pango libsdl"
   20.21 -BUILD_DEPENDS="pango-dev libsdl-dev pkg-config libxml2-dev"
   20.22 +TARBALL="SDL_Pango-$VERSION.tar.gz"
   20.23 +WGET_URL="$SF_MIRROR/sdlpango/$TARBALL"
   20.24  
   20.25 -# Handle cross compilation
   20.26 -case "$ARCH" in
   20.27 -	arm*) ARCH_MAKE="LIBS=/cross/$ARCH/sysroot/usr/lib" ;;
   20.28 -esac
   20.29 +BUILD_DEPENDS="patch gfortran pango-dev libsdl-dev"
   20.30 +SPLIT="libsdl-pango-dev"
   20.31  
   20.32 -# Rules to configure and make the package.
   20.33 -compile_rules()
   20.34 -{
   20.35 -	patch -Np0 -i $stuff/SDL_Pango-$VERSION-API-adds.patch
   20.36 -	patch -Np1 -i $stuff/matrix_declarations.patch
   20.37 -	./configure \
   20.38 -		$CONFIGURE_ARGS &&
   20.39 -	make ${ARCH_MAKE} && make DESTDIR=$DESTDIR install
   20.40 +compile_rules() {
   20.41 +	# Handle cross compilation
   20.42 +	case "$ARCH" in
   20.43 +		arm*) ARCH_MAKE="LIBS=/cross/$ARCH/sysroot/usr/lib" ;;
   20.44 +	esac
   20.45 +
   20.46 +	./configure $CONFIGURE_ARGS &&
   20.47 +	make $ARCH_MAKE &&
   20.48 +	make DESTDIR=$DESTDIR install
   20.49  }
   20.50  
   20.51 -# Rules to gen a SliTaz package suitable for Tazpkg.
   20.52 -genpkg_rules()
   20.53 -{
   20.54 -	mkdir -p $fs/usr/lib
   20.55 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   20.56 +genpkg_rules() {
   20.57 +	case $PACKAGE in
   20.58 +		libsdl-pango)
   20.59 +			copy @std
   20.60 +			DEPENDS="fontconfig freetype glib libsdl pango"
   20.61 +			;;
   20.62 +		*-dev)
   20.63 +			copy @dev
   20.64 +			DEPENDS="libsdl-pango bzip2-dev fontconfig-dev freetype-dev \
   20.65 +			glib-dev harfbuzz-dev libffi-dev libpng16-dev libxml2-dev \
   20.66 +			pango-dev pcre-dev xz-dev zlib-dev"
   20.67 +			;;
   20.68 +	esac
   20.69  }
   20.70 -
    21.1 --- a/libsdl-pango/stuff/SDL_Pango-0.1.2-API-adds.patch	Tue Oct 17 12:19:34 2017 +0200
    21.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.3 @@ -1,116 +0,0 @@
    21.4 ---- src/SDL_Pango.c	2004-12-10 10:06:33.000000000 +0100
    21.5 -+++ src/SDL_Pango.c	2006-09-24 22:46:24.000000000 +0200
    21.6 -@@ -723,13 +723,8 @@
    21.7 -     SDL_UnlockSurface(surface);
    21.8 - }
    21.9 - 
   21.10 --/*!
   21.11 --    Create a context which contains Pango objects.
   21.12 --
   21.13 --    @return A pointer to the context as a SDLPango_Context*.
   21.14 --*/
   21.15 - SDLPango_Context*
   21.16 --SDLPango_CreateContext()
   21.17 -+SDLPango_CreateContext_GivenFontDesc(const char* font_desc)
   21.18 - {
   21.19 -     SDLPango_Context *context = g_malloc(sizeof(SDLPango_Context));
   21.20 -     G_CONST_RETURN char *charset;
   21.21 -@@ -743,8 +738,7 @@
   21.22 -     pango_context_set_language (context->context, pango_language_from_string (charset));
   21.23 -     pango_context_set_base_dir (context->context, PANGO_DIRECTION_LTR);
   21.24 - 
   21.25 --    context->font_desc = pango_font_description_from_string(
   21.26 --	MAKE_FONT_NAME (DEFAULT_FONT_FAMILY, DEFAULT_FONT_SIZE));
   21.27 -+    context->font_desc = pango_font_description_from_string(font_desc);
   21.28 - 
   21.29 -     context->layout = pango_layout_new (context->context);
   21.30 - 
   21.31 -@@ -762,6 +756,17 @@
   21.32 - }
   21.33 - 
   21.34 - /*!
   21.35 -+    Create a context which contains Pango objects.
   21.36 -+
   21.37 -+    @return A pointer to the context as a SDLPango_Context*.
   21.38 -+*/
   21.39 -+SDLPango_Context*
   21.40 -+SDLPango_CreateContext()
   21.41 -+{
   21.42 -+     SDLPango_CreateContext_GivenFontDesc(MAKE_FONT_NAME(DEFAULT_FONT_FAMILY, DEFAULT_FONT_SIZE));
   21.43 -+}
   21.44 -+
   21.45 -+/*!
   21.46 -     Free a context.
   21.47 - 
   21.48 -     @param *context [i/o] Context to be free
   21.49 -@@ -1053,6 +1058,20 @@
   21.50 -     pango_layout_set_font_description (context->layout, context->font_desc);
   21.51 - }
   21.52 - 
   21.53 -+void
   21.54 -+SDLPango_SetText_GivenAlignment(
   21.55 -+    SDLPango_Context *context,
   21.56 -+    const char *text,
   21.57 -+    int length,
   21.58 -+    SDLPango_Alignment alignment)
   21.59 -+{
   21.60 -+    pango_layout_set_attributes(context->layout, NULL);
   21.61 -+    pango_layout_set_text (context->layout, text, length);
   21.62 -+    pango_layout_set_auto_dir (context->layout, TRUE);
   21.63 -+    pango_layout_set_alignment (context->layout, alignment);
   21.64 -+    pango_layout_set_font_description (context->layout, context->font_desc);
   21.65 -+}
   21.66 -+
   21.67 - /*!
   21.68 -     Set plain text to context.
   21.69 -     Text must be utf-8.
   21.70 -@@ -1067,11 +1086,7 @@
   21.71 -     const char *text,
   21.72 -     int length)
   21.73 - {
   21.74 --    pango_layout_set_attributes(context->layout, NULL);
   21.75 --    pango_layout_set_text (context->layout, text, length);
   21.76 --    pango_layout_set_auto_dir (context->layout, TRUE);
   21.77 --    pango_layout_set_alignment (context->layout, PANGO_ALIGN_LEFT);
   21.78 --    pango_layout_set_font_description (context->layout, context->font_desc);
   21.79 -+     SDLPango_SetText_GivenAlignment(context, text, length, SDLPANGO_ALIGN_LEFT);
   21.80 - }
   21.81 - 
   21.82 - /*!
   21.83 ---- src/SDL_Pango.h	2004-12-10 10:06:33.000000000 +0100
   21.84 -+++ src/SDL_Pango.h	2006-09-24 22:46:01.000000000 +0200
   21.85 -@@ -109,12 +109,20 @@
   21.86 -     SDLPANGO_DIRECTION_NEUTRAL	/*! Neutral */
   21.87 - } SDLPango_Direction;
   21.88 - 
   21.89 --
   21.90 -+/*!
   21.91 -+    Specifies alignment of text. See Pango reference for detail
   21.92 -+*/
   21.93 -+typedef enum {
   21.94 -+    SDLPANGO_ALIGN_LEFT,
   21.95 -+    SDLPANGO_ALIGN_CENTER,
   21.96 -+    SDLPANGO_ALIGN_RIGHT
   21.97 -+} SDLPango_Alignment;
   21.98 - 
   21.99 - extern DECLSPEC int SDLCALL SDLPango_Init();
  21.100 - 
  21.101 - extern DECLSPEC int SDLCALL SDLPango_WasInit();
  21.102 - 
  21.103 -+extern DECLSPEC SDLPango_Context* SDLCALL SDLPango_CreateContext_GivenFontDesc(const char* font_desc);
  21.104 - extern DECLSPEC SDLPango_Context* SDLCALL SDLPango_CreateContext();
  21.105 - 
  21.106 - extern DECLSPEC void SDLCALL SDLPango_FreeContext(
  21.107 -@@ -157,6 +165,12 @@
  21.108 -     const char *markup,
  21.109 -     int length);
  21.110 - 
  21.111 -+extern DECLSPEC void SDLCALL SDLPango_SetText_GivenAlignment(
  21.112 -+    SDLPango_Context *context,
  21.113 -+    const char *text,
  21.114 -+    int length,
  21.115 -+    SDLPango_Alignment alignment);
  21.116 -+
  21.117 - extern DECLSPEC void SDLCALL SDLPango_SetText(
  21.118 -     SDLPango_Context *context,
  21.119 -     const char *markup,
    22.1 --- a/libsdl-pango/stuff/matrix_declarations.patch	Tue Oct 17 12:19:34 2017 +0200
    22.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    22.3 @@ -1,131 +0,0 @@
    22.4 -Index: SDL_Pango-0.1.2/src/SDL_Pango.c
    22.5 -===================================================================
    22.6 ---- SDL_Pango-0.1.2.orig/src/SDL_Pango.c	2007-09-18 15:03:10.732910311 +0200
    22.7 -+++ SDL_Pango-0.1.2/src/SDL_Pango.c	2007-09-18 15:04:41.970109622 +0200
    22.8 -@@ -286,6 +286,59 @@
    22.9 - } contextImpl;
   22.10 - 
   22.11 - 
   22.12 -+const SDLPango_Matrix _MATRIX_WHITE_BACK
   22.13 -+    = {255, 0, 0, 0,
   22.14 -+       255, 0, 0, 0,
   22.15 -+       255, 0, 0, 0,
   22.16 -+       255, 255, 0, 0,};
   22.17 -+
   22.18 -+/*!
   22.19 -+    Specifies white back and black letter.
   22.20 -+*/
   22.21 -+const SDLPango_Matrix *MATRIX_WHITE_BACK = &_MATRIX_WHITE_BACK;
   22.22 -+
   22.23 -+const SDLPango_Matrix _MATRIX_BLACK_BACK
   22.24 -+    = {0, 255, 0, 0,
   22.25 -+       0, 255, 0, 0,
   22.26 -+       0, 255, 0, 0,
   22.27 -+       255, 255, 0, 0,};
   22.28 -+/*!
   22.29 -+    Specifies black back and white letter.
   22.30 -+*/
   22.31 -+const SDLPango_Matrix *MATRIX_BLACK_BACK = &_MATRIX_BLACK_BACK;
   22.32 -+
   22.33 -+const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_BLACK_LETTER
   22.34 -+    = {0, 0, 0, 0,
   22.35 -+       0, 0, 0, 0,
   22.36 -+       0, 0, 0, 0,
   22.37 -+       0, 255, 0, 0,};
   22.38 -+/*!
   22.39 -+    Specifies transparent back and black letter.
   22.40 -+*/
   22.41 -+const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_BLACK_LETTER = &_MATRIX_TRANSPARENT_BACK_BLACK_LETTER;
   22.42 -+
   22.43 -+const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_WHITE_LETTER
   22.44 -+    = {255, 255, 0, 0,
   22.45 -+       255, 255, 0, 0,
   22.46 -+       255, 255, 0, 0,
   22.47 -+       0, 255, 0, 0,};
   22.48 -+/*!
   22.49 -+    Specifies transparent back and white letter.
   22.50 -+*/
   22.51 -+const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_WHITE_LETTER = &_MATRIX_TRANSPARENT_BACK_WHITE_LETTER;
   22.52 -+
   22.53 -+const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER
   22.54 -+    = {255, 255, 0, 0,
   22.55 -+       255, 255, 0, 0,
   22.56 -+       255, 255, 0, 0,
   22.57 -+       0, 0, 0, 0,};
   22.58 -+/*!
   22.59 -+    Specifies transparent back and transparent letter.
   22.60 -+    This is useful for KARAOKE like rendering.
   22.61 -+*/
   22.62 -+const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER = &_MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER;
   22.63 -+
   22.64 -+
   22.65 - /*!
   22.66 -     Initialize the Glib and Pango API.
   22.67 -     This must be called before using other functions in this library,
   22.68 -Index: SDL_Pango-0.1.2/src/SDL_Pango.h
   22.69 -===================================================================
   22.70 ---- SDL_Pango-0.1.2.orig/src/SDL_Pango.h	2007-09-18 15:03:10.732910311 +0200
   22.71 -+++ SDL_Pango-0.1.2/src/SDL_Pango.h	2007-09-18 15:06:24.919976401 +0200
   22.72 -@@ -47,57 +47,27 @@
   22.73 -     Uint8 m[4][4];  /*! Matrix variables */
   22.74 - } SDLPango_Matrix;
   22.75 - 
   22.76 --const SDLPango_Matrix _MATRIX_WHITE_BACK
   22.77 --    = {255, 0, 0, 0,
   22.78 --       255, 0, 0, 0,
   22.79 --       255, 0, 0, 0,
   22.80 --       255, 255, 0, 0,};
   22.81 --
   22.82 - /*!
   22.83 -     Specifies white back and black letter.
   22.84 - */
   22.85 --const SDLPango_Matrix *MATRIX_WHITE_BACK = &_MATRIX_WHITE_BACK;
   22.86 --
   22.87 --const SDLPango_Matrix _MATRIX_BLACK_BACK
   22.88 --    = {0, 255, 0, 0,
   22.89 --       0, 255, 0, 0,
   22.90 --       0, 255, 0, 0,
   22.91 --       255, 255, 0, 0,};
   22.92 -+extern const SDLPango_Matrix *MATRIX_WHITE_BACK;
   22.93 - /*!
   22.94 -     Specifies black back and white letter.
   22.95 - */
   22.96 --const SDLPango_Matrix *MATRIX_BLACK_BACK = &_MATRIX_BLACK_BACK;
   22.97 --
   22.98 --const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_BLACK_LETTER
   22.99 --    = {0, 0, 0, 0,
  22.100 --       0, 0, 0, 0,
  22.101 --       0, 0, 0, 0,
  22.102 --       0, 255, 0, 0,};
  22.103 -+extern const SDLPango_Matrix *MATRIX_BLACK_BACK;
  22.104 - /*!
  22.105 -     Specifies transparent back and black letter.
  22.106 - */
  22.107 --const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_BLACK_LETTER = &_MATRIX_TRANSPARENT_BACK_BLACK_LETTER;
  22.108 --
  22.109 --const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_WHITE_LETTER
  22.110 --    = {255, 255, 0, 0,
  22.111 --       255, 255, 0, 0,
  22.112 --       255, 255, 0, 0,
  22.113 --       0, 255, 0, 0,};
  22.114 -+extern const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_BLACK_LETTER;
  22.115 - /*!
  22.116 -     Specifies transparent back and white letter.
  22.117 - */
  22.118 --const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_WHITE_LETTER = &_MATRIX_TRANSPARENT_BACK_WHITE_LETTER;
  22.119 --
  22.120 --const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER
  22.121 --    = {255, 255, 0, 0,
  22.122 --       255, 255, 0, 0,
  22.123 --       255, 255, 0, 0,
  22.124 --       0, 0, 0, 0,};
  22.125 -+extern const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_WHITE_LETTER;
  22.126 - /*!
  22.127 -     Specifies transparent back and transparent letter.
  22.128 -     This is useful for KARAOKE like rendering.
  22.129 - */
  22.130 --const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER = &_MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER;
  22.131 -+extern const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER;
  22.132 - 
  22.133 - /*!
  22.134 -     Specifies direction of text. See Pango reference for detail
    23.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.2 +++ b/libsdl-pango/stuff/patches/SDL_Pango-0.1.2-API-adds.patch	Tue Oct 17 13:43:41 2017 +0300
    23.3 @@ -0,0 +1,116 @@
    23.4 +--- a/src/SDL_Pango.c	2004-12-10 10:06:33.000000000 +0100
    23.5 ++++ b/src/SDL_Pango.c	2006-09-24 22:46:24.000000000 +0200
    23.6 +@@ -723,13 +723,8 @@
    23.7 +     SDL_UnlockSurface(surface);
    23.8 + }
    23.9 + 
   23.10 +-/*!
   23.11 +-    Create a context which contains Pango objects.
   23.12 +-
   23.13 +-    @return A pointer to the context as a SDLPango_Context*.
   23.14 +-*/
   23.15 + SDLPango_Context*
   23.16 +-SDLPango_CreateContext()
   23.17 ++SDLPango_CreateContext_GivenFontDesc(const char* font_desc)
   23.18 + {
   23.19 +     SDLPango_Context *context = g_malloc(sizeof(SDLPango_Context));
   23.20 +     G_CONST_RETURN char *charset;
   23.21 +@@ -743,8 +738,7 @@
   23.22 +     pango_context_set_language (context->context, pango_language_from_string (charset));
   23.23 +     pango_context_set_base_dir (context->context, PANGO_DIRECTION_LTR);
   23.24 + 
   23.25 +-    context->font_desc = pango_font_description_from_string(
   23.26 +-	MAKE_FONT_NAME (DEFAULT_FONT_FAMILY, DEFAULT_FONT_SIZE));
   23.27 ++    context->font_desc = pango_font_description_from_string(font_desc);
   23.28 + 
   23.29 +     context->layout = pango_layout_new (context->context);
   23.30 + 
   23.31 +@@ -762,6 +756,17 @@
   23.32 + }
   23.33 + 
   23.34 + /*!
   23.35 ++    Create a context which contains Pango objects.
   23.36 ++
   23.37 ++    @return A pointer to the context as a SDLPango_Context*.
   23.38 ++*/
   23.39 ++SDLPango_Context*
   23.40 ++SDLPango_CreateContext()
   23.41 ++{
   23.42 ++     SDLPango_CreateContext_GivenFontDesc(MAKE_FONT_NAME(DEFAULT_FONT_FAMILY, DEFAULT_FONT_SIZE));
   23.43 ++}
   23.44 ++
   23.45 ++/*!
   23.46 +     Free a context.
   23.47 + 
   23.48 +     @param *context [i/o] Context to be free
   23.49 +@@ -1053,6 +1058,20 @@
   23.50 +     pango_layout_set_font_description (context->layout, context->font_desc);
   23.51 + }
   23.52 + 
   23.53 ++void
   23.54 ++SDLPango_SetText_GivenAlignment(
   23.55 ++    SDLPango_Context *context,
   23.56 ++    const char *text,
   23.57 ++    int length,
   23.58 ++    SDLPango_Alignment alignment)
   23.59 ++{
   23.60 ++    pango_layout_set_attributes(context->layout, NULL);
   23.61 ++    pango_layout_set_text (context->layout, text, length);
   23.62 ++    pango_layout_set_auto_dir (context->layout, TRUE);
   23.63 ++    pango_layout_set_alignment (context->layout, alignment);
   23.64 ++    pango_layout_set_font_description (context->layout, context->font_desc);
   23.65 ++}
   23.66 ++
   23.67 + /*!
   23.68 +     Set plain text to context.
   23.69 +     Text must be utf-8.
   23.70 +@@ -1067,11 +1086,7 @@
   23.71 +     const char *text,
   23.72 +     int length)
   23.73 + {
   23.74 +-    pango_layout_set_attributes(context->layout, NULL);
   23.75 +-    pango_layout_set_text (context->layout, text, length);
   23.76 +-    pango_layout_set_auto_dir (context->layout, TRUE);
   23.77 +-    pango_layout_set_alignment (context->layout, PANGO_ALIGN_LEFT);
   23.78 +-    pango_layout_set_font_description (context->layout, context->font_desc);
   23.79 ++     SDLPango_SetText_GivenAlignment(context, text, length, SDLPANGO_ALIGN_LEFT);
   23.80 + }
   23.81 + 
   23.82 + /*!
   23.83 +--- a/src/SDL_Pango.h	2004-12-10 10:06:33.000000000 +0100
   23.84 ++++ b/src/SDL_Pango.h	2006-09-24 22:46:01.000000000 +0200
   23.85 +@@ -109,12 +109,20 @@
   23.86 +     SDLPANGO_DIRECTION_NEUTRAL	/*! Neutral */
   23.87 + } SDLPango_Direction;
   23.88 + 
   23.89 +-
   23.90 ++/*!
   23.91 ++    Specifies alignment of text. See Pango reference for detail
   23.92 ++*/
   23.93 ++typedef enum {
   23.94 ++    SDLPANGO_ALIGN_LEFT,
   23.95 ++    SDLPANGO_ALIGN_CENTER,
   23.96 ++    SDLPANGO_ALIGN_RIGHT
   23.97 ++} SDLPango_Alignment;
   23.98 + 
   23.99 + extern DECLSPEC int SDLCALL SDLPango_Init();
  23.100 + 
  23.101 + extern DECLSPEC int SDLCALL SDLPango_WasInit();
  23.102 + 
  23.103 ++extern DECLSPEC SDLPango_Context* SDLCALL SDLPango_CreateContext_GivenFontDesc(const char* font_desc);
  23.104 + extern DECLSPEC SDLPango_Context* SDLCALL SDLPango_CreateContext();
  23.105 + 
  23.106 + extern DECLSPEC void SDLCALL SDLPango_FreeContext(
  23.107 +@@ -157,6 +165,12 @@
  23.108 +     const char *markup,
  23.109 +     int length);
  23.110 + 
  23.111 ++extern DECLSPEC void SDLCALL SDLPango_SetText_GivenAlignment(
  23.112 ++    SDLPango_Context *context,
  23.113 ++    const char *text,
  23.114 ++    int length,
  23.115 ++    SDLPango_Alignment alignment);
  23.116 ++
  23.117 + extern DECLSPEC void SDLCALL SDLPango_SetText(
  23.118 +     SDLPango_Context *context,
  23.119 +     const char *markup,
    24.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.2 +++ b/libsdl-pango/stuff/patches/matrix_declarations.patch	Tue Oct 17 13:43:41 2017 +0300
    24.3 @@ -0,0 +1,131 @@
    24.4 +Index: SDL_Pango-0.1.2/src/SDL_Pango.c
    24.5 +===================================================================
    24.6 +--- SDL_Pango-0.1.2.orig/src/SDL_Pango.c	2007-09-18 15:03:10.732910311 +0200
    24.7 ++++ SDL_Pango-0.1.2/src/SDL_Pango.c	2007-09-18 15:04:41.970109622 +0200
    24.8 +@@ -286,6 +286,59 @@
    24.9 + } contextImpl;
   24.10 + 
   24.11 + 
   24.12 ++const SDLPango_Matrix _MATRIX_WHITE_BACK
   24.13 ++    = {255, 0, 0, 0,
   24.14 ++       255, 0, 0, 0,
   24.15 ++       255, 0, 0, 0,
   24.16 ++       255, 255, 0, 0,};
   24.17 ++
   24.18 ++/*!
   24.19 ++    Specifies white back and black letter.
   24.20 ++*/
   24.21 ++const SDLPango_Matrix *MATRIX_WHITE_BACK = &_MATRIX_WHITE_BACK;
   24.22 ++
   24.23 ++const SDLPango_Matrix _MATRIX_BLACK_BACK
   24.24 ++    = {0, 255, 0, 0,
   24.25 ++       0, 255, 0, 0,
   24.26 ++       0, 255, 0, 0,
   24.27 ++       255, 255, 0, 0,};
   24.28 ++/*!
   24.29 ++    Specifies black back and white letter.
   24.30 ++*/
   24.31 ++const SDLPango_Matrix *MATRIX_BLACK_BACK = &_MATRIX_BLACK_BACK;
   24.32 ++
   24.33 ++const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_BLACK_LETTER
   24.34 ++    = {0, 0, 0, 0,
   24.35 ++       0, 0, 0, 0,
   24.36 ++       0, 0, 0, 0,
   24.37 ++       0, 255, 0, 0,};
   24.38 ++/*!
   24.39 ++    Specifies transparent back and black letter.
   24.40 ++*/
   24.41 ++const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_BLACK_LETTER = &_MATRIX_TRANSPARENT_BACK_BLACK_LETTER;
   24.42 ++
   24.43 ++const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_WHITE_LETTER
   24.44 ++    = {255, 255, 0, 0,
   24.45 ++       255, 255, 0, 0,
   24.46 ++       255, 255, 0, 0,
   24.47 ++       0, 255, 0, 0,};
   24.48 ++/*!
   24.49 ++    Specifies transparent back and white letter.
   24.50 ++*/
   24.51 ++const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_WHITE_LETTER = &_MATRIX_TRANSPARENT_BACK_WHITE_LETTER;
   24.52 ++
   24.53 ++const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER
   24.54 ++    = {255, 255, 0, 0,
   24.55 ++       255, 255, 0, 0,
   24.56 ++       255, 255, 0, 0,
   24.57 ++       0, 0, 0, 0,};
   24.58 ++/*!
   24.59 ++    Specifies transparent back and transparent letter.
   24.60 ++    This is useful for KARAOKE like rendering.
   24.61 ++*/
   24.62 ++const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER = &_MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER;
   24.63 ++
   24.64 ++
   24.65 + /*!
   24.66 +     Initialize the Glib and Pango API.
   24.67 +     This must be called before using other functions in this library,
   24.68 +Index: SDL_Pango-0.1.2/src/SDL_Pango.h
   24.69 +===================================================================
   24.70 +--- SDL_Pango-0.1.2.orig/src/SDL_Pango.h	2007-09-18 15:03:10.732910311 +0200
   24.71 ++++ SDL_Pango-0.1.2/src/SDL_Pango.h	2007-09-18 15:06:24.919976401 +0200
   24.72 +@@ -47,57 +47,27 @@
   24.73 +     Uint8 m[4][4];  /*! Matrix variables */
   24.74 + } SDLPango_Matrix;
   24.75 + 
   24.76 +-const SDLPango_Matrix _MATRIX_WHITE_BACK
   24.77 +-    = {255, 0, 0, 0,
   24.78 +-       255, 0, 0, 0,
   24.79 +-       255, 0, 0, 0,
   24.80 +-       255, 255, 0, 0,};
   24.81 +-
   24.82 + /*!
   24.83 +     Specifies white back and black letter.
   24.84 + */
   24.85 +-const SDLPango_Matrix *MATRIX_WHITE_BACK = &_MATRIX_WHITE_BACK;
   24.86 +-
   24.87 +-const SDLPango_Matrix _MATRIX_BLACK_BACK
   24.88 +-    = {0, 255, 0, 0,
   24.89 +-       0, 255, 0, 0,
   24.90 +-       0, 255, 0, 0,
   24.91 +-       255, 255, 0, 0,};
   24.92 ++extern const SDLPango_Matrix *MATRIX_WHITE_BACK;
   24.93 + /*!
   24.94 +     Specifies black back and white letter.
   24.95 + */
   24.96 +-const SDLPango_Matrix *MATRIX_BLACK_BACK = &_MATRIX_BLACK_BACK;
   24.97 +-
   24.98 +-const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_BLACK_LETTER
   24.99 +-    = {0, 0, 0, 0,
  24.100 +-       0, 0, 0, 0,
  24.101 +-       0, 0, 0, 0,
  24.102 +-       0, 255, 0, 0,};
  24.103 ++extern const SDLPango_Matrix *MATRIX_BLACK_BACK;
  24.104 + /*!
  24.105 +     Specifies transparent back and black letter.
  24.106 + */
  24.107 +-const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_BLACK_LETTER = &_MATRIX_TRANSPARENT_BACK_BLACK_LETTER;
  24.108 +-
  24.109 +-const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_WHITE_LETTER
  24.110 +-    = {255, 255, 0, 0,
  24.111 +-       255, 255, 0, 0,
  24.112 +-       255, 255, 0, 0,
  24.113 +-       0, 255, 0, 0,};
  24.114 ++extern const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_BLACK_LETTER;
  24.115 + /*!
  24.116 +     Specifies transparent back and white letter.
  24.117 + */
  24.118 +-const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_WHITE_LETTER = &_MATRIX_TRANSPARENT_BACK_WHITE_LETTER;
  24.119 +-
  24.120 +-const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER
  24.121 +-    = {255, 255, 0, 0,
  24.122 +-       255, 255, 0, 0,
  24.123 +-       255, 255, 0, 0,
  24.124 +-       0, 0, 0, 0,};
  24.125 ++extern const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_WHITE_LETTER;
  24.126 + /*!
  24.127 +     Specifies transparent back and transparent letter.
  24.128 +     This is useful for KARAOKE like rendering.
  24.129 + */
  24.130 +-const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER = &_MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER;
  24.131 ++extern const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER;
  24.132 + 
  24.133 + /*!
  24.134 +     Specifies direction of text. See Pango reference for detail
    25.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    25.2 +++ b/libsdl-pango/stuff/patches/series	Tue Oct 17 13:43:41 2017 +0300
    25.3 @@ -0,0 +1,2 @@
    25.4 +SDL_Pango-0.1.2-API-adds.patch
    25.5 +matrix_declarations.patch
    26.1 --- a/libsdl-ttf-dev/receipt	Tue Oct 17 12:19:34 2017 +0200
    26.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    26.3 @@ -1,22 +0,0 @@
    26.4 -# SliTaz package receipt.
    26.5 -
    26.6 -PACKAGE="libsdl-ttf-dev"
    26.7 -VERSION="2.0.10"
    26.8 -CATEGORY="development"
    26.9 -SHORT_DESC="SDL ttf lib devel files."
   26.10 -MAINTAINER="pankso@slitaz.org"
   26.11 -LICENSE="LGPL2.1"
   26.12 -WANTED="libsdl-ttf"
   26.13 -SOURCE="SDL_ttf"
   26.14 -WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/"
   26.15 -HOST_ARCH="i486 arm"
   26.16 -
   26.17 -DEPENDS="libsdl-ttf"
   26.18 -
   26.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   26.20 -genpkg_rules()
   26.21 -{
   26.22 -	mkdir -p $fs/usr/lib
   26.23 -	cp -a $install/usr/lib/*.a $fs/usr/lib
   26.24 -	cp -a $install/usr/include $fs/usr
   26.25 -}
    27.1 --- a/libsdl-ttf/receipt	Tue Oct 17 12:19:34 2017 +0200
    27.2 +++ b/libsdl-ttf/receipt	Tue Oct 17 13:43:41 2017 +0300
    27.3 @@ -1,30 +1,35 @@
    27.4 -# SliTaz package receipt.
    27.5 +# SliTaz package receipt v2.
    27.6  
    27.7  PACKAGE="libsdl-ttf"
    27.8 -SOURCE="SDL_ttf"
    27.9 -VERSION="2.0.10"
   27.10 +VERSION="2.0.11" # version 1.2.2 the last from 1.2 series, but it need freetype1
   27.11  CATEGORY="x-window"
   27.12 -SHORT_DESC="SDL ttf support."
   27.13 +SHORT_DESC="SDL ttf support"
   27.14  MAINTAINER="pankso@slitaz.org"
   27.15  LICENSE="LGPL2.1"
   27.16 -TARBALL="$SOURCE-$VERSION.tar.gz"
   27.17 -WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/"
   27.18 -WGET_URL="http://www.libsdl.org/projects/SDL_ttf/release/$TARBALL"
   27.19 +WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/release-1.2.html"
   27.20  HOST_ARCH="i486 arm"
   27.21  
   27.22 -DEPENDS="libsdl freetype zlib"
   27.23 +TARBALL="SDL_ttf-$VERSION.tar.gz"
   27.24 +WGET_URL="http://www.libsdl.org/projects/SDL_ttf/release/$TARBALL"
   27.25 +
   27.26  BUILD_DEPENDS="libsdl-dev freetype-dev"
   27.27 +SPLIT="libsdl-ttf-dev"
   27.28  
   27.29 -# Rules to configure and make the package.
   27.30 -compile_rules()
   27.31 -{
   27.32 -	./configure $CONFIGURE_ARGS &&
   27.33 -	make && make install
   27.34 +compile_rules() {
   27.35 +	./configure $CONFIGURE_ARGS && make && make install
   27.36  }
   27.37  
   27.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
   27.39 -genpkg_rules()
   27.40 -{
   27.41 -	mkdir -p $fs/usr/lib
   27.42 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   27.43 +genpkg_rules() {
   27.44 +	case $PACKAGE in
   27.45 +		libsdl-ttf)
   27.46 +			copy @std
   27.47 +			DEPENDS="bzlib freetype glib libharfbuzz libpng16 libsdl pcre \
   27.48 +			zlib"
   27.49 +			;;
   27.50 +		*-dev)
   27.51 +			copy @dev
   27.52 +			DEPENDS="libsdl-ttf bzip2-dev freetype-dev glib-dev harfbuzz-dev \
   27.53 +			libpng16-dev libsdl-dev pcre-dev zlib-dev"
   27.54 +			;;
   27.55 +	esac
   27.56  }
    28.1 --- a/osmo/receipt	Tue Oct 17 12:19:34 2017 +0200
    28.2 +++ b/osmo/receipt	Tue Oct 17 13:43:41 2017 +0300
    28.3 @@ -1,33 +1,29 @@
    28.4 -# SliTaz package receipt.
    28.5 +# SliTaz package receipt v2.
    28.6  
    28.7  PACKAGE="osmo"
    28.8 -VERSION="0.2.12"
    28.9 +VERSION="0.4.0-1"
   28.10  CATEGORY="office"
   28.11 -SHORT_DESC="A handy personal organizer using GTK+."
   28.12 +SHORT_DESC="A handy personal organizer using GTK+"
   28.13  MAINTAINER="pankso@slitaz.org"
   28.14  LICENSE="GPL2"
   28.15 +WEB_SITE="http://clayo.org/osmo/"
   28.16 +
   28.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
   28.18 -WEB_SITE="http://clayo.org/osmo/"
   28.19 -WGET_URL="$SF_MIRROR/$PACKAGE-pim/$TARBALL"
   28.20 -TAGS="office"
   28.21 +WGET_URL="$SF_MIRROR/osmo-pim/$TARBALL"
   28.22  
   28.23 -DEPENDS="gtk+ libxml2 libwebkit xorg-libXdamage libnotify libical"
   28.24 -BUILD_DEPENDS="gtk+ gtk+-dev libwebkit-dev libxml2-dev libnotify-dev libical-dev gettext"
   28.25 +aBUILD_DEPENDS="gtk+ gtk+-dev libwebkit-dev libxml2-dev libnotify-dev libical-dev gettext"
   28.26  
   28.27 -# Rules to configure and make the package.
   28.28 -compile_rules()
   28.29 -{
   28.30 -	sed -i 's/gtkspell-/gtkDISABLEDspell-/' configure
   28.31 -	./configure \
   28.32 -		--prefix=/usr \
   28.33 -		$CONFIGURE_ARGS &&
   28.34 -	make &&
   28.35 -	make DESTDIR=$DESTDIR install
   28.36 +BUILD_DEPENDS="gettext gtk+3-dev libarchive-dev libical-dev gtkspell3-dev \
   28.37 +libnotify-gtk3-dev webkit2gtk-dev"
   28.38 +
   28.39 +compile_rules() {
   28.40 +	./configure $CONFIGURE_ARGS && make && make install
   28.41  }
   28.42  
   28.43 -# Rules to gen a SliTaz package suitable for Tazpkg.
   28.44 -genpkg_rules()
   28.45 -{
   28.46 -	mkdir -p $fs/usr
   28.47 -	cp -a $install/usr/bin $fs/usr
   28.48 +genpkg_rules() {
   28.49 +	copy @std *.mo
   28.50 +	rm -r $fs/usr/share/icons; cook_copy_icons # only 16 and 48
   28.51 +	DEPENDS="atk cairo enchant gdk-pixbuf glib gtk+3 gtkspell3 libarchive \
   28.52 +	libical liblzma libnotify-gtk3 libsoup libxml2 pango webkit2gtk zlib"
   28.53 +	TAGS="office"
   28.54  }