Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Dec 2001 14:36:20 -0800 (PST)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/33129: Update port: graphics/ecg2png
Message-ID:  <200112232236.fBNMaKC62227@freefall.freebsd.org>

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

>Number:         33129
>Category:       ports
>Synopsis:       Update port: graphics/ecg2png
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 23 14:40:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.4-RELEASE i386
>Organization:
>Environment:
>Description:
- USE_AUTOMAKE -> GNU_CONFIGURE

Remove file:
files/patch-aa
files/patch-ab
files/patch-ac

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/ecg2png/Makefile graphics/ecg2png/Makefile
--- /usr/ports/graphics/ecg2png/Makefile	Fri Apr  6 00:05:52 2001
+++ graphics/ecg2png/Makefile	Sun Dec 23 08:53:33 2001
@@ -18,9 +18,14 @@
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
 USE_QT_VER=	2
-QTCPPFLAGS+=	-I${LOCALBASE}/include/gd
 USE_GMAKE=	yes
-USE_AUTOMAKE=	yes
-CONFIGURE_ARGS=	--x-includes=${X11BASE}/include --x-libraries=${X11BASE}/lib
+GNU_CONFIGURE=	yes
+QTCPPFLAGS+=	-I${LOCALBASE}/include/gd
+
+pre-patch:
+	@${PERL} -pi -e 's|-lqt$$|-l${QTNAME}|g' ${WRKSRC}/ecg2png/Makefile.in
+	@find ${WRKSRC} -name '*.cpp' | xargs ${PERL} -pi -e \
+		's|#include <qimageio.h>||g'
+	@${CHMOD} ${BINMODE} ${WRKSRC}/missing
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/ecg2png/files/patch-aa graphics/ecg2png/files/patch-aa
--- /usr/ports/graphics/ecg2png/files/patch-aa	Tue Jul  4 14:09:40 2000
+++ graphics/ecg2png/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,10 +0,0 @@
---- ecg2png/imageio.cpp	Sun Oct 17 20:29:21 1999
-+++ ecg2png/imageio.cpp.new	Tue Jul  4 00:51:57 2000
-@@ -19,7 +19,6 @@
- #include <stdio.h>
- #include "my_imageio.h"
- #include <qimage.h>
--#include <qimageio.h>
- #include <qpixmap.h>
- #include <qpngio.h>
- 
diff -urN /usr/ports/graphics/ecg2png/files/patch-ab graphics/ecg2png/files/patch-ab
--- /usr/ports/graphics/ecg2png/files/patch-ab	Tue Jul  4 14:09:41 2000
+++ graphics/ecg2png/files/patch-ab	Thu Jan  1 09:00:00 1970
@@ -1,10 +0,0 @@
---- ecg2png/smooth_image.cpp	Sun Oct 17 12:00:50 1999
-+++ ecg2png/smooth_image.cpp.new	Tue Jul  4 00:52:14 2000
-@@ -18,7 +18,6 @@
- #include <stdlib.h>
- #include <stdio.h>
- #include <qimage.h>
--#include <qimageio.h>
- #include "my_imageio.h"
-  
- extern QImageIO iio;
diff -urN /usr/ports/graphics/ecg2png/files/patch-ac graphics/ecg2png/files/patch-ac
--- /usr/ports/graphics/ecg2png/files/patch-ac	Sun Aug 20 05:20:29 2000
+++ graphics/ecg2png/files/patch-ac	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- ecg2png/Makefile.am.orig	Thu Aug 17 16:22:48 2000
-+++ ecg2png/Makefile.am	Thu Aug 17 16:22:56 2000
-@@ -1,7 +1,7 @@
- ####### kdevelop will overwrite this part!!! (begin)##########
- bin_PROGRAMS = ecg2png
- ecg2png_SOURCES = smooth_image.cpp imageio.cpp main.cpp 
--ecg2png_LDADD   = -lpng -lgd -lqt
-+ecg2png_LDADD   = -lpng -lgd -lqt2
- 
- SUBDIRS = docs 
- 

>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?200112232236.fBNMaKC62227>