Import kazehakase 0.5.1, a lightweight gtk2 web browser using gecko engine.

It features tabbed browsing, session saving, dynamic bookmarks and
customizable mouse gestures. Uses xulrunner for gecko support and GnuTLS 2
for https:// links.

with feedback and testing from many on ports@, thanks !

"import it, it can't be worse than galeon and epiphany anyway.." ajacoutot@
This commit is contained in:
landry 2008-01-11 14:47:28 +00:00
parent 5355bf9182
commit caaccf6935
8 changed files with 217 additions and 0 deletions

51
www/kazehakase/Makefile Normal file
View File

@ -0,0 +1,51 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/01/11 14:47:28 landry Exp $
COMMENT= lightweight gecko-based web browser
CATEGORIES= www
SHARED_LIBS= kazehakase 0.0 #.1.0
DISTNAME= kazehakase-0.5.1
MASTER_SITES= http://osdn.dl.sourceforge.jp/kazehakase/28710/
#doesn't work
#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP:=kazehakase/}
HOMEPAGE= http://kazehakase.sourceforge.jp/
MAINTAINER= Landry Breuil <gaston@gcu.info>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= devel/gettext \
textproc/intltool
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --with-gecko-engine=xulrunner \
--disable-hyper-estraier \
--without-ruby \
--without-rgettext
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib/xulrunner"
USE_LIBTOOL= Yes
FAKE_FLAGS= sysconfdir=${TRUEPREFIX}/share/examples
BUILD_DEPENDS= :xulrunner-devel->=1.8:devel/xulrunner,-devel
RUN_DEPENDS= ::devel/desktop-file-utils
LIB_DEPENDS= gdk-x11-2.0.>=1000,gdk_pixbuf-2.0.>=1000,gtk-x11-2.0.>=1000::x11/gtk+2 \
xulrunner/xpcom:xulrunner->=1.8:devel/xulrunner \
gnutls.>=13::security/gnutls
WANTLIB= ICE SM X11 Xau Xcursor Xdmcp Xext Xfixes Xi Xinerama \
Xrandr Xrender Xcomposite Xdamage c expat fontconfig \
freetype m pthread gpg-error gcrypt z png cairo \
atk-1.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 \
pango-1.0 pangocairo-1.0 pangoft2-1.0 pthread \
glitz nspr4 plc4 plds4 pcre
.include <bsd.port.mk>

5
www/kazehakase/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (kazehakase-0.5.1.tar.gz) = l+BS1ENrrQ+4rTj6NvWScQ==
RMD160 (kazehakase-0.5.1.tar.gz) = WGFJKfSoSYR6emPpdnRuru21i9E=
SHA1 (kazehakase-0.5.1.tar.gz) = CNgY8Z6W7ySzQnHxHPN7vlCsj4U=
SHA256 (kazehakase-0.5.1.tar.gz) = jocYqJlXSq1WhuE0YVweHaJaoiSll2A5u70MeR1pvd0=
SIZE (kazehakase-0.5.1.tar.gz) = 1369134

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2008/01/11 14:47:28 landry Exp $
--- Makefile.in.orig Thu Jan 10 13:18:54 2008
+++ Makefile.in Thu Jan 10 13:19:04 2008
@@ -284,7 +284,7 @@ target_alias = @target_alias@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
ACLOCAL_AMFLAGS = -I macros
-SUBDIRS = po src module ext etc data doc
+SUBDIRS = src module ext etc data doc
EXTRA_DIST = autogen.sh \
README.ja \
TODO.ja \

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-configure,v 1.1.1.1 2008/01/11 14:47:28 landry Exp $
--- configure.orig Sun Oct 28 16:24:23 2007
+++ configure Mon Nov 12 17:45:10 2007
@@ -31037,13 +31037,7 @@ done
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
esac ;;
"rgettext":C)
-sed \
- -i'' \
- -e "s/EXTRA_DISTFILES = /EXTRA_DISTFILES = rgettext.mk.in /
- s/^itlocaledir = /itlocaledir = \$(datadir)\/locale\n#itlocaledir = /
- / \$(GENPOT)/r po/rgettext.mk
- " \
- po/Makefile
+perl -i -pe 's/^itlocaledir = /itlocaledir = \$\(datadir\)\/locale\n#itlocaledir = /' po/Makefile
;;
"po/stamp-it":C)
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"

View File

@ -0,0 +1,34 @@
$OpenBSD: patch-etc_kzrc,v 1.1.1.1 2008/01/11 14:47:28 landry Exp $
--- etc/kzrc.orig Fri Jan 11 11:13:18 2008
+++ etc/kzrc Fri Jan 11 15:36:40 2008
@@ -29,7 +29,7 @@ entry_open_in_new_tab=false
use_migemo=false
migemo_command=migemo -t perl /usr/share/migemo/migemo-dict
-editor_command=gedit %s
+editor_command=xterm -e vi %s
autoscroll_modifier=shift
@@ -113,9 +113,19 @@ content_view_height=220
[Mozilla]
[Session]
-save=false
-restore=false
+save=true
+restore=true
current_session=DefaultSession
+
+[Language]
+intl.charset.default=ISO-8859-15
+
+[Font]
+default=serif
+language_group=x-western
+name_serif_x-western=Bitstream Vera Serif
+name_sans-serif_x-western=Bitstream Vera Sans
+name_monospace_x-western=Bitstream Vera Sans Mono
[Download]
# available: up, down, left, right

