Stefan Hagen <[email protected]> writes:

> Hi,
>
> with the switch from 1.8 to 1.10, the autotools build system is no
> longer supported. The new build system is meson - so this is pretty
> much a new port.
>
> Software changes between 1.8 and 1.10 are documented here:
> https://github.com/djcb/mu/blob/release/1.10/NEWS.org

There are lots of niceties!  `mu init --reinit' in particular is very
handy for updates.

> The smaller changes are on the release page:
> https://github.com/djcb/mu/releases
>
> portcheck, port lib depends check and the test target are happy.
>
> I'm happy to hear test reports (especially for guile/mu4e) / comments
> and OKs.

Even if I've moved to mblaze, I still have my old mu4e configuration
around.  It seems to work (I'm replying from mu4e), and even from the
mu4e side there some nice additions! :)

mu(1) continue to work just as fine for me.  never used the guile
bindings.

some minor nits below, but ok op@ anyway.

Thanks!


> Best Regards,
> Stefan
>
> Index: mail/mu/Makefile
> ===================================================================
> RCS file: /cvs/ports/mail/mu/Makefile,v
> retrieving revision 1.41
> diff -u -p -u -p -r1.41 Makefile
> --- mail/mu/Makefile  6 Feb 2023 16:30:06 -0000       1.41
> +++ mail/mu/Makefile  3 Sep 2023 11:47:11 -0000
> @@ -1,6 +1,6 @@
>  COMMENT=     maildir indexer and searcher with emacs frontend
>  
> -V=           1.8.14
> +V=           1.10.7
>  GUILE_V=     3.0
>  
>  DISTNAME=    mu-$V
> @@ -8,7 +8,7 @@ DISTNAME=     mu-$V
>  FLAVORS=     guile
>  FLAVOR ?=
>  
> -SHARED_LIBS= guile-mu        0.0
> +SHARED_LIBS= guile-mu        0.1 # 1.10.7

for projects using their version as shlib version, keeping the comment
is just churn IMHO.  You'll still have to check by yourself what bump is
needed, and keeping a copy of the package version there is useless.

>  CATEGORIES=  mail
>  HOMEPAGE=    http://www.djcbsoftware.nl/code/mu/
> @@ -18,45 +18,41 @@ MAINTAINER=       Stefan Hagen <sh+ports@codev
>  # GPLv3+
>  PERMIT_PACKAGE=      Yes
>  
> -WANTLIB += ${COMPILER_LIBCXX} assuan c curses ffi gio-2.0 glib-2.0
> -WANTLIB += gmime-3.0 gmodule-2.0 gobject-2.0 gpg-error gpgme gthread-2.0
> -WANTLIB += iconv idn2 intl m pcre2-8 readline unistring xapian z
> +WANTLIB =  ${COMPILER_LIBCXX} c gio-2.0 glib-2.0 gmime-3.0 gobject-2.0
> +WANTLIB += m xapian

not a big deal, but usually all the lines are WANTLIB +=, even the first
one.

> [...]
> +post-install:
> +     gunzip ${WRKINST}/${TRUEPREFIX}/share/info/*.info.gz
> +     mv ${WRKINST}/${TRUEPREFIX}/share/info/*.info \
> +             ${WRKINST}/${TRUEPREFIX}/info/
> +     rm -r ${WRKINST}/${TRUEPREFIX}/share/info

Your call, but I instead of the mv I'd fix the infodir on the meson side
(it's an option), the rm can go away as well at that point, and for the
gunzip I'd patch build-aux/meson-install-info.sh.

Reply via email to