cases for Unixware 2.1.2 (from Geoff Clare) and BSD/OS 4.0 (from Chris P.

* ltconfig: cases for Unixware 2.1.2 (from Geoff Clare)
and BSD/OS 4.0 (from Chris P. Ross)

* app/Makefile.am
* plug-ins/script-fu/scripts/Makefile.am: use -DREGEX_MALLOC,
seems to be more portable

* plug-ins/png/png.c: use a default gamma of 2.2 when gamma
correction isn't enabled

-Yosh
This commit is contained in:
Manish Singh 1999-01-02 23:11:55 +00:00
parent 1a90d26b81
commit f66bf9e0b4
10 changed files with 71 additions and 9 deletions

View File

@ -1,3 +1,15 @@
Sat Jan 2 15:04:16 PST 1999 Manish Singh <yosh@gimp.org>
* ltconfig: cases for Unixware 2.1.2 (from Geoff Clare)
and BSD/OS 4.0 (from Chris P. Ross)
* app/Makefile.am
* plug-ins/script-fu/scripts/Makefile.am: use -DREGEX_MALLOC,
seems to be more portable
* plug-ins/png/png.c: use a default gamma of 2.2 when gamma
correction isn't enabled
Wed Nov 18 17:35:38 MET 1998 Sven Neumann <sven@gimp.org>
* app/app_procs.c: fixed a longstanding bug in the splash-screen.

View File

@ -287,7 +287,8 @@ EXTRA_DIST = \
CPPFLAGS = \
-DLIBDIR=\""$(gimpplugindir)"\" \
-DDATADIR=\""$(gimpdatadir)"\" \
-DGIMPDIR=\""$(gimpdir)"\"
-DGIMPDIR=\""$(gimpdir)"\" \
-DREGEX_MALLOC
INCLUDES = \
$(X_CFLAGS) \

View File

@ -1207,7 +1207,7 @@ typedef struct
#define PUSH_FAILURE_POINT(pattern_place, string_place, failure_code) \
do { \
char *destination; \
/* char *destination; */ \
/* Must be int, so when we don't save any registers, the arithmetic \
of 0 + -1 isn't done as unsigned. */ \
/* Can't be int, since there is not a shred of a guarantee that int \

View File

@ -1207,7 +1207,7 @@ typedef struct
#define PUSH_FAILURE_POINT(pattern_place, string_place, failure_code) \
do { \
char *destination; \
/* char *destination; */ \
/* Must be int, so when we don't save any registers, the arithmetic \
of 0 + -1 isn't done as unsigned. */ \
/* Can't be int, since there is not a shred of a guarantee that int \

View File

@ -898,6 +898,12 @@ else
hardcode_shlibpath_var=no
;;
sysv4.2uw2*)
no_undefined_flag=' -z text'
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib$libobjs'
runpath_var=LD_RUN_PATH
;;
uts4*)
archive_cmds='$LD -G -h $soname -o $lib$libobjs'
hardcode_libdir_flag_spec='-L$libdir'
@ -1150,6 +1156,14 @@ amigaos*)
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
;;
bsdi4*)
version_type=linux
library_names_spec='${libname}.so.$major ${libname}.so'
soname_spec='${libname}.so'
finish_cmds='PATH="$PATH:/sbin" ldconfig $libdir'
shlibpath_var=LD_LIBRARY_PATH
;;
freebsd2* | freebsd3*)
version_type=sunos
library_names_spec='${libname}${release}.so.$versuffix $libname.so'

View File

@ -37,6 +37,19 @@
* Revision History:
*
* $Log$
* Revision 1.7.2.3 1999/01/02 23:11:53 yosh
* * ltconfig: cases for Unixware 2.1.2 (from Geoff Clare)
* and BSD/OS 4.0 (from Chris P. Ross)
*
* * app/Makefile.am
* * plug-ins/script-fu/scripts/Makefile.am: use -DREGEX_MALLOC,
* seems to be more portable
*
* * plug-ins/png/png.c: use a default gamma of 2.2 when gamma
* correction isn't enabled
*
* -Yosh
*
* Revision 1.7.2.2 1998/11/09 02:26:44 yosh
* * Makefile.am
* * configure.in: check for GTK+ 1.0.3 or higher, we use stuff
@ -146,6 +159,7 @@
#define PLUG_IN_VERSION "1.1.6 - 17 May 1998"
#define SCALE_WIDTH 125
#define DEFAULT_GAMMA 2.20
/*
* Structures...
@ -626,7 +640,7 @@ save_image(char *filename, /* I - File to save to */
guchar **pixels, /* Pixel rows */
*pixel; /* Pixel data */
char progress[255]; /* Title for progress display... */
gdouble gamma;
/*
* Setup the PNG data structures...
@ -684,10 +698,12 @@ save_image(char *filename, /* I - File to save to */
png_set_compression_level(pp, pngvals.compression_level);
gamma = gimp_gamma();
info->width = drawable->width;
info->height = drawable->height;
info->bit_depth = 8;
info->gamma = gimp_gamma();
info->gamma = gamma != 1.00 ? gamma : DEFAULT_GAMMA;
info->sig_bit.red = 8;
info->sig_bit.green = 8;
info->sig_bit.blue = 8;

View File

@ -37,6 +37,19 @@
* Revision History:
*
* $Log$
* Revision 1.7.2.3 1999/01/02 23:11:53 yosh
* * ltconfig: cases for Unixware 2.1.2 (from Geoff Clare)
* and BSD/OS 4.0 (from Chris P. Ross)
*
* * app/Makefile.am
* * plug-ins/script-fu/scripts/Makefile.am: use -DREGEX_MALLOC,
* seems to be more portable
*
* * plug-ins/png/png.c: use a default gamma of 2.2 when gamma
* correction isn't enabled
*
* -Yosh
*
* Revision 1.7.2.2 1998/11/09 02:26:44 yosh
* * Makefile.am
* * configure.in: check for GTK+ 1.0.3 or higher, we use stuff
@ -146,6 +159,7 @@
#define PLUG_IN_VERSION "1.1.6 - 17 May 1998"
#define SCALE_WIDTH 125
#define DEFAULT_GAMMA 2.20
/*
* Structures...
@ -626,7 +640,7 @@ save_image(char *filename, /* I - File to save to */
guchar **pixels, /* Pixel rows */
*pixel; /* Pixel data */
char progress[255]; /* Title for progress display... */
gdouble gamma;
/*
* Setup the PNG data structures...
@ -684,10 +698,12 @@ save_image(char *filename, /* I - File to save to */
png_set_compression_level(pp, pngvals.compression_level);
gamma = gimp_gamma();
info->width = drawable->width;
info->height = drawable->height;
info->bit_depth = 8;
info->gamma = gimp_gamma();
info->gamma = gamma != 1.00 ? gamma : DEFAULT_GAMMA;
info->sig_bit.red = 8;
info->sig_bit.green = 8;
info->sig_bit.blue = 8;

View File

@ -46,6 +46,9 @@ DEPS = \
script_fu_DEPENDENCIES = $(DEPS)
CPPFLAGS = \
-DREGEX_MALLOC
.PHONY: files
files:

View File

@ -1207,7 +1207,7 @@ typedef struct
#define PUSH_FAILURE_POINT(pattern_place, string_place, failure_code) \
do { \
char *destination; \
/* char *destination; */ \
/* Must be int, so when we don't save any registers, the arithmetic \
of 0 + -1 isn't done as unsigned. */ \
/* Can't be int, since there is not a shred of a guarantee that int \

View File

@ -1207,7 +1207,7 @@ typedef struct
#define PUSH_FAILURE_POINT(pattern_place, string_place, failure_code) \
do { \
char *destination; \
/* char *destination; */ \
/* Must be int, so when we don't save any registers, the arithmetic \
of 0 + -1 isn't done as unsigned. */ \
/* Can't be int, since there is not a shred of a guarantee that int \