wok-next rev 20554

Fix build brasero, clutter-gtk, freetype-infinality, gnome-commander
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 06 16:49:09 2018 +0300 (2018-04-06)
parents fb535f873dd5
children fb9d8c16e8db
files brasero/receipt clutter-gtk/receipt freetype-infinality/receipt gnome-commander/receipt
line diff
     1.1 --- a/brasero/receipt	Fri Apr 06 13:36:51 2018 +0300
     1.2 +++ b/brasero/receipt	Fri Apr 06 16:49:09 2018 +0300
     1.3 @@ -20,6 +20,8 @@
     1.4  SPLIT="brasero-dev"
     1.5  
     1.6  compile_rules() {
     1.7 +	export LDFLAGS="$LDFLAGS -lICE"
     1.8 +
     1.9  	./configure \
    1.10  		--disable-schemas-install \
    1.11  		--disable-scrollkeeper \
     2.1 --- a/clutter-gtk/receipt	Fri Apr 06 13:36:51 2018 +0300
     2.2 +++ b/clutter-gtk/receipt	Fri Apr 06 16:49:09 2018 +0300
     2.3 @@ -16,6 +16,8 @@
     2.4  SPLIT="clutter-gtk-dev"
     2.5  
     2.6  compile_rules() {
     2.7 +	export LDFLAGS="$LDFLAGS -lm -lgthread-2.0"
     2.8 +
     2.9  	patch -Np1 -i $stuff/fix-gir.patch
    2.10  	sed \
    2.11  		-e 's/GTK_WIDGET_REALIZED/gtk_widget_get_realized/' \
     3.1 --- a/freetype-infinality/receipt	Fri Apr 06 13:36:51 2018 +0300
     3.2 +++ b/freetype-infinality/receipt	Fri Apr 06 16:49:09 2018 +0300
     3.3 @@ -14,6 +14,8 @@
     3.4  BUILD_DEPENDS="bzip2-dev"
     3.5  SPLIT="freetype-infinality-dev"
     3.6  
     3.7 +COOKOPTS="skip-log-errors"
     3.8 +
     3.9  compile_rules() {
    3.10  	# http://www.infinality.net/blog/infinality-freetype-patches/
    3.11  	# http://www.infinality.net/forum/viewtopic.php?f=2&t=77#p794
     4.1 --- a/gnome-commander/receipt	Fri Apr 06 13:36:51 2018 +0300
     4.2 +++ b/gnome-commander/receipt	Fri Apr 06 16:49:09 2018 +0300
     4.3 @@ -1,7 +1,7 @@
     4.4  # SliTaz package receipt v2.
     4.5  
     4.6  PACKAGE="gnome-commander"
     4.7 -VERSION="1.4.8"
     4.8 +VERSION="1.8.0"
     4.9  CATEGORY="utilities"
    4.10  SHORT_DESC="A full featured, twin-panel file manager for Gnome2"
    4.11  MAINTAINER="al.bobylev@gmail.com"
    4.12 @@ -9,22 +9,30 @@
    4.13  WEB_SITE="http://gcmd.github.io/"
    4.14  
    4.15  TARBALL="$PACKAGE-$VERSION.tar.xz"
    4.16 -WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    4.17 +#WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    4.18 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    4.19  
    4.20  BUILD_DEPENDS="gtk+-dev glib-dev gnome-doc-utils libgnome-dev \
    4.21  libgnomeui-dev gdk-pixbuf-dev cairo-dev pango-dev atk-dev libbonoboui-dev \
    4.22  libgnomecanvas-dev libart_lgpl-dev xorg-libXinerama-dev xorg-libXrandr-dev \
    4.23  xorg-dev libgnome-keyring-dev libgcrypt-dev rarian-dev rarian exiv2-dev \
    4.24  taglib-dev libgsf-dev poppler-dev chmlib-dev lcms2-dev flex python-dev \
    4.25 -util-linux-uuid-dev libunique-dev intltool"
    4.26 +util-linux-uuid-dev libunique-dev intltool itstool"
    4.27  SPLIT="gnome-commander-i18n"
    4.28  
    4.29  compile_rules() {
    4.30 +
    4.31  	./configure \
    4.32  		--disable-scrollkeeper \
    4.33  		$CONFIGURE_ARGS &&
    4.34 +	# update-mime-database is useless in DESTDIR install, and although it is
    4.35 +	# disabled, install-data-hook produces non-zero return code from `make install`
    4.36 +	# and cooker believe package is broken; here we remove install-data-hook call
    4.37 +	sed -i '/install-data-hook$/d' data/Makefile &&
    4.38  	make &&
    4.39 -	make install
    4.40 +	make \
    4.41 +		GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
    4.42 +		install
    4.43  }
    4.44  
    4.45  genpkg_rules() {