This commit is contained in:
John Cupitt 2010-03-08 18:24:44 +00:00
parent a3456511b6
commit 56754e7eac
3 changed files with 37 additions and 0 deletions

View File

@ -27,6 +27,7 @@
- instead, users of the inplace operations need to call im_invalidate() at the
end of a set of paint actions to trigger an update
- parent/child -> upstream/downstream in DAG
- set VIPS_ICC_DIR in configure
15/1/10 started 7.21.1
- added "written" callbacks, used to implement write to non-vips formats

10
TODO
View File

@ -9,6 +9,16 @@
configure should test for the dir? what's the equivalent dir on Windows? we
also have nip2's dir
Windows:
C:\Windows\System32\spool\drivers\color
OS X
/Library/ColorSync/Profiles
added VIPS_ICC_DIR to configure.in, need to search this in format operations
- doing im_create_fmask() and friends
- how about im_invalidate_area()? we currently repaint the whole window on

View File

@ -83,6 +83,31 @@ if test x"$vips_binary_open" = "xyes"; then
AC_DEFINE(BINARY_OPEN,1,[define to open non-text files in binary mode])
fi
AC_MSG_CHECKING([for Mac OS X])
case "$host" in
*-*-darwin*)
vips_os_darwin=yes
;;
*)
vips_os_darwin=no
;;
esac
AC_MSG_RESULT([$vips_os_darwin])
if test x"$vips_os_darwin" = x"yes"; then
AC_DEFINE(VIPS_OS_DARWIN,1,[native Mac OS X])
fi
# set the default directory for ICC profiles
if test x"$vips_os_darwin" = x"yes"; then
profile_dir="/Library/ColorSync/Profiles"
elif test x"$vips_os_win32" = x"yes"; then
profile_dir="C:\\Windows\\System32\\spool\\drivers\\color"
else
profile_dir="/usr/share/color/icc"
fi
AC_DEFINE_UNQUOTED(VIPS_ICC_DIR,"$profile_dir",[default directory for ICC profiles])
# we want largefile support, if possible
AC_SYS_LARGEFILE
@ -553,6 +578,7 @@ AC_OUTPUT([
AC_MSG_RESULT([
* general build options
native win32: $vips_os_win32
native OS X: $vips_os_darwin
open files in binary mode: $vips_binary_open
build C++ components: $enable_cxx
evaluate with threads: $enable_threads