diff options
author | christos <christos> | 1998-12-19 22:23:55 +0000 |
---|---|---|
committer | christos <christos> | 1998-12-19 22:23:55 +0000 |
commit | 9c98eb4f1794349e26210129fea6197427f3afc8 (patch) | |
tree | 8c025178fbaebf726039fd2cd63ca33c65296876 /x11 | |
parent | 50c95bd76d15acdd5cee7e328120cdcce2906d7a (diff) | |
download | pkgsrc-9c98eb4f1794349e26210129fea6197427f3afc8.tar.gz |
xpaint package
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xpaint/Makefile | 22 | ||||
-rw-r--r-- | x11/xpaint/files/md5 | 3 | ||||
-rw-r--r-- | x11/xpaint/patches/patch-aa | 60 | ||||
-rw-r--r-- | x11/xpaint/patches/patch-ab | 20 | ||||
-rw-r--r-- | x11/xpaint/patches/patch-ac | 23 | ||||
-rw-r--r-- | x11/xpaint/pkg/COMMENT | 1 | ||||
-rw-r--r-- | x11/xpaint/pkg/DESCR | 17 | ||||
-rw-r--r-- | x11/xpaint/pkg/PLIST | 3 |
8 files changed, 149 insertions, 0 deletions
diff --git a/x11/xpaint/Makefile b/x11/xpaint/Makefile new file mode 100644 index 00000000000..635dbdfa990 --- /dev/null +++ b/x11/xpaint/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1 1998/12/19 22:23:55 christos Exp $ +# + +DISTNAME= xpaint-2.5.6 +CATEGORIES= x11 +MASTER_SITES= http://www.danbbs.dk/~torsten/xpaint/ + +MAINTAINER= christos@netbsd.org + +DEPENDS+= tiff-3.4:../../graphics/tiff png-1.0.2:../../graphics/png + +USE_IMAKE= yes + +WRKSRC= ${WRKDIR}/xpaint + +post-patch: + @${MV} ${WRKSRC}/Local.config ${WRKSRC}/Local.config.dist + @${SED} -e 's#@LOCALBASE@#${LOCALBASE}#' < ${WRKSRC}/Local.config.dist \ + > ${WRKSRC}/Local.config + + +.include "../../mk/bsd.pkg.mk" diff --git a/x11/xpaint/files/md5 b/x11/xpaint/files/md5 new file mode 100644 index 00000000000..506dc46afa7 --- /dev/null +++ b/x11/xpaint/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1 1998/12/19 22:26:00 christos Exp $ + +MD5 (xpaint-2.5.6.tar.gz) = 16ca24ab07a59ed1a69ef59b7a541f2c diff --git a/x11/xpaint/patches/patch-aa b/x11/xpaint/patches/patch-aa new file mode 100644 index 00000000000..7fe638774b8 --- /dev/null +++ b/x11/xpaint/patches/patch-aa @@ -0,0 +1,60 @@ +$NetBSD: patch-aa,v 1.1 1998/12/19 22:26:00 christos Exp $ +*** Local.config.orig Sat Jun 27 14:43:56 1998 +--- Local.config Sat Dec 19 14:02:47 1998 +*************** +*** 61,68 **** + #define HaveTIFF + + #ifdef HaveTIFF +! TIFF_LIB = -L/usr/local/lib -ltiff +! TIFF_INCLUDE = -I/usr/local/include/tiff + #endif + + XCOMM If you have the JPEG library, make HaveJPEG defined +--- 61,68 ---- + #define HaveTIFF + + #ifdef HaveTIFF +! TIFF_LIB = -L@LOCALBASE@/lib -ltiff +! TIFF_INCLUDE = -I@LOCALBASE@/include/tiff + #endif + + XCOMM If you have the JPEG library, make HaveJPEG defined +*************** +*** 72,79 **** + #define HaveJPEG + + #ifdef HaveJPEG +! JPEG_LIB = -L/usr/local/lib -ljpeg +! JPEG_INCLUDE = -I/usr/local/include/jpeg + #endif + + XCOMM If you have the PNG library, make HavePNG defined +--- 72,79 ---- + #define HaveJPEG + + #ifdef HaveJPEG +! JPEG_LIB = -L@LOCALBASE@/lib -ljpeg +! JPEG_INCLUDE = -I@LOCALBASE@/include/jpeg + #endif + + XCOMM If you have the PNG library, make HavePNG defined +*************** +*** 83,90 **** + #define HavePNG + + #ifdef HavePNG +! PNG_LIB = -L/usr/local/lib -lpng -lz +! PNG_INCLUDE = -I/usr/local/include/png + #endif + + XCOMM If you are running SunOS and get an error with the following undefined +--- 83,90 ---- + #define HavePNG + + #ifdef HavePNG +! PNG_LIB = -L@LOCALBASE@/lib -lpng -lz +! PNG_INCLUDE = -I@LOCALBASE@/include/png + #endif + + XCOMM If you are running SunOS and get an error with the following undefined diff --git a/x11/xpaint/patches/patch-ab b/x11/xpaint/patches/patch-ab new file mode 100644 index 00000000000..c3ac67b5301 --- /dev/null +++ b/x11/xpaint/patches/patch-ab @@ -0,0 +1,20 @@ +$NetBSD: patch-ab,v 1.1 1998/12/19 22:26:00 christos Exp $ +*** misc.h.orig Sat Dec 19 13:53:22 1998 +--- misc.h Sat Dec 19 13:53:09 1998 +*************** +*** 23,29 **** + long random(void); + #endif + +! #if !defined(linux) & !defined(__EMX__) & !defined(__FreeBSD__) + #if defined(BSD4_4) || defined(HPArchitecture) || defined(SGIArchitecture) || defined(_AIX) || defined(_SCO_DS) + void srandom(unsigned int); + #else +--- 23,29 ---- + long random(void); + #endif + +! #if !defined(linux) & !defined(__EMX__) & !defined(__FreeBSD__) && !defined(__NetBSD__) + #if defined(BSD4_4) || defined(HPArchitecture) || defined(SGIArchitecture) || defined(_AIX) || defined(_SCO_DS) + void srandom(unsigned int); + #else diff --git a/x11/xpaint/patches/patch-ac b/x11/xpaint/patches/patch-ac new file mode 100644 index 00000000000..34e8b391945 --- /dev/null +++ b/x11/xpaint/patches/patch-ac @@ -0,0 +1,23 @@ +$NetBSD: patch-ac,v 1.1 1998/12/19 22:26:00 christos Exp $ +*** rw/rwTable.c.orig Tue Jun 9 17:09:32 1998 +--- rw/rwTable.c Sat Dec 19 13:57:15 1998 +*************** +*** 231,236 **** +--- 231,237 ---- + char * + RWGetMsg() + { ++ #ifndef __NetBSD__ + #if defined(BSD4_4) + __const extern char *__const sys_errlist[]; + #else +*************** +*** 239,244 **** +--- 240,246 ---- + #endif + #endif + extern int errno; ++ #endif + + if (RWtableMsg[0] == '\0') { + if (errno == 0) diff --git a/x11/xpaint/pkg/COMMENT b/x11/xpaint/pkg/COMMENT new file mode 100644 index 00000000000..0c39ae85a4f --- /dev/null +++ b/x11/xpaint/pkg/COMMENT @@ -0,0 +1 @@ +A bitmap paint program diff --git a/x11/xpaint/pkg/DESCR b/x11/xpaint/pkg/DESCR new file mode 100644 index 00000000000..e8c18a13b3b --- /dev/null +++ b/x11/xpaint/pkg/DESCR @@ -0,0 +1,17 @@ +So, what does XPaint do for you? Why many wonderful things of +course. XPaint is a reasonably versatile bitmap/pixmap editing +tool. XPaint came out of a problem editing some very large bitmaps, +and wanting more functionality then was provided by bitmap. After +XPaint 1.0 sat around for a LONG time, I finally ended up with a +strong need to edit color pixmaps. Presto, this is what has appeared +from that problem. + +The short features list: + Usual paint operations: + Brushes, Spray paint, Pencil + Lines, Arcs, Pattern Fill, Text, + Boxes, Circles, Polygons. + Works on multiple images simultaneously. + Cut/Copy/Paste between all active images. + Fatbits/Zoom on the image windows. + diff --git a/x11/xpaint/pkg/PLIST b/x11/xpaint/pkg/PLIST new file mode 100644 index 00000000000..209af03d766 --- /dev/null +++ b/x11/xpaint/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1 1998/12/19 22:26:00 christos Exp $ +bin/xpaint +lib/X11/app-defaults/XPaint |