aboutsummaryrefslogtreecommitdiffstats
path: root/main/tumbler
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-03-01 18:24:28 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-03-01 18:27:47 +0000
commit4bf2d94c34e57f00f78b4cb355ac816f688b3805 (patch)
treed0ff49b9739398cf38a82305f32923c2a1751061 /main/tumbler
parentde1caba8ce4bf9419e9437e5299b82acd0697561 (diff)
downloadaports-4bf2d94c34e57f00f78b4cb355ac816f688b3805.tar.bz2
aports-4bf2d94c34e57f00f78b4cb355ac816f688b3805.tar.xz
main/tumbler: upgrade to 0.1.31
Diffstat (limited to 'main/tumbler')
-rw-r--r--main/tumbler/APKBUILD16
-rw-r--r--main/tumbler/cachedir.patch89
2 files changed, 6 insertions, 99 deletions
diff --git a/main/tumbler/APKBUILD b/main/tumbler/APKBUILD
index 13d978de5e..cf460a17cb 100644
--- a/main/tumbler/APKBUILD
+++ b/main/tumbler/APKBUILD
@@ -1,18 +1,17 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=tumbler
-pkgver=0.1.30
-pkgrel=1
+pkgver=0.1.31
+pkgrel=0
pkgdesc="D-Bus service for applications to request thumbnails"
url="http://git.xfce.org/xfce/tumbler/"
arch="all"
license="GPL2"
depends=
-makedepends="gtk+-dev dbus-glib-dev libjpeg-turbo-dev poppler-dev"
+makedepends="gtk+2.0-dev dbus-glib-dev libjpeg-turbo-dev poppler-dev curl-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://archive.xfce.org/src/apps/tumbler/${pkgver%.*}/tumbler-$pkgver.tar.bz2
- cachedir.patch
"
_builddir="$srcdir"/tumbler-$pkgver
@@ -46,9 +45,6 @@ package() {
find "$pkgdir" -name '*.la' -delete
}
-md5sums="2524e39439c13238565160da0b6fed2d tumbler-0.1.30.tar.bz2
-e1480eb496f425aa84411de8090a822a cachedir.patch"
-sha256sums="e7c20d79c830465f8b3b792893f05e8b8d5ba90aec4973e7517e07ef31537304 tumbler-0.1.30.tar.bz2
-640f77e3c1ac383e93f4283dbca8af89f9aac27726919df0c8ec4762078f0f84 cachedir.patch"
-sha512sums="dba70e631fd00cfcc35ce6f119b7bfed9193af5a7c01535a651d263959deade1ea49f6fd75a4ff308bcd836367b2caa885539ed2cb9798c9ae9aa01c081e9aea tumbler-0.1.30.tar.bz2
-c20083fc74c5aac03e33ae52ff3f1b08dbb7a6ddedcf01e45a231382f1e948fe6d4cdb4f9255f419fbaf6bed39fccdd7dd413b12fd943bf9306431a09b6d76c0 cachedir.patch"
+md5sums="0067054e6f1f90a13f90faadfca1e89e tumbler-0.1.31.tar.bz2"
+sha256sums="d0fd329273ff6ac98885eade4c3d8c87a4dd0816f713646130808bfa90b87173 tumbler-0.1.31.tar.bz2"
+sha512sums="8c5fc914be28b899155a8c3b3fec21c5e74c26569ae1bf6a18ae87c930927828570027d77d3ec0435b8db9449a9ea933da9ae5e00f7fdf13a335c0a25bb14d04 tumbler-0.1.31.tar.bz2"
diff --git a/main/tumbler/cachedir.patch b/main/tumbler/cachedir.patch
deleted file mode 100644
index 97570ac824..0000000000
--- a/main/tumbler/cachedir.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-From 28ddddbb7ff0890ecab3b326ab78c659666e410c Mon Sep 17 00:00:00 2001
-From: Jeremy Whiting <jpwhiting@kde.org>
-Date: Wed, 6 Aug 2014 15:26:36 -0600
-Subject: [PATCH] Change thumbnails to go into $XDG_CACHE_HOME/thumbnails as
- per spec change.
-
----
- plugins/xdg-cache/xdg-cache-cache.c | 18 +++++++++---------
- 1 file changed, 9 insertions(+), 9 deletions(-)
-
-diff --git a/plugins/xdg-cache/xdg-cache-cache.c b/plugins/xdg-cache/xdg-cache-cache.c
-index 6c85523..3afe316 100644
---- a/plugins/xdg-cache/xdg-cache-cache.c
-+++ b/plugins/xdg-cache/xdg-cache-cache.c
-@@ -507,7 +507,7 @@ xdg_cache_cache_is_thumbnail (TumblerCache *cache,
- const gchar *uri)
- {
- XDGCacheCache *xdg_cache = XDG_CACHE_CACHE (cache);
-- const gchar *home;
-+ const gchar *cachedir;
- const gchar *dirname;
- gboolean is_thumbnail = FALSE;
- GList *iter;
-@@ -520,9 +520,9 @@ xdg_cache_cache_is_thumbnail (TumblerCache *cache,
-
- for (iter = xdg_cache->flavors; !is_thumbnail && iter != NULL; iter = iter->next)
- {
-- home = xdg_cache_cache_get_home ();
-+ cachedir = g_get_user_cache_dir ();
- dirname = tumbler_thumbnail_flavor_get_name (iter->data);
-- path = g_build_filename (home, ".thumbnails", dirname, NULL);
-+ path = g_build_filename (cachedir, "thumbnails", dirname, NULL);
-
- flavor_dir = g_file_new_for_path (path);
- file = g_file_new_for_uri (uri);
-@@ -570,7 +570,7 @@ GFile *
- xdg_cache_cache_get_file (const gchar *uri,
- TumblerThumbnailFlavor *flavor)
- {
-- const gchar *home;
-+ const gchar *cachedir;
- const gchar *dirname;
- GFile *file;
- gchar *filename;
-@@ -580,12 +580,12 @@ xdg_cache_cache_get_file (const gchar *uri,
- g_return_val_if_fail (uri != NULL && *uri != '\0', NULL);
- g_return_val_if_fail (TUMBLER_IS_THUMBNAIL_FLAVOR (flavor), NULL);
-
-- home = xdg_cache_cache_get_home ();
-+ cachedir = g_get_user_cache_dir ();
- dirname = tumbler_thumbnail_flavor_get_name (flavor);
-
- md5_hash = g_compute_checksum_for_string (G_CHECKSUM_MD5, uri, -1);
- filename = g_strdup_printf ("%s.png", md5_hash);
-- path = g_build_filename (home, ".thumbnails", dirname, filename, NULL);
-+ path = g_build_filename (cachedir, "thumbnails", dirname, filename, NULL);
-
- file = g_file_new_for_path (path);
-
-@@ -602,7 +602,7 @@ GFile *
- xdg_cache_cache_get_temp_file (const gchar *uri,
- TumblerThumbnailFlavor *flavor)
- {
-- const gchar *home;
-+ const gchar *cachedir;
- const gchar *dirname;
- GTimeVal current_time = { 0, 0 };
- GFile *file;
-@@ -613,7 +613,7 @@ xdg_cache_cache_get_temp_file (const gchar *uri,
- g_return_val_if_fail (uri != NULL && *uri != '\0', NULL);
- g_return_val_if_fail (TUMBLER_IS_THUMBNAIL_FLAVOR (flavor), NULL);
-
-- home = xdg_cache_cache_get_home ();
-+ cachedir = g_get_user_cache_dir ();
- dirname = tumbler_thumbnail_flavor_get_name (flavor);
-
- g_get_current_time (&current_time);
-@@ -621,7 +621,7 @@ xdg_cache_cache_get_temp_file (const gchar *uri,
- md5_hash = g_compute_checksum_for_string (G_CHECKSUM_MD5, uri, -1);
- filename = g_strdup_printf ("%s-%ld-%ld.png", md5_hash,
- current_time.tv_sec, current_time.tv_usec);
-- path = g_build_filename (home, ".thumbnails", dirname, filename, NULL);
-+ path = g_build_filename (cachedir, "thumbnails", dirname, filename, NULL);
-
- file = g_file_new_for_path (path);
-
---
-2.0.4
-