Skip to contentSkip to conversation

vim: only include when x11 in DISTRO_FEATURES

PATCH In review Armin Kuster 2 participants 27 messages Mar 7, 2018 – Mar 16, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/25 vim: only include when x11 in DISTRO_FEATURES

fixes:

vim:do_install: 6a98ed60a33e0915e83ddf4411cb98a4 -> fab6a8f9b3c3978de44b458939712d90

      bitbake-diffsigs --task vim do_install --signature 6a98ed60a33e0915e83ddf4411cb98a4 fab6a8f9b3c3978de44b458939712d90
      NOTE: Starting bitbake server...
      basehash changed from 7302bf635913317779cf6e19324032a4 to 4a66ac61a894cf5b09db9afc053c77e6
      Variable do_install value changed:
      @@ -11,3 +11,7 @@

           # we use --with-features=big as default
           mv ${D}${bindir}/${BPN} ${D}${bindir}/${BPN}.${BPN}
      +	# The mouse being autoenabled is just annoying in xfce4-terminal (mouse
      +	# drag make vim go into visual mode and there is no right click menu),
      +	# delete the block.
      +	sed -i '/the mouse works just fine/,+4d' ${D}/${datadir}/${BPN}/vimrc
---
 meta-xfce/recipes-support/vim/vim_%.bbappend | 7 +------
 meta-xfce/recipes-support/vim/vim_xfce.inc   | 6 ++++++
 2 files changed, 7 insertions(+), 6 deletions(-)
 create mode 100644 meta-xfce/recipes-support/vim/vim_xfce.inc
meta-xfce/recipes-support/vim/vim_%.bbappend +1 -6
index 25403e6..7b44963 100644
@@ -1,6 +1 @@
-do_install_append() {
-	# The mouse being autoenabled is just annoying in xfce4-terminal (mouse
-	# drag make vim go into visual mode and there is no right click menu),
-	# delete the block.
-	sed -i '/the mouse works just fine/,+4d' ${D}/${datadir}/${BPN}/vimrc
-}
+require ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '${BPN}_xfce.inc', '', d)}
meta-xfce/recipes-support/vim/vim_xfce.inc new file +6 -0
new file mode 100644
index 0000000..25403e6
@@ -0,0 +1,6 @@
+do_install_append() {
+	# The mouse being autoenabled is just annoying in xfce4-terminal (mouse
+	# drag make vim go into visual mode and there is no right click menu),
+	# delete the block.
+	sed -i '/the mouse works just fine/,+4d' ${D}/${datadir}/${BPN}/vimrc
+}
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/25 uim: add distro_features_check for x11

---
 meta-oe/recipes-support/uim/uim_1.8.6.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-oe/recipes-support/uim/uim_1.8.6.bb +4 -1
index 271718e..ec1b832 100644
@@ -21,7 +21,10 @@ RDEPENDS_uim-anthy = "takao-fonts anthy libanthy0 glibc-utils glibc-gconv-euc-jp
 
 LEAD_SONAME = "libuim.so.1"
 
-inherit autotools pkgconfig gettext qemu gtk-immodules-cache
+inherit distro_features_check autotools pkgconfig gettext qemu gtk-immodules-cache
+
+REQUIRED_DISTRO_FEATURES = "x11"
+
 GTKIMMODULES_PACKAGES = "uim-gtk2.0 uim-gtk3"
 
 EXTRA_OECONF += "--disable-emacs \
Signature · 1 line
2.7.4
#2 lore raw

PATCH 3/25 atkmm: only include when x11 in DISTRO_FEATURES

In reply to Armin Kuster
---
 meta-oe/recipes-gnome/atk/atkmm_2.24.2.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-gnome/atk/atkmm_2.24.2.bb +3 -1
index 30ac90a..307774b 100644
@@ -7,7 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1 \
 
 DEPENDS = "atk glibmm"
 
-inherit gnome autotools pkgconfig
+inherit distro_features_check gnome autotools pkgconfig
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI[archive.md5sum] = "d53b60b0f1be597e86070954a49cf0c3"
 SRC_URI[archive.sha256sum] = "ff95385759e2af23828d4056356f25376cfabc41e690ac1df055371537e458bd"
