Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2001 06:20:02 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/26097: Update port: graphics/sane-backends
Message-ID:  <200103261420.f2QEK2l93452@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         26097
>Category:       ports
>Synopsis:       Update port: graphics/sane-backends
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 26 06:30:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Reorganize MASTER_SITES
- Add missing INSTALL_SHLIB
- Remove unused pkg-message
- Fix pkg-plist

Remove file:
files/pkg-message

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/sane-backends/Makefile graphics/sane-backends/Makefile
--- /usr/ports/graphics/sane-backends/Makefile	Thu Mar 22 19:14:29 2001
+++ graphics/sane-backends/Makefile	Mon Mar 26 22:55:56 2001
@@ -7,10 +7,11 @@
 
 PORTNAME=	sane-backends
 PORTVERSION=	1.0.4
+PORTREVISION=	1
 CATEGORIES=	graphics
-MASTER_SITES=	${MASTER_SITE_SUNSITE} \
-		ftp://ftp.mostang.com/pub/sane/
-MASTER_SITE_SUBDIR=	apps/graphics/capture
+MASTER_SITES=	ftp://ftp.mostang.com/pub/sane/ \
+		ftp://ftp.de.mostang.com/pub/sane/ \
+		ftp://ftp.no.mostang.com/pub/sane/
 
 MAINTAINER=	ports@FreeBSD.org
 
@@ -20,6 +21,7 @@
 USE_LIBTOOL=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LIBS="-L${LOCALBASE}/lib"
+INSTALLS_SHLIB=	yes
 
 MAN1=	saned.1 scanimage.1
 MAN5=	sane-abaton.5 sane-agfafocus.5 sane-apple.5 sane-artec.5 \
diff -urN /usr/ports/graphics/sane-backends/files/patch-backend_Makefile.in graphics/sane-backends/files/patch-backend_Makefile.in
--- /usr/ports/graphics/sane-backends/files/patch-backend_Makefile.in	Thu Mar 22 18:13:27 2001
+++ graphics/sane-backends/files/patch-backend_Makefile.in	Thu Mar 22 23:21:09 2001
@@ -1,5 +1,5 @@
---- backend/Makefile.in.orig	Thu Mar 22 16:48:30 2001
-+++ backend/Makefile.in	Thu Mar 22 16:50:53 2001
+--- backend/Makefile.in.orig	Fri Dec  1 05:05:49 2000
++++ backend/Makefile.in	Thu Mar 22 23:21:00 2001
 @@ -69,7 +69,7 @@
  LIBOBJS = $(addprefix ../lib/,$(addsuffix .lo,$(LIBLIB_FUNCS)))
  
@@ -9,3 +9,16 @@
  	$(LDFLAGS) $(BACKENDLIBS) $^ -rpath $(libsanedir) \
  	-version-info $(V_MAJOR):$(V_REV):$(V_MINOR)
  
+@@ -109,10 +109,10 @@
+ 	@# Assume the dll name without any versions is last
+ 	@dllend=`../tools/libtool-get-dll-ext libsane-dll.la`; \
+ 	rm -f $(libdir)/libsane.a $(libdir)/libsane.$$dllend \
+-		$(libdir)/libsane.$$dllend.$(V_MAJOR)*; \
++		$(libdir)/libsane.$$dllend.$(V_MAJOR); \
+ 	$(LN_S) sane/libsane-dll.a $(libdir)/libsane.a; \
+ 	$(LN_S) sane/libsane-dll.$$dllend $(libdir)/libsane.$$dllend ; \
+-	cd $(libsanedir) && for n in libsane-dll.$$dllend.$(V_MAJOR)*; do \
++	cd $(libsanedir) && for n in libsane-dll.$$dllend.$(V_MAJOR); do \
+ 	  nn=`echo $$n | sed 's,^libsane-dll,libsane,'`; \
+ 	  (cd ..; $(LN_S) sane/$$n $$nn); \
+ 	done || exit 1
diff -urN /usr/ports/graphics/sane-backends/pkg-message graphics/sane-backends/pkg-message
--- /usr/ports/graphics/sane-backends/pkg-message	Sat Apr  3 23:55:01 1999
+++ graphics/sane-backends/pkg-message	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
-Congratulations, SANE is now installed.
-
-If you built it with GIMP and GTK packages/ports installed, you can
-use SANE as a GIMP plug-in.  To do this, as root, type:
-
-ln -sf /usr/local/bin/xscanimage /usr/X11R6/libexec/gimp/1.1/plug-ins/xscanimage
-
-Then run the GIMP, and a new "Acquire" menu item should appear in the
-"Xtras" menu.  Use this to access your scanner.
-
-Have fun!
diff -urN /usr/ports/graphics/sane-backends/pkg-plist graphics/sane-backends/pkg-plist
--- /usr/ports/graphics/sane-backends/pkg-plist	Thu Mar 22 19:14:37 2001
+++ graphics/sane-backends/pkg-plist	Mon Mar 26 23:20:10 2001
@@ -35,102 +35,38 @@
 lib/libsane.a
 lib/libsane.so
 lib/libsane.so.1
