# HG changeset patch # User Stanislas Leduc # Date 1730813946 0 # Node ID 45e49949a2081fe2cf90e9b148bd1444dda31a6d # Parent 292aeec8627f272a0f66659b6525b0a9f61fae7b Fix xorg-server dep, add libffado, ffado-tools diff -r 292aeec8627f -r 45e49949a208 dbus-c++-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dbus-c++-dev/receipt Tue Nov 05 13:39:06 2024 +0000 @@ -0,0 +1,22 @@ +# SliTaz package receipt. + +PACKAGE="dbus-c++-dev" +VERSION="0.9.0" +CATEGORY="x-window" +SHORT_DESC="A C++ API for D-BUS - development files." +MAINTAINER="maintainer@slitaz.org" +LICENSE="LGPL2" +WEB_SITE="https://sourceforge.net/projects/dbus-cplusplus/" +WANTED="dbus-c++" +DEPENDS="dbus-c++" + +HOST_ARCH="i486 x86_64" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + get_dev_files + + # Ensure remove .la files + find $fs -name "*.la" -delete +} diff -r 292aeec8627f -r 45e49949a208 dbus-c++/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dbus-c++/receipt Tue Nov 05 13:39:06 2024 +0000 @@ -0,0 +1,55 @@ +# SliTaz package receipt. + +PACKAGE="dbus-c++" +VERSION="0.9.0" +CATEGORY="x-window" +SHORT_DESC="A C++ API for D-BUS." +MAINTAINER="maintainer@slitaz.org" +LICENSE="LGPL2" +WEB_SITE="https://sourceforge.net/projects/dbus-cplusplus/" + +TARBALL="lib$PACKAGE-$VERSION.tar.gz" +WGET_URL="$SF_MIRROR/dbus-cplusplus/$TARBALL" + +DEPENDS="expat dbus libdbus-c++" +BUILD_DEPENDS="automake libtool expat-dev dbus-dev" + +HOST_ARCH="i486 x86_64" + +# Rules to configure and make the package. +compile_rules() +{ + patch -Np0 -i $stuff/dbus-c++-0.9.0-gcc47.patch + # https://sourceforge.net/p/dbus-cplusplus/patches/18/ + patch -Np1 -i $stuff/dbus-c++-0.9.0-disable-threading.patch + # https://sourceforge.net/p/dbus-cplusplus/patches/19/ + patch -Np1 -i $stuff/dbus-c++-0.9.0-fix-writechar.patch + # https://sourceforge.net/p/dbus-cplusplus/patches/22/ + patch -Np1 -i $stuff/dbus-c++-0.9.0-template-operators.patch + # https://sourceforge.net/p/dbus-cplusplus/patches/27/ + patch -Np1 -i $stuff/dbus-c++-0.9.0-copy_data_from_received_message.patch + + autoreconf -vfi + + ./configure \ + --disable-ecore \ + --disable-static \ + --disable-tests \ + --disable-examples \ + --enable-glib \ + --prefix=/usr \ + $CONFIGURE_ARGS && + + # Prevent overlinking + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + 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 +} diff -r 292aeec8627f -r 45e49949a208 ffado-tools/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ffado-tools/receipt Tue Nov 05 13:39:06 2024 +0000 @@ -0,0 +1,22 @@ +# SliTaz package receipt. + +PACKAGE="ffado-tools" +VERSION="2.4.8" +CATEGORY="multimedia" +SHORT_DESC="FFADO debugging and firmware tools." +MAINTAINER="maintainer@slitaz.org" +LICENSE="GPL2" +WEB_SITE="https://www.ffado.org/" + +WANTED="libffado" +DEPENDS="python3 libffado libdbus-c++" + +HOST_ARCH="i486 x86_64" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin $fs/usr/lib + cp -a $install/usr/bin/ffado* $fs/usr/bin + cp -a $install/usr/lib/libffado $fs/usr/lib +} diff -r 292aeec8627f -r 45e49949a208 libconfig-dev/receipt --- a/libconfig-dev/receipt Mon Jul 01 15:09:44 2024 +0000 +++ b/libconfig-dev/receipt Tue Nov 05 13:39:06 2024 +0000 @@ -11,8 +11,13 @@ DEPENDS="libconfig pkg-config" WANTED="libconfig" +HOST_ARCH="i486 x86_64" + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { get_dev_files + + # Ensure remove .la files + find $fs -name "*.la" -delete } diff -r 292aeec8627f -r 45e49949a208 libconfig/receipt --- a/libconfig/receipt Mon Jul 01 15:09:44 2024 +0000 +++ b/libconfig/receipt Tue Nov 05 13:39:06 2024 +0000 @@ -14,6 +14,8 @@ DEPENDS="" BUILD_DEPENDS="automake texinfo" +HOST_ARCH="i486 x86_64" + current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ @@ -23,12 +25,13 @@ # Rules to configure and make the package. compile_rules() { + # --disable-cxx, libconfig++ need for libffado + autoreconf && ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ - --disable-cxx \ --disable-doc \ $CONFIGURE_ARGS && make && diff -r 292aeec8627f -r 45e49949a208 libdbus-c++/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libdbus-c++/receipt Tue Nov 05 13:39:06 2024 +0000 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="libdbus-c++" +VERSION="0.9.0" +CATEGORY="x-window" +SHORT_DESC="A C++ API for D-BUS." +MAINTAINER="maintainer@slitaz.org" +LICENSE="LGPL2" +WEB_SITE="https://sourceforge.net/projects/dbus-cplusplus/" +WANTED="dbus-c++" +DEPENDS="dbus glib" + +HOST_ARCH="i486 x86_64" + +# 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 +} diff -r 292aeec8627f -r 45e49949a208 libffado/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libffado/receipt Tue Nov 05 13:39:06 2024 +0000 @@ -0,0 +1,49 @@ +# SliTaz package receipt. + +PACKAGE="libffado" +VERSION="2.4.8" +CATEGORY="multimedia" +SHORT_DESC="Driver for FireWire audio devices." +MAINTAINER="maintainer@slitaz.org" +LICENSE="GPL2" +WEB_SITE="https://www.ffado.org/" +TARBALL="$PACKAGE-$VERSION.tgz" +WGET_URL="$WEB_SITE/files/$TARBALL" + +DEPENDS="libraw1394 libconfig libxml++ libiec61883" +BUILD_DEPENDS="scons dbus-python-dev Py3Qt-x11-gpl sip3 \ +dbus-dev dbus-c++-dev libraw1394-dev libconfig-dev \ +alsa-lib-dev libiec61883-dev libxml++-dev \ +xdg-utils jack-audio-connection-kit-dev" + +HOST_ARCH="i486 x86_64" + +# Rules to configure and make the package. +compile_rules() +{ + case "$ARCH" in + i?86) + arch=i386 ;; + x86_64) + arch=x86_64 ;; + esac + + site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + + scons \ + DIST_TARGET=$arch \ + DETECT_USERSPACE_ENV=False \ + PREFIX=/usr \ + PYPKGDIR=$site_packages \ + PYTHON_INTERPRETER=/usr/bin/python3 \ + DEBUG=no + + scons DESTDIR=$install 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 +} diff -r 292aeec8627f -r 45e49949a208 libxml++-dev/receipt --- a/libxml++-dev/receipt Mon Jul 01 15:09:44 2024 +0000 +++ b/libxml++-dev/receipt Tue Nov 05 13:39:06 2024 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="libxml++-dev" -VERSION="2.34.2" +VERSION="3.0.1" CATEGORY="development" SHORT_DESC="libxml++ C++ wrapper devel files." MAINTAINER="pankso@slitaz.org" @@ -12,13 +12,14 @@ DEPENDS="glib-dev glibmm-dev libsigc++-dev libxml2-dev libxml++ zlib-dev \ gcc-lib-base pkg-config" +HOST_ARCH="i486 x86_64" + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib $fs/usr/share - cp -a $install/usr/lib/*.*a $fs/usr/lib cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/lib/libxml++-2.6 $fs/usr/lib + cp -a $install/usr/lib/libxml++-3.0 $fs/usr/lib cp -a $install/usr/include $fs/usr } diff -r 292aeec8627f -r 45e49949a208 libxml++/receipt --- a/libxml++/receipt Mon Jul 01 15:09:44 2024 +0000 +++ b/libxml++/receipt Tue Nov 05 13:39:06 2024 +0000 @@ -1,18 +1,20 @@ # SliTaz package receipt. PACKAGE="libxml++" -VERSION="2.34.2" +VERSION="3.0.1" CATEGORY="system-tools" SHORT_DESC="C++ wrapper for the libxml XML parser library." MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2.1" -TARBALL="$PACKAGE-$VERSION.tar.bz2" +TARBALL="$PACKAGE-$VERSION.tar.xz" WEB_SITE="https://sourceforge.net/projects/libxmlplusplus/" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" DEPENDS="glibmm libsigc++ libxml2 zlib gcc-lib-base" BUILD_DEPENDS="glibmm-dev libsigc++-dev libxml2-dev zlib-dev mm-common pkg-config" +HOST_ARCH="i486 x86_64" + # What is the latest version available today? current_version() { @@ -24,6 +26,11 @@ compile_rules() { cd $src + + # Allow build with gcc > 6. + # See https://svnweb.freebsd.org/ports?view=revision&revision=431411 + #patch -p1 < $stuff/build_with_gcc6.patch + ./configure --prefix=/usr \ --disable-documentation \ $CONFIGURE_ARGS && diff -r 292aeec8627f -r 45e49949a208 xorg-server/receipt --- a/xorg-server/receipt Mon Jul 01 15:09:44 2024 +0000 +++ b/xorg-server/receipt Tue Nov 05 13:39:06 2024 +0000 @@ -14,7 +14,7 @@ # Mesa build dep make also Xorg depends on libdrm. DEPENDS="xorg-xkeyboard-config xorg-libpciaccess xorg-libXxf86vm \ xorg-libXfont xorg-libXfont2 xorg-libXau xorg-base-fonts libgcrypt \ -pixman udev libdrm libepoxy xorg-xf86-input-evdev" +pixman udev libdrm libepoxy xorg-xf86-input-evdev libglvnd" BUILD_DEPENDS="xorg-libxkbfile-dev xorg-libpciaccess-dev xorg-libXxf86vm-dev \ xorg-libXfont-dev libgcrypt-dev pixman-dev udev-dev mesa-dev pkg-config perl \ flex xorg-xf86driproto xorg-xcmiscproto xorg-bigreqsproto xorg-randrproto \