projects
/
elisp
/
semi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(Required environment): Modify for the new URLs of APEL and FLIM.
[elisp/semi.git]
/
SEMI-CFG
diff --git
a/SEMI-CFG
b/SEMI-CFG
index
61a3adb
..
3d069e5
100644
(file)
--- a/
SEMI-CFG
+++ b/
SEMI-CFG
@@
-1,7
+1,8
@@
;;; -*-Emacs-Lisp-*-
;;; -*-Emacs-Lisp-*-
-;;;
-;;; $Id: SEMI-CFG,v 1.1 1998-03-12 19:00:46 morioka Exp $
-;;;
+
+;; SEMI-CFG: installation setting about SEMI.
+
+;;; Code:
(defvar default-load-path load-path)
(defvar default-load-path load-path)
@@
-10,20
+11,35
@@
(add-to-list 'load-path
(expand-file-name "." data-directory))
(add-to-list 'load-path
(expand-file-name "." data-directory))
-(when (boundp 'LISPDIR)
- (add-to-list 'default-load-path LISPDIR)
- (add-to-list 'load-path LISPDIR)
- (add-to-list 'load-path (expand-file-name "apel" LISPDIR))
- )
+(if (boundp 'LISPDIR)
+ (progn
+ (add-to-list 'default-load-path LISPDIR)
+ (add-to-list 'load-path LISPDIR)
+ (add-to-list 'load-path (expand-file-name "emu" LISPDIR))
+ (add-to-list 'load-path (expand-file-name "apel" LISPDIR))
+ ))
+
+(defvar VERSION_SPECIFIC_LISPDIR nil)
-(require 'install)
-(require 'cl)
+(if VERSION_SPECIFIC_LISPDIR
+ (add-to-list 'load-path VERSION_SPECIFIC_LISPDIR))
+
+(condition-case nil
+ (require 'install)
+ (error (error "Please install APEL 8.7 or later.")))
(add-path "bitmap-mule")
(add-path "bitmap-mule")
-(add-path "mel")
+(add-path "flim")
(add-to-list 'load-path (expand-file-name "."))
(add-to-list 'load-path (expand-file-name "."))
+(or (module-installed-p 'calist)
+ (error "Please install APEL 8.7 or later."))
+(or (module-installed-p 'mime)
+ (error "Please install FLIM 1.6.0 or later."))
+(if (module-installed-p 'tm-view)
+ (message "Please remove tm from load-path."))
+
;;; @ Please specify optional package directory if you use them.
;;;
;;; @ Please specify optional package directory if you use them.
;;;
@@
-39,48
+55,45
@@
;; Function `add-path' finds path under load-path directories. If a
;; package does not exist in load-path, please specify by absolutely
;; (`~/' is available), for example
;; Function `add-path' finds path under load-path directories. If a
;; package does not exist in load-path, please specify by absolutely
;; (`~/' is available), for example
-;; (add-path "~/lib/elisp/mailcrypt-3.4")
+;; (add-path "~/lib/elisp/bbdb")
;; or
;; or
-;; (add-path "/opt/share/xmule/site-lisp/mailcrypt-3.4")
+;; (add-path "/opt/share/xmule/site-lisp/bbdb")
-;;; @@ Please specify Mailcrypt path.
+;;; @@ Please specify BBDB path.
;;;
;;;
-;; Use latest version installed in load-path.
-
-(let ((path (get-latest-path "mailcrypt" 'all-paths)))
+(let ((path (get-latest-path "bbdb" 'all-paths)))
(if path
(if path
- (add-path path)
- ))
+ (progn
+ (add-path path)
+ (add-path (expand-file-name "lisp" path)) ; run-in-place installation
+ )))
;; Or please specify path.
;; Or please specify path.
-;; (add-path "mailcrypt-3.4" 'all-paths)
+;; (add-path "bbdb-1.50" 'all-paths)
-;;; @@ Please specify BBDB path.
+;;;
+;;; @@ Please specify Emacs/W3 path.
;;;
;;;
-(let ((path (get-latest-path "bbdb" 'all-paths)))
+(let ((path (get-latest-path "w3" 'all-paths)))
(if path
(if path
- (add-path path)
- ))
+ (progn
+ (add-path path)
+ (add-path (expand-file-name "lisp" path)) ; run-in-place installation
+ )))
;; Or please specify path.
;; Or please specify path.
-;; (add-path "bbdb-1.50" 'all-paths)
+;; (add-path "w3-4.0pre.20" 'all-paths)
-;;; @ shell
+;;;
+;;; @@ Please specify CUSTOM path.
;;;
;;;
-;; Please specify shell command path.
-(setq SHELL
- (find-if (function file-exists-p)
- '("/bin/sh" "/usr/bin/sh")
- ))
-
-;; Please specify shell command option.
-(setq SHELLOPTION "-c")
+(add-latest-path "custom")
;;; @ Please specify prefix of install directory.
;;; @ Please specify prefix of install directory.
@@
-91,13
+104,6
@@
(defvar PREFIX install-prefix)
;;(setq PREFIX "~/")
(defvar PREFIX install-prefix)
;;(setq PREFIX "~/")
-;; Please specify install path prefix for binaries.
-(defvar EXEC_PREFIX
- (if (or running-emacs-18 running-xemacs)
- (expand-file-name "../../.." exec-directory)
- (expand-file-name "../../../.." exec-directory)
- ))
-
;; Please specify emu prefix [optional]
(setq EMU_PREFIX
(if (string-match "XEmacs" emacs-version)
;; Please specify emu prefix [optional]
(setq EMU_PREFIX
(if (string-match "XEmacs" emacs-version)
@@
-111,9
+117,6
@@
;;; @ executables
;;;
;;; @ executables
;;;
-;; Please specify binary path.
-(defvar BIN_DIR (expand-file-name "bin" EXEC_PREFIX))
-
;; Please specify binary path. (for external method scripts)
(setq METHOD_DIR (expand-file-name "share/semi" PREFIX))
;; Please specify binary path. (for external method scripts)
(setq METHOD_DIR (expand-file-name "share/semi" PREFIX))
@@
-137,4
+140,6
@@
"tm-plain" "tm-ps"
"tmdecode"))
"tm-plain" "tm-ps"
"tmdecode"))
+(defvar PACKAGEDIR (install-get-default-package-directory))
+
;;; SEMI-CFG ends here
;;; SEMI-CFG ends here