diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-06-01 13:26:22 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-02 10:23:49 +0100 |
commit | 6560db9ddfd39a2715ede96430228306b00f53dd (patch) | |
tree | 7484e540dc892a06aa06a8dd501f2282b009dfb7 /meta/recipes-support | |
parent | f867798bc0fb8cd3d84332ec8345472c0e850ce5 (diff) | |
download | poky-6560db9ddfd39a2715ede96430228306b00f53dd.tar.gz |
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>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/source-highlight/files/0001-source-highlight.pc.in-do-not-add-Boost-s-libraries-.patch | 30 | ||||
-rw-r--r-- | meta/recipes-support/source-highlight/source-highlight_3.1.8.bb | 28 |
2 files changed, 0 insertions, 58 deletions
diff --git a/meta/recipes-support/source-highlight/files/0001-source-highlight.pc.in-do-not-add-Boost-s-libraries-.patch b/meta/recipes-support/source-highlight/files/0001-source-highlight.pc.in-do-not-add-Boost-s-libraries-.patch deleted file mode 100644 index b0aa5d1739..0000000000 --- a/meta/recipes-support/source-highlight/files/0001-source-highlight.pc.in-do-not-add-Boost-s-libraries-.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | From 9aa01fd5f9d8b2b98c34684dc8f68115750ef41c Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Tue, 12 Jul 2016 17:15:13 +0300 | ||
4 | Subject: [PATCH] source-highlight.pc.in: do not add Boost's libraries and | ||
5 | includes | ||
6 | |||
7 | This breaks when compiling in sysroots; a proper way is to use Depends | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
11 | --- | ||
12 | source-highlight.pc.in | 4 ++-- | ||
13 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
14 | |||
15 | diff --git a/source-highlight.pc.in b/source-highlight.pc.in | ||
16 | index 79ab63e..64114a7 100644 | ||
17 | --- a/source-highlight.pc.in | ||
18 | +++ b/source-highlight.pc.in | ||
19 | @@ -7,6 +7,6 @@ Name: libsource-highlight | ||
20 | Description: GNU Source-highlight library. | ||
21 | URL: http://www.gnu.org/software/src-highlite/ | ||
22 | Version: @VERSION@ | ||
23 | -Libs: -L${libdir} -lsource-highlight @BOOST_LDFLAGS@ @BOOST_REGEX_LIB@ | ||
24 | -Cflags: -I${includedir} @BOOST_CPPFLAGS@ | ||
25 | +Libs: -L${libdir} -lsource-highlight | ||
26 | +Cflags: -I${includedir} | ||
27 | |||
28 | -- | ||
29 | 2.8.1 | ||
30 | |||
diff --git a/meta/recipes-support/source-highlight/source-highlight_3.1.8.bb b/meta/recipes-support/source-highlight/source-highlight_3.1.8.bb deleted file mode 100644 index 85923e4759..0000000000 --- a/meta/recipes-support/source-highlight/source-highlight_3.1.8.bb +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | SUMMARY = "Syntax highlight utility" | ||
2 | DESCRIPTION = "Source-highlight converts source code to formatted text with syntax highlighting." | ||
3 | HOMEPAGE = "https://www.gnu.org/software/src-highlite/" | ||
4 | LICENSE = "GPLv3" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=ff95bfe019feaf92f524b73dd79e76eb" | ||
6 | |||
7 | SRC_URI = "${GNU_MIRROR}/src-highlite/${BPN}-${PV}.tar.gz \ | ||
8 | file://0001-source-highlight.pc.in-do-not-add-Boost-s-libraries-.patch" | ||
9 | SRC_URI[md5sum] = "3243470706ef5fefdc3e43b5306a4e41" | ||
10 | SRC_URI[sha256sum] = "01336a7ea1d1ccc374201f7b81ffa94d0aecb33afc7d6903ebf9fbf33a55ada3" | ||
11 | |||
12 | inherit autotools | ||
13 | |||
14 | DEPENDS_append = " boost" | ||
15 | |||
16 | DEPENDS_append_class-target = " source-highlight-native" | ||
17 | |||
18 | EXTRA_OECONF = "--with-boost=yes --with-boost-libdir=${STAGING_DIR_TARGET}${libdir}" | ||
19 | |||
20 | BBCLASSEXTEND = "native" | ||
21 | |||
22 | # source-highlight is using its own binary from the build tree to make documentation | ||
23 | # let's substitute the native binary instead | ||
24 | do_configure_prepend_class-target () { | ||
25 | sed -i -e 's,^SRCHILITEEXE = $(top_builddir).*,SRCHILITEEXE = source-highlight,' ${S}/doc/Makefile.am | ||
26 | } | ||
27 | |||
28 | RDEPENDS_source-highlight += "bash" | ||