Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 May 2009 16:53:53 +0200
From:      cpghost <cpghost@cordula.ws>
To:        freebsd-questions@freebsd.org
Cc:        freebsd-ports@freebsd.org
Subject:   Re: A port for FireGPG?
Message-ID:  <20090523145353.GC1325@phenom.cordula.ws>
In-Reply-To: <20090522223129.GA4918@phenom.cordula.ws>
References:  <20090522223129.GA4918@phenom.cordula.ws>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 23, 2009 at 12:31:29AM +0200, cpghost wrote:
> Hi,
> 
> I'd like to use GnuPG with Webmail (e.g. with gmail or other
> webmails). AFAICS, the following Firefox add-on would help:
> 
>   http://www.getfiregpg.org/
> 
> Unfortunately, according to http://www.getfiregpg.org/install.html
> one needs to compile an IPC library (?) out of the firefox3 sources,
> like this:
> 
>   http://blog.getfiregpg.org/2008/10/17/how-to-compile-the-ipc-library/
> 
> Is there a port to automate this task, or could someone with the
> necessary skills please create such a port? That would be great!

Just a little follow-up.

Those are the (manual) steps to get libipc compiled on FreeBSD/amd64,
assuming www/firefox3 is already installed:

# cd /usr/ports/www/firefox3
# make configure
# make build

(Be patient, it takes some time)

# cd work/mozilla/extensions
# <now fetch libipc (ipc-latest.tar.gz) to /path/to/ipc-latest.zip>

(source of ipc-latest.tar.gz is
  https://bugzilla.mozilla.org/attachment.cgi?id=299132)

# tar -xvpf /path/to/ipc-latest.zip
# chown -R root:wheel ipc

(We now have /usr/ports/www/firefox3/work/mozilla/extensions/ipc)

# cd ipc <now: /usr/ports/www/firefox3/work/mozilla/extensions/ipc>
# ./makemake -r -o .
# gmake

(This will create libipc.so, ipc.xpt in:
  /usr/ports/www/firefox3/work/mozilla/dist/bin/components)

# cd /usr/ports/www/firefox3/work/mozilla/dist/bin/components
# cp -i libipc.so /usr/local/lib/firefox3/components/
# cp -i ipc.xpt /usr/local/lib/firefox3/components/

(There is no need to install firefox3 again. Only libipc.so and ipc.xpt count)

$ cd ~/.mozilla/firefox/<the_firefox_profile>
$ touch .autoreg

(And restart firefox3). 

With that, firegpg add-on works flawlessly.

All this can probably be automated with a slave port of www/firefox3.

Thanks,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090523145353.GC1325>