Signature · 1 line
2.7.4
#3 lore raw

PATCH 4/25 fltk: only include when x11 in DISTRO_FEATURES

In reply to Armin Kuster
---
 meta-oe/recipes-support/fltk/fltk.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-support/fltk/fltk.bb +2 -1
index 6a3d1c9..0d3653b 100644
@@ -2,7 +2,8 @@ require ${BPN}.inc
 
 DEPENDS = "alsa-lib zlib jpeg libpng libxext libxft"
 
-inherit binconfig lib_package gtk-icon-cache mime
+inherit distro_features_check binconfig lib_package gtk-icon-cache mime
+REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI += "file://0003-CMake-build-Force-shared-libs-with-unsuffixed-names.patch"
 
Signature · 1 line
2.7.4
#4 lore raw

PATCH 5/25 geany: only include when x11 in DISTRO_FEATURES

In reply to Armin Kuster
---
 meta-oe/recipes-devtools/geany/geany_1.31.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-devtools/geany/geany_1.31.bb +3 -1
index ce36e1e..bb9d8bc 100644
@@ -5,7 +5,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=bd7b2c994af21d318bd2cd3b3f80c2d5"
 
 DEPENDS = "gtk+ libxml-parser-perl-native python3-docutils-native intltool-native"
 
-inherit autotools pkgconfig perlnative pythonnative gettext
+inherit distro_features_check autotools pkgconfig perlnative pythonnative gettext
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI = "http://download.geany.org/${BP}.tar.bz2"
 SRC_URI[md5sum] = "386000be6b26972c6a699939c37cda34"
Signature · 1 line
2.7.4
#5 lore raw

PATCH 6/25 orrery: only include when x11 in DISTRO_FEATURES

In reply to Armin Kuster
---
 meta-oe/recipes-navigation/orrery/orrery_2.7.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-navigation/orrery/orrery_2.7.bb +3 -1
index 1a00b08..010f65f 100644
@@ -5,7 +5,9 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://orrery.c;endline=25;md5=d792bdf2b591972da175aecc38d88cfe"
 DEPENDS = "gtk+"
 
-inherit autotools-brokensep pkgconfig
+inherit distro_features_check autotools-brokensep pkgconfig
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI = "http://projects.openmoko.org/frs/download.php/923/orrery_2.7_clean.tar.gz \
            file://orrery.png \
Signature · 1 line
2.7.4
#6 lore raw

PATCH 7/25 gimp: only include when x11 in DISTRO_FEATURES

In reply to Armin Kuster
---
 meta-oe/recipes-graphics/gimp/gimp_2.8.22.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-graphics/gimp/gimp_2.8.22.bb +3 -1
index cd7e27a..943986e 100644
@@ -24,7 +24,9 @@ DEPENDS = " \
 "
 DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxmu libxpm', '', d)}"
 
-inherit gnome gtk-doc
+inherit distro_features_check gnome gtk-doc
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI = "http://ftp.gimp.org/pub/gimp/v2.8/gimp-${PV}.tar.bz2 \
            file://0001-configure-ac-do-not-check-for-freetype-config.patch \
Signature · 1 line
2.7.4
#7 lore raw

PATCH 8/25 libwmf: only include when x11 in DISTRO_FEATURES

In reply to Armin Kuster
---
 meta-oe/recipes-extended/libwmf/libwmf_0.2.8.4.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-extended/libwmf/libwmf_0.2.8.4.bb +3 -1
index 8ad5457..2c31a21 100644
@@ -12,7 +12,9 @@ DEPENDS = "freetype libpng jpeg expat gtk+"
 
 BBCLASSEXTEND = "native"
 
-inherit autotools pkgconfig
+inherit distro_features_check autotools pkgconfig
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/wvware/${BPN}/${PV}/${BPN}-${PV}.tar.gz;name=tarball \
            file://libwmf-0.2.8.4-intoverflow.patch \
Signature · 1 line
2.7.4
#8 lore raw

PATCH 9/25 pangomm: only include when x11 in DISTRO_FEATURES

In reply to Armin Kuster
---
 meta-oe/recipes-graphics/pango/pangomm_2.40.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-graphics/pango/pangomm_2.40.1.bb +3 -1
