(further-load-options
(merge-pathnames "optiondb"
- (last (access library-directory-path
- (->environment '(runtime pathname))))))
\ No newline at end of file
+ (last (fluid (access library-directory-path
+ (->environment '(runtime pathname)))))))
\ No newline at end of file
;;;; Test the cairo wrapper.
-(let ((env (->environment '(runtime pathname)))
+(let ((flu (access library-directory-path
+ (->environment '(runtime pathname))))
(dirname (directory-pathname (current-load-pathname))))
- (set! (access library-directory-path env)
- (cons dirname (access library-directory-path env)))
+ (set-fluid! flu (cons dirname (fluid flu)))
(set! *initial-options-file* (merge-pathnames "cairo-optiondb" dirname)))
(load-option 'CAIRO)
(if (gtk-initialized?)
(begin
- (let ((env (->environment '(runtime pathname))))
- (set! (access library-directory-path env)
- (cons (merge-pathnames "./")
- (access library-directory-path env))))
+ (let ((flu (access library-directory-path
+ (->environment '(runtime pathname)))))
+ (set-fluid! flu (cons (merge-pathnames "./") (fluid flu))))
(load "make")
(let* ((widget (make-glxgears-demo))
(thread ((access glxgears-demo-animation-thread
;;;; Test the glib wrapper.
-(let ((env (->environment '(runtime pathname)))
- (dirname (directory-pathname (current-load-pathname))))
- (set! (access library-directory-path env)
- (cons dirname (access library-directory-path env)))
+(let ((dirname (directory-pathname (current-load-pathname)))
+ (flu (access library-directory-path
+ (->environment '(runtime pathname)))))
+ (set-fluid! flu (cons dirname (fluid flu)))
(set! *initial-options-file* (merge-pathnames "glib-optiondb" dirname)))
(load-option 'GLIB)
(further-load-options
(merge-pathnames "optiondb"
- (last (access library-directory-path
- (->environment '(runtime pathname))))))
\ No newline at end of file
+ (last (fluid (access library-directory-path
+ (->environment '(runtime pathname)))))))
\ No newline at end of file
;;;; Test the gtk wrapper.
-(let ((env (->environment '(runtime pathname)))
- (dirname (directory-pathname (current-load-pathname))))
- (set! (access library-directory-path env)
- (cons dirname (access library-directory-path env)))
+(let ((dirname (directory-pathname (current-load-pathname)))
+ (flu (access library-directory-path (->environment '(runtime pathname)))))
+ (set-fluid! flu (cons dirname (fluid flu)))
(set! *initial-options-file* (merge-pathnames "gtk-optiondb" dirname)))
(load-option 'GTK)
(further-load-options
(merge-pathnames "optiondb"
- (last (access library-directory-path
- (->environment '(runtime pathname))))))
\ No newline at end of file
+ (last (fluid (access library-directory-path
+ (->environment '(runtime pathname)))))))
\ No newline at end of file
;;;; Test the pango wrapper.
-(let ((env (->environment '(runtime pathname)))
- (dirname (directory-pathname (current-load-pathname))))
- (set! (access library-directory-path env)
- (cons dirname (access library-directory-path env)))
+(let ((dirname (directory-pathname (current-load-pathname)))
+ (flu (access library-directory-path (->environment '(runtime pathname)))))
+ (set-fluid! flu (cons dirname (fluid flu)))
(set! *initial-options-file* (merge-pathnames "pango-optiondb" dirname)))
(load-option 'PANGO)
(further-load-options
(merge-pathnames "optiondb"
- (last (access library-directory-path
- (->environment '(runtime pathname))))))
\ No newline at end of file
+ (last (fluid (access library-directory-path
+ (->environment '(runtime pathname)))))))
\ No newline at end of file