# HG changeset patch # User Hans-G?nter Theisgen # Date 1659540893 -3600 # Node ID f15be612c035109f331da95ed523d6ec5e718253 # Parent 8d429ff324a24e3a61d165a3a4f1895fa9df241e updated wayland and wayland-dev (1.4.0 -> 1.21.0) diff -r 8d429ff324a2 -r f15be612c035 wayland-dev/receipt --- a/wayland-dev/receipt Wed Aug 03 15:36:37 2022 +0100 +++ b/wayland-dev/receipt Wed Aug 03 16:34:53 2022 +0100 @@ -1,25 +1,29 @@ # SliTaz package receipt. PACKAGE="wayland-dev" -VERSION="1.4.0" +VERSION="1.21.0" CATEGORY="development" -SHORT_DESC="Wayland X server devel files." +SHORT_DESC="Wayland X server development files." MAINTAINER="pankso@slitaz.org" LICENSE="MIT" -WANTED="wayland" -WEB_SITE="http://www.bluez.org/" -HOST_ARCH="i486 arm" +WEB_SITE="https://wayland.freedesktop.org/" DEPENDS="wayland pkg-config" +WANTED="wayland" + +HOST_ARCH="i486 arm" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib $fs/usr/share - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - [ -d "$install/usr/share/pkgconfig" ] && \ - cp -a $install/usr/share/pkgconfig/* $fs/usr/lib/pkgconfig - cp -a $install/usr/share/aclocal $fs/usr/share + mkdir -p $fs/usr/lib + mkdir -p $fs/usr/share + + cp -a $install/usr/include $fs/usr + # 1.21.0 no static libraries created +# cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + [ -d "$install/usr/share/pkgconfig" ] && + cp -a $install/usr/share/pkgconfig/* $fs/usr/lib/pkgconfig + cp -a $install/usr/share/aclocal $fs/usr/share } diff -r 8d429ff324a2 -r f15be612c035 wayland/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wayland/description.txt Wed Aug 03 16:34:53 2022 +0100 @@ -0,0 +1,11 @@ +Wayland is intended as a simpler replacement for X, +easier to develop and maintain. +GNOME and KDE are expected to be ported to it. + +Wayland is a protocol for a compositor to talk to its clients +as well as a C library implementation of that protocol. +The compositor can be a standalone display server running on +Linux kernel modesetting and evdev input devices, an X +application, or a wayland client itself. +The clients can be traditional applications, X servers +(rootless or fullscreen) or other display servers. diff -r 8d429ff324a2 -r f15be612c035 wayland/receipt --- a/wayland/receipt Wed Aug 03 15:36:37 2022 +0100 +++ b/wayland/receipt Wed Aug 03 16:34:53 2022 +0100 @@ -1,20 +1,22 @@ # SliTaz package receipt. PACKAGE="wayland" -VERSION="1.4.0" +VERSION="1.21.0" CATEGORY="x-window" SHORT_DESC="Wayland simpler X display server protocol." MAINTAINER="pankso@slitaz.org" LICENSE="MIT" +WEB_SITE="https://wayland.freedesktop.org/" + TARBALL="$PACKAGE-$VERSION.tar.xz" -WEB_SITE="http://www.slitaz.org/" -WGET_URL="https://wayland.freedesktop.org/releases/$TARBALL" -HOST_ARCH="i486 arm" +WGET_URL="https://gitlab.freedesktop.org/$PACKAGE/$PACKAGE/-/releases/$VERSION/downloads/$TARBALL" # WARNING: wayland must be installed in chroot since build host # wayland-scanner is used for cross compilation to ARM -DEPENDS="libffi expat" -BUILD_DEPENDS="libffi-dev expat-dev" +DEPENDS="expat gcc83-lib-base libffi" +BUILD_DEPENDS="expat-dev gcc83 libffi-dev meson" + +HOST_ARCH="i486 arm" # Handle cross compilation case "$ARCH" in @@ -31,18 +33,23 @@ # Rules to configure and make the package. compile_rules() { - ./configure \ - --prefix=/usr \ - --disable-documentation \ - ${CONFIGURE_ARGS} ${ARCH_ARGS} && - make && make install + export CC=gcc-83 + + meson _build \ + -D documentation=false \ + --prefix=/usr && + ninja -C _build && + ninja -C _build install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib $fs/usr/share - [ -d "$install/usr/bin" ] && cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/share/wayland $fs/usr/share + mkdir -p $fs/usr/lib + mkdir -p $fs/usr/share + + [ -d "$install/usr/bin" ] && + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/share/wayland $fs/usr/share }