mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
source-highlight: remove the recipe
gtk-doc was the only user, and has been switched over to python3-pygments. (From OE-Core rev: 5301fe1a41ff921dcf1349dece74644bb7cc3a0f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f867798bc0
commit
6560db9ddf
@@ -645,7 +645,6 @@ RECIPE_MAINTAINER_pn-shutdown-desktop = "Alexander Kanavin <alex.kanavin@gmail.c
|
||||
RECIPE_MAINTAINER_pn-signing-keys = "Richard Purdie <richard.purdie@linuxfoundation.org>"
|
||||
RECIPE_MAINTAINER_pn-slang = "Yi Zhao <yi.zhao@windriver.com>"
|
||||
RECIPE_MAINTAINER_pn-socat = "Hongxu Jia <hongxu.jia@windriver.com>"
|
||||
RECIPE_MAINTAINER_pn-source-highlight = "Alexander Kanavin <alex.kanavin@gmail.com>"
|
||||
RECIPE_MAINTAINER_pn-speex = "Tanu Kaskinen <tanuk@iki.fi>"
|
||||
RECIPE_MAINTAINER_pn-speexdsp = "Tanu Kaskinen <tanuk@iki.fi>"
|
||||
RECIPE_MAINTAINER_pn-sqlite3 = "Anuj Mittal <anuj.mittal@intel.com>"
|
||||
|
||||
-30
@@ -1,30 +0,0 @@
|
||||
From 9aa01fd5f9d8b2b98c34684dc8f68115750ef41c Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
Date: Tue, 12 Jul 2016 17:15:13 +0300
|
||||
Subject: [PATCH] source-highlight.pc.in: do not add Boost's libraries and
|
||||
includes
|
||||
|
||||
This breaks when compiling in sysroots; a proper way is to use Depends
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
---
|
||||
source-highlight.pc.in | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/source-highlight.pc.in b/source-highlight.pc.in
|
||||
index 79ab63e..64114a7 100644
|
||||
--- a/source-highlight.pc.in
|
||||
+++ b/source-highlight.pc.in
|
||||
@@ -7,6 +7,6 @@ Name: libsource-highlight
|
||||
Description: GNU Source-highlight library.
|
||||
URL: http://www.gnu.org/software/src-highlite/
|
||||
Version: @VERSION@
|
||||
-Libs: -L${libdir} -lsource-highlight @BOOST_LDFLAGS@ @BOOST_REGEX_LIB@
|
||||
-Cflags: -I${includedir} @BOOST_CPPFLAGS@
|
||||
+Libs: -L${libdir} -lsource-highlight
|
||||
+Cflags: -I${includedir}
|
||||
|
||||
--
|
||||
2.8.1
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
SUMMARY = "Syntax highlight utility"
|
||||
DESCRIPTION = "Source-highlight converts source code to formatted text with syntax highlighting."
|
||||
HOMEPAGE = "https://www.gnu.org/software/src-highlite/"
|
||||
LICENSE = "GPLv3"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=ff95bfe019feaf92f524b73dd79e76eb"
|
||||
|
||||
SRC_URI = "${GNU_MIRROR}/src-highlite/${BPN}-${PV}.tar.gz \
|
||||
file://0001-source-highlight.pc.in-do-not-add-Boost-s-libraries-.patch"
|
||||
SRC_URI[md5sum] = "3243470706ef5fefdc3e43b5306a4e41"
|
||||
SRC_URI[sha256sum] = "01336a7ea1d1ccc374201f7b81ffa94d0aecb33afc7d6903ebf9fbf33a55ada3"
|
||||
|
||||
inherit autotools
|
||||
|
||||
DEPENDS_append = " boost"
|
||||
|
||||
DEPENDS_append_class-target = " source-highlight-native"
|
||||
|
||||
EXTRA_OECONF = "--with-boost=yes --with-boost-libdir=${STAGING_DIR_TARGET}${libdir}"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
# source-highlight is using its own binary from the build tree to make documentation
|
||||
# let's substitute the native binary instead
|
||||
do_configure_prepend_class-target () {
|
||||
sed -i -e 's,^SRCHILITEEXE = $(top_builddir).*,SRCHILITEEXE = source-highlight,' ${S}/doc/Makefile.am
|
||||
}
|
||||
|
||||
RDEPENDS_source-highlight += "bash"
|
||||
Reference in New Issue
Block a user