wok-current rev 25726

Fix xorg-server dep, add libffado, ffado-tools
author Stanislas Leduc <shann@slitaz.org>
date Tue Nov 05 13:39:06 2024 +0000 (6 weeks ago)
parents 292aeec8627f
children b37d8510dda9
files dbus-c++-dev/receipt dbus-c++/receipt ffado-tools/receipt libconfig-dev/receipt libconfig/receipt libdbus-c++/receipt libffado/receipt libxml++-dev/receipt libxml++/receipt xorg-server/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dbus-c++-dev/receipt	Tue Nov 05 13:39:06 2024 +0000
     1.3 @@ -0,0 +1,22 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="dbus-c++-dev"
     1.7 +VERSION="0.9.0"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="A C++ API for D-BUS - development files."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="LGPL2"
    1.12 +WEB_SITE="https://sourceforge.net/projects/dbus-cplusplus/"
    1.13 +WANTED="dbus-c++"
    1.14 +DEPENDS="dbus-c++"
    1.15 +
    1.16 +HOST_ARCH="i486 x86_64"
    1.17 +
    1.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.19 +genpkg_rules()
    1.20 +{
    1.21 +	get_dev_files
    1.22 +
    1.23 +	# Ensure remove .la files
    1.24 +	find $fs -name "*.la" -delete
    1.25 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/dbus-c++/receipt	Tue Nov 05 13:39:06 2024 +0000
     2.3 @@ -0,0 +1,55 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="dbus-c++"
     2.7 +VERSION="0.9.0"
     2.8 +CATEGORY="x-window"
     2.9 +SHORT_DESC="A C++ API for D-BUS."
    2.10 +MAINTAINER="maintainer@slitaz.org"
    2.11 +LICENSE="LGPL2"
    2.12 +WEB_SITE="https://sourceforge.net/projects/dbus-cplusplus/"
    2.13 +
    2.14 +TARBALL="lib$PACKAGE-$VERSION.tar.gz"
    2.15 +WGET_URL="$SF_MIRROR/dbus-cplusplus/$TARBALL"
    2.16 +
    2.17 +DEPENDS="expat dbus libdbus-c++"
    2.18 +BUILD_DEPENDS="automake libtool expat-dev dbus-dev"
    2.19 +
    2.20 +HOST_ARCH="i486 x86_64"
    2.21 +
    2.22 +# Rules to configure and make the package.
    2.23 +compile_rules()
    2.24 +{
    2.25 +	patch -Np0 -i $stuff/dbus-c++-0.9.0-gcc47.patch
    2.26 +	# https://sourceforge.net/p/dbus-cplusplus/patches/18/
    2.27 +	patch -Np1 -i $stuff/dbus-c++-0.9.0-disable-threading.patch
    2.28 +	# https://sourceforge.net/p/dbus-cplusplus/patches/19/
    2.29 +	patch -Np1 -i $stuff/dbus-c++-0.9.0-fix-writechar.patch
    2.30 +	# https://sourceforge.net/p/dbus-cplusplus/patches/22/
    2.31 +	patch -Np1 -i $stuff/dbus-c++-0.9.0-template-operators.patch
    2.32 +	# https://sourceforge.net/p/dbus-cplusplus/patches/27/
    2.33 +	patch -Np1 -i $stuff/dbus-c++-0.9.0-copy_data_from_received_message.patch
    2.34 +
    2.35 +	autoreconf -vfi
    2.36 +
    2.37 +	./configure				\
    2.38 +		--disable-ecore			\
    2.39 +		--disable-static		\
    2.40 +		--disable-tests			\
    2.41 +		--disable-examples		\
    2.42 +		--enable-glib			\
    2.43 +		--prefix=/usr			\
    2.44 +		$CONFIGURE_ARGS &&
    2.45 +
    2.46 +	# Prevent overlinking
    2.47 +	sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
    2.48 +
    2.49 +	make &&
    2.50 +	make install
    2.51 +}
    2.52 +
    2.53 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.54 +genpkg_rules()
    2.55 +{
    2.56 +	mkdir -p $fs/usr
    2.57 +	cp -a $install/usr/bin	$fs/usr
    2.58 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/ffado-tools/receipt	Tue Nov 05 13:39:06 2024 +0000
     3.3 @@ -0,0 +1,22 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="ffado-tools"
     3.7 +VERSION="2.4.8"
     3.8 +CATEGORY="multimedia"
     3.9 +SHORT_DESC="FFADO debugging and firmware tools."
    3.10 +MAINTAINER="maintainer@slitaz.org"
    3.11 +LICENSE="GPL2"
    3.12 +WEB_SITE="https://www.ffado.org/"
    3.13 +
    3.14 +WANTED="libffado"
    3.15 +DEPENDS="python3 libffado libdbus-c++"
    3.16 +
    3.17 +HOST_ARCH="i486 x86_64"
    3.18 +
    3.19 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.20 +genpkg_rules()
    3.21 +{
    3.22 +	mkdir -p $fs/usr/bin $fs/usr/lib
    3.23 +	cp -a $install/usr/bin/ffado* $fs/usr/bin
    3.24 +	cp -a $install/usr/lib/libffado $fs/usr/lib
    3.25 +}
     4.1 --- a/libconfig-dev/receipt	Mon Jul 01 15:09:44 2024 +0000
     4.2 +++ b/libconfig-dev/receipt	Tue Nov 05 13:39:06 2024 +0000
     4.3 @@ -11,8 +11,13 @@
     4.4  DEPENDS="libconfig pkg-config"
     4.5  WANTED="libconfig"
     4.6  
     4.7 +HOST_ARCH="i486 x86_64"
     4.8 +
     4.9  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.10  genpkg_rules()
    4.11  {
    4.12  	get_dev_files
    4.13 +
    4.14 +	# Ensure remove .la files
    4.15 +	find $fs -name "*.la" -delete
    4.16  }
     5.1 --- a/libconfig/receipt	Mon Jul 01 15:09:44 2024 +0000
     5.2 +++ b/libconfig/receipt	Tue Nov 05 13:39:06 2024 +0000
     5.3 @@ -14,6 +14,8 @@
     5.4  DEPENDS=""
     5.5  BUILD_DEPENDS="automake texinfo"
     5.6  
     5.7 +HOST_ARCH="i486 x86_64"
     5.8 +
     5.9  current_version()
    5.10  {
    5.11  	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    5.12 @@ -23,12 +25,13 @@
    5.13  # Rules to configure and make the package.
    5.14  compile_rules()
    5.15  {
    5.16 +	# --disable-cxx, libconfig++ need for libffado
    5.17 +
    5.18  	autoreconf &&
    5.19  	./configure				\
    5.20  		--prefix=/usr			\
    5.21  		--infodir=/usr/share/info	\
    5.22  		--mandir=/usr/share/man		\
    5.23 -		--disable-cxx			\
    5.24  		--disable-doc			\
    5.25  		$CONFIGURE_ARGS &&
    5.26  	make &&
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/libdbus-c++/receipt	Tue Nov 05 13:39:06 2024 +0000
     6.3 @@ -0,0 +1,20 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="libdbus-c++"
     6.7 +VERSION="0.9.0"
     6.8 +CATEGORY="x-window"
     6.9 +SHORT_DESC="A C++ API for D-BUS."
    6.10 +MAINTAINER="maintainer@slitaz.org"
    6.11 +LICENSE="LGPL2"
    6.12 +WEB_SITE="https://sourceforge.net/projects/dbus-cplusplus/"
    6.13 +WANTED="dbus-c++"
    6.14 +DEPENDS="dbus glib"
    6.15 +
    6.16 +HOST_ARCH="i486 x86_64"
    6.17 +
    6.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.19 +genpkg_rules()
    6.20 +{
    6.21 +	mkdir -p $fs/usr/lib
    6.22 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    6.23 +}
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/libffado/receipt	Tue Nov 05 13:39:06 2024 +0000
     7.3 @@ -0,0 +1,49 @@
     7.4 +# SliTaz package receipt.
     7.5 +
     7.6 +PACKAGE="libffado"
     7.7 +VERSION="2.4.8"
     7.8 +CATEGORY="multimedia"
     7.9 +SHORT_DESC="Driver for FireWire audio devices."
    7.10 +MAINTAINER="maintainer@slitaz.org"
    7.11 +LICENSE="GPL2"
    7.12 +WEB_SITE="https://www.ffado.org/"
    7.13 +TARBALL="$PACKAGE-$VERSION.tgz"
    7.14 +WGET_URL="$WEB_SITE/files/$TARBALL"
    7.15 +
    7.16 +DEPENDS="libraw1394 libconfig libxml++ libiec61883"
    7.17 +BUILD_DEPENDS="scons dbus-python-dev Py3Qt-x11-gpl sip3 \
    7.18 +dbus-dev dbus-c++-dev libraw1394-dev libconfig-dev \
    7.19 +alsa-lib-dev libiec61883-dev libxml++-dev \
    7.20 +xdg-utils jack-audio-connection-kit-dev"
    7.21 +
    7.22 +HOST_ARCH="i486 x86_64"
    7.23 +
    7.24 +# Rules to configure and make the package.
    7.25 +compile_rules()
    7.26 +{
    7.27 +    case "$ARCH" in
    7.28 +        i?86)
    7.29 +            arch=i386 ;;
    7.30 +        x86_64)
    7.31 +            arch=x86_64 ;;
    7.32 +    esac
    7.33 +
    7.34 +    site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
    7.35 +
    7.36 +    scons                       		\
    7.37 +        DIST_TARGET=$arch       		\
    7.38 +	DETECT_USERSPACE_ENV=False      	\
    7.39 +        PREFIX=/usr            			\
    7.40 +	PYPKGDIR=$site_packages			\
    7.41 +	PYTHON_INTERPRETER=/usr/bin/python3	\
    7.42 +        DEBUG=no
    7.43 +
    7.44 +    scons DESTDIR=$install install
    7.45 +}
    7.46 +
    7.47 +# Rules to gen a SliTaz package suitable for Tazpkg.
    7.48 +genpkg_rules()
    7.49 +{
    7.50 +	mkdir -p $fs/usr/lib
    7.51 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    7.52 +}
     8.1 --- a/libxml++-dev/receipt	Mon Jul 01 15:09:44 2024 +0000
     8.2 +++ b/libxml++-dev/receipt	Tue Nov 05 13:39:06 2024 +0000
     8.3 @@ -1,7 +1,7 @@
     8.4  # SliTaz package receipt.
     8.5  
     8.6  PACKAGE="libxml++-dev"
     8.7 -VERSION="2.34.2"
     8.8 +VERSION="3.0.1"
     8.9  CATEGORY="development"
    8.10  SHORT_DESC="libxml++ C++ wrapper devel files."
    8.11  MAINTAINER="pankso@slitaz.org"
    8.12 @@ -12,13 +12,14 @@
    8.13  DEPENDS="glib-dev glibmm-dev libsigc++-dev libxml2-dev libxml++ zlib-dev \
    8.14  gcc-lib-base pkg-config"
    8.15  
    8.16 +HOST_ARCH="i486 x86_64"
    8.17 +
    8.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    8.19  genpkg_rules()
    8.20  {
    8.21  	mkdir -p $fs/usr/lib $fs/usr/share
    8.22 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    8.23  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    8.24 -	cp -a $install/usr/lib/libxml++-2.6 $fs/usr/lib
    8.25 +	cp -a $install/usr/lib/libxml++-3.0 $fs/usr/lib
    8.26  	cp -a $install/usr/include $fs/usr
    8.27  }
    8.28  
     9.1 --- a/libxml++/receipt	Mon Jul 01 15:09:44 2024 +0000
     9.2 +++ b/libxml++/receipt	Tue Nov 05 13:39:06 2024 +0000
     9.3 @@ -1,18 +1,20 @@
     9.4  # SliTaz package receipt.
     9.5  
     9.6  PACKAGE="libxml++"
     9.7 -VERSION="2.34.2"
     9.8 +VERSION="3.0.1"
     9.9  CATEGORY="system-tools"
    9.10  SHORT_DESC="C++ wrapper for the libxml XML parser library."
    9.11  MAINTAINER="pankso@slitaz.org"
    9.12  LICENSE="LGPL2.1"
    9.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    9.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    9.15  WEB_SITE="https://sourceforge.net/projects/libxmlplusplus/"
    9.16  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    9.17  
    9.18  DEPENDS="glibmm libsigc++ libxml2 zlib gcc-lib-base"
    9.19  BUILD_DEPENDS="glibmm-dev libsigc++-dev libxml2-dev zlib-dev mm-common pkg-config"
    9.20  
    9.21 +HOST_ARCH="i486 x86_64"
    9.22 +
    9.23  # What is the latest version available today?
    9.24  current_version()
    9.25  {
    9.26 @@ -24,6 +26,11 @@
    9.27  compile_rules()
    9.28  {
    9.29  	cd $src
    9.30 +
    9.31 +	# Allow build with gcc > 6.
    9.32 +	# See https://svnweb.freebsd.org/ports?view=revision&revision=431411
    9.33 +	#patch -p1 < $stuff/build_with_gcc6.patch
    9.34 +
    9.35  	./configure --prefix=/usr \
    9.36  		--disable-documentation \
    9.37  		$CONFIGURE_ARGS &&
    10.1 --- a/xorg-server/receipt	Mon Jul 01 15:09:44 2024 +0000
    10.2 +++ b/xorg-server/receipt	Tue Nov 05 13:39:06 2024 +0000
    10.3 @@ -14,7 +14,7 @@
    10.4  # Mesa build dep make also Xorg depends on libdrm.
    10.5  DEPENDS="xorg-xkeyboard-config xorg-libpciaccess xorg-libXxf86vm \
    10.6  xorg-libXfont xorg-libXfont2 xorg-libXau xorg-base-fonts libgcrypt \
    10.7 -pixman udev libdrm libepoxy xorg-xf86-input-evdev"
    10.8 +pixman udev libdrm libepoxy xorg-xf86-input-evdev libglvnd"
    10.9  BUILD_DEPENDS="xorg-libxkbfile-dev xorg-libpciaccess-dev xorg-libXxf86vm-dev \
   10.10  xorg-libXfont-dev libgcrypt-dev pixman-dev udev-dev mesa-dev pkg-config perl \
   10.11  flex xorg-xf86driproto xorg-xcmiscproto xorg-bigreqsproto xorg-randrproto \