wok-current 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 8f42e5ca1910
children f99a5ac6f745
files libfm-dev/receipt libfm-gtk/receipt libfm/receipt
line diff
     1.1 --- a/libfm-dev/receipt	Thu Apr 18 17:35:09 2019 +0300
     1.2 +++ b/libfm-dev/receipt	Thu Apr 18 17:37:35 2019 +0300
     1.3 @@ -1,22 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libfm-dev"
     1.7 -VERSION="1.2.5"
     1.8 +VERSION="1.3.1"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="File management support (GTK+ GUI development files)"
    1.11 -MAINTAINER="pankso@slitaz.org"
    1.12 +MAINTAINER="devel@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="http://pcmanfm.sourceforge.net"
    1.15  WANTED="libfm"
    1.16  HOST_ARCH="i486 arm"
    1.17  
    1.18 -DEPENDS="libfm pkg-config glib-dev libgio-dev"
    1.19 +DEPENDS="libfm libfm-gtk pkg-config glib-dev libgio-dev"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24  	mkdir -p $fs/usr/lib
    1.25 -	cp -a $install/usr/include $fs/usr
    1.26 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.27 -	cp -a $install/usr/lib/*a $fs/usr/lib
    1.28 +	cp -a $install/usr/include       $fs/usr/
    1.29 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib/
    1.30 +	cp -a $install/usr/lib/*.la      $fs/usr/lib/
    1.31  }
     2.1 --- a/libfm-gtk/receipt	Thu Apr 18 17:35:09 2019 +0300
     2.2 +++ b/libfm-gtk/receipt	Thu Apr 18 17:37:35 2019 +0300
     2.3 @@ -1,10 +1,10 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libfm-gtk"
     2.7 -VERSION="1.2.5"
     2.8 +VERSION="1.3.1"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="File management support (GTK+2 GUI library)"
    2.11 -MAINTAINER="al.bobylev@gmail.com"
    2.12 +MAINTAINER="devel@slitaz.org"
    2.13  LICENSE="GPL2"
    2.14  WEB_SITE="http://pcmanfm.sourceforge.net"
    2.15  
    2.16 @@ -15,9 +15,9 @@
    2.17  genpkg_rules()
    2.18  {
    2.19  	mkdir -p $fs/usr/lib/libfm/modules $fs/usr/share/libfm
    2.20 -	cp -a $install/usr/bin $fs/usr
    2.21 -	cp -a $install/usr/lib/libfm-gtk.so* $fs/usr/lib
    2.22 -	cp -a $install/usr/lib/libfm/modules/gtk* $fs/usr/lib/libfm/modules
    2.23 -	cp -a $install/usr/share/applications $fs/usr/share
    2.24 -	cp -a $install/usr/share/libfm/images $install/usr/share/libfm/ui $fs/usr/share/libfm
    2.25 +	cp -a $install/usr/bin                    $fs/usr/
    2.26 +	cp -a $install/usr/lib/libfm-gtk.so*      $fs/usr/lib/
    2.27 +	cp -a $install/usr/lib/libfm/modules/gtk* $fs/usr/lib/libfm/modules/
    2.28 +	cp -a $install/usr/share/applications     $fs/usr/share/
    2.29 +	cp -a $install/usr/share/libfm/images $install/usr/share/libfm/ui $fs/usr/share/libfm/
    2.30  }
     3.1 --- a/libfm/receipt	Thu Apr 18 17:35:09 2019 +0300
     3.2 +++ b/libfm/receipt	Thu Apr 18 17:37:35 2019 +0300
     3.3 @@ -1,16 +1,16 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="libfm"
     3.7 -VERSION="1.2.5"
     3.8 +VERSION="1.3.1"
     3.9  CATEGORY="system-tools"
    3.10  SHORT_DESC="File management support (core library)"
    3.11 -MAINTAINER="pankso@slitaz.org"
    3.12 +MAINTAINER="devel@slitaz.org"
    3.13  LICENSE="GPL2"
    3.14  TARBALL="$PACKAGE-$VERSION.tar.xz"
    3.15  WEB_SITE="http://pcmanfm.sourceforge.net"
    3.16 -WGET_URL="$SF_MIRROR/pcmanfm/files/$TARBALL"
    3.17 -EXTRA_SOURCE_FILES="$PACKAGE-reversepatch_SF949_7daeaf3.u" # Really fix segfault
    3.18 -WGET_URL2="https://github.com/lxde/libfm/commit/7daeaf3.patch"
    3.19 +WGET_URL="$SF_MIRROR/pcmanfm/$TARBALL"
    3.20 +#EXTRA_SOURCE_FILES="$PACKAGE-reversepatch_SF949_7daeaf3.u" # Really fix segfault
    3.21 +#WGET_URL2="https://github.com/lxde/libfm/commit/7daeaf3.patch"
    3.22  #WGETURL3="https://github.com/lxde/libfm/commit/2c00984.patch" #narrow icon cell
    3.23  HOST_ARCH="i486 arm"
    3.24  GENERIC_MENUS="no"
    3.25 @@ -28,28 +28,29 @@
    3.26  # Rules to configure and make the package.
    3.27  compile_rules()
    3.28  {
    3.29 -	[ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || \
    3.30 -		wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2
    3.31 -	patch -p1 -R -i $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES
    3.32 -	# fix freeze when using custom action with "inode/directory":
    3.33 -	sed 's|TRUE, 0.5, 0.0|FALSE, 0.0f, 0.0f|' -i src/gtk/fm-standard-view.c
    3.34 +#	[ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || \
    3.35 +#		wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2
    3.36 +#	patch -p1 -R -i $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES
    3.37 +#	# fix freeze when using custom action with "inode/directory":
    3.38 +#	sed 's|TRUE, 0.5, 0.0|FALSE, 0.0f, 0.0f|' -i src/gtk/fm-standard-view.c
    3.39  	./configure \
    3.40  		--sysconfdir=/etc \
    3.41 +		--disable-static \
    3.42  		$CONFIGURE_ARGS &&
    3.43 -	make && make install
    3.44 +	make && make install || return 1
    3.45 +
    3.46 +	# remove libfm-extra files (already provided by libfm-extra package)
    3.47 +	rm $install/usr/lib/libfm-extra.* $install/usr/lib/pkgconfig/libfm-extra.pc
    3.48  }
    3.49  
    3.50  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.51  genpkg_rules()
    3.52  {
    3.53  	mkdir -p $fs/usr/lib/libfm/modules $fs/usr/share/libfm
    3.54 -	cp -a $install/etc $fs
    3.55 -	cp -a $install/usr/lib/libfm.so* $fs/usr/lib
    3.56 -	cp -a $install/usr/lib/libfm-extra.so* $fs/usr/lib
    3.57 -	cp -a $install/usr/lib/libfm/modules/vfs* $fs/usr/lib/libfm/modules
    3.58 -	cp -a $install/usr/share/libfm/*.list $fs/usr/share/libfm
    3.59 -	sed "s|application/deb;$|&application/x-xz-compressed-tar;|" -i \
    3.60 -		$fs/usr/share/libfm/archivers.list
    3.61 +	cp -a $install/etc                        $fs/
    3.62 +	cp -a $install/usr/lib/libfm.so*          $fs/usr/lib/
    3.63 +	cp -a $install/usr/lib/libfm/modules/vfs* $fs/usr/lib/libfm/modules/
    3.64 +	cp -a $install/usr/share/libfm/*.list     $fs/usr/share/libfm/
    3.65  	# define terminal
    3.66  	sed -i 2i\ 'terminal=terminal' $fs/etc/xdg/libfm/libfm.conf
    3.67  	# set small & pane icon size to 16