[Pkg-cli-apps-commits] [banshee] 03/04: Drop Revert-ArtworkManager-Cache-null-artwork-for-fast-lo.patch
Chow Loong Jin
hyperair at debian.org
Sat Feb 22 21:25:57 UTC 2014
This is an automated email from the git hooks/post-receive script.
hyperair pushed a commit to branch master
in repository banshee.
commit 52082412d3ae8447e4452a1605f0b891bded2b3c
Author: Chow Loong Jin <hyperair at debian.org>
Date: Sun Feb 23 01:37:03 2014 +0800
Drop Revert-ArtworkManager-Cache-null-artwork-for-fast-lo.patch
No longer appears to be needed, and doesn't apply properly anyway.
---
...orkManager-Cache-null-artwork-for-fast-lo.patch | 64 ----------------------
debian/patches/series | 1 -
2 files changed, 65 deletions(-)
diff --git a/debian/patches/Revert-ArtworkManager-Cache-null-artwork-for-fast-lo.patch b/debian/patches/Revert-ArtworkManager-Cache-null-artwork-for-fast-lo.patch
deleted file mode 100644
index 89d49cc..0000000
--- a/debian/patches/Revert-ArtworkManager-Cache-null-artwork-for-fast-lo.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-From: Chow Loong Jin <hyperair at ubuntu.com>
-Date: Mon, 22 Nov 2010 04:36:40 +0800
-Subject: Revert "[ArtworkManager] Cache null artwork for fast lookup"
-
-This reverts commit 768c76da611a990054ff0921f24d566de86ac749.
----
- .../Banshee.Collection.Gui/ArtworkManager.cs | 10 ----------
- 1 file changed, 10 deletions(-)
-
-diff --git a/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtworkManager.cs b/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtworkManager.cs
-index d3da931..1bee39d 100644
---- a/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtworkManager.cs
-+++ b/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtworkManager.cs
-@@ -49,7 +49,6 @@ namespace Banshee.Collection.Gui
- {
- private Dictionary<int, SurfaceCache> scale_caches = new Dictionary<int, SurfaceCache> ();
- private HashSet<int> cacheable_cover_sizes = new HashSet<int> ();
-- private HashSet<string> null_artwork_ids = new HashSet<string> ();
-
- private class SurfaceCache : LruCache<string, Cairo.ImageSurface>
- {
-@@ -170,17 +169,12 @@ namespace Banshee.Collection.Gui
- return null;
- }
-
-- if (null_artwork_ids.Contains (id)) {
-- return null;
-- }
--
- // Find the scaled, cached file
- string path = CoverArtSpec.GetPathForSize (id, size);
- if (File.Exists (new SafeUri (path))) {
- try {
- return new Pixbuf (path);
- } catch {
-- null_artwork_ids.Add (id);
- return null;
- }
- }
-@@ -197,7 +191,6 @@ namespace Banshee.Collection.Gui
- Pixbuf pixbuf = new Pixbuf (unconverted_path);
- if (pixbuf.Width < 50 || pixbuf.Height < 50) {
- Hyena.Log.DebugFormat ("Ignoring cover art {0} because less than 50x50", unconverted_path);
-- null_artwork_ids.Add (id);
- return null;
- }
-
-@@ -241,7 +234,6 @@ namespace Banshee.Collection.Gui
- } catch {}
- }
-
-- null_artwork_ids.Add (id);
- return null;
- }
-
-@@ -261,8 +253,6 @@ namespace Banshee.Collection.Gui
- scale_caches[size].Remove (id);
- }
-
-- null_artwork_ids.Remove (id);
--
- if (inMemoryCacheOnly) {
- return;
- }
diff --git a/debian/patches/series b/debian/patches/series
index ddf17b0..69335e0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,7 +5,6 @@ Enable-switching-between-the-2-interfaces.patch
Add-Meego-desktop-file.patch
Enable-MPRIS-extension-by-default.patch
Remove-irrelevant-media.patch
-Revert-ArtworkManager-Cache-null-artwork-for-fast-lo.patch
libossifer-Fix-certificate-validation-with-libsoup-2.patch
Add-dllmaps-for-Banshee.NowPlaying.X11.dll.patch
Initial-port-to-GStreamer-1.0.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-apps/packages/banshee.git
More information about the Pkg-cli-apps-commits
mailing list