wok diff libfm/receipt @ rev 18713
Translations for Science category (thanks Aleksej)
author | Lucas Levrel <llevrel@yahoo.fr> |
---|---|
date | Wed Dec 16 20:44:08 2015 +0100 (2015-12-16) |
parents | 63bb4b41e580 |
children | d0c0682403b4 |
line diff
1.1 --- a/libfm/receipt Sun Oct 11 13:59:02 2015 +0200 1.2 +++ b/libfm/receipt Wed Dec 16 20:44:08 2015 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="libfm" 1.7 -VERSION="7daeaf3" 1.8 +VERSION="87217a5" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="File management support (core library)" 1.11 MAINTAINER="pankso@slitaz.org" 1.12 @@ -10,6 +10,8 @@ 1.13 WEB_SITE="http://pcmanfm.sourceforge.net" 1.14 #WGET_URL="$SF_MIRROR/pcmanfm/files/$TARBALL" 1.15 WGET_URL="http://git.lxde.org/gitweb/?p=lxde/libfm.git;a=snapshot;h=$VERSION;sf=txz" 1.16 +EXTRA_SOURCE_FILES="$PACKAGE-reverse_patch.u" # Fix segfaults 1.17 +WGET_URL2="https://github.com/lxde/libfm/commit/113ea3c.diff" 1.18 HOST_ARCH="i486 arm" 1.19 GENERIC_MENUS="no" 1.20 1.21 @@ -17,15 +19,18 @@ 1.22 DEPENDS="glib glibc-base libffi libgio menu-cache pcre zlib" 1.23 BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \ 1.24 libxcb-dev xcb-util-dev menu-cache-dev expat-dev libgio-dev \ 1.25 -shared-mime-info-dev gtk-doc libtool" 1.26 +shared-mime-info-dev gtk-doc libtool automake" 1.27 1.28 case "$ARCH" in 1.29 - i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool gamin-dev vala" 1.30 + i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool vala" 1.31 esac 1.32 1.33 # Rules to configure and make the package. 1.34 compile_rules() 1.35 { 1.36 + [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || \ 1.37 + wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2 1.38 + patch -p1 -R -i $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES 1.39 ./autogen.sh 1.40 ./configure \ 1.41 --sysconfdir=/etc \ 1.42 @@ -42,7 +47,7 @@ 1.43 cp -a $install/usr/lib/libfm-extra.so* $fs/usr/lib 1.44 cp -a $install/usr/lib/libfm/modules/vfs* $fs/usr/lib/libfm/modules 1.45 cp -a $install/usr/share/libfm/*.list $fs/usr/share/libfm 1.46 - sed "s|application/deb;|&application/x-xz-compressed-tar;|" -i \ 1.47 + sed "s|application/deb;$|&application/x-xz-compressed-tar;|" -i \ 1.48 $fs/usr/share/libfm/archivers.list 1.49 # define terminal 1.50 sed -i 2i\ 'terminal=terminal' $fs/etc/xdg/libfm/libfm.conf