summaryrefslogtreecommitdiff
path: root/graphics/xsane
AgeCommit message (Collapse)AuthorFilesLines
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-02-24Add RMD160 digestsagc1-1/+2
2004-12-28Bump PKGREVISIONs due to libtiff update.reed1-1/+2
Some BUILDLINK_RECOMMENDED bumps done also. (If I missed any, please let me know -- and let me know a good way to automate this.)
2004-11-05xsane-0.93 -> 0.94:adam3-9/+10
- changed "µs" to UTF8 codeset - added test and warning message if option is defined without name (NULL) to xsane_panel_build - added handling for options with of SANE_TYPE_INT and SANE_TYPE FIXED with CONSTRAINT_TYPE_NONE , uses spinbutton, no sliders - changed default medium definition of Slide from highlight=30% to highlight=40% - xsane_[back_gtk_]option_menu_new: added empty element to end of list xsane_[back_gtk_]option_menu_lookup: test for existing element before comparision - moved media defintions from xsane.rc to xsane.mdf - preview: preset area: added definition name to context menu items - preview: add preset area: you can change the suggested name now - medium definitions: added same context menue like in preset area menu, removed buttons "add medium" and "delete medium", they are in the contect menu now - added documentation how to use a medium and how to define a medium - improved documentation how to edit the preset area definitions - in edit medium definition mode autmatic scanarea selection and automatic color correction is disbaled - docs: replaced www.mostang.com/sane by www.sane-project.org and sane-devel@mostang.com by sane-devel@lists.alioth.debian.org - batch_scan default list is loaded at program startup - added test for BUGGY_GDK_INPUT_EXECEPTION in xsane.c and xsane-preview.c when gdk_input_add shall be used - changed order in xsane.h: system includes are moved to the beginning of the file. This way it is possible to test for operating system header files to decide how some #defines are made - added m4 makro test for msnative struct for windows - BUGGY_GDK_INPUT_EXCEPTION is defined for windows - src/Makefile.in: removed both "\" in -DPATH_XSANE_DOC_DIR=\$(xsanedocdir) -DPATH_SANE_DATA_DIR=\$(sanedatadir) - created new xsane-WIN32-compilation.txt - for windows the GTK1 version of xsane_window_get_position is used - xsane_back_gtk_get_filename: directory is prepared with ending SLASH instead of ending "/.", this does work with windows now when SLASH is \ xsane-0.94 -> 0.95: - For xsane-win32 the xsane icon is added to the windows ressource of xsane.exe: added definition of XSANE_ICON=xsane-icon.opc to configure[.in] added creation rule of xsane-icon.opc to src/Makefile[.in] added @XSANE_ICON@ to XSANE_OBJS - in xsane_back_gtk_value_update: removed rounding (+ 0.5) in case SANE_TYPE_INT - changed menues in the xsane main dialog: - added new menu "Window" - moved Window menue entries form "View" to "Window" - moved "Show resolution list" entry from menu "Preferences" to "View" - moved "Update policy" entry from menu "Preferences" to "View" - moved "Length unit" entry from menu "Preferences" to "View" - added test if resolution list is displayed or scale is displayed in xsane_resolution_timer_callback(). Without this test it sometimes happened that pressing CTRL+L (Swap show resolution list) caused a segfault because the timer callback was executed in a moment where the adjustment is not valid - added: if (???->window) before each: gdk_window_process_updates(???->window) in xsane-gamma.c, this made problems with gtk+2.x - when a postscript file is added to a faxproject then the original name of the file is also used in the faxproject now. The pagecounter is still increased! - fax fine mode selection is stored in preferences now - handling of viewer filenames changed: - when an image is saved in the viewer then the viewer shows the filename in the window title and the viewer remembers the filename - when the image has been changed after it has been saved then the filename in the window title is shown in brackets - when the filename ends with a number (counter) then the number is automatically increased when the file is saved - when a saved image is cloned then the suggested filename of the cloned image is clone-of-"old-filename" - viewer: added support for different modification restrictions - VIEWER_NO_MODIFICATION (only view) - VIEWER_NO_NAME_AND_SIZE_MODIFICATION (some filters allowed but keep size, e.g. fax) - VIEWER_NO_NAME_MODIFICATION (use given name, e.g. fax, mail) - VIEWER_FULL_MODIFICATION (normal mode) - added undo function (1 step) to viewer - changed menues in the xsane viewer dialog: - added menu "Edit" - added menu "Geometry" - moved Scale function from menu "File" to menu "Geometry" - added rotation and mirror functions to menu "Geometry" - added undo function to menu "Edit" - changed button boxes/icons in the xsane viewer dialog: - added button boxes equal to menus: file, edit, filters, geometry - added undo icon to edit box - moved blur uand despeckle icon to filter box - moved scale, rotation and mirrir icons to geometry box - replaced several "char buf[???];" by "char filename[PATH_MAX];" - changed fax mode: - scanned images are stored in pnm format - for each list entry there is a data and a type information now - internal viewer is used now for pnm-fax files - faxviewer is used for ps files - before sending the fax pnm images are converted into ps images - after sending the fax ps images are erased - changed e-mail mode: - scanned images are stored in pnm format - for each list entry there is a data and a type information now - internal viewer is used now for pnm-mail files - before sending the mail pnm images are converted into png images - after sending the mail the png images are erased - mail project status is translated now - BUFIX: end of email text is marked with 0 byte - added function xsane_viewer_set_sensitivity() - moved all gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), TRUE/FALSE); to it - added several gtk_widget_set_sensitive(???_menu, TRUE/FALSE); commands to it - moved almost all v->block_actions to it - now it should not be possible any more to crash xsane by closing the viewer while it is saving something - added info "reduce to lineart" to image_info + xsane-pnm-header - renamed viewer v->reduce_to_lineart to v->allow_reduction_to_lineart - save_image_as() now automatically reduces lineart images to pbm before saving - new translations: hu - updated translations: de, es, ja, pt, pt_BR, sk xsane-0.95 -> 0.96: - fax progress bar does not change it's height any more when the fax dialog is resized - mail progress bar does not change it's height any more when the mail dialog is resized - added lockfile to mail project. The lockfile contains status and progress information from the mail_send_process and is used to display a progress_bar - mail status is only translated when it is displayed via gtk, in the data structures the untranslated texts are used - changed mail_attach_image_png to mail_attach_image, mime type is defined by parameter - added filetype menu to mail dialog with filetypes PNG, JPEG and TIFF - bugfix: viewer saves lineart PNM images again as lineart (bug in xsane-0.95) - when image is saved as pnm and it is not reduced to lineart then the input file is copied with xsane_copy_file => much faster - xsane-save.c: reordered function parameters for saving/conversion functions to (outfile, infile,...) or (output_filename, input_filename, ...) (before we had sometimes infile at first and sometimes outfile at first) - xsane_set_sensitivity: mail_dialog and fax_dialog: the sensitivity off all but the progress_bar is set - While mail is prepared (images are converted) the xsane sensitivity is set to FALSE to make sure that the xsane mode is not changed in this case. while sending the mail (after preparation) the xsane sensitivity is set to TRUE and the project entry sensitivity is also TRUE, it is allowed to changed xsane mode and to change the mailproject, because the sending of the mail is done in a separate process, so there is no influence by changing the mail project name. - Comment: When xsane is closed while sending one or more mails then xsane is closed but the mail sending subprocesses are not terminated. - added SMTP (HELO/FROM/RCPT/DATA) errors to mail status - added xsane.fax_status, it is saved in the first line of the xsane-fax-list this means that the fax project directories are incompatible to earlier versions! - added mail_status and fax_status = ..._CHANGED when a new page is added to the project - updated images in documentation - updated email modus in documentation - email images are named "image-1" instead of "page-1" - fax_dialog_delete() and mail_dialog_delete() return TRUE now. In windows it was possible to delete the dialogs what caused a crash when the window should be used or closed. - translations: U=updated, N=not updated cs da de es fr hu it ja nl pt pt_BR ro ru sk sl sr sv tr vi zh U U U U U N N U U U U U U N N N N U U N - xsane-preferences.c: when identifier is unknown or not a string then the parser does not abort or crash any more. XSane now should not have any problems with old config files.
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv1-1/+2
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
2004-05-03Changes 0.93:adam3-35/+35
* Support for gimp-2 * Bug-fixes
2004-03-31Install in "${LOCALBASE}" not in "${X11BASE}", bump package revisiontron2-5/+4
because of this.
2004-03-29gimp-base -> gimp1-base.snj1-2/+2
2004-01-24replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make.grant1-2/+2
2004-01-03Bump package revisions for tiff update.reed1-2/+2
Tiff is backward compatible, but was broken on amd64 platform so this makes sure new tiff is used.
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-07-13PKGREVISION bump for libiconv update.wiz1-2/+2
2003-05-06Drop trailing whitespace. Ok'ed by wiz.jmmv1-10/+10
2003-05-02Dependency bumps, needed because of devel/pth's major bump, and relatedwiz1-1/+2
dependency bumps.
2003-01-09xsane-0.89 -> 0.90:mycroft4-22/+11
------------------- [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
2002-12-18Update "xsane" package to version 0.89. Changes since version 0.86 include:tron4-7/+43
- 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
2002-12-01USE_PKGLOCALEDIR, remove unnecessary patch, delint.salo1-5/+6
2002-10-21Remove unused USE_LIBINTL.wiz1-2/+1
2002-09-22Convert to buildlink2.wiz1-12/+9
2002-08-19Update to 0.86. Many, many changes, including bug fixes, /tmp race problems,mycroft3-86/+112
performance improvements, etc. See xsane.CHANGES for details.
2002-03-13Give all packages which depend on "png" a version bump, and updatefredb1-2/+3
all dependencies on packages depending on "png" which contain shared libraries, all for the (imminent) update to the "png" package. [List courtesy of John Darrow, courtesy of "bulk-build".]
2001-10-31Move pkg/ files into package's toplevel directoryzuntum2-1/+1
2001-10-15Update xsane to 0.80.veego3-7/+14
Change the Makefile to use the x11/gtk buildlink.mk. xsane-0.79 -> 0.80: ------------------- - moved setting of medium gamma correction values from xsane_set_medium_callback in xsane.c to xsane_set_medium in xsane-gamma.c - xsane_set_medium is called in xsane_scan_dialog and in preview_scan - replaced predefined areas 10x14 cm and 14x10 cm by 10x15 cm and 15x10 cm - updated documentation (partly) - correcting image height when canceling conversion to jpeg format, program does not crash any more - added russian translation - thanks to John Profic <profic@lrn.ru> - solved problem with lineart image saved as png (wrong byte width) - moved medium selection menue from preferences menu to xsane main dialog - inactive backend options are not saved to the device-rc file - added progress_bar to the paramter list of xsane_save_* - added xsane-viewer.c and xsane-viewer.h to the src directory - added fflush(outfile); to end of rotation routine, this seems to solve a problem of incomplete files when rotating the image file - added routine xsane_read_pnm_header to get correct header offset and read geometrie values - for saving routines now the header offset and geometrie values of xsane_load_pnm_header are used instead of xsane´s internal values - changed handling of color identification: old: xsane_color == 0 => grayscale/lineart new: xsane_colors == 1 => grayscale/lineart - when image is saved as postscript file (not copy mode etc) then the bounding box exactly surrounds the image now. Removed psfile parts from setup and preferences. - xsane_widget_test_uposition(gtk_window) does wait now until gtk_window is realized before gtk_widget_set/get_uposition test is done - for hpux added include of alloca.h to sane.h - added function xsane_debug_message that is used for DBG when gcc is not used because defines with variable arguments is not ANSI. - updated translations: cs, de, fr, ja, ru, tr
2001-09-27Mechanical changes to 375 files to change dependency patterns of the formjlam1-2/+2
foo-* to foo-[0-9]*. This is to cause the dependencies to match only the packages whose base package name is "foo", and not those named "foo-bar". A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net. Also change dependency examples in Packages.txt to reflect this.
2001-08-28Update xsane to 0.79. Changes are mainly bugfixes and small featurerh3-7/+12
enhancements. For a detailled list see http://www.xsane.org/xsane.CHANGES
2001-06-12LIBS is automatically added to CONFIGURE_ENV by bsd.pkg.mk ifjlam1-2/+2
GNU_CONFIGURE is defined, so simply set LIBS to the appropriate value.
2001-06-11CPPFLAGS is now passed to MAKE_ENV and CONFIGURE_ENV by bsd.pkg.mk, sojlam1-4/+3
adapt by moving CPPFLAGS settings to top-level, and removing explicit inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
2001-05-22Update dependency on png to >=1.0.11 because of the shlib major bump.wiz1-2/+2
Noted by Frederick Bruckman.
2001-04-21Move to sha1 digests, and/or add distfile sizes.wiz1-2/+3
2001-04-17+ move the distfile digest/checksum value from files/md5 to distinfoagc2-7/+1
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-03-27Change BUILD_DEPENDS semantics:hubertf1-2/+2
first component is now a package name+version/pattern, no more executable/patchname/whatnot. While there, introduce BUILD_USES_MSGFMT as shorthand to pull in devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current). Patch by Alistair Crooks <agc@netbsd.org>
2001-03-04Because the minor number of the PNG library was increased packages compiledtron1-2/+2
using the newest PNG library won't work on system with an older one. To prevent such problems with precompiled binary packages require at least "png-1.0.9nb1" in all dependences.
2001-02-24Add german mirror site.tron1-2/+3
2001-02-21Update xsane to 0.72:veego5-83/+67
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 <sgtom@pluto.dti.ne.jp>) - 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 <utx@penguin.cz> - turkish translation - thanks to Togan Muftuoglo <toganm@yahoo.com> - japanese translation - thanks to Kimizuka Tomokazu <sgtom@pluto.dti.ne.jp> - french translation - thanks to Laurent Grawet <laurent.grawet@ibelgique.com>
2001-02-16Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.wiz2-2/+2
2000-11-29Update to xsane-0.64 (to make it compile again). Sort PLIST.wiz5-57/+51
Major changes since 0.61: Documentation updates, bug fixes, two new translations (it&tr), update to gimp-current API.
2000-11-04Add BUILD_DEPENDS for msgfmt, USE_LIBINTL=yes and LIBS="-lintl" to theveego1-2/+4
CONFIGURE_ENV line so it builds again after the gettext changes.
2000-10-26Expand the last CPPFLAGS to also include ${LOCALBASE}/include and not onlyveego2-4/+4
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.
2000-08-28Update xsane to 0.61. Changes are:rh6-37/+33
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 <utx@penguin.cz> 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 <utx@k332.feld.cvut.cz> - 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 <johanb@lls.se> - 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 <locale.h> 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
2000-08-14This package doesn't use libtool.wiz1-3/+2
2000-06-01s/USE_LIBTOOL/USE_PKGLIBTOOL/rh1-2/+2
Add a new USE_LIBTOOL definition that uses the libtool package instead of pkglibtool which is now considered outdated. USE_PKGLIBTOOL is available for backwards compatibility with old packages but is deprecated for new packages.
2000-05-02Remove patches to deal with two bugs involving configure's handling ofdanw2-16/+3
INSTALL which have both been worked around in bsd.pkg.mk now.
2000-03-21Because the minor of "libpng" was bumped we must sure that packagestron1-2/+2
compiled for the update "png" package depend on it.
2000-02-09Use "png>=1.0.3" instead of "png-*" in dependence list.tron1-2/+2
2000-02-09Use wildcard dependence for "png" package.tron1-2/+2
2000-01-26Update xsane to 0.51rh3-5/+6
Changes are: xsane-0.48 -> 0.49: ------------------- - added support for different x/y resolutions and zoom factors, the y-resolution slider is added to the xsane main dialog now - in gimp mode x- and y-resolution infos are set correct now - added resolution and zoom icons for x- and y-dimension - added fax_width and fax_height to preferences - added paper size frame in fax mode preview - added czech translation - thanks to by Stanislav Brabec <utx@k332.feld.cvut.cz> - changed gimp_install_procedure(...): "RGB, GRAY" -> 0 - changed printer geometry setup from 1/72 ich to mm - added setup entries for fax- width, height, left_offset and bottom_offset - corrected terminating \0 of strings in sane_choose_device - when button "Negative" is pressed the white/gray/black points are also inverted - split preview_restore_image into preview_restore_image and preview_restore_image_from_file, it can zoom into a saved image now. - zoom functions are done now without a new preview scan. 3 different zoom levels are stored. - in xsane_scan_start the output file is only opend once in multi pass scan three pass scan does work now again. - added several missing routines for gamma correction in three pass scan xsane-0.49 -> 0.50: ------------------- - removed bug in calculation of paper size in copy and fax mode - added support for rotate image in xsane_save_ps - added support for rotate (landscape mode) in copy mode and save-ps mode and added preferences menu "Rotate Postscript" - added bugfix for gtk_tooltips_set_colors as long as it does not work in gtk - improved memory allocation routines and error handling in preview - after the main window is created the resolution, resolution_x and resolution_y are made up to date now - changed dynamic menue list definition in xsane_setup for TIFF_COMPRESSION menu xsane-0.50 -> 0.51: ------------------- - added some rangechecks to histogram->gamma calculation it is done as histogram->gamma->histogram now - changed redraw frame in preview_display_partial_image(), now the old image is completely overpainted! - added xsane_set_all_resolutions() to xsane_printer_callback, now paper size frame is updated when printer is changed - corrected wrong error message in setting of scansource_selection from "unknown type" to "unknown constraint type" - moved xsane.header_size = 0; to the end of xsane_scan_done so it is called in each case the missing command was responsible for a segfault when starting a scan after xsane_cancel has been called - moved progress_bar from it's own window to the bottom of the main window progress_bar texts are displayed in info frame and in progress bar - added size in mm/cm/in to progress bar when not scanning - in scales the number of digits is defined by quantization now, if no quantization is given by backend (quant=0, SANE_TYPE_FIXED) x.2 digits are displayed - corrected page_setp for scales - selection_active is reset in preview_display_partial_image instead of preview_paint_image
2000-01-06Update xsane to 0.48. Changes are as follows:rh6-43/+8
- No longer requires patches ac and ad thanks to author's quick reaction to feedback. xsane-0.46 -> 0.47: ------------------- - if helpfile viewer is netscape-remote and netscape is not running it is started - replaced ENODATA (used for EOF detection in xsane-rc-io and xsane-device-preferences) by XSANE_EOF (=-1) (ENODATA is not defined on all systems) - If faxproject does not exist, project data entries are made insensitive and buttons "send project" and "delete project" are replaced by "create project" - Added missing "&" in xsane_device_preferences_save_values: xsane_rc_io_w_array(w, &len, (void **) &word_array, (WireCodecFunc) xsane_rc_io_w_word, sizeof(SANE_Word)); that cause segmentation fault when writing bool, int or fixpoint arrays. xsane-0.47 -> 0.48: ------------------- - "START" button is made insensitive in fax mode if project does not exist. - Preview window is created at the same time as the main dialog and it is destroyed at program end. Disabling "show preview" hides the preview window. This way the preview window placement does work correct. - set default values in xsane_device_preferences_load_file(char *filename) before reading the saved values, show_preview default = true - Mouse pointers display relevant mode icons in preview window now. - In copy mode the maximum selectable size that fits to the selected printer is drawn by a rect now. Selection is limited to the printer size. - if no local xsane.rc, xsane-style.rc or DEVICE.drc file exists it is loaded from SANE_DATA_DIR/xsane - all xsane rc files are placed in a subdirectory xsane now (~/.sane/xsane, SANE_DATA/DIR/xsane) - temporary files (previews, conversions) are saved in /tmp (defined in SANE_PATH_TMP in xsane.h) now - added window decoration icon (top left) to each xsane window (does work with kwm, does not work with fvwm2) - added warning icon and error icon - removed xsane_files_exit_callback, now xsane_scan_win_delete is used for all exit program calls - conversion-* and preview-* files are created with permission "-rw-------", images- and project-files are created with "preferences.image_umask" xsane.rc and *.drc are created with XSANE_DEFAULT_UMASK defined in xsane.h
2000-01-05Strip trailing '.', and/or leading '(a|an) 'abs1-1/+1
1999-11-27Update xsane to 0.46.rh6-21/+43
Changes include: * Problem with Segmentation fault when loading device settings with "lineart" mode enabled is solved. * Changed xsane- and device-preferences read and write routines, problem with segmentation faults while loading device preferences (*.drc) should be solved now. Old "*.drc" files have to be converted with xsane-convert-to-0.46. * Added "Problems?" to "Help" menu. * Filetype/extension can be selected by the menu "by ext." now.
1999-11-11Update xsane to 0.43rh6-52/+89
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)