head 1.10; access; symbols pkgsrc-2013Q2:1.10.0.54 pkgsrc-2013Q2-base:1.10 pkgsrc-2012Q4:1.10.0.52 pkgsrc-2012Q4-base:1.10 pkgsrc-2011Q4:1.10.0.50 pkgsrc-2011Q4-base:1.10 pkgsrc-2011Q2:1.10.0.48 pkgsrc-2011Q2-base:1.10 pkgsrc-2009Q4:1.10.0.46 pkgsrc-2009Q4-base:1.10 pkgsrc-2008Q4:1.10.0.44 pkgsrc-2008Q4-base:1.10 pkgsrc-2008Q3:1.10.0.42 pkgsrc-2008Q3-base:1.10 cube-native-xorg:1.10.0.40 cube-native-xorg-base:1.10 pkgsrc-2008Q2:1.10.0.38 pkgsrc-2008Q2-base:1.10 pkgsrc-2008Q1:1.10.0.36 pkgsrc-2008Q1-base:1.10 pkgsrc-2007Q4:1.10.0.34 pkgsrc-2007Q4-base:1.10 pkgsrc-2007Q3:1.10.0.32 pkgsrc-2007Q3-base:1.10 pkgsrc-2007Q2:1.10.0.30 pkgsrc-2007Q2-base:1.10 pkgsrc-2007Q1:1.10.0.28 pkgsrc-2007Q1-base:1.10 pkgsrc-2006Q4:1.10.0.26 pkgsrc-2006Q4-base:1.10 pkgsrc-2006Q3:1.10.0.24 pkgsrc-2006Q3-base:1.10 pkgsrc-2006Q2:1.10.0.22 pkgsrc-2006Q2-base:1.10 pkgsrc-2006Q1:1.10.0.20 pkgsrc-2006Q1-base:1.10 pkgsrc-2005Q4:1.10.0.18 pkgsrc-2005Q4-base:1.10 pkgsrc-2005Q3:1.10.0.16 pkgsrc-2005Q3-base:1.10 pkgsrc-2005Q2:1.10.0.14 pkgsrc-2005Q2-base:1.10 pkgsrc-2005Q1:1.10.0.12 pkgsrc-2005Q1-base:1.10 pkgsrc-2004Q4:1.10.0.10 pkgsrc-2004Q4-base:1.10 pkgsrc-2004Q3:1.10.0.8 pkgsrc-2004Q3-base:1.10 pkgsrc-2004Q2:1.10.0.6 pkgsrc-2004Q2-base:1.10 pkgsrc-2004Q1:1.10.0.4 pkgsrc-2004Q1-base:1.10 pkgsrc-2003Q4:1.10.0.2 pkgsrc-2003Q4-base:1.10 buildlink2-base:1.8 netbsd-1-5-RELEASE:1.5 netbsd-1-4-PATCH003:1.5 netbsd-1-4-PATCH002:1.3 comdex-fall-1999:1.2 netbsd-1-4-PATCH001:1.2 netbsd-1-4-RELEASE:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.10 date 2003.01.09.15.43.11; author mycroft; state dead; branches; next 1.9; 1.9 date 2002.12.18.12.43.32; author tron; state Exp; branches; next 1.8; 1.8 date 2001.02.21.20.18.50; author veego; state dead; branches; next 1.7; 1.7 date 2000.11.29.22.09.16; author wiz; state Exp; branches; next 1.6; 1.6 date 2000.10.26.21.33.05; author veego; state Exp; branches; next 1.5; 1.5 date 2000.08.28.16.00.19; author rh; state Exp; branches; next 1.4; 1.4 date 2000.05.02.18.48.41; author danw; state Exp; branches; next 1.3; 1.3 date 99.11.11.14.02.09; author rh; state Exp; branches; next 1.2; 1.2 date 99.05.03.16.29.23; author rh; state Exp; branches; next 1.1; 1.1 date 99.04.06.05.57.31; author rh; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.04.06.05.57.31; author rh; state Exp; branches; next ; desc @@ 1.10 log @xsane-0.89 -> 0.90: ------------------- [portability fixes elided] - always set position of outputfilename_entry to the right - added test for (pid_status < 0) in xsane_fax_send in routine waiting for child process. The program does continue now when the fax is sent. - fax setup: added "set program defaults" buttons for efax, hylafax and mgetty+sendfax - set codeset for backend textdomain to "UTF-8" - xsane-preview.c: motion_notify_event_handler: added if (p->selection_xedge != -1) and if (p->selection_yedge != -1) before setting new coordinates - xsane-preview.c: added aspect_ratio function to motion_event_handler - added aspect_ratio menu to preview window - xsane-save.c: save_scaled_image: added " 0.5" to round image width and height - xsane-viewer.c: added widgets to scale dialog that allow defining image size - added romanian (ro.po), vietnamese (vi.po) and danish (da.po) translation - updated translation based on xsane-0.89 texts: es, it, ru - updated translations: cs, de, fr, nl, sk, tr - replaced some signals for spinbutton by signals for adjustments in xsane-viewer.c - xsane_mail_dialog_close() and xsane_fax_dialog_close(): removed gtk_window_remove_accel_group(GTK_WINDOW(xsane.mail_dialog), xsane.accelerator_group); - xsane-scan.c/xsane_read_image_data() and xsane-preview.c/preview_read_image_data: when we have no select_fd then we don't leave the scanloop with break; but we do a gtk_main_loop and continue; - preview: added output of RGB values of the pixel under the pointer in the preview - xsane_create_preview_gamma_curve: replaced 255 by 255.99999 to create correct preview gamma table @ text @$NetBSD: patch-aa,v 1.9 2002/12/18 12:43:32 tron Exp $ --- src/xsane-save.c.orig Sun Oct 20 23:22:19 2002 +++ src/xsane-save.c Wed Dec 18 13:33:58 2002 @@@@ -1986,8 +1986,8 @@@@ position_bottom = bottom + paper_bottom_margin; box_left = left + paper_left_margin; box_bottom = bottom + paper_bottom_margin; - box_right = box_left + round(width+0.5); - box_top = box_bottom + round(height+0.5); + box_right = box_left + (int)(width+0.5); + box_top = box_bottom + (int)(height+0.5); } depth = image_info->depth; @ 1.9 log @Update "xsane" package to version 0.89. Changes since version 0.86 include: - several bugfixes - improved copy mode - improved 3 pass color mode - creates standard conform 16 bit pnm files now - gamma, brightness and contrast values are stored correct now in some file formats - new translations: pt @ text @d1 1 a1 1 $NetBSD$ @ 1.8 log @Update xsane to 0.72: xsane-0.64 -> 0.65: ------------------- - src/Makefile.in: added usage of SANE_CFLAGS and GTK_CFLAGS - added secure password transmission for authorisation (md5digest) - ~/.sane/pass is used for reading user:password:resource from file before asking the user - configure: removed test for X (AC_PATH_X), this is done in GTK (gtk-config) gtk includes and libs are used for png test (because png often is in X directories) - changed xsane_*_with_pixmap: old status: routines used xsane.histogram_dialog->window as window for gdk_pixmap_create_from_xpm_d() this made problems with preview window if X default color depth differd from X color depth new status: routines are called with parameter GdkWindow *window now. xsane-0.65 -> 0.66: ------------------- - added setup menu for Automatic Document Feeder Scansource (ADF-Scansource name was predefined to "Automatic Document Feeder" before, now it can be defined for each device (is saved in decice settings)) - changed setup for lineart->grayscale scanmode from entry to menu with available scanmodes - updated xsane.WIN32-compilation and src/Makefile.in.WIN32 I compiled a pre version of xsane-0.66 with the cygwin snapshot from 2000-12-10 and gtk+-dev-20001023.zip, glib-dev-20001023.zip, libiconv-dev-20001007.zip with the way described in xsane.WIN32-compilation without any problems. The problem with the fork() seems to be solved in this cygwin version. - updated aclocal.m4 and configure (gimp test) xsane-0.66 -> 0.67: ------------------- - added test if (xsane.adf_scansource) before usage of xsane.adf_scansource (caused segfault when no ADF Scanmode was defined in setup) xsane-0.67 -> 0.68: ------------------- - changed src/Makefile.in.WIN32 so that the installation directory can be selected by configure --prefix=... and the used paths are more common to the one on unix (/usr/local => c:\sane) - changed src/Makefile.in.WIN32 for gimp support (uncomment GIMP_LIBS) - WIN32+gimp-support: set_gimp_PLUG_IN_INFO_PTR(&PLUG_IN_INFO) is called - added extern GimpPlugIn PLUG_IN_INFO to xsane.h (needed in xsane.c for win32) - replaced free(xsane.tile) by g_free(xsane.tile) (the free(...) caused a crash on win32) - changed aclocal.m4: gimp test does work with gimp-1.0.x version again - renamed xsane.WIN32 and xsane.WIN32-compilation to xsane-WIN32.txt and xsane-WIN32-compilation.txt (it is easer to use on windows) - removed (#ifndef _WIN32) gtk_set_locale() from xsane.c for win32 (when it was called gimp plugin created transparent images) - saved xsane-style.rc in DOS mode (\n\r) xsane-0.68 -> 0.69: ------------------- - some changes in aclocal.m4 for gimp test: - When gimp-config is not found, the output of gtk-config is used - GTK_CFLAGS or GIMP_CFLAGS are added to CPPFLAGS for test for gimp.h and gimpfeatures.h - GTK_CFLAGS and GTK_LIBS are erased when gimp_config is available - changed src/Makefile.in: GIMP_CFLAGS is used now - saved xsane-style.rc in unix mode (\n) because DOS mode (\n\r) made problems - added new way to call netscape remote command: at first xsane tries to find out if netscape is running, for this it tries to find out if there is a link "~/.netscape/lock". If this link exists netscape should be running and xsane calls "netscape -remote openFile(...)". Otherwise xsane calls "netscape ..." - changed keywork "netscape-remote" as docviewer to "netscape" - changed way to find out home directory in xsane-back-gtk.c: now getenv(ENVIRONMENT_HOME_DIR_NAME) is used instead of getpwuid(...)->pw_dir. (getenv is usable for Win32 and unix, getpwuid makes problems on Win32) xsane-0.69 -> 0.70: ------------------- - removed some bugs in text for pipette in sane-xsane-preview-doc.html - changed acloacal.m4: when gimp-config is not found we look for gimptool - for WIN32 the filetypes listed in the filetype menu are ".jpg" and ".tif" instead of ".jpeg" and ".tiff" - added manufacturer image to bottom of standard and advanced options window. The name of the image is "vendor"-logo.xpm" or "sane-"backend"-logo.xpm", the size of the image should be 256x48 pixels with a transparent background. - changed src/Makfile.in: *-logo.xpm are installed (make install) and uninstalled (make uninstall) now - changed src/Makfile.in.WIN32: *-logo.xpm are installed (make install)now - several changes in xsane-preview.c for rotating preview by 0/90/180/270 degree the preview rotation is ready now - added new routine xsane_save_rotate_image to xsane-save.c - added new routine xsane_save_grayscale_image_as_lineart to xsane-save.c - lineart images are saved in grayscale mode at first if transformation has to be done - xsane_save_rotate_image is called beween scanning and saving image - xsane_save_grayscale_image_as_lineart is called beween rotating and saving image - aclocal.m4/configure: changed sane_major_version etc to SANE_CURRENT_MAJOR - fileheader of raw format changed. This format is not defined, but some programs can read it as 16 bit pnm binary data, so we use a compatible header now: P5 # This file is in a not public defined data format. # It is a 16 bit gray binary format. # Some programs can read this as pnm/pgm format. # SANE data follows. 100 100 65535 xsane-0.70 -> 0.71: ------------------- - corrected aspect ratio in xsane-preview.c in routine that calculates preview resolution - corrected user definition of maximum scanner surface - added translation of preview menu maximum surface(preset area) - added tooltip for maximum surface(preset area) menu and rotation menu - finished preview_autoselect_scanarea() - added autoselect scanarea button to preview window - changed automaitic increase of filename counter: - the step direction and length is not forced to +1, the user can select one of the values -2/-1/0/+1/+2. It is defined by preferences.filename_counter_step. This way it is possible to scan double sided papers with correct automatic page number generation. - the digits are not increased by a loop any more, the number is read, the new number is calculated and the new filename is generated. The user can select a minimum filename counter length now, it is defined in preferences.filename_counter_len and can be selected by the user in setup/saving options - when the number of digits are not enough the number is automatically increased now. - a message comes up when counter gets smaller than 0 - pipette the color is averaged on a square, the size of the square can be defined by the user - updated html doc (not complete) - added tooltips to permission buttons (r,w,x) permission texts: user, group, all, read, write, execute can be translated now. - added japanese translation (thanks to Kimizuka Tomokazu ) - renamed oldgimp.h to gimp-1_0-compat.h xsane-0.71 -> 0.72: ------------------- - changed default postscript viewer from xv to gv - moved int i, select = 1; in static void xsane_saving_notebook() out of #ifdef HAVE_LIBTIFF block - filename counter length correction is only done in sane_start when there is a user selectable filename - if external filename is given the counter len is not touched when not necessary - added "insert file" function to fax mode - added output of gamma, brightness and contrast settings to pnm headers - updated xsane online-documentation (html) - added license dialog, it is shown when it was not already accepted for this xsane version (tested in local xsane.rc) - about and about translation dialogs do not set XSane´s sensitivity to false any more - copyright sign is now always defined as "(c)", can be translated with \251 if character is available - device preferences are not saved/loaded any more when file selection is aborted - in xsane_info_dialog the scanner type is translated now - added accelerator keys to device selection dialog: Escape -> Cancel F1,F2,.. -> select device number 1,2,... - added usleep(100ms) in device selection dialog before scanning for devices, this way we make sure that the text "scanning for devices" is displayed - added some accelarator keys to the preview window: Alt ESC Cancel Preview Scan Alt KP+ Zoom in Alt KP- Zoom out Alt KP* Zoom not Alt KP/ Zoom undo Alt A Autoselect scanarea Alt V Select visible scanarea - added accelerator key Escape to file-selection-dialog, about-dialog and about-translation-dialog attached to cancel/close button - updated translations: - german translation - czech translation - thanks to Stanislav Brabec - turkish translation - thanks to Togan Muftuoglo - japanese translation - thanks to Kimizuka Tomokazu - french translation - thanks to Laurent Grawet @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.7 2000/11/29 22:09:16 wiz Exp $ d3 11 a13 3 --- configure.orig Sun Nov 12 10:47:37 2000 +++ configure @@@@ -9,7 +9,7 @@@@ d15 1 a15 24 # Defaults: ac_help= -ac_default_prefix=/usr/local +ac_default_prefix=${PREFIX} # Any additions from configure.in: ac_help="$ac_help --disable-gimp do not include GIMP plugin mode" @@@@ -1356,7 +1356,6 @@@@ fi -INCLUDES="${INCLUDES} -I/usr/local/include" CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE" if test "${ac_cv_prog_gcc}" = "yes"; then CFLAGS="${CFLAGS} -Wall" @@@@ -4587,7 +4586,7 @@@@ # and all following checks (=sane) # saved_CPPFLAGS is still up to date if test -n "${x_includes}" ; then - CPPFLAGS="${CPPFLAGS} -I${x_includes}" + CPPFLAGS="${CPPFLAGS} -I${x_includes} -I${LOCALBASE}/include" fi if test "${USE_PNG}" = "yes"; then for ac_hdr in png.h @ 1.7 log @Update to xsane-0.64 (to make it compile again). Sort PLIST. Major changes since 0.61: Documentation updates, bug fixes, two new translations (it&tr), update to gimp-current API. @ text @d1 1 a1 1 $NetBSD$ @ 1.6 log @Expand the last CPPFLAGS to also include ${LOCALBASE}/include and not only x_include. Now, we find sane/sane.h if you use xpkgwedge. Maybe this should just use X11PREFIX, but there was allready a line which does the x_include and LOCALBASE one. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.5 2000/08/28 16:00:19 rh Exp $ d3 1 a3 1 --- configure.orig Thu Jul 27 14:59:24 2000 d13 2 a14 2 --enable-intl-patch add -lintl to check for sane" @@@@ -1364,7 +1364,6 @@@@ d22 1 a22 2 @@@@ -4739,7 +4738,7 @@@@ # so we have to use x_includes and x_libraries to test for png d25 4 a28 2 -CPPFLAGS="${CPPFLAGS} -I${x_includes}" +CPPFLAGS="${CPPFLAGS} -I${x_includes} -I${LOCALBASE}/include" a30 9 do @@@@ -4840,6 +4839,7 @@@@ # check must stand at end of list because of the missing libintl in libsane.so # check needs x_libraries and x_includes because they may be needed by png if test "${ADD_LIBINTL}" = "no"; then + CPPFLAGS="${CPPFLAGS} -I${x_includes} -I${LOCALBASE}/include" for ac_hdr in sane/sane.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` @ 1.5 log @Update xsane to 0.61. Changes are: xsane-0.51 -> 0.52: ------------------- - changed gimp_install_procedure(...) for specified device: "RGB, GRAY" -> 0 - in xsane-scan.c and xsane-preview.c added " | GDK_INPUT_EXCEPTION" to gdk_input_add(fd, GDK_INPUT_READ | GDK_INPUT_EXCEPTION, preview_read_image_data, p); - added static int xsane_set_modus_defaults(void) zoomfactor is set to 1.0 if copy mode is selected full preview area is selected if copy or fax mode is selected - removed a second xsane_device_preferences_restore(); in static void xsane_device_dialog(void) - zoom factor keeps unchanged when printer is changed - added psfile-geometry to setup/saving options, it is used when saving postscript in scanmode - moved exisiting routines to open functions to xsane-front-gtk.c: void xsane_define_output_filename(void); void xsane_identify_output_format(char **ext); - define_maximum_output_size is called in each routine that changes filename or fileextension because the output frame is also drawn in scanmode with filetype postscript now - included Stanislav Brabec's sed-scripts and changes for Makefile.in in xsane-*/po - added creation of newlanguage.po in po/Makefile.in - updated german translation file de.po - updated czech translation file cs.po - thanks to Stanislav Brabec - updated french translation file fr.po xsane-0.52 -> 0.53: ------------------- - added test if vendor, model and type strings do exists (pointer != 0) otherwise "no vendor",... is printed - changed ext = &extension; to if (extension) { *ext = strdup(extension); } else { *ext = 0; } in xsane_identify_output_format - bad thing, I get old ;-) - added new routine xsane_find_best_resolution that makes sure that the selected resolution fits into range/quantization given by backend. This is used by xsane_set_resolution and when resolution_list is created. - added xsane_set_all_resolutions to xsane_set_modus_defaults - xsane resolution can be changed by backend now xsane-0.53 -> 0.54: ------------------- - updated french translation table - updated german translation table - changed type of umask in preferences from mode_t to int because sizeof(mode_t) is on some machines only 2 bytes what cause problems. all calls of umask(foo) are changed to umask((mode_t) foo) - changed preferences update_policy from GtkUpdateType to int. - selection box can not be moved out of the preview window, the size of the selection keeps unchanged in that case now. - removed some gtk_main_iteration and reordered some selection drawing routines. - removed unused files/directories from package: sanei, include/sane/sanei_(some).h, po_old xsane-0.54 -> 0.55: ------------------- - added preview support for 16 bpp (transformed to 8bpp) - added copyright line in devcie selection dialog - preview selection frame is only active when backend supports coordinate selection - added preview oversampling factor (multiplier for calculated preview resolution) - added lineart enhancement: preview can be done in grayscale now, threshold value change is displayed without a new preview scan. - added "device options" to setup dialog: - Scanner dependant options for grayscale->lineart conversion have to be entered there. - a color preview is now displayed gray when grayscale mode is selected - updated de.po, cs.po, fr.po - updated po/xsane-pot.sed xsane-0.55 -> 0.56: ------------------- - added hold timer to preview (update-policy=delayed) - added hold timer to xsane_slider (update-policy=delayed) - moved help menu from file to help - added swedish (sv) translation - thanks to Johan Bengtsson - removed bug in xsane_rc_io_w_string, it returns EINVAL now each time when the string does not begin with " xsane-0.56 -> 0.57: ------------------- - made xsane_choose_device return type to void (was gint32) - arranged device-preferences in struct xsane in the order they are used as device preferences, made sure that all variable types are correct: - changed type of xsane.mode from gint32 to int - changed type of xsane.lineart_mode from gint32 to int - changed type of xsane.show_preview from SANE_Bool to int - changed type of xsane.enhancement_rgb_default from SANE_Bool to int - changed type of xsane.fax_finemode from SANE_Bool to int - added mask for *_lock in preview motion_notify_event handling Preview selection can be done with locks activated now - histogram is cleared before/redrawn after saving/loading device settings - added xsane_control_option() that tests if option >= 0 and returns SANE_STATUS_INVAL if not - added xsane_get_option_descriptor() that tests if option >= 0 and returns NULL if not - changed parameters of preview_area_resize and added preview_area_resize_handler - removed a lot of gtk_main_iterations from xsane_preview.c they make problems in the redrawing order and can cause display problems xsane-0.57 -> 0.58: ------------------- - split the preview_event_handler into - preview_press_button_event_handler - preview_motion_event_handler - preview_release_button_event_handler - the preview_expose_event_handler now is called twice, the second call has been placed in the preview_event_handler_before - reactivated gtk_main_iteration after at the end of motion_event - added warning window when xsane is started as root - added selection of temporary directory in preferences/setup/saving options - added gdk_input_remove(xsane.input_tag); before xsane_start_scan is called in 3-pass scanning mode (suggestion from Heiko_Schroeder@@t-online.de) - changed output of "xsane -v" - in xsane_scan_done moved xsane.header_size = 0; before test for ADF Thanks to Russell Coggrave for the info about it. - added gtk_set_locale() before gtk_init() - added copyright sign "(c)" to translated texts because it is not available on all charsets - temporary filenames are created random and unique (mktemp + random number) due to security problems with fixed/calculateable tempfiles. - the preview-files are created (empty) at program startup now - when program exits the previews are erased there is no way to store the preview images any more when the program is closed - preview_restore_image() creates the xsane-startimage if no preview is stored - renamed directory frontend to src - create xsane-help script that opens online helpfile xsane-0.58 -> 0.59: ------------------- - preview_do_gamma_correction does test for 3 pass scanner color mode - changed fax x-resolution and standard resolution from 98 ppi to 204 ppi and with of faxpage from 210.0 to 215.7 (so we get 1728 pixels in x direction, hylafax-faq says that is the correct size) - split preferences.printer[..].resolution -> lineart, grayscale and color_resolution - added setlocale(LC_NUMERIC, "C"); in xsane_init() and #include in xsane.h this should solve the problems with empty images (100%transparent) with gimp and other problems that were caused by local settings (1.3 <=> 1,3). - added setup-option "disable gimp preview gamma" - added selection (preferences/setup/enhancement options) if autoenhancement changes gamma value - renamed Preferences/Setup/"Device options" to "Enhancement options" - removed xsane internal callbacks from dialog struct, the functions are called directly now - changed the reading of the preview image header. The last newline character before the image data starts again made some problems, this seems to depend on the data that follows. So I added a fgets() command to skip the newline character - this seems to work. - changed increase_filename_in_counter, does work now if the only character of the base-filename is the counter - reduced size of src/xsane-startimage.pnm (1MB => 0.6MB) xsane-0.59 -> 0.60: ------------------- - after filename counter is increased the cursor in the outputfilename entry is moved to the right - in preview_read_image_data when image is complete: preview_update_surface(p, 0); is called before preview_display_image(p); this way the geometry of the first preview scan is correct. - moved xsane_set_all_resolutions in xsane_update_xsane_callback(), it now also is called when the backend only uses one reesolution - added calibration image (xsane-calibration.pnm) that is loaded when setup window is created. The xsane enhancement functions are disabled in calibration mode, the image can not be resized (xscale = yscale = 1.0). The previsous image is reloaded when the setup window is closed again. - enviornment variable SANE_DEFAULT_DEVICE is used to activate the radiobutton in the device selection menu - removed unused item "custom" from preview surface menu - changed preview surface menu items: A3 -> A3P (portrait) A4 -> A4P (portrait) A4H -> A4L (landscape) A5 -> A5P (portrait) A5H -> A5L (landscape) - removed script xsane-help, necessary command now is listed in xsane.PROBLEMS - after filename counter is increased the cursor in the outputfilename entry is moved to the right xsane-0.60 -> 0.61: ------------------- - added debug output function and messages - moved all global variables and struct GSGdialog to global struct xsane - cleaned up some variable names - added free gamma curve dialog (not ready) - prepared xsane for win32: - when BUGGY_GDK_INPUT_EXCEPTION is defined only blocking mode is used (needed because GDK input exception does not work on win32) - on win32 you cannot get a homedirectory, for this XSANE_FIXED_HOME_PATH has to be set to the path that shall be used as homedirectory - replaced all gtk_dialog_new by gtk_window_new and added hbox and vbox to the window (gtk_dialog_new does not work on WIN32) - added xsane.WIN32 and xsane.WIN32-compilation that describes how xsane is build on WIN32 with CYGWIN - replaced "/" in all paths, added label SLASH that is predefined to '/' if it is not defined by compiler option. For WIN32 it is set to '\' by compiler option - all fopen functions use argument "rb" or "wb" now (b=binary). This is needed for WIN32 and the b is ignored on unix systems. - published binary version xsane-win32-0v01 and xsane-win32-0v02 based on xsane-pre0.61 versions - removed an ugly bug: in struct Preferences there was predefined a string ("/tmp/") that caused a bad memory state when the string memory was freed, instead the string is defined in xsane_pref_restore now - changes for tiff format: - added support for 16 bit tiff format. - predefined tiff-compression is changed from 5 to PACKBITS(16bit), JPEG(8bit), FAXG3(1bit). - add resoultion-tags and datetime-tag to tiff files. - added "change directory" entry to preferences menu - added "scanning for devices" dialog @ text @d1 1 a1 1 $NetBSD$ d35 1 a35 1 + CPPFLAGS="${CPPFLAGS} -I${x_includes}" @ 1.4 log @Remove patches to deal with two bugs involving configure's handling of INSTALL which have both been worked around in bsd.pkg.mk now. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 1999/11/11 14:02:09 rh Exp $ d3 2 a4 2 --- configure.orig Wed Nov 3 19:39:12 1999 +++ configure Thu Nov 11 12:36:07 1999 d14 9 a22 1 @@@@ -4743,7 +4743,7 @@@@ d31 1 a31 1 @@@@ -4844,6 +4844,7 @@@@ @ 1.3 log @Update xsane to 0.43 Notable changes are: - Disabled selection of LZW compression for libtiff. - PNG problems (not supported, lineart wrong) are solved. - Device name is saved in drc file now. - Xsane version is saved in drc file now. - Warning is printed if device rc file was not created for active device . - In GIMP mode there is no empty file created any more. - changed calculation of size in info row from unisgned long to float because unsigned long / 10 were to small to fit A4 with 1200x1200 dpi - removed member device from struct preferences - was never used - warning is printed if device rc file was not created for active device - bounded contrast to >=-100.0 - added continuous update to histogram sliders and preview selection - moved "show xxx" menu items form menu "Preferences" to menu "View" - changed brightness and contrast range maximum from 300 to 400 % - added french translation - thanks to Vincent Renardias - added german translation table - replaced button-texts negative, rgb default, auto, default, store and restore by icons - setup/jpeg quality selection is enabled - implemented real single-bit format for tiff - added tiff compression type selection for multi bit and one bit images - the preview selection is based on device coordinates instead of preview window coordinates now - if there are no standard device settings at program startup, xsane take the backend predefined resolution (before this was set to 100) @ text @d1 1 a1 1 $NetBSD$ a30 13 @@@@ -5328,10 +5329,12 @@@@ top_srcdir="$ac_dots$ac_given_srcdir" ;; esac +if false; then case "$ac_given_INSTALL" in [/$]*) INSTALL="$ac_given_INSTALL" ;; *) INSTALL="$ac_dots$ac_given_INSTALL" ;; esac +fi echo creating "$ac_file" rm -f "$ac_file" @ 1.2 log @Update to xsane-0.22 @ text @d3 2 a4 2 --- configure.orig Wed Apr 14 00:42:49 1999 +++ configure Sun May 2 14:11:59 1999 d13 19 a31 2 --with-x use the X Window System" @@@@ -3674,10 +3674,12 @@@@ @ 1.1 log @Initial revision @ text @d3 2 a4 2 --- configure.orig Mon Mar 22 16:39:21 1999 +++ configure Mon Apr 5 19:20:54 1999 d13 2 a14 18 --enable-shared build shared libraries [default=yes] @@@@ -2698,6 +2698,7 @@@@ echo "$ac_t""no" 1>&6 fi +if false; then # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' @@@@ -2743,6 +2744,7 @@@@ ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \ $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \ || { echo "configure: error: libtool configure failed" 1>&2; exit 1; } +fi @@@@ -3931,10 +3933,12 @@@@ @ 1.1.1.1 log @Initial import of xsane-0.19, an improved scanner frontend for SANE that also includes photocopier functionality. @ text @@