summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-xfce/recipes-apps/xfce4-screensaver/xfce4-screensaver/fix-cross-compile.patch64
-rw-r--r--meta-xfce/recipes-apps/xfce4-screensaver/xfce4-screensaver_4.20.2.bb (renamed from meta-xfce/recipes-apps/xfce4-screensaver/xfce4-screensaver_4.18.4.bb)5
2 files changed, 3 insertions, 66 deletions
diff --git a/meta-xfce/recipes-apps/xfce4-screensaver/xfce4-screensaver/fix-cross-compile.patch b/meta-xfce/recipes-apps/xfce4-screensaver/xfce4-screensaver/fix-cross-compile.patch
deleted file mode 100644
index eabcaaae69..0000000000
--- a/meta-xfce/recipes-apps/xfce4-screensaver/xfce4-screensaver/fix-cross-compile.patch
+++ /dev/null
@@ -1,64 +0,0 @@
1It adds '-I$includedir' to CPPFLAGS and adds '-L$libdir' to LDFLAGS in
2configure.ac which causes 'configure-unsafe' QA error. Don't add them for cross
3compile to avoid the QA issues.
4
5Upstream-Status: Inappropriate [cross compile specific]
6
7Signed-off-by: Kai Kang <kai.kang@windriver.com>
8
9---
10 configure.ac | 24 ++++++++++++------------
11 1 file changed, 12 insertions(+), 12 deletions(-)
12
13diff --git a/configure.ac b/configure.ac
14index 6f149bb..3890677 100644
15--- a/configure.ac
16+++ b/configure.ac
17@@ -237,9 +237,9 @@ dnl ---------------------------------------------------------------------------
18 #
19 AC_DEFUN([AC_CHECK_X_HEADER], [
20 ac_save_CPPFLAGS="$CPPFLAGS"
21- if test \! -z "$includedir" ; then
22- CPPFLAGS="$CPPFLAGS -I$includedir"
23- fi
24+# if test \! -z "$includedir" ; then
25+# CPPFLAGS="$CPPFLAGS -I$includedir"
26+# fi
27 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
28 AC_CHECK_HEADER([$1],[$2],[$3],[$4])
29 CPPFLAGS="$ac_save_CPPFLAGS"])
30@@ -248,9 +248,9 @@ AC_DEFUN([AC_CHECK_X_HEADER], [
31 #
32 AC_DEFUN([AC_TRY_X_COMPILE], [
33 ac_save_CPPFLAGS="$CPPFLAGS"
34- if test \! -z "$includedir" ; then
35- CPPFLAGS="$CPPFLAGS -I$includedir"
36- fi
37+# if test \! -z "$includedir" ; then
38+# CPPFLAGS="$CPPFLAGS -I$includedir"
39+# fi
40 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
41 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[$1]], [[$2]])], [$3], [$4])
42 CPPFLAGS="$ac_save_CPPFLAGS"])
43@@ -264,15 +264,15 @@ AC_DEFUN([AC_CHECK_X_LIB], [
44 ac_save_LDFLAGS="$LDFLAGS"
45 # ac_save_LIBS="$LIBS"
46
47- if test \! -z "$includedir" ; then
48- CPPFLAGS="$CPPFLAGS -I$includedir"
49- fi
50+# if test \! -z "$includedir" ; then
51+# CPPFLAGS="$CPPFLAGS -I$includedir"
52+# fi
53 # note: $X_CFLAGS includes $x_includes
54 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
55
56- if test \! -z "$libdir" ; then
57- LDFLAGS="$LDFLAGS -L$libdir"
58- fi
59+# if test \! -z "$libdir" ; then
60+# LDFLAGS="$LDFLAGS -L$libdir"
61+# fi
62 # note: $X_LIBS includes $x_libraries
63 LDFLAGS="$LDFLAGS $ALL_X_LIBS"
64
diff --git a/meta-xfce/recipes-apps/xfce4-screensaver/xfce4-screensaver_4.18.4.bb b/meta-xfce/recipes-apps/xfce4-screensaver/xfce4-screensaver_4.20.2.bb
index 7322dedc29..2033eb082f 100644
--- a/meta-xfce/recipes-apps/xfce4-screensaver/xfce4-screensaver_4.18.4.bb
+++ b/meta-xfce/recipes-apps/xfce4-screensaver/xfce4-screensaver_4.20.2.bb
@@ -7,13 +7,14 @@ LICENSE = "GPL-2.0-or-later & LGPL-2.0-or-later "
7LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 7LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
8 file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c \ 8 file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c \
9 " 9 "
10XFCE_COMPRESS_TYPE = "xz"
11XFCEBASEBUILDCLASS = "meson"
10 12
11DEPENDS = "dbus-glib garcon gtk+3 libxklavier libxscrnsaver virtual/libx11 xfconf libwnck3" 13DEPENDS = "dbus-glib garcon gtk+3 libxklavier libxscrnsaver virtual/libx11 xfconf libwnck3"
12 14
13inherit xfce-app 15inherit xfce-app
14 16
15SRC_URI:append = " file://fix-cross-compile.patch" 17SRC_URI[sha256sum] = "5032f60a31df5e50a80512e301b595be5ea6a6bd762cdd95cacc24cbd29a01d7"
16SRC_URI[sha256sum] = "cf717d032d2d0555978c479299da992af6dc3363ae7e758af9515c7166eac170"
17 18
18do_install:append() { 19do_install:append() {
19 install -D -m 0644 ${S}/data/xfce4-screensaver.common-auth ${D}${sysconfdir}/pam.d/xfce4-screensaver 20 install -D -m 0644 ${S}/data/xfce4-screensaver.common-auth ${D}${sysconfdir}/pam.d/xfce4-screensaver