diff options
| author | Alex Kiernan <alex.kiernan@gmail.com> | 2025-03-15 10:24:38 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-03-17 17:09:22 +0000 |
| commit | 113bf90b00eb15f5f588b75097656c710c31d1a3 (patch) | |
| tree | 005a644de716e0c21f40dc5bdb2f65c4caaf8e45 | |
| parent | 78609596c6a11a533dc039d040a8762545a237b4 (diff) | |
| download | poky-113bf90b00eb15f5f588b75097656c710c31d1a3.tar.gz | |
scdoc: Import from meta-wayland
scdoc is a simple man page generator for POSIX systems written in C99.
(From OE-Core rev: 00c9683ae5ca5dd2d4490caa7a408a1a04a60f13)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/conf/distro/include/maintainers.inc | 1 | ||||
| -rw-r--r-- | meta/recipes-extended/scdoc/scdoc/0001-Makefile-dont-add-static-to-LDFLAGS.patch | 27 | ||||
| -rw-r--r-- | meta/recipes-extended/scdoc/scdoc_git.bb | 25 |
3 files changed, 53 insertions, 0 deletions
diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 5515d46ca5..2b47d3103c 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc | |||
| @@ -761,6 +761,7 @@ RECIPE_MAINTAINER:pn-sassc = "Simone Weiß <simone.p.weiss@posteo.com>" | |||
| 761 | RECIPE_MAINTAINER:pn-sato-screenshot = "Ross Burton <ross.burton@arm.com>" | 761 | RECIPE_MAINTAINER:pn-sato-screenshot = "Ross Burton <ross.burton@arm.com>" |
| 762 | RECIPE_MAINTAINER:pn-sato-icon-theme = "Richard Purdie <richard.purdie@linuxfoundation.org>" | 762 | RECIPE_MAINTAINER:pn-sato-icon-theme = "Richard Purdie <richard.purdie@linuxfoundation.org>" |
| 763 | RECIPE_MAINTAINER:pn-sbc = "Unassigned <unassigned@yoctoproject.org>" | 763 | RECIPE_MAINTAINER:pn-sbc = "Unassigned <unassigned@yoctoproject.org>" |
| 764 | RECIPE_MAINTAINER:pn-scdoc = "Alex Kiernan <alex.kiernan@gmail.com>" | ||
| 764 | RECIPE_MAINTAINER:pn-screen = "Anuj Mittal <anuj.mittal@intel.com>" | 765 | RECIPE_MAINTAINER:pn-screen = "Anuj Mittal <anuj.mittal@intel.com>" |
| 765 | RECIPE_MAINTAINER:pn-seatd = "Unassigned <unassigned@yoctoproject.org>" | 766 | RECIPE_MAINTAINER:pn-seatd = "Unassigned <unassigned@yoctoproject.org>" |
| 766 | RECIPE_MAINTAINER:pn-sed = "Chen Qi <Qi.Chen@windriver.com>" | 767 | RECIPE_MAINTAINER:pn-sed = "Chen Qi <Qi.Chen@windriver.com>" |
diff --git a/meta/recipes-extended/scdoc/scdoc/0001-Makefile-dont-add-static-to-LDFLAGS.patch b/meta/recipes-extended/scdoc/scdoc/0001-Makefile-dont-add-static-to-LDFLAGS.patch new file mode 100644 index 0000000000..b520e949c0 --- /dev/null +++ b/meta/recipes-extended/scdoc/scdoc/0001-Makefile-dont-add-static-to-LDFLAGS.patch | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | From 2cac433806d9622dbc005fe5738f1ae8c33a98cb Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Markus Volk <f_l_k@t-online.de> | ||
| 3 | Date: Thu, 13 Jul 2023 19:26:40 +0200 | ||
| 4 | Subject: [PATCH] Makefile: dont add -static to LDFLAGS | ||
| 5 | |||
| 6 | Signed-off-by: Markus Volk <f_l_k@t-online.de> | ||
| 7 | |||
| 8 | Upstream-Status: Inappropriate [oe-specific] | ||
| 9 | --- | ||
| 10 | Makefile | 1 - | ||
| 11 | 1 file changed, 1 deletion(-) | ||
| 12 | |||
| 13 | diff --git a/Makefile b/Makefile | ||
| 14 | index 60a80b8..49021fa 100644 | ||
| 15 | --- a/Makefile | ||
| 16 | +++ b/Makefile | ||
| 17 | @@ -1,7 +1,6 @@ | ||
| 18 | VERSION=1.11.2 | ||
| 19 | CFLAGS?=-g | ||
| 20 | MAINFLAGS:=-DVERSION='"$(VERSION)"' -Wall -Wextra -Werror -Wno-unused-parameter | ||
| 21 | -LDFLAGS+=-static | ||
| 22 | INCLUDE+=-Iinclude | ||
| 23 | PREFIX?=/usr/local | ||
| 24 | BINDIR?=$(PREFIX)/bin | ||
| 25 | -- | ||
| 26 | 2.39.3 | ||
| 27 | |||
diff --git a/meta/recipes-extended/scdoc/scdoc_git.bb b/meta/recipes-extended/scdoc/scdoc_git.bb new file mode 100644 index 0000000000..224e541734 --- /dev/null +++ b/meta/recipes-extended/scdoc/scdoc_git.bb | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | SUMMARY = "scdoc is a simple man page generator for POSIX systems written in C99." | ||
| 2 | HOMEPAGE = "https://github.com/ddevault/scdoc" | ||
| 3 | BUGTRACKER = "https://github.com/ddevault/scdoc/issues" | ||
| 4 | SECTION = "base/doc" | ||
| 5 | LICENSE = "MIT" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=31752b4a8edd3fb9ddba1cb90fada74d" | ||
| 7 | |||
| 8 | SRC_URI = " \ | ||
| 9 | git://git.sr.ht/~sircmpwn/scdoc;protocol=https;branch=master \ | ||
| 10 | file://0001-Makefile-dont-add-static-to-LDFLAGS.patch \ | ||
| 11 | " | ||
| 12 | |||
| 13 | DEPENDS = "scdoc-native" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | PV = "1.11.2" | ||
| 17 | SRCREV = "afeda241f3f9b2c27e461f32d9c2a704ab82ef61" | ||
| 18 | |||
| 19 | EXTRA_OEMAKE:class-native = "PREFIX=${prefix}" | ||
| 20 | EXTRA_OEMAKE:class-target = "PREFIX=${prefix} HOST_SCDOC=${STAGING_BINDIR_NATIVE}/scdoc" | ||
| 21 | |||
| 22 | inherit autotools-brokensep | ||
| 23 | |||
| 24 | BBCLASSEXTEND = "native" | ||
| 25 | |||
