Bug 185513 - graphics/sane-backends: Update to version 1.0.24
Summary: graphics/sane-backends: Update to version 1.0.24
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Danilo Egea Gondolfo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-05 18:10 UTC by tkato432
Modified: 2014-01-13 15:10 UTC (History)
0 users

See Also:


Attachments
file.diff (4.59 KB, patch)
2014-01-05 18:10 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2014-01-05 18:10:04 UTC
- Update to version 1.0.24
Comment 1 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2014-01-05 19:47:40 UTC
Responsible Changed
From-To: freebsd-ports-bugs->danilo

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-01-13 15:09:41 UTC
Author: danilo
Date: Mon Jan 13 15:09:33 2014
New Revision: 339601
URL: http://svnweb.freebsd.org/changeset/ports/339601

Log:
  - Update from 1.0.23 to 1.0.24
  
  while here:
  - Use options helpers properly
  
  PR:		ports/185513
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>

Modified:
  head/graphics/sane-backends/Makefile
  head/graphics/sane-backends/distinfo
  head/graphics/sane-backends/files/patch-backend__Makefile.in   (contents, props changed)

Modified: head/graphics/sane-backends/Makefile
==============================================================================
--- head/graphics/sane-backends/Makefile	Mon Jan 13 14:21:41 2014	(r339600)
+++ head/graphics/sane-backends/Makefile	Mon Jan 13 15:09:33 2014	(r339601)
@@ -2,33 +2,24 @@
 # $FreeBSD$
 
 PORTNAME=	sane-backends
-PORTVERSION=	1.0.23
-PORTREVISION=	2
+PORTVERSION=	1.0.24
 CATEGORIES=	graphics
-MASTER_SITES=	http://alioth.debian.org/frs/download.php/3752/:3752 \
-		http://alioth.debian.org/frs/download.php/3753/:3753 \
-		http://alioth.debian.org/frs/download.php/3754/:3754 \
-		ftp://ftp2.sane-project.org/pub/sane/
-DISTFILES=	${DISTNAME}${EXTRACT_SUFX}.1:3752,DEFAULT \
-		${DISTNAME}${EXTRACT_SUFX}.2:3753,DEFAULT \
-		${DISTNAME}${EXTRACT_SUFX}.3:3754,DEFAULT
-EXTRACT_ONLY=	# need to concatenate before extraction
+MASTER_SITES=	http://alioth.debian.org/frs/download.php/3958/ \
+		http://fossies.org/linux/misc/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	API for access to scanners, digitals camera, frame grabbers etc
 
-LICENSE=	GPLv2 GPLv3
-LICENSE_COMB=	dual
+LICENSE=	GPLv2 # (or later)
 
 LIB_DEPENDS=	libtiff.so:${PORTSDIR}/graphics/tiff \
 		libv4l1.so:${PORTSDIR}/multimedia/libv4l
 
 OPTIONS_DEFINE=	AVAHI CUPS DOCS GPHOTO IEEE1284 IPV6 NLS SNMP USB
-OPTIONS_DEFAULT=	USB
+OPTIONS_DEFAULT=	USB IPV6
 OPTIONS_SUB=	yes
-
+IEEE1284_DESC=	Pararell port support via libieee1284
 USB_DESC=	USB support
-IEEE1284_DESC=	libieee1284 support
 
 USES=		gmake pathfix pkgconfig
 GNU_CONFIGURE=	yes