-lib/sane/libsane-abaton.a
 lib/sane/libsane-abaton.so
-lib/sane/libsane-abaton.so.1
-lib/sane/libsane-agfafocus.a
 lib/sane/libsane-agfafocus.so
-lib/sane/libsane-agfafocus.so.1
-lib/sane/libsane-apple.a
 lib/sane/libsane-apple.so
-lib/sane/libsane-apple.so.1
-lib/sane/libsane-artec.a
 lib/sane/libsane-artec.so
-lib/sane/libsane-artec.so.1
-lib/sane/libsane-as6e.a
 lib/sane/libsane-as6e.so
-lib/sane/libsane-as6e.so.1
-lib/sane/libsane-avision.a
 lib/sane/libsane-avision.so
-lib/sane/libsane-avision.so.1
-lib/sane/libsane-canon.a
 lib/sane/libsane-canon.so
-lib/sane/libsane-canon.so.1
-lib/sane/libsane-coolscan.a
 lib/sane/libsane-coolscan.so
-lib/sane/libsane-coolscan.so.1
-lib/sane/libsane-dc210.a
 lib/sane/libsane-dc210.so
-lib/sane/libsane-dc210.so.1
-lib/sane/libsane-dc25.a
 lib/sane/libsane-dc25.so
-lib/sane/libsane-dc25.so.1
-lib/sane/libsane-dll.a
 lib/sane/libsane-dll.so
-lib/sane/libsane-dll.so.1
-lib/sane/libsane-dmc.a
 lib/sane/libsane-dmc.so
-lib/sane/libsane-dmc.so.1
-lib/sane/libsane-epson.a
 lib/sane/libsane-epson.so
-lib/sane/libsane-epson.so.1
-lib/sane/libsane-hp.a
 lib/sane/libsane-hp.so
-lib/sane/libsane-hp.so.1
-lib/sane/libsane-m3096g.a
 lib/sane/libsane-m3096g.so
-lib/sane/libsane-m3096g.so.1
-lib/sane/libsane-microtek.a
 lib/sane/libsane-microtek.so
-lib/sane/libsane-microtek.so.1
-lib/sane/libsane-microtek2.a
 lib/sane/libsane-microtek2.so
-lib/sane/libsane-microtek2.so.1
-lib/sane/libsane-mustek.a
 lib/sane/libsane-mustek.so
-lib/sane/libsane-mustek.so.1
-lib/sane/libsane-mustek_pp.a
 lib/sane/libsane-mustek_pp.so
-lib/sane/libsane-mustek_pp.so.1
-lib/sane/libsane-nec.a
 lib/sane/libsane-nec.so
-lib/sane/libsane-nec.so.1
-lib/sane/libsane-net.a
 lib/sane/libsane-net.so
-lib/sane/libsane-net.so.1
-lib/sane/libsane-pie.a
 lib/sane/libsane-pie.so
-lib/sane/libsane-pie.so.1
-lib/sane/libsane-plustek.a
 lib/sane/libsane-plustek.so
-lib/sane/libsane-plustek.so.1
-lib/sane/libsane-pnm.a
 lib/sane/libsane-pnm.so
-lib/sane/libsane-pnm.so.1
-lib/sane/libsane-ricoh.a
 lib/sane/libsane-ricoh.so
-lib/sane/libsane-ricoh.so.1
-lib/sane/libsane-s9036.a
 lib/sane/libsane-s9036.so
-lib/sane/libsane-s9036.so.1
-lib/sane/libsane-sharp.a
 lib/sane/libsane-sharp.so
-lib/sane/libsane-sharp.so.1
-lib/sane/libsane-snapscan.a
 lib/sane/libsane-snapscan.so
-lib/sane/libsane-snapscan.so.1
-lib/sane/libsane-sp15c.a
 lib/sane/libsane-sp15c.so
-lib/sane/libsane-sp15c.so.1
-lib/sane/libsane-st400.a
 lib/sane/libsane-st400.so
-lib/sane/libsane-st400.so.1
-lib/sane/libsane-tamarack.a
 lib/sane/libsane-tamarack.so
-lib/sane/libsane-tamarack.so.1
-lib/sane/libsane-umax.a
 lib/sane/libsane-umax.so
-lib/sane/libsane-umax.so.1
 sbin/saned
 @dirrm lib/sane
 @dirrm include/sane

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103261420.f2QEK2l93452>