diff options
author | simonb <simonb> | 2001-08-09 07:56:24 +0000 |
---|---|---|
committer | simonb <simonb> | 2001-08-09 07:56:24 +0000 |
commit | a15bb19d35d122e996623792bd7395dcfce7ef46 (patch) | |
tree | 91635a822a56c269e01b5ece15e6b2df2a9386e4 /www | |
parent | 86a0ff3e705edad6acd4a4e4679dd039ad2251b3 (diff) | |
download | pkgsrc-a15bb19d35d122e996623792bd7395dcfce7ef46.tar.gz |
Initial package for skipstone (version 0.7.4) - another light-weight(!)
brower based on the Mozilla renderer.
Diffstat (limited to 'www')
-rw-r--r-- | www/skipstone/Makefile | 21 | ||||
-rw-r--r-- | www/skipstone/distinfo | 8 | ||||
-rw-r--r-- | www/skipstone/patches/patch-aa | 34 | ||||
-rw-r--r-- | www/skipstone/patches/patch-ab | 16 | ||||
-rw-r--r-- | www/skipstone/patches/patch-ac | 34 | ||||
-rw-r--r-- | www/skipstone/patches/patch-ad | 36 | ||||
-rw-r--r-- | www/skipstone/pkg/DESCR | 2 | ||||
-rw-r--r-- | www/skipstone/pkg/PLIST | 14 |
8 files changed, 165 insertions, 0 deletions
diff --git a/www/skipstone/Makefile b/www/skipstone/Makefile new file mode 100644 index 00000000000..25f9affa40e --- /dev/null +++ b/www/skipstone/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/08/09 07:56:24 simonb Exp $ +# + +DISTNAME= skipstone-0.7.4 +CATEGORIES= www +MASTER_SITES= http://www.muhri.net/skipstone/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.muhri.net/skipstone/ +COMMENT= Gtk+ web browser that embeds Mozilla's renderer + +DEPENDS+= mozilla>=0.9:../../www/mozilla + +USE_GMAKE= yes + +post-patch: + ${SED} -e s,@PREFIX@,${PREFIX},g \ + < ${WRKSRC}/src/skipstone > ${WRKSRC}/src/skipstone.tmp + ${MV} ${WRKSRC}/src/skipstone.tmp ${WRKSRC}/src/skipstone + +.include "../../mk/bsd.pkg.mk" diff --git a/www/skipstone/distinfo b/www/skipstone/distinfo new file mode 100644 index 00000000000..f23d9548aaa --- /dev/null +++ b/www/skipstone/distinfo @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/08/09 07:56:24 simonb Exp $ + +SHA1 (skipstone-0.7.4.tar.gz) = 49c7962dad50a9a382eba67f5cdca68881544e88 +Size (skipstone-0.7.4.tar.gz) = 451953 bytes +SHA1 (patch-aa) = d2ce0a3816dd153b77528d1818432fd438d8b70a +SHA1 (patch-ab) = 82dc54fe4c1d084a846e2c5245acdaaecb2c8ea6 +SHA1 (patch-ac) = 47579c822dda858eec4330cb1da2f8ffdd331eec +SHA1 (patch-ad) = e8c424287f4c46298d6a3e976b4176a3f44c8d40 diff --git a/www/skipstone/patches/patch-aa b/www/skipstone/patches/patch-aa new file mode 100644 index 00000000000..c77994f0f7b --- /dev/null +++ b/www/skipstone/patches/patch-aa @@ -0,0 +1,34 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/08/09 07:56:24 simonb Exp $ + +--- config.mk.orig Mon Jul 2 21:41:30 2001 ++++ config.mk Thu Jul 19 14:53:31 2001 +@@ -1,17 +1,12 @@ +-PREFIX=/usr/local ++#PREFIX=/usr/local + PLUGINDIR=$(HOME)/.skipstone/plugins + + MOZILLA_INCLUDES = \ +- -I/usr/include/mozilla \ +- -I/usr/local/include/mozilla \ +- -I/usr/include/nspr \ +- -I/usr/local/include/nspr \ +- -I/usr/include/mozilla/nspr \ +- -I/usr/local/include/mozilla/nspr ++ -I${PREFIX}/include/mozilla/nspr \ ++ -I${PREFIX}/include/mozilla + + MOZILLA_LIBS = \ +- -L/usr/lib/mozilla \ +- -L/usr/local/lib/mozilla \ ++ -L${PREFIX}/lib/mozilla -Wl,-R${PREFIX}/lib/mozilla \ + -lgtkembedmoz -lplds4 -lplc4 -lnspr4 -lgtksuperwin -lxpcom + + GTK_LIBS = $(shell gtk-config --libs) +@@ -21,6 +16,7 @@ + CXX = g++ + + CPPFLAGS = $(GTK_INCLUDES) $(MOZILLA_INCLUDES) ++CPPFLAGS += -DPREFIX=\"${PREFIX}\" + CFLAGS = -g -O2 -Wall + CXXFLAGS = $(CFLAGS) -fno-rtti + diff --git a/www/skipstone/patches/patch-ab b/www/skipstone/patches/patch-ab new file mode 100644 index 00000000000..cfb8a61730a --- /dev/null +++ b/www/skipstone/patches/patch-ab @@ -0,0 +1,16 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/08/09 07:56:24 simonb Exp $ + +--- src/skipstone.h.orig Mon Jul 2 21:41:31 2001 ++++ src/skipstone.h Mon Jul 2 21:43:48 2001 +@@ -38,6 +38,11 @@ + #define SKIPSTONE_SYSTEM_THEME_DIR "/usr/share/skipstone/pixmaps" + #define SKIPSTONE_LOCAL_PLUGIN_DIR "/usr/local/share/skipstone/plugins" + #define SKIPSTONE_SYSTEM_PLUGIN_DIR "/usr/share/skipstone/plugins" ++ ++#undef SKIPSTONE_SYSTEM_THEME_DIR ++#undef SKIPSTONE_SYSTEM_PLUGIN_DIR ++#define SKIPSTONE_SYSTEM_THEME_DIR PREFIX "/share/skipstone/pixmaps" ++#define SKIPSTONE_SYSTEM_PLUGIN_DIR PREFIX "/share/skipstone/plugins" + /*--------*/ + + /* bookmarks */ diff --git a/www/skipstone/patches/patch-ac b/www/skipstone/patches/patch-ac new file mode 100644 index 00000000000..506eaa4c234 --- /dev/null +++ b/www/skipstone/patches/patch-ac @@ -0,0 +1,34 @@ +$NetBSD: patch-ac,v 1.1.1.1 2001/08/09 07:56:24 simonb Exp $ + +--- src/skipstone.orig Tue Jan 16 21:16:06 2001 ++++ src/skipstone Mon Jul 2 21:43:48 2001 +@@ -1,26 +1,3 @@ +-#!/bin/bash +-if test -n "$MOZILLA_FIVE_HOME"; then +- LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH +- export LD_LIBRARY_PATH +- if [ -f ./skipstone-bin ]; then +- exec ./skipstone-bin $@ +- else +- exec skipstone-bin $@ +- fi +-elif [ -f /usr/lib/mozilla/libgtkembedmoz.so ]; then +- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/mozilla +- export MOZILLA_FIVE_HOME=/usr/lib/mozilla +-elif [ -f /usr/local/lib/mozilla/libgtkembedmoz.so ]; then +- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/mozilla +- export MOZILLA_FIVE_HOME=/usr/local/lib/mozilla +-else +- +-echo "Please set your MOZILLA_FIVE_HOME and LD_LIBRARY_PATH manually as I could not find them" +- exit +-fi +- +-if [ -f ./skipstone-bin ]; then +- exec ./skipstone-bin $@ +-else +- exec skipstone-bin $@ +-fi ++#!/bin/sh ++export MOZILLA_FIVE_HOME=@PREFIX@/lib/mozilla ++exec skipstone-bin $@ diff --git a/www/skipstone/patches/patch-ad b/www/skipstone/patches/patch-ad new file mode 100644 index 00000000000..478b6deb33d --- /dev/null +++ b/www/skipstone/patches/patch-ad @@ -0,0 +1,36 @@ +$NetBSD: patch-ad,v 1.1.1.1 2001/08/09 07:56:24 simonb Exp $ + +--- src/mozilla.cpp.orig Thu Jul 19 15:01:42 2001 ++++ src/mozilla.cpp Thu Aug 9 17:09:07 2001 +@@ -3,6 +3,7 @@ + * * + * released under the GPL */ + ++#include <sys/param.h> + #include <gtk/gtk.h> + #include <sys/types.h> + +@@ -121,7 +122,11 @@ + if (NS_FAILED(rv) || !ds) return NS_ERROR_FAILURE; + nsCOMPtr<nsIDocShellHistory> dsHistory = do_QueryInterface (ds); + if (!dsHistory) return NS_ERROR_FAILURE; ++#ifdef NS_WITH_SERVICE + NS_WITH_SERVICE(nsIGlobalHistory, history, NS_GLOBALHISTORY_CONTRACTID, &rv); ++#else ++ nsCOMPtr < nsIGlobalHistory > history = do_GetService(NS_GLOBALHISTORY_CONTRACTID, &rv); ++#endif + if (history) dsHistory->SetGlobalHistory(history); + return rv; + } +@@ -176,7 +181,11 @@ + { + + nsresult result = FALSE; ++#ifdef NS_WITH_SERVICE + NS_WITH_SERVICE(nsIPrintOptions, options, kPrintOptionsCID, &result); ++#else ++ nsCOMPtr < nsIPrintOptions > options = do_GetService(kPrintOptionsCID, &result); ++#endif + if (NS_FAILED(result)) return NS_ERROR_FAILURE; + + if (info->Pages) diff --git a/www/skipstone/pkg/DESCR b/www/skipstone/pkg/DESCR new file mode 100644 index 00000000000..c6fd0f2d64e --- /dev/null +++ b/www/skipstone/pkg/DESCR @@ -0,0 +1,2 @@ +SkipStone is a Gtk+ Web Browser that embeds Mozilla's rendering component +Gecko. It aims to be light and fast with few dependencies. diff --git a/www/skipstone/pkg/PLIST b/www/skipstone/pkg/PLIST new file mode 100644 index 00000000000..90ed33df206 --- /dev/null +++ b/www/skipstone/pkg/PLIST @@ -0,0 +1,14 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/08/09 07:56:24 simonb Exp $ +bin/skipstone +bin/skipstone-bin +bin/skipdownload +share/skipstone/pixmaps/default/back.xpm +share/skipstone/pixmaps/default/config.xpm +share/skipstone/pixmaps/default/forward.xpm +share/skipstone/pixmaps/default/home.xpm +share/skipstone/pixmaps/default/logo.xpm +share/skipstone/pixmaps/default/reload.xpm +share/skipstone/pixmaps/default/stop.xpm +@dirrm share/skipstone/pixmaps/default +@dirrm share/skipstone/pixmaps +@dirrm share/skipstone |