wok-6.x rev 24641

updated hexchat and hexchat-plugin (2.10.2 -> 2.16.1)
author Hans-G?nter Theisgen
date Wed Mar 09 16:50:15 2022 +0100 (2022-03-09)
parents 7500c38695e9
children 0ba7891c7043
files hexchat-lang/receipt hexchat-plugin/receipt hexchat/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/hexchat-lang/receipt	Wed Mar 09 16:50:15 2022 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="hexchat-lang"
     1.7 +VERSION="2.16.1"
     1.8 +CATEGORY="localization"
     1.9 +SHORT_DESC="IRC client using GTK+ - localised messages."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="https://hexchat.github.io/"
    1.13 +
    1.14 +WANTED="hexchat"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	cook_copy_folders	locale
    1.20 +}
     2.1 --- a/hexchat-plugin/receipt	Wed Mar 09 15:53:44 2022 +0100
     2.2 +++ b/hexchat-plugin/receipt	Wed Mar 09 16:50:15 2022 +0100
     2.3 @@ -1,19 +1,22 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="hexchat-plugin"
     2.7 -VERSION="2.10.2"
     2.8 +VERSION="2.16.1"
     2.9  CATEGORY="network"
    2.10 -SHORT_DESC="IRC client using GTK+ with plugins support"
    2.11 +SHORT_DESC="IRC client using GTK+ with plugins support."
    2.12  MAINTAINER="lenios@slitaz.org"
    2.13  LICENSE="GPL2"
    2.14  WEB_SITE="https://hexchat.github.io/"
    2.15 +
    2.16  SOURCE="hexchat"
    2.17  TARBALL="$SOURCE-$VERSION.tar.xz"
    2.18 -WGET_URL="http://dl.hexchat.net/hexchat/$TARBALL"
    2.19 +WGET_URL="https://dl.hexchat.net/$SOURCE/$TARBALL"
    2.20  PROVIDE="hexchat"
    2.21 -
    2.22 -DEPENDS="gtk+ dbus openssl gettext-base dbus-glib xorg-libXdamage python"
    2.23 -BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info python-dev"
    2.24 +SUGGESTED="hexchat-lang"
    2.25 +DEPENDS="dbus-glib gettext-base gtk+ harfbuzzopenssl libcanberra libxml2
    2.26 +	xorg-libXdamage"
    2.27 +BUILD_DEPENDS="gtk+-dev libcanberra-dev libxml2-dev meson openssl-dev
    2.28 +	shared-mime-info"
    2.29  
    2.30  # What is the latest version available today?
    2.31  current_version()
    2.32 @@ -25,27 +28,31 @@
    2.33  # Rules to configure and make the package.
    2.34  compile_rules()
    2.35  {
    2.36 -	sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \
    2.37 -		-e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|'
    2.38 -	sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c
    2.39 -	sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c
    2.40  
    2.41 -	./configure \
    2.42 -		--prefix=/usr \
    2.43 -		--infodir=/usr/share/info \
    2.44 -		--mandir=/usr/share/man \
    2.45 -		--disable-tcl \
    2.46 -		--enable-spell=static \
    2.47 -		--enable-ipv6 \
    2.48 -		$CONFIGURE_ARGS &&
    2.49 -	make &&
    2.50 -	make DESTDIR=$DESTDIR install
    2.51 +	#	2.16.1
    2.52 +	#	meson unknown option from configure:
    2.53 +	#		--disable-tcl
    2.54 +	#		--enable-spell=static
    2.55 +	#		--enable-ipv6
    2.56 +
    2.57 +	export	CFLAGS="$CFLAGS -Wno-error=implicit-function-declaration"
    2.58 +
    2.59 +	meson	_build				\
    2.60 +		--prefix=/usr			\
    2.61 +		--infodir=/usr/share/info	\
    2.62 +		--mandir=/usr/share/man		\
    2.63 +		-D dbus=disabled		\
    2.64 +		-D libcanberra=enabled		\
    2.65 +		-D with-lua=false		\
    2.66 +		-D plugin=true			\
    2.67 +		-D with-python=false &&
    2.68 +	ninja	-C _build &&
    2.69 +	ninja	-C _build install
    2.70  }
    2.71  
    2.72  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.73  genpkg_rules()
    2.74  {
    2.75 -	mkdir -p $fs/usr
    2.76 -	cp -a $install/usr/bin $fs/usr
    2.77  	# cp -a $install/usr/share/dbus-1 $fs/usr/share
    2.78 +	cook_copy_folders	bin
    2.79  }
     3.1 --- a/hexchat/receipt	Wed Mar 09 15:53:44 2022 +0100
     3.2 +++ b/hexchat/receipt	Wed Mar 09 16:50:15 2022 +0100
     3.3 @@ -1,18 +1,21 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="hexchat"
     3.7 -VERSION="2.10.2"
     3.8 +VERSION="2.16.1"
     3.9  CATEGORY="network"
    3.10 -SHORT_DESC="IRC client using GTK+"
    3.11 +SHORT_DESC="IRC client using GTK+."
    3.12  MAINTAINER="lenios@slitaz.org"
    3.13  LICENSE="GPL2"
    3.14  WEB_SITE="https://hexchat.github.io/"
    3.15 +
    3.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    3.17 -WGET_URL="http://dl.hexchat.net/hexchat/$TARBALL"
    3.18 +WGET_URL="https://dl.hexchat.net/$PACKAGE/$TARBALL"
    3.19  
    3.20 -DEPENDS="gtk+ openssl gettext-base dbus-glib xorg-libXdamage \
    3.21 -harfbuzz"
    3.22 -BUILD_DEPENDS="gtk+-dev openssl-dev shared-mime-info"
    3.23 +SUGGESTED="hexchat-lang"
    3.24 +DEPENDS="dbus-glib gettext-base gtk+ harfbuzz libcanberra libxml2
    3.25 +	openssl xorg-libXdamage"
    3.26 +BUILD_DEPENDS="gtk+-dev libcanberra-dev libxml2-dev meson openssl-dev
    3.27 +	shared-mime-info"
    3.28  
    3.29  # What is the latest version available today?
    3.30  current_version()
    3.31 @@ -24,25 +27,30 @@
    3.32  # Rules to configure and make the package.
    3.33  compile_rules()
    3.34  {
    3.35 -	./configure \
    3.36 -		--prefix=/usr \
    3.37 -		--infodir=/usr/share/info \
    3.38 -		--mandir=/usr/share/man \
    3.39 -		--disable-plugin \
    3.40 -		--disable-tcl \
    3.41 -		--disable-dbus \
    3.42 -		--disable-python \
    3.43 -		--enable-spell=static \
    3.44 -		--enable-ipv6 \
    3.45 -		$CONFIGURE_ARGS &&
    3.46 -	make &&
    3.47 -	make DESTDIR=$DESTDIR install
    3.48 +	#	2.16.1
    3.49 +	#	meson unknown options from configure:
    3.50 +	#		--disable-tcl
    3.51 +	#		--enable-spell=static
    3.52 +	#		--enable-ipv6
    3.53 +
    3.54 +	export	CFLAGS="$CFLAGS -Wno-error=implicit-function-declaration"
    3.55 +
    3.56 +	meson	_build				\
    3.57 +		--prefix=/usr			\
    3.58 +		--infodir=/usr/share/info	\
    3.59 +		--mandir=/usr/share/man		\
    3.60 +		-D dbus=disabled		\
    3.61 +		-D libcanberra=enabled		\
    3.62 +		-D with-lua=false		\
    3.63 +		-D plugin=false			\
    3.64 +		-D with-python=false &&
    3.65 +	ninja	-C _build &&
    3.66 +	ninja	-C _build install
    3.67  }
    3.68  
    3.69  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.70  genpkg_rules()
    3.71  {
    3.72 -	mkdir -p $fs/usr
    3.73 -	cp -a $install/usr/bin $fs/usr
    3.74  	# cp -a $install/usr/share/dbus-1 $fs/usr/share
    3.75 +	cook_copy_folders	bin
    3.76  }