fltk/CMake: Do not export executable 'fluid'
PATCH 1/5 fltk/CMake: Do not export executable 'fluid'
It does not work for us: The executable 'fluid' is not installed in receipe-sysroot. So fltk cmake config contains an invalid reference. Consumers of fltk using cmake will fail during configure for this invalid reference with something like:
| CMake Error at <...>/recipe-sysroot/usr/share/fltk/FLTK-Targets.cmake:129 (message): | The imported target "fluid" references the file | | "<...>/recipe-sysroot/usr/bin/fluid" | | but this file does not exist.
--- meta-oe/recipes-support/fltk/fltk.bb | 2 + ...Lists.txt-Do-not-export-fluid-target.patch | 42 +++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 meta-oe/recipes-support/fltk/fltk/0003-fluid-CMakeLists.txt-Do-not-export-fluid-target.patch
meta-oe/recipes-support/fltk/fltk.bb +2 -0
@@ -5,6 +5,8 @@ DEPENDS = "alsa-lib zlib jpeg libpng libxext libxft" inherit features_check binconfig lib_package gtk-icon-cache mime mime-xdg REQUIRED_DISTRO_FEATURES = "x11" +SRC_URI += "file://0003-fluid-CMakeLists.txt-Do-not-export-fluid-target.patch" + EXTRA_OECMAKE = " \ -DOPTION_BUILD_SHARED_LIBS=ON \ -DOPTION_USE_THREADS=ON \
meta-oe/recipes-support/fltk/fltk/0003-fluid-CMakeLists.txt-Do-not-export-fluid-target.patch new file +42 -0
42 lines not on this page · raw message
Signature · 1 line
2.31.1
PATCH 2/5 fltk: upgrade 1.3.6 -> 1.3.7
CHANGES IN FLTK 1.3 RELEASED: Jul 25 2021
FLTK 1.3.7 is a maintenance release for macOS only. It fixes one regression introduced in FLTK 1.3.6 and two long standing timer issues on macOS.
Other platforms than macOS are not concerned.
Changes:
Avoid premature FL_RELEASE event at start of drag-n-drop operation Fix a timer inconsistency and prevent a crash Fl::add_timeout() must always create a new timer (#248)
--- meta-oe/recipes-support/fltk/fltk.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-support/fltk/fltk.inc +2 -2
@@ -11,8 +11,8 @@ SRC_URI = " \ file://0002-always-build-fluid-and-export-pointers.patch \ " -PV = "1.3.6" -SRC_URI[sha256sum] = "20d2627c97b4485ee3eab5522303985bc22b798a878ba80239e6d43dcfed067e" +PV = "1.3.7" +SRC_URI[sha256sum] = "5ff1e90766ff4216e78e9a19a9bf527e6258f04accccd4429e9bb829b01d690d" inherit cmake pkgconfig
Signature · 1 line
2.31.1
PATCH 3/5 network-manager-applet: upgrade 1.22.0 -> 1.24.0
In reply to Andreas Müller=======================================================
network-manager-applet-1.24.0
Overview of changes since network-manager-applet-1.22.0
=======================================================
* If Polkit permissions allow it, create system connections (instead of user-restricted ones) when clicking on a Wi-Fi network in the applet.
* Fix display of blurry applet icon.
* Use the "port" word for dependend devices and profiles in the editor.
* Support storing and retrieving WireGuard preshared-key into/from a keyring.
* Update translations.
---
...anager-applet_1.22.0.bb => network-manager-applet_1.24.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-gnome/recipes-connectivity/network-manager-applet/{network-manager-applet_1.22.0.bb => network-manager-applet_1.24.0.bb} (90%)meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.24.0.bb renamed from meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.22.0.bb +1 -1
@@ -9,7 +9,7 @@ inherit features_check gnomebase gsettings gtk-icon-cache gettext REQUIRED_DISTRO_FEATURES = "x11" -SRC_URI[archive.sha256sum] = "c70d80b48d40a9cb99ec967cc4389f67e7f0301528a69d481572041331a646be" +SRC_URI[archive.sha256sum] = "b9f4bca5d0352718e07b7385fb195a9bbc8fd686b7959b74137854d52aab9c58" # We don't not have ubuntu's appindicator (yet?) EXTRA_OEMESON = "-Dappindicator=no"
Signature · 1 line
2.31.1
PATCH 4/5 networkmanager: upgrade 1.32.4 -> 1.32.8
In reply to Andreas Müller===============================================
NetworkManager-1.32.8
Overview of changes since NetworkManager-1.32.6
===============================================
* firewalld: configure zones on "Reloaded" signal.
* core: fix wrong MTU for bridge interfaces.
* cloud-setup: fix gateway address for Aliyun cloud.
===============================================
NetworkManager-1.32.6
Overview of changes since NetworkManager-1.32.4
===============================================
* core: fix adding stale local routes when address changes.
* initrd: tag generated profiles with origin in user data.
* core: introduce "allowed-connections" option to disallow profiles on a device. This allows to filter out profiles that originate from initrd.
* core: introduce "keep-configuration" device option to forcefully activate a profile on start.
* dhcp: handle filename/bootfile_name DHCP option and write it to device state file for initrd/kickstart.
* initrd: add "ib.pkey=" command line option
---
.../{networkmanager_1.32.4.bb => networkmanager_1.32.8.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-networking/recipes-connectivity/networkmanager/{networkmanager_1.32.4.bb => networkmanager_1.32.8.bb} (98%)meta-networking/recipes-connectivity/networkmanager/networkmanager_1.32.8.bb renamed from meta-networking/recipes-connectivity/networkmanager/networkmanager_1.32.4.bb +1 -1
@@ -27,7 +27,7 @@ SRC_URI = " \ file://0002-Do-not-create-settings-settings-property-documentati.patch \ file://0003-install-firewalld-to-var-libdir-rather-than-hardcod-.patch \ " -SRC_URI[sha256sum] = "29acbd41c78b7ef87ff88fec5360d1eaf8b5b6fcb90555d7391abc5e36923158" +SRC_URI[sha256sum] = "e7e42ad05ad7b9054fbe227930f40213f2e9d7af64dd2542e60318a0b1a76c75" S = "${WORKDIR}/NetworkManager-${PV}"
Signature · 1 line
2.31.1
PATCH 5/5 udisks2: upgrade 2.9.2 -> 2.9.3
In reply to Andreas MüllerChanges since 2.9.2:
* Ignore "Extended Boot Loader" GPT partition
* Use the mkfs command to format exfat partitions
* udiskslinuxblockobject: Add safety checks for UDisksLinuxBlock interface
* udiskslinuxfsinfo: Add dosfstools >= 4.2 quirks
* udiskslinuxblock: Re-read partition table after creating FAT filesystem
* udiskslinuxdriveata: Use GTask to apply configuration in a thread
* udiskslinuxfilesystemhelpers: Fix leaking string in case g_mkdtemp() fails
* udiskslinuxmdraidobject: Optimize unused data out from the g_io_channel_read_to_end() call
* udiskslinuxmdraidobject: Handle source attach failure gracefully
* udiskslinuxmanager: Trigger uevent on a newly created mdraid array
* udiskslinuxswapspace: Trigger uevent after setting label
* udiskslinuxblock: Handle missing parent device while looking up drive for block
* modules: Limit module name to alphanumeric characters and -_ separators
* tests: Mark Drive.ATA tests as unstable
* tests: Handle missing /dev/disk/by-path gracefully
* tests: Respect custom method call timeouts
* tests: Extend iscsi method call timeouts
* tests: Extend module tests with invalid characters
* tests: Do not dist config_h.py
* spec: Do not build udisks2-zram for any RHEL release
* udiskslinuxpartition: Trigger uevent after changing partition type
* dbus_tests: Fix including non-existing tests based on tags
* Add (no)autodefrag to list of allowed btrfs mount options
* udisksclient: Make get_block_for_drive deterministic
* Fix two comments (one copy'o, one typo)
---
.../udisks/{udisks2_2.9.2.bb => udisks2_2.9.3.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-oe/recipes-support/udisks/{udisks2_2.9.2.bb => udisks2_2.9.3.bb} (90%)meta-oe/recipes-support/udisks/udisks2_2.9.3.bb renamed from meta-oe/recipes-support/udisks/udisks2_2.9.2.bb +2 -2
@@ -17,8 +17,8 @@ DEPENDS += "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" RDEPENDS:${PN} = "acl" -SRC_URI = "git://github.com/storaged-project/udisks.git;branch=master" -SRCREV = "da6d9480fefeb0ffdf8a84626b5096827d8d7030" +SRC_URI = "git://github.com/storaged-project/udisks.git;branch=2.9.x-branch" +SRCREV = "c430dd9a27e158693cc783e9ee91bf6e5b2a8819" S = "${WORKDIR}/git" CVE_PRODUCT = "udisks"
Signature · 1 line
2.31.1
Quoted 5 lines · Andreas Müller
It does not work for us: The executable 'fluid' is not installed in receipe-sysroot. So fltk cmake config contains an invalid reference. Consumers of fltk using cmake will fail during configure for this invalid reference with something like:
Quoted 7 lines
| CMake Error at <...>/recipe-sysroot/usr/share/fltk/FLTK-Targets.cmake:129 (message):
| The imported target "fluid" references the file | | "<...>/recipe-sysroot/usr/bin/fluid" | | but this file does not exist.
Do we get it from native sysroot then ? Or is it not required at all for cross compiles
Quoted 84 lines
Signed-off-by Andreas Müller <[email protected]>--- meta-oe/recipes-support/fltk/fltk.bb | 2 + ...Lists.txt-Do-not-export-fluid-target.patch | 42 +++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644
meta-oe/recipes-support/fltk/fltk/0003-fluid-CMakeLists.txt-Do-not-export-fluid-target.patchmeta-oe/recipes-support/fltk/fltk.bb +1
-0@@ -5,6 +5,8 @@ DEPENDS = "alsa-lib zlib jpeg libpng libxext libxft" inherit features_check binconfig lib_package gtk-icon-cache mime mime-xdg REQUIRED_DISTRO_FEATURES = "x11" +SRC_URI +="file://0003-fluid-CMakeLists.txt-Do-not-export-fluid-target.patch" +
EXTRA_OECMAKE = " \ -DOPTION_BUILD_SHARED_LIBS=ON \ -DOPTION_USE_THREADS=ON \diff --git
a/meta-oe/recipes-support/fltk/fltk/0003-fluid-CMakeLists.txt-Do-not-export-fluid-target.patchb/meta-oe/recipes-support/fltk/fltk/0003-fluid-CMakeLists.txt-Do-not-export-fluid-target.patchnew file mode 100644
index 000000000..72bb48a32
---/dev/null
+++b/meta-oe/recipes-support/fltk/fltk/0003-fluid-CMakeLists.txt-Do-not-export-fluid-target.patchmeta-oe/recipes-support/fltk/fltk.bb +14
-0@@ -0,0 +1,42 @@ +From b6985abcb03fb09685da4044963e8f085035b208 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> +Date: Thu, 19 Aug 2021 08:06:45 +0200 +Subject: [PATCH] fluid/CMakeLists.txt: Do not export fluid target +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +It does not work for us: The executable 'fluid' is not installed in +receipe-sysroot. So fltk cmake config contains an invalid reference. +Consumers of fltk using cmake will fail during configure for this invalid +reference with something like: + +| CMake Error at<...>/recipe-sysroot/usr/share/fltk/FLTK-Targets.cmake:129 (message):
+| The imported target "fluid" references the file +| +| "<...>/recipe-sysroot/usr/bin/fluid" +| +| but this file does not exist.meta-oe/recipes-support/fltk/fltk.bb +23
-1+ +Upstream-Status: Inappropriate [OE specific] + +Signed-off-by: Andreas Müller <[email protected]> +--- + fluid/CMakeLists.txt | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/fluid/CMakeLists.txt b/fluid/CMakeLists.txt +index 472c84c..f971121 100644 +--- a/fluid/CMakeLists.txt ++++ b/fluid/CMakeLists.txt +@@ -86,7 +86,6 @@ if (APPLE AND (NOT OPTION_APPLE_X11)) + install (TARGETS fluid DESTINATION ${FLTK_BINDIR}) + else() + install (TARGETS fluid +- EXPORT FLTK-Targets + RUNTIME DESTINATION ${FLTK_BINDIR} + LIBRARY DESTINATION ${FLTK_LIBDIR} + ARCHIVE DESTINATION ${FLTK_LIBDIR} +-- +2.31.1 + --2.31.1
Quoted 18 lines · Khem Raj
Quoted 6 lines · Andreas Müller
It does not work for us: The executable 'fluid' is not installed in receipe-sysroot. So fltk cmake config contains an invalid reference. Consumers of fltk using cmake will fail during configure for this invalid reference with something like:
Quoted 6 lines
| CMake Error at <...>/recipe-sysroot/usr/share/fltk/FLTK-Targets.cmake:129 (message): | The imported target "fluid" references the file | | "<...>/recipe-sysroot/usr/bin/fluid" | | but this file does not exist.
Quoted 1 line
Do we get it from native sysroot then ? Or is it not required at all for cross compiles
Hi Khem,
Native fluid is supplied by flk-native (and I have recipes in meta-musicians using it). This patch just fixes invalid cmake config and leaves flk-native untouched. In my opinion this export does not make sense anyway because fluid does not export re-usable libraries and just calling 'fluid' will work because it is installed in standard bindir folder.
Hope that helps.
Andreas
Quoted 22 lines · Andreas Müller
Quoted 18 lines · Khem Raj
Quoted 6 lines · Andreas Müller
It does not work for us: The executable 'fluid' is not installed in receipe-sysroot. So fltk cmake config contains an invalid reference. Consumers of fltk using cmake will fail during configure for this invalid reference with something like:
Quoted 6 lines
| CMake Error at <...>/recipe-sysroot/usr/share/fltk/FLTK-Targets.cmake:129 (message): | The imported target "fluid" references the file | | "<...>/recipe-sysroot/usr/bin/fluid" | | but this file does not exist.Quoted 1 line
Do we get it from native sysroot then ? Or is it not required at all for cross compiles
Hi Khem,
Quoted 8 lines
Native fluid is supplied by flk-native (and I have recipes in meta-musicians using it). This patch just fixes invalid cmake config and leaves flk-native untouched. In my opinion this export does not make sense anyway because fluid does not export re-usable libraries and just calling 'fluid' will work because it is installed in standard bindir folder.
Hope that helps.
yes it does thanks.
Quoted 3 lines
Andreas