aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-04-05 12:11:04 +0800
committermarcus <marcus@FreeBSD.org>2004-04-05 12:11:04 +0800
commitbb824e9df05169747b266e8c21270766a596bc87 (patch)
tree3e4e4a4d047efda62c8a70f210616e47304ee536 /www
parentc3524a0a0ed5be176ebcb58f4fc95624e9c1204c (diff)
downloadfreebsd-ports-graphics-bb824e9df05169747b266e8c21270766a596bc87.tar.gz
freebsd-ports-graphics-bb824e9df05169747b266e8c21270766a596bc87.tar.zst
freebsd-ports-graphics-bb824e9df05169747b266e8c21270766a596bc87.zip
Add epiphany-extensions, a set of add-ons for the Epiphany webbrowser. They
include popup blockers, mouse gestures, HTML validators, and more.
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/epiphany-extensions/Makefile85
-rw-r--r--www/epiphany-extensions/distinfo2
-rw-r--r--www/epiphany-extensions/files/patch-configure13
-rw-r--r--www/epiphany-extensions/files/patch-extensions_dashboard_dashboard-frontend-xmlwriter.c10
-rw-r--r--www/epiphany-extensions/files/patch-extensions_error-viewer_link-checker.c15
-rw-r--r--www/epiphany-extensions/pkg-descr9
-rw-r--r--www/epiphany-extensions/pkg-plist49
8 files changed, 184 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index a2382cd6ace..760a36588ff 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -86,6 +86,7 @@
SUBDIR += emacs-w3m-xemacs21-mule
SUBDIR += emp
SUBDIR += epiphany
+ SUBDIR += epiphany-extensions
SUBDIR += erwn
SUBDIR += evg
SUBDIR += fcgi
diff --git a/www/epiphany-extensions/Makefile b/www/epiphany-extensions/Makefile
new file mode 100644
index 00000000000..e0fc720eb38
--- /dev/null
+++ b/www/epiphany-extensions/Makefile
@@ -0,0 +1,85 @@
+# Ports collection Makefile for: epiphany-extensions
+# Date created: 30 December 2003
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= epiphany
+PORTVERSION= 0.8.1
+CATEGORIES= www gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}${PKGNAMESUFFIX}/0.8
+PKGNAMESUFFIX= -extensions
+DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A set of add-ons for the Epiphany web browser
+
+BUILD_DEPENDS= epiphany:${PORTSDIR}/www/epiphany \
+ ${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA}
+RUN_DEPENDS= epiphany:${PORTSDIR}/www/epiphany \
+ ${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA}
+
+MOZILLA= mozilla
+HEADERS_SUFX=
+
+MOZ_CONFIGURE_ARGS= --with-mozilla-snapshot="1.6"
+
+.if !defined(WITH_MOZILLA)
+MOZILLA= mozilla
+HEADERS_SUFX=
+.else
+.if ${WITH_MOZILLA}=="mozilla-devel" || ${WITH_MOZILLA}=="mozilla-devel-gtk2"
+MOZILLA= mozilla-devel
+HEADERS_SUFX= -devel
+MOZ_CONFIGURE_ARGS= --with-mozilla-snapshot="1.7b"
+.else
+MOZILLA= mozilla
+HEADERS_SUFX=
+.endif
+.endif
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GNOME= gnomeprefix gnomehack lthack gnometarget
+USE_LIBTOOL_VER=13
+USE_GMAKE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
+ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+CONFIGURE_ARGS= --with-extensions="all" \
+ ${MOZ_CONFIGURE_ARGS}
+
+.if defined(PACKAGE_BUILDING) || defined(PARALLEL_PACKAGE_BUILD)
+.undef WITHOUT_OPENSP
+WITH_OPENSP= yes
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/lib/libosp.so)
+WITH_OPENSP= yes
+.endif
+
+.if defined(WITH_OPENSP)
+CONFIGURE_ARGS+= --enable-opensp=yes
+.else
+CONFIGURE_ARGS+= --enable-opensp=no
+.endif
+
+pre-everything::
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} " By default epiphany-extensions builds with www/mozilla support, but you can"
+ @${ECHO_MSG} " change this by defining WITH_MOZILLA to one of the following values:"
+ @${ECHO_MSG}
+ @${ECHO_MSG} " mozilla-devel "
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "Epiphany-extensions also supports the following tunable option(s):"
+ @${ECHO_MSG} " WITH_OPENSP=yes Enable support for OpenSP SGML validation"
+ @${ECHO_MSG} ""
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|mozilla-gtkmozembed|mozilla-gtkmozembed${HEADERS_SUFX}|g' ${WRKSRC}/configure
+
+.include <bsd.port.post.mk>
diff --git a/www/epiphany-extensions/distinfo b/www/epiphany-extensions/distinfo
new file mode 100644
index 00000000000..ad69a91f161
--- /dev/null
+++ b/www/epiphany-extensions/distinfo
@@ -0,0 +1,2 @@
+MD5 (gnome2/epiphany-extensions-0.8.1.tar.bz2) = 9cf0e3175ce7ddfd512968ca9168fc18
+SIZE (gnome2/epiphany-extensions-0.8.1.tar.bz2) = 368872
diff --git a/www/epiphany-extensions/files/patch-configure b/www/epiphany-extensions/files/patch-configure
new file mode 100644
index 00000000000..3d1a72f41af
--- /dev/null
+++ b/www/epiphany-extensions/files/patch-configure
@@ -0,0 +1,13 @@
+--- configure.orig Mon Feb 2 01:47:03 2004
++++ configure Mon Feb 2 01:47:33 2004
+@@ -22050,6 +22050,10 @@
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
++else
++
++ HAVE_OPENSP_TRUE='#'
++ HAVE_OPENSP_FALSE=
+
+ fi
+
diff --git a/www/epiphany-extensions/files/patch-extensions_dashboard_dashboard-frontend-xmlwriter.c b/www/epiphany-extensions/files/patch-extensions_dashboard_dashboard-frontend-xmlwriter.c
new file mode 100644
index 00000000000..7ade3da726f
--- /dev/null
+++ b/www/epiphany-extensions/files/patch-extensions_dashboard_dashboard-frontend-xmlwriter.c
@@ -0,0 +1,10 @@
+--- extensions/dashboard/dashboard-frontend-xmlwriter.c.orig Mon Feb 2 01:48:57 2004
++++ extensions/dashboard/dashboard-frontend-xmlwriter.c Mon Feb 2 01:49:39 2004
+@@ -32,6 +32,7 @@
+ #include <unistd.h>
+ #include <sys/socket.h>
+ #include <sys/types.h>
++#include <sys/time.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <fcntl.h>
diff --git a/www/epiphany-extensions/files/patch-extensions_error-viewer_link-checker.c b/www/epiphany-extensions/files/patch-extensions_error-viewer_link-checker.c
new file mode 100644
index 00000000000..4ba1036bede
--- /dev/null
+++ b/www/epiphany-extensions/files/patch-extensions_error-viewer_link-checker.c
@@ -0,0 +1,15 @@
+--- extensions/error-viewer/link-checker.c.orig Sun Mar 7 20:04:15 2004
++++ extensions/error-viewer/link-checker.c Sun Mar 7 20:04:39 2004
+@@ -111,10 +111,10 @@
+ static gboolean
+ link_checker_append_internal (gpointer data)
+ {
++ LinkCheckerAppendCBData *append_data;
+ g_return_if_fail (data != NULL);
+
+- LinkCheckerAppendCBData *append_data =
+- (LinkCheckerAppendCBData *) data;
++ append_data = (LinkCheckerAppendCBData *) data;
+
+ g_return_if_fail (IS_LINK_CHECKER (append_data->checker));
+ g_return_if_fail (IS_ERROR_VIEWER
diff --git a/www/epiphany-extensions/pkg-descr b/www/epiphany-extensions/pkg-descr
new file mode 100644
index 00000000000..220193f34ca
--- /dev/null
+++ b/www/epiphany-extensions/pkg-descr
@@ -0,0 +1,9 @@
+Epiphany-extensions is a set of plugins for the Epiphany web browser that
+extend its base functionality. Currently, the following extensions are
+supported:
+
+* Mouse gestures
+* Pop-up blocker
+* Tabs menu
+
+WWW: http://savannah.nongnu.org/projects/ephyplugins/
diff --git a/www/epiphany-extensions/pkg-plist b/www/epiphany-extensions/pkg-plist
new file mode 100644
index 00000000000..1ebf041a9f0
--- /dev/null
+++ b/www/epiphany-extensions/pkg-plist
@@ -0,0 +1,49 @@
+lib/epiphany/extensions/libcertificatesextension.a
+lib/epiphany/extensions/libcertificatesextension.so
+lib/epiphany/extensions/libcertificatesextension.so.0
+lib/epiphany/extensions/libdashboardextension.a
+lib/epiphany/extensions/libdashboardextension.so
+lib/epiphany/extensions/libdashboardextension.so.0
+lib/epiphany/extensions/liberrorviewerextension.a
+lib/epiphany/extensions/liberrorviewerextension.so
+lib/epiphany/extensions/liberrorviewerextension.so.0
+lib/epiphany/extensions/libgesturesextension.a
+lib/epiphany/extensions/libgesturesextension.so
+lib/epiphany/extensions/libgesturesextension.so.0
+lib/epiphany/extensions/libpopupblockerextension.a
+lib/epiphany/extensions/libpopupblockerextension.so
+lib/epiphany/extensions/libpopupblockerextension.so.0
+lib/epiphany/extensions/libtabsmenuextension.a
+lib/epiphany/extensions/libtabsmenuextension.so
+lib/epiphany/extensions/libtabsmenuextension.so.0
+share/gnome/epiphany-extensions/ephy-gestures.xml
+share/gnome/epiphany-extensions/glade/error-viewer.glade
+share/gnome/epiphany-extensions/icons/popup-blocker.svg
+share/locale/ca/LC_MESSAGES/epiphany-extensions-1.0.mo
+share/locale/cs/LC_MESSAGES/epiphany-extensions-1.0.mo
+share/locale/da/LC_MESSAGES/epiphany-extensions-1.0.mo
+share/locale/de/LC_MESSAGES/epiphany-extensions-1.0.mo
+share/locale/el/LC_MESSAGES/epiphany-extensions-1.0.mo
+share/locale/en_GB/LC_MESSAGES/epiphany-extensions-1.0.mo
+share/locale/es/LC_MESSAGES/epiphany-extensions-1.0.mo
+share/locale/fr/LC_MESSAGES/epiphany-extensions-1.0.mo
+share/locale/hr/LC_MESSAGES/epiphany-extensions-1.0.mo
+share/locale/hu/LC_MESSAGES/epiphany-extensions-1.0.mo
+share/locale/it/LC_MESSAGES/epiphany-extensions-1.0.mo
+share/locale/ja/LC_MESSAGES/epiphany-extensions-1.0.mo
+share/locale/lt/LC_MESSAGES/epiphany-extensions-1.0.mo
+share/locale/nl/LC_MESSAGES/epiphany-extensions-1.0.mo
+share/locale/no/LC_MESSAGES/epiphany-extensions-1.0.mo
+share/locale/pa/LC_MESSAGES/epiphany-extensions-1.0.mo
+share/locale/pt/LC_MESSAGES/epiphany-extensions-1.0.mo
+share/locale/pt_BR/LC_MESSAGES/epiphany-extensions-1.0.mo
+share/locale/sk/LC_MESSAGES/epiphany-extensions-1.0.mo
+share/locale/sq/LC_MESSAGES/epiphany-extensions-1.0.mo
+share/locale/sr/LC_MESSAGES/epiphany-extensions-1.0.mo
+share/locale/sr@Latn/LC_MESSAGES/epiphany-extensions-1.0.mo
+share/locale/sv/LC_MESSAGES/epiphany-extensions-1.0.mo
+@dirrm share/gnome/epiphany-extensions/icons
+@dirrm share/gnome/epiphany-extensions/glade
+@dirrm share/gnome/epiphany-extensions
+@dirrm lib/epiphany/extensions
+@dirrm lib/epiphany