From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Sep 23 20:40:44 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EFE616A417 for ; Sat, 23 Sep 2006 20:40:44 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 400D843D86 for ; Sat, 23 Sep 2006 20:40:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k8NKeNqs062315 for ; Sat, 23 Sep 2006 20:40:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k8NKeNFK062314; Sat, 23 Sep 2006 20:40:23 GMT (envelope-from gnats) Resent-Date: Sat, 23 Sep 2006 20:40:23 GMT Resent-Message-Id: <200609232040.k8NKeNFK062314@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Thierry Thomas Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFAFF16A4DE; Sat, 23 Sep 2006 20:35:28 +0000 (UTC) (envelope-from thierry@pompo.net) Received: from graf.pompo.net (graf.pompo.net [81.56.186.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8828843D96; Sat, 23 Sep 2006 20:35:11 +0000 (GMT) (envelope-from thierry@pompo.net) Received: by graf.pompo.net (Postfix, from userid 1001) id CCFF411441; Sat, 23 Sep 2006 22:33:30 +0200 (CEST) Message-Id: <20060923203330.CCFF411441@graf.pompo.net> Date: Sat, 23 Sep 2006 22:33:30 +0200 (CEST) From: Thierry Thomas To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: gnome@FreeBSD.org Subject: ports/103529: www/seamonkey: enable SVG and Pango font rendering support. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Thierry Thomas List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Sep 2006 20:40:44 -0000 >Number: 103529 >Category: ports >Synopsis: www/seamonkey: enable SVG and Pango font rendering support. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Sep 23 20:40:22 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Thierry Thomas >Release: FreeBSD 6.1-STABLE i386 >Organization: Kabbale Eros >Environment: System: FreeBSD graf.pompo.net 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat Sep 9 19:06:00 CEST 2006 thierry@graf.pompo.net:/usr/obj/usr/src/sys/GRAF060511 i386 >Description: - svg-renderer is set to cairo, but it is ignored because SVG is not enabled; - s/post-patch/pre-configure/ to not squeeze configure; - fix an error in configure by adding -- to expr; - merge Pango font support from PR ports/102866. >How-To-Repeat: Check a page including SVG content (e.g. ). >Fix: Please apply the following patch: --- seamonkey.diff begins here --- diff -urN www/seamonkey.orig/Makefile www/seamonkey/Makefile --- www/seamonkey.orig/Makefile Fri Sep 15 18:09:48 2006 +++ www/seamonkey/Makefile Sat Sep 23 16:04:28 2006 @@ -7,7 +7,8 @@ # PORTNAME= seamonkey -DISTVERSION= 1.0.5 +PORTVERSION= 1.0.5 +PORTREVISION= 1 CATEGORIES?= www MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED} MASTER_SITE_SUBDIR= seamonkey/releases/${DISTVERSION} @@ -30,9 +31,11 @@ MOZ_EXTENSIONS= default MOZ_OPTIONS+= --enable-application=suite \ + --enable-svg \ --enable-svg-renderer=cairo \ --enable-system-cairo \ - --enable-canvas + --enable-canvas \ + --enable-pango MOZ_MK_OPTIONS+= MOZ_CO_PROJECT=suite NOT_FOR_ARCHS= ia64 @@ -95,7 +98,7 @@ MOZ_OPTIONS+= --disable-composer .endif -post-patch: +pre-configure: @${REINPLACE_CMD} -e '/accessibility.typeaheadfind.enablesound/s/true/false/' \ ${WRKSRC}/modules/libpref/src/init/all.js @${REINPLACE_CMD} -e 's||\"${LOCALBASE}/include/iconv.h\"|g' \ diff -urN www/seamonkey.orig/files/patch-configure www/seamonkey/files/patch-configure --- www/seamonkey.orig/files/patch-configure Fri Dec 23 01:04:18 2005 +++ www/seamonkey/files/patch-configure Sat Sep 23 22:11:19 2006 @@ -1,15 +1,15 @@ ---- configure.orig Tue Oct 4 02:01:48 2005 -+++ configure Thu Dec 22 17:54:43 2005 -@@ -10016,7 +10016,7 @@ +--- configure.orig Thu Aug 31 17:37:23 2006 ++++ configure Sat Sep 23 22:10:51 2006 +@@ -10115,7 +10115,7 @@ echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" -LIBS="-liconv $LIBS" +LIBS="-L$LOCALBASE/lib -liconv $LIBS" cat > conftest.$ac_ext <&6 @@ -18,16 +18,16 @@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for libiconv in -liconv""... $ac_c" 1>&6 -@@ -10057,7 +10057,7 @@ +@@ -10156,7 +10156,7 @@ echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" -LIBS="-liconv $LIBS" +LIBS="-L$LOCALBASE/lib -liconv $LIBS" cat > conftest.$ac_ext <&6 @@ -36,7 +36,7 @@ else echo "$ac_t""no" 1>&6 fi -@@ -12518,7 +12518,7 @@ +@@ -12618,7 +12618,7 @@ MOZ_SUITE=1 MOZ_PROFILESHARING= MOZ_APP_VERSION=$SEAMONKEY_VERSION @@ -45,3 +45,21 @@ cat >> confdefs.h <<\EOF #define MOZ_SUITE 1 EOF +@@ -13248,7 +13248,7 @@ + echo "configure:13249: checking MOZ_PANGO_LIBS" >&5 + ## don't use --libs since that can do evil things like add + ## -Wl,--export-dynamic +- MOZ_PANGO_LIBS="`$PKG_CONFIG --libs-only-L \"pango >= 1.6.0 pangoft2 >= 1.6.0\"` `$PKG_CONFIG --libs-only-l \"pango >= 1.6.0 pangoft2 >= 1.6.0\"`" ++ MOZ_PANGO_LIBS="`$PKG_CONFIG --libs-only-L \"pangoxft >= 1.6.0 pangoft2 >= 1.6.0\"` `$PKG_CONFIG --libs-only-l \"pangoxft >= 1.6.0 pangoft2 >= 1.6.0\"`" + echo "$ac_t""$MOZ_PANGO_LIBS" 1>&6 + else + MOZ_PANGO_CFLAGS="" +@@ -19208,7 +19208,7 @@ + LIBS_PATH= + for lib_arg in $NSPR_LIBS $TK_LIBS; do + case $lib_arg in +- -L* ) LIBS_PATH="${LIBS_PATH:+$LIBS_PATH:}"`expr $lib_arg : "-L\(.*\)"` ;; ++ -L* ) LIBS_PATH="${LIBS_PATH:+$LIBS_PATH:}"`expr -- $lib_arg : "-L\(.*\)"` ;; + * ) ;; + esac + done diff -urN www/seamonkey.orig/files/patch-gfx_src_gtk_Makefile.in www/seamonkey/files/patch-gfx_src_gtk_Makefile.in --- www/seamonkey.orig/files/patch-gfx_src_gtk_Makefile.in Thu Jan 1 01:00:00 1970 +++ www/seamonkey/files/patch-gfx_src_gtk_Makefile.in Thu Sep 21 23:28:10 2006 @@ -0,0 +1,11 @@ +--- ./gfx/src/gtk/Makefile.in.orig Tue Apr 26 06:46:13 2005 ++++ ./gfx/src/gtk/Makefile.in Mon Sep 4 19:15:34 2006 +@@ -201,7 +201,7 @@ + $(NULL) + endif + +-EXTRA_DSO_LDOPTS += $(XLDFLAGS) $(XLIBS) $(MOZ_GTK_LDFLAGS) $(MOZ_XFT_LIBS) $(MOZ_GTK2_LIBS) ++EXTRA_DSO_LDOPTS += $(XLDFLAGS) $(XLIBS) $(MOZ_GTK_LDFLAGS) $(MOZ_XFT_LIBS) $(MOZ_PANGO_LIBS) $(MOZ_GTK2_LIBS) + CXXFLAGS += $(MOZ_GTK_CFLAGS) $(MOZ_GTK2_CFLAGS) + CFLAGS += $(MOZ_GTK_CFLAGS) $(MOZ_GTK2_CFLAGS) + --- seamonkey.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: