diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-05-06 09:26:53 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-05-07 11:32:47 -0700 |
commit | 79d8952864962296e03da29c6e004c2eecc15741 (patch) | |
tree | b2537b02e807945d21d88c852482b2acf4858dcc /meta-oe/recipes-multimedia/libcdio | |
parent | 8e110d9c5cf22520af4b69fe4f6b90709f2c7545 (diff) | |
download | meta-openembedded-79d8952864962296e03da29c6e004c2eecc15741.tar.gz |
libcdio: Drop need for LIBCDIO_SOURCE_PATH
LIBCDIO_SOURCE_PATH is defined with `pwd` which encodes absolute paths
into generated artifacts e.g. cdio_config.h which is flagged in build QA
WARNING: libcdio-2.1.0-r0 do_package_qa: QA Issue: File /usr/include/cdio/cdio_config.h in package libcdio-dev contains reference to TMPDIR [buildpaths]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-multimedia/libcdio')
-rw-r--r-- | meta-oe/recipes-multimedia/libcdio/libcdio/Drop-LIBCDIO_SOURCE_PATH-by-dropping-STRIP_FROM_PATH.patch | 43 | ||||
-rw-r--r-- | meta-oe/recipes-multimedia/libcdio/libcdio_2.1.0.bb | 1 |
2 files changed, 44 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/libcdio/libcdio/Drop-LIBCDIO_SOURCE_PATH-by-dropping-STRIP_FROM_PATH.patch b/meta-oe/recipes-multimedia/libcdio/libcdio/Drop-LIBCDIO_SOURCE_PATH-by-dropping-STRIP_FROM_PATH.patch new file mode 100644 index 000000000..0b25dff75 --- /dev/null +++ b/meta-oe/recipes-multimedia/libcdio/libcdio/Drop-LIBCDIO_SOURCE_PATH-by-dropping-STRIP_FROM_PATH.patch | |||
@@ -0,0 +1,43 @@ | |||
1 | From 08c1768aaeea86c522c0ef1705b9b6d434ebd3ae Mon Sep 17 00:00:00 2001 | ||
2 | From: Chris Lamb <chris@chris-lamb.co.uk> | ||
3 | Date: Fri, 28 Jul 2017 11:49:13 +0100 | ||
4 | Subject: [PATCH] Drop LIBCDIO_SOURCE_PATH by dropping STRIP_FROM_PATH Doxygen | ||
5 | setup; it's not used as FULL_PATH_NAMES = no | ||
6 | |||
7 | Source: https://sources.debian.org/data/main/libc/libcdio/2.1.0-4/debian/patches/Drop-LIBCDIO_SOURCE_PATH-by-dropping-STRIP_FROM_PATH.patch | ||
8 | Upstream-Status: Pending | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | configure.ac | 5 ----- | ||
12 | doc/doxygen/Doxyfile.in | 2 +- | ||
13 | 2 files changed, 1 insertion(+), 6 deletions(-) | ||
14 | |||
15 | Index: b/configure.ac | ||
16 | =================================================================== | ||
17 | --- a/configure.ac | ||
18 | +++ b/configure.ac | ||
19 | @@ -557,11 +557,6 @@ AC_SUBST(HAVE_SOLARIS_CDROM) | ||
20 | AC_SUBST(HAVE_WIN32_CDROM) | ||
21 | AC_SUBST(HAVE_OS2_CDROM) | ||
22 | |||
23 | -LIBCDIO_SOURCE_PATH="`pwd`" | ||
24 | -AC_DEFINE_UNQUOTED(LIBCDIO_SOURCE_PATH, "$LIBCDIO_SOURCE_PATH", | ||
25 | - [Full path to libcdio top_sourcedir.]) | ||
26 | -AC_SUBST(LIBCDIO_SOURCE_PATH) | ||
27 | - | ||
28 | AC_CHECK_FUNCS( [chdir drand48 fseeko fseeko64 ftruncate geteuid getgid \ | ||
29 | getuid getpwuid gettimeofday lseek64 lstat memcpy memset mkstemp rand \ | ||
30 | seteuid setegid snprintf setenv strndup unsetenv tzset sleep \ | ||
31 | Index: b/doc/doxygen/Doxyfile.in | ||
32 | =================================================================== | ||
33 | --- a/doc/doxygen/Doxyfile.in | ||
34 | +++ b/doc/doxygen/Doxyfile.in | ||
35 | @@ -138,7 +138,7 @@ FULL_PATH_NAMES = NO | ||
36 | # If left blank the directory from which doxygen is run is used as the | ||
37 | # path to strip. | ||
38 | |||
39 | -STRIP_FROM_PATH = @LIBCDIO_SOURCE_PATH@ | ||
40 | +STRIP_FROM_PATH = | ||
41 | |||
42 | # The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of | ||
43 | # the path mentioned in the documentation of a class, which tells | ||
diff --git a/meta-oe/recipes-multimedia/libcdio/libcdio_2.1.0.bb b/meta-oe/recipes-multimedia/libcdio/libcdio_2.1.0.bb index 62004ac44..8562462cb 100644 --- a/meta-oe/recipes-multimedia/libcdio/libcdio_2.1.0.bb +++ b/meta-oe/recipes-multimedia/libcdio/libcdio_2.1.0.bb | |||
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | |||
6 | 6 | ||
7 | SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.bz2 \ | 7 | SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.bz2 \ |
8 | file://0001-Fix-a-few-Werror-format-security-errors-with-mvprint.patch \ | 8 | file://0001-Fix-a-few-Werror-format-security-errors-with-mvprint.patch \ |
9 | file://Drop-LIBCDIO_SOURCE_PATH-by-dropping-STRIP_FROM_PATH.patch \ | ||
9 | " | 10 | " |
10 | 11 | ||
11 | SRC_URI[md5sum] = "aa7629e8f73662a762f64c444b901055" | 12 | SRC_URI[md5sum] = "aa7629e8f73662a762f64c444b901055" |