Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2005 09:22:26 -0700 (PDT)
From:      Ted Faber <faber@isi.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Ted Faber <faber@isi.edu>
Subject:   ports/82124: update to xfaces prot from maintainer
Message-ID:  <200506101622.j5AGMQTv096170@pun.isi.edu>
Resent-Message-ID: <200506101630.j5AGUR8R045173@freefall.freebsd.org>

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

>Number:         82124
>Category:       ports
>Synopsis:       update to xfaces prot from maintainer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 10 16:30:26 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Ted Faber
>Release:        FreeBSD 6.0-CURRENT i386
>Organization:
USC/ISI
>Environment:
System: FreeBSD pun.isi.edu 6.0-CURRENT FreeBSD 6.0-CURRENT #7: Tue May 31 10:01:48 PDT 2005 root@pun.isi.edu:/usr/obj/usr/src/sys/PUN i386

>Description:
	Modify the port to install a set of sample images from the source and
	to point the application defaults to use them.  I should have done this
	on the initial import, but blew it.
>How-To-Repeat:
	N/A 	
>Fix:

patch:
diff -ruN xfaces.bak/Makefile xfaces/Makefile
--- xfaces.bak/Makefile	Mon Apr 25 01:46:39 2005
+++ xfaces/Makefile	Fri Jun 10 09:11:58 2005
@@ -6,6 +6,7 @@
 
 PORTNAME=	xfaces
 PORTVERSION=	3.3
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	ftp://ftp.cs.indiana.edu/pub/faces/xfaces/ \
 		http://www.mavetju.org/download/adopted/xfaces/
@@ -30,5 +31,9 @@
 USE_IMAKE=yes
 
 MAN1=		xfaces.1
+
+post-install:
+	mkdir -p ${DATADIR}/images
+	${INSTALL_DATA} ${WRKSRC}/images/* ${DATADIR}/images
 
 .include <bsd.port.mk>
diff -ruN xfaces.bak/files/patch-XFaces.ad xfaces/files/patch-XFaces.ad
--- xfaces.bak/files/patch-XFaces.ad	Wed Dec 31 16:00:00 1969
+++ xfaces/files/patch-XFaces.ad	Fri Jun 10 08:59:13 2005
@@ -0,0 +1,11 @@
+--- XFaces.ad.orig	Sat Mar 12 16:38:54 1994
++++ XFaces.ad	Fri Jun 10 08:59:11 2005
+@@ -72,7 +72,7 @@
+ !
+ 
+ XFaces.soundPath:	/usr/sounds:/usr/demo/SOUND/sounds
+-XFaces.imagePath:	/usr/images
++XFaces.imagePath:	/usr/X11R6/share/xfaces/images
+ 
+ !
+ !  This is where we look for sounds/images in the "faces" format.
diff -ruN xfaces.bak/pkg-plist xfaces/pkg-plist
--- xfaces.bak/pkg-plist	Tue May 31 23:51:08 2005
+++ xfaces/pkg-plist	Fri Jun 10 09:03:51 2005
@@ -1,2 +1,44 @@
 bin/xfaces
 lib/X11/app-defaults/XFaces
+share/xfaces/images/andrew-shape.xpm
+share/xfaces/images/andrew.xpm
+share/xfaces/images/asterix.xpm
+share/xfaces/images/backup-shape.xpm
+share/xfaces/images/bart-shape.xpm
+share/xfaces/images/bart.xpm
+share/xfaces/images/bill-shape.xpm
+share/xfaces/images/bill.xpm
+share/xfaces/images/crab.xpm
+share/xfaces/images/ctuna.xpm
+share/xfaces/images/ddts.xpm
+share/xfaces/images/dpanic-shape.xpm
+share/xfaces/images/dpanic.xpm
+share/xfaces/images/hobbes-shape.xpm
+share/xfaces/images/hobbes.xpm
+share/xfaces/images/lbolt-shape.xpm
+share/xfaces/images/lbolt.xpm
+share/xfaces/images/mailer-daemon.xpm
+share/xfaces/images/news-shape.xpm
+share/xfaces/images/nomail-shape.xpm
+share/xfaces/images/nomail.xbm
+share/xfaces/images/nomail.xpm
+share/xfaces/images/planet-shape.xpm
+share/xfaces/images/planet.xpm
+share/xfaces/images/root-shape.xpm
+share/xfaces/images/root.xpm
+share/xfaces/images/schoolbus.xpm
+share/xfaces/images/sun-shape.xpm
+share/xfaces/images/sun.xpm
+share/xfaces/images/sunflash.xpm
+share/xfaces/images/taz.xpm
+share/xfaces/images/texas-shape.xpm
+share/xfaces/images/texas.xpm
+share/xfaces/images/unido-shape.xpm
+share/xfaces/images/uucp-shape.xpm
+share/xfaces/images/uucp.xpm
+share/xfaces/images/window.xpm
+share/xfaces/images/www-shape.xpm
+share/xfaces/images/x.xpm
+share/xfaces/images/xconq.xpm
+@dirrm share/xfaces/images
+@dirrm share/xfaces
>Release-Note:
>Audit-Trail:
>Unformatted:



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