Date: Tue, 6 Apr 2004 08:41:06 -0400 From: michael johnson <ahze@ahze.net> To: ports@FreeBSD.org, FreeBSD GNOME Users <gnome@freebsd.org> Cc: michael johnson <ahze@ahze.net> Subject: [(almost)new port, www/kazehakase] -- gecko browser -- Needs testing and I can not fully build on 4.9-STABLE Message-ID: <AC72F8E2-87C7-11D8-9546-000A958C81C6@ahze.net>
next in thread | raw e-mail | index | archive | help
Hi, This is about 99% of a new port, www/kazehakase, which is browser with gecko engine like Epiphany or Galeon. I am fully able to build and run this on 5.2-CURRENT and I've got most of the errors out of 4.9, but there is still a few errors in the build with 4.9 which I am hoping some of you will help me find and fix. Note: - kazehakase will build and run with mozilla or mozilla-devel but will crash with mozilla-devel if you try to download anything. I assume since this will use mozilla the maintainer will need to be gnome@freebsd.org? This is one great browser, it is very fast and light weight and has features not found in epiphany or galeon. (http://kazehakase.sourceforge.jp/) michael # 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: # # kazehakase # kazehakase/pkg-descr # kazehakase/Makefile # kazehakase/pkg-plist # kazehakase/distinfo # kazehakase/files # kazehakase/files/patch-src::kazehakase.in # kazehakase/files/patch-etc::bookmarkbar.xml # kazehakase/files/patch-src::actions::kz-scrap-bookmark-action.c # echo c - kazehakase mkdir -p kazehakase > /dev/null 2>&1 echo x - kazehakase/pkg-descr sed 's/^X//' >kazehakase/pkg-descr << 'END-of-kazehakase/pkg-descr' XKazehakase is a browser with gecko engine like Epiphany or Galeon. X XMain features: X X o Tabbed browsing X o Remote bookmark (e.g. RSS) in menu or sidebar X It is able to update periodically X o In Japan, there are other remote bookmarks, for instance, LIRS X (In Japanese), hina-di (In Japanese) , Kazehakase can handle these ones. X o Variable UI (menus, toolbar etc.) on user level X o Customizable mouse gestures X o Customizable key accelerator X XWWW: http://kazehakase.sourceforge.jp/ END-of-kazehakase/pkg-descr echo x - kazehakase/Makefile sed 's/^X//' >kazehakase/Makefile << 'END-of-kazehakase/Makefile' X# New ports collection makefile for: kazehakase X# Date created: 2004-04-06 X# Whom: michael johnson <ahze@ahze.net> X# X# $FreeBSD$ X# X XPORTNAME= kazehakase XPORTVERSION= 0.1.4 XCATEGORIES= www XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP} XMASTER_SITE_SUBDIR= ${PORTNAME}/8924/ X XMAINTAINER= gnome@FreeBSD.org XCOMMENT= Kazehakase is a browser with gecko engine like Epiphany or Galeon X XBUILD_DEPENDS= ${X11BASE}/lib/${MOZILLA}/components/ libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA} XRUN_DEPENDS= ${X11BASE}/lib/${MOZILLA}/components/ libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA} X XMOZILLA= mozilla XHEADERS_SUFX= X X.if !defined(WITH_MOZILLA) XMOZILLA= mozilla XHEADERS_SUFX= X.else X# 1.7b works but dies when you try to download anything. X#.if ${WITH_MOZILLA}=="mozilla-devel" || ${WITH_MOZILLA}=="mozilla-devel-gtk2" X#MOZILLA= mozilla-devel X#HEADERS_SUFX= -devel X#.else XMOZILLA= mozilla XHEADERS_SUFX= X#.endif X.endif X XUSE_LIBTOOL_VER=13 XUSE_X_PREFIX= yes XUSE_GNOME= gnomehack intlhack gnomeprefix gtk20 XUSE_GMAKE= yes XUSE_REINPLACE= yes XCONFIGURE_ARGS= --with-mozilla-includes="${X11BASE}/include/ mozilla${HEADERS_SUFX}" \ X --with-mozilla-libs="${X11BASE}/lib/${MOZILLA}" \ XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \ X LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" X XFLASHPLAYER= ${LOCALBASE}/lib/libflashplayer.so.1 X X.include <bsd.port.pre.mk> X Xpost-patch: X @${REINPLACE_CMD} -e 's|mozilla-gtkmozembed|mozilla-gtkmozembed${HEADERS_SUFX}|g' \ X ${WRKSRC}/configure X @${REINPLACE_CMD} -e 's|%%FLASHPLAYER%%|${FLASHPLAYER}|; \ X s|%%PREFIX%%|${PREFIX}|' \ X ${WRKSRC}/src/kazehakase.in X @${REINPLACE_CMD} -e 's|regex.h|gnuregex.h|' \ X ${WRKSRC}/src/prefs_ui/prefs_location_entry.c X X.include <bsd.port.post.mk> END-of-kazehakase/Makefile echo x - kazehakase/pkg-plist sed 's/^X//' >kazehakase/pkg-plist << 'END-of-kazehakase/pkg-plist' Xbin/kazehakase Xbin/kz Xetc/kazehakase/bookmarkbar.xml Xetc/kazehakase/bookmarks.xml Xetc/kazehakase/kz-ui-beginner.xml Xetc/kazehakase/kz-ui-bookmarks.xml Xetc/kazehakase/kz-ui-expert.xml Xetc/kazehakase/kz-ui-medium.xml Xetc/kazehakase/kzrc Xetc/kazehakase/proxyrc Xshare/gnome/applications/kazehakase.desktop Xshare/gnome/kazehakase/icons/kz-anchor.png Xshare/gnome/kazehakase/icons/kz-bookmark.png Xshare/gnome/kazehakase/icons/kz-folder-open.png Xshare/gnome/kazehakase/icons/kz-folder.png Xshare/gnome/kazehakase/icons/kz-google.png Xshare/gnome/kazehakase/icons/kz-green.png Xshare/gnome/kazehakase/icons/kz-logo-bg.png Xshare/gnome/kazehakase/icons/kz-logo.png Xshare/gnome/kazehakase/icons/kz-red.png Xshare/gnome/kazehakase/icons/kz-separator.png Xshare/gnome/pixmaps/kazehakase-icon.png X@dirrm etc/kazehakase X@dirrm share/gnome/kazehakase/icons X@dirrm share/gnome/kazehakase X END-of-kazehakase/pkg-plist echo x - kazehakase/distinfo sed 's/^X//' >kazehakase/distinfo << 'END-of-kazehakase/distinfo' XMD5 (kazehakase-0.1.4.tar.gz) = 71ae4218a2aebcb1baa1a13dbcc5f0b9 XSIZE (kazehakase-0.1.4.tar.gz) = 799810 END-of-kazehakase/distinfo echo c - kazehakase/files mkdir -p kazehakase/files > /dev/null 2>&1 echo x - kazehakase/files/patch-src::kazehakase.in sed 's/^X//' >kazehakase/files/patch-src::kazehakase.in << 'END-of-kazehakase/files/patch-src::kazehakase.in' X--- src/kazehakase.in.orig Tue Apr 6 05:45:07 2004 X+++ src/kazehakase.in Tue Apr 6 05:45:32 2004 X@@ -17,4 +17,9 @@ X MOZILLA_FIVE_HOME=$MOZILLA_HOME X export MOZILLA_FIVE_HOME X X-exec "$dist_bin/kz" "$@" X+if [ -f %%FLASHPLAYER%% ]; then X+ LD_PRELOAD=%%FLASHPLAYER%% X+ export LD_PRELOAD X+fi X+ X+exec "%%PREFIX%%/bin/kz" "$@" END-of-kazehakase/files/patch-src::kazehakase.in echo x - kazehakase/files/patch-etc::bookmarkbar.xml sed 's/^X//' >kazehakase/files/patch-etc::bookmarkbar.xml << 'END-of-kazehakase/files/patch-etc::bookmarkbar.xml' X--- etc/bookmarkbar.xml.orig Sat Mar 27 22:23:39 2004 X+++ etc/bookmarkbar.xml Tue Apr 6 05:01:58 2004 X@@ -2,6 +2,24 @@ X <xbel version="1.0" folded="none"> X <title>BookmarkBar</title> X <folder> X+ <title>FreeBSD News</title> X+ <info> X+ <metadata owner="http://kazehakase.sourceforge.jp/"> X+ <location>http://www.freebsd.org/news/news.rdf</location> X+ <update_interval>60</update_interval> X+ </metadata> X+ </info> X+ </folder> X+ <folder> X+ <title>FreshPorts</title> X+ <info> X+ <metadata owner="http://kazehakase.sourceforge.jp/"> X+ <location>http://www.freshports.org/news.php</location> X+ <update_interval>60</update_interval> X+ </metadata> X+ </info> X+ </folder> X+ <folder> X <title>/.J</title> X <info> X <metadata owner="http://kazehakase.sourceforge.jp/"> END-of-kazehakase/files/patch-etc::bookmarkbar.xml echo x - kazehakase/files/patch-src::actions::kz-scrap-bookmark-action.c sed 's/^X//' >kazehakase/files/patch-src::actions::kz-scrap-bookmark-action.c << 'END-of-kazehakase/files/patch-src::actions::kz-scrap-bookmark- action.c' X--- src/actions/kz-scrap-bookmark-action.c.orig Fri Mar 26 09:26:09 2004 X+++ src/actions/kz-scrap-bookmark-action.c Tue Apr 6 06:27:14 2004 X@@ -213,6 +213,7 @@ X { X KzBookmark *scrap; X KzWindow *kz; X+ const gchar *uri; X X scrap = KZ_SCRAP_BOOKMARK_ACTION(action)->scrap; X g_return_if_fail(KZ_IS_BOOKMARK(scrap)); X@@ -220,7 +221,7 @@ X kz = KZ_SCRAP_BOOKMARK_ACTION(action)->kz; X if (!KZ_IS_WINDOW(kz)) return; X X- const gchar *uri = kz_bookmark_get_link(scrap); X+ uri = kz_bookmark_get_link(scrap); X X kz_window_load_url(kz, uri); X } END-of-kazehakase/files/patch-src::actions::kz-scrap-bookmark-action.c exit
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AC72F8E2-87C7-11D8-9546-000A958C81C6>