wok-6.x rev 16129

ARM: add dbus-glib, xorg-libXi, xorg-xinput
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 25 21:54:28 2014 +0100 (2014-03-25)
parents 931cc33c1988
children 0efad4f40bd9
files dbus-glib-dev/receipt dbus-glib/receipt dbus-glib/stuff/dbus-glib.patch dbus-glib/stuff/dbus.patch xorg-libXi-dev/receipt xorg-libXi/receipt xorg-xinput/receipt
line diff
     1.1 --- a/dbus-glib-dev/receipt	Tue Mar 25 17:10:50 2014 +0100
     1.2 +++ b/dbus-glib-dev/receipt	Tue Mar 25 21:54:28 2014 +0100
     1.3 @@ -8,6 +8,7 @@
     1.4  MAINTAINER="pankso@slitaz.org"
     1.5  LICENSE="GPL2"
     1.6  WEB_SITE="http://freedesktop.org/wiki/Software/DBusBindings"
     1.7 +HOST_ARCH="i486 arm"
     1.8  
     1.9  DEPENDS="dbus-glib dbus-dev glib-dev pkg-config"
    1.10  
     2.1 --- a/dbus-glib/receipt	Tue Mar 25 17:10:50 2014 +0100
     2.2 +++ b/dbus-glib/receipt	Tue Mar 25 21:54:28 2014 +0100
     2.3 @@ -9,20 +9,27 @@
     2.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     2.5  WEB_SITE="http://freedesktop.org/wiki/Software/DBusBindings"
     2.6  WGET_URL="http://dbus.freedesktop.org/releases/dbus-glib/$TARBALL"
     2.7 -CROSS="bug: can not run test program"
     2.8 +HOST_ARCH="i486 arm"
     2.9  
    2.10  DEPENDS="dbus libgio expat"
    2.11 -BUILD_DEPENDS="dbus-dev glib-dev libgio-dev expat-dev \
    2.12 -pkg-config gettext"
    2.13 +BUILD_DEPENDS="dbus-dev glib-dev libgio-dev expat-dev pkg-config gettext"
    2.14 +
    2.15 +# Handle cross compilation. Host pkg-config/gettext are used
    2.16 +case "$ARCH" in
    2.17 +	arm*) 
    2.18 +		BUILD_DEPENDS="dbus-dev glib-dev libgio-dev expat-dev" 
    2.19 +		export ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes} ;;
    2.20 +esac
    2.21  
    2.22  # Rules to configure and make the package.
    2.23  compile_rules()
    2.24  {
    2.25 -	cd $src
    2.26 -	./configure \
    2.27 -		--prefix=/usr \
    2.28 -		--build=$HOST_SYSTEM \
    2.29 -		--host=$HOST_SYSTEM &&
    2.30 +	./configure $CONFIGURE_ARGS &&
    2.31 +	case "$ARCH" in
    2.32 +		arm)
    2.33 +			patch -p1 < $stuff/dbus-glib.patch &&
    2.34 +			patch -p0 < $stuff/dbus.patch ;;
    2.35 +	esac &&
    2.36  	make && make install
    2.37  }
    2.38  
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/dbus-glib/stuff/dbus-glib.patch	Tue Mar 25 21:54:28 2014 +0100
     3.3 @@ -0,0 +1,13 @@
     3.4 +--- a/Makefile
     3.5 ++++ b/Makefile
     3.6 +@@ -320,8 +320,8 @@
     3.7 + top_srcdir = .
     3.8 + ACLOCAL_AMFLAGS = -I m4
     3.9 + GLIB_PC = dbus-glib-1.pc
    3.10 +-SUBDIRS = dbus tools test doc
    3.11 +-DIST_SUBDIRS = dbus tools test doc m4
    3.12 ++SUBDIRS = dbus test doc
    3.13 ++DIST_SUBDIRS = dbus test doc m4
    3.14 + pkgconfigdir = $(libdir)/pkgconfig
    3.15 + pkgconfig_DATA = $(GLIB_PC)
    3.16 + DISTCLEANFILES = \
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/dbus-glib/stuff/dbus.patch	Tue Mar 25 21:54:28 2014 +0100
     4.3 @@ -0,0 +1,11 @@
     4.4 +--- dbus/Makefile
     4.5 ++++ dbus/Makefile
     4.6 +@@ -354,7 +354,7 @@
     4.7 + top_build_prefix = ../
     4.8 + top_builddir = ..
     4.9 + top_srcdir = ..
    4.10 +-SUBDIRS = . examples
    4.11 ++SUBDIRS = . #examples
    4.12 + INCLUDES = \
    4.13 + 	-I$(top_srcdir)						\
    4.14 + 	-I$(top_builddir)					\
     5.1 --- a/xorg-libXi-dev/receipt	Tue Mar 25 17:10:50 2014 +0100
     5.2 +++ b/xorg-libXi-dev/receipt	Tue Mar 25 21:54:28 2014 +0100
     5.3 @@ -7,6 +7,7 @@
     5.4  MAINTAINER="pankso@slitaz.org"
     5.5  LICENSE="other"
     5.6  WEB_SITE="http://www.x.org/"
     5.7 +HOST_ARCH="i486 arm"
     5.8  
     5.9  WANTED="xorg-libXi"
    5.10  DEPENDS="xorg-libXi xorg-libXext-dev xorg-libXfixes-dev pkg-config"
    5.11 @@ -18,7 +19,6 @@
    5.12  		$fs/usr/share/licenses \
    5.13  		$fs/usr/lib
    5.14  	cp -a $src/COPYING $fs/usr/share/licenses/${PACKAGE%-dev}.txt
    5.15 -
    5.16  	cp -a $install/usr/include $fs/usr
    5.17  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    5.18  	cp -a $install/usr/lib/*.la $fs/usr/lib
     6.1 --- a/xorg-libXi/receipt	Tue Mar 25 17:10:50 2014 +0100
     6.2 +++ b/xorg-libXi/receipt	Tue Mar 25 21:54:28 2014 +0100
     6.3 @@ -10,6 +10,7 @@
     6.4  TARBALL="$SOURCE-$VERSION.tar.bz2"
     6.5  WEB_SITE="http://www.x.org/"
     6.6  WGET_URL="$XORG_MIRROR/lib/$TARBALL"
     6.7 +HOST_ARCH="i486 arm"
     6.8  
     6.9  DEPENDS="xorg-libXext"
    6.10  BUILD_DEPENDS="xorg-libXext-dev xorg-libXfixes-dev"
     7.1 --- a/xorg-xinput/receipt	Tue Mar 25 17:10:50 2014 +0100
     7.2 +++ b/xorg-xinput/receipt	Tue Mar 25 21:54:28 2014 +0100
     7.3 @@ -10,6 +10,7 @@
     7.4  TARBALL="$SOURCE-$VERSION.tar.bz2"
     7.5  WEB_SITE="http://www.x.org/"
     7.6  WGET_URL="$XORG_MIRROR/app/$TARBALL"
     7.7 +HOST_ARCH="i486 arm"
     7.8  
     7.9  DEPENDS="xorg-libXi"
    7.10  BUILD_DEPENDS="xorg-libXi-dev"