From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Adam Duskett <adam.duskett@amarulasolutions.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v4 02/10] package/dmenu-wayland: new package
Date: Sun, 24 Dec 2023 19:55:11 +0100 [thread overview]
Message-ID: <ZYh-j6w4L936dLg_@landeda> (raw)
In-Reply-To: <20231221153620.237439-2-adam.duskett@amarulasolutions.com>
Adam, All,
On 2023-12-21 08:36 -0700, Adam Duskett spake thusly:
> This package is an alternative to dmenu for X.
I scratched my head around that one, because it is ambiguous: why is it
named dmenu-*wayland* if it is for X? OK, so it's the other way around:
dmenu is for X (only); dmenu is another implementation of dmenu, for
wayland. I rewrote the sentence to avoid the ambiguity (at least I find
the new wording less ambiguous).
> Sway uses it by default as its
> menu bar.
>
> Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
> ---
[--SNIP--]
> diff --git a/package/dmenu-wayland/Config.in b/package/dmenu-wayland/Config.in
> new file mode 100644
> index 0000000000..e2af09080c
> --- /dev/null
> +++ b/package/dmenu-wayland/Config.in
> @@ -0,0 +1,26 @@
> +config BR2_PACKAGE_DMENU_WAYLAND
> + bool "dmenu-wayland"
> + depends on BR2_USE_MMU # pango
> + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango
> + depends on BR2_TOOLCHAIN_HAS_THREADS # pango, wayland
Threqds also inherited because of libglib2.
> + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pango
> + depends on !BR2_STATIC_LIBS # wayland
> + depends on BR2_INSTALL_LIBSTDCPP # pango
> + depends on BR2_USE_WCHAR # pango
Ditto wchar.
[--SNIP--]
> +comment "dmenu-wayland needs a toolchain w/ wchar, threads, C++, dynamic library, gcc >= 4.9"
> + depends on BR2_USE_MMU
> + depends on !BR2_TOOLCHAIN_HAS_SYNC_4 || !BR2_TOOLCHAIN_HAS_THREADS || \
I see that the naming of the variable is not obvious, and that the
manual is a bit ambiguous about it, but BR2_TOOLCHAIN_HAS_SYNC_4 is an
architecture dependency. As such, it should be used ti hide the comment,
like MMU.
I've fixed all these minor issues and applied to master, thanks.
Regards,
Yann E. MORIN.
> + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || BR2_STATIC_LIBS || \
> + !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
> diff --git a/package/dmenu-wayland/dmenu-wayland.hash b/package/dmenu-wayland/dmenu-wayland.hash
> new file mode 100644
> index 0000000000..1248c4ad66
> --- /dev/null
> +++ b/package/dmenu-wayland/dmenu-wayland.hash
> @@ -0,0 +1,3 @@
> +# Locally computed
> +sha256 56340e198a2c58468c6109f3bb07ab8a074487e67b0758b29c9d4fdce7c4d594 dmenu-wayland-a380201dff5bfac2dace553d7eaedb6cea6855f9.tar.gz
> +sha256 8d26bccf8a21c5e29dc756beef534403c935766c815bbb6e7eab0598632b9827 LICENSE
> diff --git a/package/dmenu-wayland/dmenu-wayland.mk b/package/dmenu-wayland/dmenu-wayland.mk
> new file mode 100644
> index 0000000000..33a73c0153
> --- /dev/null
> +++ b/package/dmenu-wayland/dmenu-wayland.mk
> @@ -0,0 +1,28 @@
> +################################################################################
> +#
> +# dmenu-wayland
> +#
> +################################################################################
> +
> +DMENU_WAYLAND_VERSION = a380201dff5bfac2dace553d7eaedb6cea6855f9
> +DMENU_WAYLAND_SITE = $(call github,nyyManni,dmenu-wayland,$(DMENU_WAYLAND_VERSION))
> +DMENU_WAYLAND_LICENSE = MIT
> +DMENU_WAYLAND_LICENSE_FILES = LICENSE
> +
> +# host-wayland is for wayland-scanner
> +DMENU_WAYLAND_DEPENDENCIES = \
> + host-wayland \
> + cairo \
> + libglib2 \
> + libxkbcommon \
> + pango \
> + wayland \
> + wayland-protocols
> +
> +# By default, sway calls dmenu not dmenu-wl
> +define DMENU_WAYLAND_SYMLINK_DMENU_WL
> + ln -sf dmenu-wl $(TARGET_DIR)/usr/bin/dmenu
> +endef
> +DMENU_WAYLAND_POST_INSTALL_TARGET_HOOKS += DMENU_WAYLAND_SYMLINK_DMENU_WL
> +
> +$(eval $(meson-package))
> --
> 2.43.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2023-12-24 18:55 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-21 15:36 [Buildroot] [PATCH v4 01/10] package/wlroots: add hwdata and hwdata_pnp_ids as a dependency Adam Duskett
2023-12-21 15:36 ` [Buildroot] [PATCH v4 02/10] package/dmenu-wayland: new package Adam Duskett
2023-12-24 18:55 ` Yann E. MORIN [this message]
2023-12-21 15:36 ` [Buildroot] [PATCH v4 03/10] package/foot: " Adam Duskett
2023-12-24 21:38 ` Yann E. MORIN
2023-12-21 15:36 ` [Buildroot] [PATCH v4 04/10] package/ncurses: install foot terminfo if foot is selected Adam Duskett
2023-12-24 21:49 ` Yann E. MORIN
2023-12-21 15:36 ` [Buildroot] [PATCH v4 05/10] package/sway: enable bash-completion support Adam Duskett
2023-12-24 22:25 ` Yann E. MORIN
2023-12-21 15:36 ` [Buildroot] [PATCH v4 06/10] package/sway: enable default-wallpaper support Adam Duskett
2023-12-21 15:36 ` [Buildroot] [PATCH v4 07/10] package/sway: enable swaybar support Adam Duskett
2023-12-21 15:36 ` [Buildroot] [PATCH v4 08/10] package/sway: enable swaybar tray support Adam Duskett
2023-12-21 15:36 ` [Buildroot] [PATCH v4 09/10] package/sway: enable swaynag support Adam Duskett
2023-12-21 15:36 ` [Buildroot] [PATCH v4 10/10] package/sway/Config.in: Add a help note about the default terminal Adam Duskett
2023-12-22 17:02 ` [Buildroot] [PATCH v4 01/10] package/wlroots: add hwdata and hwdata_pnp_ids as a dependency Yann E. MORIN
2023-12-23 14:45 ` Thomas Petazzoni via buildroot
2023-12-23 14:51 ` Thomas Petazzoni via buildroot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZYh-j6w4L936dLg_@landeda \
--to=yann.morin.1998@free.fr \
--cc=adam.duskett@amarulasolutions.com \
--cc=buildroot@buildroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox