# HG changeset patch # User Christophe Lincoln # Date 1396734453 -7200 # Node ID 8139105f92851398ca412c6cec48f77d0e8da0cc # Parent c0003b8e85c95dcf5b1f8087a6d3251d4c7e773c Up libfm/pcmanfm and aff to ARM arch diff -r c0003b8e85c9 -r 8139105f9285 enca/receipt --- a/enca/receipt Sat Apr 05 21:35:36 2014 +0000 +++ b/enca/receipt Sat Apr 05 23:47:33 2014 +0200 @@ -9,14 +9,16 @@ TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://gitorious.org/enca" WGET_URL="http://dl.cihar.com/enca/$TARBALL" +#HOST_ARCH="i486 arm" # Rules to configure and make the package. compile_rules() { - cd $src + #sed -e "s#./make_hash#./native_make_hash#" -i tools/Makefile.am || exit 1 ./configure \ --prefix=/usr \ --libexecdir=/usr/lib \ + --disable-static \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install diff -r c0003b8e85c9 -r 8139105f9285 gamin/receipt --- a/gamin/receipt Sat Apr 05 21:35:36 2014 +0000 +++ b/gamin/receipt Sat Apr 05 23:47:33 2014 +0200 @@ -9,7 +9,9 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.gnome.org/~veillard/gamin/" WGET_URL="http://www.gnome.org/~veillard/gamin/sources/$TARBALL" -CROSS="error: cannot run test program while cross compiling" + +#HOST_ARCH="i486 arm" +CROSS_BUGS="error: cannot run test program while cross compiling" DEPENDS="glib" BUILD_DEPENDS="pkg-config glib glib-dev gtk+-dev" @@ -17,8 +19,6 @@ # Rules to configure and make the package. compile_rules() { - cd $src - # Don't use deprecated G_CONST_RETURN. Fixes building with newer glib versions. # (gamin v0.1.10) cd server @@ -26,13 +26,15 @@ -i gam_node.c gam_node.h gam_subscription.c gam_subscription.h \ || return 1 cd .. - + + export have_abstract_sockets=yes + export ac_cv_have_abstract_sockets=yes + ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib/gamin \ - --build=$HOST_SYSTEM \ - --host=$HOST_SYSTEM && + $CONFIGURE_ARGS && make && mkdir -p $DESTDIR/usr/include && make -j1 DESTDIR=$DESTDIR install diff -r c0003b8e85c9 -r 8139105f9285 gmpc/receipt --- a/gmpc/receipt Sat Apr 05 21:35:36 2014 +0000 +++ b/gmpc/receipt Sat Apr 05 23:47:33 2014 +0200 @@ -15,9 +15,10 @@ BUILD_DEPENDS="gob2-dev libglade-dev libmpd libmpd-dev curl-dev sqlite-dev \ xorg-libSM-dev libsoup-dev libsexy-dev xcb-util-dev util-linux-uuid-dev" -case $ARCH in +case "$ARCH" in i?86) BUILD_DEPENDS="$BUILD_DEPENDS vala" esac + # Rules to configure and make the package. compile_rules() { ./configure \ diff -r c0003b8e85c9 -r 8139105f9285 libfm-dev/receipt --- a/libfm-dev/receipt Sat Apr 05 21:35:36 2014 +0000 +++ b/libfm-dev/receipt Sat Apr 05 23:47:33 2014 +0200 @@ -1,13 +1,14 @@ # SliTaz package receipt. PACKAGE="libfm-dev" -VERSION="1.1.4" +VERSION="1.2.0" CATEGORY="development" SHORT_DESC="File manager library from LXDE, development files." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" WEB_SITE="http://pcmanfm.sourceforge.net" WANTED="libfm" +HOST_ARCH="i486 arm" DEPENDS="pkg-config" diff -r c0003b8e85c9 -r 8139105f9285 libfm/receipt --- a/libfm/receipt Sat Apr 05 21:35:36 2014 +0000 +++ b/libfm/receipt Sat Apr 05 23:47:33 2014 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="libfm" -VERSION="1.1.4" +VERSION="1.2.0" CATEGORY="system-tools" SHORT_DESC="File manager library from LXDE." MAINTAINER="pankso@slitaz.org" @@ -9,12 +9,22 @@ TARBALL="$PACKAGE-$VERSION.tar.xz" WEB_SITE="http://pcmanfm.sourceforge.net" WGET_URL="$SF_MIRROR/pcmanfm/files/$TARBALL" +HOST_ARCH="i486 arm" DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \ zlib fontconfig freetype gtk+ atk cairo pango pixman menu-cache" -BUILD_DEPENDS="gtk+-dev gamin-dev shared-mime-info intltool dbus-glib-dev \ -dbus-dev startup-notification-dev libxcb-dev xcb-util-dev menu-cache-dev \ -expat-dev vala libgio-dev" +BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \ +libxcb-dev xcb-util-dev menu-cache-dev expat-dev libgio-dev" + +# hand SliTaz arch and cross compilation +case "$SLITAZ_ARCH" in + i?86) DEPENDS="$DEPENDS gamin shared-mime-info" +esac + +case "$ARCH" in + i?86) BUILD_DEPENDS="$BUILD_DEPENDS shared-mime-info-dev intltool \ + gamin-dev vala" +esac # Rules to configure and make the package. compile_rules() diff -r c0003b8e85c9 -r 8139105f9285 mplayer/receipt --- a/mplayer/receipt Sat Apr 05 21:35:36 2014 +0000 +++ b/mplayer/receipt Sat Apr 05 23:47:33 2014 +0200 @@ -12,30 +12,31 @@ WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL" HOST_ARCH="i486 arm" -RELATED="mplayer-codecs mencoder" # Dont forget to update them +# Dont forget to update all related pkgs +RELATED="mplayer-codecs mencoder" DEPENDS="gtk+ cdparanoia-III libmad xorg-libXv libtheora alsa-lib ncurses \ -lame xorg-libXdamage giflib enca lirc xorg-libXxf86vm esound libmng audiofile \ -libvorbis libogg xvidcore x264 zlib xorg-libXss" -BUILD_DEPENDS="gtk+-dev cdparanoia-III-dev libmad-dev xorg-libXv-dev \ -libtheora-dev alsa-lib-dev ncurses-dev lame-dev xorg-libXdamage-dev \ -giflib-dev enca-dev lirc-dev xorg-libXxf86vm-dev esound-dev libmng-dev \ -audiofile-dev x264-dev libogg-dev libvorbis-dev xvidcore-dev zlib-dev \ -xorg-xextproto pkg-config yasm" +lame xorg-libXdamage giflib enca lirc xorg-libXxf86vm esound libmng \ +audiofile libvorbis libogg xvidcore x264 zlib xorg-libXss" +BUILD_DEPENDS="gtk+-dev libmad-dev xorg-libXv-dev libtheora-dev \ +alsa-lib-dev ncurses-dev lame-dev xorg-libXdamage-dev giflib-dev \ +xorg-libXxf86vm-dev esound-dev audiofile-dev libogg-dev libvorbis-dev \ +xvidcore-dev zlib-dev xorg-xextproto pkg-config yasm" # Handle arch package install. Less deps and no GTK gui for ARM case "$SLITAZ_ARCH" in - arm*) DEPENDS="alsa-lib zlib libmad xorg-libXv xorg-libXxf86vm libogg \ -libvorbis libtheora libsdl xvidcore lame esound" ;; + arm*) + DEPENDS="alsa-lib zlib libmad xorg-libXv xorg-libXxf86vm libogg \ + libvorbis libtheora libsdl xvidcore lame esound" ;; esac # Handle cross compilation. Host coreutils-file-* are used case "$ARCH" in i?86) - ARCH_ARGS="--target=i386-linux --enable-gui --disable-sdl" ;; + ARCH_ARGS="--target=i386-linux --disable-sdl" + BUILD_DEPENDS="$BUILD_DEPENDS cdparanoia-III-dev x264-dev enca-dev \ + libmng-dev lirc-dev" ;; arm*) - BUILD_DEPENDS="alsa-lib-dev zlib-dev libmad-dev xorg-libXv-dev \ -xorg-libXxf86vm-dev libogg-dev libvorbis-dev libsdl-dev xvidcore-dev lame-dev \ -libtheora-dev esound-dev" + BUILD_DEPENDS="$BUILD_DEPENDS libsdl-dev" ARCH_ARGS="--target=arm-linux --enable-cross-compile --enable-sdl" ;; esac @@ -66,6 +67,7 @@ --disable-openal \ --disable-faac \ --disable-speex \ + --enable-gui \ ${ARCH_ARGS} && make $MAKEFLAGS && make DESTDIR=$DESTDIR install | sed '/install: strip: .*/'d diff -r c0003b8e85c9 -r 8139105f9285 pcmanfm/receipt --- a/pcmanfm/receipt Sat Apr 05 21:35:36 2014 +0000 +++ b/pcmanfm/receipt Sat Apr 05 23:47:33 2014 +0200 @@ -1,28 +1,33 @@ # SliTaz package receipt. PACKAGE="pcmanfm" -VERSION="1.1.2" +VERSION="1.2.0" CATEGORY="system-tools" SHORT_DESC="Light and easy to use file manager." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" -TARBALL="$PACKAGE-$VERSION.tar.gz" +TARBALL="$PACKAGE-$VERSION.tar.xz" WEB_SITE="http://pcmanfm.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/files/$TARBALL" +HOST_ARCH="i486 arm" +SUGGESTED="gvfs" DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \ -zlib fontconfig freetype gtk+ startup-notification dbus dbus-glib libfm gvfs" -BUILD_DEPENDS="gtk+-dev shared-mime-info intltool dbus-glib-dev dbus-dev \ -startup-notification-dev libxcb-dev xcb-util-dev libfm-dev menu-cache-dev \ -expat-dev" +zlib fontconfig freetype gtk+ startup-notification dbus dbus-glib libfm" +BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \ +libxcb-dev xcb-util-dev libfm-dev menu-cache-dev expat-dev" + +# Handle cross compilation. +case "$ARCH" in + i?86) BUILD_DEPENDS="$BUILD_DEPENDS shared-mime-info intltool gvfs-dev" ;; +esac # Rules to configure and make the package. compile_rules() { # Binutils 2.22 break many packages build without LDFLAGS set correctly. export LDFLAGS="-Wl,--copy-dt-needed-entries" - - cd $src + ./configure $CONFIGURE_ARGS && make && make install } diff -r c0003b8e85c9 -r 8139105f9285 x264/receipt --- a/x264/receipt Sat Apr 05 21:35:36 2014 +0000 +++ b/x264/receipt Sat Apr 05 23:47:33 2014 +0200 @@ -10,20 +10,20 @@ SOURCE="$PACKAGE-snapshot" TARBALL="$SOURCE-$VERSION.tar.bz2" WGET_URL="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/$TARBALL" +#HOST_ARCH="i486 arm" DEPENDS="glibc-base" BUILD_DEPENDS="yasm" # Rules to configure and make the package. - compile_rules() { - cd $src - ./configure --enable-shared && - make && - make DESTDIR=$DESTDIR \ - bindir=/usr/bin \ - libdir=/usr/lib \ - includedir=/usr/include install + ./configure \ + --enable-shared $CONFIGURE_ARGS && + make && make \ + DESTDIR=$DESTDIR \ + bindir=/usr/bin \ + libdir=/usr/lib \ + includedir=/usr/include install } # Rules to gen a SliTaz package suitable for Tazpkg.