aboutsummaryrefslogtreecommitdiff
path: root/graphics/xsane
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2001-12-14 01:58:37 +0000
committerCy Schubert <cy@FreeBSD.org>2001-12-14 01:58:37 +0000
commit6f5933f80ea0cc58e866ec9d0a57433ef3c639cc (patch)
tree8b93dce9d9830489983f3592ff3e3485596ef139 /graphics/xsane
parent3517f0fb55d45d3250faa319a4538d500170b7f0 (diff)
downloadports-6f5933f80ea0cc58e866ec9d0a57433ef3c639cc.tar.gz
ports-6f5933f80ea0cc58e866ec9d0a57433ef3c639cc.zip
Update to XSane 0.82.
XSane 0.82 includes (obtained from www.xsane.org latest news): - improved despeckle routine (removed bug and increased speed) - added scaling function to viewer - several security bugfixes - spanish translation - dutch translation Reviewed by: nectar Approved by: maintainer: Dominik Brettnacher <domi@saargate.de>
Notes
Notes: svn path=/head/; revision=51511
Diffstat (limited to 'graphics/xsane')
-rw-r--r--graphics/xsane/Makefile3
-rw-r--r--graphics/xsane/distinfo2
-rw-r--r--graphics/xsane/files/patch-src::xsane-back-gtk.c37
-rw-r--r--graphics/xsane/files/patch-src::xsane-save.c10
-rw-r--r--graphics/xsane/files/patch-src::xsane-scan.c11
-rw-r--r--graphics/xsane/pkg-plist3
6 files changed, 5 insertions, 61 deletions
diff --git a/graphics/xsane/Makefile b/graphics/xsane/Makefile
index ce2fe8827c9a..79a3270ff595 100644
--- a/graphics/xsane/Makefile
+++ b/graphics/xsane/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= xsane
-PORTVERSION= 0.81
-PORTREVISION= 1
+PORTVERSION= 0.82
CATEGORIES= graphics
MASTER_SITES= http://www.xsane.org/download/ \
http://gd.tuwien.ac.at/hci/sane/xsane/ \
diff --git a/graphics/xsane/distinfo b/graphics/xsane/distinfo
index f5289d52deaf..6d44d855fcd5 100644
--- a/graphics/xsane/distinfo
+++ b/graphics/xsane/distinfo
@@ -1 +1 @@
-MD5 (xsane-0.81.tar.gz) = 1b3431b812dbd2a56414d18a170e1fe6
+MD5 (xsane-0.82.tar.gz) = dd36f72ce36c20cd8489d796d5f7c875
diff --git a/graphics/xsane/files/patch-src::xsane-back-gtk.c b/graphics/xsane/files/patch-src::xsane-back-gtk.c
deleted file mode 100644
index ea5d1e225d47..000000000000
--- a/graphics/xsane/files/patch-src::xsane-back-gtk.c
+++ /dev/null
@@ -1,37 +0,0 @@
---- src/xsane-back-gtk.c.tmpfile Wed Nov 21 18:43:20 2001
-+++ src/xsane-back-gtk.c Wed Nov 21 18:57:22 2001
-@@ -319,7 +319,6 @@
- {
- char tmpbuf[256];
- uid_t uid;
-- int rnd;
-
- uid = getuid();
- snprintf(tmpbuf, sizeof(tmpbuf), "%d-", uid);
-@@ -341,12 +340,6 @@
- memcpy(buf + len, "XXXXXX", 6); /* create unique filename */
- len += 6;
- buf[len] = '\0';
-- memcpy(buf, mktemp(buf), len);
--
-- rnd = random() & 65535; /* add random number */
-- snprintf(tmpbuf, sizeof(tmpbuf), "%05d-", rnd);
-- memcpy(buf+len, tmpbuf, strlen(tmpbuf));
-- len += 6;
- }
-
- if (dev_name)
-@@ -410,6 +403,13 @@
-
- buf[len++] = '\0';
-
-+ {
-+ int fd = mkstemp (buf);
-+ if (fd == -1)
-+ return -1;
-+ close (fd);
-+ }
-+
- DBG(DBG_proc, "path = \"%s\"\n", buf);
-
- return 0;
diff --git a/graphics/xsane/files/patch-src::xsane-save.c b/graphics/xsane/files/patch-src::xsane-save.c
deleted file mode 100644
index 89350365d871..000000000000
--- a/graphics/xsane/files/patch-src::xsane-save.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/xsane-save.c.tmpfile Wed Nov 21 18:47:48 2001
-+++ src/xsane-save.c Wed Nov 21 18:47:56 2001
-@@ -2102,7 +2102,6 @@
-
- xsane_read_pnm_header(infile, &image_info);
-
-- remove(output_filename);
- umask((mode_t) preferences.image_umask); /* define image file permissions */
- outfile = fopen(output_filename, "wb"); /* b = binary mode for win32 */
- umask(XSANE_DEFAULT_UMASK); /* define new file permissions */
diff --git a/graphics/xsane/files/patch-src::xsane-scan.c b/graphics/xsane/files/patch-src::xsane-scan.c
deleted file mode 100644
index 4f1585270eb3..000000000000
--- a/graphics/xsane/files/patch-src::xsane-scan.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/xsane-scan.c.tmpfile Wed Nov 21 18:48:01 2001
-+++ src/xsane-scan.c Wed Nov 21 18:48:08 2001
-@@ -1660,7 +1660,6 @@
- umask((mode_t) preferences.image_umask); /* define image file permissions */
- }
-
-- remove(xsane.dummy_filename); /* remove existing file */
- xsane.out = fopen(xsane.dummy_filename, "wb"); /* b = binary mode for win32 */
- umask(XSANE_DEFAULT_UMASK); /* define new file permissions */
-
-
diff --git a/graphics/xsane/pkg-plist b/graphics/xsane/pkg-plist
index 0e18db14095e..06d899535afb 100644
--- a/graphics/xsane/pkg-plist
+++ b/graphics/xsane/pkg-plist
@@ -1,9 +1,11 @@
bin/xsane
share/locale/cs/LC_MESSAGES/xsane.mo
share/locale/de/LC_MESSAGES/xsane.mo
+share/locale/es/LC_MESSAGES/xsane.mo
share/locale/fr/LC_MESSAGES/xsane.mo
share/locale/it/LC_MESSAGES/xsane.mo
share/locale/ja/LC_MESSAGES/xsane.mo
+share/locale/nl/LC_MESSAGES/xsane.mo
share/locale/ru/LC_MESSAGES/xsane.mo
share/locale/sl/LC_MESSAGES/xsane.mo
share/locale/sv/LC_MESSAGES/xsane.mo
@@ -57,6 +59,7 @@ share/sane/xsane-medium.jpg
share/sane/xsane-mirror-x.jpg
share/sane/xsane-mirror-y.jpg
share/sane/xsane-negative.jpg
+share/sane/xsane-ocr.jpg
share/sane/xsane-pipette-black.jpg
share/sane/xsane-pipette-gray.jpg
share/sane/xsane-pipette-white.jpg