diff options
author | dinoex <dinoex@FreeBSD.org> | 2008-09-06 17:26:49 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2008-09-06 17:26:49 +0800 |
commit | 226e148f8232e0eef6b18eac6782467d437c1d22 (patch) | |
tree | ecdd6a0b61d3b9ce793430a06c05b48d9f0c49a8 /print/cups-base | |
parent | f2be48306fcf15394da0c51840ab8142edba0d49 (diff) | |
download | freebsd-ports-gnome-226e148f8232e0eef6b18eac6782467d437c1d22.tar.gz freebsd-ports-gnome-226e148f8232e0eef6b18eac6782467d437c1d22.tar.zst freebsd-ports-gnome-226e148f8232e0eef6b18eac6782467d437c1d22.zip |
- update to 1.3.8
PR: 126881
Submitted by: Martin Matuska
- fix pkg_plist
PR: 127021
Submitted by: Sunpoet Po-Chuan Hsieh
Diffstat (limited to 'print/cups-base')
-rw-r--r-- | print/cups-base/Makefile | 3 | ||||
-rw-r--r-- | print/cups-base/distinfo | 6 | ||||
-rw-r--r-- | print/cups-base/files/patch-str2790 | 72 | ||||
-rw-r--r-- | print/cups-base/pkg-plist | 145 |
4 files changed, 131 insertions, 95 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile index 013875d38dae..a331eb348e8a 100644 --- a/print/cups-base/Makefile +++ b/print/cups-base/Makefile @@ -6,8 +6,7 @@ # PORTNAME= cups -PORTVERSION= 1.3.7 -PORTREVISION= 4 +PORTVERSION= 1.3.8 DISTVERSIONSUFFIX= -source CATEGORIES= print MASTER_SITES= EASYSW/${PORTNAME}/${DISTVERSION} diff --git a/print/cups-base/distinfo b/print/cups-base/distinfo index 0c00df6a4462..96126b446e6e 100644 --- a/print/cups-base/distinfo +++ b/print/cups-base/distinfo @@ -1,3 +1,3 @@ -MD5 (cups-1.3.7-source.tar.bz2) = db4a45a17104f10f3ee599d88267c9e5 -SHA256 (cups-1.3.7-source.tar.bz2) = 1c8bb310131498934657651fb0ea3e44b4f6d0243ba2ad252644a8f039dda0fe -SIZE (cups-1.3.7-source.tar.bz2) = 3895825 +MD5 (cups-1.3.8-source.tar.bz2) = 84e09577d673b212f605dd09caee456c +SHA256 (cups-1.3.8-source.tar.bz2) = bb6e013e104d82e454a98460136360111d77160300a0eb98063d7051e71c4f05 +SIZE (cups-1.3.8-source.tar.bz2) = 3978466 diff --git a/print/cups-base/files/patch-str2790 b/print/cups-base/files/patch-str2790 deleted file mode 100644 index 107b0fa95c1b..000000000000 --- a/print/cups-base/files/patch-str2790 +++ /dev/null @@ -1,72 +0,0 @@ -Index: image-png.c -=================================================================== ---- filter/image-png.c (revision 7434) -+++ filter/image-png.c (working copy) -@@ -3,7 +3,7 @@ - * - * PNG image routines for the Common UNIX Printing System (CUPS). - * -- * Copyright 2007 by Apple Inc. -+ * Copyright 2007-2008 by Apple Inc. - * Copyright 1993-2007 by Easy Software Products. - * - * These coded instructions, statements, and computer programs are the -@@ -170,16 +170,56 @@ - * Interlaced images must be loaded all at once... - */ - -+ size_t bufsize; /* Size of buffer */ -+ -+ - if (color_type == PNG_COLOR_TYPE_GRAY || - color_type == PNG_COLOR_TYPE_GRAY_ALPHA) -- in = malloc(img->xsize * img->ysize); -+ { -+ bufsize = img->xsize * img->ysize; -+ -+ if ((bufsize / img->ysize) != img->xsize) -+ { -+ fprintf(stderr, "DEBUG: PNG image dimensions (%ux%u) too large!\n", -+ (unsigned)width, (unsigned)height); -+ fclose(fp); -+ return (1); -+ } -+ } - else -- in = malloc(img->xsize * img->ysize * 3); -+ { -+ bufsize = img->xsize * img->ysize * 3; -+ -+ if ((bufsize / (img->ysize * 3)) != img->xsize) -+ { -+ fprintf(stderr, "DEBUG: PNG image dimensions (%ux%u) too large!\n", -+ (unsigned)width, (unsigned)height); -+ fclose(fp); -+ return (1); -+ } -+ } -+ -+ in = malloc(bufsize); - } - - bpp = cupsImageGetDepth(img); - out = malloc(img->xsize * bpp); - -+ if (!in || !out) -+ { -+ fputs("DEBUG: Unable to allocate memory for PNG image!\n", stderr); -+ -+ if (in) -+ free(in); -+ -+ if (out) -+ free(out); -+ -+ fclose(fp); -+ -+ return (1); -+ } -+ - /* - * Read the image, interlacing as needed... - */ diff --git a/print/cups-base/pkg-plist b/print/cups-base/pkg-plist index b12774e82153..d3126579d9de 100644 --- a/print/cups-base/pkg-plist +++ b/print/cups-base/pkg-plist @@ -522,6 +522,73 @@ sbin/reject %%DATADIR%%/templates/header.tmpl %%DATADIR%%/templates/help-header.tmpl %%DATADIR%%/templates/help-printable.tmpl +%%DATADIR%%/templates/id/add-class.tmpl +%%DATADIR%%/templates/id/add-printer.tmpl +%%DATADIR%%/templates/id/add-rss-subscription.tmpl +%%DATADIR%%/templates/id/admin.tmpl +%%DATADIR%%/templates/id/choose-device.tmpl +%%DATADIR%%/templates/id/choose-make.tmpl +%%DATADIR%%/templates/id/choose-model.tmpl +%%DATADIR%%/templates/id/choose-serial.tmpl +%%DATADIR%%/templates/id/choose-uri.tmpl +%%DATADIR%%/templates/id/class-added.tmpl +%%DATADIR%%/templates/id/class-confirm.tmpl +%%DATADIR%%/templates/id/class-deleted.tmpl +%%DATADIR%%/templates/id/class-jobs-header.tmpl +%%DATADIR%%/templates/id/class-modified.tmpl +%%DATADIR%%/templates/id/classes-header.tmpl +%%DATADIR%%/templates/id/classes.tmpl +%%DATADIR%%/templates/id/edit-config.tmpl +%%DATADIR%%/templates/id/error-op.tmpl +%%DATADIR%%/templates/id/error.tmpl +%%DATADIR%%/templates/id/header.tmpl +%%DATADIR%%/templates/id/help-header.tmpl +%%DATADIR%%/templates/id/help-printable.tmpl +%%DATADIR%%/templates/id/list-available-printers.tmpl +%%DATADIR%%/templates/id/job-cancel.tmpl +%%DATADIR%%/templates/id/job-hold.tmpl +%%DATADIR%%/templates/id/job-move.tmpl +%%DATADIR%%/templates/id/job-moved.tmpl +%%DATADIR%%/templates/id/job-release.tmpl +%%DATADIR%%/templates/id/job-restart.tmpl +%%DATADIR%%/templates/id/jobs-header.tmpl +%%DATADIR%%/templates/id/jobs.tmpl +%%DATADIR%%/templates/id/maintenance.tmpl +%%DATADIR%%/templates/id/modify-class.tmpl +%%DATADIR%%/templates/id/modify-printer.tmpl +%%DATADIR%%/templates/id/norestart.tmpl +%%DATADIR%%/templates/id/option-boolean.tmpl +%%DATADIR%%/templates/id/option-conflict.tmpl +%%DATADIR%%/templates/id/option-header.tmpl +%%DATADIR%%/templates/id/option-pickmany.tmpl +%%DATADIR%%/templates/id/option-pickone.tmpl +%%DATADIR%%/templates/id/option-trailer.tmpl +%%DATADIR%%/templates/id/pager.tmpl +%%DATADIR%%/templates/id/printer-accept.tmpl +%%DATADIR%%/templates/id/printer-added.tmpl +%%DATADIR%%/templates/id/printer-configured.tmpl +%%DATADIR%%/templates/id/printer-confirm.tmpl +%%DATADIR%%/templates/id/printer-default.tmpl +%%DATADIR%%/templates/id/printer-deleted.tmpl +%%DATADIR%%/templates/id/printer-jobs-header.tmpl +%%DATADIR%%/templates/id/printer-modified.tmpl +%%DATADIR%%/templates/id/printer-purge.tmpl +%%DATADIR%%/templates/id/printer-reject.tmpl +%%DATADIR%%/templates/id/printer-start.tmpl +%%DATADIR%%/templates/id/printer-stop.tmpl +%%DATADIR%%/templates/id/printers-header.tmpl +%%DATADIR%%/templates/id/printers.tmpl +%%DATADIR%%/templates/id/restart.tmpl +%%DATADIR%%/templates/id/samba-export.tmpl +%%DATADIR%%/templates/id/samba-exported.tmpl +%%DATADIR%%/templates/id/search.tmpl +%%DATADIR%%/templates/id/set-printer-options-header.tmpl +%%DATADIR%%/templates/id/set-printer-options-trailer.tmpl +%%DATADIR%%/templates/id/subscription-added.tmpl +%%DATADIR%%/templates/id/subscription-canceled.tmpl +%%DATADIR%%/templates/id/test-page.tmpl +%%DATADIR%%/templates/id/trailer.tmpl +%%DATADIR%%/templates/id/users.tmpl %%DATADIR%%/templates/it/add-class.tmpl %%DATADIR%%/templates/it/add-printer.tmpl %%DATADIR%%/templates/it/admin.tmpl @@ -1297,6 +1364,62 @@ sbin/reject %%DOCSDIR%%/images/web-set-printer-options.gif %%DOCSDIR%%/images/web-test-page.gif %%DOCSDIR%%/index.html +%%DOCSDIR%%/id/images/button-accept-jobs.gif +%%DOCSDIR%%/id/images/button-add-class.gif +%%DOCSDIR%%/id/images/button-add-printer.gif +%%DOCSDIR%%/id/images/button-add-rss-subscription.gif +%%DOCSDIR%%/id/images/button-add-this-printer.gif +%%DOCSDIR%%/id/images/button-cancel-all-jobs.gif +%%DOCSDIR%%/id/images/button-cancel-job.gif +%%DOCSDIR%%/id/images/button-cancel-subscription.gif +%%DOCSDIR%%/id/images/button-change-settings.gif +%%DOCSDIR%%/id/images/button-clean-print-heads.gif +%%DOCSDIR%%/id/images/button-clear.gif +%%DOCSDIR%%/id/images/button-continue.gif +%%DOCSDIR%%/id/images/button-delete-class.gif +%%DOCSDIR%%/id/images/button-delete-printer.gif +%%DOCSDIR%%/id/images/button-edit-configuration-file.gif +%%DOCSDIR%%/id/images/button-export-samba.gif +%%DOCSDIR%%/id/images/button-find-new-printers.gif +%%DOCSDIR%%/id/images/button-help.gif +%%DOCSDIR%%/id/images/button-hold-job.gif +%%DOCSDIR%%/id/images/button-manage-classes.gif +%%DOCSDIR%%/id/images/button-manage-jobs.gif +%%DOCSDIR%%/id/images/button-manage-printers.gif +%%DOCSDIR%%/id/images/button-manage-server.gif +%%DOCSDIR%%/id/images/button-modify-class.gif +%%DOCSDIR%%/id/images/button-modify-printer.gif +%%DOCSDIR%%/id/images/button-move-job.gif +%%DOCSDIR%%/id/images/button-move-jobs.gif +%%DOCSDIR%%/id/images/button-print-self-test-page.gif +%%DOCSDIR%%/id/images/button-print-test-page.gif +%%DOCSDIR%%/id/images/button-publish-printer.gif +%%DOCSDIR%%/id/images/button-reject-jobs.gif +%%DOCSDIR%%/id/images/button-release-job.gif +%%DOCSDIR%%/id/images/button-restart-job.gif +%%DOCSDIR%%/id/images/button-save-changes.gif +%%DOCSDIR%%/id/images/button-search.gif +%%DOCSDIR%%/id/images/button-set-allowed-users.gif +%%DOCSDIR%%/id/images/button-set-as-default.gif +%%DOCSDIR%%/id/images/button-set-printer-options.gif +%%DOCSDIR%%/id/images/button-show-active.gif +%%DOCSDIR%%/id/images/button-show-all.gif +%%DOCSDIR%%/id/images/button-show-completed.gif +%%DOCSDIR%%/id/images/button-show-next.gif +%%DOCSDIR%%/id/images/button-show-previous.gif +%%DOCSDIR%%/id/images/button-sort-ascending.gif +%%DOCSDIR%%/id/images/button-sort-descending.gif +%%DOCSDIR%%/id/images/button-start-class.gif +%%DOCSDIR%%/id/images/button-start-printer.gif +%%DOCSDIR%%/id/images/button-stop-class.gif +%%DOCSDIR%%/id/images/button-stop-printer.gif +%%DOCSDIR%%/id/images/button-unpublish-printer.gif +%%DOCSDIR%%/id/images/button-use-default-config.gif +%%DOCSDIR%%/id/images/button-view-access-log.gif +%%DOCSDIR%%/id/images/button-view-error-log.gif +%%DOCSDIR%%/id/images/button-view-page-log.gif +%%DOCSDIR%%/id/images/button-view-printable-version.gif +%%DOCSDIR%%/id/index.html %%DOCSDIR%%/it/images/button-accept-jobs.gif %%DOCSDIR%%/it/images/button-add-class.gif %%DOCSDIR%%/it/images/button-add-printer.gif @@ -1579,6 +1702,7 @@ share/locale/et/cups_et.po share/locale/fi/cups_fi.po share/locale/fr/cups_fr.po share/locale/he/cups_he.po +share/locale/id/cups_id.po share/locale/it/cups_it.po share/locale/ja/cups_ja.po share/locale/ko/cups_ko.po @@ -1613,26 +1737,14 @@ share/locale/zh_TW/cups_zh_TW.po @exec mkdir -p %D/%%DOCSDIR%%/zh/images @dirrm %%DOCSDIR%%/zh_TW/images @dirrm %%DOCSDIR%%/zh_TW -@dirrm %%DOCSDIR%%/zh/images -@dirrm %%DOCSDIR%%/zh @dirrm %%DOCSDIR%%/sv/images @dirrm %%DOCSDIR%%/sv -@dirrm %%DOCSDIR%%/ru/images -@dirrm %%DOCSDIR%%/ru -@dirrm %%DOCSDIR%%/pt_BR/images -@dirrm %%DOCSDIR%%/pt_BR -@dirrm %%DOCSDIR%%/pt/images -@dirrm %%DOCSDIR%%/pt @dirrm %%DOCSDIR%%/pl/images @dirrm %%DOCSDIR%%/pl -@dirrm %%DOCSDIR%%/no/images -@dirrm %%DOCSDIR%%/no -@dirrm %%DOCSDIR%%/nl/images -@dirrm %%DOCSDIR%%/nl -@dirrm %%DOCSDIR%%/ko/images -@dirrm %%DOCSDIR%%/ko @dirrm %%DOCSDIR%%/ja/images @dirrm %%DOCSDIR%%/ja +@dirrm %%DOCSDIR%%/id/images +@dirrm %%DOCSDIR%%/id @dirrm %%DOCSDIR%%/it/images @dirrm %%DOCSDIR%%/it @dirrm %%DOCSDIR%%/images @@ -1641,16 +1753,12 @@ share/locale/zh_TW/cups_zh_TW.po @dirrm %%DOCSDIR%%/he @dirrm %%DOCSDIR%%/fr/images @dirrm %%DOCSDIR%%/fr -@dirrm %%DOCSDIR%%/fi/images -@dirrm %%DOCSDIR%%/fi @dirrm %%DOCSDIR%%/et/images @dirrm %%DOCSDIR%%/et @dirrm %%DOCSDIR%%/es/images @dirrm %%DOCSDIR%%/es @dirrm %%DOCSDIR%%/de/images @dirrm %%DOCSDIR%%/de -@dirrm %%DOCSDIR%%/da/images -@dirrm %%DOCSDIR%%/da @dirrm %%DOCSDIR%% @dirrm %%EXAMPLESDIR%% @dirrm %%DATADIR%%/templates/zh_TW @@ -1658,6 +1766,7 @@ share/locale/zh_TW/cups_zh_TW.po @dirrm %%DATADIR%%/templates/pl @dirrm %%DATADIR%%/templates/ja @dirrm %%DATADIR%%/templates/it +@dirrm %%DATADIR%%/templates/id @dirrm %%DATADIR%%/templates/he @dirrm %%DATADIR%%/templates/fr @dirrm %%DATADIR%%/templates/et |