x11-toolkits/py-gnome-extras: does not build gtkmozembed lib when gecko=seamonkey.

Thierry Thomas thierry at FreeBSD.org
Sat Jul 21 21:40:46 UTC 2007


>Submitter-Id:	current-users
>Originator:	Thierry Thomas
>Organization:	Kabbale Eros
>Confidential:	no 
>Synopsis:	x11-toolkits/py-gnome-extras: does not build gtkmozembed lib when gecko=seamonkey.
>Severity:	non-critical
>Priority:	medium
>Category:	ports
>Class:		update
>Release:	FreeBSD 6.2-STABLE i386
>Environment:
System: FreeBSD graf.pompo.net 6.2-STABLE


	
>Description:
	- chase seamonkey's module version to build gtkmozembed if
	  WITH_GECKO=seamonkey is set;

	- since I'm there, let it build agains xulrunner.

>How-To-Repeat:
	- set WITH_GECKO=seamonkey

	- build x11-toolkits/py-gnome-extras

	- check the output of configure and notice that gtkmozembed wont
	  be installed.

	Note: `pkg-config --modversion seamonkey-gtkmozembed' reports 1.1.3.

>Fix:

	Please apply the following patch:

--- py-gnome-extras.diff begins here ---
diff -urN x11-toolkits/py-gnome-extras.orig/Makefile x11-toolkits/py-gnome-extras/Makefile
--- x11-toolkits/py-gnome-extras.orig/Makefile	Sun May 20 13:01:01 2007
+++ x11-toolkits/py-gnome-extras/Makefile	Sat Jul 21 20:05:17 2007
@@ -8,7 +8,7 @@
 
 PORTNAME=	gnome
 PORTVERSION=	2.14.3
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	x11-toolkits python gnome
 MASTER_SITES=	${MASTER_SITE_GNOME}
 MASTER_SITE_SUBDIR=	sources/gnome-python-extras/${PORTVERSION:C/..$//}
@@ -25,7 +25,7 @@
 		gksuui1.0.1:${PORTSDIR}/sysutils/libgksuui \
 		gdl-1.0:${PORTSDIR}/x11-toolkits/gdl
 
-USE_GECKO=	firefox mozilla seamonkey
+USE_GECKO=	firefox seamonkey xulrunner mozilla
 USE_BZIP2=	yes
 USE_GMAKE=	yes
 USE_PYTHON=	yes
diff -urN x11-toolkits/py-gnome-extras.orig/files/patch-configure x11-toolkits/py-gnome-extras/files/patch-configure
--- x11-toolkits/py-gnome-extras.orig/files/patch-configure	Thu Jul 13 22:53:45 2006
+++ x11-toolkits/py-gnome-extras/files/patch-configure	Sat Jul 21 20:04:58 2007
@@ -1,10 +1,22 @@
---- configure.orig	Tue Jul 11 11:39:00 2006
-+++ configure	Tue Jul 11 11:43:03 2006
-@@ -20762,6 +20762,7 @@ case $mozpackage in
+--- configure.orig	Sun Feb 25 16:31:03 2007
++++ configure	Sat Jul 21 20:04:43 2007
+@@ -1550,7 +1550,7 @@
+   --with-pic              try to use only PIC/non-PIC objects [default=use
+                           both]
+   --with-tags[=TAGS]      include additional configurations [automatic]
+-  --with-gtkmozembed=mozilla|firefox|xulrunner
++  --with-gtkmozembed=mozilla|firefox|xulrunner|seamonkey
+                           package that provides libgtkmozembed
+ 
+ Some influential environment variables:
+@@ -22072,8 +22072,9 @@
       xulrunner) mozpackage_required_version=1.8 ;;
       firefox) mozpackage_required_version=1.0 ;;
       mozilla) mozpackage_required_version=1.2b ;;
-+     seamonkey) mozpackage_required_version=1.2b ;;
++     seamonkey) mozpackage_required_version=1.1.3 ;;
       *) { { echo "$as_me:$LINENO: error: --with-gtkmozembed argument must be either 'mozilla', 'firefox', or 'xulrunner'" >&5
- echo "$as_me: error: --with-gtkmozembed argument must be either 'mozilla', 'firefox', or 'xulrunner'" >&2;}
+-echo "$as_me: error: --with-gtkmozembed argument must be either 'mozilla', 'firefox', or 'xulrunner'" >&2;}
++echo "$as_me: error: --with-gtkmozembed argument must be either 'mozilla', 'firefox', 'seamonkey' or 'xulrunner'" >&2;}
     { (exit 1); exit 1; }; }
+ esac
+ 
--- py-gnome-extras.diff ends here ---



More information about the freebsd-gnome mailing list