7
www/kazehakase/pkg/DESCR Normal file
View File

@ -0,0 +1,7 @@
Kazehakase is a web browser using gecko engine, it features:
* Tabbed browsing
* Session saving
* Remote bookmark (e.g. RSS) in menu or sidebar
* Variable UI (menus, toolbar etc.) on user level
* Customizable mouse gestures
* Customizable key accelerator

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2008/01/11 14:47:28 landry Exp $
lib/kazehakase/embed/gecko.so
@lib lib/kazehakase/libkazehakase.so.${LIBkazehakase_VERSION}

87
www/kazehakase/pkg/PLIST Normal file
View File

@ -0,0 +1,87 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/01/11 14:47:28 landry Exp $
%%SHARED%%
bin/kazehakase
lib/kazehakase/
lib/kazehakase/embed/
lib/kazehakase/embed/gecko.a
lib/kazehakase/embed/gecko.la
lib/kazehakase/libkazehakase.a
lib/kazehakase/libkazehakase.la
lib/kazehakase/search/
@man man/man1/kazehakase.1
share/applications/
share/applications/kazehakase.desktop
share/examples/kazehakase/
@sample ${SYSCONFDIR}/kazehakase/
share/examples/kazehakase/bookmarkbar.xml
@sample ${SYSCONFDIR}/kazehakase/bookmarkbar.xml
share/examples/kazehakase/bookmarks.xml
@sample ${SYSCONFDIR}/kazehakase/bookmarks.xml
share/examples/kazehakase/kz-ui-beginner.xml
@sample ${SYSCONFDIR}/kazehakase/kz-ui-beginner.xml
share/examples/kazehakase/kz-ui-bookmarks.xml
@sample ${SYSCONFDIR}/kazehakase/kz-ui-bookmarks.xml
share/examples/kazehakase/kz-ui-expert.xml
@sample ${SYSCONFDIR}/kazehakase/kz-ui-expert.xml
share/examples/kazehakase/kz-ui-medium.xml
@sample ${SYSCONFDIR}/kazehakase/kz-ui-medium.xml
share/examples/kazehakase/kzrc
@sample ${SYSCONFDIR}/kazehakase/kzrc
share/examples/kazehakase/mozilla/
@sample ${SYSCONFDIR}/kazehakase/mozilla/
share/examples/kazehakase/mozilla/encodings.xml
@sample ${SYSCONFDIR}/kazehakase/mozilla/encodings.xml
share/examples/kazehakase/proxyrc
@sample ${SYSCONFDIR}/kazehakase/proxyrc
share/examples/kazehakase/smartbookmarks.xml
@sample ${SYSCONFDIR}/kazehakase/smartbookmarks.xml
share/kazehakase/
share/kazehakase/icons/
share/kazehakase/icons/autoscroll.xpm
share/kazehakase/icons/kz-anchor.png
share/kazehakase/icons/kz-book-search.png
share/kazehakase/icons/kz-bookmark.png
share/kazehakase/icons/kz-closebackward.png
share/kazehakase/icons/kz-closeforward.png
share/kazehakase/icons/kz-closewindow.png
share/kazehakase/icons/kz-copyimagelocation.png
share/kazehakase/icons/kz-copyurl.png
share/kazehakase/icons/kz-epiphany.png
share/kazehakase/icons/kz-firefox.png
share/kazehakase/icons/kz-folder-open.png
share/kazehakase/icons/kz-folder-search.png
share/kazehakase/icons/kz-folder.png
share/kazehakase/icons/kz-font-decrease.png
share/kazehakase/icons/kz-font-increase.png
share/kazehakase/icons/kz-galeon.png
share/kazehakase/icons/kz-google.png
share/kazehakase/icons/kz-gray.png
share/kazehakase/icons/kz-green.png
share/kazehakase/icons/kz-history.png
share/kazehakase/icons/kz-konqueror.png
share/kazehakase/icons/kz-logo-bg.png
share/kazehakase/icons/kz-logo.png
share/kazehakase/icons/kz-mozilla.png
share/kazehakase/icons/kz-netscape.png
share/kazehakase/icons/kz-newwindow.png
share/kazehakase/icons/kz-openimagewindow.png
share/kazehakase/icons/kz-openlinkwindow.png
share/kazehakase/icons/kz-openselectedlink.png
share/kazehakase/icons/kz-red.png
share/kazehakase/icons/kz-remote-bookmark.png
share/kazehakase/icons/kz-rss-feed.png
share/kazehakase/icons/kz-savelink.png
share/kazehakase/icons/kz-scrap-bookmark.png
share/kazehakase/icons/kz-search.png
share/kazehakase/icons/kz-separator.png
share/kazehakase/icons/kz-smart-bookmark.png
share/kazehakase/icons/kz-tab-next.png
share/kazehakase/icons/kz-tab-prev.png
share/kazehakase/icons/kz-view-source.png
share/kazehakase/icons/kz-yellow.png
share/kazehakase/kz-no-thumbnail.png
share/kazehakase/search-result.css
share/pixmaps/
share/pixmaps/kazehakase-icon.png
@exec %D/bin/update-desktop-database
@unexec %D/bin/update-desktop-database