ports/108888: Update port: www/osb-nrcit 0.5.1

KATO Tsuguru tkato432 at yahoo.com
Wed Feb 7 17:10:42 UTC 2007


>Number:         108888
>Category:       ports
>Synopsis:       Update port: www/osb-nrcit 0.5.1
>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:   Wed Feb 07 17:10:39 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p26 i386
>Organization:
>Environment:
>Description:
- Update to version 0.5.1

New file:
files/patch-osb-nrcit.pc.in

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/www/osb-nrcit/Makefile www/osb-nrcit/Makefile
--- /usr/ports/www/osb-nrcit/Makefile	Thu Dec 14 03:05:43 2006
+++ www/osb-nrcit/Makefile	Thu Feb  8 01:08:59 2007
@@ -6,26 +6,38 @@
 #
 
 PORTNAME=	osb-nrcit
-PORTVERSION=	0.5.0
-PORTREVISION=	3
+PORTVERSION=	0.5.1
 CATEGORIES=	www
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	gtk-webcore
 
 MAINTAINER=	ports at FreeBSD.org
-COMMENT=	Embeddable web component using KJS, KHTML and KWIQ
+COMMENT=	Gtk+ WebCore embeddable web browser component
 
-LIB_DEPENDS=	nrcore.0:${PORTSDIR}/www/osb-nrcore \
-		curl.4:${PORTSDIR}/ftp/curl
+BUILD_DEPENDS=	osb-nrcore>=0.5.1:${PORTSDIR}/www/osb-nrcore
+LIB_DEPENDS=	curl.4:${PORTSDIR}/ftp/curl
+RUN_DEPENDS=	osb-nrcore>=0.5.1:${PORTSDIR}/www/osb-nrcore
 
-USE_GNOME=	gtk20 gnomehack
-USE_LDCONFIG=	yes
+USE_GNOME=	gnomehack gnometarget gtk20 librsvg2
 USE_AUTOTOOLS=	libtool:15
+CONFGURE_ENV=	CPPFLAGS="${PTHREAD_CFLAGS}" \
+		LDFLAGS="${PTHREAD_LIBS}"
+USE_LDCONFIG=	yes
 
 .include <bsd.port.pre.mk>
 
+.if ${OSVERSION} < 500000
+BROKEN=		"Does not compile on FreeBSD 4.x"
+.endif
+
 .if ${ARCH} != "i386" && ${ARCH} != "amd64"
 BROKEN=		"Does not compile on !i386 and !amd64"
 .endif
+
+post-patch:
+	@${REINPLACE_CMD} -e '/test/s|==|=|g ; \
+		 s|-nostdinc++||g ; \
+		 s|-Werror||g ; \
+		 s|-nodefaultlibs -lgcc -lc||g' ${WRKSRC}/configure
 
 .include <bsd.port.post.mk>
diff -urN /usr/ports/www/osb-nrcit/distinfo www/osb-nrcit/distinfo
--- /usr/ports/www/osb-nrcit/distinfo	Wed Nov  9 23:06:58 2005
+++ www/osb-nrcit/distinfo	Wed Feb  7 04:02:24 2007
@@ -1,3 +1,3 @@
-MD5 (osb-nrcit-0.5.0.tar.gz) = b02f4a0dcaac722ad7cdc112db964df4
-SHA256 (osb-nrcit-0.5.0.tar.gz) = 8977c50529ecd51441897d675a3eca980d50e2b33fb0885f9dae1f3c9fd417c8
-SIZE (osb-nrcit-0.5.0.tar.gz) = 265416
+MD5 (osb-nrcit-0.5.1.tar.gz) = 51277e984db95257f6dee8297fdc5df8
+SHA256 (osb-nrcit-0.5.1.tar.gz) = 0fd79959cc184a63d479510dfbd6bb0980e44e6cf71be24842b7a3c1be79972e
+SIZE (osb-nrcit-0.5.1.tar.gz) = 419798
diff -urN /usr/ports/www/osb-nrcit/files/patch-osb-nrcit.pc.in www/osb-nrcit/files/patch-osb-nrcit.pc.in
--- /usr/ports/www/osb-nrcit/files/patch-osb-nrcit.pc.in	Thu Jan  1 09:00:00 1970
+++ www/osb-nrcit/files/patch-osb-nrcit.pc.in	Wed Feb  7 04:02:24 2007
@@ -0,0 +1,10 @@
+--- osb-nrcit.pc.in.orig	Fri Jan 26 17:25:45 2007
++++ osb-nrcit.pc.in	Wed Feb  7 03:52:56 2007
+@@ -7,6 +7,6 @@
+ Name: OSB-NRCit
+ Description: OSB HTML Rendering engine browser interface
+ Version: @VERSION@
+-Requires: osb-jscore osb-nrcore xft fontconfig gdk-2.0 gtk+-2.0 glib-2.0 
++Requires: osb-jscore osb-nrcore xft fontconfig gdk-2.0 gtk+-2.0 glib-2.0 gthread-2.0
+ Libs: -L${libdir} -lnrcore -lnrcit @LIBCURL_LIBS@
+ Cflags: -I${includedir}/osb/ -I${includedir}/osb/NRCore/
diff -urN /usr/ports/www/osb-nrcit/pkg-descr www/osb-nrcit/pkg-descr
--- /usr/ports/www/osb-nrcit/pkg-descr	Fri Nov 25 13:44:25 2005
+++ www/osb-nrcit/pkg-descr	Wed Feb  7 14:17:16 2007
@@ -1,5 +1,10 @@
-Embeddable web component using KJS, KHTML and KWIQ. 
+Gtk+ WebCore is a Gtk+ port of Apple Computer Inc.'s WebCore KHTML html
+rendering engine including a web component. Gtk+ WebCore is a standards
+compliant (X)HTML rendering engine, javascript interpreter and an embeddable
+web component. The purpose of the web component is to be a light-weight,
+easy-to-compile and embed, open source rendering component.
 
-Part of Gtk-Webcore
+NRCit is a library which implements functionality needed to build an
+browser. Encapsulates the core HTML rendering engine.
 
 WWW:	http://gtk-webcore.sourceforge.net/
diff -urN /usr/ports/www/osb-nrcit/pkg-plist www/osb-nrcit/pkg-plist
--- /usr/ports/www/osb-nrcit/pkg-plist	Mon Mar  6 02:23:50 2006
+++ www/osb-nrcit/pkg-plist	Wed Feb  7 04:02:24 2007
@@ -1,8 +1,9 @@
-include/osb/gtk-khtml.h
 include/osb/osb.h
+include/osb/uri.h
+include/osb/webi.h
 lib/libnrcit.a
 lib/libnrcit.la
 lib/libnrcit.so
 lib/libnrcit.so.0
 libdata/pkgconfig/osb-nrcit.pc
- at dirrm include/osb
+ at dirrmtry include/osb
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list