Re: git: 60e6125a3118 - main - x11-themes/adwaita-icon-theme: update to 47.0

From: Vladimir Druzenko <vvd_at_freebsd.org>
Date: Tue, 10 Jun 2025 13:15:56 UTC
Hello!

In poudriere 14.2 amd64:
===>  Configuring for adwaita-icon-theme-legacy-46.2
WARNING: Recommend using either -Dbuildtype or -Doptimization + -Ddebug. 
Using both is redundant since they override each other.
See: https://mesonbuild.com/Builtin-options.html#build-type-options
The Meson build system
Version: 1.7.0
Source dir: 
/wrkdirs/usr/ports/x11-themes/adwaita-icon-theme-legacy/work/adwaita-icon-theme-legacy-46.2
Build dir: 
/wrkdirs/usr/ports/x11-themes/adwaita-icon-theme-legacy/work/adwaita-icon-theme-legacy-46.2/_build
Build type: native build
Project name: adwaita-icon-theme-legacy
Project version: 46.2
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/usr/local/bin/pkgconf) 2.4.3
Program gtk4-update-icon-cache gtk-update-icon-cache found: NO

meson.build:26:24: ERROR: Program 'gtk4-update-icon-cache 
gtk-update-icon-cache' not found or not executable

A full log can be found at 
/wrkdirs/usr/ports/x11-themes/adwaita-icon-theme-legacy/work/adwaita-icon-theme-legacy-46.2/_build/me
son-logs/meson-log.txt
WARNING: Running the setup command as `meson [options]` instead of 
`meson setup [options]` is ambiguous and deprecated.
===>  Script "configure" failed unexpectedly.
Please report the problem to gnome@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/x11-themes/adwaita-icon-theme-legacy/work/adwaita-icon-theme-legacy-46.2/_build/meson-logs/meson-log.txt"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1


