Package: bongo / 1.1-2

set-bongo-images-directory-for-Debian.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Sean Whitton <spwhitton@spwhitton.name>
Date: Thu, 29 Oct 2020 15:33:34 -0700
Subject: set bongo-images-directory for Debian

---
 bongo.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/bongo.el b/bongo.el
index 832672a..d78c6e4 100644
--- a/bongo.el
+++ b/bongo.el
@@ -810,9 +810,7 @@ If nil, use the same icon as for unplayed tracks."
   :type '(choice file (const :tag "Same as for other tracks" nil))
   :group 'bongo-track-icons)
 
-(defconst bongo-images-directory
-  (or (expand-file-name "images" (file-name-directory load-file-name))
-      (error "Please use `load-file' to load bongo.el")))
+(defconst bongo-images-directory "/usr/share/bongo/images")
 
 (defun bongo-find-image (file-name &optional face)
   (let ((image-load-path (cons bongo-images-directory