wok-next rev 19812

Up cookutils, libatasmart, libfm-extra, libfm, lxappearance, lxmenu-data, menu-cache, pcmanfm.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jul 20 05:10:04 2017 +0300 (2017-07-20)
parents 46d3691a4f80
children 511f2f28cee1
files cookutils/receipt libatasmart-dev/receipt libatasmart/description.txt libatasmart/receipt libfm-dev/description.txt libfm-dev/receipt libfm-extra-dev/receipt libfm-extra/receipt libfm-gtk/description.txt libfm-gtk/receipt libfm/description.libfm-dev.txt libfm/description.libfm-gtk.txt libfm/description.libfm.txt libfm/description.txt libfm/receipt libfm/stuff/empty-file.patch libfm/stuff/patches/empty-file.patch libfm/stuff/patches/series lxappearance-dev/receipt lxappearance/receipt lxappearance/stuff/lxappearance.desktop lxmenu-data/receipt menu-cache-dev/description.txt menu-cache-dev/receipt menu-cache/description.menu-cache-dev.txt menu-cache/description.menu-cache.txt menu-cache/description.txt menu-cache/receipt pcmanfm/receipt pcmanfm/stuff/fix_desktop_menus.patch pcmanfm/stuff/patches/fix_desktop_menus.patch pcmanfm/stuff/patches/pcmanfm-handlers.patch pcmanfm/stuff/patches/pcmanfm-network-icon.patch pcmanfm/stuff/patches/series pcmanfm/stuff/pcmanfm-handlers.patch pcmanfm/stuff/pcmanfm-network-icon.patch unbound/receipt
line diff
     1.1 --- a/cookutils/receipt	Thu Jul 20 00:33:52 2017 +0300
     1.2 +++ b/cookutils/receipt	Thu Jul 20 05:10:04 2017 +0300
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="cookutils"
     1.7 -VERSION="945"
     1.8 +VERSION="949"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="SliTaz packages builder new generation"
    1.11  MAINTAINER="pankso@slitaz.org"
     2.1 --- a/libatasmart-dev/receipt	Thu Jul 20 00:33:52 2017 +0300
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,22 +0,0 @@
     2.4 -# SliTaz package receipt.
     2.5 -
     2.6 -PACKAGE="libatasmart-dev"
     2.7 -VERSION="0.18"
     2.8 -CATEGORY="development"
     2.9 -SHORT_DESC="The libatasmart devel files."
    2.10 -MAINTAINER="pankso@slitaz.org"
    2.11 -LICENSE="LGPL2.1"
    2.12 -WANTED="libatasmart"
    2.13 -WEB_SITE="http://0pointer.de/blog/projects/being-smart.html"
    2.14 -
    2.15 -DEPENDS="udev-dev pkg-config"
    2.16 -
    2.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.18 -genpkg_rules()
    2.19 -{
    2.20 -	mkdir -p $fs/usr/lib $fs/usr/share
    2.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    2.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    2.23 -	cp -a $install/usr/include $fs/usr
    2.24 -	cp -a $install/usr/share/vala $fs/usr/share
    2.25 -}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/libatasmart/description.txt	Thu Jul 20 05:10:04 2017 +0300
     3.3 @@ -0,0 +1,2 @@
     3.4 +The libatasmart package is a disk reporting library. It only supports a subset
     3.5 +of the ATA S.M.A.R.T. functionality.
     4.1 --- a/libatasmart/receipt	Thu Jul 20 00:33:52 2017 +0300
     4.2 +++ b/libatasmart/receipt	Thu Jul 20 05:10:04 2017 +0300
     4.3 @@ -1,31 +1,41 @@
     4.4 -# SliTaz package receipt.
     4.5 +# SliTaz package receipt v2.
     4.6  
     4.7  PACKAGE="libatasmart"
     4.8 -VERSION="0.18"
     4.9 +VERSION="0.19"
    4.10  CATEGORY="system-tools"
    4.11 -SHORT_DESC="The libatasmart package is a disk reporting library."
    4.12 +SHORT_DESC="Disk reporting library"
    4.13  MAINTAINER="pankso@slitaz.org"
    4.14  LICENSE="LGPL2.1"
    4.15 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.16  WEB_SITE="http://0pointer.de/blog/projects/being-smart.html"
    4.17 +
    4.18 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    4.19  WGET_URL="http://0pointer.de/public/$TARBALL"
    4.20  
    4.21 -DEPENDS="udev"
    4.22 -BUILD_DEPENDS="udev-dev"
    4.23 +BUILD_DEPENDS="eudev-dev"
    4.24 +SPLIT="libatasmart-dev"
    4.25  
    4.26  # Rules to configure and make the package.
    4.27  compile_rules()
    4.28  {
    4.29 -	cd $src
    4.30 -	./configure --disable-static \
    4.31 +	# http://www.linuxfromscratch.org/blfs/view/stable/general/libatasmart.html
    4.32 +	./configure \
    4.33 +		--disable-static \
    4.34  		$CONFIGURE_ARGS &&
    4.35 -	make && make install
    4.36 +	make &&
    4.37 +	make docdir=/usr/share/doc/libatasmart-$VERSION install
    4.38  }
    4.39  
    4.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.41  genpkg_rules()
    4.42  {
    4.43 -	mkdir -p $fs/usr/lib
    4.44 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    4.45 -	cp -a $install/usr/sbin $fs/usr
    4.46 +	case $PACKAGE in
    4.47 +		libatasmart)
    4.48 +			copy @std
    4.49 +			DEPENDS="eudev"
    4.50 +			;;
    4.51 +		*-dev)
    4.52 +			copy @dev
    4.53 +			DEPENDS="libatasmart eudev-dev"
    4.54 +			;;
    4.55 +	esac
    4.56  }
     5.1 --- a/libfm-dev/description.txt	Thu Jul 20 00:33:52 2017 +0300
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,4 +0,0 @@
     5.4 -LibFM provides file management functions built on top of Glib/GIO giving
     5.5 -a convenient higher-level API.
     5.6 -
     5.7 -This package contains the development files for builds using GTK+ library.
     6.1 --- a/libfm-dev/receipt	Thu Jul 20 00:33:52 2017 +0300
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,25 +0,0 @@
     6.4 -# SliTaz package receipt.
     6.5 -
     6.6 -PACKAGE="libfm-dev"
     6.7 -VERSION="1.2.5"
     6.8 -CATEGORY="development"
     6.9 -SHORT_DESC="File management support (GTK+ GUI development files)"
    6.10 -MAINTAINER="pankso@slitaz.org"
    6.11 -LICENSE="GPL2"
    6.12 -WEB_SITE="http://pcmanfm.sourceforge.net"
    6.13 -HOST_ARCH="i486 arm"
    6.14 -
    6.15 -WANTED="libfm"
    6.16 -DEPENDS="libfm libfm-gtk libfm-extra-dev atk-dev bzip2-dev cairo-dev \
    6.17 -fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev glibc-dev gtk+-dev \
    6.18 -harfbuzz-dev libexif-dev libffi-dev liblzma-dev libpng-dev \
    6.19 -libxcb-dev libxml2-dev menu-cache-dev pango-dev pcre-dev pixman-dev \
    6.20 -xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
    6.21 -xorg-libXrender-dev zlib-dev"
    6.22 -
    6.23 -# Rules to gen a SliTaz package suitable for Tazpkg.
    6.24 -genpkg_rules()
    6.25 -{
    6.26 -	copy *.h *.la *.pc libfm
    6.27 -	cook_split_rm libfm-extra-dev
    6.28 -}
     7.1 --- a/libfm-extra-dev/receipt	Thu Jul 20 00:33:52 2017 +0300
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,18 +0,0 @@
     7.4 -# SliTaz package receipt.
     7.5 -
     7.6 -PACKAGE="libfm-extra-dev"
     7.7 -VERSION="1.2.5"
     7.8 -CATEGORY="development"
     7.9 -SHORT_DESC="Library and other files required by menu-cache-gen (development files)"
    7.10 -MAINTAINER="al.bobylev@gmail.com"
    7.11 -LICENSE="GPL2"
    7.12 -WEB_SITE="https://github.com/lxde/libfm"
    7.13 -
    7.14 -WANTED="libfm-extra"
    7.15 -DEPENDS="libfm-extra glib-dev glibc-dev libffi-dev pcre-dev zlib-dev"
    7.16 -
    7.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    7.18 -genpkg_rules()
    7.19 -{
    7.20 -	copy *.h *.la *.pc libfm
    7.21 -}
     8.1 --- a/libfm-extra/receipt	Thu Jul 20 00:33:52 2017 +0300
     8.2 +++ b/libfm-extra/receipt	Thu Jul 20 05:10:04 2017 +0300
     8.3 @@ -1,4 +1,4 @@
     8.4 -# SliTaz package receipt.
     8.5 +# SliTaz package receipt v2.
     8.6  
     8.7  PACKAGE="libfm-extra"
     8.8  VERSION="1.2.5"
     8.9 @@ -11,13 +11,14 @@
    8.10  TARBALL="libfm-$VERSION.tar.xz"
    8.11  WGET_URL="$SF_MIRROR/pcmanfm/$TARBALL"
    8.12  
    8.13 -DEPENDS="glib"
    8.14  BUILD_DEPENDS="intltool gtk-doc"
    8.15 +SPLIT="libfm-extra-dev"
    8.16  SIBLINGS="libfm"
    8.17  
    8.18  # Rules to configure and make the package.
    8.19  compile_rules()
    8.20  {
    8.21 +	# http://www.linuxfromscratch.org/blfs/view/stable/lxde/libfm-extra.html
    8.22  	./configure \
    8.23  		--sysconfdir=/etc \
    8.24  		--with-extra-only \
    8.25 @@ -30,5 +31,16 @@
    8.26  # Rules to gen a SliTaz package suitable for Tazpkg.
    8.27  genpkg_rules()
    8.28  {
    8.29 -	copy *.so*
    8.30 +	case $PACKAGE in
    8.31 +		*-extra)
    8.32 +			copy @std
    8.33 +			DEPENDS="glib"
    8.34 +			;;
    8.35 +		*-dev)
    8.36 +			copy @dev
    8.37 +			DEPENDS="libfm-extra glib-dev libffi-dev pcre-dev \
    8.38 +			util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
    8.39 +			zlib-dev"
    8.40 +			;;
    8.41 +	esac
    8.42  }
     9.1 --- a/libfm-gtk/description.txt	Thu Jul 20 00:33:52 2017 +0300
     9.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.3 @@ -1,4 +0,0 @@
     9.4 -LibFM provides file management functions built on top of Glib/GIO giving
     9.5 -a convenient higher-level API.
     9.6 -
     9.7 -This package contains the GTK+ version 2.0 GUI.
    10.1 --- a/libfm-gtk/receipt	Thu Jul 20 00:33:52 2017 +0300
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,18 +0,0 @@
    10.4 -# SliTaz package receipt.
    10.5 -
    10.6 -PACKAGE="libfm-gtk"
    10.7 -VERSION="1.2.5"
    10.8 -CATEGORY="system-tools"
    10.9 -SHORT_DESC="File management support (GTK+2 GUI library)"
   10.10 -MAINTAINER="al.bobylev@gmail.com"
   10.11 -LICENSE="GPL2"
   10.12 -WEB_SITE="http://pcmanfm.sourceforge.net"
   10.13 -
   10.14 -WANTED="libfm"
   10.15 -DEPENDS="libfm gtk+"
   10.16 -
   10.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   10.18 -genpkg_rules()
   10.19 -{
   10.20 -	copy bin/ applications/ images/ ui/ libfm-gtk.so* gtk*.so
   10.21 -}
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/libfm/description.libfm-dev.txt	Thu Jul 20 05:10:04 2017 +0300
    11.3 @@ -0,0 +1,4 @@
    11.4 +LibFM provides file management functions built on top of Glib/GIO giving
    11.5 +a convenient higher-level API.
    11.6 +
    11.7 +This package contains the development files for builds using GTK+ library.
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/libfm/description.libfm-gtk.txt	Thu Jul 20 05:10:04 2017 +0300
    12.3 @@ -0,0 +1,4 @@
    12.4 +LibFM provides file management functions built on top of Glib/GIO giving
    12.5 +a convenient higher-level API.
    12.6 +
    12.7 +This package contains the GTK+ version 2.0 GUI.
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/libfm/description.libfm.txt	Thu Jul 20 05:10:04 2017 +0300
    13.3 @@ -0,0 +1,16 @@
    13.4 +LibFM provides file management functions built on top of Glib/GIO, giving
    13.5 +a convenient higher-level API.
    13.6 +
    13.7 +Some features:
    13.8 +
    13.9 +  * Desktop-independent, following FreeDesktop standards;
   13.10 +  * Fast, light on memory usage, and responsive - well suited to less powerful
   13.11 +    hardware such as netbooks and thin clients;
   13.12 +  * Uses GIO/GVFS (like Nautilus) for Trash support and access to remote file
   13.13 +    systems (FTP, SFTP, WebDAV, Windows shares, etc.);
   13.14 +  * Clipboard operations are compatible with GTK+/GNOME and Qt/KDE;
   13.15 +  * Supports both Drag-and-Drop, and the X Direct Save protocol;
   13.16 +  * Reusable design with the core functions separated out to simplify porting
   13.17 +    to other GUIs.
   13.18 +
   13.19 +This package contains the core library.
    14.1 --- a/libfm/description.txt	Thu Jul 20 00:33:52 2017 +0300
    14.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.3 @@ -1,15 +0,0 @@
    14.4 -LibFM provides file management functions built on top of Glib/GIO, giving
    14.5 -a convenient higher-level API.
    14.6 -
    14.7 -Some features:
    14.8 -  * Desktop-independent, following FreeDesktop standards;
    14.9 -  * Fast, light on memory usage, and responsive - well suited to less powerful
   14.10 -    hardware such as netbooks and thin clients;
   14.11 -  * Uses GIO/GVFS (like Nautilus) for Trash support and access to remote file
   14.12 -    systems (FTP, SFTP, WebDAV, Windows shares, etc.);
   14.13 -  * Clipboard operations are compatible with GTK+/GNOME and Qt/KDE;
   14.14 -  * Supports both Drag-and-Drop, and the X Direct Save protocol;
   14.15 -  * Reusable design with the core functions separated out to simplify porting
   14.16 -    to other GUIs.
   14.17 -
   14.18 -This package contains the core library.
    15.1 --- a/libfm/receipt	Thu Jul 20 00:33:52 2017 +0300
    15.2 +++ b/libfm/receipt	Thu Jul 20 05:10:04 2017 +0300
    15.3 @@ -1,4 +1,4 @@
    15.4 -# SliTaz package receipt.
    15.5 +# SliTaz package receipt v2.
    15.6  
    15.7  PACKAGE="libfm"
    15.8  VERSION="1.2.5"
    15.9 @@ -8,46 +8,70 @@
   15.10  LICENSE="GPL2"
   15.11  WEB_SITE="http://pcmanfm.sourceforge.net"
   15.12  HOST_ARCH="i486 arm"
   15.13 -CONFIG_FILES="/etc/xdg/libfm/libfm.conf"
   15.14 -GENERIC_MENUS="no"
   15.15 -SUGGESTED="gvfs"
   15.16  
   15.17  TARBALL="$PACKAGE-$VERSION.tar.xz"
   15.18  WGET_URL="$SF_MIRROR/pcmanfm/files/$TARBALL"
   15.19  
   15.20 -DEPENDS="glib libexif libffi libfm-extra menu-cache pcre zlib"
   15.21  BUILD_DEPENDS="vala intltool gtk+-dev menu-cache-dev libexif-dev gtk-doc"
   15.22  BUILD_DEPENDS_arm="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \
   15.23 -libxcb-dev xcb-util-dev menu-cache-dev expat-dev glib-dev \
   15.24 +xorg-libxcb-dev xcb-util-dev menu-cache-dev expat-dev glib-dev \
   15.25  shared-mime-info-dev"
   15.26  SIBLINGS="libfm-extra"
   15.27  SPLIT="libfm-gtk libfm-dev"
   15.28  
   15.29 -case "$ARCH" in
   15.30 -	arm*) BUILD_DEPENDS=$BUILD_DEPENDS_arm;;
   15.31 -esac
   15.32 -
   15.33  # Rules to configure and make the package.
   15.34  compile_rules()
   15.35  {
   15.36 +	# http://www.linuxfromscratch.org/blfs/view/stable/lxde/libfm.html
   15.37  	./configure \
   15.38  		--sysconfdir=/etc \
   15.39  		--disable-static \
   15.40  		--enable-gtk-doc \
   15.41  		$CONFIGURE_ARGS &&
   15.42 -	make && make install
   15.43 +	make && make install &&
   15.44 +
   15.45 +	# remove useless file
   15.46 +	rm -r $install/usr/share/mime/ &&
   15.47 +	# remove libfm-extra package files
   15.48 +	find $install \( -name 'libfm-extra*' -o -name 'fm-extra.h' -o \
   15.49 +		-name 'fm-version.h' -o -name 'fm-xml-file.h' \) -delete
   15.50  }
   15.51  
   15.52  # Rules to gen a SliTaz package suitable for Tazpkg.
   15.53  genpkg_rules()
   15.54  {
   15.55 -	copy etc/ libfm.so* vfs*.so *.list
   15.56 +	case $PACKAGE in
   15.57 +		libfm)
   15.58 +			copy etc/ libfm.so* vfs*.so *.list
   15.59 +			# define terminal
   15.60 +			sed -i 2i\ 'terminal=terminal' $fs/etc/xdg/libfm/libfm.conf
   15.61 +			# set small & pane icon size to 16
   15.62 +			sed -i 's|\(\(small\|pane\)_icon_size=\).*|\116|' \
   15.63 +				$fs/etc/xdg/libfm/libfm.conf
   15.64  
   15.65 -	# extend xarchiver mime_types
   15.66 -	sed "s|application/deb;$|&application/x-xz-compressed-tar;|" -i \
   15.67 -		$fs/usr/share/libfm/archivers.list
   15.68 -	# define terminal
   15.69 -	sed -i 2i\ 'terminal=terminal' $fs/etc/xdg/libfm/libfm.conf
   15.70 -	# set small & pane icon size to 16
   15.71 -	sed -i 's|\(\(small\|pane\)_icon_size=\).*|\116|' $fs/etc/xdg/libfm/libfm.conf
   15.72 +			CAT="system-tools|core library"
   15.73 +			DEPENDS="glib libexif libffi libfm-extra menu-cache pcre \
   15.74 +			util-linux-blkid util-linux-mount util-linux-uuid zlib"
   15.75 +			GENERIC_MENUS="no"
   15.76 +			SUGGESTED="gvfs"
   15.77 +			CONFIG_FILES="/etc/xdg/libfm/libfm.conf"
   15.78 +			;;
   15.79 +		libfm-gtk)
   15.80 +			copy bin/ applications/ images/ ui/ libfm-gtk.so* gtk*.so
   15.81 +			CAT="system-tools|GTK+2 GUI library"
   15.82 +			DEPENDS="libfm atk cairo fontconfig freetype gdk-pixbuf glib gtk+ \
   15.83 +			menu-cache pango"
   15.84 +			;;
   15.85 +		libfm-dev)
   15.86 +			copy @dev
   15.87 +			DEPENDS="libfm libfm-gtk libfm-extra-dev \
   15.88 +			atk-dev bzip2-dev cairo-dev fontconfig-dev freetype-dev \
   15.89 +			gdk-pixbuf-dev glib-dev gtk+-dev harfbuzz-dev libexif-dev \
   15.90 +			libffi-dev libpng16-dev libxml2-dev menu-cache-dev pango-dev \
   15.91 +			pcre-dev util-linux-blkid-dev util-linux-mount-dev \
   15.92 +			util-linux-uuid-dev xorg-libX11-dev xorg-libXau-dev \
   15.93 +			xorg-libXdmcp-dev xorg-libXext-dev xorg-libXrender-dev \
   15.94 +			xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
   15.95 +			;;
   15.96 +	esac
   15.97  }
    16.1 --- a/libfm/stuff/empty-file.patch	Thu Jul 20 00:33:52 2017 +0300
    16.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.3 @@ -1,15 +0,0 @@
    16.4 ---- src/base/fm-mime-type.c.orig
    16.5 -+++ src/base/fm-mime-type.c
    16.6 -@@ -156,10 +156,10 @@
    16.7 -         if(uncertain)
    16.8 -         {
    16.9 -             int fd, len;
   16.10 --            if(pstat->st_size == 0) /* empty file = text file with 0 characters in it. */
   16.11 -+            if(pstat->st_size == 0) /* empty file */
   16.12 -             {
   16.13 -                 g_free(type);
   16.14 --                return fm_mime_type_from_name("text/plain");
   16.15 -+                return fm_mime_type_from_name("application/x-zerosize");
   16.16 -             }
   16.17 -             fd = open(file_path, O_RDONLY);
   16.18 -             if(fd >= 0)
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/libfm/stuff/patches/empty-file.patch	Thu Jul 20 05:10:04 2017 +0300
    17.3 @@ -0,0 +1,15 @@
    17.4 +--- a/src/base/fm-mime-type.c
    17.5 ++++ b/src/base/fm-mime-type.c
    17.6 +@@ -153,10 +153,10 @@
    17.7 +         if(uncertain)
    17.8 +         {
    17.9 +             int fd, len;
   17.10 +-            if(pstat->st_size == 0) /* empty file = text file with 0 characters in it. */
   17.11 ++            if(pstat->st_size == 0) /* empty file */
   17.12 +             {
   17.13 +                 g_free(type);
   17.14 +-                return fm_mime_type_from_name("text/plain");
   17.15 ++                return fm_mime_type_from_name("application/x-zerosize");
   17.16 +             }
   17.17 +             fd = open(file_path, O_RDONLY);
   17.18 +             if(fd >= 0)
    18.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.2 +++ b/libfm/stuff/patches/series	Thu Jul 20 05:10:04 2017 +0300
    18.3 @@ -0,0 +1,1 @@
    18.4 +empty-file.patch
    19.1 --- a/lxappearance-dev/receipt	Thu Jul 20 00:33:52 2017 +0300
    19.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.3 @@ -1,22 +0,0 @@
    19.4 -# SliTaz package receipt.
    19.5 -
    19.6 -PACKAGE="lxappearance-dev"
    19.7 -VERSION="0.5.5"
    19.8 -CATEGORY="development"
    19.9 -SHORT_DESC="LXDE GTK+ theme switcher (development)"
   19.10 -MAINTAINER="pankso@slitaz.org"
   19.11 -LICENSE="GPL2"
   19.12 -WANTED="lxappearance"
   19.13 -WEB_SITE="http://lxde.org/"
   19.14 -TAGS="LXDE"
   19.15 -HOST_ARCH="i486 arm"
   19.16 -
   19.17 -DEPENDS="gtk+-dev pkg-config"
   19.18 -
   19.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   19.20 -genpkg_rules()
   19.21 -{
   19.22 -	mkdir -p $fs/usr
   19.23 -	cp -a $install/usr/lib $fs/usr
   19.24 -	cp -a $install/usr/include $fs/usr
   19.25 -}
    20.1 --- a/lxappearance/receipt	Thu Jul 20 00:33:52 2017 +0300
    20.2 +++ b/lxappearance/receipt	Thu Jul 20 05:10:04 2017 +0300
    20.3 @@ -1,25 +1,31 @@
    20.4 -# SliTaz package receipt.
    20.5 +# SliTaz package receipt v2.
    20.6  
    20.7  PACKAGE="lxappearance"
    20.8 -VERSION="0.5.5"
    20.9 +VERSION="0.6.3"
   20.10  CATEGORY="x-window"
   20.11  SHORT_DESC="LXDE GTK+ theme switcher"
   20.12  MAINTAINER="pankso@slitaz.org"
   20.13  LICENSE="GPL2"
   20.14  WEB_SITE="http://lxde.sourceforge.net/"
   20.15 +HOST_ARCH="i486 arm"
   20.16 +
   20.17  TARBALL="$PACKAGE-$VERSION.tar.xz"
   20.18  WGET_URL="$SF_MIRROR/lxde/$TARBALL"
   20.19 -TAGS="LXDE"
   20.20 -HOST_ARCH="i486 arm"
   20.21  
   20.22 -DEPENDS="gtk+"
   20.23 -BUILD_DEPENDS="xorg-libX11-dev gtk+-dev"
   20.24 +BUILD_DEPENDS="intltool xorg-libX11-dev gtk+-dev dbus-dev dbus-glib-dev"
   20.25 +SPLIT="lxappearance-dev"
   20.26  
   20.27  # Rules to configure and make the package.
   20.28  compile_rules()
   20.29  {
   20.30 +	# http://www.linuxfromscratch.org/blfs/view/stable/lxde/lxappearance.html
   20.31 +
   20.32 +	# remove keywords from desktop file
   20.33 +	sed -i '/^_Keywords/d' $src/data/lxappearance.desktop.in
   20.34 +
   20.35  	./configure \
   20.36  		--sysconfdir=/etc \
   20.37 +		--enable-dbus \
   20.38  		$CONFIGURE_ARGS &&
   20.39  	make && make install
   20.40  }
   20.41 @@ -27,8 +33,16 @@
   20.42  # Rules to gen a SliTaz package suitable for Tazpkg.
   20.43  genpkg_rules()
   20.44  {
   20.45 -	mkdir -p $fs/usr/share
   20.46 -	cp -a $install/usr/bin $fs/usr
   20.47 -	cp -a $install/usr/share/applications $fs/usr/share
   20.48 -	cp -a $install/usr/share/lxappearance $fs/usr/share
   20.49 +	TAGS="LXDE"
   20.50 +	case $PACKAGE in
   20.51 +		lxappearance)
   20.52 +			copy @std
   20.53 +			DEPENDS="atk cairo dbus dbus-glib fontconfig freetype gdk-pixbuf \
   20.54 +			glib gtk+ pango xorg-libX11"
   20.55 +			;;
   20.56 +		*-dev)
   20.57 +			copy @dev
   20.58 +			DEPENDS="lxappearance glib-dev gtk+-dev"
   20.59 +			;;
   20.60 +	esac
   20.61  }
    21.1 --- a/lxappearance/stuff/lxappearance.desktop	Thu Jul 20 00:33:52 2017 +0300
    21.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.3 @@ -1,19 +0,0 @@
    21.4 -[Desktop Entry]
    21.5 -Type=Application
    21.6 -Name=Appearance GTK+
    21.7 -Name[cs]=Vzhled GTK+
    21.8 -Name[de]=Erscheinungsbild GTK+
    21.9 -Name[es]=Apariencia GTK+
   21.10 -Name[fr]=Apparence GTK+
   21.11 -Name[it]=Aspetto GTK+
   21.12 -Name[ja]=外観の設定 GTK+
   21.13 -Name[pt]=Aparência GTK+
   21.14 -Name[ru]=Внешний вид GTK+
   21.15 -Name[zh_CN]=外观 GTK+
   21.16 -Name[zh_TW]=外觀設定 GTK+
   21.17 -Exec=lxappearance
   21.18 -Icon=preferences-desktop-theme
   21.19 -Terminal=false
   21.20 -StartupNotify=true
   21.21 -Categories=GTK;Settings;DesktopSettings;
   21.22 -NotShowIn=GNOME;XFCE;
    22.1 --- a/lxmenu-data/receipt	Thu Jul 20 00:33:52 2017 +0300
    22.2 +++ b/lxmenu-data/receipt	Thu Jul 20 05:10:04 2017 +0300
    22.3 @@ -1,4 +1,4 @@
    22.4 -# SliTaz package receipt.
    22.5 +# SliTaz package receipt v2.
    22.6  
    22.7  PACKAGE="lxmenu-data"
    22.8  VERSION="0.1.5"
    22.9 @@ -7,23 +7,18 @@
   22.10  MAINTAINER="rcx@zoominternet.net"
   22.11  LICENSE="GPL2"
   22.12  WEB_SITE="http://lxde.org/"
   22.13 -CONFIG_FILES="/etc/xdg/menus/lxde-applications.menu"
   22.14 -TAGS="LXDE"
   22.15  HOST_ARCH="i486 arm"
   22.16  
   22.17  TARBALL="$PACKAGE-$VERSION.tar.xz"
   22.18  WGET_URL="$SF_MIRROR/lxde/$TARBALL"
   22.19  
   22.20  BUILD_DEPENDS="gettext intltool"
   22.21 -BUILD_DEPENDS_arm=""
   22.22 -
   22.23 -case $ARCH in
   22.24 -	arm*) BUILD_DEPENDS=$BUILD_DEPENDS_arm;;
   22.25 -esac
   22.26 +BUILD_DEPENDS_arm=" "
   22.27  
   22.28  # Rules to configure and make the package.
   22.29  compile_rules()
   22.30  {
   22.31 +	# http://www.linuxfromscratch.org/blfs/view/stable/lxde/lxmenu-data.html
   22.32  	./configure \
   22.33  		--sysconfdir=/etc \
   22.34  		$CONFIGURE_ARGS &&
   22.35 @@ -33,5 +28,7 @@
   22.36  # Rules to gen a SliTaz package suitable for Tazpkg.
   22.37  genpkg_rules()
   22.38  {
   22.39 -	copy etc/ usr/
   22.40 +	copy @std
   22.41 +	CONFIG_FILES="/etc/xdg/menus/lxde-applications.menu"
   22.42 +	TAGS="LXDE"
   22.43  }
    23.1 --- a/menu-cache-dev/description.txt	Thu Jul 20 00:33:52 2017 +0300
    23.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.3 @@ -1,4 +0,0 @@
    23.4 -Libmenu-cache is a library creating and utilizing caches to speed up the access
    23.5 -to freedesktop.org defined application menus.
    23.6 -
    23.7 -This package contains the development files.
    24.1 --- a/menu-cache-dev/receipt	Thu Jul 20 00:33:52 2017 +0300
    24.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.3 @@ -1,20 +0,0 @@
    24.4 -# SliTaz package receipt.
    24.5 -
    24.6 -PACKAGE="menu-cache-dev"
    24.7 -VERSION="1.0.2"
    24.8 -CATEGORY="development"
    24.9 -SHORT_DESC="LXDE implementation of the freedesktop menu's cache (development files)"
   24.10 -MAINTAINER="pankso@slitaz.org"
   24.11 -LICENSE="GPL2"
   24.12 -WEB_SITE="https://github.com/lxde/menu-cache"
   24.13 -TAGS="LXDE"
   24.14 -HOST_ARCH="i486 arm"
   24.15 -
   24.16 -WANTED="menu-cache"
   24.17 -DEPENDS="menu-cache glib-dev glibc-dev libffi-dev pcre-dev zlib-dev"
   24.18 -
   24.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   24.20 -genpkg_rules()
   24.21 -{
   24.22 -	copy *.h *.la *.pc
   24.23 -}
    25.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    25.2 +++ b/menu-cache/description.menu-cache-dev.txt	Thu Jul 20 05:10:04 2017 +0300
    25.3 @@ -0,0 +1,4 @@
    25.4 +Libmenu-cache is a library creating and utilizing caches to speed up the access
    25.5 +to freedesktop.org defined application menus.
    25.6 +
    25.7 +This package contains the development files.
    26.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    26.2 +++ b/menu-cache/description.menu-cache.txt	Thu Jul 20 05:10:04 2017 +0300
    26.3 @@ -0,0 +1,11 @@
    26.4 +Libmenu-cache is a library creating and utilizing caches to speed up the access
    26.5 +to freedesktop.org defined application menus.
    26.6 +
    26.7 +It can be used as a replacement of libgnome-menu of gnome-menus:
    26.8 +
    26.9 +  * Shorten time for loading menu entries.
   26.10 +  * Ease of use (API is very similar to that of libgnome-menu).
   26.11 +  * Lightweight runtime library (parsing of the menu definition files are done
   26.12 +    by `menu-cache-gen` when the menus are really changed).
   26.13 +  * Less unnecessary and complicated file monitoring.
   26.14 +  * Heavily reduced disk I/O.
    27.1 --- a/menu-cache/description.txt	Thu Jul 20 00:33:52 2017 +0300
    27.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    27.3 @@ -1,10 +0,0 @@
    27.4 -Libmenu-cache is a library creating and utilizing caches to speed up the access
    27.5 -to freedesktop.org defined application menus.
    27.6 -
    27.7 -It can be used as a replacement of libgnome-menu of gnome-menus:
    27.8 -  * Shorten time for loading menu entries.
    27.9 -  * Ease of use (API is very similar to that of libgnome-menu).
   27.10 -  * Lightweight runtime library (parsing of the menu definition files are done
   27.11 -    by menu-cache-gen when the menus are really changed).
   27.12 -  * Less unnecessary and complicated file monitoring.
   27.13 -  * Heavily reduced disk I/O.
    28.1 --- a/menu-cache/receipt	Thu Jul 20 00:33:52 2017 +0300
    28.2 +++ b/menu-cache/receipt	Thu Jul 20 05:10:04 2017 +0300
    28.3 @@ -1,24 +1,24 @@
    28.4 -# SliTaz package receipt.
    28.5 +# SliTaz package receipt v2.
    28.6  
    28.7  PACKAGE="menu-cache"
    28.8  VERSION="1.0.2"
    28.9  CATEGORY="x-window"
   28.10 -SHORT_DESC="LXDE implementation of the freedesktop Menu's cache"
   28.11 +SHORT_DESC="LXDE implementation of the freedesktop menu's cache"
   28.12  MAINTAINER="pankso@slitaz.org"
   28.13  LICENSE="GPL2"
   28.14  WEB_SITE="https://github.com/lxde/menu-cache"
   28.15 -TAGS="LXDE"
   28.16  HOST_ARCH="i486 arm"
   28.17  
   28.18  TARBALL="$PACKAGE-$VERSION.tar.xz"
   28.19  WGET_URL="$SF_MIRROR/lxde/$TARBALL"
   28.20  
   28.21 -DEPENDS="glib libfm-extra"
   28.22  BUILD_DEPENDS="glib-dev libfm-extra-dev gtk-doc"
   28.23 +SPLIT="menu-cache-dev"
   28.24  
   28.25  # Rules to configure and make the package.
   28.26  compile_rules()
   28.27  {
   28.28 +	# http://www.linuxfromscratch.org/blfs/view/stable/lxde/menu-cache.html
   28.29  	./configure \
   28.30  		--disable-static \
   28.31  		--enable-gtk-doc \
   28.32 @@ -29,5 +29,18 @@
   28.33  # Rules to gen a SliTaz package suitable for Tazpkg.
   28.34  genpkg_rules()
   28.35  {
   28.36 -	copy *.so* libexec/
   28.37 +	case $PACKAGE in
   28.38 +		*-cache)
   28.39 +			copy @std
   28.40 +			DEPENDS="glib libfm-extra"
   28.41 +			TAGS="LXDE"
   28.42 +			;;
   28.43 +		*-dev)
   28.44 +			copy @dev
   28.45 +			DEPENDS="menu-cache glib-dev libffi-dev pcre-dev \
   28.46 +			util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
   28.47 +			zlib-dev"
   28.48 +			TAGS="LXDE"
   28.49 +			;;
   28.50 +	esac
   28.51  }
    29.1 --- a/pcmanfm/receipt	Thu Jul 20 00:33:52 2017 +0300
    29.2 +++ b/pcmanfm/receipt	Thu Jul 20 05:10:04 2017 +0300
    29.3 @@ -1,57 +1,49 @@
    29.4 -# SliTaz package receipt.
    29.5 +# SliTaz package receipt v2.
    29.6  
    29.7  PACKAGE="pcmanfm"
    29.8  VERSION="1.2.5"
    29.9  CATEGORY="system-tools"
   29.10 -SHORT_DESC="Light and easy to use file manager."
   29.11 +SHORT_DESC="Light and easy to use file manager"
   29.12  MAINTAINER="pankso@slitaz.org"
   29.13  LICENSE="GPL2"
   29.14 +WEB_SITE="http://pcmanfm.sourceforge.net/"
   29.15 +HOST_ARCH="i486 arm"
   29.16 +
   29.17  TARBALL="$PACKAGE-$VERSION.tar.xz"
   29.18 -WEB_SITE="http://pcmanfm.sourceforge.net/"
   29.19  #WGET_URL="$SF_MIRROR/$PACKAGE/files/$TARBALL"
   29.20  WGET_URL="http://git.lxde.org/gitweb/?p=lxde/pcmanfm.git;a=snapshot;h=$VERSION;sf=txz"
   29.21 -TAGS="file-manager"
   29.22 -HOST_ARCH="i486 arm"
   29.23  
   29.24 -SUGGESTED="gvfs"
   29.25 -DEPENDS="glibc-base glib util-linux-uuid libxcb xcb-util expat \
   29.26 -zlib fontconfig freetype gtk+ startup-notification dbus dbus-glib libfm-gtk"
   29.27 -BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \
   29.28 -libxcb-dev xcb-util-dev libfm-dev menu-cache-dev expat-dev libfm-gtk gtk-doc libtool"
   29.29 -
   29.30 -# Handle cross compilation.
   29.31 -case "$ARCH" in
   29.32 -	i?86) BUILD_DEPENDS="$BUILD_DEPENDS shared-mime-info intltool gvfs-dev" ;;
   29.33 -esac
   29.34 +BUILD_DEPENDS_arm="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \
   29.35 +libxcb-dev xcb-util-dev libfm-dev menu-cache-dev expat-dev libfm-gtk gtk-doc \
   29.36 +libtool"
   29.37 +BUILD_DEPENDS="intltool xorg-libX11-dev pango-dev libfm-dev gtk+-dev"
   29.38  
   29.39  # Rules to configure and make the package.
   29.40  compile_rules()
   29.41  {
   29.42 -	patch -p1 -R -i $stuff/fix_desktop_menus.patch
   29.43 -	patch -p1 -i $stuff/pcmanfm-network-icon.patch
   29.44 -	patch -p1 -i $stuff/pcmanfm-handlers.patch
   29.45 +	# http://www.linuxfromscratch.org/blfs/view/stable/lxde/pcmanfm.html
   29.46 +	./configure \
   29.47 +		--sysconfdir=/etc \
   29.48 +		$CONFIGURE_ARGS &&
   29.49 +	make && make install &&
   29.50  
   29.51 -	./autogen.sh
   29.52 -	./configure $CONFIGURE_ARGS &&
   29.53 -	make && make install
   29.54 +	mkdir -p $install/etc/xdg/pcmanfm/ &&
   29.55 +	# default settings
   29.56 +	cp -r $stuff/default/ $install/etc/xdg/pcmanfm/ &&
   29.57 +	# XDG autostart desktop file (lxsession will use it automatically)
   29.58 +	cp -r $stuff/autostart/ $install/etc/xdg/ &&
   29.59 +	# add custom actions
   29.60 +	mkdir -p $install/usr/share/file-manager &&
   29.61 +	cp -r $stuff/actions/ $install/usr/share/file-manager &&
   29.62 +	install -m755 $stuff/gvfs-mount-archive.sh $install/usr/bin
   29.63  }
   29.64  
   29.65  # Rules to gen a SliTaz package suitable for Tazpkg.
   29.66  genpkg_rules()
   29.67  {
   29.68 -	mkdir -p $fs/usr/share $fs/etc/xdg/pcmanfm
   29.69 -	cp -a $install/usr/bin $fs/usr
   29.70 -	cp -a $install/usr/share/pcmanfm $fs/usr/share
   29.71 -	cp -a $stuff/default $fs/etc/xdg/pcmanfm
   29.72 -
   29.73 -	# XDG autostart desktop file (lxsession will use it automatically)
   29.74 -	cp -a $stuff/autostart $fs/etc/xdg
   29.75 -
   29.76 -	cp -a $install/usr/share/applications $fs/usr/share
   29.77 -
   29.78 -	# Add custom actions
   29.79 -	mkdir -p $fs/usr/share/file-manager
   29.80 -	cp -a $stuff/actions $fs/usr/share/file-manager
   29.81 -	cp -a $stuff/gvfs-mount-archive.sh $fs/usr/bin
   29.82 -	chmod +x $fs/usr/bin/gvfs-mount-archive.sh
   29.83 +	copy @std
   29.84 +	DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ libfm \
   29.85 +	libfm-gtk pango xorg-libX11"
   29.86 +	SUGGESTED="gvfs"
   29.87 +	TAGS="file-manager"
   29.88  }
    30.1 --- a/pcmanfm/stuff/fix_desktop_menus.patch	Thu Jul 20 00:33:52 2017 +0300
    30.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    30.3 @@ -1,90 +0,0 @@
    30.4 -Commit: http://git.lxde.org/gitweb/?p=lxde/pcmanfm.git;a=commit;h=ae7ed3af651041a5538634ac9e35dc479e280ad9
    30.5 -We revert it to fix desktop Openbox menus: Cannot open Right-click and Middle-Click menu in same time.
    30.6 ---- a/src/desktop.c
    30.7 -+++ b/src/desktop.c
    30.8 -@@ -3314,9 +3314,12 @@ static gboolean on_button_press(GtkWidget* w, GdkEventButton* evt)
    30.9 - 
   30.10 -     if(evt->type == GDK_BUTTON_PRESS)
   30.11 -     {
   30.12 -+        /* ignore another buttons while some is in progress */
   30.13 -+        if (self->button_pressed == 0)
   30.14 -+            self->button_pressed = evt->button;
   30.15 -         if(evt->button == 1)  /* left button */
   30.16 -         {
   30.17 --            self->button_pressed = TRUE;    /* store button state for drag & drop */
   30.18 -+            /* store button state for drag & drop */
   30.19 -             self->drag_start_x = evt->x;
   30.20 -             self->drag_start_y = evt->y;
   30.21 -         }
   30.22 -@@ -3411,8 +3414,11 @@ static gboolean on_button_press(GtkWidget* w, GdkEventButton* evt)
   30.23 -             gtk_tree_path_free(tp);
   30.24 -     }
   30.25 -     /* forward the event to root window */
   30.26 --    else if(evt->button != 1)
   30.27 -+    else if(evt->button != 1 && evt->button == self->button_pressed)
   30.28 -+    {
   30.29 -+        self->forward_pending = TRUE;
   30.30 -         forward_event_to_rootwin(gtk_widget_get_screen(w), (GdkEvent*)evt);
   30.31 -+    }
   30.32 - 
   30.33 -     if(! gtk_widget_has_focus(w))
   30.34 -     {
   30.35 -@@ -3425,10 +3431,6 @@ static gboolean on_button_press(GtkWidget* w, GdkEventButton* evt)
   30.36 - static gboolean on_button_release(GtkWidget* w, GdkEventButton* evt)
   30.37 - {
   30.38 -     FmDesktop* self = (FmDesktop*)w;
   30.39 --    GtkTreeIter it;
   30.40 --    FmDesktopItem* clicked_item = hit_test(self, &it, evt->x, evt->y);
   30.41 --
   30.42 --    self->button_pressed = FALSE;
   30.43 - 
   30.44 -     if(self->rubber_bending)
   30.45 -     {
   30.46 -@@ -3442,17 +3444,21 @@ static gboolean on_button_release(GtkWidget* w, GdkEventButton* evt)
   30.47 -     }
   30.48 -     else if(fm_config->single_click && evt->button == 1)
   30.49 -     {
   30.50 -+        GtkTreeIter it;
   30.51 -+        FmDesktopItem* clicked_item = hit_test(self, &it, evt->x, evt->y);
   30.52 -         if(clicked_item)
   30.53 --        {
   30.54 -             /* left single click */
   30.55 -             fm_launch_file_simple(GTK_WINDOW(w), NULL, clicked_item->fi, pcmanfm_open_folder, w);
   30.56 --            return TRUE;
   30.57 --        }
   30.58 -     }
   30.59 - 
   30.60 -     /* forward the event to root window */
   30.61 --    if(! clicked_item)
   30.62 --        forward_event_to_rootwin(gtk_widget_get_screen(w), (GdkEvent*)evt);
   30.63 -+    if (self->button_pressed == evt->button)
   30.64 -+    {
   30.65 -+        if (self->forward_pending)
   30.66 -+            forward_event_to_rootwin(gtk_widget_get_screen(w), (GdkEvent*)evt);
   30.67 -+        self->button_pressed = 0;
   30.68 -+        self->forward_pending = FALSE;
   30.69 -+    }
   30.70 - 
   30.71 -     return TRUE;
   30.72 - }
   30.73 ---- a/src/desktop.h
   30.74 -+++ b/src/desktop.h
   30.75 -@@ -73,13 +73,14 @@ struct _FmDesktop
   30.76 -     gint drag_start_x;
   30.77 -     gint drag_start_y;
   30.78 -     gboolean rubber_bending : 1;
   30.79 --    gboolean button_pressed : 1;
   30.80 -+    gboolean forward_pending : 1;
   30.81 -     gboolean dragging : 1;
   30.82 -     gboolean layout_pending : 1;
   30.83 -     guint idle_layout;
   30.84 -     FmDndSrc* dnd_src;
   30.85 -     FmDndDest* dnd_dest;
   30.86 -     guint single_click_timeout_handler;
   30.87 -+    guint button_pressed;
   30.88 -     FmFolderModel* model;
   30.89 -     guint cur_desktop;
   30.90 -     gint monitor;
   30.91 --- 
   30.92 -2.1.4
   30.93 -
    31.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    31.2 +++ b/pcmanfm/stuff/patches/fix_desktop_menus.patch	Thu Jul 20 05:10:04 2017 +0300
    31.3 @@ -0,0 +1,74 @@
    31.4 +Commit: http://git.lxde.org/gitweb/?p=lxde/pcmanfm.git;a=commit;h=ae7ed3af651041a5538634ac9e35dc479e280ad9
    31.5 +We revert it to fix desktop Openbox menus: Cannot open Right-click and Middle-Click menu in same time.
    31.6 +--- a/src/desktop.c
    31.7 ++++ b/src/desktop.c
    31.8 +@@ -3314,12 +3314,9 @@ static gboolean on_button_press(GtkWidget* w, GdkEventButton* evt)
    31.9 + 
   31.10 +     if(evt->type == GDK_BUTTON_PRESS)
   31.11 +     {
   31.12 +-        /* ignore another buttons while some is in progress */
   31.13 +-        if (self->button_pressed == 0)
   31.14 +-            self->button_pressed = evt->button;
   31.15 +         if(evt->button == 1)  /* left button */
   31.16 +         {
   31.17 +-            /* store button state for drag & drop */
   31.18 ++            self->button_pressed = TRUE;    /* store button state for drag & drop */
   31.19 +             self->drag_start_x = evt->x;
   31.20 +             self->drag_start_y = evt->y;
   31.21 +         }
   31.22 +@@ -3431,6 +3425,10 @@ static gboolean on_button_press(GtkWidget* w, GdkEventButton* evt)
   31.23 + static gboolean on_button_release(GtkWidget* w, GdkEventButton* evt)
   31.24 + {
   31.25 +     FmDesktop* self = (FmDesktop*)w;
   31.26 ++    GtkTreeIter it;
   31.27 ++    FmDesktopItem* clicked_item = hit_test(self, &it, evt->x, evt->y);
   31.28 ++
   31.29 ++    self->button_pressed = FALSE;
   31.30 + 
   31.31 +     if(self->rubber_bending)
   31.32 +     {
   31.33 +@@ -3444,21 +3442,17 @@ static gboolean on_button_release(GtkWidget* w, GdkEventButton* evt)
   31.34 +     }
   31.35 +     else if(fm_config->single_click && evt->button == 1)
   31.36 +     {
   31.37 +-        GtkTreeIter it;
   31.38 +-        FmDesktopItem* clicked_item = hit_test(self, &it, evt->x, evt->y);
   31.39 +         if(clicked_item)
   31.40 ++        {
   31.41 +             /* left single click */
   31.42 +             fm_launch_file_simple(GTK_WINDOW(w), NULL, clicked_item->fi, pcmanfm_open_folder, w);
   31.43 ++            return TRUE;
   31.44 ++        }
   31.45 +     }
   31.46 + 
   31.47 +     /* forward the event to root window */
   31.48 +-    if (self->button_pressed == evt->button)
   31.49 +-    {
   31.50 +-        if (self->forward_pending)
   31.51 +-            forward_event_to_rootwin(gtk_widget_get_screen(w), (GdkEvent*)evt);
   31.52 +-        self->button_pressed = 0;
   31.53 +-        self->forward_pending = FALSE;
   31.54 +-    }
   31.55 ++    if(! clicked_item)
   31.56 ++        forward_event_to_rootwin(gtk_widget_get_screen(w), (GdkEvent*)evt);
   31.57 + 
   31.58 +     return TRUE;
   31.59 + }
   31.60 +--- a/src/desktop.h
   31.61 ++++ b/src/desktop.h
   31.62 +@@ -73,13 +73,14 @@ struct _FmDesktop
   31.63 +     gint drag_start_x;
   31.64 +     gint drag_start_y;
   31.65 +     gboolean rubber_bending : 1;
   31.66 +-    gboolean forward_pending : 1;
   31.67 ++    gboolean button_pressed : 1;
   31.68 +     gboolean dragging : 1;
   31.69 +     gboolean layout_pending : 1;
   31.70 +     guint idle_layout;
   31.71 +     FmDndSrc* dnd_src;
   31.72 +     FmDndDest* dnd_dest;
   31.73 +     guint single_click_timeout_handler;
   31.74 +-    guint button_pressed;
   31.75 +     FmFolderModel* model;
   31.76 +     guint cur_desktop;
   31.77 +     gint monitor;
    32.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    32.2 +++ b/pcmanfm/stuff/patches/pcmanfm-handlers.patch	Thu Jul 20 05:10:04 2017 +0300
    32.3 @@ -0,0 +1,8 @@
    32.4 +--- a/data/pcmanfm.desktop.in
    32.5 ++++ b/data/pcmanfm.desktop.in
    32.6 +@@ -8,4 +8,4 @@
    32.7 + Exec=pcmanfm %U
    32.8 + StartupNotify=true
    32.9 + Terminal=false
   32.10 +-MimeType=inode/directory;
   32.11 ++MimeType=inode/directory;x-scheme-handler/ftp;x-scheme-handler/sftp;x-scheme-handler/trash;
    33.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    33.2 +++ b/pcmanfm/stuff/patches/pcmanfm-network-icon.patch	Thu Jul 20 05:10:04 2017 +0300
    33.3 @@ -0,0 +1,11 @@
    33.4 +--- a/src/main-win-ui.c
    33.5 ++++ b/src/main-win-ui.c
    33.6 +@@ -239,7 +239,7 @@
    33.7 +         {"Root", "drive-harddisk", N_("Filesyste_m Root"), NULL, N_("Go fo filesystem root"), NULL},
    33.8 +         {"Apps", "system-software-install", N_("_Applications"), NULL, N_("Go to root of applications menu folder"), G_CALLBACK(on_go_apps)},
    33.9 +         {"Computer", "computer", N_("Dev_ices"), NULL, N_("Go to list of devices connected to the computer"), G_CALLBACK(on_go_computer)},
   33.10 +-        {"Network", GTK_STOCK_NETWORK, N_("Net_work"), NULL, N_("Go to list of places on the network"), G_CALLBACK(on_go_network)},
   33.11 ++        {"Network", "network-workgroup", N_("Net_work"), NULL, N_("Go to list of places on the network"), G_CALLBACK(on_go_network)},
   33.12 +         {"Location", GTK_STOCK_JUMP_TO, N_("_Go to Location..."), "<Ctrl>L", NULL, G_CALLBACK(on_location)},
   33.13 +         {"Connect", NULL, N_("_Connect to Server..."), NULL, N_("Open a window to choose remote folder location"), G_CALLBACK(on_go_connect)},
   33.14 +         {"Go", GTK_STOCK_JUMP_TO, NULL, NULL, N_("Go to the path in the location bar"), G_CALLBACK(on_go)},
    34.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    34.2 +++ b/pcmanfm/stuff/patches/series	Thu Jul 20 05:10:04 2017 +0300
    34.3 @@ -0,0 +1,3 @@
    34.4 +#fix_desktop_menus.patch
    34.5 +pcmanfm-network-icon.patch
    34.6 +pcmanfm-handlers.patch
    35.1 --- a/pcmanfm/stuff/pcmanfm-handlers.patch	Thu Jul 20 00:33:52 2017 +0300
    35.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    35.3 @@ -1,8 +0,0 @@
    35.4 ---- a/data/pcmanfm.desktop.in
    35.5 -+++ b/data/pcmanfm.desktop.in
    35.6 -@@ -8,4 +8,4 @@
    35.7 - Exec=pcmanfm %U
    35.8 - StartupNotify=true
    35.9 - Terminal=false
   35.10 --MimeType=inode/directory;
   35.11 -+MimeType=inode/directory;x-scheme-handler/ftp;x-scheme-handler/sftp;x-scheme-handler/trash;
    36.1 --- a/pcmanfm/stuff/pcmanfm-network-icon.patch	Thu Jul 20 00:33:52 2017 +0300
    36.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    36.3 @@ -1,11 +0,0 @@
    36.4 ---- a/src/main-win-ui.c
    36.5 -+++ b/src/main-win-ui.c
    36.6 -@@ -239,7 +239,7 @@
    36.7 -         {"Root", "drive-harddisk", N_("Filesyste_m Root"), NULL, N_("Go fo filesystem root"), NULL},
    36.8 -         {"Apps", "system-software-install", N_("_Applications"), NULL, N_("Go to root of applications menu folder"), G_CALLBACK(on_go_apps)},
    36.9 -         {"Computer", "computer", N_("Dev_ices"), NULL, N_("Go to list of devices connected to the computer"), G_CALLBACK(on_go_computer)},
   36.10 --        {"Network", GTK_STOCK_NETWORK, N_("Net_work"), NULL, N_("Go to list of places on the network"), G_CALLBACK(on_go_network)},
   36.11 -+        {"Network", "network-workgroup", N_("Net_work"), NULL, N_("Go to list of places on the network"), G_CALLBACK(on_go_network)},
   36.12 -         {"Location", GTK_STOCK_JUMP_TO, N_("_Go to Location..."), "<Ctrl>L", NULL, G_CALLBACK(on_location)},
   36.13 -         {"Connect", NULL, N_("_Connect to Server..."), NULL, N_("Open a window to choose remote folder location"), G_CALLBACK(on_go_connect)},
   36.14 -         {"Go", GTK_STOCK_JUMP_TO, NULL, NULL, N_("Go to the path in the location bar"), G_CALLBACK(on_go)},
    37.1 --- a/unbound/receipt	Thu Jul 20 00:33:52 2017 +0300
    37.2 +++ b/unbound/receipt	Thu Jul 20 05:10:04 2017 +0300
    37.3 @@ -40,4 +40,5 @@
    37.4  	chroot "$1/" adduser -S -H -h /var/lib/unbound -D unbound
    37.5  	chroot "$1/" chown unbound /var/lib/unbound
    37.6  	chroot "$1/" unbound-anchor -a /var/lib/unbound/root.key
    37.7 +	:
    37.8  }