pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/xfig Add distpatch so this works with Xaw3d-1...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/588a13678b95
branches:  trunk
changeset: 489209:588a13678b95
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Feb 18 15:56:18 2005 +0000

description:
Add distpatch so this works with Xaw3d-1.5E; adapt patch-ab.
Bump PKGREVISION.

diffstat:

 graphics/xfig/Makefile         |  10 ++++++++--
 graphics/xfig/distinfo         |   6 ++++--
 graphics/xfig/patches/patch-ab |  34 +++++++++++++++-------------------
 3 files changed, 27 insertions(+), 23 deletions(-)

diffs (148 lines):

diff -r c458444a3ad0 -r 588a13678b95 graphics/xfig/Makefile
--- a/graphics/xfig/Makefile    Fri Feb 18 15:55:45 2005 +0000
+++ b/graphics/xfig/Makefile    Fri Feb 18 15:56:18 2005 +0000
@@ -1,16 +1,22 @@
-# $NetBSD: Makefile,v 1.40 2004/10/03 00:14:58 tv Exp $
+# $NetBSD: Makefile,v 1.41 2005/02/18 15:56:18 wiz Exp $
 
 DISTNAME=      xfig.3.2.4.full
 PKGNAME=       xfig-3.2.4
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    graphics
 MASTER_SITES=  ftp://www.xfig.org/xfigdist/
 
+PATCH_SITES=   ftp://ftp.visi.com/users/hawkeyd/X/
+PATCHFILES=    xfig-3.2.4-Xaw3d-1.5E.udiff
+
 MAINTAINER=    root%garbled.net@localhost
 HOMEPAGE=      http://www.xfig.org/
 COMMENT=       CAD-like 2D drawing tool, good for colorful scale drawings & ISOs
 
 DEPENDS+=      transfig>=3.2.4:../../print/transfig
+# if we're using Xaw3d, then we need 1.5E or newer since using that
+# version means we need a patch, which is currently used unconditionally
+BUILDLINK_DEPENDS.Xaw3d+=      Xaw3d>=1.5E
 
 WRKSRC=                        ${WRKDIR}/xfig.3.2.4
 USE_BUILDLINK3=                YES
diff -r c458444a3ad0 -r 588a13678b95 graphics/xfig/distinfo
--- a/graphics/xfig/distinfo    Fri Feb 18 15:55:45 2005 +0000
+++ b/graphics/xfig/distinfo    Fri Feb 18 15:56:18 2005 +0000
@@ -1,8 +1,10 @@
-$NetBSD: distinfo,v 1.10 2003/04/01 04:50:46 jschauma Exp $
+$NetBSD: distinfo,v 1.11 2005/02/18 15:56:18 wiz Exp $
 
 SHA1 (xfig.3.2.4.full.tar.gz) = 723bf10355a92c079be08cd7be18b75baaccfbdc
 Size (xfig.3.2.4.full.tar.gz) = 5163150 bytes
+SHA1 (xfig-3.2.4-Xaw3d-1.5E.udiff) = 8516f66602b11f55b0aa23049ca4c3af60ca7cca
+Size (xfig-3.2.4-Xaw3d-1.5E.udiff) = 34728 bytes
 SHA1 (patch-aa) = 3ff914bd2ca913f7c4e2ea2a648a0776cd5098bf
-SHA1 (patch-ab) = 49812d181584294de1975dc3462c9721d316bbe8
+SHA1 (patch-ab) = fe6f367f039048f54fa91a6646163880bfa6a235
 SHA1 (patch-ac) = 2c562f7956700d7382cb3576ecf15473bb750779
 SHA1 (patch-ad) = acf393046af68be92031895a06e76d3d86a2a4aa
diff -r c458444a3ad0 -r 588a13678b95 graphics/xfig/patches/patch-ab
--- a/graphics/xfig/patches/patch-ab    Fri Feb 18 15:55:45 2005 +0000
+++ b/graphics/xfig/patches/patch-ab    Fri Feb 18 15:56:18 2005 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.9 2003/04/01 04:50:47 jschauma Exp $
+$NetBSD: patch-ab,v 1.10 2005/02/18 15:56:18 wiz Exp $
 
