All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][patch v2 0/1] New terminal emulator: st 0.8.4
@ 2020-09-03 12:14 Yann Dirson
  2020-09-03 12:14 ` [meta-oe][patch v2 1/1] " Yann Dirson
  0 siblings, 1 reply; 3+ messages in thread
From: Yann Dirson @ 2020-09-03 12:14 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Yann Dirson

From: Yann Dirson <yann@blade-group.com>

v2 changes:

- added to packagegroup-meta-oe
- reverted and ship the terminfo file, as it's not shipped by
  ncurses-terminfo in current versions

Yann Dirson (1):
  New terminal emulator: st 0.8.4

 .../packagegroups/packagegroup-meta-oe.bb     |  1 +
 meta-oe/recipes-graphics/suckless/st_0.8.4.bb | 25 +++++++++++++++++++
 2 files changed, 26 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/suckless/st_0.8.4.bb

-- 
2.28.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [meta-oe][patch v2 1/1] New terminal emulator: st 0.8.4
  2020-09-03 12:14 [meta-oe][patch v2 0/1] New terminal emulator: st 0.8.4 Yann Dirson
@ 2020-09-03 12:14 ` Yann Dirson
  2020-09-12  9:34   ` [oe] " Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: Yann Dirson @ 2020-09-03 12:14 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Yann Dirson

From: Yann Dirson <yann@blade-group.com>

Can be used as a replacement for matchbox-terminal, with much less
dependencies (does not need gtk and vte), and supports "-e" flag.

Signed-off-by: Yann Dirson <yann@blade-group.com>
---
 .../packagegroups/packagegroup-meta-oe.bb     |  1 +
 meta-oe/recipes-graphics/suckless/st_0.8.4.bb | 25 +++++++++++++++++++
 2 files changed, 26 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/suckless/st_0.8.4.bb

diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
index 55d623d95..d67b2fb69 100644
--- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
+++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
@@ -455,6 +455,7 @@ RDEPENDS_packagegroup-meta-oe-graphics ="\
     openbox \
     packagegroup-fonts-truetype \
     qrencode \
+    st \
     takao-fonts \
     leptonica \
     libvncserver \
diff --git a/meta-oe/recipes-graphics/suckless/st_0.8.4.bb b/meta-oe/recipes-graphics/suckless/st_0.8.4.bb
new file mode 100644
index 000000000..1f4961cb2
--- /dev/null
+++ b/meta-oe/recipes-graphics/suckless/st_0.8.4.bb
@@ -0,0 +1,25 @@
+SECTION = "shadow"
+LICENSE = "MIT-X"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=04c3ca13a702147c62db90f556c5b3ca"
+SRC_URI = " \
+ http://dl.suckless.org/${BPN}/${BPN}-${PV}.tar.gz \
+"
+
+inherit pkgconfig
+
+SRC_URI[sha256sum] = "d42d3ceceb4d6a65e32e90a5336e3d446db612c3fbd9ebc1780bc6c9a03346a6"
+
+DEPENDS += "libx11 libxft fontconfig ncurses-native"
+
+RDEPENDS_${PN} += "libx11-locale"
+
+do_compile() {
+    make INCS='-I. `pkg-config --cflags x11 fontconfig xft`' LIBS='-lm -lutil `pkg-config --libs x11 fontconfig xft`'
+}
+do_install() {
+    make install DESTDIR=${D} PREFIX=/usr TERMINFO=${D}${datadir}/terminfo
+}
+
+FILES_${PN} += " \
+  ${datadir}/terminfo \
+"
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [oe] [meta-oe][patch v2 1/1] New terminal emulator: st 0.8.4
  2020-09-03 12:14 ` [meta-oe][patch v2 1/1] " Yann Dirson
@ 2020-09-12  9:34   ` Martin Jansa
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Jansa @ 2020-09-12  9:34 UTC (permalink / raw)
  To: Yann Dirson; +Cc: openembedded-devel, Yann Dirson

[-- Attachment #1: Type: text/plain, Size: 2241 bytes --]

This is missing x11 in REQUIRED_DISTRO_FEATURES and the inherit, will send
patch shortly.

On Thu, Sep 3, 2020 at 2:15 PM Yann Dirson <yann.dirson@blade-group.com>
wrote:

> From: Yann Dirson <yann@blade-group.com>
>
> Can be used as a replacement for matchbox-terminal, with much less
> dependencies (does not need gtk and vte), and supports "-e" flag.
>
> Signed-off-by: Yann Dirson <yann@blade-group.com>
> ---
>  .../packagegroups/packagegroup-meta-oe.bb     |  1 +
>  meta-oe/recipes-graphics/suckless/st_0.8.4.bb | 25 +++++++++++++++++++
>  2 files changed, 26 insertions(+)
>  create mode 100644 meta-oe/recipes-graphics/suckless/st_0.8.4.bb
>
> diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
> b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
> index 55d623d95..d67b2fb69 100644
> --- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
> +++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
> @@ -455,6 +455,7 @@ RDEPENDS_packagegroup-meta-oe-graphics ="\
>      openbox \
>      packagegroup-fonts-truetype \
>      qrencode \
> +    st \
>      takao-fonts \
>      leptonica \
>      libvncserver \
> diff --git a/meta-oe/recipes-graphics/suckless/st_0.8.4.bb
> b/meta-oe/recipes-graphics/suckless/st_0.8.4.bb
> new file mode 100644
> index 000000000..1f4961cb2
> --- /dev/null
> +++ b/meta-oe/recipes-graphics/suckless/st_0.8.4.bb
> @@ -0,0 +1,25 @@
> +SECTION = "shadow"
> +LICENSE = "MIT-X"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=04c3ca13a702147c62db90f556c5b3ca"
> +SRC_URI = " \
> + http://dl.suckless.org/${BPN}/${BPN}-${PV}.tar.gz \
> +"
> +
> +inherit pkgconfig
> +
> +SRC_URI[sha256sum] =
> "d42d3ceceb4d6a65e32e90a5336e3d446db612c3fbd9ebc1780bc6c9a03346a6"
> +
> +DEPENDS += "libx11 libxft fontconfig ncurses-native"
> +
> +RDEPENDS_${PN} += "libx11-locale"
> +
> +do_compile() {
> +    make INCS='-I. `pkg-config --cflags x11 fontconfig xft`' LIBS='-lm
> -lutil `pkg-config --libs x11 fontconfig xft`'
> +}
> +do_install() {
> +    make install DESTDIR=${D} PREFIX=/usr TERMINFO=${D}${datadir}/terminfo
> +}
> +
> +FILES_${PN} += " \
> +  ${datadir}/terminfo \
> +"
> --
> 2.28.0
>
> 
>

[-- Attachment #2: Type: text/html, Size: 3731 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-12  9:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-03 12:14 [meta-oe][patch v2 0/1] New terminal emulator: st 0.8.4 Yann Dirson
2020-09-03 12:14 ` [meta-oe][patch v2 1/1] " Yann Dirson
2020-09-12  9:34   ` [oe] " Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.