From owner-freebsd-ports Wed Aug 7 20: 0:19 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53F5037B400 for ; Wed, 7 Aug 2002 20:00:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4D7843E70 for ; Wed, 7 Aug 2002 20:00:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g78304JU021415 for ; Wed, 7 Aug 2002 20:00:04 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g78304FP021414; Wed, 7 Aug 2002 20:00:04 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 317F937B401 for ; Wed, 7 Aug 2002 19:52:00 -0700 (PDT) Received: from nox.cx (nox.cx [216.12.18.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89DAD43E75 for ; Wed, 7 Aug 2002 19:51:59 -0700 (PDT) (envelope-from zakj@nox.cx) Received: (qmail 2455 invoked by uid 1000); 8 Aug 2002 02:52:49 -0000 Message-Id: <20020808025249.2454.qmail@nox.cx> Date: 8 Aug 2002 02:52:49 -0000 From: Zak Johnson Reply-To: Zak Johnson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/41434: New port: www/light: another Mozilla-based browser Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 41434 >Category: ports >Synopsis: New port: www/light: another Mozilla-based browser >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 07 20:00:03 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Zak Johnson >Release: FreeBSD 4.6.1-RELEASE-p5 i386 >Organization: >Environment: System: FreeBSD opiate.nox.cx 4.6.1-RELEASE-p5 FreeBSD 4.6.1-RELEASE-p5 #4: Thu Aug 1 00:21:44 EDT 2002 root@opiate.nox.cx:/usr/obj/usr/src/sys/GENERIC i386 >Description: This is a port of light, a very lightweight front-end to the Mozilla HTML rendering engine. While most projects of this nature seem to be trying to duplicate Mozilla using the GTK+ interface, the primary goal of this project is to provide a quick and easy-to-use browser. It uses the same shortcut keys as Netscape 4.x. WWW: http://www.ne.jp/asahi/linux/timecop/#light >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # light # light/pkg-comment # light/distinfo # light/pkg-message # light/files # light/files/patch-aa # light/files/patch-ab # light/files/patch-ac # light/pkg-descr # light/Makefile # light/pkg-plist # echo c - light mkdir -p light > /dev/null 2>&1 echo x - light/pkg-comment sed 's/^X//' >light/pkg-comment << 'END-of-light/pkg-comment' XA lightweight web browser based on Mozilla and GTK END-of-light/pkg-comment echo x - light/distinfo sed 's/^X//' >light/distinfo << 'END-of-light/distinfo' XMD5 (light-1.4.12.tar.bz2) = b83da71a3504cbb7812d0b56bf709cd9 END-of-light/distinfo echo x - light/pkg-message sed 's/^X//' >light/pkg-message << 'END-of-light/pkg-message' XYou must add %%PREFIX%%/lib/mozilla-embedded to your LD_LIBRARY_PATH in Xorder to run light. END-of-light/pkg-message echo c - light/files mkdir -p light/files > /dev/null 2>&1 echo x - light/files/patch-aa sed 's/^X//' >light/files/patch-aa << 'END-of-light/files/patch-aa' X--- src/Makefile.in.orig Wed Aug 7 21:37:52 2002 X+++ src/Makefile.in Wed Aug 7 21:39:43 2002 X@@ -10,9 +10,10 @@ X OPT = -O3 X WARN = -Wall X MOZ_CFLAGS = $(OPT) $(WARN) @PTHREAD_CFLAGS@ X-GTK_INCLUDE = $(shell gtk-config --cflags) X-GTK_LIBS = $(shell gtk-config --libs) X-MOZ_INCLUDE = @MOZILLA_INCLUDES@ X+GTK_INCLUDE = `${GTK_CONFIG} --cflags` X+GTK_LIBS = `${GTK_CONFIG} --libs` X+MOZ_INCLUDE = @MOZILLA_INCLUDES@ \ X+ `for i in ${PREFIX}/include/mozilla/*; do test -d $$i && echo -I$$i; done` X MOZ_LIBS = @MOZILLA_LIBS@ X X CFLAGS = $(MOZ_CFLAGS) $(GTK_INCLUDE) $(MOZ_INCLUDE) @DEFS@ END-of-light/files/patch-aa echo x - light/files/patch-ab sed 's/^X//' >light/files/patch-ab << 'END-of-light/files/patch-ab' X--- src/main.c.orig Fri Jun 7 22:06:52 2002 X+++ src/main.c Wed Aug 7 22:30:55 2002 X@@ -2,7 +2,6 @@ X #include X #include X #include X-#include X #include X #include X #include X@@ -32,6 +31,7 @@ X X /* edit as necessary */ X static char *searchpath[] = { X+ "/usr/X11R6/lib/mozilla-embedded", /* FreeBSD */ X "/usr/local/mozilla", /* me */ X "/usr/lib/mozilla", /* monkey-spank */ X "/opt/mozilla", /* roothat */ END-of-light/files/patch-ab echo x - light/files/patch-ac sed 's/^X//' >light/files/patch-ac << 'END-of-light/files/patch-ac' X--- src/moz_cb.c.orig Wed Aug 7 21:34:39 2002 X+++ src/moz_cb.c Wed Aug 7 21:33:02 2002 X@@ -420,7 +420,9 @@ X /* get the mouse event info */ X info = g_new0(MouseEventInfo, 1); X rv = moz_mouse_info(event, info, browser); X+ /* X g_print("Got %d from moz_mouse_info\n", rv); X+ */ X X switch (info->button) { X case 2: END-of-light/files/patch-ac echo x - light/pkg-descr sed 's/^X//' >light/pkg-descr << 'END-of-light/pkg-descr' XThis is a port of light, a very lightweight front-end to the Mozilla HTML Xrendering engine. While most projects of this nature seem to be trying to Xduplicate Mozilla using the GTK+ interface, the primary goal of this project is Xto provide a quick and easy-to-use browser. It uses the same shortcut keys as XNetscape 4.x. X XWWW: http://www.ne.jp/asahi/linux/timecop/#light END-of-light/pkg-descr echo x - light/Makefile sed 's/^X//' >light/Makefile << 'END-of-light/Makefile' X# New ports collection makefile for: light X# Date created: 1 August 2002 X# Whom: zakj-ports@nox.cx X# X# $FreeBSD$ X# X XPORTNAME= light XPORTVERSION= 1.4.12 XCATEGORIES= www XMASTER_SITES= http://www.ne.jp/asahi/linux/timecop/software/ X XMAINTAINER= zakj-ports@nox.cx X XBUILD_DEPENDS= ${X11BASE}/include/mozilla/gtkembedmoz/gtkmozembed.h:${PORTSDIR}/www/mozilla-headers \ X ${X11BASE}/lib/mozilla-embedded/libgtkembedmoz.so:${PORTSDIR}/www/mozilla-embedded XRUN_DEPENDS= ${X11BASE}/lib/mozilla-embedded/libgtkembedmoz.so:${PORTSDIR}/www/mozilla-embedded X XGNU_CONFIGURE= yes XCONFIGURE_ARGS= --with-mozilla-includes=${PREFIX}/include/mozilla \ X --with-mozilla-libs=${PREFIX}/lib/mozilla-embedded XUSE_BZIP2= yes XUSE_GTK= yes XUSE_X_PREFIX= yes X Xdo-install: X @${INSTALL_PROGRAM} ${WRKSRC}/src/light ${PREFIX}/bin X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include END-of-light/Makefile echo x - light/pkg-plist sed 's/^X//' >light/pkg-plist << 'END-of-light/pkg-plist' Xbin/light END-of-light/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message