Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jun 2003 00:45:38 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53285: Update port: graphics/xpaint to 2.7.0
Message-ID:  <20030614004538.41c81479.tkato@prontomail.com>
Resent-Message-ID: <200306131550.h5DFoD90069208@freefall.freebsd.org>

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

>Number:         53285
>Category:       ports
>Synopsis:       Update port: graphics/xpaint to 2.7.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 13 08:50:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 2.7.0

Remove file:
files/patch-ae

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/xpaint/Makefile graphics/xpaint/Makefile
--- /usr/ports/graphics/xpaint/Makefile	Wed May 14 19:21:22 2003
+++ graphics/xpaint/Makefile	Thu Jun 12 08:00:54 2003
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	xpaint
-PORTVERSION=	2.6.9
-PORTREVISION=	1
+PORTVERSION=	2.7.0
 CATEGORIES=	graphics
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
 		ftp://ftp.ac-grenoble.fr/Office/
@@ -22,7 +21,7 @@
 USE_BZIP2=	yes
 USE_IMAKE=	yes
 USE_XPM=	yes
-ALL_TARGET=	xaw
+ALL_TARGET=	xaw95static
 
 MAN1=		xpaint.1
 
diff -urN /usr/ports/graphics/xpaint/distinfo graphics/xpaint/distinfo
--- /usr/ports/graphics/xpaint/distinfo	Sat Apr 26 12:41:33 2003
+++ graphics/xpaint/distinfo	Thu Jun 12 07:32:11 2003
@@ -1 +1 @@
-MD5 (xpaint-2.6.9.tar.bz2) = 74818c986feb79a9bf5d8b82d329fdd4
+MD5 (xpaint-2.7.0.tar.bz2) = bcea7fda4052f179bc5308986ead3ff6
diff -urN /usr/ports/graphics/xpaint/files/patch-aa graphics/xpaint/files/patch-aa
--- /usr/ports/graphics/xpaint/files/patch-aa	Wed Nov 20 23:45:47 2002
+++ graphics/xpaint/files/patch-aa	Thu Jun 12 08:07:49 2003
@@ -1,16 +1,14 @@
---- Local.config.orig	Mon Oct 28 17:00:32 2002
-+++ Local.config	Fri Nov  8 23:14:33 2002
-@@ -151,10 +151,13 @@
- #endif
+--- Local.config.orig	Tue Jun  3 21:56:41 2003
++++ Local.config	Thu Jun 12 08:06:54 2003
+@@ -161,9 +161,12 @@
  
  #if defined(FreeBSDArchitecture)
--ARCH_DEFINES = -DHAVE_PARAM_H
+ ARCH_DEFINES = -DHAVE_PARAM_H
 -TIFF_INCLUDE = -I/usr/local/include/tiff34
 -TIFF_LIB     = -L/usr/local/lib -ltiff34
 -JPEG_INCLUDE = -I/usr/local/include
 -JPEG_LIB     = -L/usr/local/lib -ljpeg
 -XPM_INCLUDE = -I/usr/X11R6/include/X11
-+ARCH_DEFINES = -DHAVE_PARAM_H -DHAVE_MKSTEMP
 +TIFF_INCLUDE = -I${LOCALBASE}/include
 +TIFF_LIB     = -L${LOCALBASE}/lib -Wl,-rpath,${LOCALBASE}/lib -ltiff
 +JPEG_INCLUDE = -I${LOCALBASE}/include
diff -urN /usr/ports/graphics/xpaint/files/patch-ae graphics/xpaint/files/patch-ae
--- /usr/ports/graphics/xpaint/files/patch-ae	Wed Nov 20 23:45:47 2002
+++ graphics/xpaint/files/patch-ae	Thu Jan  1 09:00:00 1970
@@ -1,49 +0,0 @@
---- readRC.c.orig	Sun Oct 27 16:32:36 2002
-+++ readRC.c	Fri Nov  8 22:50:21 2002
-@@ -32,11 +32,13 @@
- #include <unistd.h>
- #endif
- 
-+#ifndef HAVE_MKSTEMP
- #ifdef __STDC__
- extern char *mktemp(char *);
- #else
- extern char *mktemp();
- #endif /* __STDC__ */
-+#endif
- 
- #define RC_FILENAME	".XPaintrc"
- 
-@@ -73,19 +75,32 @@
- static FILE *
- openTemp(char **np)
- {
-+#ifdef HAVE_MKSTEMP
-+    int	fd;
-+#endif
-     char *n;
-     char xx[256];
- 
-     if ((n = getenv("TMPDIR")) == NULL)
-         n = "/tmp";
- 
-+#ifdef HAVE_MKSTEMP
-+    snprintf(xx, 256, "%s/%s", n, "/XPaintXXXXXXX");
-+    fd = mkstemp(xx);
-+    n = xx;
-+#else
-     strcpy(xx, n);
-     strcat(xx, "/XPaint-XXXXXX");
-     n = mktemp(xx);
-+#endif
-     tempName[++tempIndex] = XtNewString(n);
-     if (np != NULL)
-         *np = tempName[tempIndex];
-+#ifdef HAVE_MKSTEMP
-+    return fdopen(fd, "w");
-+#else
-     return fopen(tempName[tempIndex], "w");
-+#endif
- }
- 
- static void 
diff -urN /usr/ports/graphics/xpaint/pkg-plist graphics/xpaint/pkg-plist
--- /usr/ports/graphics/xpaint/pkg-plist	Wed May 14 19:21:24 2003
+++ graphics/xpaint/pkg-plist	Thu Jun 12 08:09:12 2003
@@ -2,20 +2,62 @@
 bin/xpaint
 lib/X11/app-defaults/XPaint
 lib/X11/app-defaults/XPaint_fr
