# HG changeset patch # User Hans-G?nter Theisgen # Date 1646841015 -3600 # Node ID 4795431532c15ec33fc0e3489f60c10182d3c103 # Parent 7500c38695e9f7b860ccb208f6069e73baaa95d5 updated hexchat and hexchat-plugin (2.10.2 -> 2.16.1) diff -r 7500c38695e9 -r 4795431532c1 hexchat-lang/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hexchat-lang/receipt Wed Mar 09 16:50:15 2022 +0100 @@ -0,0 +1,17 @@ +# SliTaz package receipt. + +PACKAGE="hexchat-lang" +VERSION="2.16.1" +CATEGORY="localization" +SHORT_DESC="IRC client using GTK+ - localised messages." +MAINTAINER="maintainer@slitaz.org" +LICENSE="GPL2" +WEB_SITE="https://hexchat.github.io/" + +WANTED="hexchat" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_folders locale +} diff -r 7500c38695e9 -r 4795431532c1 hexchat-plugin/receipt --- a/hexchat-plugin/receipt Wed Mar 09 15:53:44 2022 +0100 +++ b/hexchat-plugin/receipt Wed Mar 09 16:50:15 2022 +0100 @@ -1,19 +1,22 @@ # SliTaz package receipt. PACKAGE="hexchat-plugin" -VERSION="2.10.2" +VERSION="2.16.1" CATEGORY="network" -SHORT_DESC="IRC client using GTK+ with plugins support" +SHORT_DESC="IRC client using GTK+ with plugins support." MAINTAINER="lenios@slitaz.org" LICENSE="GPL2" WEB_SITE="https://hexchat.github.io/" + SOURCE="hexchat" TARBALL="$SOURCE-$VERSION.tar.xz" -WGET_URL="http://dl.hexchat.net/hexchat/$TARBALL" +WGET_URL="https://dl.hexchat.net/$SOURCE/$TARBALL" PROVIDE="hexchat" - -DEPENDS="gtk+ dbus openssl gettext-base dbus-glib xorg-libXdamage python" -BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info python-dev" +SUGGESTED="hexchat-lang" +DEPENDS="dbus-glib gettext-base gtk+ harfbuzzopenssl libcanberra libxml2 + xorg-libXdamage" +BUILD_DEPENDS="gtk+-dev libcanberra-dev libxml2-dev meson openssl-dev + shared-mime-info" # What is the latest version available today? current_version() @@ -25,27 +28,31 @@ # Rules to configure and make the package. compile_rules() { - sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \ - -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' - sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c - sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c - ./configure \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - --disable-tcl \ - --enable-spell=static \ - --enable-ipv6 \ - $CONFIGURE_ARGS && - make && - make DESTDIR=$DESTDIR install + # 2.16.1 + # meson unknown option from configure: + # --disable-tcl + # --enable-spell=static + # --enable-ipv6 + + export CFLAGS="$CFLAGS -Wno-error=implicit-function-declaration" + + meson _build \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + -D dbus=disabled \ + -D libcanberra=enabled \ + -D with-lua=false \ + -D plugin=true \ + -D with-python=false && + ninja -C _build && + ninja -C _build install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr # cp -a $install/usr/share/dbus-1 $fs/usr/share + cook_copy_folders bin } diff -r 7500c38695e9 -r 4795431532c1 hexchat/receipt --- a/hexchat/receipt Wed Mar 09 15:53:44 2022 +0100 +++ b/hexchat/receipt Wed Mar 09 16:50:15 2022 +0100 @@ -1,18 +1,21 @@ # SliTaz package receipt. PACKAGE="hexchat" -VERSION="2.10.2" +VERSION="2.16.1" CATEGORY="network" -SHORT_DESC="IRC client using GTK+" +SHORT_DESC="IRC client using GTK+." MAINTAINER="lenios@slitaz.org" LICENSE="GPL2" WEB_SITE="https://hexchat.github.io/" + TARBALL="$PACKAGE-$VERSION.tar.xz" -WGET_URL="http://dl.hexchat.net/hexchat/$TARBALL" +WGET_URL="https://dl.hexchat.net/$PACKAGE/$TARBALL" -DEPENDS="gtk+ openssl gettext-base dbus-glib xorg-libXdamage \ -harfbuzz" -BUILD_DEPENDS="gtk+-dev openssl-dev shared-mime-info" +SUGGESTED="hexchat-lang" +DEPENDS="dbus-glib gettext-base gtk+ harfbuzz libcanberra libxml2 + openssl xorg-libXdamage" +BUILD_DEPENDS="gtk+-dev libcanberra-dev libxml2-dev meson openssl-dev + shared-mime-info" # What is the latest version available today? current_version() @@ -24,25 +27,30 @@ # Rules to configure and make the package. compile_rules() { - ./configure \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - --disable-plugin \ - --disable-tcl \ - --disable-dbus \ - --disable-python \ - --enable-spell=static \ - --enable-ipv6 \ - $CONFIGURE_ARGS && - make && - make DESTDIR=$DESTDIR install + # 2.16.1 + # meson unknown options from configure: + # --disable-tcl + # --enable-spell=static + # --enable-ipv6 + + export CFLAGS="$CFLAGS -Wno-error=implicit-function-declaration" + + meson _build \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + -D dbus=disabled \ + -D libcanberra=enabled \ + -D with-lua=false \ + -D plugin=false \ + -D with-python=false && + ninja -C _build && + ninja -C _build install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr # cp -a $install/usr/share/dbus-1 $fs/usr/share + cook_copy_folders bin }