[Buildroot] [PATCH/next 02/13] package/dmenu-wayland: new package

Adam Duskett adam.duskett at amarulasolutions.com
Thu Nov 23 19:12:52 UTC 2023


Hey Thomas;

lib2 -> glib2

"I think listing the first order dependency is enough." Not sure what you
mean.

Using the github macro wouldn't work as the release is quite old and lacks
an absurd amount
of features and fixes.


Adam Duskett

Senior Embedded Systems Developer

adam.duskett at amarulasolutions.com

__________________________________


Amarula Solutions BV

Joop Geesinkweg 125, 1114 AB, Amsterdam, NL

T. +31 (0)85 111 9170
info at amarulasolutions.com

www.amarulasolutions.com



On Thu, Nov 23, 2023 at 6:44 AM Thomas Petazzoni <
thomas.petazzoni at bootlin.com> wrote:

> Hello Adam,
>
> On Wed, 22 Nov 2023 17:08:08 -0700
> Adam Duskett <adam.duskett at amarulasolutions.com> wrote:
>
> > diff --git a/package/dmenu-wayland/Config.in
> b/package/dmenu-wayland/Config.in
> > new file mode 100644
> > index 0000000000..111bbfb434
> > --- /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 -> lib2
>
> lib2 ?
>
> > +     depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz
> > +     depends on BR2_TOOLCHAIN_HAS_THREADS # pango -> glib2, wayland
> > +     depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pango -> harfbuz
> > +     depends on !BR2_STATIC_LIBS # wayland -> dlfcn.h
> > +     depends on BR2_INSTALL_LIBSTDCPP # pango -> freetype support
> > +     depends on BR2_USE_WCHAR # pango -> glib2
>
> I think listing the first order dependency is enough.
>
> > +DMENU_WAYLAND_VERSION = a380201dff5bfac2dace553d7eaedb6cea6855f9
> > +DMENU_WAYLAND_SITE = https://github.com/nyyManni/dmenu-wayland.git
> > +DMENU_WAYLAND_SITE_METHOD = git
>
> Use the github macro?
>
> > +DMENU_WAYLAND_LICENSE = MIT
> > +DMENU_WAYLAND_LICENSE_FILES = LICENSE
> > +
> > +DMENU_WAYLAND_DEPENDENCIES = \
> > +     cairo \
> > +     libglib2 \
> > +     libxkbcommon \
> > +     pango \
> > +     wayland \
> > +     wayland-protocols
> > +
> > +# By default, sway calls dmenu not dmenu-wl
> > +define DMENU_WAYLAND_SYMLINK_DMENU_WL
> > +     cd $(TARGET_DIR)/usr/bin && \
> > +     ln -sf dmenu-wl dmenu
>
> I think:
>
>         ln -sf dmenu-wl $(TARGET_DIR)/usr/bin/dmenu
>
> achieves the same.
>
> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering and training
> https://bootlin.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20231123/fd8413fc/attachment-0001.html>


More information about the buildroot mailing list