Skip to content

Instantly share code, notes, and snippets.

@iamleot
Created July 1, 2015 12:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iamleot/2aa7ba0ce365fabbaa0e to your computer and use it in GitHub Desktop.
Save iamleot/2aa7ba0ce365fabbaa0e to your computer and use it in GitHub Desktop.
Update print/sane-backends to 1.0.24
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/sane-backends/Makefile,v
retrieving revision 1.61
diff -u -r1.61 Makefile
--- Makefile 9 Jan 2015 16:34:19 -0000 1.61
+++ Makefile 14 Jun 2015 14:12:08 -0000
@@ -63,7 +63,8 @@
.include "options.mk"
.if (${OPSYS} != "SunOS")
-. include "../../devel/libusb/buildlink3.mk"
+.include "../../devel/libusb1/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-libusb_1_0
.endif
.if (${OPSYS} == "Linux")
.include "../../graphics/libv4l/buildlink3.mk"
Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/sane-backends/Makefile.common,v
retrieving revision 1.30
diff -u -r1.30 Makefile.common
--- Makefile.common 10 Dec 2012 12:06:50 -0000 1.30
+++ Makefile.common 14 Jun 2015 14:12:08 -0000
@@ -11,7 +11,7 @@
SANE_MAJOR?= 1
SANE_MINOR?= 0
-SANE_MICRO?= 23
+SANE_MICRO?= 24
SANE_VERSION= ${SANE_MAJOR}.${SANE_MINOR}.${SANE_MICRO}
PLIST_SUBST+= SANE_MAJOR=${SANE_MAJOR:Q}
PLIST_SUBST+= SANE_MINOR=${SANE_MINOR:Q}
Index: buildlink3.mk
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/sane-backends/buildlink3.mk,v
retrieving revision 1.16
diff -u -r1.16 buildlink3.mk
--- buildlink3.mk 10 Dec 2012 12:06:50 -0000 1.16
+++ buildlink3.mk 14 Jun 2015 14:12:08 -0000
@@ -6,13 +6,13 @@
SANE_BACKENDS_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.sane-backends+= sane-backends>=1.0.3
-BUILDLINK_ABI_DEPENDS.sane-backends+= sane-backends>=1.0.23
+BUILDLINK_ABI_DEPENDS.sane-backends+= sane-backends>=1.0.24
BUILDLINK_PKGSRCDIR.sane-backends?= ../../graphics/sane-backends
.include "../../mk/bsd.fast.prefs.mk"
.if (${OPSYS} != "SunOS")
-. include "../../devel/libusb/buildlink3.mk"
+. include "../../devel/libusb1/buildlink3.mk"
.endif
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/sane-backends/distinfo,v
retrieving revision 1.35
diff -u -r1.35 distinfo
--- distinfo 11 Dec 2012 16:32:36 -0000 1.35
+++ distinfo 14 Jun 2015 14:12:08 -0000
@@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.35 2012/12/11 16:32:36 ryoon Exp $
-SHA1 (sane-backends-1.0.23.tar.gz) = 62fc65736879f0bdb2fda20a31ee10d1ed335ae7
-RMD160 (sane-backends-1.0.23.tar.gz) = af41f4b2d34aa6dae9dfc88d1dedd630f6584737
-Size (sane-backends-1.0.23.tar.gz) = 5342350 bytes
+SHA1 (sane-backends-1.0.24.tar.gz) = c10bcb30a1b092b2c2fe5a86d6a5efc29123ccf9
+RMD160 (sane-backends-1.0.24.tar.gz) = 7a05c5b3d4fc4a88564cb862d4a1b46843026105
+Size (sane-backends-1.0.24.tar.gz) = 5778749 bytes
SHA1 (patch-aa) = ff3439b060d6aa78f63d6acd09d87499a4d7f224
SHA1 (patch-ab) = 0462997912869fe3083e1b385a478a31bc3deec0
SHA1 (patch-ac) = 900911de5cde4a6cdc35cbc2d13371b13c596474
@@ -13,6 +13,6 @@
SHA1 (patch-ai) = 74f27b5a66e3dfd96337cb00a4ff3bc48804256b
SHA1 (patch-aj) = c2e0733796872f1b074d0491dea4cffa1891bccc
SHA1 (patch-ak) = f00d3773c14f9955565debc0d16231906a2bba76
-SHA1 (patch-backend_kodakaio.c) = ce1f8b34f4d6128bb8fa311dd11b175fc0eefbfc
+SHA1 (patch-backend_kodakaio.c) = d15cb7af0a5cc506fc42e3a71fa0998329e6eef9
SHA1 (patch-backend_magicolor.c) = e6cbb54a0ea0e688b0189b3d07d1dff34070a179
SHA1 (patch-backend_xerox__mfp-tcp.c) = 3818b623217f15ed7f30724d1d70b1614befb88f
Index: patches/patch-backend_kodakaio.c
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/sane-backends/patches/patch-backend_kodakaio.c,v
retrieving revision 1.1
diff -u -r1.1 patch-backend_kodakaio.c
--- patches/patch-backend_kodakaio.c 11 Dec 2012 16:32:36 -0000 1.1
+++ patches/patch-backend_kodakaio.c 14 Jun 2015 14:12:08 -0000
@@ -1,12 +1,12 @@
$NetBSD: patch-backend_kodakaio.c,v 1.1 2012/12/11 16:32:36 ryoon Exp $
---- backend/kodakaio.c.orig 2012-08-10 00:33:29.000000000 +0000
+--- backend/kodakaio.c.orig 2013-08-25 21:22:58.000000000 +0000
+++ backend/kodakaio.c
-@@ -165,6 +165,7 @@ normal levels. This system is a plan rat
+@@ -181,6 +181,7 @@ normal levels. This system is a plan rat
#include <math.h>
#include <poll.h>
#include <time.h>
+#include <sys/socket.h>
- #if HAVE_CUPS
+ #if WITH_AVAHI
/* used for auto detecting network printers */
@iamleot
Copy link
Author

iamleot commented Jul 1, 2015

Tested with a Canon CanoScan 8800F on NetBSD/amd64 -current and pkgsrc-current.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment