summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-04-27 16:13:22 +0200
committertnut <thierryn1 at hispeed dot ch>2010-04-27 16:13:22 +0200
commitacbeaafd5878a45ffd2869201e3cbbb28c5ae4a9 (patch)
tree20b0696abc9adcb7de576a8a8f1c137bb8d0a0a2
parent4bc9ec4e7e40f7967d5309caf041caf2b8896438 (diff)
downloadnutyx-extra-acbeaafd5878a45ffd2869201e3cbbb28c5ae4a9.tar.gz
nutyx-extra-acbeaafd5878a45ffd2869201e3cbbb28c5ae4a9.tar.bz2
nutyx-extra-acbeaafd5878a45ffd2869201e3cbbb28c5ae4a9.tar.xz
nutyx-extra-acbeaafd5878a45ffd2869201e3cbbb28c5ae4a9.zip
maj thunar#1.0.1-3, ajout patch
-rw-r--r--xfce/thunar/.md5sum1
-rwxr-xr-xxfce/thunar/Pkgfile7
-rw-r--r--xfce/thunar/libpng-1.4.patch12
3 files changed, 17 insertions, 3 deletions
diff --git a/xfce/thunar/.md5sum b/xfce/thunar/.md5sum
index 3fecd715b..85e6a8db0 100644
--- a/xfce/thunar/.md5sum
+++ b/xfce/thunar/.md5sum
@@ -1,2 +1,3 @@
218373aa45d74b6ba8c69c4d5af3bb19 Thunar-1.0.1.tar.bz2
+ee998c20ba13d0cb18741da8b7d67328 libpng-1.4.patch
5fdeb9aae2885fbe1a19b3d6fff58ab1 thunar-volman-handle-unmountable-volumes.patch
diff --git a/xfce/thunar/Pkgfile b/xfce/thunar/Pkgfile
index 2517aa83e..2518740fb 100755
--- a/xfce/thunar/Pkgfile
+++ b/xfce/thunar/Pkgfile
@@ -1,18 +1,19 @@
# Description: Gestionnaire de fichiers pour Xfce
# URL: http://thunar.xfce.org
# Maintainer: NuTyX core team
-# Packager: fred.galusik at gmail.com
+# Packager: thierryn1 at hispeed dot ch
# Depends on: exo, dbus, desktop-file-utils, freetype, gamin, gconf, gtk, hal, libexif, libjpeg, libpng, librsvg, xfce4-panel, libxfce4util, pcre, shared-mime-info, startup-notification, xfconf
name=thunar
version=1.0.1
-release=2
+release=3
source=(http://www.xfce.org/archive/xfce-4.6.1/src/Thunar-$version.tar.bz2 \
-thunar-volman-handle-unmountable-volumes.patch)
+thunar-volman-handle-unmountable-volumes.patch libpng-1.4.patch)
build() {
cd Thunar-$version
patch -p1 < ../thunar-volman-handle-unmountable-volumes.patch
+patch -Np1 -i ../libpng-1.4.patch
./configure --prefix=/usr\
--sysconfdir=/etc \
--libexecdir=/usr/lib/xfce4 \
diff --git a/xfce/thunar/libpng-1.4.patch b/xfce/thunar/libpng-1.4.patch
new file mode 100644
index 000000000..7f38165f7
--- /dev/null
+++ b/xfce/thunar/libpng-1.4.patch
@@ -0,0 +1,12 @@
+diff -Naur Thunar-1.0.1.orig/thunar-vfs/thunar-vfs-thumb.c Thunar-1.0.1/thunar-vfs/thunar-vfs-thumb.c
+--- Thunar-1.0.1.orig/thunar-vfs/thunar-vfs-thumb.c 2010-01-20 21:31:35.000000000 -0500
++++ Thunar-1.0.1/thunar-vfs/thunar-vfs-thumb.c 2010-01-20 21:34:51.000000000 -0500
+@@ -1169,7 +1169,7 @@
+ goto done0;
+
+ /* verify the png signature */
+- if (G_LIKELY (png_check_sig ((png_bytep) signature, sizeof (signature))))
++ if (G_LIKELY (!png_sig_cmp ((png_bytep) signature, 0, sizeof (signature))))
+ rewind (fp);
+ else
+ goto done0;