summaryrefslogtreecommitdiff
path: root/graphics/xsane
AgeCommit message (Collapse)AuthorFilesLines
2006-09-16Bump revisions due to gnome-vfs2 update: dbus-glib is now a dependency.jmmv1-2/+2
This fixes problems when some installed packages are outdated. Per wiz@'s request. Grrr, I really hate this kind of change.
2006-04-17Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update.wiz1-2/+2
2006-04-17Strip ${PKGLOCALEDIR} from PLISTs of packages that already obeyjlam1-22/+22
PKGLOCALEDIR and which install their locale files directly under ${PREFIX}/${PKGLOCALEDIR} and sort the PLIST file entries. From now on, pkgsrc/mk/plist/plist-locale.awk will automatically handle transforming the PLIST to refer to the correct locale directory.
2006-04-13BUILD_USE_MSGFMT and USE_MSGFMT_PLURALS are obsolete. Replace withjlam1-4/+2
USE_TOOLS+=msgfmt.
2006-03-06Belatedly bump PKGREVISION for all libtasn1 dependencies, sincewiz1-2/+2
libtasn1 had a shlib major bump. Also update dependencies in bl3.mk files. Addresses PR 32998 by Robert Elz.
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg1-1/+2
2006-01-30Update to 0.99.1:wiz2-7/+7
xsane-0.99 -> 0.991: -------------------- - replaced all char buf[255], char buf[256] etc by char buf[TEXTBUFSIZE] with #define TEXTBUFSIZE 255 - replaced all char filename[255] etc by char filename[PATH_MAX] - translations: U=updated (* for 0.99-pre1), N=not updated, A=added/new cs da de es fr hu it ja nl pl pt pt_BR ro ru sk sl sr sv tr vi zh N N N N N N U N N N N N N N N N N N N N N 99 99 99 96 95 99 95 99 99 96 96 96 99 98 99 76 92 99 96 96 - added default multipage_filetype (PDF). No default multipage_filetype produced the following problem: - error message when creating multipage file: could not create secure file - lineart images are expanded to grayscale in multipage mode. solves segmentation fault when "show page" in multipage project was selected - corrected calculation of width and height in copy mode for backends that do not support arbitary resolutions - multipage mode: lineart images (that are stored as grayscale images) are reduced to lineart before the page is put into the multipage file - viewer shows image info with bit depth = 1 when reduce_to_lineart is set - change handling of zoom (photocopy mode): - now there is only one zoom value even if there is a resolution_x and a resolution_y option, zoom_x and zoom_y are removed - the zoom factor is directly used to define the image output size (before the scanresolution was used to define the image output size) - the resolution is not changed any more when an other printer with a different printer resolution is selected
2006-01-24Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 becausewiz1-1/+2
of the shlib major bump. PKGREVISION++ for the dependencies.
2006-01-22Update to 0.99:wiz3-39/+60
xsane-0.98b -> 0.99: -------------------- - added preferences/setup options: - save_ps_flatdecoded - save_pdf_flatdecoded - fax_ps_flatdecoded - printer[i].ps_flatdecoded - changed xsane-preferences reading routines for printer definitions and preset area definitions - changed postscript and tiff saving routines: - split in subroutines: - create_document_header (ps, pdf) - save image as page (ps, pdf, tiff) - create_document_trailer (ps, pdf) - split xsane.c into xsane.c, xsane-fax-project.c and xsane-mail-project.c - created xsane-multipage.c that adds a multipage project dialog supported file formats: - ps - pdf - tiff - corrected viewer to display bits/sample and size correct - changed handling of viewer filename and filetype selection: when a new viewer window is created then it copies the active filename and filetype. Changing the viewer´s selection does not change the prefered setting any more. - when no resolution option is available then xsane uses a resolution of 72.0 dpi. This e.g. is used for postscript and PDF. - changed tiff saving routine: - added deflate (zip) compression for 8 bit and 16 bit / sample images - corrected jpeg rgb compression - changed mixed up e-mail names (mail, email, e-mail): - all xsane internal names are: email - all user visible texts are : e-mail - changed acceleration key for email mode to GDK_E - changed command line option from --mail and -m to --email and -e - changed name of notebook "image" to "filetype" - when force_filename is set then the filetype is defined by the filename instead of preferences.filetype - project dialog position is saved in devices preferences now - when a dialog is closed then the position is stored in preferences so it can be saved when the window is invisible at program exit - changed handling of ADF: - removed ADF scanmode selection from setup - added entry for number of pages to scan in xsane main dialog - next scan is not started by g_signal_emit_by_name(xsane.start_button, "clicked"); /* press START button */ any more. This executed the next scan before all active scan subroutines have been finished. Now we use gtk_timeout_add(100, (GtkFunction)xsane_scan_dialog, NULL); to start xsane_scan_dialog after 100ms. - batch scan window now uses preview levels (zoomed previews) to display batch icons - added ASMTP authentication PLAIN and LOGIN - changed size definition of preview window for GTK2 to gtk_window_resize() - added $(DESTDIR) before each destination path in all Makefile.in - made usage of MKINSTALLDIRS unique in all Makefile.in - cleaned up subdir intl - translations: U=updated (* for 0.99-pre1), N=not updated, A=added/new cs da de es fr hu it ja nl pl pt pt_BR ro ru sk sl sr sv tr vi zh U U U N N U N N U* U* N N N U N U N N U* N N last upd 96 95 96 95 96 96 96 98 76 92 96 96
2005-12-31Recursive PKGREVISION bump for gnutls shlib major bump.wiz1-1/+2
Bump BUILDLINK_RECOMMENDED.
2005-12-31Update to 0.98b:wiz3-9/+9
xsane-0.97 -> 0.98: ------------------- - void xsane_batch_scan_scan_list(void): added if (gtk_events_pending()) in while (xsane.scanning) (this was removed in xsane-0.97 what made a lot of trouble) - corrected bad <Toolbox/...> italian transations for gimp plugin - added Postscript Zlib-Compression and Ascii-85 compression (patch by Julien BLACHE) - added (single page) PDF saving routine (patch by Julien BLACHE) - added PDF and Postscript to mail-mode. PDF and Postscript documents can not be displayed inline in html mails. I also do not know a way to display a link to a document that is integrated in the mail. So the <IMAGE> tag has no effect for pdf and postscript documents in html mode. - --print-filenames prints the filenames after conversion, so it is safe that the file exists and is complete - selected medium definition is stored in preferences now - BUGFIX for scanners that do not allow to set all resolutions. In fax mode an possibly also in copy mode the created pages had a wrong scaling when the scanner did not support the desired resolution: - xsane_set_resolution returns bestdpi = selected resolution - xsane_set_all_resolutions stores bestdpi as used resolution - when option 0 (num_options) has not defined SANE_CAP_SOFT_DETECT then xsane prints a warning but does try to read the option value - added xsane_mode (VIEWER/SAVE/EMAIL/FAX/etc) to preferences - po/*: all po files are in UTF-8 code now to transform non-UTF-8 po files to UTF-8 put the po file into the IMPORT_PO_DIR directory and call in the po directory "make import-po-files" - rename xsane-logo2.jpg to xsane-logo.jpg and changed all html files to xsane-logo.jpg - viewer uses preferences.filetype instead of "by ext" - localedir for sane-backends is set by sane-prefix instead of xsane-prefix - replaced printf by g_print to get correct output on non-utf-8 terminals - question mark '?' and asterisk '*' in filenames are replaced by underscore '_' - translations: U=updated, N=not updated, A=added/new cs da de es fr hu it ja nl pl pt pt_BR ro ru sk sl sr sv tr vi zh U U U N N U U N N N N N N U U N N N N N N xsane-0.98 -> 0.98a: -------------------- - corrected gimp_plugin bug: xsane_mode now is hold in xsane.xsane_mode like bevore xsane-0.98, additionally preferences.xsane_mode is used to store the user selection the user selection is loaded at program start when nothing else is predefined xsane-0.98a -> 0.98b: --------------------- - changed bug in header file due to conficting types in xsane-front-gtk.h from: int xsane_set_resolution(int well_known_option, double resolution); to: double xsane_set_resolution(int well_known_option, double resolution);
2005-11-25Bump PKGREVISION for libgsf dependencies, and BUILDLINK_DEPENDS becausewiz1-1/+2
of the libgsf shlib major bump and associated BUILDLINK_DEPENDS bump.
2005-09-27Update to 0.97:wiz3-8/+9
xsane-0.96 -> 0.97: ------------------- - write_smtp_footer(): changed ".\r\n" by "\r\n.\r\n", this solves problems with microsoft exchange servers. - translations: U=updated, N=not updated, A=added/new cs da de es fr hu it ja nl pl pt pt_BR ro ru sk sl sr sv tr vi zh N N N N N N U N N A N N N N N N N N N N U - xsane-save.c: xsane_copy_file(): removed fclose(infile) and fclose(outfile) this bug caused the error "*** glibc detected *** double free or corruption (!prev): 0x........ ***" with new gelibc versions xsane-save.c: xsane_copy_file_by_name(): added fclose(infile) and fclose(outfile) - rmoved gtk_events_pending() from the waiting loop in xsane_back_gtk_get_filename, it looks like gtk_events_pending() increases CPU load very much. - xsane-scan.c: function xsane_reduce_to_lineart(): corrected order of filenames in xsane_save_image_as_lineart() - xsane_device_dialog(...): uses sane_control_option instead of xsane_control_option to read option number 0. This means that it is not needed that SANE_CAP_SOFT_DETECT is set for option number 0
2005-06-01Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.jlam1-2/+1
Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. <pthread.h>, and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed.
2005-05-22Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:jlam1-2/+2
USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison
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