Flock/Installation
From Gentoo Linux Wiki
< Flock
Contents |
[edit] Bugzilla Ebuild
There's an ebuild for Flock in Gentoo Bugzilla.
[edit] Flock Browser
Note: None of this would have been possible without deitarion's ebuild.
This is a an ebuild for the browser Flock
until it becomes available in portage.
Make a new file and name it flock-bin-0.7.6.ebuild and copy and paste this into it.
| File: /usr/local/portage/www-client/flock-bin/flock-bin-0.7.6.ebuild |
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-client/flock-bin/flock-bin-0.7.6.ebuild
inherit eutils mozilla-launcher multilib
DESCRIPTION="Flock Web Browser"
SRC_URI="http://ftp.osuosl.org/pub/flock/releases/${PV}/flock-${PV}.en-US.linux-i686.tar.gz"
HOMEPAGE="www.flocks.com"
RESTRICT="nostrip"
KEYWORDS="-* amd64 x86"
SLOT="0"
LICENSE="MPL-1.1 GPL-1"
IUSE=""
DEPEND="virtual/libc"
RDEPEND="virtual/x11
x86? (
>=x11-libs/gtk+-2.2
)
amd64? (
>=app-emulation/emul-linux-x86-baselibs-1.0
>=app-emulation/emul-linux-x86-gtklibs-1.0
)
>=www-client/mozilla-launcher-1.41"
S=${WORKDIR}/${PN}
pkg_setup() {
# This is a binary x86 package => ABI=x86
# Please keep this in future versions
# Danny van Dyk <kugelfang@gentoo.org> 2005/03/26
has_multilib_profile && ABI="x86"
}
src_install() {
declare MOZILLA_FIVE_HOME=/opt/flock
# Install flock in /opt
dodir ${MOZILLA_FIVE_HOME%/*} /opt/bin
mv ${WORKDIR}/flock ${D}${MOZILLA_FIVE_HOME}
# Create /opt/bin/flockbrowser
dosym ${MOZILLA_FIVE_HOME}/flock /opt/bin/flockbrowser
}
pkg_preinst() {
declare MOZILLA_FIVE_HOME=/opt/flock
# Remove entire installed instance to prevent all kinds of
# problems... see bug 44772 for example
# I don't know if this extends to flock so I just let them
rm -rf ${ROOT}${MOZILLA_FIVE_HOME}
}
pkg_postinst() {
if use amd64; then
echo
einfo "NB: You just installed a 32-bit firefox"
fi
update_mozilla_launcher_symlinks
}
pkg_postrm() {
update_mozilla_launcher_symlinks
}
|
[edit] Overlay
| File: /etc/make.conf |
PORTDIR_OVERLAY="/usr/local/portage" |
Setup a portage overlay for /usr/local/portage
[edit] Installation
mkdir -p /usr/local/portage/www-client/flock-bin
- Now lets ebuild it
ebuild /usr/local/portage/www-client/flock-bin/flock-bin-0.7.6.ebuild digest emerge -av flock-bin
- If that doesn't work, try symlinking the flock-bin directory into a place where portage will look and try again
ln -s /usr/local/portage/www-client/flock-bin/ /usr/portage/www-client/flock-bin emerge -av flock-bin
- Now lets run it
/opt/flock/flock
[edit] Link your plugins
All the plugins work for Flock just like Firefox.
Note: /opt/flock/plugins
total 24K lrwxrwxrwx 1 72 Apr 8 04:02 libjavaplugin_oji.so -> /opt/blackdown-jdk-1.4.2.03/jre/plugin/i386/mozilla/libjavaplugin_oji.so* -rwxr-xr-x 1 19K Apr 6 20:45 libnullplugin.so* lrwxrwxrwx 1 54 Apr 8 03:58 libunixprintplugin.so -> /usr/lib/mozilla-firefox/plugins/libunixprintplugin.so* lrwxrwxrwx 1 43 Apr 8 03:57 mplayerplug-in-gmp.so -> /opt/netscape/plugins/mplayerplug-in-gmp.so* lrwxrwxrwx 1 44 Apr 8 03:57 mplayerplug-in-gmp.xpt -> /opt/netscape/plugins/mplayerplug-in-gmp.xpt lrwxrwxrwx 1 42 Apr 8 03:57 mplayerplug-in-qt.so -> /opt/netscape/plugins/mplayerplug-in-qt.so* lrwxrwxrwx 1 43 Apr 8 03:57 mplayerplug-in-qt.xpt -> /opt/netscape/plugins/mplayerplug-in-qt.xpt lrwxrwxrwx 1 42 Apr 8 03:57 mplayerplug-in-rm.so -> /opt/netscape/plugins/mplayerplug-in-rm.so* lrwxrwxrwx 1 43 Apr 8 03:57 mplayerplug-in-rm.xpt -> /opt/netscape/plugins/mplayerplug-in-rm.xpt lrwxrwxrwx 1 43 Apr 8 03:57 mplayerplug-in-wmp.so -> /opt/netscape/plugins/mplayerplug-in-wmp.so* lrwxrwxrwx 1 44 Apr 8 03:57 mplayerplug-in-wmp.xpt -> /opt/netscape/plugins/mplayerplug-in-wmp.xpt lrwxrwxrwx 1 39 Apr 8 03:57 mplayerplug-in.so -> /opt/netscape/plugins/mplayerplug-in.so* lrwxrwxrwx 1 40 Apr 8 03:57 mplayerplug-in.xpt -> /opt/netscape/plugins/mplayerplug-in.xpt lrwxrwxrwx 1 30 Apr 8 03:57 nppdf.so -> /opt/netscape/plugins/nppdf.so*
[edit] Extensions
- Bookmark Extension Link - Bookmark Extention so you don't have to use the Favorites Section
- Click on --> Show Bookmarks Menu
- More Extenstions At --> Flock Extensions
