wok diff libfm/receipt @ rev 21311
3) libfm: up (1.3.1)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 18 17:37:35 2019 +0300 (2019-04-18) |
parents | aac6b4243788 |
children | f99a5ac6f745 |
line diff
1.1 --- a/libfm/receipt Wed Dec 14 13:56:37 2016 +0100 1.2 +++ b/libfm/receipt Thu Apr 18 17:37:35 2019 +0300 1.3 @@ -1,16 +1,16 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="libfm" 1.7 -VERSION="1.2.5" 1.8 +VERSION="1.3.1" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="File management support (core library)" 1.11 -MAINTAINER="pankso@slitaz.org" 1.12 +MAINTAINER="devel@slitaz.org" 1.13 LICENSE="GPL2" 1.14 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.15 WEB_SITE="http://pcmanfm.sourceforge.net" 1.16 -WGET_URL="$SF_MIRROR/pcmanfm/files/$TARBALL" 1.17 -EXTRA_SOURCE_FILES="$PACKAGE-reversepatch_SF949_7daeaf3.u" # Really fix segfault 1.18 -WGET_URL2="https://github.com/lxde/libfm/commit/7daeaf3.patch" 1.19 +WGET_URL="$SF_MIRROR/pcmanfm/$TARBALL" 1.20 +#EXTRA_SOURCE_FILES="$PACKAGE-reversepatch_SF949_7daeaf3.u" # Really fix segfault 1.21 +#WGET_URL2="https://github.com/lxde/libfm/commit/7daeaf3.patch" 1.22 #WGETURL3="https://github.com/lxde/libfm/commit/2c00984.patch" #narrow icon cell 1.23 HOST_ARCH="i486 arm" 1.24 GENERIC_MENUS="no" 1.25 @@ -28,28 +28,29 @@ 1.26 # Rules to configure and make the package. 1.27 compile_rules() 1.28 { 1.29 - [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || \ 1.30 - wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2 1.31 - patch -p1 -R -i $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES 1.32 - # fix freeze when using custom action with "inode/directory": 1.33 - sed 's|TRUE, 0.5, 0.0|FALSE, 0.0f, 0.0f|' -i src/gtk/fm-standard-view.c 1.34 +# [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || \ 1.35 +# wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2 1.36 +# patch -p1 -R -i $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES 1.37 +# # fix freeze when using custom action with "inode/directory": 1.38 +# sed 's|TRUE, 0.5, 0.0|FALSE, 0.0f, 0.0f|' -i src/gtk/fm-standard-view.c 1.39 ./configure \ 1.40 --sysconfdir=/etc \ 1.41 + --disable-static \ 1.42 $CONFIGURE_ARGS && 1.43 - make && make install 1.44 + make && make install || return 1 1.45 + 1.46 + # remove libfm-extra files (already provided by libfm-extra package) 1.47 + rm $install/usr/lib/libfm-extra.* $install/usr/lib/pkgconfig/libfm-extra.pc 1.48 } 1.49 1.50 # Rules to gen a SliTaz package suitable for Tazpkg. 1.51 genpkg_rules() 1.52 { 1.53 mkdir -p $fs/usr/lib/libfm/modules $fs/usr/share/libfm 1.54 - cp -a $install/etc $fs 1.55 - cp -a $install/usr/lib/libfm.so* $fs/usr/lib 1.56 - cp -a $install/usr/lib/libfm-extra.so* $fs/usr/lib 1.57 - cp -a $install/usr/lib/libfm/modules/vfs* $fs/usr/lib/libfm/modules 1.58 - cp -a $install/usr/share/libfm/*.list $fs/usr/share/libfm 1.59 - sed "s|application/deb;$|&application/x-xz-compressed-tar;|" -i \ 1.60 - $fs/usr/share/libfm/archivers.list 1.61 + cp -a $install/etc $fs/ 1.62 + cp -a $install/usr/lib/libfm.so* $fs/usr/lib/ 1.63 + cp -a $install/usr/lib/libfm/modules/vfs* $fs/usr/lib/libfm/modules/ 1.64 + cp -a $install/usr/share/libfm/*.list $fs/usr/share/libfm/ 1.65 # define terminal 1.66 sed -i 2i\ 'terminal=terminal' $fs/etc/xdg/libfm/libfm.conf 1.67 # set small & pane icon size to 16