mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 00:32:13 +02:00
scdoc: Upgrade 1.11.2 -> 1.11.3
Swap static link removal patch to a backport of upstream, remove autotools usage (this is just a Makefile recipe), fix up metadata. Changes: Dimitry Andric (1): Fix clang 15 -Wstrict-prototypes warnings Drew DeVault (2): README.md: mention system packages Update version to 1.11.3 Eli Schwartz (2): remove useless re-declarations of standard functions get rid of some unused includes Humm (3): use .PP for paragraph breaks scdoc(1), scdoc(5): follow conventions more closely simplify list output Max Schillinger (1): fix formatting of escaped backticks Simon Branch (2): scdoc.5: fix capitalization of subsection headers scdoc.5: fix formatting in the preamble Simon Ser (1): man: add section about SOURCE_DATE_EPOCH jturtle (1): Emit '\e' instead of '\\' (From OE-Core rev: a57fa257b4e64a790ee649661c0a386803acf0a5) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
113bf90b00
commit
8553d3e1ca
@@ -1,27 +0,0 @@
|
||||
From 2cac433806d9622dbc005fe5738f1ae8c33a98cb Mon Sep 17 00:00:00 2001
|
||||
From: Markus Volk <f_l_k@t-online.de>
|
||||
Date: Thu, 13 Jul 2023 19:26:40 +0200
|
||||
Subject: [PATCH] Makefile: dont add -static to LDFLAGS
|
||||
|
||||
Signed-off-by: Markus Volk <f_l_k@t-online.de>
|
||||
|
||||
Upstream-Status: Inappropriate [oe-specific]
|
||||
---
|
||||
Makefile | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 60a80b8..49021fa 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,7 +1,6 @@
|
||||
VERSION=1.11.2
|
||||
CFLAGS?=-g
|
||||
MAINFLAGS:=-DVERSION='"$(VERSION)"' -Wall -Wextra -Werror -Wno-unused-parameter
|
||||
-LDFLAGS+=-static
|
||||
INCLUDE+=-Iinclude
|
||||
PREFIX?=/usr/local
|
||||
BINDIR?=$(PREFIX)/bin
|
||||
--
|
||||
2.39.3
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
From 3667cced504bc40b176d4570d99a83fe67599f3a Mon Sep 17 00:00:00 2001
|
||||
From: Drew DeVault <sir@cmpwn.com>
|
||||
Date: Wed, 4 Sep 2024 10:07:46 +0200
|
||||
Subject: [PATCH] Makefile: drop -static
|
||||
|
||||
Upstream-Status: Backport [https://git.sr.ht/~sircmpwn/scdoc/commit/3667cced504bc40b176d4570d99a83fe67599f3a]
|
||||
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
|
||||
---
|
||||
Makefile | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 96ad48cd04a6..49f076aadd39 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,7 +1,6 @@
|
||||
VERSION=1.11.3
|
||||
CFLAGS?=-g
|
||||
MAINFLAGS:=-DVERSION='"$(VERSION)"' -Wall -Wextra -Werror -Wno-unused-parameter
|
||||
-LDFLAGS+=-static
|
||||
INCLUDE+=-Iinclude
|
||||
PREFIX?=/usr/local
|
||||
BINDIR?=$(PREFIX)/bin
|
||||
22
meta/recipes-extended/scdoc/scdoc_1.11.3.bb
Normal file
22
meta/recipes-extended/scdoc/scdoc_1.11.3.bb
Normal file
@@ -0,0 +1,22 @@
|
||||
SUMMARY = "scdoc is a simple man page generator for POSIX systems written in C99."
|
||||
HOMEPAGE = "https://git.sr.ht/~sircmpwn/scdoc"
|
||||
SECTION = "base/doc"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=31752b4a8edd3fb9ddba1cb90fada74d"
|
||||
|
||||
DEPENDS = "scdoc-native"
|
||||
|
||||
SRC_URI = "git://git.sr.ht/~sircmpwn/scdoc;protocol=https;branch=master \
|
||||
file://0001-Makefile-drop-static.patch "
|
||||
SRCREV = "0528bcb993cac6c412acd3ae2e09539e994c0a59"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_install() {
|
||||
oe_runmake 'DESTDIR=${D}' install
|
||||
}
|
||||
|
||||
EXTRA_OEMAKE = "PREFIX=${prefix}"
|
||||
EXTRA_OEMAKE:append:class-target = " HOST_SCDOC=${STAGING_BINDIR_NATIVE}/scdoc"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
@@ -1,25 +0,0 @@
|
||||
SUMMARY = "scdoc is a simple man page generator for POSIX systems written in C99."
|
||||
HOMEPAGE = "https://github.com/ddevault/scdoc"
|
||||
BUGTRACKER = "https://github.com/ddevault/scdoc/issues"
|
||||
SECTION = "base/doc"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=31752b4a8edd3fb9ddba1cb90fada74d"
|
||||
|
||||
SRC_URI = " \
|
||||
git://git.sr.ht/~sircmpwn/scdoc;protocol=https;branch=master \
|
||||
file://0001-Makefile-dont-add-static-to-LDFLAGS.patch \
|
||||
"
|
||||
|
||||
DEPENDS = "scdoc-native"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "1.11.2"
|
||||
SRCREV = "afeda241f3f9b2c27e461f32d9c2a704ab82ef61"
|
||||
|
||||
EXTRA_OEMAKE:class-native = "PREFIX=${prefix}"
|
||||
EXTRA_OEMAKE:class-target = "PREFIX=${prefix} HOST_SCDOC=${STAGING_BINDIR_NATIVE}/scdoc"
|
||||
|
||||
inherit autotools-brokensep
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
Reference in New Issue
Block a user