index 02bb1cc..e0f72cd 100644
@@ -12,7 +12,9 @@ SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/pangomm/${SHRT_VER}/pangomm-${
 SRC_URI[md5sum] = "874eadd9434613dbacf0272c82c3ac23"
 SRC_URI[sha256sum] = "9762ee2a2d5781be6797448d4dd2383ce14907159b30bc12bf6b08e7227be3af"
 
-inherit autotools pkgconfig
+inherit distro_features_check autotools pkgconfig
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 EXTRA_OECONF = " --disable-documentation "
 
Signature · 1 line
2.7.4
#9 lore raw

PATCH 10/25 toscoterm: only include when x11 in DISTRO_FEATURES

In reply to Armin Kuster
---
 meta-oe/recipes-support/toscoterm/toscoterm_git.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-support/toscoterm/toscoterm_git.bb +3 -1
index aa031fe..879b67b 100644
@@ -11,7 +11,9 @@ SRC_URI = "git://github.com/OSSystems/toscoterm.git"
 
 S = "${WORKDIR}/git"
 
-inherit gitpkgv pkgconfig
+inherit distro_features_check gitpkgv pkgconfig
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 do_compile() {
     oe_runmake \
Signature · 1 line
2.7.4
#10 lore raw

PATCH 11/25 gtkmathview: only include when x11 in DISTRO_FEATURES

In reply to Armin Kuster
---
 meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb +3 -1
index 15935c8..df82bef 100644
@@ -17,7 +17,9 @@ SRC_URI = "git://github.com/GNOME/gtkmathview.git \
 
 S = "${WORKDIR}/git"
 
-inherit autotools pkgconfig
+inherit distro_features_check autotools pkgconfig
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 do_configure_append() {
     # avoid host polution inf pkg-config files
Signature · 1 line
2.7.4
#11 lore raw

PATCH 12/25 libvncserver: only include when x11 in DISTRO_FEATURES

In reply to Armin Kuster
---
 meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.11.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.11.bb +3 -1
index 457d721..38dac06 100644
@@ -12,7 +12,9 @@ PACKAGECONFIG[systemd] = ",,systemd"
 
 RDEPENDS_${PN} += "libpng gtk+ libgcrypt"
 
-inherit autotools binconfig pkgconfig
+inherit distro_features_check autotools binconfig pkgconfig
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI = "https://github.com/LibVNC/libvncserver/archive/LibVNCServer-${PV}.tar.gz"
 SRC_URI[md5sum] = "7f06104d5c009813e95142932c4ddb06"
Signature · 1 line
2.7.4
#12 lore raw

PATCH 13/25 obex-data-server: only include when x11 in DISTRO_FEATURES

In reply to Armin Kuster
---
 meta-oe/recipes-connectivity/obex/obex-data-server_0.4.6.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-connectivity/obex/obex-data-server_0.4.6.bb +3 -1
index e10b89c..715b023 100644
@@ -11,6 +11,8 @@ SRC_URI = "http://tadas.dailyda.com/software/obex-data-server-${PV}.tar.gz \
 SRC_URI[md5sum] = "961ca5db6fe9c97024e133cc6203cc4d"
 SRC_URI[sha256sum] = "b399465ddbd6d0217abedd9411d9d74a820effa0a6a142adc448268d3920094f"
 
-inherit autotools-brokensep pkgconfig
+inherit distro_features_check autotools-brokensep pkgconfig
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 FILES_${PN} += "${datadir}/dbus-1/"
Signature · 1 line
2.7.4
#13 lore raw

PATCH 14/25 polkit-gnome: only include when x11 in DISTRO_FEATURES

In reply to Armin Kuster
---
 meta-oe/recipes-extended/polkit/polkit-gnome_0.105.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-extended/polkit/polkit-gnome_0.105.bb +3 -1
index 8e99731..6e941e5 100644
@@ -19,7 +19,9 @@ EXTRA_OECONF = "\
 
 DEPENDS += "gtk+3"
 
-inherit autotools gtk-doc pkgconfig
+inherit distro_features_check autotools gtk-doc pkgconfig
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 FILES_${PN} += " ${datadir}/dbus-1 \
                  ${datadir}/PolicyKit \
Signature · 1 line
2.7.4
#14 lore raw

PATCH 15/25 libgxim: only include when x11 in DISTRO_FEATURES

In reply to Armin Kuster
---
 meta-oe/recipes-extended/libgxim/libgxim_0.5.0.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-extended/libgxim/libgxim_0.5.0.bb +3 -1
index 5bf7c6e..7e4c330 100644
@@ -26,4 +26,6 @@ file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
 EXTRA_OECONF = " --disable-static --disable-rebuilds --enable-compile-warnings=minimum"
 DEPENDS += "gtk+ glib-2.0 glib-2.0-native ruby-native intltool-native gnome-common-native"
 
-inherit autotools pkgconfig gettext
+inherit distro_features_check autotools pkgconfig gettext
+
+REQUIRED_DISTRO_FEATURES = "x11"
Signature · 1 line
2.7.4
#15 lore raw

PATCH 16/25 gtkperf: only include when x11 in DISTRO_FEATURES

In reply to Armin Kuster
---
 meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb +3 -1
index 2db9190..4094513 100644
@@ -16,7 +16,9 @@ DEPENDS = "gtk+"
 
 S = "${WORKDIR}/${BPN}"
 
-inherit autotools binconfig pkgconfig gettext
+inherit distro_features_check autotools binconfig pkgconfig gettext
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 do_configure_prepend () {
     rm -f ${S}/m4/init.m4
Signature · 1 line
2.7.4
#16 lore raw

PATCH 17/25 gegl: only include when x11 in DISTRO_FEATURES

In reply to Armin Kuster
---
 meta-oe/recipes-graphics/gegl/gegl_0.3.18.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-graphics/gegl/gegl_0.3.18.bb +3 -1
index 6cc20f5..0053c0c 100644
@@ -5,7 +5,9 @@ DEPENDS = "babl librsvg glib-2.0 gtk+ pango cairo expat zlib libpng jpeg virtual
 
 EXTRA_OECONF = "--disable-docs"
 
-inherit gnomebase vala gobject-introspection
+inherit distro_features_check gnomebase vala gobject-introspection
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[jasper] = "--with-jasper,--without-jasper,jasper"
Signature · 1 line
2.7.4
#17 lore raw

PATCH 18/25 xcursorgen: only include when x11 in DISTRO_FEATURES

In reply to Armin Kuster
---
 meta-oe/recipes-graphics/xcursorgen/xcursorgen_1.0.5.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-graphics/xcursorgen/xcursorgen_1.0.5.bb +3 -1
index 27a38c1..a21dc42 100644
@@ -7,6 +7,8 @@ SRC_URI = "http://xorg.freedesktop.org/archive/individual/app/${BPN}-${PV}.tar.b
 SRC_URI[md5sum] = "09f56978a62854534deacc8aa8ff3031"
 SRC_URI[sha256sum] = "bc7171a0fa212da866fca2301241630e2009aea8c4ddb75f21b51a31c2e4c581"
 
-inherit autotools pkgconfig
+inherit distro_features_check autotools pkgconfig
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 BBCLASSEXTEND = "native"
Signature · 1 line
2.7.4
#18 lore raw

PATCH 19/25 libvdpau: only include when x11 in DISTRO_FEATURES

In reply to Armin Kuster
---
 meta-oe/recipes-graphics/vdpau/libvdpau_git.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-graphics/vdpau/libvdpau_git.bb +3 -1
index 31f4df4..31bcce0 100644
@@ -12,7 +12,9 @@ SRC_URI = "git://anongit.freedesktop.org/vdpau/libvdpau"
 
 S = "${WORKDIR}/git"
 
-inherit autotools pkgconfig
+inherit distro_features_check autotools pkgconfig
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 do_install_append() {
     rm -f ${D}${libdir}/*/*.la
Signature · 1 line
2.7.4
#19 lore raw

PATCH 20/25 libxml++: only include when x11 in DISTRO_FEATURES

In reply to Armin Kuster
---
 meta-oe/recipes-core/libxml/libxml++_2.40.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-core/libxml/libxml++_2.40.1.bb +3 -1
index c001c18..c3d647c 100644
@@ -16,7 +16,9 @@ SRC_URI[sha256sum] = "4ad4abdd3258874f61c2e2a41d08e9930677976d303653cd1670d3e9f3
 
 DEPENDS = "libxml2 glibmm"
 
-inherit autotools pkgconfig ptest
+inherit distro_features_check autotools pkgconfig ptest
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 do_compile_ptest() {
   oe_runmake -C examples buildtest
Signature · 1 line
2.7.4
#22 lore raw

PATCH 21/25 xorg-data-common: only include when x11 in DISTRO_FEATURES

In reply to Armin Kuster
---
 meta-oe/recipes-graphics/xorg-data/xorg-data-common.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-graphics/xorg-data/xorg-data-common.inc +3 -1
index b230962..cb6b5ac 100644
@@ -7,4 +7,6 @@ XORG_PN = "${BPN}"
 SRC_URI = "${XORG_MIRROR}/individual/data/${BP}.tar.bz2"
 S = "${WORKDIR}/${XORG_PN}-${PV}"
 
-inherit autotools pkgconfig
+inherit distro_features_check autotools pkgconfig
+
+REQUIRED_DISTRO_FEATURES = "x11"
Signature · 1 line
2.7.4
#23 lore raw

PATCH 22/25 xserver-common: only include when x11 in DISTRO_FEATURES

In reply to Armin Kuster
---
 meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb +3 -1
index cc30541..a5ed21d 100644
@@ -5,7 +5,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
 PR = "r9"
 
 # we are using a gpe-style Makefile
-inherit gpe
+inherit distro_features_check gpe
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI[md5sum] = "82f2f84cd96610e8f7b92c700cd31c14"
 SRC_URI[sha256sum] = "cd04c33418f776b1e13fcc7af3d6bd0c7cccd03fbabd7dbcd97f88166cc34210"
Signature · 1 line
2.7.4
#24 lore raw

PATCH 23/25 geany-plugins: only include when x11 in DISTRO_FEATURES

In reply to Armin Kuster
---
 meta-oe/recipes-devtools/geany/geany-plugins_1.31.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-devtools/geany/geany-plugins_1.31.bb +3 -1
index 27fe860..3b5b7ce 100644
@@ -22,7 +22,9 @@ DEPENDS = " \
     libgit2 \
 "
 
-inherit autotools pkgconfig gtk-icon-cache
+inherit distro_features_check autotools pkgconfig gtk-icon-cache
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI = "http://plugins.geany.org/${PN}/${PN}-${PV}.tar.bz2"
 SRC_URI[md5sum] = "808f9048b77fd9704569ed2ba12a56e9"
Signature · 1 line
2.7.4
#25 lore raw

PATCH 24/25 glade: only include when x11 in DISTRO_FEATURES

In reply to Armin Kuster
---
 meta-oe/recipes-devtools/glade/glade_3.20.2.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-devtools/glade/glade_3.20.2.bb +3 -1
index ad91ca3..95e1737 100644
@@ -9,7 +9,9 @@ DEPENDS = "gtk+ gtk+3 glib-2.0 libxml2 intltool-native \
 "
 
 
-inherit autotools pkgconfig gnomebase gobject-introspection
+inherit distro_features_check autotools pkgconfig gnomebase gobject-introspection
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/glade/3.20/glade-${PV}.tar.xz \
            file://remove-yelp-help-rules-var.patch \
Signature · 1 line
2.7.4
#26 lore raw

PATCH 25/25 xrdp: remove fuse from depend and move to PACKAGECONFIG

In reply to Armin Kuster

fuse is in meta-filesystems

---
 meta-oe/recipes-support/xrdp/xrdp_0.9.4.bb | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
meta-oe/recipes-support/xrdp/xrdp_0.9.4.bb +5 -2
index 671a251..3ef7c98 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=72cfbe4e7bd33a0a1de9630c91195c21 \
 
 inherit distro_features_check autotools pkgconfig useradd systemd
 
-DEPENDS = "openssl virtual/libx11 libxfixes libxrandr libpam nasm-native fuse"
+DEPENDS = "openssl virtual/libx11 libxfixes libxrandr libpam nasm-native"
 
 REQUIRED_DISTRO_FEATURES = "x11 pam"
 
@@ -24,6 +24,9 @@ PV = "0.9.4+git${SRCPV}"
 
 S = "${WORKDIR}/git"
 
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[fuse] = " --enable-fuse, --disable-fuse, fuse"
+
 USERADD_PACKAGES = "${PN}"
 GROUPADD_PARAM_${PN} = "--system xrdp"
 USERADD_PARAM_${PN}  = "--system --home /var/run/xrdp -g xrdp \
@@ -37,7 +40,7 @@ FILES_${PN}-dev += "${libdir}/xrdp/libcommon.so \
                     ${libdir}/xrdp/libscp.so \
                     ${libdir}/xrdp/libxrdpapi.so "
 
-EXTRA_OECONF = "--enable-pam-config=suse --enable-fuse"
+EXTRA_OECONF = "--enable-pam-config=suse"
 
 do_configure_prepend() {
     cd ${S}
Signature · 1 line
2.7.4
#20 lore raw

Re: [meta-oe][PATCH 20/25] libxml++: only include when x11 in DISTRO_FEATURES

In reply to Armin Kuster

What in libxml++ requires x11? I'm building it in DISTRO without x11 for years and never noticed any issue with that.

Quoted 31 lines · Armin Kuster
---
 meta-oe/recipes-core/libxml/libxml++_2.40.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-core/libxml/libxml++_2.40.1.bb +0 -0
index c001c18..c3d647c 100644
@@ -16,7 +16,9 @@ SRC_URI[sha256sum] = "4ad4abdd3258874f61c2e2a41d08e9

930677976d303653cd1670d3e9f3

DEPENDS = "libxml2 glibmm"

meta-oe/recipes-core/libxml/libxml++_2.40.1.bb +3 -2
-inherit autotools pkgconfig ptest
+inherit distro_features_check autotools pkgconfig ptest
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 do_compile_ptest() {
   oe_runmake -C examples buildtest
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

author
#21 lore raw

Re: [meta-oe][PATCH 20/25] libxml++: only include when x11 in DISTRO_FEATURES

Quoted 2 lines · Martin Jansa

What in libxml++ requires x11? I'm building it in DISTRO without x11 for years and never noticed any issue with that.

I was using the yocto-check-layer on meta-openembedded to clean it up and most likely got the recipe name wrong as we had a lot of cleanup. I send out a patch to remove this check as it appears to not be needed. thanks for catching this.

- armin

Quoted 43 lines

On Wed, Mar 7, 2018 at 5:03 AM, Armin Kuster <[email protected] <mailto:[email protected]>> wrote:

    Signed-off-by: Armin Kuster <[email protected]
    <mailto:[email protected]>>
    ---
     meta-oe/recipes-core/libxml/libxml++_2.40.1.bb <http://2.40.1.bb>
    | 4 +++-
     1 file changed, 3 insertions(+), 1 deletion(-)

    diff --git a/meta-oe/recipes-core/libxml/libxml++_2.40.1.bb
    <http://2.40.1.bb>
    b/meta-oe/recipes-core/libxml/libxml++_2.40.1.bb <http://2.40.1.bb>
    index c001c18..c3d647c 100644
    --- a/meta-oe/recipes-core/libxml/libxml++_2.40.1.bb
    <http://2.40.1.bb>
    +++ b/meta-oe/recipes-core/libxml/libxml++_2.40.1.bb
    <http://2.40.1.bb>
    @@ -16,7 +16,9 @@ SRC_URI[sha256sum] =
    "4ad4abdd3258874f61c2e2a41d08e9930677976d303653cd1670d3e9f3

     DEPENDS = "libxml2 glibmm"

    -inherit autotools pkgconfig ptest
    +inherit distro_features_check autotools pkgconfig ptest
    +
    +REQUIRED_DISTRO_FEATURES = "x11"

     do_compile_ptest() {
       oe_runmake -C examples buildtest
    --
    2.7.4

    --
    _______________________________________________
    Openembedded-devel mailing list
    [email protected]
    <mailto:[email protected]>
    http://lists.openembedded.org/mailman/listinfo/openembedded-devel
    <http://lists.openembedded.org/mailman/listinfo/openembedded-devel>