@@ -58,15 +49,15 @@ GPHOTO_LIB_DEPENDS=	libgphoto2.so:${PORT
 
 IEEE1284_LIB_DEPENDS=	libieee1284.so:${PORTSDIR}/sysutils/libieee1284
 
-IPV6_CONFIGURE_OFF=	--disable-ipv6
+IPV6_CONFIGURE_ENABLE=	ipv6
 
-NLS_CONFIGURE_OFF=	--disable-translations
+NLS_CONFIGURE_ENABLE=	translations
 NLS_USES=		gettext
 
-SNMP_CONFIGURE_OFF=	--without-snmp
+SNMP_CONFIGURE_WITH=	snmp
 SNMP_LIB_DEPENDS=	libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp
 
-USB_CONFIGURE_OFF=	--disable-libusb
+USB_CONFIGURE_ENABLE=	libusb
 
 .include <bsd.port.options.mk>
 
@@ -84,8 +75,8 @@ post-extract:
 
 post-patch:
 	@${REINPLACE_CMD} -e '/^for ac_header in/s|libc.h|cups/cups.h| ; \
-		 s|-e .*/cups.h|"$$ac_cv_header_cups_cups_h" = "yes"| ; \
-		 s|-pthread|${PTHREAD_LIBS}|' ${WRKSRC}/configure
+		 s|-e .*/cups.h|"$$ac_cv_header_cups_cups_h" = "yes"|' \
+		${WRKSRC}/configure
 	@${REINPLACE_CMD} -e '/^dist_doc_DATA/s|COPYING||' \
 		${WRKSRC}/Makefile.in
 	@${REINPLACE_CMD} -e '/^pkgconfigdir/s|@libdir@|@prefix@/libdata|' \
@@ -93,7 +84,4 @@ post-patch:
 	@${REINPLACE_CMD} -e '/^export PKG_CONFIG_LIBDIR=/s|@libdir@|@prefix@/libdata|' \
 		${WRKSRC}/tools/sane-config.in
 
-post-install:
-	@${CAT} ${PKGMESSAGE}
-
 .include <bsd.port.mk>

Modified: head/graphics/sane-backends/distinfo
==============================================================================
--- head/graphics/sane-backends/distinfo	Mon Jan 13 14:21:41 2014	(r339600)
+++ head/graphics/sane-backends/distinfo	Mon Jan 13 15:09:33 2014	(r339601)
@@ -1,6 +1,2 @@
-SHA256 (sane-backends-1.0.23.tar.gz.1) = 551d7e0c89d18ca438bfce4f1c242b59485195c493c5f935a3b11e724ee39537
-SIZE (sane-backends-1.0.23.tar.gz.1) = 1792000
-SHA256 (sane-backends-1.0.23.tar.gz.2) = b487df0d8dc921803577ee34ceaa676a4a3b6715cd4d9a229b43d6a501a1baab
-SIZE (sane-backends-1.0.23.tar.gz.2) = 1792000
-SHA256 (sane-backends-1.0.23.tar.gz.3) = af91e84cb72dc2b1fa4c7eaba948ae6ab8e2ab353f79805a21de4ac52de5b81a
-SIZE (sane-backends-1.0.23.tar.gz.3) = 1758350
+SHA256 (sane-backends-1.0.24.tar.gz) = 27c7085a54f1505d8b551e6f1e69d30e1ee57328b18429bb2225dabf4c45462d
+SIZE (sane-backends-1.0.24.tar.gz) = 5778749

Modified: head/graphics/sane-backends/files/patch-backend__Makefile.in
==============================================================================
--- head/graphics/sane-backends/files/patch-backend__Makefile.in	Mon Jan 13 14:21:41 2014	(r339600)
+++ head/graphics/sane-backends/files/patch-backend__Makefile.in	Mon Jan 13 15:09:33 2014	(r339601)
@@ -1,15 +1,15 @@
---- backend/Makefile.in.orig	2010-04-14 09:52:59.000000000 +0900
-+++ backend/Makefile.in	2010-05-10 21:51:54.000000000 +0900
-@@ -1244,7 +1244,7 @@
- libxerox_mfp_la_LIBADD =
- am_libxerox_mfp_la_OBJECTS = libxerox_mfp_la-xerox_mfp.lo
- libxerox_mfp_la_OBJECTS = $(am_libxerox_mfp_la_OBJECTS)
+--- ./backend/Makefile.in.orig	2014-01-05 18:05:50.000000000 -0200
++++ ./backend/Makefile.in	2014-01-05 18:06:53.000000000 -0200
+@@ -1470,7 +1470,7 @@
+ am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+ am__v_at_0 = @
+ am__v_at_1 = 
 -DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include/sane
 +DEFAULT_INCLUDES = -I$(top_builddir)/include/sane -I$(top_builddir)/include -I.@am__isrc@
  depcomp = $(SHELL) $(top_srcdir)/depcomp
  am__depfiles_maybe = depfiles
  am__mv = mv -f
-@@ -4701,7 +4701,7 @@
+@@ -5385,7 +5385,7 @@
  	@# installed library in $(sanelibdir) to $(sanelibdir)/libsane.*.  
  	@# Having two libsane's can cause issues so get rid of it.
  	-rm -f $(DESTDIR)$(sanelibdir)/libsane.*
@@ -18,11 +18,12 @@
  	test -z "$(configdir)/dll.d" || $(MKDIR_P) "$(DESTDIR)$(configdir)/dll.d"
  	@list="$(BACKEND_CONFS_ENABLED) saned.conf dll.conf"; for cfg in $$list; do \
  	  if test ! -r $${cfg}; then continue; fi; \
-@@ -4712,6 +4712,7 @@
- 	  $(INSTALL_DATA) $${cfg} $(DESTDIR)$(configdir)/$${cfg} \
+@@ -5393,7 +5393,7 @@
+ 	  echo NOT overwriting $${cfg} in $(configdir)...; \
+ 	  else \
+ 	  echo installing $${cfg} in $(configdir)/$${cfg}...; \
+-	  $(INSTALL_DATA) $${cfg} $(DESTDIR)$(configdir)/$${cfg} \
++	  $(INSTALL_DATA) $${cfg} $(DESTDIR)$(configdir)/dist/$${cfg} \
  	  || exit 1; \
  	  fi; \
-+	  $(INSTALL_DATA) $${cfg} $(DESTDIR)$(configdir)/dist/$${cfg}; \
  	  done
- 
- install-firmware-path:
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2014-01-13 15:09:50 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!