From bbd48812a11d376af0c9822c3bbc6bac23460d97 Mon Sep 17 00:00:00 2001 From: ahze Date: Thu, 24 Nov 2005 03:39:06 +0000 Subject: - Add galeon only support for lonely mozilla - Add support for lib/browser[_linux]_plugins with out using the galeon script git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5206 df743ca5-7f9a-e211-a948-0013205c9059 --- www/galeon/Makefile | 60 ++++++ www/galeon/distinfo | 2 + ...ch-bookmarks_bookmarks-import-druid-konqueror.c | 10 + www/galeon/files/patch-src_Makefile.in | 10 + www/galeon/files/patch-src_galeon-main.c | 11 + www/galeon/files/patch-ui_Makefile.in | 12 ++ www/galeon/pkg-descr | 4 + www/galeon/pkg-plist | 227 +++++++++++++++++++++ 8 files changed, 336 insertions(+) create mode 100644 www/galeon/Makefile create mode 100644 www/galeon/distinfo create mode 100644 www/galeon/files/patch-bookmarks_bookmarks-import-druid-konqueror.c create mode 100644 www/galeon/files/patch-src_Makefile.in create mode 100644 www/galeon/files/patch-src_galeon-main.c create mode 100644 www/galeon/files/patch-ui_Makefile.in create mode 100644 www/galeon/pkg-descr create mode 100644 www/galeon/pkg-plist (limited to 'www') diff --git a/www/galeon/Makefile b/www/galeon/Makefile new file mode 100644 index 000000000..c79640934 --- /dev/null +++ b/www/galeon/Makefile @@ -0,0 +1,60 @@ +# Ports collection Makefile for: galeon +# Date created: 1 August 2000 +# Whom: Maxim Sobolev +# +# $FreeBSD$ +# $MCom: ports/www/galeon/Makefile,v 1.3 2005/08/26 04:03:55 marcus Exp $ +# + +PORTNAME= galeon +PORTVERSION= 1.3.21 +PORTREVISION= 1 +CATEGORIES= www gnome +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + http://osdn.dl.sourceforge.net/sourceforge/galeon/ +MASTER_SITE_SUBDIR= ${PORTNAME:S/2$//} + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A GNOME 2 Web browser based on gecko (the Mozilla rendering engine) + +USE_GECKO= mozilla +WRKSRC= ${WRKDIR}/${PORTNAME:S/2$//}-${PORTVERSION:S/a$//} +USE_BZIP2= yes +USE_X_PREFIX= yes +INSTALLS_OMF= yes +USE_GNOME= gnomeprefix intlhack gnomehack libgnomeui desktopfileutils \ + gnomedesktop +USE_AUTOTOOLS= libtool:15 +USE_GMAKE= yes +USE_REINPLACE= yes +CONFIGURE_ARGS= --enable-nautilus-view=no \ + --with-mozilla=${GECKO} +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \ + LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" + +MAN1= galeon.1 +GCONF_SCHEMAS= galeon.schemas + +.include + +.if ${OSVERSION} > 500000 +# Galeon does not build correctly in -CURRENT if -Werror is passed +# to the compiler. +NO_WERROR= yes +.endif +# allow build with more warnings enabled +.if defined(NO_WERROR) +CONFIGURE_ARGS+= --disable-werror +.endif + +post-patch: + @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|-lpthread|${PTHREAD_LIBS}|g' + @${FIND} ${WRKSRC} -name "*.cpp" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|malloc\.h|stdlib.h|g' + @${REINPLACE_CMD} -e 's|@prefix@/@DATADIRNAME@|@datadir@|g' \ + ${WRKSRC}/ui/galeon-bookmarks-editor-ui.xml.in + @${REINPLACE_CMD} -e 's|/usr/lib/mozilla/plugins|${X11BASE}/lib/browser_plugins:${X11BASE}/lib/browser_linux_plugins|' \ + ${WRKSRC}/mozilla/mozilla-embed-shell.cpp + +.include diff --git a/www/galeon/distinfo b/www/galeon/distinfo new file mode 100644 index 000000000..87ba2ce69 --- /dev/null +++ b/www/galeon/distinfo @@ -0,0 +1,2 @@ +MD5 (galeon-1.3.21.tar.bz2) = 5106e037bb52bdb234b3fc09c1e0a3f3 +SIZE (galeon-1.3.21.tar.bz2) = 4080353 diff --git a/www/galeon/files/patch-bookmarks_bookmarks-import-druid-konqueror.c b/www/galeon/files/patch-bookmarks_bookmarks-import-druid-konqueror.c new file mode 100644 index 000000000..0400ebcf4 --- /dev/null +++ b/www/galeon/files/patch-bookmarks_bookmarks-import-druid-konqueror.c @@ -0,0 +1,10 @@ +--- bookmarks/bookmarks-import-druid-konqueror.c.orig Tue Mar 30 16:33:05 2004 ++++ bookmarks/bookmarks-import-druid-konqueror.c Mon May 31 23:35:26 2004 +@@ -20,6 +20,7 @@ + #include "config.h" + #endif + ++#include + #include + #include "bookmarks-import-druid-konqueror.h" + #include "gul-gobject-misc.h" diff --git a/www/galeon/files/patch-src_Makefile.in b/www/galeon/files/patch-src_Makefile.in new file mode 100644 index 000000000..3c75398d9 --- /dev/null +++ b/www/galeon/files/patch-src_Makefile.in @@ -0,0 +1,10 @@ +--- src/Makefile.in.orig Thu Dec 18 15:12:38 2003 ++++ src/Makefile.in Thu Dec 18 15:13:13 2003 +@@ -206,6 +206,7 @@ + -I$(top_srcdir)/bookmarks \ + $(GALEON_DEPENDENCY_CFLAGS) \ + -DSHARE_DIR=\"$(pkgdatadir)\" \ ++ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \ + -DDATADIR=\""$(datadir)"\" + + diff --git a/www/galeon/files/patch-src_galeon-main.c b/www/galeon/files/patch-src_galeon-main.c new file mode 100644 index 000000000..777907e0e --- /dev/null +++ b/www/galeon/files/patch-src_galeon-main.c @@ -0,0 +1,11 @@ +--- src/galeon-main.c.orig Thu Sep 11 01:11:30 2003 ++++ src/galeon-main.c Thu Sep 11 01:12:31 2003 +@@ -130,7 +130,7 @@ + #ifdef ENABLE_NLS + /* Initialize the i18n stuff */ + setlocale(LC_ALL, ""); +- bindtextdomain(GETTEXT_PACKAGE, DATADIR "/locale"); ++ bindtextdomain(GETTEXT_PACKAGE, GNOMELOCALEDIR); + textdomain(GETTEXT_PACKAGE); + #endif + /* set the application name manually until gnome handles the diff --git a/www/galeon/files/patch-ui_Makefile.in b/www/galeon/files/patch-ui_Makefile.in new file mode 100644 index 000000000..9e87b8029 --- /dev/null +++ b/www/galeon/files/patch-ui_Makefile.in @@ -0,0 +1,12 @@ +--- ui/Makefile.in.orig Fri Jan 23 01:48:25 2004 ++++ ui/Makefile.in Fri Jan 23 01:48:55 2004 +@@ -265,8 +265,7 @@ + uidir = $(pkgdatadir) + + uixmldir = $(datadir)/gnome-2.0/ui +-uixml_in_files = galeon-bookmarks-editor-ui.xml.in \ +- nautilus-galeon-view-ui.xml.in ++uixml_in_files = galeon-bookmarks-editor-ui.xml.in + + + uixml_DATA = $(uixml_in_files:.xml.in=.xml) diff --git a/www/galeon/pkg-descr b/www/galeon/pkg-descr new file mode 100644 index 000000000..9a4205386 --- /dev/null +++ b/www/galeon/pkg-descr @@ -0,0 +1,4 @@ +Galeon is a GNOME 2 Web browser based on Gecko (the mozilla rendering engine). +It's fast, it has a light interface, and it is fully standards-compliant. + +WWW: http://galeon.sourceforge.net/ diff --git a/www/galeon/pkg-plist b/www/galeon/pkg-plist new file mode 100644 index 000000000..1d66d0cd4 --- /dev/null +++ b/www/galeon/pkg-plist @@ -0,0 +1,227 @@ +bin/galeon +bin/galeon-config-tool +etc/sound/events/galeon.soundlist +libdata/bonobo/servers/GNOME_Galeon_Automation.server +libdata/bonobo/servers/GNOME_Galeon_NautilusView.server +share/gnome/applications/galeon.desktop +share/gnome/galeon/FAQ.html +share/gnome/galeon/about_logo.png +share/gnome/galeon/autoscroll.xpm +share/gnome/galeon/bookmarks-editor-small.glade +share/gnome/galeon/bookmarks-editor.glade +share/gnome/galeon/bookmarks.glade +share/gnome/galeon/bug.png +share/gnome/galeon/certificate-dialogs.glade +share/gnome/galeon/debian.png +share/gnome/galeon/default-bookmarks.xbel +share/gnome/galeon/default-prefs.js +share/gnome/galeon/fetch_favicon.xpm +share/gnome/galeon/freshmeat.png +share/gnome/galeon/galeon-bookmark-alias-mark.png +share/gnome/galeon/galeon-default.png +share/gnome/galeon/galeon-download.png +share/gnome/galeon/galeon-egg-ui-toolbar.xml +share/gnome/galeon/galeon-egg-ui.xml +share/gnome/galeon/galeon-entry.png +share/gnome/galeon/galeon-filter.png +share/gnome/galeon/galeon-folder.png +share/gnome/galeon/galeon-history.png +share/gnome/galeon/galeon-insecure.png +share/gnome/galeon/galeon-popup-blocked.png +share/gnome/galeon/galeon-prefs-fonts.png +share/gnome/galeon/galeon-prefs-general.png +share/gnome/galeon/galeon-prefs-language.png +share/gnome/galeon/galeon-prefs-mouse.png +share/gnome/galeon/galeon-prefs-network.png +share/gnome/galeon/galeon-prefs-privacy.png +share/gnome/galeon/galeon-prefs-tabs.png +share/gnome/galeon/galeon-prefs-web-content.png +share/gnome/galeon/galeon-secure.png +share/gnome/galeon/galeon-separator.png +share/gnome/galeon/galeon-tab-loading.gif +share/gnome/galeon/galeon.glade +share/gnome/galeon/galeon.png +share/gnome/galeon/gnu.png +share/gnome/galeon/google.png +share/gnome/galeon/google_groups.png +share/gnome/galeon/google_images.png +share/gnome/galeon/hand-open.png +share/gnome/galeon/imdb_movies.png +share/gnome/galeon/logo.png +share/gnome/galeon/myportal.css +share/gnome/galeon/new_alias.xpm +share/gnome/galeon/new_alias_small.xpm +share/gnome/galeon/new_folder.xpm +share/gnome/galeon/new_folder_small.xpm +share/gnome/galeon/new_item.xpm +share/gnome/galeon/new_item_small.xpm +share/gnome/galeon/new_separator.xpm +share/gnome/galeon/new_separator_small.xpm +share/gnome/galeon/prefs-dialog.glade +share/gnome/galeon/print.glade +share/gnome/galeon/rpm.png +share/gnome/galeon/slack.png +share/gnome/galeon/smart-bm-fold.png +share/gnome/galeon/smart-bm-unfold.png +share/gnome/galeon/stocks.png +share/gnome/gnome-2.0/ui/galeon-bookmarks-editor-ui.xml +share/gnome/help/galeon/C/apx-authors.xml +share/gnome/help/galeon/C/apx-bugs.xml +share/gnome/help/galeon/C/apx-command-line.xml +share/gnome/help/galeon/C/apx-compiling.xml +share/gnome/help/galeon/C/apx-keyboard-shortcuts.xml +share/gnome/help/galeon/C/apx-mouse-gestures.xml +share/gnome/help/galeon/C/apx-troubleshooting.xml +share/gnome/help/galeon/C/bookmarks.xml +share/gnome/help/galeon/C/browser-window.xml +share/gnome/help/galeon/C/figures/bookmarks-editor.png +share/gnome/help/galeon/C/figures/browser-window.png +share/gnome/help/galeon/C/figures/find-dialog.png +share/gnome/help/galeon/C/figures/gesture-back.png +share/gnome/help/galeon/C/figures/gesture-clone-tab.png +share/gnome/help/galeon/C/figures/gesture-clone-window.png +share/gnome/help/galeon/C/figures/gesture-close-2.png +share/gnome/help/galeon/C/figures/gesture-close.png +share/gnome/help/galeon/C/figures/gesture-contents.png +share/gnome/help/galeon/C/figures/gesture-forward.png +share/gnome/help/galeon/C/figures/gesture-fullscreen.png +share/gnome/help/galeon/C/figures/gesture-homepage.png +share/gnome/help/galeon/C/figures/gesture-new-tab.png +share/gnome/help/galeon/C/figures/gesture-new-window.png +share/gnome/help/galeon/C/figures/gesture-next-link.png +share/gnome/help/galeon/C/figures/gesture-next-tab.png +share/gnome/help/galeon/C/figures/gesture-prev-link.png +share/gnome/help/galeon/C/figures/gesture-prev-tab.png +share/gnome/help/galeon/C/figures/gesture-reload-bypass.png +share/gnome/help/galeon/C/figures/gesture-reload.png +share/gnome/help/galeon/C/figures/gesture-stop.png +share/gnome/help/galeon/C/figures/gesture-up.png +share/gnome/help/galeon/C/figures/gesture-view-source.png +share/gnome/help/galeon/C/figures/othertools-history.png +share/gnome/help/galeon/C/figures/othertools-pdm.png +share/gnome/help/galeon/C/figures/othertools-toolbar-editor.png +share/gnome/help/galeon/C/figures/statusbar.png +share/gnome/help/galeon/C/figures/tabbed-browsing.png +share/gnome/help/galeon/C/figures/toolbars-bookmarks.png +share/gnome/help/galeon/C/figures/toolbars-main.png +share/gnome/help/galeon/C/galeon.xml +share/gnome/help/galeon/C/getting-started.xml +share/gnome/help/galeon/C/other-tools.xml +share/gnome/help/galeon/C/plugins.xml +share/gnome/help/galeon/C/preface.xml +share/gnome/help/galeon/C/preferences.xml +share/gnome/help/galeon/es/apx-authors.xml +share/gnome/help/galeon/es/apx-bugs.xml +share/gnome/help/galeon/es/apx-command-line.xml +share/gnome/help/galeon/es/apx-compiling.xml +share/gnome/help/galeon/es/apx-keyboard-shortcuts.xml +share/gnome/help/galeon/es/apx-mouse-gestures.xml +share/gnome/help/galeon/es/apx-troubleshooting.xml +share/gnome/help/galeon/es/bookmarks.xml +share/gnome/help/galeon/es/browser-window.xml +share/gnome/help/galeon/es/figures/bookmarks-editor.png +share/gnome/help/galeon/es/figures/browser-window.png +share/gnome/help/galeon/es/figures/find-dialog.png +share/gnome/help/galeon/es/figures/gesture-back.png +share/gnome/help/galeon/es/figures/gesture-clone-tab.png +share/gnome/help/galeon/es/figures/gesture-clone-window.png +share/gnome/help/galeon/es/figures/gesture-close-2.png +share/gnome/help/galeon/es/figures/gesture-close.png +share/gnome/help/galeon/es/figures/gesture-contents.png +share/gnome/help/galeon/es/figures/gesture-forward.png +share/gnome/help/galeon/es/figures/gesture-fullscreen.png +share/gnome/help/galeon/es/figures/gesture-homepage.png +share/gnome/help/galeon/es/figures/gesture-new-tab.png +share/gnome/help/galeon/es/figures/gesture-new-window.png +share/gnome/help/galeon/es/figures/gesture-next-link.png +share/gnome/help/galeon/es/figures/gesture-next-tab.png +share/gnome/help/galeon/es/figures/gesture-prev-link.png +share/gnome/help/galeon/es/figures/gesture-prev-tab.png +share/gnome/help/galeon/es/figures/gesture-reload-bypass.png +share/gnome/help/galeon/es/figures/gesture-reload.png +share/gnome/help/galeon/es/figures/gesture-stop.png +share/gnome/help/galeon/es/figures/gesture-up.png +share/gnome/help/galeon/es/figures/gesture-view-source.png +share/gnome/help/galeon/es/figures/othertools-history.png +share/gnome/help/galeon/es/figures/othertools-pdm.png +share/gnome/help/galeon/es/figures/othertools-toolbar-editor.png +share/gnome/help/galeon/es/figures/statusbar.png +share/gnome/help/galeon/es/figures/tabbed-browsing.png +share/gnome/help/galeon/es/figures/toolbars-bookmarks.png +share/gnome/help/galeon/es/figures/toolbars-main.png +share/gnome/help/galeon/es/galeon.xml +share/gnome/help/galeon/es/getting-started.xml +share/gnome/help/galeon/es/other-tools.xml +share/gnome/help/galeon/es/plugins.xml +share/gnome/help/galeon/es/preface.xml +share/gnome/help/galeon/es/preferences.xml +share/gnome/omf/galeon/galeon-C.omf +share/gnome/omf/galeon/galeon-es.omf +share/gnome/pixmaps/galeon.png +share/gnome/sounds/galeon/clicked.wav +share/locale/am/LC_MESSAGES/galeon-2.0.mo +share/locale/az/LC_MESSAGES/galeon-2.0.mo +share/locale/be/LC_MESSAGES/galeon-2.0.mo +share/locale/bg/LC_MESSAGES/galeon-2.0.mo +share/locale/bs/LC_MESSAGES/galeon-2.0.mo +share/locale/ca/LC_MESSAGES/galeon-2.0.mo +share/locale/cs/LC_MESSAGES/galeon-2.0.mo +share/locale/da/LC_MESSAGES/galeon-2.0.mo +share/locale/de/LC_MESSAGES/galeon-2.0.mo +share/locale/el/LC_MESSAGES/galeon-2.0.mo +share/locale/en_CA/LC_MESSAGES/galeon-2.0.mo +share/locale/en_GB/LC_MESSAGES/galeon-2.0.mo +share/locale/es/LC_MESSAGES/galeon-2.0.mo +share/locale/et/LC_MESSAGES/galeon-2.0.mo +share/locale/eu/LC_MESSAGES/galeon-2.0.mo +share/locale/fi/LC_MESSAGES/galeon-2.0.mo +share/locale/fr/LC_MESSAGES/galeon-2.0.mo +share/locale/ga/LC_MESSAGES/galeon-2.0.mo +share/locale/gl/LC_MESSAGES/galeon-2.0.mo +share/locale/hr/LC_MESSAGES/galeon-2.0.mo +share/locale/hu/LC_MESSAGES/galeon-2.0.mo +share/locale/it/LC_MESSAGES/galeon-2.0.mo +share/locale/ja/LC_MESSAGES/galeon-2.0.mo +share/locale/ko/LC_MESSAGES/galeon-2.0.mo +share/locale/lt/LC_MESSAGES/galeon-2.0.mo +share/locale/lv/LC_MESSAGES/galeon-2.0.mo +share/locale/mk/LC_MESSAGES/galeon-2.0.mo +share/locale/ml/LC_MESSAGES/galeon-2.0.mo +share/locale/mn/LC_MESSAGES/galeon-2.0.mo +share/locale/ms/LC_MESSAGES/galeon-2.0.mo +share/locale/nb/LC_MESSAGES/galeon-2.0.mo +share/locale/nl/LC_MESSAGES/galeon-2.0.mo +share/locale/nn/LC_MESSAGES/galeon-2.0.mo +share/locale/no/LC_MESSAGES/galeon-2.0.mo +share/locale/pa/LC_MESSAGES/galeon-2.0.mo +share/locale/pl/LC_MESSAGES/galeon-2.0.mo +share/locale/pt/LC_MESSAGES/galeon-2.0.mo +share/locale/pt_BR/LC_MESSAGES/galeon-2.0.mo +share/locale/ro/LC_MESSAGES/galeon-2.0.mo +share/locale/ru/LC_MESSAGES/galeon-2.0.mo +share/locale/rw/LC_MESSAGES/galeon-2.0.mo +share/locale/sk/LC_MESSAGES/galeon-2.0.mo +share/locale/sl/LC_MESSAGES/galeon-2.0.mo +share/locale/sq/LC_MESSAGES/galeon-2.0.mo +share/locale/sr/LC_MESSAGES/galeon-2.0.mo +share/locale/sr@Latn/LC_MESSAGES/galeon-2.0.mo +share/locale/sv/LC_MESSAGES/galeon-2.0.mo +share/locale/ta/LC_MESSAGES/galeon-2.0.mo +share/locale/tr/LC_MESSAGES/galeon-2.0.mo +share/locale/uk/LC_MESSAGES/galeon-2.0.mo +share/locale/vi/LC_MESSAGES/galeon-2.0.mo +share/locale/wa/LC_MESSAGES/galeon-2.0.mo +share/locale/zh_CN/LC_MESSAGES/galeon-2.0.mo +share/locale/zh_TW/LC_MESSAGES/galeon-2.0.mo +@unexec rmdir %D/share/locale/rw/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/rw 2> /dev/null || true +@dirrm share/gnome/sounds/galeon +@dirrm share/gnome/omf/galeon +@dirrm share/gnome/help/galeon/es/figures +@dirrm share/gnome/help/galeon/es +@dirrm share/gnome/help/galeon/C/figures +@dirrm share/gnome/help/galeon/C +@dirrm share/gnome/help/galeon +@dirrm share/gnome/galeon +@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true +@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true -- cgit v1.2.3