Subject: Re: pkgsrc/www/galeon -> 1.3.x (mozilla/gtk2 changes)
To: Brian A. Seklecki <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 10/20/2003 09:12:28

I have done some of the same. I sent some of these patches to mozilla
maintainer. I also started making a mozilla-gtk2 package. I was doing this
so I could build Epiphany (which has been unsuccessful). I've been told
that fixes may be found in FreeBSD ports, but I haven't looked yet.

My patches for mozilla below. My mozilla-gtk2 pkgsrc (mostly based by
copying mozilla, like patches) is at
(26440 bytes)

   Jeremy C. Reed

cvs server: Diffing www/mozilla
Index: www/mozilla/Makefile.common
RCS file: /cvsroot/pkgsrc/www/mozilla/Makefile.common,v
retrieving revision 1.22
diff -b -u -r1.22 Makefile.common
--- www/mozilla/Makefile.common	2003/09/27 12:16:42	1.22
+++ www/mozilla/Makefile.common	2003/10/20 16:04:32
@@ -20,6 +20,12 @@
 USE_X11=	yes
 CONFIGURE_ARGS+= --disable-tests \
 		--disable-debug \
 		--disable-pedantic \
@@ -36,11 +42,18 @@
 UNLIMIT_RESOURCES=	datasize memorysize stacksize

 .include	"../../graphics/freetype2/"
-.include	"../../graphics/gdk-pixbuf/"
 .include	"../../graphics/jpeg/"
 .include	"../../graphics/png/"
+.ifdef BUILD_GTK2
+.include	"../../net/libIDL/"
+.include	"../../x11/gtk2/"
+CONFIGURE_ARGS+= --enable-default-toolkit=gtk2
+.include	"../../graphics/gdk-pixbuf/"
 .include	"../../net/ORBit/"
 .include	"../../x11/gtk/"
+CONFIGURE_ARGS+= --enable-default-toolkit=gtk

 # NetBSD-*-m68k builds, but "regchrome" dumps core.
 NOT_FOR_PLATFORM=	NetBSD-1.4.*-* NetBSD-*-m68k
cvs server: Diffing www/mozilla/files
Index: www/mozilla/files/moz-install
RCS file: /cvsroot/pkgsrc/www/mozilla/files/moz-install,v
retrieving revision 1.7
diff -b -u -r1.7 moz-install
--- www/mozilla/files/moz-install	2003/05/13 10:23:19	1.7
+++ www/mozilla/files/moz-install	2003/10/20 16:04:33
@@ -38,6 +38,12 @@

+# install PKGCONFIG
+for i in `${SED} -n -e '/^@comment begin PKGCONFIG$/,/^@comment end PKGCONFIG$/p' ${TMP_PLIST} | ${EGREP} -v ^@comment` ; do
+	src=`echo $i | ${SED} -e "s@lib/pkgconfig@build/unix@"`;
 # install DATA
 for i in `${SED} -n -e '/^@comment begin DATA$/,/^@comment end DATA$/p' ${TMP_PLIST} | ${EGREP} -v ^@comment` ; do
 	src=`echo $i | ${SED} -e "s@lib/${MOZILLA}@dist/bin@"`;
cvs server: Diffing www/mozilla/patches