(further-load-options
(merge-pathnames "optiondb"
- (last (fluid (access library-directory-path
- (->environment '(runtime pathname)))))))
\ No newline at end of file
+ (last ((access library-directory-path
+ (->environment '(runtime pathname)))))))
\ No newline at end of file
;;;; Test the cairo wrapper.
-(let ((flu (access library-directory-path
- (->environment '(runtime pathname))))
- (dirname (directory-pathname (current-load-pathname))))
- (set-fluid! flu (cons dirname (fluid flu)))
- (set! *initial-options-file* (merge-pathnames "cairo-optiondb" dirname)))
+(let ((dirname (directory-pathname (current-load-pathname)))
+ (param (access library-directory-path
+ (->environment '(runtime pathname)))))
+ (parameterize ((param (cons dirname (param))))
+ (set! *initial-options-file* (merge-pathnames "cairo-optiondb" dirname))
+ (load-option 'CAIRO)))
-(load-option 'CAIRO)
(load "cairo-check" (->environment '(CAIRO)))
\ No newline at end of file
(if (gtk-initialized?)
(begin
- (let ((flu (access library-directory-path
- (->environment '(runtime pathname)))))
- (set-fluid! flu (cons (merge-pathnames "./") (fluid flu))))
- (load "make")
+ (let ((param (access library-directory-path
+ (->environment '(runtime pathname)))))
+ (parameterize ((param (cons (merge-pathnames "./") (param))))
+ (load "make")))
(let* ((widget (make-glxgears-demo))
(thread ((access glxgears-demo-animation-thread
(->environment '(gl glxgears)))
;;;; Test the glib wrapper.
(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)))
+ (param (access library-directory-path
+ (->environment '(runtime pathname)))))
+ (parameterize ((param (cons dirname (param))))
+ (set! *initial-options-file* (merge-pathnames "glib-optiondb" dirname))
+ (load-option 'GLIB)))
-(load-option 'GLIB)
(load "glib-check" (->environment '(GLIB)))
\ No newline at end of file
(further-load-options
(merge-pathnames "optiondb"
- (last (fluid (access library-directory-path
- (->environment '(runtime pathname)))))))
\ No newline at end of file
+ (last ((access library-directory-path
+ (->environment '(runtime pathname)))))))
\ No newline at end of file
;;;; Test the gtk screen.
-(let ((flu (access library-directory-path (->environment '(runtime pathname))))
- (dirname (directory-pathname (current-load-pathname))))
- (set-fluid! flu (cons dirname (fluid flu)))
- (set! *initial-options-file* (merge-pathnames "gtk-screen-optiondb" dirname)))
+(let ((dirname (directory-pathname (current-load-pathname)))
+ (param (access library-directory-path
+ (->environment '(runtime pathname)))))
+ (parameterize ((param (cons dirname (param))))
+ (set! *initial-options-file* (merge-pathnames "gtk-screen-optiondb"
+ dirname))
+ (load-option 'GTK-SCREEN)))
-(load-option 'GTK-SCREEN)
(if (gtk-initialized?)
(load "gtk-screen-check")
(warn "Could not test the GTK subsystem without a DISPLAY."))
\ No newline at end of file
(further-load-options
(merge-pathnames "optiondb"
- (last (fluid (access library-directory-path
- (->environment '(runtime pathname)))))))
\ No newline at end of file
+ (last ((access library-directory-path
+ (->environment '(runtime pathname)))))))
\ No newline at end of file
;;;; Test the gtk wrapper.
(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)))
+ (param (access library-directory-path
+ (->environment '(runtime pathname)))))
+ (parameterize ((param (cons dirname (param))))
+ (set! *initial-options-file* (merge-pathnames "gtk-optiondb" dirname))
+ (load-option 'GTK)))
-(load-option 'GTK)
(if (gtk-initialized?)
(load "gtk-check" (->environment '(GTK)))
(warn "Could not test the GTK subsystem without a DISPLAY."))
\ No newline at end of file
(further-load-options
(merge-pathnames "optiondb"
- (last (fluid (access library-directory-path
- (->environment '(runtime pathname)))))))
\ No newline at end of file
+ (last ((access library-directory-path
+ (->environment '(runtime pathname)))))))
\ No newline at end of file
;;;; Test the pango wrapper.
(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)))
+ (param (access library-directory-path
+ (->environment '(runtime pathname)))))
+ (parameterize ((param (cons dirname (param))))
+ (set! *initial-options-file* (merge-pathnames "pango-optiondb" dirname))
+ (load-option 'PANGO)))
-(load-option 'PANGO)
(load "pango-check" (->environment '(PANGO)))
\ No newline at end of file
(further-load-options
(merge-pathnames "optiondb"
- (last (fluid (access library-directory-path
- (->environment '(runtime pathname)))))))
\ No newline at end of file
+ (last ((access library-directory-path
+ (->environment '(runtime pathname)))))))
\ No newline at end of file