wok rev 18499

Up libfm, libfm-gtk
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Tue Oct 13 19:56:52 2015 +0200 (2015-10-13)
parents 0ebc99e68758
children ec71ac431585
files libfm-dev/receipt libfm-gtk/receipt libfm/receipt
line diff
     1.1 --- a/libfm-dev/receipt	Sun Oct 11 16:02:31 2015 +0200
     1.2 +++ b/libfm-dev/receipt	Tue Oct 13 19:56:52 2015 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libfm-dev"
     1.7 -VERSION="7daeaf3"
     1.8 +VERSION="87217a5"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="File management support (GTK+ GUI development files)"
    1.11  MAINTAINER="pankso@slitaz.org"
     2.1 --- a/libfm-gtk/receipt	Sun Oct 11 16:02:31 2015 +0200
     2.2 +++ b/libfm-gtk/receipt	Tue Oct 13 19:56:52 2015 +0200
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libfm-gtk"
     2.7 -VERSION="7daeaf3"
     2.8 +VERSION="87217a5"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="File management support (GTK+2 GUI library)"
    2.11  MAINTAINER="al.bobylev@gmail.com"
     3.1 --- a/libfm/receipt	Sun Oct 11 16:02:31 2015 +0200
     3.2 +++ b/libfm/receipt	Tue Oct 13 19:56:52 2015 +0200
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="libfm"
     3.7 -VERSION="7daeaf3"
     3.8 +VERSION="87217a5"
     3.9  CATEGORY="system-tools"
    3.10  SHORT_DESC="File management support (core library)"
    3.11  MAINTAINER="pankso@slitaz.org"
    3.12 @@ -10,6 +10,8 @@
    3.13  WEB_SITE="http://pcmanfm.sourceforge.net"
    3.14  #WGET_URL="$SF_MIRROR/pcmanfm/files/$TARBALL"
    3.15  WGET_URL="http://git.lxde.org/gitweb/?p=lxde/libfm.git;a=snapshot;h=$VERSION;sf=txz"
    3.16 +EXTRA_SOURCE_FILES="$PACKAGE-reverse_patch.u" # Fix segfaults
    3.17 +WGET_URL2="https://github.com/lxde/libfm/commit/113ea3c.diff"
    3.18  HOST_ARCH="i486 arm"
    3.19  GENERIC_MENUS="no"
    3.20  
    3.21 @@ -17,15 +19,18 @@
    3.22  DEPENDS="glib glibc-base libffi libgio menu-cache pcre zlib"
    3.23  BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \
    3.24  libxcb-dev xcb-util-dev menu-cache-dev expat-dev libgio-dev \
    3.25 -shared-mime-info-dev gtk-doc libtool"
    3.26 +shared-mime-info-dev gtk-doc libtool automake"
    3.27  
    3.28  case "$ARCH" in
    3.29 -	i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool gamin-dev vala"
    3.30 +	i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool vala"
    3.31  esac
    3.32  
    3.33  # Rules to configure and make the package.
    3.34  compile_rules()
    3.35  {
    3.36 +	[ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || \
    3.37 +		wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2
    3.38 +	patch -p1 -R -i $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES
    3.39  	./autogen.sh
    3.40  	./configure \
    3.41  		--sysconfdir=/etc \
    3.42 @@ -42,7 +47,7 @@
    3.43  	cp -a $install/usr/lib/libfm-extra.so* $fs/usr/lib
    3.44  	cp -a $install/usr/lib/libfm/modules/vfs* $fs/usr/lib/libfm/modules
    3.45  	cp -a $install/usr/share/libfm/*.list $fs/usr/share/libfm
    3.46 -	sed "s|application/deb;|&application/x-xz-compressed-tar;|" -i \
    3.47 +	sed "s|application/deb;$|&application/x-xz-compressed-tar;|" -i \
    3.48  		$fs/usr/share/libfm/archivers.list
    3.49  	# define terminal
    3.50  	sed -i 2i\ 'terminal=terminal' $fs/etc/xdg/libfm/libfm.conf