[macports-ports] branch master updated: meld: fix build deps

Ryan Schmidt ryandesign at macports.org
Mon Oct 16 19:18:38 UTC 2017


On Oct 16, 2017, at 13:53, Eric Le Lay wrote:

> Eric Le Lay (elelay) pushed a commit to branch master
> in repository macports-ports.
> 
> 
> https://github.com/macports/macports-ports/commit/10c47cd521eeb7c126191664f8330523224119a5
> 
> The following commit(s) were added to refs/heads/master by this push:
> 
>      new 10c47cd  meld: fix build deps
> 
> 10c47cd is described below
> 
> 
> commit 10c47cd521eeb7c126191664f8330523224119a5
> 
> Author: Eric Le Lay <elelay at macports.org>
> AuthorDate: Mon Oct 16 20:53:03 2017 +0200
> 
> 
>     meld: fix build deps
> 
> ---
>  textproc/meld/Portfile | 14 +++++++++-----
>  1 file changed, 9 insertions(+), 5 deletions(-)
> 
> diff --git a/textproc/meld/Portfile b/textproc/meld/Portfile
> index c52ffb0..2dc2355 100644
> --- a/textproc/meld/Portfile
> +++ b/textproc/meld/Portfile
> @@ -26,8 +26,6 @@ use_xz                  yes
>  checksums               rmd160  04a24763fd112b787824145cd18eff48faeb63bc \
>                          sha256  848158b1e5c7473b9da3ddc16e057aad8951ec82979beb5914b8b4acdf97223e
>  
> -depends_build           port:intltool
> -
>  python.versions         36
>  python.default_version  36
>  
> @@ -37,14 +35,20 @@ destroot.cmd            "${python.bin} setup.py [python_get_defaults setup_args]
>  # install everything under prefix, except libraries, that go under Library/Frameworks/Python...
>  destroot.destdir        "--prefix=${prefix} --install-lib=[python_get_defaults pkgd] --root=${destroot}"
>  
> +depends_build           port:intltool \
> +                        port:itstool
> +

Looks like this fixed this ticket:

https://trac.macports.org/ticket/55100


>  depends_lib             port:gtk3 \
>                          port:gtksourceview3 \
> -                        port:py${python.version}-gobject3
> +                        port:py${python.version}-gobject3 \
> +                        port:shared-mime-info
> +
> +depends_run             port:desktop-file-utils
>  
>  post-activate {
>      system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
> -    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
> -    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/HighContrast"
> +    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
> +    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/HighContrast"
>      system "${prefix}/bin/update-mime-database ${prefix}/share/mime"
>      system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
>  }

Users who already had itstool installed, and were thus able to install the port before, won't receive the above changes unless you increase the port's revision.




More information about the macports-dev mailing list