# HG changeset patch # User Christophe Lincoln # Date 1394927078 -3600 # Node ID d67887b74cbbc6dc1d76c43d7d9fa704cd77f493 # Parent 53082fab5f1e623e5425586a7d412c6e48a1e25e ARM: add the fox toolkit (so we have a few gui apps untils GTK cross compile) and fix libsdl bdeps diff -r 53082fab5f1e -r d67887b74cbb adie/receipt --- a/adie/receipt Sun Mar 16 00:22:05 2014 +0100 +++ b/adie/receipt Sun Mar 16 00:44:38 2014 +0100 @@ -9,6 +9,7 @@ WANTED="fox" WEB_SITE="http://www.fox-toolkit.org/" TAGS="text-editor" +HOST_ARCH="i486 arm" DEPENDS="fox" diff -r 53082fab5f1e -r d67887b74cbb calculator/receipt --- a/calculator/receipt Sun Mar 16 00:22:05 2014 +0100 +++ b/calculator/receipt Sun Mar 16 00:44:38 2014 +0100 @@ -9,6 +9,7 @@ WANTED="fox" WEB_SITE="http://www.fox-toolkit.org/" TAGS="calculator" +HOST_ARCH="i486 arm" DEPENDS="fox" diff -r 53082fab5f1e -r d67887b74cbb fltk/receipt --- a/fltk/receipt Sun Mar 16 00:22:05 2014 +0100 +++ b/fltk/receipt Sun Mar 16 00:44:38 2014 +0100 @@ -15,7 +15,7 @@ xorg-libXext xorg-libXft xorg-libXrender zlib libpng gcc-lib-base mesa libglu-mesa" BUILD_DEPENDS="jpeg-dev libpng-dev libglu-mesa libglu-mesa-dev mesa mesa-dev" -# Handle cross compilation. Host coreutils-file-* are used +# Handle cross compilation. case "$ARCH" in arm) BUILD_DEPENDS="jpeg-dev libpng-dev xorg-libXft-dev" ;; esac diff -r 53082fab5f1e -r d67887b74cbb fox-dev/receipt --- a/fox-dev/receipt Sun Mar 16 00:22:05 2014 +0100 +++ b/fox-dev/receipt Sun Mar 16 00:44:38 2014 +0100 @@ -8,6 +8,7 @@ LICENSE="LGPL2.1" WANTED="fox" WEB_SITE="http://www.fox-toolkit.org/" +HOST_ARCH="i486 arm" DEPENDS="fox pkg-config" diff -r 53082fab5f1e -r d67887b74cbb fox/receipt --- a/fox/receipt Sun Mar 16 00:22:05 2014 +0100 +++ b/fox/receipt Sun Mar 16 00:44:38 2014 +0100 @@ -7,28 +7,44 @@ MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2.1" TARBALL="$PACKAGE-$VERSION.tar.gz" -SUGGESTED="adie calculator pathfinder shutterbug" WEB_SITE="http://www.fox-toolkit.org/" WGET_URL="http://ftp.fox-toolkit.org/pub/$TARBALL" +HOST_ARCH="i486 arm" +SUGGESTED="adie calculator pathfinder shutterbug" DEPENDS="libpng jpeg tiff xorg-libXft bzlib mesa libglu-mesa xorg-libXcursor \ xorg-libXrandr xorg-libXxf86vm xorg-libXdamage libdrm jbigkit" -BUILD_DEPENDS="$DEPENDS libpng-dev jpeg-dev tiff-dev xorg-libXft-dev mesa-dev \ +BUILD_DEPENDS="libpng-dev jpeg-dev tiff-dev xorg-libXft-dev mesa-dev \ libglu-mesa-dev freetype-dev fontconfig-dev expat-dev libxml2-dev" +# Handle SliTaz arch. +case "$SLITAZ_ARCH" in + arm) BUILD_DEPENDS="libjpeg libpng tiff xorg-libXft" ;; +esac + +# Handle cross compilation. +case "$ARCH" in + arm) + BUILD_DEPENDS="jpeg-dev libpng-dev tiff-dev xorg-libXft-dev" + ARCH_ARGS="--with-opengl=no" ;; +esac + # Rules to configure and make the package. compile_rules() { - cd $src ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ --with-xft \ - $CONFIGURE_ARGS && + $CONFIGURE_ARGS $ARCH_ARGS && make $MAKEFLAGS && make DESTDIR=$DESTDIR install } +testsuite() { + readelf -h $install/usr/bin/adie || exit 1 +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 53082fab5f1e -r d67887b74cbb libsdl/receipt --- a/libsdl/receipt Sun Mar 16 00:22:05 2014 +0100 +++ b/libsdl/receipt Sun Mar 16 00:44:38 2014 +0100 @@ -13,7 +13,13 @@ HOST_ARCH="i486 arm" DEPENDS="xorg-libXext xorg-libXrender xorg-libX11" -BUILD_DEPENDS="libglu-mesa mesa-dev xorg-libXt-dev xorg-libXext-dev xorg-libXrender-dev xorg-libX11-dev" +BUILD_DEPENDS="libglu-mesa mesa-dev xorg-libXt-dev xorg-libXext-dev \ +xorg-libXrender-dev xorg-libX11-dev" + +# Handle cross compilation. + arm) BUILD_DEPENDS="xorg-libXt-dev xorg-libXext-dev xorg-libXrender-dev \ +xorg-libX11-dev" ;; +esac # Rules to configure and make the package. compile_rules() diff -r 53082fab5f1e -r d67887b74cbb pathfinder/receipt --- a/pathfinder/receipt Sun Mar 16 00:22:05 2014 +0100 +++ b/pathfinder/receipt Sun Mar 16 00:44:38 2014 +0100 @@ -8,6 +8,7 @@ LICENSE="LGPL2.1" WANTED="fox" WEB_SITE="http://www.fox-toolkit.org/" +HOST_ARCH="i486 arm" DEPENDS="fox" diff -r 53082fab5f1e -r d67887b74cbb shutterbug/receipt --- a/shutterbug/receipt Sun Mar 16 00:22:05 2014 +0100 +++ b/shutterbug/receipt Sun Mar 16 00:44:38 2014 +0100 @@ -8,6 +8,7 @@ LICENSE="LGPL2.1" WANTED="fox" WEB_SITE="http://www.fox-toolkit.org/" +HOST_ARCH="i486 arm" DEPENDS="fox"