Update: This article is kind of obsolete because I now officially provide Arch packages here and because the appindicator dependency is now optional.

Installing the dependencies

To build GEncfsM on Arch, you have to build the following libraries from source because they are not in the repositories (yet?):

  • libappindicator3 (depends on libindicator3)
  • libdbusmenu-gtk3 (depends on libdbusmenu)

Fortunately some kind souls already wrote build recipes for them and they can easily downloaded and built using yaourt.
I did the following steps to install these libraries:

$ yaourt -Sy
$ yaourt -S --noconfirm libdbusmenu-gtk3
$ yaourt -S --noconfirm libappindicator3

Next pull in the remaining dependencies:

$ pacman -S vala  libgee06 libgnome-keyring encfs

Building without packaging

This should suffice to build GEncfsM on Arch. Now download the source tar ball from the launchpad page, extract it and build / install it with

./autogen.sh && ./configure --prefix=/usr && make && sudo make install

Building with packaging

GEncfsM versions higher than 1.7.1 contain a small script to assist in packaging for Arch Linux. It creates a PKGBUILD and executes makepkg. To build GEncfsM and the package, execute the following command:

./tools.sh archpkg

If everything works as expected, you will end up with a package, that you can install using

pacman -U *.pkg.tar.xz


3 Responses to “Building the Gnome Encfs Manager on Arch Linux”

  1. Viper
    June 14th, 2013 at 17:54
    1

    Hi Moritz,

    It’s unclear to me how to include the Arch repository in my pacman.conf. What exact URL should I use? Thanks for the great work in encfs-gnome-manager!

  2. Moritz
    June 14th, 2013 at 18:09
    2

    The following should work:

    [home_moritzmolch_gencfsm_Arch_Extra]
    SigLevel = Never
    Server = http://download.opensuse.org/repositories/home:/moritzmolch:/gencfsm/Arch_Extra/$arch

    Regards,
    Moritz

  3. Viper
    June 14th, 2013 at 18:32
    3

    Thanks, it worked all right!

Leave a Comment

I respect your privacy
I don't run any trackers on this site.

Your questionable browsing-history should remain between you and the NSA ;-)
Contact