to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.
While doing that, also bump freetype2 dependency to current pkgsrc
version.
Suggested by tron in PR 47882
xsane-0.994 -> 0.995:
---------------------
- changed layout of copy setup, removed border around all setup tabs
- changed layout of xsane main window
- xsane-front-gtk.c: xsane_browse_filename_callback: xsane.cms_function_option_menu is only updated when xsane.enable_color_management is active
- xsane-save.c: write_smtp_header(): it is allowed to specify multiple mail receivers in a comma separated list now
- xsane-save.c: write_smtp_header(): MAIL FROM and RCPT TO use syntax "<user@domain.org>" instead of "user@domain.org" now
- xsane-front-gtk.c: created xsane_progress_bar_set_fraction which uses the gtk2
functions when available and which only updates the progress_bar every 2.5 percent
what speeds up several functions - especially saving file routines -
xsane*.c: replaced all gtk_progress_bar_update() by xsane_progress_bar_set_fraction()
- xsane-back-gtk.c: in function xsane_back_gtk_value_update()
replaced comparison for SANE_FIX values
if (new_val != val)
by
if (abs(new_val - val) > 1)
- changed all "scanarea" to "scan_area" or "scan area"
- xsane-gtk-1_x-compat.h: changed gtk_progress_bar_set_ellipsize() to
gtk_progress_bar_set_ellipsize(pbar, mode)
- xsane_help_no_devices() changed buf size to 1024
- translations: U=updated, N=not updated, A=added/new
ca cs da de es fi fr hu it ja nl pa pl pt pt_BR ro ru sk sl sr sv tr vi zh zh_CN
U N U N N A N N U N N U N N N N N U N U N N N N N
99599 99599 96 99595 99 99595 99 99599 96 96 96 99 99599 99592 99 96 96 992
xsane-0.995 -> 0.996:
---------------------
- removed bug when deleting medium types: removed free() command, added realloc()
- xsane_viewer.c: reduced maximum viewer size form gdk_screen_width/gdk_screen_height to
gdk_screen_width-1/gdk_screen_height-1
- xsane-save.c: PDF: ICC object 4+5 are initialized with offset 0
- xsane-save.c: PDF: objects with offset 0 are makred free (f) in xref table
xsane-0.996 -> 0.997:
---------------------
- removed SANE_CAP_ALWAYS_SETTABLE (not SANE1)
- added test for (opt->size == 0) for SANE_TYPE_STRING in xsane.c
- in gtk_adjustment_new changed page_size from (min-max)*1e-30 to 0
because new gtk versions don`t like non zero values for spinbuttons
- added several gdk_drawable_unref(mask)
xsane-0.997 -> 0.998:
---------------------
- removed bug saving image as 16 bit png:
until now all low byte data has been a copy of the high byte data,
so in fact all images saved untile xsane-0.997 are saved as 8 bit image
in a 16 bit format.
- changed some more gtk_adjustment_new(...) page_sizes to 0
- added several bytes_read = and bytes_written = before fread, read, fwrite, write
- added some items_done = before fscanf
- corrected some format stings (missing "%s")
alternative from mk/jpeg.buildlink3.mk
This allows selection of an alternative jpeg library (namely the x86 MMX,
SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and
follows the current standard model for alternatives (fam, motif, fuse etc).
The mechanical edits were applied via the following script:
#!/bin/sh
for d in */*; do
[ -d "$d" ] || continue
for i in "$d/"Makefile* "$d/"*.mk; do
case "$i" in *.orig|*"*"*) continue;; esac
out="$d/x"
sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \
-e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \
< "$i" > "$out"
if cmp -s "$i" "$out"; then
rm -f "$out"
else
echo "Edited $i"
mv -f "$i" "$i.orig" && mv "$out" "$i"
fi
done
done
xsane-0.993 -> 0.994:
---------------------
- corrected postscript bug: moved "/DeviceRGB setcolorspace" and
"CSA... setcolorspace" from document setup to page setup
- added black point compensation to printer setup dialog
- xsane-scan.c: if (channels==1) then scanner_default_gray_icm_profile
is used instead of scanner_default_color_icm_profile
- xsane-scan.c: bugfix segfault when scanning: when
scanner_default_color_icm_profile is not defined then "" is used
instead of scanner_default_color_icm_profile
xsane-0.992 -> 0.993:
---------------------
- removed proofing intent options saturation and perceptual, only
relative and absolutle colorimetric are available now
- added CMS transformation to saving routines: pnm(8bit), pnm(16bit
ascii and binary), png, jpeg, tiff, gimp-plugin, ps, pdf
(missing routines: multipage)
- added support for gtk_file_chooser_dialog
all filenames are handled as full paths (beginning with a slahs) now,
the "change working directory" option has been removed
- made "CANCEL" and "OK" button positions the same as gimp uses
it (CANCEL=left, OK=right)
- added browse function for projects directories
- removed bugs in mail mode:
write(fd, "\r\n\r\n", 2) -> write(fd, "\r\n\r\n", 4)
write(fd, "\r\n", 1) -> write(fd, "\r\n", 2)
- added embedded ICC profiles for postscript (CSA+CRD) and pdf
- added 12 bits/channel support for postscript
- added flatedecode without Asci85 compression for PDF
xsane-0.991 -> 0.992:
---------------------
- there was still a bug concerning the gimp plugin
when xsane has been quit in copy mode and afterwards
started as gimp plugin then xsane used the printer paper
size in the preview window. This is solved now:
replaced preferences.xsane_mode by xsane.xsane_mode
in xsane_define_maximum_output_size()
- xsane_save_scaled_image sometimes did not write the last line
and produced a tuncated image. this is corrected now
- viewer: when saved image is cloned and the viewer of the cloned
image is closed then no dialog pops up any more
- translations: U=updated, N=not updated, A=added/new
ca cs da de es fr hu it ja nl pl pt pt_BR ro ru sk sl sr sv tr vi zh zh_CN
A N N N N N N U N N N N N N N N N N N N N N A
99299 99 99 96 95 99 95 99 99 96 96 96 99 98 99 76 92 99 96 96 992
- xsane-preview.c: preview_create_batch_icon():
bugfix: files (in) are closed directly after use now,
bug report from Norman Hill - thanks
- corrected order of filetypes in xsane_back_gtk_filetype_menu_set_history, now
the filetype are not mixed any more when the disk icon is pressed
- replaced all "\n" by "\r\n" in email
- corrected some signdness warnings in xsane-preview.c (buf)
- fixed memory bug that caused crash when setup was closed (display_notebook):
added strdup to preferences.browser = strdup(getenv(STRINGIFY(ENVIRONMENT_BROWSER_NAME)));
- added command line option --xsane-rc / -r to change give alternative filename for xsane.rc
- added support for color management:
- added tab "color management" to setup/preferences
- preview can display ICC/ICM corrected images with 8bits/color and with 16bits/color input bit depth
- viewer can display ICC/ICM corrected images with 8bits/color and with 16bits/color input bit depth
- gamma correction and medium selection is disabled when color management is enabled
- added support for embedded ICC/ICM files for
- tiff
- jpeg
- png
- gimp plugin
- replaced several GtkObject* by GtkWidget* to avoid type-punned-pointer warning
- replaced several (void**) typecasts in xsane-rc-io.c to avoid type-punned-pointer warning