diff options
Diffstat (limited to 'www/epiphany')
-rw-r--r-- | www/epiphany/Makefile | 73 | ||||
-rw-r--r-- | www/epiphany/distinfo | 2 | ||||
-rw-r--r-- | www/epiphany/files/extra-patch-embed_ephy-embed-prefs.c | 10 | ||||
-rw-r--r-- | www/epiphany/files/patch-embed_ephy-embed-prefs.c | 15 | ||||
-rw-r--r-- | www/epiphany/pkg-descr | 5 | ||||
-rw-r--r-- | www/epiphany/pkg-plist | 214 |
6 files changed, 319 insertions, 0 deletions
diff --git a/www/epiphany/Makefile b/www/epiphany/Makefile new file mode 100644 index 000000000..73b93ff4b --- /dev/null +++ b/www/epiphany/Makefile @@ -0,0 +1,73 @@ +# Created by: Joe Marcus Clarke <marcus@FreeBSD.org> +# $FreeBSD$ +# $MCom: ports/trunk/www/epiphany3/Makefile 18610 2013-06-30 16:33:05Z marcus $ + +PORTNAME= epiphany +PORTVERSION= 3.6.1 +CATEGORIES= www gnome +MASTER_SITES= GNOME +DIST_SUBDIR= gnome3 + +MAINTAINER= gnome@FreeBSD.org +COMMENT?= Extremely lightweight and simple web browser for GNOME 3 + +BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \ + gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas +LIB_DEPENDS= libwebkitgtk-3.0.so:${PORTSDIR}/www/webkit-gtk3 \ + libsoup-gnome-2.4.so:${PORTSDIR}/devel/libsoup-gnome \ + libgcr-3.so:${PORTSDIR}/security/gcr \ + libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification \ + libnss3.so:${PORTSDIR}/security/nss \ + libnotify.so:${PORTSDIR}/devel/libnotify \ + libgnome-keyring.so:${PORTSDIR}/security/libgnome-keyring +RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \ + gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas \ + gnome-icon-theme-symbolic>=0:${PORTSDIR}/x11-themes/gnome-icon-theme-symbolic \ + ${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc/gnome-icon-theme + +USE_LDCONFIG= yes +INSTALLS_ICONS= yes +USE_XZ= yes +USE_PYTHON= yes +USE_SQLITE= 3 +USES= desktop-file-utils gettext gmake pathfix pkgconfig +USE_GNOME= gnomedesktop3 gnomedocutils gnomeprefix intlhack libxml2 +USE_XORG= ice x11 sm +GNU_CONFIGURE= yes +CONFIGURE_ARGS+=--enable-introspection \ + --with-distributor-name="FreeBSD GNOME Project" +# --with-ca-file=${LOCALBASE}/share/certs/ca-root-nss.crt +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +GLIB_SCHEMAS= org.gnome.Epiphany.enums.xml \ + org.gnome.epiphany.gschema.xml + +PLIST_SUB+= EPHY_VERSION="${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}" + +OPTIONS_DEFINE= AVAHI SPELLCHECK +OPTIONS_DEFAULT=AVAHI SPELLCHECK +SPELLCHECK_DESC=Enable spell checking by default + +.include <bsd.port.options.mk> + +CONFIGURE_ARGS+= --enable-compile-warnings=no + +.if ${PORT_OPTIONS:MAVAHI} +LIB_DEPENDS+= libavahi-gobject.so:${PORTSDIR}/net/avahi-app +.else +CONFIGURE_ARGS+=--disable-zeroconf +.endif + +.if ${PORT_OPTIONS:MSPELLCHECK} +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-embed_ephy-embed-prefs.c +.endif + +post-patch: + @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|-lpthread|${PTHREAD_LIBS}|g' + @${REINPLACE_CMD} -e 's|execinfo.h|#|g ; \ + s|-ldl"$$|"|g' \ + ${WRKSRC}/configure + +.include <bsd.port.mk> diff --git a/www/epiphany/distinfo b/www/epiphany/distinfo new file mode 100644 index 000000000..666b2cddb --- /dev/null +++ b/www/epiphany/distinfo @@ -0,0 +1,2 @@ +SHA256 (gnome3/epiphany-3.6.1.tar.xz) = 1b4e33e02f7653489be9c49d182be84da13348b4ad3cb4c09c643898586a6008 +SIZE (gnome3/epiphany-3.6.1.tar.xz) = 2479828 diff --git a/www/epiphany/files/extra-patch-embed_ephy-embed-prefs.c b/www/epiphany/files/extra-patch-embed_ephy-embed-prefs.c new file mode 100644 index 000000000..ba4557bac --- /dev/null +++ b/www/epiphany/files/extra-patch-embed_ephy-embed-prefs.c @@ -0,0 +1,10 @@ +--- embed/ephy-embed-prefs.c.orig 2011-04-26 00:08:02.000000000 +0200 ++++ embed/ephy-embed-prefs.c 2011-04-28 08:59:55.000000000 +0200 +@@ -482,6 +482,7 @@ ephy_embed_prefs_init (void) + /* Hardcoded settings */ + g_object_set (webkit_settings, + "enable-default-context-menu", FALSE, ++ "enable-spell-checking", TRUE, + "enable-site-specific-quirks", TRUE, + "enable-page-cache", TRUE, + "enable-developer-extras", TRUE, diff --git a/www/epiphany/files/patch-embed_ephy-embed-prefs.c b/www/epiphany/files/patch-embed_ephy-embed-prefs.c new file mode 100644 index 000000000..c3b8340a7 --- /dev/null +++ b/www/epiphany/files/patch-embed_ephy-embed-prefs.c @@ -0,0 +1,15 @@ +--- embed/ephy-embed-prefs.c.orig 2010-02-20 04:42:51.000000000 -0500 ++++ embed/ephy-embed-prefs.c 2010-05-08 20:03:20.000000000 -0400 +@@ -322,8 +322,10 @@ webkit_pref_callback_accept_languages (G + langs_str = g_strjoinv (", ", langs); + + /* Update Soup session */ +- session = webkit_get_default_session (); +- g_object_set (G_OBJECT (session), webkit_pref, langs_str, NULL); ++ if (langs_str != NULL && strlen (langs_str) > 0) { ++ session = webkit_get_default_session (); ++ g_object_set (G_OBJECT (session), webkit_pref, langs_str, NULL); ++ } + + g_strfreev (languages); + g_free (langs_str); diff --git a/www/epiphany/pkg-descr b/www/epiphany/pkg-descr new file mode 100644 index 000000000..51066f8d5 --- /dev/null +++ b/www/epiphany/pkg-descr @@ -0,0 +1,5 @@ +Epiphany is a web browser designed to be as lightweight and fast as +possible, at the expense of many of the features found in other +browsers. + +WWW: http://www.gnome.org/projects/epiphany/ diff --git a/www/epiphany/pkg-plist b/www/epiphany/pkg-plist new file mode 100644 index 000000000..78bd5d42a --- /dev/null +++ b/www/epiphany/pkg-plist @@ -0,0 +1,214 @@ +bin/ephy-profile-migrator +bin/epiphany +include/epiphany/%%EPHY_VERSION%%/epiphany/epiphany.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-adblock-manager.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-adblock.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-bookmarks-type-builtins.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-bookmarks.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-dialog.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-download.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-embed-container.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-embed-event.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-embed-prefs.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-embed-shell.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-embed-single.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-embed-type-builtins.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-embed-utils.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-embed.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-extension.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-extensions-manager.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-lib-type-builtins.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-link.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-loader.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-node-db.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-node.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-notebook.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-overview.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-permission-manager.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-session.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-settings.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-shell.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-state.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-type-builtins.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-web-view.h +include/epiphany/%%EPHY_VERSION%%/epiphany/ephy-window.h +lib/girepository-1.0/Epiphany-%%EPHY_VERSION%%.typelib +libdata/pkgconfig/epiphany-%%EPHY_VERSION%%.pc +man/man1/epiphany.1.gz +share/GConf/gsettings/epiphany.convert +share/aclocal/epiphany.m4 +share/applications/epiphany.desktop +share/dbus-1/services/org.gnome.Epiphany.service +share/gir-1.0/Epiphany-%%EPHY_VERSION%%.gir +share/epiphany/about.ini +share/epiphany/default-bookmarks.rdf +share/epiphany/epiphany-bookmarks-html.xsl +share/epiphany/epiphany.xhtml +share/epiphany/mime-types-permissions.xml +share/epiphany/pages/about.css +share/epiphany/pages/error.html +share/epiphany/pages/recovery.html +share/epiphany/icons/missing-thumbnail.png +share/epiphany/icons/thumbnail-frame.png +share/locale/am/LC_MESSAGES/epiphany.mo +share/locale/an/LC_MESSAGES/epiphany.mo +share/locale/ar/LC_MESSAGES/epiphany.mo +share/locale/as/LC_MESSAGES/epiphany.mo +share/locale/ast/LC_MESSAGES/epiphany.mo +share/locale/az/LC_MESSAGES/epiphany.mo +share/locale/be/LC_MESSAGES/epiphany.mo +share/locale/be@latin/LC_MESSAGES/epiphany.mo +share/locale/bg/LC_MESSAGES/epiphany.mo +share/locale/bn/LC_MESSAGES/epiphany.mo +share/locale/bn_IN/LC_MESSAGES/epiphany.mo +share/locale/br/LC_MESSAGES/epiphany.mo +share/locale/bs/LC_MESSAGES/epiphany.mo +share/locale/ca/LC_MESSAGES/epiphany.mo +share/locale/ca@valencia/LC_MESSAGES/epiphany.mo +share/locale/cs/LC_MESSAGES/epiphany.mo +share/locale/cy/LC_MESSAGES/epiphany.mo +share/locale/da/LC_MESSAGES/epiphany.mo +share/locale/de/LC_MESSAGES/epiphany.mo +share/locale/dz/LC_MESSAGES/epiphany.mo +share/locale/el/LC_MESSAGES/epiphany.mo +share/locale/en_CA/LC_MESSAGES/epiphany.mo +share/locale/en_GB/LC_MESSAGES/epiphany.mo +share/locale/en@shaw/LC_MESSAGES/epiphany.mo +share/locale/eo/LC_MESSAGES/epiphany.mo +share/locale/es/LC_MESSAGES/epiphany.mo +share/locale/et/LC_MESSAGES/epiphany.mo +share/locale/eu/LC_MESSAGES/epiphany.mo +share/locale/fa/LC_MESSAGES/epiphany.mo +share/locale/fi/LC_MESSAGES/epiphany.mo +share/locale/fr/LC_MESSAGES/epiphany.mo +share/locale/ga/LC_MESSAGES/epiphany.mo +share/locale/gl/LC_MESSAGES/epiphany.mo +share/locale/gu/LC_MESSAGES/epiphany.mo +share/locale/gv/LC_MESSAGES/epiphany.mo +share/locale/he/LC_MESSAGES/epiphany.mo +share/locale/hi/LC_MESSAGES/epiphany.mo +share/locale/hr/LC_MESSAGES/epiphany.mo +share/locale/hu/LC_MESSAGES/epiphany.mo +share/locale/hy/LC_MESSAGES/epiphany.mo +share/locale/id/LC_MESSAGES/epiphany.mo +share/locale/ig/LC_MESSAGES/epiphany.mo +share/locale/is/LC_MESSAGES/epiphany.mo +share/locale/it/LC_MESSAGES/epiphany.mo +share/locale/ja/LC_MESSAGES/epiphany.mo +share/locale/ka/LC_MESSAGES/epiphany.mo +share/locale/km/LC_MESSAGES/epiphany.mo +share/locale/kn/LC_MESSAGES/epiphany.mo +share/locale/ko/LC_MESSAGES/epiphany.mo +share/locale/ku/LC_MESSAGES/epiphany.mo +share/locale/li/LC_MESSAGES/epiphany.mo +share/locale/lt/LC_MESSAGES/epiphany.mo +share/locale/lv/LC_MESSAGES/epiphany.mo +share/locale/mai/LC_MESSAGES/epiphany.mo +share/locale/mg/LC_MESSAGES/epiphany.mo +share/locale/mi/LC_MESSAGES/epiphany.mo +share/locale/mk/LC_MESSAGES/epiphany.mo +share/locale/ml/LC_MESSAGES/epiphany.mo +share/locale/mn/LC_MESSAGES/epiphany.mo +share/locale/mr/LC_MESSAGES/epiphany.mo +share/locale/ms/LC_MESSAGES/epiphany.mo +share/locale/nb/LC_MESSAGES/epiphany.mo +share/locale/nds/LC_MESSAGES/epiphany.mo +share/locale/ne/LC_MESSAGES/epiphany.mo +share/locale/nl/LC_MESSAGES/epiphany.mo +share/locale/nn/LC_MESSAGES/epiphany.mo +share/locale/oc/LC_MESSAGES/epiphany.mo +share/locale/or/LC_MESSAGES/epiphany.mo +share/locale/pa/LC_MESSAGES/epiphany.mo +share/locale/pl/LC_MESSAGES/epiphany.mo +share/locale/ps/LC_MESSAGES/epiphany.mo +share/locale/pt/LC_MESSAGES/epiphany.mo +share/locale/pt_BR/LC_MESSAGES/epiphany.mo +share/locale/ro/LC_MESSAGES/epiphany.mo +share/locale/ru/LC_MESSAGES/epiphany.mo +share/locale/rw/LC_MESSAGES/epiphany.mo +share/locale/si/LC_MESSAGES/epiphany.mo +share/locale/sk/LC_MESSAGES/epiphany.mo +share/locale/sl/LC_MESSAGES/epiphany.mo +share/locale/sq/LC_MESSAGES/epiphany.mo +share/locale/sr/LC_MESSAGES/epiphany.mo +share/locale/sr@latin/LC_MESSAGES/epiphany.mo +share/locale/sv/LC_MESSAGES/epiphany.mo +share/locale/ta/LC_MESSAGES/epiphany.mo +share/locale/te/LC_MESSAGES/epiphany.mo +share/locale/th/LC_MESSAGES/epiphany.mo +share/locale/tk/LC_MESSAGES/epiphany.mo +share/locale/tr/LC_MESSAGES/epiphany.mo +share/locale/ug/LC_MESSAGES/epiphany.mo +share/locale/uk/LC_MESSAGES/epiphany.mo +share/locale/uz/LC_MESSAGES/epiphany.mo +share/locale/uz@cyrillic/LC_MESSAGES/epiphany.mo +share/locale/vi/LC_MESSAGES/epiphany.mo +share/locale/wa/LC_MESSAGES/epiphany.mo +share/locale/yo/LC_MESSAGES/epiphany.mo +share/locale/zh_CN/LC_MESSAGES/epiphany.mo +share/locale/zh_HK/LC_MESSAGES/epiphany.mo +share/locale/zh_TW/LC_MESSAGES/epiphany.mo +@dirrmtry share/locale/zh_HK/LC_MESSAGES +@dirrmtry share/locale/zh_HK +@dirrmtry share/locale/yo/LC_MESSAGES +@dirrmtry share/locale/yo +@dirrmtry share/locale/uz@cyrillic/LC_MESSAGES +@dirrmtry share/locale/uz@cyrillic +@dirrmtry share/locale/ug/LC_MESSAGES +@dirrmtry share/locale/ug +@dirrmtry share/locale/te/LC_MESSAGES +@dirrmtry share/locale/te +@dirrmtry share/locale/sr@latin/LC_MESSAGES +@dirrmtry share/locale/sr@latin +@dirrmtry share/locale/si/LC_MESSAGES +@dirrmtry share/locale/si +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw +@dirrmtry share/locale/ps/LC_MESSAGES +@dirrmtry share/locale/ps +@dirrmtry share/locale/oc/LC_MESSAGES +@dirrmtry share/locale/oc +@dirrmtry share/locale/nds/LC_MESSAGES +@dirrmtry share/locale/nds +@dirrmtry share/locale/mr/LC_MESSAGES +@dirrmtry share/locale/mr +@dirrmtry share/locale/mi/LC_MESSAGES +@dirrmtry share/locale/mi +@dirrmtry share/locale/mg/LC_MESSAGES +@dirrmtry share/locale/mg +@dirrmtry share/locale/mai/LC_MESSAGES +@dirrmtry share/locale/mai +@dirrmtry share/locale/ku/LC_MESSAGES +@dirrmtry share/locale/ku +@dirrmtry share/locale/km/LC_MESSAGES +@dirrmtry share/locale/km +@dirrmtry share/locale/ig/LC_MESSAGES +@dirrmtry share/locale/ig +@dirrmtry share/locale/hy/LC_MESSAGES +@dirrmtry share/locale/hy +@dirrmtry share/locale/gv/LC_MESSAGES +@dirrmtry share/locale/gv +@dirrmtry share/locale/en@shaw/LC_MESSAGES +@dirrmtry share/locale/en@shaw +@dirrmtry share/locale/dz/LC_MESSAGES +@dirrmtry share/locale/dz +@dirrmtry share/locale/ca@valencia/LC_MESSAGES +@dirrmtry share/locale/ca@valencia +@dirrmtry share/locale/bn_IN/LC_MESSAGES +@dirrmtry share/locale/bn_IN +@dirrmtry share/locale/be@latin/LC_MESSAGES +@dirrmtry share/locale/be@latin +@dirrmtry share/locale/ast/LC_MESSAGES +@dirrmtry share/locale/ast +@dirrmtry share/locale/as/LC_MESSAGES +@dirrmtry share/locale/as +@dirrmtry share/locale/an/LC_MESSAGES +@dirrmtry share/locale/an +@dirrm %%DOCSDIR%% +@dirrm %%DATADIR%%/pages +@dirrm %%DATADIR%%/icons +@dirrmtry %%DATADIR%% +@dirrmtry share/applications +@dirrm include/epiphany/%%EPHY_VERSION%%/epiphany +@dirrm include/epiphany/%%EPHY_VERSION%% +@dirrm include/epiphany |