# HG changeset patch # User Aleksej Bobylev # Date 1508237021 -10800 # Node ID 595097cb4e40ec96501ca3f4996d7c8d88a20f76 # Parent a8b48af89217405dffc6ebca54410b86ce82b136 Up frogatto, glew, gtkspell3, libsdl-gfx, libsdl-image, libsdl-mixer, libsdl-net, libsdl-pango, libsdl-ttf, osmo. diff -r a8b48af89217 -r 595097cb4e40 frogatto-data/receipt --- a/frogatto-data/receipt Tue Oct 17 12:19:34 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="frogatto-data" -VERSION="1.1.1" -CATEGORY="games" -SHORT_DESC="An old-school 2d platformer game, starring a certain quixotic frog (data files)" -MAINTAINER="gokhlayeh@slitaz.org" -LICENSE="GPL3" -WEB_SITE="http://www.frogatto.com" -WANTED="frogatto" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/games/frogatto - for i in data images music sounds FreeMono.ttf DejaVuSans.ttf; do - cp -a $src/$i $fs/usr/games/frogatto - done -} - diff -r a8b48af89217 -r 595097cb4e40 frogatto/receipt --- a/frogatto/receipt Tue Oct 17 12:19:34 2017 +0200 +++ b/frogatto/receipt Tue Oct 17 13:43:41 2017 +0300 @@ -1,48 +1,43 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="frogatto" -VERSION="1.1.1" +VERSION="1.3.1" CATEGORY="games" -SHORT_DESC="An old-school 2d platformer game, starring a certain quixotic frog." +SHORT_DESC="Frogatto & Friends is an action-adventure game, starring a certain quixotic frog" MAINTAINER="gokhlayeh@slitaz.org" -LICENSE="GPL3" -TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://www.frogatto.com" -WGET_URL="$WEB_SITE/files/$TARBALL" +LICENSE="CC-BY-3 custom" +WEB_SITE="https://frogatto.com/" -DEPENDS="xorg-server mesa glew libsdl libsdl-image libsdl-ttf libsdl-mixer \ -libpng libboost-regex libboost-system libboost-date-time libboost-thread \ -libboost-iostreams frogatto-data" -BUILD_DEPENDS="${DEPENDS/frogatto-data/} ccache xorg-server-dev mesa-dev \ -libsdl-dev libsdl-image-dev libsdl-ttf-dev libsdl-mixer-dev libpng-dev \ -libboost-dev glew-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/frogatto/frogatto/archive/$VERSION.tar.gz" -# Rules to configure and make the package. -compile_rules() -{ - cd $src +BUILD_DEPENDS="xorg-libX11-dev libsdl-dev mesa-dev libglu-mesa-dev glew-dev \ +libsdl-image-dev libpng16-dev zlib-dev libboost-dev libsdl-ttf-dev \ +libsdl-mixer-dev coreutils-file-format ccache" +SPLIT="frogatto-data" - # Frogatto look for multithread libboost (*-mt.so) but we don't use - # them in SliTaz, let's lure it. - for lib in $(ls /usr/lib/libboost*); do - link=$(echo $lib | sed 's/\./-mt./') - ln -s $lib $link - done +compile_rules() { + CXXFLAGS="$CXXFLAGS -std=gnu++98" make game server || return 1 - # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652756#19 - sed -i 's/io_service()/get_io_service()/' $src/src/server.cpp - - make $MAKEFLAGS game server - - # Remove the links previously created. - rm -f /usr/lib/libboost*-mt* + mkdir -p $install/opt/frogatto/ + cp game server *.ttf $install/opt/frogatto/ + cp -r data/ images/ modules/ music/ $install/opt/frogatto + install -Dm 755 $stuff/frogatto $install/usr/bin/frogatto + install -Dm 644 $stuff/frogatto.desktop $install/usr/share/applications/frogatto.desktop + install -Dm 644 $src/images/window-icon.png $install/usr/share/pixmaps/frogatto.png } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/games/frogatto $fs/usr/bin $fs/usr/share/pixmaps - cp -a $src/game $src/server $fs/usr/games/frogatto - cp -a $src/images/window-icon.png $fs/usr/share/pixmaps - cp -a $stuff/frogatto $fs/usr/bin +genpkg_rules() { + case $PACKAGE in + frogatto) + copy game server frogatto frogatto.desktop frogatto.png + DEPENDS="glew libboost-iostreams libboost-regex libboost-system \ + libboost-thread libglu-mesa libpng16 libsdl libsdl-image \ + libsdl-mixer libsdl-ttf mesa xorg-libX11 zlib" + ;; + frogatto-data) + copy data/ images/ modules/ music/ *.ttf + CAT="games|data files" + ;; + esac } diff -r a8b48af89217 -r 595097cb4e40 frogatto/stuff/frogatto --- a/frogatto/stuff/frogatto Tue Oct 17 12:19:34 2017 +0200 +++ b/frogatto/stuff/frogatto Tue Oct 17 13:43:41 2017 +0300 @@ -1,4 +1,4 @@ #!/bin/sh -cd /usr/games/frogatto -exec /usr/games/frogatto/game $* +cd /opt/frogatto +exec /opt/frogatto/game $* diff -r a8b48af89217 -r 595097cb4e40 frogatto/stuff/frogatto.desktop --- a/frogatto/stuff/frogatto.desktop Tue Oct 17 12:19:34 2017 +0200 +++ b/frogatto/stuff/frogatto.desktop Tue Oct 17 13:43:41 2017 +0300 @@ -1,11 +1,7 @@ [Desktop Entry] -Encoding=UTF-8 +Type=Application Name=Frogatto -GenericName=Old-school 2D platformer Comment=Old-school 2D platformer -Exec=/usr/bin/frogatto -Terminal=false -MultipleArgs=false -Type=Application -Icon=window-icon -Categories=Game;ArcadeGame +Exec=frogatto +Icon=frogatto +Categories=Game;ArcadeGame; diff -r a8b48af89217 -r 595097cb4e40 frogatto/stuff/patches/libboost-mt.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/frogatto/stuff/patches/libboost-mt.patch Tue Oct 17 13:43:41 2017 +0300 @@ -0,0 +1,22 @@ +Frogatto look for multithread libboost (*-mt.so) but we don't use them in SliTaz + +--- a/Makefile ++++ b/Makefile +@@ -60,7 +60,7 @@ + $(CCACHE) $(CXX) \ + $(BASE_CXXFLAGS) $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INC) \ + $(objects) -o game \ +- $(LIBS) -lboost_regex-mt -lboost_system-mt -lpthread -fthreadsafe-statics ++ $(LIBS) -lboost_regex -lboost_system -lpthread -fthreadsafe-statics + + # pull in dependency info for *existing* .o files + -include $(objects:.o=.d) +@@ -69,7 +69,7 @@ + $(CCACHE) $(CXX) \ + $(BASE_CXXFLAGS) $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) \ + $(server_objects) -o server \ +- $(LIBS) -lboost_regex-mt -lboost_system-mt -lboost_thread-mt -lboost_iostreams-mt ++ $(LIBS) -lboost_regex -lboost_system -lboost_thread -lboost_iostreams + + clean: + rm -f *.o *.d game diff -r a8b48af89217 -r 595097cb4e40 frogatto/stuff/patches/series --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/frogatto/stuff/patches/series Tue Oct 17 13:43:41 2017 +0300 @@ -0,0 +1,2 @@ +libboost-mt.patch +server.patch diff -r a8b48af89217 -r 595097cb4e40 frogatto/stuff/patches/server.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/frogatto/stuff/patches/server.patch Tue Oct 17 13:43:41 2017 +0300 @@ -0,0 +1,11 @@ +--- a/src/server.cpp ++++ b/src/server.cpp +@@ -174,7 +174,7 @@ + + void handle_udp_receive(udp_endpoint_ptr endpoint, const boost::system::error_code& error, size_t len) + { +- fprintf(stderr, "RECEIVED UDP PACKET: %lu\n", len); ++ fprintf(stderr, "RECEIVED UDP PACKET: %zu\n", len); + if(len >= 5) { + uint32_t id; + memcpy(&id, &udp_buf_[1], 4); diff -r a8b48af89217 -r 595097cb4e40 glew-dev/receipt --- a/glew-dev/receipt Tue Oct 17 12:19:34 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="glew-dev" -VERSION="1.5.8" -CATEGORY="development" -SHORT_DESC="The OpenGL Extension Wrangler Library. (devel files)" -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="MIT BSD" -WEB_SITE="http://glew.sourceforge.net/" -WANTED="glew" - -DEPENDS="glew pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib -} - diff -r a8b48af89217 -r 595097cb4e40 glew/receipt --- a/glew/receipt Tue Oct 17 12:19:34 2017 +0200 +++ b/glew/receipt Tue Oct 17 13:43:41 2017 +0300 @@ -1,38 +1,32 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="glew" -VERSION="1.5.8" +VERSION="2.1.0" CATEGORY="x-window" -SHORT_DESC="The OpenGL Extension Wrangler Library." +SHORT_DESC="The OpenGL Extension Wrangler Library" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT BSD" +WEB_SITE="http://glew.sourceforge.net/" + TARBALL="$PACKAGE-$VERSION.tgz" -WEB_SITE="http://glew.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -DEPENDS="glibc-base libdrm xorg-libX11 xorg-libXau xorg-libXdamage \ -xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm mesa libglu-mesa \ -xorg-libXmu xorg-libXi xorg-libXt xorg-libSM xorg-libICE util-linux-uuid" -BUILD_DEPENDS="glibc-base libdrm xorg-libX11 xorg-libXau xorg-libXdamage \ -xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm \ -xorg-libXmu xorg-libXi xorg-libXt xorg-libSM xorg-libICE util-linux-uuid \ -libdrm-dev xorg-glproto mesa-dev libglu-mesa \ -xorg-damageproto xorg-xproto xorg-fixesproto xorg-xextproto \ -xorg-libX11-dev xorg-libXdamage-dev xorg-libXfixes-dev xorg-libXt-dev \ -xorg-libICE-dev xorg-libSM-dev xorg-xf86vidmodeproto xorg-libXxf86vm-dev" +BUILD_DEPENDS="xorg-libX11-dev mesa-dev" +SPLIT="glew-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src - make && make GLEW_DEST=$DESTDIR/usr install +compile_rules() { + make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + glew) + copy @std + DEPENDS="mesa xorg-libX11" + ;; + *-dev) + copy @dev + DEPENDS="glew libglu-mesa-dev" + ;; + esac } - diff -r a8b48af89217 -r 595097cb4e40 gtkspell3-dev/receipt --- a/gtkspell3-dev/receipt Tue Oct 17 12:19:34 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="gtkspell3-dev" -VERSION="3.0.8" -CATEGORY="development" -SHORT_DESC="On-the-fly spell checking for GtkTextView widgets, development files" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="GPL2" -WEB_SITE="http://gtkspell.sourceforge.net/" -HOST_ARCH="i486 arm" - -WANTED="gtkspell3" -DEPENDS="gtkspell3 glib-dev gtk+3-dev enchant-dev" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/lib/*.*a $fs/usr/lib -} diff -r a8b48af89217 -r 595097cb4e40 gtkspell3/receipt --- a/gtkspell3/receipt Tue Oct 17 12:19:34 2017 +0200 +++ b/gtkspell3/receipt Tue Oct 17 13:43:41 2017 +0300 @@ -1,34 +1,44 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="gtkspell3" -VERSION="3.0.8" +VERSION="3.0.9" CATEGORY="text" SHORT_DESC="On-the-fly spell checking for GtkTextView widgets" MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL2" -TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://gtkspell.sourceforge.net/" -WGET_URL="$SF_MIRROR/gtkspell/$TARBALL" HOST_ARCH="i486 arm" -DEPENDS="enchant gtk+3" -BUILD_DEPENDS="gobject-introspection vala gtk+3-dev enchant-dev gtk-doc" +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="$SF_MIRROR/gtkspell/$TARBALL" -# Rules to configure and make the package. -compile_rules() -{ +BUILD_DEPENDS="gobject-introspection vala intltool gtk+3-dev enchant-dev \ +gtk-doc" +SPLIT="gtkspell3-dev" + +compile_rules() { ./configure $CONFIGURE_ARGS && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $fs/usr/share/locale - cp -a $install/usr/lib/*.so* $fs/usr/lib - - . $WOK/slitaz-i18n/stuff/locale-pack.conf - for i in $LOCALE_PACK; do - [ -d $install/usr/share/locale/$i ] && - cp -a $install/usr/share/locale/$i $fs/usr/share/locale - done +genpkg_rules() { + case $PACKAGE in + gtkspell3) + copy @std *.mo + DEPENDS="atk bzlib cairo enchant fontconfig freetype gdk-pixbuf \ + glib gtk+3 libffi libharfbuzz liblzma libpng16 libxml2 pango pcre \ + util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \ + xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \ + xorg-pixman zlib" + ;; + *-dev) + copy @dev + DEPENDS="gtkspell3 atk-dev bzip2-dev cairo-dev enchant-dev \ + fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev gtk+3-dev \ + harfbuzz-dev libffi-dev libpng16-dev libxml2-dev \ + util-linux-uuid-dev pango-dev pcre-dev util-linux-blkid-dev \ + util-linux-mount-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" + ;; + esac } diff -r a8b48af89217 -r 595097cb4e40 libsdl-gfx-dev/receipt --- a/libsdl-gfx-dev/receipt Tue Oct 17 12:19:34 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libsdl-gfx-dev" -VERSION="2.0.23" -CATEGORY="development" -SHORT_DESC="SDL gfx lib devel files." -MAINTAINER="pankso@slitaz.org" -LICENSE="LGPL" -WANTED="libsdl-gfx" -SOURCE="SDL_gfx" -WEB_SITE="http://www.ferzkopp.net/joomla/content/view/19/14/" - -DEPENDS="libsdl-gfx" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.a $fs/usr/lib - cp -a $install/usr/include $fs/usr -} diff -r a8b48af89217 -r 595097cb4e40 libsdl-gfx/receipt --- a/libsdl-gfx/receipt Tue Oct 17 12:19:34 2017 +0200 +++ b/libsdl-gfx/receipt Tue Oct 17 13:43:41 2017 +0300 @@ -1,28 +1,35 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libsdl-gfx" -SOURCE="SDL_gfx" -VERSION="2.0.23" +VERSION="2.0.26" CATEGORY="x-window" -SHORT_DESC="SDL gfx support." +SHORT_DESC="SDL gfx support" MAINTAINER="pankso@slitaz.org" LICENSE="LGPL" -TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="http://www.ferzkopp.net/joomla/content/view/19/14/" -WGET_URL="http://www.ferzkopp.net/Software/SDL_gfx-${VERSION%.*}/$TARBALL" +WEB_SITE="http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/" -DEPENDS="libsdl" -BUILD_DEPENDS="libsdl-dev" +TARBALL="SDL_gfx-$VERSION.tar.gz" +WGET_URL="http://www.ferzkopp.net/Software/SDL_gfx-2.0/$TARBALL" -# Rules to configure and make the package. -compile_rules() -{ +BUILD_DEPENDS="automake libtool xorg-libX11-dev xorg-libICE-dev libsdl-dev" +SPLIT="libsdl-gfx-dev" + +compile_rules() { + sed -i 's|/usr/local/|/usr/|' autogen.sh + ./autogen.sh && + ./configure $CONFIGURE_ARGS && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + libsdl-gfx) + copy @std + DEPENDS="libsdl" + ;; + *-dev) + copy @dev + DEPENDS="libsdl-gfx libsdl-dev" + ;; + esac } diff -r a8b48af89217 -r 595097cb4e40 libsdl-image-dev/receipt --- a/libsdl-image-dev/receipt Tue Oct 17 12:19:34 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libsdl-image-dev" -VERSION="1.2.10" -CATEGORY="development" -SHORT_DESC="Development files of an image file loading library." -MAINTAINER="chadi.elahmad@gmail.com" -LICENSE="LGPL2.1" -WEB_SITE="http://www.libsdl.org/projects/SDL_image/" -WANTED="libsdl-image" -SOURCE="SDL_image" -HOST_ARCH="i486 arm" - -DEPENDS="libsdl-image libsdl-dev libpng-dev jpeg-dev zlib-dev pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.a $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/pkgconfig $fs/usr/lib -} diff -r a8b48af89217 -r 595097cb4e40 libsdl-image/receipt --- a/libsdl-image/receipt Tue Oct 17 12:19:34 2017 +0200 +++ b/libsdl-image/receipt Tue Oct 17 13:43:41 2017 +0300 @@ -1,31 +1,33 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libsdl-image" -SOURCE="SDL_image" -VERSION="1.2.10" +VERSION="1.2.12" CATEGORY="development" -SHORT_DESC="An image file loading library." +SHORT_DESC="An image file loading library" MAINTAINER="chadi.elahmad@gmail.com" LICENSE="LGPL2.1" -TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="http://www.libsdl.org/projects/SDL_image/" -WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL" +WEB_SITE="http://www.libsdl.org/projects/SDL_image/release-1.2.html" HOST_ARCH="i486 arm" -DEPENDS="libsdl libpng jpeg zlib tiff" -BUILD_DEPENDS="libsdl-dev libpng-dev jpeg-dev zlib-dev tiff-dev" +TARBALL="SDL_image-$VERSION.tar.gz" +WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL" -# Rules to configure and make the package. -compile_rules() -{ - ./configure $CONFIGURE_ARGS \ - LIBS=" -lz " && - make && make install +BUILD_DEPENDS="libsdl-dev libjpeg-turbo-dev libpng16-dev tiff-dev libwebp-dev" +SPLIT="libsdl-image-dev" + +compile_rules() { + ./configure $CONFIGURE_ARGS && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + libsdl-image) + copy @std + DEPENDS="libsdl" + ;; + *-dev) + copy @dev + DEPENDS="libsdl-image libsdl-dev" + ;; + esac } diff -r a8b48af89217 -r 595097cb4e40 libsdl-mixer-dev/receipt --- a/libsdl-mixer-dev/receipt Tue Oct 17 12:19:34 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libsdl-mixer-dev" -VERSION="1.2.11" -CATEGORY="development" -SHORT_DESC="Development files of a multichannel sample and music mixer." -MAINTAINER="chadi.elahmad@gmail.com" -LICENSE="LGPL2.1" -WEB_SITE="http://www.libsdl.org/projects/SDL_mixer/" -WANTED="libsdl-mixer" -SOURCE="SDL_mixer" -HOST_ARCH="i486 arm" - -DEPENDS="libsdl-mixer libsdl-dev libmad-dev libvorbis-dev libogg-dev " - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.a $fs/usr/lib - cp -a $install/usr/include $fs/usr -} - diff -r a8b48af89217 -r 595097cb4e40 libsdl-mixer/receipt --- a/libsdl-mixer/receipt Tue Oct 17 12:19:34 2017 +0200 +++ b/libsdl-mixer/receipt Tue Oct 17 13:43:41 2017 +0300 @@ -1,34 +1,33 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libsdl-mixer" -SOURCE="SDL_mixer" -VERSION="1.2.11" +VERSION="1.2.12" CATEGORY="development" -SHORT_DESC="A multichannel sample and music mixer." +SHORT_DESC="A multichannel sample and music mixer" MAINTAINER="chadi.elahmad@gmail.com" LICENSE="LGPL2.1" -TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="http://www.libsdl.org/projects/SDL_mixer/" -WGET_URL="http://www.libsdl.org/projects/SDL_mixer/release/$TARBALL" +WEB_SITE="http://www.libsdl.org/projects/SDL_mixer/release-1.2.html" HOST_ARCH="i486 arm" -DEPENDS="libsdl libmad libvorbis libogg" -BUILD_DEPENDS="libsdl libsdl-dev libmad-dev libvorbis-dev libogg-dev \ -alsa-lib-dev" +TARBALL="SDL_mixer-$VERSION.tar.gz" +WGET_URL="http://www.libsdl.org/projects/SDL_mixer/release/$TARBALL" -# Rules to configure and make the package. -compile_rules() -{ - ./configure \ - --prefix=/usr \ - --enable-music-mp3-mad \ - $CONFIGURE_ARGS && - make && make install +BUILD_DEPENDS="libsdl-dev fluidsynth-dev libvorbis-dev flac-dev libsmpeg-dev" +SPLIT="libsdl-mixer-dev" + +compile_rules() { + ./configure $CONFIGURE_ARGS && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + libsdl-mixer) + copy @std + DEPENDS="libsdl" + ;; + *-dev) + copy @dev + DEPENDS="libsdl-mixer libsdl-dev" + ;; + esac } diff -r a8b48af89217 -r 595097cb4e40 libsdl-net-dev/receipt --- a/libsdl-net-dev/receipt Tue Oct 17 12:19:34 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libsdl-net-dev" -VERSION="1.2.7" -CATEGORY="development" -SHORT_DESC="SDL net lib devel files." -MAINTAINER="pankso@slitaz.org" -LICENSE="LGPL2.1" -WANTED="libsdl-net" -SOURCE="SDL_net" -WEB_SITE="http://www.libsdl.org/projects/SDL_net/" -HOST_ARCH="i486 arm" - -DEPENDS="libsdl-net" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.a $fs/usr/lib - cp -a $install/usr/include $fs/usr -} diff -r a8b48af89217 -r 595097cb4e40 libsdl-net/receipt --- a/libsdl-net/receipt Tue Oct 17 12:19:34 2017 +0200 +++ b/libsdl-net/receipt Tue Oct 17 13:43:41 2017 +0300 @@ -1,29 +1,33 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libsdl-net" -SOURCE="SDL_net" -VERSION="1.2.7" +VERSION="1.2.8" CATEGORY="x-window" -SHORT_DESC="SDL net support." +SHORT_DESC="SDL net support" MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2.1" -TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="http://www.libsdl.org/projects/SDL_net/" -WGET_URL="http://www.libsdl.org/projects/SDL_net/release/$TARBALL" +WEB_SITE="http://www.libsdl.org/projects/SDL_net/release-1.2.html" HOST_ARCH="i486 arm" -DEPENDS="libsdl" +TARBALL="SDL_net-$VERSION.tar.gz" +WGET_URL="http://www.libsdl.org/projects/SDL_net/release/$TARBALL" + BUILD_DEPENDS="libsdl-dev" +SPLIT="libsdl-net-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./configure $CONFIGURE_ARGS && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + libsdl-net) + copy @std + DEPENDS="libsdl" + ;; + *-dev) + copy @dev + DEPENDS="libsdl-net libsdl-dev" + ;; + esac } diff -r a8b48af89217 -r 595097cb4e40 libsdl-pango/receipt --- a/libsdl-pango/receipt Tue Oct 17 12:19:34 2017 +0200 +++ b/libsdl-pango/receipt Tue Oct 17 13:43:41 2017 +0300 @@ -1,39 +1,42 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libsdl-pango" VERSION="0.1.2" CATEGORY="x-window" -SHORT_DESC="Pango SDL binding." +SHORT_DESC="Pango SDL binding" MAINTAINER="slaxemulator@gmail.com" LICENSE="LGPL2.1" -SOURCE="SDL_Pango" -TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://sdlpango.sourceforge.net/" -WGET_URL="$SF_MIRROR/sdlpango/$TARBALL" HOST_ARCH="i486 arm" -DEPENDS="pango libsdl" -BUILD_DEPENDS="pango-dev libsdl-dev pkg-config libxml2-dev" +TARBALL="SDL_Pango-$VERSION.tar.gz" +WGET_URL="$SF_MIRROR/sdlpango/$TARBALL" -# Handle cross compilation -case "$ARCH" in - arm*) ARCH_MAKE="LIBS=/cross/$ARCH/sysroot/usr/lib" ;; -esac +BUILD_DEPENDS="patch gfortran pango-dev libsdl-dev" +SPLIT="libsdl-pango-dev" -# Rules to configure and make the package. -compile_rules() -{ - patch -Np0 -i $stuff/SDL_Pango-$VERSION-API-adds.patch - patch -Np1 -i $stuff/matrix_declarations.patch - ./configure \ - $CONFIGURE_ARGS && - make ${ARCH_MAKE} && make DESTDIR=$DESTDIR install +compile_rules() { + # Handle cross compilation + case "$ARCH" in + arm*) ARCH_MAKE="LIBS=/cross/$ARCH/sysroot/usr/lib" ;; + esac + + ./configure $CONFIGURE_ARGS && + make $ARCH_MAKE && + make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + libsdl-pango) + copy @std + DEPENDS="fontconfig freetype glib libsdl pango" + ;; + *-dev) + copy @dev + DEPENDS="libsdl-pango bzip2-dev fontconfig-dev freetype-dev \ + glib-dev harfbuzz-dev libffi-dev libpng16-dev libxml2-dev \ + pango-dev pcre-dev xz-dev zlib-dev" + ;; + esac } - diff -r a8b48af89217 -r 595097cb4e40 libsdl-pango/stuff/SDL_Pango-0.1.2-API-adds.patch --- a/libsdl-pango/stuff/SDL_Pango-0.1.2-API-adds.patch Tue Oct 17 12:19:34 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,116 +0,0 @@ ---- src/SDL_Pango.c 2004-12-10 10:06:33.000000000 +0100 -+++ src/SDL_Pango.c 2006-09-24 22:46:24.000000000 +0200 -@@ -723,13 +723,8 @@ - SDL_UnlockSurface(surface); - } - --/*! -- Create a context which contains Pango objects. -- -- @return A pointer to the context as a SDLPango_Context*. --*/ - SDLPango_Context* --SDLPango_CreateContext() -+SDLPango_CreateContext_GivenFontDesc(const char* font_desc) - { - SDLPango_Context *context = g_malloc(sizeof(SDLPango_Context)); - G_CONST_RETURN char *charset; -@@ -743,8 +738,7 @@ - pango_context_set_language (context->context, pango_language_from_string (charset)); - pango_context_set_base_dir (context->context, PANGO_DIRECTION_LTR); - -- context->font_desc = pango_font_description_from_string( -- MAKE_FONT_NAME (DEFAULT_FONT_FAMILY, DEFAULT_FONT_SIZE)); -+ context->font_desc = pango_font_description_from_string(font_desc); - - context->layout = pango_layout_new (context->context); - -@@ -762,6 +756,17 @@ - } - - /*! -+ Create a context which contains Pango objects. -+ -+ @return A pointer to the context as a SDLPango_Context*. -+*/ -+SDLPango_Context* -+SDLPango_CreateContext() -+{ -+ SDLPango_CreateContext_GivenFontDesc(MAKE_FONT_NAME(DEFAULT_FONT_FAMILY, DEFAULT_FONT_SIZE)); -+} -+ -+/*! - Free a context. - - @param *context [i/o] Context to be free -@@ -1053,6 +1058,20 @@ - pango_layout_set_font_description (context->layout, context->font_desc); - } - -+void -+SDLPango_SetText_GivenAlignment( -+ SDLPango_Context *context, -+ const char *text, -+ int length, -+ SDLPango_Alignment alignment) -+{ -+ pango_layout_set_attributes(context->layout, NULL); -+ pango_layout_set_text (context->layout, text, length); -+ pango_layout_set_auto_dir (context->layout, TRUE); -+ pango_layout_set_alignment (context->layout, alignment); -+ pango_layout_set_font_description (context->layout, context->font_desc); -+} -+ - /*! - Set plain text to context. - Text must be utf-8. -@@ -1067,11 +1086,7 @@ - const char *text, - int length) - { -- pango_layout_set_attributes(context->layout, NULL); -- pango_layout_set_text (context->layout, text, length); -- pango_layout_set_auto_dir (context->layout, TRUE); -- pango_layout_set_alignment (context->layout, PANGO_ALIGN_LEFT); -- pango_layout_set_font_description (context->layout, context->font_desc); -+ SDLPango_SetText_GivenAlignment(context, text, length, SDLPANGO_ALIGN_LEFT); - } - - /*! ---- src/SDL_Pango.h 2004-12-10 10:06:33.000000000 +0100 -+++ src/SDL_Pango.h 2006-09-24 22:46:01.000000000 +0200 -@@ -109,12 +109,20 @@ - SDLPANGO_DIRECTION_NEUTRAL /*! Neutral */ - } SDLPango_Direction; - -- -+/*! -+ Specifies alignment of text. See Pango reference for detail -+*/ -+typedef enum { -+ SDLPANGO_ALIGN_LEFT, -+ SDLPANGO_ALIGN_CENTER, -+ SDLPANGO_ALIGN_RIGHT -+} SDLPango_Alignment; - - extern DECLSPEC int SDLCALL SDLPango_Init(); - - extern DECLSPEC int SDLCALL SDLPango_WasInit(); - -+extern DECLSPEC SDLPango_Context* SDLCALL SDLPango_CreateContext_GivenFontDesc(const char* font_desc); - extern DECLSPEC SDLPango_Context* SDLCALL SDLPango_CreateContext(); - - extern DECLSPEC void SDLCALL SDLPango_FreeContext( -@@ -157,6 +165,12 @@ - const char *markup, - int length); - -+extern DECLSPEC void SDLCALL SDLPango_SetText_GivenAlignment( -+ SDLPango_Context *context, -+ const char *text, -+ int length, -+ SDLPango_Alignment alignment); -+ - extern DECLSPEC void SDLCALL SDLPango_SetText( - SDLPango_Context *context, - const char *markup, diff -r a8b48af89217 -r 595097cb4e40 libsdl-pango/stuff/matrix_declarations.patch --- a/libsdl-pango/stuff/matrix_declarations.patch Tue Oct 17 12:19:34 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,131 +0,0 @@ -Index: SDL_Pango-0.1.2/src/SDL_Pango.c -=================================================================== ---- SDL_Pango-0.1.2.orig/src/SDL_Pango.c 2007-09-18 15:03:10.732910311 +0200 -+++ SDL_Pango-0.1.2/src/SDL_Pango.c 2007-09-18 15:04:41.970109622 +0200 -@@ -286,6 +286,59 @@ - } contextImpl; - - -+const SDLPango_Matrix _MATRIX_WHITE_BACK -+ = {255, 0, 0, 0, -+ 255, 0, 0, 0, -+ 255, 0, 0, 0, -+ 255, 255, 0, 0,}; -+ -+/*! -+ Specifies white back and black letter. -+*/ -+const SDLPango_Matrix *MATRIX_WHITE_BACK = &_MATRIX_WHITE_BACK; -+ -+const SDLPango_Matrix _MATRIX_BLACK_BACK -+ = {0, 255, 0, 0, -+ 0, 255, 0, 0, -+ 0, 255, 0, 0, -+ 255, 255, 0, 0,}; -+/*! -+ Specifies black back and white letter. -+*/ -+const SDLPango_Matrix *MATRIX_BLACK_BACK = &_MATRIX_BLACK_BACK; -+ -+const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_BLACK_LETTER -+ = {0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 255, 0, 0,}; -+/*! -+ Specifies transparent back and black letter. -+*/ -+const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_BLACK_LETTER = &_MATRIX_TRANSPARENT_BACK_BLACK_LETTER; -+ -+const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_WHITE_LETTER -+ = {255, 255, 0, 0, -+ 255, 255, 0, 0, -+ 255, 255, 0, 0, -+ 0, 255, 0, 0,}; -+/*! -+ Specifies transparent back and white letter. -+*/ -+const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_WHITE_LETTER = &_MATRIX_TRANSPARENT_BACK_WHITE_LETTER; -+ -+const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER -+ = {255, 255, 0, 0, -+ 255, 255, 0, 0, -+ 255, 255, 0, 0, -+ 0, 0, 0, 0,}; -+/*! -+ Specifies transparent back and transparent letter. -+ This is useful for KARAOKE like rendering. -+*/ -+const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER = &_MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER; -+ -+ - /*! - Initialize the Glib and Pango API. - This must be called before using other functions in this library, -Index: SDL_Pango-0.1.2/src/SDL_Pango.h -=================================================================== ---- SDL_Pango-0.1.2.orig/src/SDL_Pango.h 2007-09-18 15:03:10.732910311 +0200 -+++ SDL_Pango-0.1.2/src/SDL_Pango.h 2007-09-18 15:06:24.919976401 +0200 -@@ -47,57 +47,27 @@ - Uint8 m[4][4]; /*! Matrix variables */ - } SDLPango_Matrix; - --const SDLPango_Matrix _MATRIX_WHITE_BACK -- = {255, 0, 0, 0, -- 255, 0, 0, 0, -- 255, 0, 0, 0, -- 255, 255, 0, 0,}; -- - /*! - Specifies white back and black letter. - */ --const SDLPango_Matrix *MATRIX_WHITE_BACK = &_MATRIX_WHITE_BACK; -- --const SDLPango_Matrix _MATRIX_BLACK_BACK -- = {0, 255, 0, 0, -- 0, 255, 0, 0, -- 0, 255, 0, 0, -- 255, 255, 0, 0,}; -+extern const SDLPango_Matrix *MATRIX_WHITE_BACK; - /*! - Specifies black back and white letter. - */ --const SDLPango_Matrix *MATRIX_BLACK_BACK = &_MATRIX_BLACK_BACK; -- --const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_BLACK_LETTER -- = {0, 0, 0, 0, -- 0, 0, 0, 0, -- 0, 0, 0, 0, -- 0, 255, 0, 0,}; -+extern const SDLPango_Matrix *MATRIX_BLACK_BACK; - /*! - Specifies transparent back and black letter. - */ --const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_BLACK_LETTER = &_MATRIX_TRANSPARENT_BACK_BLACK_LETTER; -- --const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_WHITE_LETTER -- = {255, 255, 0, 0, -- 255, 255, 0, 0, -- 255, 255, 0, 0, -- 0, 255, 0, 0,}; -+extern const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_BLACK_LETTER; - /*! - Specifies transparent back and white letter. - */ --const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_WHITE_LETTER = &_MATRIX_TRANSPARENT_BACK_WHITE_LETTER; -- --const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER -- = {255, 255, 0, 0, -- 255, 255, 0, 0, -- 255, 255, 0, 0, -- 0, 0, 0, 0,}; -+extern const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_WHITE_LETTER; - /*! - Specifies transparent back and transparent letter. - This is useful for KARAOKE like rendering. - */ --const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER = &_MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER; -+extern const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER; - - /*! - Specifies direction of text. See Pango reference for detail diff -r a8b48af89217 -r 595097cb4e40 libsdl-pango/stuff/patches/SDL_Pango-0.1.2-API-adds.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libsdl-pango/stuff/patches/SDL_Pango-0.1.2-API-adds.patch Tue Oct 17 13:43:41 2017 +0300 @@ -0,0 +1,116 @@ +--- a/src/SDL_Pango.c 2004-12-10 10:06:33.000000000 +0100 ++++ b/src/SDL_Pango.c 2006-09-24 22:46:24.000000000 +0200 +@@ -723,13 +723,8 @@ + SDL_UnlockSurface(surface); + } + +-/*! +- Create a context which contains Pango objects. +- +- @return A pointer to the context as a SDLPango_Context*. +-*/ + SDLPango_Context* +-SDLPango_CreateContext() ++SDLPango_CreateContext_GivenFontDesc(const char* font_desc) + { + SDLPango_Context *context = g_malloc(sizeof(SDLPango_Context)); + G_CONST_RETURN char *charset; +@@ -743,8 +738,7 @@ + pango_context_set_language (context->context, pango_language_from_string (charset)); + pango_context_set_base_dir (context->context, PANGO_DIRECTION_LTR); + +- context->font_desc = pango_font_description_from_string( +- MAKE_FONT_NAME (DEFAULT_FONT_FAMILY, DEFAULT_FONT_SIZE)); ++ context->font_desc = pango_font_description_from_string(font_desc); + + context->layout = pango_layout_new (context->context); + +@@ -762,6 +756,17 @@ + } + + /*! ++ Create a context which contains Pango objects. ++ ++ @return A pointer to the context as a SDLPango_Context*. ++*/ ++SDLPango_Context* ++SDLPango_CreateContext() ++{ ++ SDLPango_CreateContext_GivenFontDesc(MAKE_FONT_NAME(DEFAULT_FONT_FAMILY, DEFAULT_FONT_SIZE)); ++} ++ ++/*! + Free a context. + + @param *context [i/o] Context to be free +@@ -1053,6 +1058,20 @@ + pango_layout_set_font_description (context->layout, context->font_desc); + } + ++void ++SDLPango_SetText_GivenAlignment( ++ SDLPango_Context *context, ++ const char *text, ++ int length, ++ SDLPango_Alignment alignment) ++{ ++ pango_layout_set_attributes(context->layout, NULL); ++ pango_layout_set_text (context->layout, text, length); ++ pango_layout_set_auto_dir (context->layout, TRUE); ++ pango_layout_set_alignment (context->layout, alignment); ++ pango_layout_set_font_description (context->layout, context->font_desc); ++} ++ + /*! + Set plain text to context. + Text must be utf-8. +@@ -1067,11 +1086,7 @@ + const char *text, + int length) + { +- pango_layout_set_attributes(context->layout, NULL); +- pango_layout_set_text (context->layout, text, length); +- pango_layout_set_auto_dir (context->layout, TRUE); +- pango_layout_set_alignment (context->layout, PANGO_ALIGN_LEFT); +- pango_layout_set_font_description (context->layout, context->font_desc); ++ SDLPango_SetText_GivenAlignment(context, text, length, SDLPANGO_ALIGN_LEFT); + } + + /*! +--- a/src/SDL_Pango.h 2004-12-10 10:06:33.000000000 +0100 ++++ b/src/SDL_Pango.h 2006-09-24 22:46:01.000000000 +0200 +@@ -109,12 +109,20 @@ + SDLPANGO_DIRECTION_NEUTRAL /*! Neutral */ + } SDLPango_Direction; + +- ++/*! ++ Specifies alignment of text. See Pango reference for detail ++*/ ++typedef enum { ++ SDLPANGO_ALIGN_LEFT, ++ SDLPANGO_ALIGN_CENTER, ++ SDLPANGO_ALIGN_RIGHT ++} SDLPango_Alignment; + + extern DECLSPEC int SDLCALL SDLPango_Init(); + + extern DECLSPEC int SDLCALL SDLPango_WasInit(); + ++extern DECLSPEC SDLPango_Context* SDLCALL SDLPango_CreateContext_GivenFontDesc(const char* font_desc); + extern DECLSPEC SDLPango_Context* SDLCALL SDLPango_CreateContext(); + + extern DECLSPEC void SDLCALL SDLPango_FreeContext( +@@ -157,6 +165,12 @@ + const char *markup, + int length); + ++extern DECLSPEC void SDLCALL SDLPango_SetText_GivenAlignment( ++ SDLPango_Context *context, ++ const char *text, ++ int length, ++ SDLPango_Alignment alignment); ++ + extern DECLSPEC void SDLCALL SDLPango_SetText( + SDLPango_Context *context, + const char *markup, diff -r a8b48af89217 -r 595097cb4e40 libsdl-pango/stuff/patches/matrix_declarations.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libsdl-pango/stuff/patches/matrix_declarations.patch Tue Oct 17 13:43:41 2017 +0300 @@ -0,0 +1,131 @@ +Index: SDL_Pango-0.1.2/src/SDL_Pango.c +=================================================================== +--- SDL_Pango-0.1.2.orig/src/SDL_Pango.c 2007-09-18 15:03:10.732910311 +0200 ++++ SDL_Pango-0.1.2/src/SDL_Pango.c 2007-09-18 15:04:41.970109622 +0200 +@@ -286,6 +286,59 @@ + } contextImpl; + + ++const SDLPango_Matrix _MATRIX_WHITE_BACK ++ = {255, 0, 0, 0, ++ 255, 0, 0, 0, ++ 255, 0, 0, 0, ++ 255, 255, 0, 0,}; ++ ++/*! ++ Specifies white back and black letter. ++*/ ++const SDLPango_Matrix *MATRIX_WHITE_BACK = &_MATRIX_WHITE_BACK; ++ ++const SDLPango_Matrix _MATRIX_BLACK_BACK ++ = {0, 255, 0, 0, ++ 0, 255, 0, 0, ++ 0, 255, 0, 0, ++ 255, 255, 0, 0,}; ++/*! ++ Specifies black back and white letter. ++*/ ++const SDLPango_Matrix *MATRIX_BLACK_BACK = &_MATRIX_BLACK_BACK; ++ ++const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_BLACK_LETTER ++ = {0, 0, 0, 0, ++ 0, 0, 0, 0, ++ 0, 0, 0, 0, ++ 0, 255, 0, 0,}; ++/*! ++ Specifies transparent back and black letter. ++*/ ++const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_BLACK_LETTER = &_MATRIX_TRANSPARENT_BACK_BLACK_LETTER; ++ ++const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_WHITE_LETTER ++ = {255, 255, 0, 0, ++ 255, 255, 0, 0, ++ 255, 255, 0, 0, ++ 0, 255, 0, 0,}; ++/*! ++ Specifies transparent back and white letter. ++*/ ++const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_WHITE_LETTER = &_MATRIX_TRANSPARENT_BACK_WHITE_LETTER; ++ ++const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER ++ = {255, 255, 0, 0, ++ 255, 255, 0, 0, ++ 255, 255, 0, 0, ++ 0, 0, 0, 0,}; ++/*! ++ Specifies transparent back and transparent letter. ++ This is useful for KARAOKE like rendering. ++*/ ++const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER = &_MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER; ++ ++ + /*! + Initialize the Glib and Pango API. + This must be called before using other functions in this library, +Index: SDL_Pango-0.1.2/src/SDL_Pango.h +=================================================================== +--- SDL_Pango-0.1.2.orig/src/SDL_Pango.h 2007-09-18 15:03:10.732910311 +0200 ++++ SDL_Pango-0.1.2/src/SDL_Pango.h 2007-09-18 15:06:24.919976401 +0200 +@@ -47,57 +47,27 @@ + Uint8 m[4][4]; /*! Matrix variables */ + } SDLPango_Matrix; + +-const SDLPango_Matrix _MATRIX_WHITE_BACK +- = {255, 0, 0, 0, +- 255, 0, 0, 0, +- 255, 0, 0, 0, +- 255, 255, 0, 0,}; +- + /*! + Specifies white back and black letter. + */ +-const SDLPango_Matrix *MATRIX_WHITE_BACK = &_MATRIX_WHITE_BACK; +- +-const SDLPango_Matrix _MATRIX_BLACK_BACK +- = {0, 255, 0, 0, +- 0, 255, 0, 0, +- 0, 255, 0, 0, +- 255, 255, 0, 0,}; ++extern const SDLPango_Matrix *MATRIX_WHITE_BACK; + /*! + Specifies black back and white letter. + */ +-const SDLPango_Matrix *MATRIX_BLACK_BACK = &_MATRIX_BLACK_BACK; +- +-const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_BLACK_LETTER +- = {0, 0, 0, 0, +- 0, 0, 0, 0, +- 0, 0, 0, 0, +- 0, 255, 0, 0,}; ++extern const SDLPango_Matrix *MATRIX_BLACK_BACK; + /*! + Specifies transparent back and black letter. + */ +-const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_BLACK_LETTER = &_MATRIX_TRANSPARENT_BACK_BLACK_LETTER; +- +-const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_WHITE_LETTER +- = {255, 255, 0, 0, +- 255, 255, 0, 0, +- 255, 255, 0, 0, +- 0, 255, 0, 0,}; ++extern const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_BLACK_LETTER; + /*! + Specifies transparent back and white letter. + */ +-const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_WHITE_LETTER = &_MATRIX_TRANSPARENT_BACK_WHITE_LETTER; +- +-const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER +- = {255, 255, 0, 0, +- 255, 255, 0, 0, +- 255, 255, 0, 0, +- 0, 0, 0, 0,}; ++extern const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_WHITE_LETTER; + /*! + Specifies transparent back and transparent letter. + This is useful for KARAOKE like rendering. + */ +-const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER = &_MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER; ++extern const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER; + + /*! + Specifies direction of text. See Pango reference for detail diff -r a8b48af89217 -r 595097cb4e40 libsdl-pango/stuff/patches/series --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libsdl-pango/stuff/patches/series Tue Oct 17 13:43:41 2017 +0300 @@ -0,0 +1,2 @@ +SDL_Pango-0.1.2-API-adds.patch +matrix_declarations.patch diff -r a8b48af89217 -r 595097cb4e40 libsdl-ttf-dev/receipt --- a/libsdl-ttf-dev/receipt Tue Oct 17 12:19:34 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libsdl-ttf-dev" -VERSION="2.0.10" -CATEGORY="development" -SHORT_DESC="SDL ttf lib devel files." -MAINTAINER="pankso@slitaz.org" -LICENSE="LGPL2.1" -WANTED="libsdl-ttf" -SOURCE="SDL_ttf" -WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/" -HOST_ARCH="i486 arm" - -DEPENDS="libsdl-ttf" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.a $fs/usr/lib - cp -a $install/usr/include $fs/usr -} diff -r a8b48af89217 -r 595097cb4e40 libsdl-ttf/receipt --- a/libsdl-ttf/receipt Tue Oct 17 12:19:34 2017 +0200 +++ b/libsdl-ttf/receipt Tue Oct 17 13:43:41 2017 +0300 @@ -1,30 +1,35 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libsdl-ttf" -SOURCE="SDL_ttf" -VERSION="2.0.10" +VERSION="2.0.11" # version 1.2.2 the last from 1.2 series, but it need freetype1 CATEGORY="x-window" -SHORT_DESC="SDL ttf support." +SHORT_DESC="SDL ttf support" MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2.1" -TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/" -WGET_URL="http://www.libsdl.org/projects/SDL_ttf/release/$TARBALL" +WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/release-1.2.html" HOST_ARCH="i486 arm" -DEPENDS="libsdl freetype zlib" +TARBALL="SDL_ttf-$VERSION.tar.gz" +WGET_URL="http://www.libsdl.org/projects/SDL_ttf/release/$TARBALL" + BUILD_DEPENDS="libsdl-dev freetype-dev" +SPLIT="libsdl-ttf-dev" -# Rules to configure and make the package. -compile_rules() -{ - ./configure $CONFIGURE_ARGS && - make && make install +compile_rules() { + ./configure $CONFIGURE_ARGS && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + libsdl-ttf) + copy @std + DEPENDS="bzlib freetype glib libharfbuzz libpng16 libsdl pcre \ + zlib" + ;; + *-dev) + copy @dev + DEPENDS="libsdl-ttf bzip2-dev freetype-dev glib-dev harfbuzz-dev \ + libpng16-dev libsdl-dev pcre-dev zlib-dev" + ;; + esac } diff -r a8b48af89217 -r 595097cb4e40 osmo/receipt --- a/osmo/receipt Tue Oct 17 12:19:34 2017 +0200 +++ b/osmo/receipt Tue Oct 17 13:43:41 2017 +0300 @@ -1,33 +1,29 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="osmo" -VERSION="0.2.12" +VERSION="0.4.0-1" CATEGORY="office" -SHORT_DESC="A handy personal organizer using GTK+." +SHORT_DESC="A handy personal organizer using GTK+" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://clayo.org/osmo/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://clayo.org/osmo/" -WGET_URL="$SF_MIRROR/$PACKAGE-pim/$TARBALL" -TAGS="office" +WGET_URL="$SF_MIRROR/osmo-pim/$TARBALL" -DEPENDS="gtk+ libxml2 libwebkit xorg-libXdamage libnotify libical" -BUILD_DEPENDS="gtk+ gtk+-dev libwebkit-dev libxml2-dev libnotify-dev libical-dev gettext" +aBUILD_DEPENDS="gtk+ gtk+-dev libwebkit-dev libxml2-dev libnotify-dev libical-dev gettext" -# Rules to configure and make the package. -compile_rules() -{ - sed -i 's/gtkspell-/gtkDISABLEDspell-/' configure - ./configure \ - --prefix=/usr \ - $CONFIGURE_ARGS && - make && - make DESTDIR=$DESTDIR install +BUILD_DEPENDS="gettext gtk+3-dev libarchive-dev libical-dev gtkspell3-dev \ +libnotify-gtk3-dev webkit2gtk-dev" + +compile_rules() { + ./configure $CONFIGURE_ARGS && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr +genpkg_rules() { + copy @std *.mo + rm -r $fs/usr/share/icons; cook_copy_icons # only 16 and 48 + DEPENDS="atk cairo enchant gdk-pixbuf glib gtk+3 gtkspell3 libarchive \ + libical liblzma libnotify-gtk3 libsoup libxml2 pango webkit2gtk zlib" + TAGS="office" }