diff options
author | miwi <miwi@FreeBSD.org> | 2008-02-19 06:16:24 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-02-19 06:16:24 +0800 |
commit | 00ee2a913ebbb07db412bac650a476bf195a0562 (patch) | |
tree | 23b2fabbdeff9c9588d8efadf235965b3c7aafb9 /graphics/sane-backends | |
parent | b229afeaab7a8265d93a20642e55ee3802477b63 (diff) | |
download | freebsd-ports-gnome-00ee2a913ebbb07db412bac650a476bf195a0562.tar.gz freebsd-ports-gnome-00ee2a913ebbb07db412bac650a476bf195a0562.tar.zst freebsd-ports-gnome-00ee2a913ebbb07db412bac650a476bf195a0562.zip |
- Update to 1.0.19
PR: 120817
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'graphics/sane-backends')
-rw-r--r-- | graphics/sane-backends/Makefile | 10 | ||||
-rw-r--r-- | graphics/sane-backends/Makefile.man | 6 | ||||
-rw-r--r-- | graphics/sane-backends/distinfo | 6 | ||||
-rw-r--r-- | graphics/sane-backends/files/patch-backend__dell1600n_net.c | 20 | ||||
-rw-r--r-- | graphics/sane-backends/files/patch-backend__pixma.h | 20 | ||||
-rw-r--r-- | graphics/sane-backends/files/patch-configure | 11 | ||||
-rw-r--r-- | graphics/sane-backends/pkg-plist | 38 |
7 files changed, 51 insertions, 60 deletions
diff --git a/graphics/sane-backends/Makefile b/graphics/sane-backends/Makefile index 2aa60812abdf..37d8f14ab2fd 100644 --- a/graphics/sane-backends/Makefile +++ b/graphics/sane-backends/Makefile @@ -6,10 +6,9 @@ # PORTNAME= sane-backends -PORTVERSION= 1.0.18 -PORTREVISION= 1 +PORTVERSION= 1.0.19 CATEGORIES= graphics -MASTER_SITES= http://alioth.debian.org/download.php/1669/ \ +MASTER_SITES= http://alioth.debian.org/frs/download.php/2318/ \ ftp://ftp.sane-project.org/pub/sane/%SUBDIR%/ \ ftp://ftp2.sane-project.org/pub/sane/%SUBDIR%/ \ ftp://ftp3.sane-project.org/pub/sane/%SUBDIR%/ \ @@ -66,7 +65,8 @@ PLIST_SUB+= GPHOTO2="@comment " post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|= \.\./libtool|= @LIBTOOL@|g' - @${REINPLACE_CMD} -e 's|} -D_REENT|} ${PTHREAD_CFLAGS} -D_REENT|g ; \ - s|-lpthread|${PTHREAD_LIBS}|g; s|echo aout|echo elf|' ${WRKSRC}/configure + @${REINPLACE_CMD} -e '/^for ac_header in/s|libc.h||g ; \ + s|} -D_REENT|} ${PTHREAD_CFLAGS} -D_REENT|g ; \ + s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure .include <bsd.port.post.mk> diff --git a/graphics/sane-backends/Makefile.man b/graphics/sane-backends/Makefile.man index d3d0b39ffb77..6d0410731d60 100644 --- a/graphics/sane-backends/Makefile.man +++ b/graphics/sane-backends/Makefile.man @@ -13,6 +13,7 @@ MAN5+= sane-bh.5 MAN5+= sane-canon.5 MAN5+= sane-canon630u.5 MAN5+= sane-canon_pp.5 +MAN5+= sane-cardscan.5 MAN5+= sane-coolscan.5 MAN5+= sane-coolscan2.5 MAN5+= sane-dc210.5 @@ -20,6 +21,7 @@ MAN5+= sane-dc240.5 MAN5+= sane-dc25.5 MAN5+= sane-dll.5 MAN5+= sane-dmc.5 +MAN5+= sane-epjitsu.5 MAN5+= sane-epson.5 MAN5+= sane-fujitsu.5 MAN5+= sane-genesys.5 @@ -27,9 +29,13 @@ MAN5+= sane-gphoto2.5 MAN5+= sane-gt68xx.5 MAN5+= sane-hp.5 MAN5+= sane-hp3500.5 +MAN5+= sane-hp3900.5 MAN5+= sane-hp4200.5 MAN5+= sane-hp5400.5 +MAN5+= sane-hp5590.5 +MAN5+= sane-hpljm1005.5 MAN5+= sane-hpsj5s.5 +MAN5+= sane-hs2p.5 MAN5+= sane-ibm.5 MAN5+= sane-leo.5 MAN5+= sane-lexmark.5 diff --git a/graphics/sane-backends/distinfo b/graphics/sane-backends/distinfo index 6b43a981c977..dfd5f8c377c3 100644 --- a/graphics/sane-backends/distinfo +++ b/graphics/sane-backends/distinfo @@ -1,3 +1,3 @@ -MD5 (sane-backends-1.0.18.tar.gz) = 7ca7e2908e24721471de92cf40c75e60 -SHA256 (sane-backends-1.0.18.tar.gz) = d7876a78c5676b0c4bc29091c7a7e1287b5c0be5ff5bb61ef033fbffc73d66f3 -SIZE (sane-backends-1.0.18.tar.gz) = 3789493 +MD5 (sane-backends-1.0.19.tar.gz) = 8c0936272dcfd4e98c51512699f1c06f +SHA256 (sane-backends-1.0.19.tar.gz) = 13271a7eb4dc4aa6072162abbd78848e4faad32c468b9b44e7f95cde96a4e17e +SIZE (sane-backends-1.0.19.tar.gz) = 4293184 diff --git a/graphics/sane-backends/files/patch-backend__dell1600n_net.c b/graphics/sane-backends/files/patch-backend__dell1600n_net.c deleted file mode 100644 index 2446295533dd..000000000000 --- a/graphics/sane-backends/files/patch-backend__dell1600n_net.c +++ /dev/null @@ -1,20 +0,0 @@ ---- backend/dell1600n_net.c.orig Tue Jun 20 06:07:52 2006 -+++ backend/dell1600n_net.c Fri Sep 15 01:42:26 2006 -@@ -73,6 +73,8 @@ - #include <netinet/in.h> - #include <netdb.h> - -+#include <sys/time.h> -+ - #include <jpeglib.h> - #include <tiffio.h> - -@@ -1762,7 +1764,7 @@ - ProcessPageData (struct ScannerState *pState) - { - -- char tempFilename[TMP_MAX] = "scan.dat"; -+ char tempFilename[L_tmpnam] = "scan.dat"; - FILE *fTmp; - int fdTmp; - struct jpeg_source_mgr jpegSrcMgr; diff --git a/graphics/sane-backends/files/patch-backend__pixma.h b/graphics/sane-backends/files/patch-backend__pixma.h deleted file mode 100644 index 0a76076887dd..000000000000 --- a/graphics/sane-backends/files/patch-backend__pixma.h +++ /dev/null @@ -1,20 +0,0 @@ ---- backend/pixma.h.orig Mon Jun 12 05:56:42 2006 -+++ backend/pixma.h Fri Sep 15 01:11:40 2006 -@@ -104,14 +104,14 @@ - - #include <errno.h> - --#ifdef HAVE_STDINT_H --# include <stdint.h> /* available in ISO C99 */ -+#ifdef HAVE_INTTYPES_H -+# include <inttypes.h> - #else - # include <sys/types.h> - typedef u_int8_t uint8_t; - typedef u_int16_t uint16_t; - typedef u_int32_t uint32_t; --#endif /* HAVE_STDINT_H */ -+#endif /* HAVE_INTTYPES_H */ - - #ifndef EPROTO - # define EPROTO 10000 diff --git a/graphics/sane-backends/files/patch-configure b/graphics/sane-backends/files/patch-configure deleted file mode 100644 index 2d0744985b94..000000000000 --- a/graphics/sane-backends/files/patch-configure +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.orig Sun Aug 7 18:50:27 2005 -+++ configure Mon Aug 8 03:17:30 2005 -@@ -6868,7 +6868,7 @@ - - - --for ac_header in fcntl.h unistd.h libc.h sys/dsreq.h sys/select.h \ -+for ac_header in fcntl.h unistd.h sys/dsreq.h sys/select.h \ - sys/time.h sys/shm.h sys/ipc.h sys/signal.h \ - sys/scanio.h scsi.h sys/scsi.h sys/scsicmd.h sys/scsiio.h \ - bsd/dev/scsireg.h scsi/sg.h /usr/src/linux/include/scsi/sg.h \ diff --git a/graphics/sane-backends/pkg-plist b/graphics/sane-backends/pkg-plist index 84b83f15df6f..11eddffc1578 100644 --- a/graphics/sane-backends/pkg-plist +++ b/graphics/sane-backends/pkg-plist @@ -11,21 +11,27 @@ bin/scanimage @unexec if cmp -s %D/etc/sane.d/bh.conf %D/etc/sane.d/dist/bh.conf; then rm -f %D/etc/sane.d/bh.conf; fi @unexec if cmp -s %D/etc/sane.d/canon.conf %D/etc/sane.d/dist/canon.conf; then rm -f %D/etc/sane.d/canon.conf; fi @unexec if cmp -s %D/etc/sane.d/canon630u.conf %D/etc/sane.d/dist/canon630u.conf; then rm -f %D/etc/sane.d/canon630u.conf; fi +@unexec if cmp -s %D/etc/sane.d/cardscan.conf %D/etc/sane.d/dist/cardscan.conf; then rm -f %D/etc/sane.d/cardscan.conf; fi @unexec if cmp -s %D/etc/sane.d/coolscan.conf %D/etc/sane.d/dist/coolscan.conf; then rm -f %D/etc/sane.d/coolscan.conf; fi @unexec if cmp -s %D/etc/sane.d/coolscan2.conf %D/etc/sane.d/dist/coolscan2.conf; then rm -f %D/etc/sane.d/coolscan2.conf; fi @unexec if cmp -s %D/etc/sane.d/dc210.conf %D/etc/sane.d/dist/dc210.conf; then rm -f %D/etc/sane.d/dc210.conf; fi @unexec if cmp -s %D/etc/sane.d/dc240.conf %D/etc/sane.d/dist/dc240.conf; then rm -f %D/etc/sane.d/dc240.conf; fi @unexec if cmp -s %D/etc/sane.d/dc25.conf %D/etc/sane.d/dist/dc25.conf; then rm -f %D/etc/sane.d/dc25.conf; fi +@unexec if cmp -s %D/etc/sane.d/dell1600n_net.conf %D/etc/sane.d/dist/dell1600n_net.conf; then rm -f %D/etc/sane.d/dell1600n_net.conf; fi @unexec if cmp -s %D/etc/sane.d/dll.conf %D/etc/sane.d/dist/dll.conf; then rm -f %D/etc/sane.d/dll.conf; fi @unexec if cmp -s %D/etc/sane.d/dmc.conf %D/etc/sane.d/dist/dmc.conf; then rm -f %D/etc/sane.d/dmc.conf; fi +@unexec if cmp -s %D/etc/sane.d/epjitsu.conf %D/etc/sane.d/dist/epjitsu.conf; then rm -f %D/etc/sane.d/epjitsu.conf; fi @unexec if cmp -s %D/etc/sane.d/epson.conf %D/etc/sane.d/dist/epson.conf; then rm -f %D/etc/sane.d/epson.conf; fi +@unexec if cmp -s %D/etc/sane.d/epson2.conf %D/etc/sane.d/dist/epson2.conf; then rm -f %D/etc/sane.d/epson2.conf; fi @unexec if cmp -s %D/etc/sane.d/fujitsu.conf %D/etc/sane.d/dist/fujitsu.conf; then rm -f %D/etc/sane.d/fujitsu.conf; fi @unexec if cmp -s %D/etc/sane.d/genesys.conf %D/etc/sane.d/dist/genesys.conf; then rm -f %D/etc/sane.d/genesys.conf; fi %%GPHOTO2%%@unexec if cmp -s %D/etc/sane.d/gphoto2.conf %D/etc/sane.d/dist/gphoto2.conf; then rm -f %D/etc/sane.d/gphoto2.conf; fi @unexec if cmp -s %D/etc/sane.d/gt68xx.conf %D/etc/sane.d/dist/gt68xx.conf; then rm -f %D/etc/sane.d/gt68xx.conf; fi @unexec if cmp -s %D/etc/sane.d/hp.conf %D/etc/sane.d/dist/hp.conf; then rm -f %D/etc/sane.d/hp.conf; fi +@unexec if cmp -s %D/etc/sane.d/hp3900.conf %D/etc/sane.d/dist/hp3900.conf; then rm -f %D/etc/sane.d/hp3900.conf; fi @unexec if cmp -s %D/etc/sane.d/hp4200.conf %D/etc/sane.d/dist/hp4200.conf; then rm -f %D/etc/sane.d/hp4200.conf; fi @unexec if cmp -s %D/etc/sane.d/hp5400.conf %D/etc/sane.d/dist/hp5400.conf; then rm -f %D/etc/sane.d/hp5400.conf; fi +@unexec if cmp -s %D/etc/sane.d/hs2p.conf %D/etc/sane.d/dist/hs2p.conf; then rm -f %D/etc/sane.d/hs2p.conf; fi @unexec if cmp -s %D/etc/sane.d/ibm.conf %D/etc/sane.d/dist/ibm.conf; then rm -f %D/etc/sane.d/ibm.conf; fi @unexec if cmp -s %D/etc/sane.d/leo.conf %D/etc/sane.d/dist/leo.conf; then rm -f %D/etc/sane.d/leo.conf; fi @unexec if cmp -s %D/etc/sane.d/lexmark.conf %D/etc/sane.d/dist/lexmark.conf; then rm -f %D/etc/sane.d/lexmark.conf; fi @@ -68,22 +74,28 @@ etc/sane.d/dist/avision.conf etc/sane.d/dist/bh.conf etc/sane.d/dist/canon.conf etc/sane.d/dist/canon630u.conf +etc/sane.d/dist/cardscan.conf etc/sane.d/dist/coolscan.conf etc/sane.d/dist/coolscan2.conf etc/sane.d/dist/dc210.conf etc/sane.d/dist/dc240.conf etc/sane.d/dist/dc25.conf +etc/sane.d/dist/dell1600n_net.conf etc/sane.d/dist/dll.conf @exec if test ! -e %D/etc/sane.d/dll.conf; then cp %D/etc/sane.d/dist/dll.conf %D/etc/sane.d/dll.conf; fi etc/sane.d/dist/dmc.conf +etc/sane.d/dist/epjitsu.conf etc/sane.d/dist/epson.conf +etc/sane.d/dist/epson2.conf etc/sane.d/dist/fujitsu.conf etc/sane.d/dist/genesys.conf %%GPHOTO2%%etc/sane.d/dist/gphoto2.conf etc/sane.d/dist/gt68xx.conf etc/sane.d/dist/hp.conf +etc/sane.d/dist/hp3900.conf etc/sane.d/dist/hp4200.conf etc/sane.d/dist/hp5400.conf +etc/sane.d/dist/hs2p.conf etc/sane.d/dist/ibm.conf etc/sane.d/dist/leo.conf etc/sane.d/dist/lexmark.conf @@ -152,6 +164,9 @@ lib/sane/libsane-canon.so.1 lib/sane/libsane-canon630u.la lib/sane/libsane-canon630u.so lib/sane/libsane-canon630u.so.1 +lib/sane/libsane-cardscan.la +lib/sane/libsane-cardscan.so +lib/sane/libsane-cardscan.so.1 lib/sane/libsane-coolscan.la lib/sane/libsane-coolscan.so lib/sane/libsane-coolscan.so.1 @@ -176,9 +191,15 @@ lib/sane/libsane-dll.so.1 lib/sane/libsane-dmc.la lib/sane/libsane-dmc.so lib/sane/libsane-dmc.so.1 +lib/sane/libsane-epjitsu.la +lib/sane/libsane-epjitsu.so +lib/sane/libsane-epjitsu.so.1 lib/sane/libsane-epson.la lib/sane/libsane-epson.so lib/sane/libsane-epson.so.1 +lib/sane/libsane-epson2.la +lib/sane/libsane-epson2.so +lib/sane/libsane-epson2.so.1 lib/sane/libsane-fujitsu.la lib/sane/libsane-fujitsu.so lib/sane/libsane-fujitsu.so.1 @@ -197,12 +218,24 @@ lib/sane/libsane-hp.so.1 lib/sane/libsane-hp3500.la lib/sane/libsane-hp3500.so lib/sane/libsane-hp3500.so.1 +lib/sane/libsane-hp3900.la +lib/sane/libsane-hp3900.so +lib/sane/libsane-hp3900.so.1 lib/sane/libsane-hp4200.la lib/sane/libsane-hp4200.so lib/sane/libsane-hp4200.so.1 lib/sane/libsane-hp5400.la lib/sane/libsane-hp5400.so lib/sane/libsane-hp5400.so.1 +lib/sane/libsane-hp5590.la +lib/sane/libsane-hp5590.so +lib/sane/libsane-hp5590.so.1 +lib/sane/libsane-hpljm1005.la +lib/sane/libsane-hpljm1005.so +lib/sane/libsane-hpljm1005.so.1 +lib/sane/libsane-hs2p.la +lib/sane/libsane-hs2p.so +lib/sane/libsane-hs2p.so.1 lib/sane/libsane-ibm.la lib/sane/libsane-ibm.so lib/sane/libsane-ibm.so.1 @@ -397,22 +430,25 @@ sbin/saned %%NLS%%share/locale/cs/LC_MESSAGES/sane-backends.mo %%NLS%%share/locale/da/LC_MESSAGES/sane-backends.mo %%NLS%%share/locale/de/LC_MESSAGES/sane-backends.mo +%%NLS%%share/locale/eo/LC_MESSAGES/sane-backends.mo %%NLS%%share/locale/es/LC_MESSAGES/sane-backends.mo %%NLS%%share/locale/fi/LC_MESSAGES/sane-backends.mo %%NLS%%share/locale/fr/LC_MESSAGES/sane-backends.mo %%NLS%%share/locale/it/LC_MESSAGES/sane-backends.mo +%%NLS%%share/locale/nb/LC_MESSAGES/sane-backends.mo %%NLS%%share/locale/nl/LC_MESSAGES/sane-backends.mo -%%NLS%%share/locale/no/LC_MESSAGES/sane-backends.mo %%NLS%%share/locale/pl/LC_MESSAGES/sane-backends.mo %%NLS%%share/locale/pt/LC_MESSAGES/sane-backends.mo %%NLS%%share/locale/ru/LC_MESSAGES/sane-backends.mo %%NLS%%share/locale/sv/LC_MESSAGES/sane-backends.mo @exec mkdir %D/share/sane @exec mkdir %D/share/sane/artec_eplus48u +@exec mkdir %D/share/sane/epjitsu @exec mkdir %D/share/sane/gt68xx @exec mkdir %D/share/sane/snapscan @dirrmtry share/sane/snapscan @dirrmtry share/sane/gt68xx +@dirrmtry share/sane/epjitsu @dirrmtry share/sane/artec_eplus48u @dirrmtry share/sane %%PORTDOCS%%@dirrm %%DOCSDIR%%/umax |