10.06.2025 14:03, Baptiste Daroussin пишет:
> The branch main has been updated by bapt:
>
> URL:https://cgit.FreeBSD.org/ports/commit/?id=60e6125a3118f204c40f7129abe44478caa209ab
>
> commit 60e6125a3118f204c40f7129abe44478caa209ab
> Author:     Olivier Duchateau<duchateau.olivier@gmail.com>
> AuthorDate: 2025-06-10 10:58:43 +0000
> Commit:     Baptiste Daroussin<bapt@FreeBSD.org>
> CommitDate: 2025-06-10 11:02:38 +0000
>
>      x11-themes/adwaita-icon-theme: update to 47.0
>      
>      while here add a new x11-themes/adwait-icon-theme-legacy for use with
>      legacy application which relies on icons not provided anymore by this
>      version
>      
>      PR:             286697
> ---
>   x11-themes/Makefile                                |    1 +
>   x11-themes/adwaita-icon-theme-legacy/Makefile      |   18 +
>   x11-themes/adwaita-icon-theme-legacy/distinfo      |    3 +
>   .../files/patch-meson.build                        |   10 +
>   x11-themes/adwaita-icon-theme-legacy/pkg-descr     |    1 +
>   x11-themes/adwaita-icon-theme-legacy/pkg-plist     | 1861 ++++++++++++++++++++
>   x11-themes/adwaita-icon-theme/Makefile             |   17 +-
>   x11-themes/adwaita-icon-theme/distinfo             |    6 +-
>   .../adwaita-icon-theme/files/patch-meson.build     |   18 +
>   x11-themes/adwaita-icon-theme/pkg-descr            |    2 +-
>   x11-themes/adwaita-icon-theme/pkg-plist            | 1793 ++++++++-----------
>   11 files changed, 2647 insertions(+), 1083 deletions(-)
>
> diff --git a/x11-themes/Makefile b/x11-themes/Makefile
> index b1a820ddd102..15d7a693aaf6 100644
> --- a/x11-themes/Makefile
> +++ b/x11-themes/Makefile
> @@ -4,6 +4,7 @@
>       SUBDIR += adapta-backgrounds
>       SUBDIR += adapta-gtk-theme
>       SUBDIR += adwaita-icon-theme
> +    SUBDIR += adwaita-icon-theme-legacy
>       SUBDIR += adwaita-qt5
>       SUBDIR += adwaita-qt6
>       SUBDIR += ant-dracula-theme
> diff --git a/x11-themes/adwaita-icon-theme-legacy/Makefile b/x11-themes/adwaita-icon-theme-legacy/Makefile
> new file mode 100644
> index 000000000000..3afeabc69d35
> --- /dev/null
> +++ b/x11-themes/adwaita-icon-theme-legacy/Makefile
> @@ -0,0 +1,18 @@
> +PORTNAME=	adwaita-icon-theme-legacy
> +DISTVERSION=	46.2
> +CATEGORIES=	x11-themes gnome
> +MASTER_SITES=	GNOME
> +DIST_SUBDIR=	gnome
> +
> +MAINTAINER=	gnome@FreeBSD.org
> +COMMENT=	Full color icon theme for legacy applications
> +WWW=		https://gitlab.gnome.org/GNOME/adwaita-icon-theme-legacy
> +
> +LICENSE=	LGPL3 CC-BY-SA-3.0
> +LICENSE_COMB=	dual
> +
> +NO_ARCH=	yes
> +USES=		gnome meson pkgconfig tar:xz
> +USE_GNOME=	gtk-update-icon-cache
> +
> +.include <bsd.port.mk>
> diff --git a/x11-themes/adwaita-icon-theme-legacy/distinfo b/x11-themes/adwaita-icon-theme-legacy/distinfo
> new file mode 100644
> index 000000000000..c35ec8aafa11
> --- /dev/null
> +++ b/x11-themes/adwaita-icon-theme-legacy/distinfo
> @@ -0,0 +1,3 @@
> +TIMESTAMP = 1730742916
> +SHA256 (gnome/adwaita-icon-theme-legacy-46.2.tar.xz) = 548480f58589a54b72d18833b755b15ffbd567e3187249d74e2e1f8f99f22fb4
> +SIZE (gnome/adwaita-icon-theme-legacy-46.2.tar.xz) = 2056840
> diff --git a/x11-themes/adwaita-icon-theme-legacy/files/patch-meson.build b/x11-themes/adwaita-icon-theme-legacy/files/patch-meson.build
> new file mode 100644
> index 000000000000..6f52d467a76d
> --- /dev/null
> +++ b/x11-themes/adwaita-icon-theme-legacy/files/patch-meson.build
> @@ -0,0 +1,10 @@
> +--- meson.build.orig	2024-05-17 12:38:21 UTC
> ++++ meson.build
> +@@ -5,6 +5,7 @@ pkg.generate(
> +   name : 'adwaita-icon-theme-legacy',
> +   description : 'Icon theme that provides fallback icons for old apps relying on global icon themes',
> +   dataonly : true,
> ++  install_dir : get_option('prefix') / 'libdata' / 'pkgconfig',
> + )
> +
> + licenses_dir = get_option('datadir') / 'licenses' / 'adwaita-icon-theme'
> diff --git a/x11-themes/adwaita-icon-theme-legacy/pkg-descr b/x11-themes/adwaita-icon-theme-legacy/pkg-descr
> new file mode 100644
> index 000000000000..ee9cb7f9719d
> --- /dev/null
> +++ b/x11-themes/adwaita-icon-theme-legacy/pkg-descr
> @@ -0,0 +1 @@
> +A fullcolor Adwaita icon theme providing fallback for legacy applications.
> diff --git a/x11-themes/adwaita-icon-theme-legacy/pkg-plist b/x11-themes/adwaita-icon-theme-legacy/pkg-plist
> new file mode 100644
> index 000000000000..04cffa477055
> --- /dev/null
> +++ b/x11-themes/adwaita-icon-theme-legacy/pkg-plist
> @@ -0,0 +1,1861 @@
> +share/icons/AdwaitaLegacy/16x16/actions/.placeholder


-- 
Best regards,
Vladimir Druzenko