NOTE: This patch has been committed.
Put *.xpm files into etc/riece/.
xemacs-packages source patch:
Diff command: cvs -q diff -u
Files affected: xemacs-packages/riece/lisp/riece-toolbar.el
xemacs-packages/riece/Makefile
Index: xemacs-packages/riece/ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/riece/ChangeLog,v
retrieving revision 1.16
diff -u -F^( -u -r1.16 ChangeLog
--- xemacs-packages/riece/ChangeLog 20 Mar 2005 11:33:14 -0000 1.16
+++ xemacs-packages/riece/ChangeLog 20 Mar 2005 22:31:20 -0000
@@ -1,3 +1,7 @@
+2005-03-20 Daiki Ueno <ueno(a)unixuser.org>
+
+ * Makefile (DATA_DEST): Put *.xpm files into etc/riece/.
+
2005-03-20 Norbert Koch <viteno(a)xemacs.org>
* Makefile (VERSION): XEmacs package 1.18 released.
Index: xemacs-packages/riece/Makefile
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/riece/Makefile,v
retrieving revision 1.17
diff -u -F^( -u -r1.17 Makefile
--- xemacs-packages/riece/Makefile 20 Mar 2005 11:33:14 -0000 1.17
+++ xemacs-packages/riece/Makefile 20 Mar 2005 22:31:20 -0000
@@ -62,6 +62,7 @@
PRELOADS = -eval \("push \"./lisp\" load-path"\)
-DATA_1_FILES = $(wildcard lisp/*.xpm)
+DATA_FILES = $(wildcard lisp/*.xpm)
+DATA_DEST = $(PACKAGE)
include ../../XEmacs.rules
Index: xemacs-packages/riece/lisp/ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/riece/lisp/ChangeLog,v
retrieving revision 1.6
diff -u -F^( -u -r1.6 ChangeLog
--- xemacs-packages/riece/lisp/ChangeLog 20 Mar 2005 09:11:20 -0000 1.6
+++ xemacs-packages/riece/lisp/ChangeLog 20 Mar 2005 22:31:21 -0000
@@ -1,3 +1,8 @@
+2005-03-20 Daiki Ueno <ueno(a)unixuser.org>
+
+ * riece-toolbar.el [XEmacs] (riece-make-toolbar-from-menu):
+ Pick up toolbar icons from etc/riece/.
+
2005-03-06 Daiki Ueno <ueno(a)unixuser.org>
* Riece: Version 1.0.8 released.
Index: xemacs-packages/riece/lisp/riece-toolbar.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/riece/lisp/riece-toolbar.el,v
retrieving revision 1.1
diff -u -F^( -u -r1.1 riece-toolbar.el
--- xemacs-packages/riece/lisp/riece-toolbar.el 20 Mar 2005 09:11:24 -0000 1.1
+++ xemacs-packages/riece/lisp/riece-toolbar.el 20 Mar 2005 22:31:21 -0000
@@ -62,10 +62,14 @@ (if (featurep 'xemacs)
(let ((pointer items)
toolbar
file
- menu-item)
+ menu-item
+ (riece-data-directory (locate-data-directory "riece")))
(while pointer
(setq file (locate-file (symbol-name (car pointer))
- load-path
+ (if riece-data-directory
+ (cons riece-data-directory
+ load-path)
+ load-path)
'(".xpm" ".pbm" ".xbm"))
menu-item (riece-toolbar-find-menu-item (car pointer)))
(if (and file (file-exists-p file))
--
Daiki Ueno