You are not logged in.

#1 2011-06-19 21:51:00

iosonofabio
Member
From: Australia
Registered: 2008-10-09
Posts: 105

abookells

Dear all,

since I use mutt for e-mail communication, I decided to combine it with an ncurses address book program. Abook seemed a good one, but lacked any support of the mutt -group flag for aliases, which is very useful for setting hooks.

Not anymore!

I have patched abook to include this feature, in import as well as export from mutt alias files. I have created a new git project on Gitorious, using the same licence as abook itself (GPL2), called abookells. I have already created an AUR package as well, which also includes the vcard patch. Enjoy!

https://gitorious.org/abookells
http://aur.archlinux.org/packages.php?ID=50006

PS: I plan to develop this a little according to my needs. If you want to help for your own needs, welcome!

Offline

#2 2011-06-20 15:27:23

linux-ka
Member
From: ADL
Registered: 2010-05-07
Posts: 232

Re: abookells

Hi,

this patched version sounds nice. But why abookells?

Can this new version deal with the standard-version of abook fileformats, or do I need to re-enter every mail I saved before?

L-K

EDIT:

I tried to compile your PKGBUILD, but it stops with an error:

cd . && /bin/sh /tmp/abookells/src/abookells/missing --run aclocal-1.9 -I m4
/tmp/abookells/src/abookells/missing: Line 46: aclocal-1.9: command not found.
WARNING: `aclocal-1.9' is needed, and you do not seem to have it handy on your
         system.  You might have modified some files without having the
         proper tools for further handling them.  Check the `README' file,
         it often tells you about the needed prerequirements for installing
         this package.  You may also peek at any GNU archive site, in case
         some other package would contain this missing `aclocal-1.9' program.

What else it necessary to compile it?

Last edited by linux-ka (2011-06-20 15:31:26)

Offline

#3 2011-06-20 16:56:18

zenix
Member
From: Earth - Save it!
Registered: 2007-08-05
Posts: 104
Website

Re: abookells

linux-ka wrote:

I tried to compile your PKGBUILD, but it stops with an error:

cd . && /bin/sh /tmp/abookells/src/abookells/missing --run aclocal-1.9 -I m4
/tmp/abookells/src/abookells/missing: Line 46: aclocal-1.9: command not found.
WARNING: `aclocal-1.9' is needed, and you do not seem to have it handy on your
         system.  You might have modified some files without having the
         proper tools for further handling them.  Check the `README' file,
         it often tells you about the needed prerequirements for installing
         this package.  You may also peek at any GNU archive site, in case
         some other package would contain this missing `aclocal-1.9' program.

What else it necessary to compile it?

Looks like you're missing the autotools chain. The error is complaining that the aclocal-1.9 command is not installed on your system. Perhaps you haven't installed the base-devel group?

