Last change
on this file since 5946 was
5019,
checked in by ldelgass, 10 years ago
|
Workaround for problem with Img package: ensure the Img package is loaded
before the RapptureGUI package
|
File size:
539 bytes
|
Rev | Line | |
---|
[5019] | 1 | # HACK: The Img library needs to be loaded before RapptureGUI |
---|
| 2 | # to avoid conflicts with libjpeg, libtiff, etc. |
---|
[1018] | 3 | package ifneeded RapptureGUI @PACKAGE_VERSION@ [format { |
---|
[5019] | 4 | package require Img |
---|
[1018] | 5 | set dir [file normalize "%s"] |
---|
| 6 | set version @PACKAGE_VERSION@ |
---|
| 7 | lappend auto_path [file join $dir scripts] |
---|
| 8 | namespace eval RapptureGUI { |
---|
| 9 | variable version $version |
---|
| 10 | variable library $dir |
---|
| 11 | } |
---|
[2117] | 12 | set ext [info sharedlibextension] |
---|
| 13 | load [file join $dir "RapptureGUI${version}${ext}"] |
---|
[1018] | 14 | package provide RapptureGUI $version |
---|
| 15 | } $dir] |
---|
Note: See
TracBrowser
for help on using the repository browser.