---- Imakefile.orig     Thu Dec 19 12:57:11 2002
-+++ Imakefile  Mon Mar 31 23:19:46 2003
-@@ -44,12 +44,13 @@
+--- Imakefile.orig     2005-02-18 16:32:46.000000000 +0100
++++ Imakefile
+@@ -44,12 +44,13 @@ XCOMM purpose of DESTDIR is to test an i
  XCOMM BINDIR = /usr/bin/X11
  XCOMM MKDIRHIER = /bin/sh /usr/bin/X11/mkdirhier
  XCOMM XAPPLOADDIR = /home/user/xfig
@@ -18,7 +18,7 @@
  
  XCOMM If don't want JPEG support, comment out the #define USEJPEG line
  XCOMM Uncomment the #define for USEJPEG if you want to be able to import
-@@ -68,8 +69,8 @@
+@@ -68,8 +69,8 @@ XCOMM You must have version 5b or newer 
  
  #ifdef USEJPEG
  #ifdef USEINSTALLEDJPEG
@@ -29,7 +29,7 @@
  #else
  JPEGLIBDIR = ../jpeg
  JPEGINC = -I$(JPEGLIBDIR)
-@@ -87,12 +88,12 @@
+@@ -87,12 +88,12 @@ XCOMM   in /contrib/libraries.
  XCOMM Change XPMLIBDIR if necessary to point to the xpm library (libXpm)
  XCOMM Change XPMINC if necessary to point to the include file for xpm (xpm.h)
  
@@ -46,20 +46,16 @@
  #endif
  
  XCOMM Uncomment the following definiton if you want to use the small icons
-@@ -105,10 +106,10 @@
- XCOMM Then be sure to change the XAW3DINC to point to the directory where your
- XCOMM 3D Athena widget headers are located
- 
--XCOMM #define XAW3D
-+#define XAW3D
+@@ -108,7 +109,7 @@ XCOMM 3D Athena widget headers are locat
+ XCOMM #define XAW3D
  
  #ifdef XAW3D
 -XAW3DINC = -I/usr/include/X11/Xaw3d
 +XAW3DINC = -I$(LOCALBASE)/include/X11/Xaw3d
  DUSEXAW3D = -DXAW3D
  XAWLIB = -lXaw3d
- #endif
-@@ -154,7 +155,7 @@
+ #else
+@@ -157,7 +158,7 @@ XCOMM uncomment the following line if yo
  XCOMM inline functions. With the "INLINE" keyword, you should notice that
  XCOMM the display will be a bit faster in complex figures
  
@@ -68,7 +64,7 @@
  
  XCOMM use (and change) the following if you want the multi-key data base file
  XCOMM somewhere other than the standard X11 library directory
-@@ -166,7 +167,7 @@
+@@ -169,7 +170,7 @@ XFIGLIBDIR = $(LIBDIR)/xfig
  
  XCOMM XFIGDOCDIR tells where the html and pdf documentation should go
  XCOMM XFIGDOCDIR = $(DOCDIR)/xfig
@@ -77,7 +73,7 @@
  
  XCOMM MANDIR tells where the standard man pages should go (no need to change it
  XCOMM if you want the man pages installed in the standard place on your system
-@@ -224,7 +225,7 @@
+@@ -227,7 +228,7 @@ XCOMM **********************************
  #ifdef USEJPEG
  
  #ifdef USEINSTALLEDJPEG
@@ -86,7 +82,7 @@
  #else
  JPEGCONF = configure
  JPEGLIB = $(JPEGLIBDIR)/libjpeg.a
-@@ -261,7 +262,7 @@
+@@ -264,7 +265,7 @@ InstallManPageLong(file,dest,file)
  DUSESMALLICONS = -DUSE_SMALL_ICONS
  #endif /* USESMALLICONS */
  
@@ -95,7 +91,7 @@
  
  #ifdef USEJPEG
  DUSEJPEG = -DUSE_JPEG
-@@ -271,7 +272,7 @@
+@@ -274,7 +275,7 @@ READJPEGO = f_readjpg.o
  
  #ifdef USEXPM
  DUSEXPM = -DUSE_XPM
@@ -104,7 +100,7 @@
  READXPMS = f_readxpm.c
  READXPMO = f_readxpm.o
  #ifdef USEXPM_ICON
-@@ -407,6 +408,8 @@
+@@ -410,6 +411,8 @@ install.html::
  install.rhtml::
        @(cd Doc ; \
        echo Copying pdf and html files to $(DESTDIR)$(XFIGDOCDIR) ; \



Home | Main Index | Thread Index | Old Index