Package Details: abook 0.6.2+r8+gb5e4a4daec1c-1

Git Clone URL: https://aur.archlinux.org/abook.git (read-only, click to copy)
Package Base: abook
Description: Text-based addressbook designed for use with Mutt
Upstream URL: https://abook.sourceforge.net/
Licenses: GPL-3.0-only
Submitter: arojas
Maintainer: eugene
Last Packager: eugene
Votes: 21
Popularity: 0.34
First Submitted: 2021-05-08 08:36 (UTC)
Last Updated: 2025-05-18 07:29 (UTC)

Dependencies (4)

Required by (4)

Sources (2)

Latest Comments

1 2 3 Next › Last »

sntyj commented on 2025-05-19 04:56 (UTC)

@eugene Your update today nailed it, fixed the build for me. Compiled and installed abook as expected. Thank you!

eugene commented on 2025-05-18 07:32 (UTC)

Thanks for your input @sntyj

sntyj commented on 2025-05-18 03:27 (UTC)

Trying to build this today, and have been getting some interesting errors.

Switched to a new branch 'makepkg'
==> Starting prepare()...
# COPIES GETTEXT JUST FINE
configure.ac:13: warning: macro 'AM_GNU_GETTEXT' not found in library
configure.ac:14: warning: macro 'AM_GNU_GETTEXT_VERSION' not found in library
configure.ac:13: error: possibly undefined macro: AM_GNU_GETTEXT
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:14: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
==> ERROR: A failure occurred in prepare().
    Aborting...

File:

.cache/yay/abook/PKGBUILD

Made changes suggested here: https://stackoverflow.com/questions/73086695/autoconf-complains-of-undefined-macro-suggests-m4-pattern-allow-whats-going-o

prepare() {
  cd "$pkgname"
  # update gettext infrastructure
  cp -Rv /usr/share/gettext/po .
  # aclocal && automake --add-missing && autoconf
  autoreconf --install --force
}

Ran makepkg. New error:

mbswidth.c: In function ‘mbsnwidth’:                                                                                                                           
mbswidth.c:185:25: error: too many arguments to function ‘wcwidth’; expected 0, have 1                                                                         
  185 |                     w = wcwidth (wc);                                                                                                                  
      |                         ^~~~~~~  ~~                                                                                                                    
mbswidth.c:66:5: note: declared here                                                                                                                           
   66 | int wcwidth ();                                                                                                                                        
      |     ^~~~~~~                                                                                                                                            
mbswidth.c: In function ‘mbsnbytes’:                                                                                                                           
mbswidth.c:303:25: error: too many arguments to function ‘wcwidth’; expected 0, have 1                                                                         
  303 |                     w = wcwidth (wc);                                                                                                                  
      |                         ^~~~~~~  ~~                                                                                                                    
mbswidth.c:66:5: note: declared here                                                                                                                           
   66 | int wcwidth ();                                                                                                                                        
      |     ^~~~~~~                                                                                                                                            
make[2]: *** [Makefile:537: mbswidth.o] Error 1                                                                                                                
make[2]: Leaving directory '$HOME/.cache/yay/abook/src/abook'                                                                                             
make[1]: *** [Makefile:557: all-recursive] Error 1                                                                                                             
make[1]: Leaving directory '/$HOME/.cache/yay/abook/src/abook'                                                                                             
make: *** [Makefile:403: all] Error 2                                                                                                                          
==> ERROR: A failure occurred in build().                                                                                                                      
    Aborting...               

Not sure where to go from here, I played with the source a bit before I got out of my depth with C. Maybe I'm barking up the wrong tree.

simona commented on 2025-02-05 06:43 (UTC)

thx. solvedo.

eugene commented on 2025-02-05 00:53 (UTC)

key is not needed for the build, @simona. for now I will comment it out

simona commented on 2025-02-04 22:55 (UTC)

key missing -> 3552E46F58F5FEC69A2CD85A5B4E2D0DD7F62B21

m040601 commented on 2025-02-04 20:21 (UTC) (edited on 2025-02-04 20:24 (UTC) by m040601)

Thanks for the update.

Feedback for the latest PKGBUILD update,

'Package Details: abook 0.6.2+r8+gb5e4a4daec1c-1'
git+https://git.code.sf.net/p/abook/git#commit=b5e4a4daec1c7842e214b50a0f267e07d9792311
````

Everything seems to be working fine.


:: 1 package to upgrade/install. 1 aur/abook 0.6.1-7 -> 0.6.2+r8+gb5e4a4daec1c-1



$ abook -h

abook v0.6.2



They did change the man pages 'abook' and 'abookrc', but forgot to change the date,


.TH ABOOK 1 2006-09-06

                              2006-09-06                          ABOOK(1)


Most notable change,

   abookrc is stored in a user's $HOME/.abook or XDG_DATA_HOME/abook

```

eugene commented on 2025-01-30 08:31 (UTC) (edited on 2025-01-30 08:35 (UTC) by eugene)

I've tried to build it, but gcc errors out on database.c, which was resolved in one of subsequent commits 39484721c44629fb1f54d92f09c92ef4c3201302. I would wait for correcting release.

m040601 commented on 2025-01-30 06:32 (UTC) (edited on 2025-01-30 06:34 (UTC) by m040601)

Be aware that there as been a new release in Jan 2025 .... almost 10 years after the last one in 2015 !!! . Many changes

https://sourceforge.net/p/abook/git/ci/ver_0_6_2/tree/RELEASE_NOTES https://sourceforge.net/p/abook/git/ci/ver_0_6_2/tree/ChangeLog

0.6.1 (2015-08-11):
0.6.2 (2025-01-19):
 * change: GPLv3 licensing
 * change: --datafile aliased to -f
 * change: --mutt-query loose search: now searches within NOTES and disregards whitespace dif
 * new: customizable keys mapping
 * new: XDG directories compliance (rc/db files)
 * new: --email-fields allows --add-email to collect email
   addresses from fields others than "From" (eg: cc, bcc, or any other).
 * new: "mailto" and "ical" export format
 * fix: "custom" export format now consider any custom field
 * fix: "allcsv" export format now correctly handle custom fields
 * fix: Don't rewrite database file when closing without change
   --add-email is more likely to work now even if another interactive abook instance is runni
   (as long as the later doesn't modify the database)
 * fix: Multiple bug and spelling fixes. German translation update

Pablo commented on 2025-01-28 17:38 (UTC)

@eugene This was indeed the issue, the package builds fine after cleaning the caches. Thank you for the help!