In other news, awesome! I only have one request: Can you make abook support using vcards natively, instead of doing the whole import/export routine? (There aren't any decent CLI contact manages beyond abook, and none really support vCards... sad )


I made an AUR helper once.
I also go by evaryont and nogweii elsewhere on the internet.
Check out my projects and packages.

Offline

#4 2011-06-20 17:17:22

linux-ka
Member
From: ADL
Registered: 2010-05-07
Posts: 232

Re: abookells

I've installed base-devel...

Offline

#5 2011-06-21 07:41:44

iosonofabio
Member
From: Australia
Registered: 2008-10-09
Posts: 105

Re: abookells

linux-ka wrote:

What else it necessary to compile it?

aclocal is part of the automake package on arch. However, I was able to compile the makepkg even without automake installed, so I can't understand. I have to look into the installation code.

Do you use plain 'makepkg' or some AUR program (e.g. clyde, etc.)?

Is your automake package up-to-date, or do you use any legacy AUR version such as one among the following?

aur/automake1.10 1.10.3-1 (3)
    A GNU tool for automatically creating Makefiles
aur/automake-1.5 1.5-1 (13)
    A GNU tool for automatically creating Makefiles
aur/automake-1.9 1.9.6-2 (26)
    A GNU tool for automatically creating Makefiles
aur/unsermake 20070824-3 (54)
    A replacement for automake

My automake is 1.11.1-2.

zenix wrote:

In other news, awesome! I only have one request: Can you make abook support using vcards natively, instead of doing the whole import/export routine? (There aren't any decent CLI contact manages beyond abook, and none really support vCards...  )

Well, for now I plan to apply only small patches, I have no much time to spend on this. However, I opened a new git repository if anyone wants to join! (I would also like to use vCards directly, by the way. I'll have a look at the code.)

Offline

#6 2011-06-22 16:04:38

linux-ka
Member
From: ADL
Registered: 2010-05-07
Posts: 232

Re: abookells

Well, I am using makepkg. My System is bleeding edge, with respect to our repositories.

Offline

#7 2011-06-22 20:33:31

iosonofabio
Member
From: Australia
Registered: 2008-10-09
Posts: 105

Re: abookells

linux-ka wrote:

Well, I am using makepkg. My System is bleeding edge, with respect to our repositories.

The most recent version of automake is 11.1.1-2. Can you please check this by casting:

# pacman -Qi automake

so that we rule out any package issue?

Offline

#8 2011-06-22 20:39:52

linux-ka
Member
From: ADL
Registered: 2010-05-07
Posts: 232

Re: abookells

$ automake --version
automake (GNU automake) 1.11.1
$ pacman -Qi automake
Name           : automake
Version              : 1.11.1-2

Aside this issue, I am not sure about the git cloning process:

==> Connecting to the GIT server....
Cloning into abookells...
remote: Counting objects: 235, done.
remote: Compressing objects: 100% (196/196), done.
remote: Total 235 (delta 39), reused 221 (delta 32)
Receiving objects: 100% (235/235), 632.06 KiB | 316 KiB/s, done.
Resolving deltas: 100% (39/39), done.
==> GIT checkout done or server timeout
==> Starting make...

It stickss quit long to this process, which is strange with respect to the size of the source.

Last edited by linux-ka (2011-06-22 20:45:18)

Offline

#9 2011-06-26 11:06:26

iosonofabio
Member
From: Australia
Registered: 2008-10-09
Posts: 105

Re: abookells

linux-ka wrote:

Hi,

I tried to compile your PKGBUILD, but it stops with an error:

cd . && /bin/sh /tmp/abookells/src/abookells/missing --run aclocal-1.9 -I m4
/tmp/abookells/src/abookells/missing: Line 46: aclocal-1.9: command not found.
WARNING: `aclocal-1.9' is needed, and you do not seem to have it handy on your
         system.  You might have modified some files without having the
         proper tools for further handling them.  Check the `README' file,
         it often tells you about the needed prerequirements for installing
         this package.  You may also peek at any GNU archive site, in case
         some other package would contain this missing `aclocal-1.9' program.

What else it necessary to compile it?

Ok, I figured out what the problem was. Quite disappointingly, it was the Autotools chain that was not up-to-date. I'll put the new version online now, so that you can try it out.

Offline

#10 2011-06-26 11:25:29

linux-ka
Member
From: ADL
Registered: 2010-05-07
Posts: 232

Re: abookells

Now it can be build. Thanks. Before installing this, does it use the old data from abook, or do I have to retype every entry?

Offline

#11 2011-06-26 12:52:34

iosonofabio
Member
From: Australia
Registered: 2008-10-09
Posts: 105

Re: abookells

linux-ka wrote:

Now it can be build. Thanks. Before installing this, does it use the old data from abook, or do I have to retype every entry?

For now, everything is perfectly backwards compatible. The executable is even called 'abook'. Just install abookells from the AUR and continue to work as before, you will notice no difference.

The only changes in abookells up to date are:
- you can impot/export mutt alias files that include references to mutt groups
- you can import/export vcards
- there is a dummy function for merging items (it is supposed to become an 'eliminate duplicates' function)

cheers,
Fabio

edit: about the name, it comes from The book of Kells.

Last edited by iosonofabio (2011-06-26 12:54:51)

Offline

#12 2011-06-27 08:14:09

linux-ka
Member
From: ADL
Registered: 2010-05-07
Posts: 232

Re: abookells

Is there any modified manpage? The group implementation, how does this work? Do I just have to fill in the same group name in the slot grouöp of each contact? and how do I use it from abookells, to send to a group? the first usage just seemed to be the very same like abook :-/

Offline

#13 2011-06-27 08:39:21

iosonofabio
Member
From: Australia
Registered: 2008-10-09
Posts: 105

Re: abookells

linux-ka wrote:

Is there any modified manpage? The group implementation, how does this work? Do I just have to fill in the same group name in the slot grouöp of each contact? and how do I use it from abookells, to send to a group? the first usage just seemed to be the very same like abook :-/

No, there is no change in the manpage yet. The group patch works very simply, as follows:

  1. If you import from a mutt alias file, you get your groups in the abookells Groups slot

  2. If you export to a mutt alias file, the entries in your abookells Groups slot will be converted into -group options that can be parsed by mutt.

Offline

Board footer

Powered by FluxBB