pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Nautilus thumbnails not shown...
The last version of glib (glib2-2.42) put the thumbnails in
$HOME/.cache/thumbnails
But nautilus searches it in $HOME/.thumbnails
so it cannot find the thumbnails..
solution: patch against cvs follows]
this patch creates a patch in patches directory and
inserts a patch in distinfo
Rebuild and reinstall..
===================================================================
RCS file: /cvsroot/pkgsrc/x11/gnome-desktop/distinfo,v
retrieving revision 1.51
diff -u -r1.51 distinfo
--- distinfo 24 Nov 2010 20:24:10 -0000 1.51
+++ distinfo 3 Feb 2015 14:08:42 -0000
@@ -4,3 +4,4 @@
RMD160 (gnome-desktop-2.32.1.tar.bz2) = c7f8ecea70d023cda1fff30253812b9ae5813f85
Size (gnome-desktop-2.32.1.tar.bz2) = 1633847 bytes
SHA1 (patch-aa) = ca45f4cb5c1fabdb911034d1f32a823c5d0eb8f2
+SHA1 (patch-thumbnails) = 273337c837a50bf7f51e37d881186a55d1abb328
diff -up patches/patch-thumbnails.orig patches/patch-thumbnails
--- patches/patch-thumbnails.orig 2015-01-30 22:51:45.000000000 -0200
+++ patches/patch-thumbnails 2015-01-30 22:43:34.000000000 -0200
@@ -0,0 +1,66 @@
+diff -up libgnome-desktop/gnome-desktop-thumbnail.c.orig libgnome-desktop/gnome-desktop-thumbnail.c
+--- libgnome-desktop/gnome-desktop-thumbnail.c.orig 2015-01-30 22:40:11.000000000 -0200
++++ libgnome-desktop/gnome-desktop-thumbnail.c 2015-01-30 22:41:50.000000000 -0200
+@@ -527,7 +527,7 @@ gnome_desktop_thumbnail_factory_lookup (
+ file = g_strconcat (g_checksum_get_string (checksum), ".png", NULL);
+
+ path = g_build_filename (g_get_home_dir (),
+- ".thumbnails",
++ ".cache/thumbnails",
+ (priv->size == GNOME_DESKTOP_THUMBNAIL_SIZE_NORMAL)?"normal":"large",
+ file,
+ NULL);
+@@ -588,7 +588,7 @@ gnome_desktop_thumbnail_factory_has_vali
+ file = g_strconcat (g_checksum_get_string (checksum), ".png", NULL);
+
+ path = g_build_filename (g_get_home_dir (),
+- ".thumbnails/fail",
++ ".cache/thumbnails/fail",
+ appname,
+ file,
+ NULL);
+@@ -918,7 +918,7 @@ make_thumbnail_dirs (GnomeDesktopThumbna
+ res = FALSE;
+
+ thumbnail_dir = g_build_filename (g_get_home_dir (),
+- ".thumbnails",
++ ".cache/thumbnails",
+ NULL);
+ if (!g_file_test (thumbnail_dir, G_FILE_TEST_IS_DIR))
+ {
+@@ -952,7 +952,7 @@ make_thumbnail_fail_dirs (GnomeDesktopTh
+ res = FALSE;
+
+ thumbnail_dir = g_build_filename (g_get_home_dir (),
+- ".thumbnails",
++ ".cache/thumbnails",
+ NULL);
+ if (!g_file_test (thumbnail_dir, G_FILE_TEST_IS_DIR))
+ {
+@@ -1026,7 +1026,7 @@ gnome_desktop_thumbnail_factory_save_thu
+ file = g_strconcat (g_checksum_get_string (checksum), ".png", NULL);
+
+ path = g_build_filename (g_get_home_dir (),
+- ".thumbnails",
++ ".cache/thumbnails",
+ (priv->size == GNOME_DESKTOP_THUMBNAIL_SIZE_NORMAL)?"normal":"large",
+ file,
+ NULL);
+@@ -1130,7 +1130,7 @@ gnome_desktop_thumbnail_factory_create_f
+ file = g_strconcat (g_checksum_get_string (checksum), ".png", NULL);
+
+ path = g_build_filename (g_get_home_dir (),
+- ".thumbnails/fail",
++ ".cache/thumbnails/fail",
+ appname,
+ file,
+ NULL);
+@@ -1222,7 +1222,7 @@ gnome_desktop_thumbnail_path_for_uri (co
+ g_free (md5);
+
+ path = g_build_filename (g_get_home_dir (),
+- ".thumbnails",
++ ".cache/thumbnails",
+ (size == GNOME_DESKTOP_THUMBNAIL_SIZE_NORMAL)?"normal":"large",
+ file,
+ NULL);
Home |
Main Index |
Thread Index |
Old Index