pkgsrc/graphics/xsane/Makefile

29 lines
794 B
Makefile
Raw Normal View History

2017-02-12 07:24:36 +01:00
# $NetBSD: Makefile,v 1.118 2017/02/12 06:25:32 ryoon Exp $
DISTNAME= xsane-0.999
PKGNAME= xsane-0.99.9
2017-02-12 07:24:36 +01:00
PKGREVISION= 5
CATEGORIES= graphics
MASTER_SITES= http://www.xsane.org/download/
MAINTAINER= pkgsrc-users@NetBSD.org
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 <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-21 21:18:49 +01:00
HOMEPAGE= http://www.xsane.org/
COMMENT= New improved frontend for SANE
2011-02-01 11:31:53 +01:00
LICENSE= gnu-gpl-v2
USE_TOOLS+= gmake msgfmt pkg-config
USE_PKGLOCALEDIR= YES
GNU_CONFIGURE= YES
LDFLAGS.SunOS+= -lsocket -lnsl
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../graphics/gimp/buildlink3.mk"
.include "../../graphics/sane-backends/buildlink3.mk"
Update to 0.99.8: xsane-0.994 -> 0.995: --------------------- - changed layout of copy setup, removed border around all setup tabs - changed layout of xsane main window - xsane-front-gtk.c: xsane_browse_filename_callback: xsane.cms_function_option_menu is only updated when xsane.enable_color_management is active - xsane-save.c: write_smtp_header(): it is allowed to specify multiple mail receivers in a comma separated list now - xsane-save.c: write_smtp_header(): MAIL FROM and RCPT TO use syntax "<user@domain.org>" instead of "user@domain.org" now - xsane-front-gtk.c: created xsane_progress_bar_set_fraction which uses the gtk2 functions when available and which only updates the progress_bar every 2.5 percent what speeds up several functions - especially saving file routines - xsane*.c: replaced all gtk_progress_bar_update() by xsane_progress_bar_set_fraction() - xsane-back-gtk.c: in function xsane_back_gtk_value_update() replaced comparison for SANE_FIX values if (new_val != val) by if (abs(new_val - val) > 1) - changed all "scanarea" to "scan_area" or "scan area" - xsane-gtk-1_x-compat.h: changed gtk_progress_bar_set_ellipsize() to gtk_progress_bar_set_ellipsize(pbar, mode) - xsane_help_no_devices() changed buf size to 1024 - translations: U=updated, N=not updated, A=added/new ca cs da de es fi fr hu it ja nl pa pl pt pt_BR ro ru sk sl sr sv tr vi zh zh_CN U N U N N A N N U N N U N N N N N U N U N N N N N 99599 99599 96 99595 99 99595 99 99599 96 96 96 99 99599 99592 99 96 96 992 xsane-0.995 -> 0.996: --------------------- - removed bug when deleting medium types: removed free() command, added realloc() - xsane_viewer.c: reduced maximum viewer size form gdk_screen_width/gdk_screen_height to gdk_screen_width-1/gdk_screen_height-1 - xsane-save.c: PDF: ICC object 4+5 are initialized with offset 0 - xsane-save.c: PDF: objects with offset 0 are makred free (f) in xref table xsane-0.996 -> 0.997: --------------------- - removed SANE_CAP_ALWAYS_SETTABLE (not SANE1) - added test for (opt->size == 0) for SANE_TYPE_STRING in xsane.c - in gtk_adjustment_new changed page_size from (min-max)*1e-30 to 0 because new gtk versions don`t like non zero values for spinbuttons - added several gdk_drawable_unref(mask) xsane-0.997 -> 0.998: --------------------- - removed bug saving image as 16 bit png: until now all low byte data has been a copy of the high byte data, so in fact all images saved untile xsane-0.997 are saved as 8 bit image in a 16 bit format. - changed some more gtk_adjustment_new(...) page_sizes to 0 - added several bytes_read = and bytes_written = before fread, read, fwrite, write - added some items_done = before fscanf - corrected some format stings (missing "%s")
2011-07-12 15:25:57 +02:00
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"