-lib/X11/xpaint/filters/leftright.c
-lib/X11/xpaint/filters/mapping.c
-lib/X11/xpaint/filters/merge.c
-lib/X11/xpaint/filters/permute.c
-lib/X11/xpaint/filters/rotleft.c
-lib/X11/xpaint/filters/rotright.c
-lib/X11/xpaint/filters/updown.c
+lib/X11/xpaint/XPaintIcon.xpm
+lib/X11/xpaint/c_scripts/3d_curves/helicoid.c
+lib/X11/xpaint/c_scripts/3d_curves/lissajous.c
+lib/X11/xpaint/c_scripts/3d_surfaces/ellipsoid.c
+lib/X11/xpaint/c_scripts/3d_surfaces/heart.c
+lib/X11/xpaint/c_scripts/3d_surfaces/hyperboloid.c
+lib/X11/xpaint/c_scripts/3d_surfaces/polyhedra.c
+lib/X11/xpaint/c_scripts/3d_surfaces/torus.c
+lib/X11/xpaint/c_scripts/3d_surfaces/trefoil.c
+lib/X11/xpaint/c_scripts/3d_surfaces/waves.c
+lib/X11/xpaint/c_scripts/filters/leftright.c
+lib/X11/xpaint/c_scripts/filters/mapping.c
+lib/X11/xpaint/c_scripts/filters/merge.c
+lib/X11/xpaint/c_scripts/filters/permute.c
+lib/X11/xpaint/c_scripts/filters/rotleft.c
+lib/X11/xpaint/c_scripts/filters/rotright.c
+lib/X11/xpaint/c_scripts/filters/updown.c
+lib/X11/xpaint/c_scripts/images/random.c
+lib/X11/xpaint/c_scripts/layers/combine.c
+lib/X11/xpaint/c_scripts/procedures/setmemory.c
 lib/X11/xpaint/help/Help
 lib/X11/xpaint/help/Help_fr
+lib/X11/xpaint/include/Colormap.h
+lib/X11/xpaint/include/ColormapP.h
+lib/X11/xpaint/include/DefaultRC.txt.h
+lib/X11/xpaint/include/Paint.h
+lib/X11/xpaint/include/PaintP.h
+lib/X11/xpaint/include/XPaint.ad.h
+lib/X11/xpaint/include/Xpaint.h
+lib/X11/xpaint/include/Xpaint3d.h
+lib/X11/xpaint/include/color.h
+lib/X11/xpaint/include/graphic.h
+lib/X11/xpaint/include/hash.h
 lib/X11/xpaint/include/image.h
+lib/X11/xpaint/include/menu.h
+lib/X11/xpaint/include/messages.h
+lib/X11/xpaint/include/misc.h
+lib/X11/xpaint/include/operation.h
+lib/X11/xpaint/include/ops.h
+lib/X11/xpaint/include/palette.h
+lib/X11/xpaint/include/patchlevel.h
+lib/X11/xpaint/include/protocol.h
+lib/X11/xpaint/include/rc.h
+lib/X11/xpaint/include/region.h
+lib/X11/xpaint/include/text.h
+lib/X11/xpaint/include/xpaint.h
 lib/X11/xpaint/messages/Messages
 lib/X11/xpaint/messages/Messages_fr
 @dirrm lib/X11/xpaint/messages
-@dirrm lib/X11/xpaint/include
 @dirrm lib/X11/xpaint/help
-@dirrm lib/X11/xpaint/filters
+@dirrm lib/X11/xpaint/include
+@dirrm lib/X11/xpaint/c_scripts/procedures
+@dirrm lib/X11/xpaint/c_scripts/layers
+@dirrm lib/X11/xpaint/c_scripts/images
+@dirrm lib/X11/xpaint/c_scripts/filters
+@dirrm lib/X11/xpaint/c_scripts/3d_surfaces
+@dirrm lib/X11/xpaint/c_scripts/3d_curves
+@dirrm lib/X11/xpaint/c_scripts
 @dirrm lib/X11/xpaint
>Release-Note:
>Audit-Trail:
>Unformatted:



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