Skip to contentSkip to conversation

blueman: upgrade 2.1.4 -> 2.2.1

PATCH In review Andreas Müller 2 participants 10 messages Jul 6, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/9 blueman: upgrade 2.1.4 -> 2.2.1

Manually refresh 0002-fix-fail-to-enable-bluetooth.patch - it did not apply

2.2.1
Bugs fixed
Hard dependency of DBusService on NetworkManager

2.2
New features
Disconnect items in applet menu (plugin)
Desktop notifications on connect / disconnect (plugin) Notifications with battery level for connecting devices (applet plugin) Stop discovery and retry connection for broken adapter drivers Auto-connect settings for supported services

Changes
Drop blueman-report
Drop blueman-assistant
Raise minimum Python version to 3.6
Raise GTK+ 3 version to 3.22
Raise minimum BlueZ version to 5.48
Allow opening device menus via keyboard (Shift+F10 or menu key) Add Ctrl+Q and Ctrl+W accelerators for closing blueman-manager Allow cancelling device connection attempts
Improved passkey handling (fixed padding, highlighting, single notifitication) Hide devices with no name

Bugs fixed
Fix disconnecting NMDevice
Exceptions from asynchronous DBus calls (getting picked up by tools like Apport or ABRT) DiscvManager plugin showed its icon unreliably

---
 .../0002-fix-fail-to-enable-bluetooth.patch   | 20 +++++++++----------
 .../{blueman_2.1.4.bb => blueman_2.2.1.bb}    | 16 +++++++--------
 2 files changed, 17 insertions(+), 19 deletions(-)
 rename meta-networking/recipes-connectivity/blueman/{blueman_2.1.4.bb => blueman_2.2.1.bb} (85%)
meta-networking/recipes-connectivity/blueman/blueman/0002-fix-fail-to-enable-bluetooth.patch +10 -10
index 55d1ac94c..282d82137 100644
@@ -22,13 +22,13 @@ Signed-off-by: Kai Kang <[email protected]>
 ---
  blueman/Functions.py                   | 10 ++++++++++
  blueman/plugins/applet/PowerManager.py |  4 ++++
- 2 files changed, 15 insertions(+), 1 deletion(-)
+ 2 files changed, 14 insertions(+)
 
 diff --git a/blueman/Functions.py b/blueman/Functions.py
-index 3b76271..c5eeb27 100644
+index 3917f42..b4d5eae 100644
 --- a/blueman/Functions.py
 +++ b/blueman/Functions.py
-@@ -86,6 +86,16 @@ def check_bluetooth_status(message, exitfunc):
+@@ -80,6 +80,16 @@ def check_bluetooth_status(message: str, exitfunc: Callable[[], Any]) -> None:
              return
  
      applet.SetBluetoothStatus('(b)', True)
@@ -46,27 +46,27 @@ index 3b76271..c5eeb27 100644
          print('Failed to enable bluetooth')
          exitfunc()
 diff --git a/blueman/plugins/applet/PowerManager.py b/blueman/plugins/applet/PowerManager.py
-index 8ec9fc4..29a0fb0 100644
+index c2f7bc3..bf6c99f 100644
 --- a/blueman/plugins/applet/PowerManager.py
 +++ b/blueman/plugins/applet/PowerManager.py
-@@ -48,6 +48,7 @@ class PowerManager(AppletPlugin):
+@@ -63,6 +63,7 @@ class PowerManager(AppletPlugin, StatusIconProvider):
          self._add_dbus_signal("BluetoothStatusChanged", "b")
          self._add_dbus_method("SetBluetoothStatus", ("b",), "", self.request_power_state)
          self._add_dbus_method("GetBluetoothStatus", (), "b", self.get_bluetooth_status)
 +        self._add_dbus_method("GetRequestStatus", (), "b", self.get_request_status)
  
-     def on_unload(self):
+     def on_unload(self) -> None:
          self.parent.Plugins.Menu.unregister(self)
-@@ -182,6 +183,9 @@ class PowerManager(AppletPlugin):
-     def get_bluetooth_status(self):
+@@ -196,6 +197,9 @@ class PowerManager(AppletPlugin, StatusIconProvider):
+     def get_bluetooth_status(self) -> bool:
          return self.current_state
  
 +    def get_request_status(self):
 +        return self.request_in_progress
 +
-     def on_adapter_property_changed(self, _path, key, value):
+     def on_adapter_property_changed(self, _path: str, key: str, value: Any) -> None:
          if key == "Powered":
              if value and not self.current_state:
 -- 
-2.20.1
+2.31.1
 
meta-networking/recipes-connectivity/blueman/blueman_2.2.1.bb renamed from meta-networking/recipes-connectivity/blueman/blueman_2.1.4.bb +7 -9
similarity index 85%
rename from meta-networking/recipes-connectivity/blueman/blueman_2.1.4.bb
rename to meta-networking/recipes-connectivity/blueman/blueman_2.2.1.bb
index 29bef230e..3cb01ff71 100644
@@ -4,14 +4,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
 DEPENDS = "bluez5 python3-pygobject python3-cython-native python3-setuptools-native intltool-native"
 
-inherit autotools systemd gsettings python3native gtk-icon-cache
+inherit autotools gettext systemd gsettings python3native gtk-icon-cache
 
 SRC_URI = " \
     https://github.com/blueman-project/blueman/releases/download/${PV}/blueman-${PV}.tar.xz \
     file://0001-Search-for-cython3.patch \
     file://0002-fix-fail-to-enable-bluetooth.patch \
 "
-SRC_URI[sha256sum] = "1d9c3d39a564d88851aa8de509f16bfa586b0b50f4307dc6c6347ba4833664da"
+SRC_URI[sha256sum] = "fcc10a2259bef2c5ac63f577010d76caed460d68810b7f70fecf056bf10a1a72"
 
 EXTRA_OECONF = " \
     --disable-appindicator \
@@ -48,12 +48,10 @@ FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/_blueman.a"
 do_install_append() {
     sed -i "1s/.*/#!\/usr\/bin\/env python3/" ${D}${prefix}/libexec/blueman-rfcomm-watcher \
                                               ${D}${prefix}/libexec/blueman-mechanism \
-                                              ${D}${bindir}/blueman-tray \
-                                              ${D}${bindir}/blueman-services \
-                                              ${D}${bindir}/blueman-sendto \
-                                              ${D}${bindir}/blueman-report \
-                                              ${D}${bindir}/blueman-manager \
-                                              ${D}${bindir}/blueman-assistant \
+                                              ${D}${bindir}/blueman-adapters \
                                               ${D}${bindir}/blueman-applet \
-                                              ${D}${bindir}/blueman-adapters
+                                              ${D}${bindir}/blueman-manager \
+                                              ${D}${bindir}/blueman-sendto \
+                                              ${D}${bindir}/blueman-services \
+                                              ${D}${bindir}/blueman-tray
 }
Signature · 1 line
2.31.1
#1 lore raw

PATCH 2/9 pipewire: upgrade 0.3.30 -> 0-3-31

This is a bugfix release that is API and ABI compatible with previous 0.3.x releases.

- Fixes for alsa-lib 1.2.5
- New pulseaudio modules: module-avahi-zeroconf, module-pipe-source, module-roc-sink, module-roc-source.
- JACK has seen massive stability improvements. Locking and correctness wrt to callbacks has been reworked. Also thread priorities have improved.
- Handle various crashes and lockups when running out of file descriptors.
- Bluetooth now uses a hardware database to disable non-working features on listed devices.
- Scheduling quantum and rate can now be changed dynamically with pw-metadata.
- Many bugfixes and improvements.
- Improve cleanup of context in error cases.
- There is now a pw-test framework for improved unit tests.
- Improve property serialization to valid JSON.
- Fix some macros to work with better with coverity.
- Metadata permissions are checked now. Clients need the M permission on an object to be able to set metadata for it.
- The core metadata object will now remove metadata for removed objects, the implementor does not need to worry about that anymore.
- Audioadapter will now follow the rate of the graph with the resampler adjusting itself dynamically.
- Core now has a metadata implementation helper. A context will expose a metadata with settings that can be changed at runtime. This can be used to change the loglevel or graph quantum and samplerate on the fly.
- An infinite loop was fixed in the audio converter.
- Handle out-of-fds more gracefully. Handle truncated control data by dropping the client connection.
- Fix profiler crash with many streams.
- Improve latency handling in pw-filter. There is now a default handler and a ProcessLatency parameter to simplify latency reporting.
- Latency reporting was improved in devices and streams.
- And example sink/source was added.
- hardware mute and volume are now properties on the Route param to make things easier.
- More fixes for alsa-ucm 1.2.5.
- spa-json-dump now properly encodes string and keys.
- pw-dump now shows the correct subject of the metadata.
- Ensure the node.description is set, some applications crash otherwise (TeamSpeak).
- Module loading and unloading was improved.
- module-avahi-zeroconf was implemented.
- module-pipe-source was implemented
- module-roc-sink and module-roc-source was implemented.
- The maximum amount of connections has been limited to 64, like pulseaudio.
- Handle out-of-fds more gracefully.
- Fix overflow of read/write pointers.
- Source and sink state are now decoupled from the monitor state and will report IDLE when not playing anything.
- Port switching should now happen to/from the port that actually changed.
- The locking was reviewed. All callbacks are now emited from the PipeWire thread with the lock released and the process function will be disabled for the duration of the callback. This ensures that no two callbacks are called at the same time.
- Improve internal consistency and try to never call callbacks with invalid objects.
- Monitor port can now be accessed with system:monitor_%d
- client threads are now created with SCHED_FIFO and module-rt is used to create the other RT threads. This should avoid SIGKILL from RTKit in some cases.
- Various bugfixes to improve connections to devices.
- Handle delayed UUID connection.
- There is now a hardware database that can disable features in listed devices.
- Use libusb to detect availability of mSBC.
- The virtual device name can now also contain a media role.

---
 .../pipewire/{pipewire_0.3.30.bb => pipewire_0.3.31.bb}         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-multimedia/recipes-multimedia/pipewire/{pipewire_0.3.30.bb => pipewire_0.3.31.bb} (99%)
meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.31.bb renamed from meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.30.bb +1 -1
similarity index 99%
rename from meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.30.bb
rename to meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.31.bb
index 956fbc367..3e8792118 100644
@@ -11,7 +11,7 @@ SECTION = "multimedia"
 
 DEPENDS = "dbus"
 
-SRCREV = "e857856be7b64d562cdcc01c43933218a68b225e"
+SRCREV = "c43dabcc96e2e072cdf08e5f094bb677d9017c6b"
 SRC_URI = "git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=master;protocol=https"
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.31.1
#2 lore raw

PATCH 3/9 cmark: upgrade 0.29.0 -> 0.30.0

In reply to Andreas Müller

For full change-log see [1].

[1] https://github.com/commonmark/cmark/releases/tag/0.30.0

---
 .../recipes-support/cmark/{cmark_git.bb => cmark_0.30.0.bb}   | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
 rename meta-oe/recipes-support/cmark/{cmark_git.bb => cmark_0.30.0.bb} (85%)
meta-oe/recipes-support/cmark/cmark_0.30.0.bb renamed from meta-oe/recipes-support/cmark/cmark_git.bb +1 -3
similarity index 85%
rename from meta-oe/recipes-support/cmark/cmark_git.bb
rename to meta-oe/recipes-support/cmark/cmark_0.30.0.bb
index f74a39b50..c52a04064 100644
@@ -4,11 +4,9 @@ LICENSE = "BSD-2-Clause & MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=81f9cae6293cc0345a9144b78152ab62"
 
 SRC_URI = "git://github.com/commonmark/cmark.git"
-SRCREV = "8daa6b1495124f0b67e6034130e12d7be83e38bd"
+SRCREV = "8800e66010214384e75f933830ca5585e1ae3060"
 S = "${WORKDIR}/git"
 
-PV = "0.29.0"
-
 inherit cmake lib_package
 
 EXTRA_OECMAKE += " \
Signature · 1 line
2.31.1
#3 lore raw

PATCH 4/9 networkmanager: upgrade 1.30.4 -> 1.32.2

In reply to Andreas Müller

Did not find hints upstream but musl build turned painless!

---
 ...ttings-settings-property-documentati.patch |  33 ++--
 ...Fix-build-with-musl-systemd-specific.patch | 154 ------------------
 ...Fix-build-with-musl-systemd-specific.patch |  26 ---
 ...ger_1.30.4.bb => networkmanager_1.32.2.bb} |   8 +-
 4 files changed, 19 insertions(+), 202 deletions(-)
 delete mode 100644 meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0001-Fix-build-with-musl-systemd-specific.patch
 delete mode 100644 meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0002-Fix-build-with-musl-systemd-specific.patch
 rename meta-networking/recipes-connectivity/networkmanager/{networkmanager_1.30.4.bb => networkmanager_1.32.2.bb} (94%)
meta-networking/recipes-connectivity/networkmanager/networkmanager/0002-Do-not-create-settings-settings-property-documentati.patch +17 -16
index 0a86abafc..86e8eaafc 100644
@@ -1,6 +1,6 @@
 From d0dead0478a070b96f37bd3b310443eaa8c93a25 Mon Sep 17 00:00:00 2001
-From: Vinicius Aquino <[email protected]>
-Date: Thu, 1 Apr 2021 14:13:07 -0300
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
+Date: Mon, 5 Jul 2021 00:42:23 +0200
 Subject: [PATCH] Do not create settings settings/property documentation
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
@@ -15,34 +15,35 @@ Upstream-Status: Inappropriate [OE specific]
 Signed-off-by: Andreas Müller <[email protected]>
 Signed-off-by: Vinicius Aquino <[email protected]>
 ---
- Makefile.am  | 4 ----
+ Makefile.am  | 5 -----
  configure.ac | 5 -----
- 2 files changed, 9 deletions(-)
+ 2 files changed, 10 deletions(-)
 
 diff --git a/Makefile.am b/Makefile.am
-index 9279672c1..2e52acbb2 100644
+index 5a62070..3d0ebcd 100644
 --- a/Makefile.am
 +++ b/Makefile.am
-@@ -1686,14 +1686,10 @@ libnm/libnm.typelib: libnm/libnm.gir
- INTROSPECTION_GIRS += libnm/NM-1.0.gir
+@@ -1860,15 +1860,10 @@ src/libnm-client-impl/libnm.typelib: src/libnm-client-impl/libnm.gir
+ INTROSPECTION_GIRS += src/libnm-client-impl/NM-1.0.gir
  
  libnm_noinst_data = \
--	clients/cli/generate-docs-nm-settings-nmcli.xml \
- 	libnm/nm-property-infos-dbus.xml \
- 	libnm/nm-property-infos-ifcfg-rh.xml \
- 	libnm/nm-property-infos-keyfile.xml \
- 	libnm/nm-property-infos-nmcli.xml \
--	libnm/nm-settings-docs-gir.xml \
+-	src/nmcli/generate-docs-nm-settings-nmcli.xml \
 -	man/nm-settings-docs-dbus.xml \
 -	man/nm-settings-docs-nmcli.xml \
+ 	src/libnm-client-impl/nm-property-infos-dbus.xml \
+ 	src/libnm-client-impl/nm-property-infos-ifcfg-rh.xml \
+ 	src/libnm-client-impl/nm-property-infos-keyfile.xml \
+ 	src/libnm-client-impl/nm-property-infos-nmcli.xml \
+-	src/libnm-client-impl/nm-settings-docs-gir.xml \
+-	src/libnmc-setting/settings-docs-input.xml \
  	$(NULL)
  
  noinst_DATA += $(libnm_noinst_data)
 diff --git a/configure.ac b/configure.ac
-index 784ac4695..681e6cb32 100644
+index 8fe23de..dc24850 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -1241,11 +1241,6 @@ GTK_DOC_CHECK(1.0)
+@@ -1258,11 +1258,6 @@ GTK_DOC_CHECK(1.0)
  # check if we can build setting property documentation
  build_docs=no
  if test -n "$INTROSPECTION_MAKEFILE"; then
@@ -55,5 +56,5 @@ index 784ac4695..681e6cb32 100644
  	if test -z "$PERL"; then
  		AC_MSG_ERROR([--enable-introspection requires perl])
 -- 
-2.20.1
+2.31.1
 
meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0001-Fix-build-with-musl-systemd-specific.patch deleted +0 -154

154 lines not on this page · raw message

meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0002-Fix-build-with-musl-systemd-specific.patch deleted +0 -26
deleted file mode 100644
index d83efd39e..000000000
@@ -1,26 +0,0 @@
-From 7d9a11a17da425d106791ada7100d7a6559e6065 Mon Sep 17 00:00:00 2001
-From: Adrian Freihofer <[email protected]>
-Date: Sat, 7 Mar 2020 14:24:01 +0100
-Subject: [PATCH 2/2] Fix build with musl - systemd specific
-
----
- src/core/systemd/src/libsystemd-network/sd-dhcp6-client.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/src/core/systemd/src/libsystemd-network/sd-dhcp6-client.c b/src/core/systemd/src/libsystemd-network/sd-dhcp6-client.c
-index 3fafd3c0e..79d6096c2 100644
---- a/src/core/systemd/src/libsystemd-network/sd-dhcp6-client.c
-+++ b/src/core/systemd/src/libsystemd-network/sd-dhcp6-client.c
-@@ -8,7 +8,9 @@
- #include <errno.h>
- #include <sys/ioctl.h>
- #if 0 /* NM_IGNORED */
-+#ifdef __GLIBC__  /* musl supplies full set of userspace headers */
- #include <linux/if_arp.h>
-+#endif
- #else /* NM_IGNORED */
- #include <net/if_arp.h>
- #endif /* NM_IGNORED */
--- 
-2.20.1
-
meta-networking/recipes-connectivity/networkmanager/networkmanager_1.32.2.bb renamed from meta-networking/recipes-connectivity/networkmanager/networkmanager_1.30.4.bb +2 -6
similarity index 94%
rename from meta-networking/recipes-connectivity/networkmanager/networkmanager_1.30.4.bb
rename to meta-networking/recipes-connectivity/networkmanager/networkmanager_1.32.2.bb
index 7c07b0a34..a01e53009 100644
@@ -27,11 +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_append_libc-musl = " \
-    file://musl/0001-Fix-build-with-musl-systemd-specific.patch \
-    file://musl/0002-Fix-build-with-musl-systemd-specific.patch \
-"
-SRC_URI[sha256sum] = "6050b724212ea3ce7386113359bea9afa1f679a54f60d999a5999892e672c190"
+SRC_URI[sha256sum] = "701d511067f757d0f92f412c98cdb49a74a6ba69448aabb1beadacbc171e3873"
 
 S = "${WORKDIR}/NetworkManager-${PV}"
 
@@ -56,7 +52,7 @@ CFLAGS_append_libc-musl = " \
 "
 
 do_compile_prepend() {
-    export GIR_EXTRA_LIBS_PATH="${B}/libnm/.libs:${B}/libnm-glib/.libs:${B}/libnm-util/.libs"
+    export GIR_EXTRA_LIBS_PATH="${B}/src/libnm-client-impl/.libs"
 }
 
 PACKAGECONFIG ??= "nss ifupdown dnsmasq nmcli \
Signature · 1 line
2.31.1
#4 lore raw

PATCH 5/9 ristretto: upgrade 0.10.0 -> 0.11.0

In reply to Andreas Müller

Release notes for 0.11.0
========================
- Update copyright years and appdata infos
- Enable HAVE_MAGIC_H-delimited code
- Fix compilation warnings
- autoconf: Some updates
- Update .gitignore
- Add option to copy image to clipboard (!20)
- Allow dragging window when CSD is used (#52)
- Remove GSourceFunc casts
- Added new stock icons with reverse DNS format
- Updates README.md
- Include string.h
- Codebase cleanup (!7)
- Make build less verbose
- Update .gitignore
- Make sure that argument passed to strncmp is non-NULL (!1)
- privacy_dialog.c: Remove dead initialization (!2)
- image_list.c: Remove dead assignment (!2)
- Add basic GitLab pipeline
- Switch to README.md and foreign automake mode
- Bug #16717: Move from exo-csource to xdt-csource
- Resolve couple "cast between incompatible function types" warnings
- Fix memory leaks in Privacy Dialog
- Resolve deprecation warnings
- Resolve some deprecation warnings
- Clean up unused functions
- Rename vars and funcs: show -> hide
- Add inactivity timeout setting to Preferences
- Hide the cursor while inactive in fullscreen mode
- Fix 'Status bar appears upon leaving fullscreen'
- Update .gitignore
- Do not show translation info on --help output
- Fix "window-state-event" handler
- Update credits
- Add support for old gtk2-style bg color settings
- Add missing LDFLAGS (fixes build on *bsd)
- In fullscreen mode, show toolbar when the mouse pointer is moved to the top
- Return to git versioning
- Translation Updates

---
 .../ristretto/{ristretto_0.10.0.bb => ristretto_0.11.0.bb}     | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-xfce/recipes-apps/ristretto/{ristretto_0.10.0.bb => ristretto_0.11.0.bb} (72%)
meta-xfce/recipes-apps/ristretto/ristretto_0.11.0.bb renamed from meta-xfce/recipes-apps/ristretto/ristretto_0.10.0.bb +1 -2
similarity index 72%
rename from meta-xfce/recipes-apps/ristretto/ristretto_0.10.0.bb
rename to meta-xfce/recipes-apps/ristretto/ristretto_0.11.0.bb
index fbca96f60..e611ddd93 100644
@@ -10,7 +10,6 @@ inherit xfce-app mime-xdg
 
 RRECOMMENDS_${PN} += "tumbler"
 
-SRC_URI[md5sum] = "4249e14fba78728481d89ce61a8771fc"
-SRC_URI[sha256sum] = "16225dd74245eb6e0f82b9c72c6112f161bb8d8b11f3fc77277b7bc3432d4769"
+SRC_URI[sha256sum] = "877e30d412c8cbfa9706f4ac0cab1a478f5829beafb773addc7722ca0cb78823"
 
 FILES_${PN} += "${datadir}/metainfo"
Signature · 1 line
2.31.1
#5 lore raw

PATCH 6/9 libgusb: upgrade 0.3.6 -> 0.3.7

In reply to Andreas Müller

Version 0.3.7
~~~~~~~~~~~~~
Released: 2021-05-24

New Features:
- Add a FreeBSD CI target (Richard Hughes)

Bugfixes:
- Do not depend on libusb_get_parent() to fix FreeBSD compile (Richard Hughes)
- Do not depend on libusb_get_port_number() to fix DragonFlyBSD compile (Richard Hughes)
- Do not double-reference USB devices (Marco Trevisan)
- Do not run the tests on FreeBSD (Richard Hughes)
- Require *any* python3 to fix FreeBSD build (Richard Hughes)

---
 .../libgusb/{libgusb_0.3.6.bb => libgusb_0.3.7.bb}              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/libgusb/{libgusb_0.3.6.bb => libgusb_0.3.7.bb} (85%)
meta-oe/recipes-support/libgusb/libgusb_0.3.7.bb renamed from meta-oe/recipes-support/libgusb/libgusb_0.3.6.bb +1 -1
similarity index 85%
rename from meta-oe/recipes-support/libgusb/libgusb_0.3.6.bb
rename to meta-oe/recipes-support/libgusb/libgusb_0.3.7.bb
index 2f74013ca..2b8728179 100644
@@ -7,5 +7,5 @@ DEPENDS = "glib-2.0 libusb"
 inherit meson gobject-introspection gtk-doc gettext vala
 
 SRC_URI = "git://github.com/hughsie/libgusb.git"
-SRCREV = "b0464454048cac6779d4d51f12fe7f37ae4bbd57"
+SRCREV = "ff9c606d9d72c7dd369ad220d92729556faaaf0c"
 S = "${WORKDIR}/git"
Signature · 1 line
2.31.1
#6 lore raw

PATCH 7/9 poppler: upgrade 21.06.1 -> 21.07.0

In reply to Andreas Müller

Release 21.07.0
core:
* JBIG2Stream: Do not consider a size-0 to be an error. Issue #535
* PSOutputDev: fix off-by-one error for image masking in L1/L2 output. Issue #1088
* CairoOutputDev: Fix memory leak on broken files
* Minor code improvements
build system:
* set C standard to 11 without extensions

---
 .../poppler/{poppler_21.06.1.bb => poppler_21.07.0.bb}          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/poppler/{poppler_21.06.1.bb => poppler_21.07.0.bb} (96%)
meta-oe/recipes-support/poppler/poppler_21.07.0.bb renamed from meta-oe/recipes-support/poppler/poppler_21.06.1.bb +1 -1
similarity index 96%
rename from meta-oe/recipes-support/poppler/poppler_21.06.1.bb
rename to meta-oe/recipes-support/poppler/poppler_21.07.0.bb
index 6b6a2a133..975ab1d70 100644
@@ -7,7 +7,7 @@ SRC_URI = "http://poppler.freedesktop.org/${BP}.tar.xz \
            file://0001-Do-not-overwrite-all-our-build-flags.patch \
            file://basename-include.patch \
            "
-SRC_URI[sha256sum] = "86b09e5a02de40081a3916ef8711c5128eaf4b1fc59d5f87d0ec66f04f595db4"
+SRC_URI[sha256sum] = "e26ab29f68065de4d6562f0a3e2b5435a83ca92be573b99a1c81998fa286a4d4"
 
 DEPENDS = "fontconfig zlib cairo lcms glib-2.0"
 
Signature · 1 line
2.31.1
#7 lore raw

PATCH 8/9 gegl: Disable pango on native build to fix gimp build segfaults

In reply to Andreas Müller

Achieve by adding a PACKAGECONFIG for pango and keep that out of native.

* pango support is not required for gimp build
* pango support caused random segmentation faults building gimp. To work around vector support was disabled for many arches.
Am not sure but segfaults might be caused by missing font configuration on native:
| Fontconfig error: Cannot load default config file
Now with upcoming pango 1.48.7 build of gimp build is broken completely: All calls of gegl caused segfaults.

---
 meta-gnome/recipes-gimp/gegl/gegl_0.4.30.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-gnome/recipes-gimp/gegl/gegl_0.4.30.bb +2 -2
index bb0cd1f8a..1fc883225 100644
@@ -6,7 +6,6 @@ DEPENDS = " \
     intltool-native \
     babl \
     glib-2.0 \
-    pango \
     cairo \
     expat \
     zlib \
@@ -28,7 +27,7 @@ SRC_URI = " \
 "
 SRC_URI[sha256sum] = "c112782cf4096969e23217ccdfabe42284e35d5435ff0c43d40e4c70faeca8dd"
 
-PACKAGECONFIG ??= "gexiv2 jpeg libpng libraw librsvg poppler sdl2"
+PACKAGECONFIG ??= "gexiv2 jpeg libpng libraw librsvg pango poppler sdl2"
 PACKAGECONFIG_class-native = "libpng librsvg"
 
 PACKAGECONFIG[jasper] = "-Djasper=enabled,-Djasper=disabled,jasper"
@@ -40,6 +39,7 @@ PACKAGECONFIG[libav] = "-Dlibav=enabled,-Dlibav=disabled,libav"
 PACKAGECONFIG[libpng] = "-Dlibpng=enabled,-Dlibpng=disabled,libpng"
 PACKAGECONFIG[libraw] = "-Dlibraw=enabled,-Dlibraw=disabled,libraw"
 PACKAGECONFIG[librsvg] = "-Dlibrsvg=enabled,-Dlibrsvg=disabled,librsvg"
+PACKAGECONFIG[pango] = "-Dpango=enabled -Dpangocairo=enabled,-Dpango=disabled -Dpangocairo=disabled,pango"
 PACKAGECONFIG[poppler] = "-Dpoppler=enabled,-Dpoppler=disabled,poppler"
 PACKAGECONFIG[sdl] = "-Dsdl1=enabled,-Dsdl1=disabled,virtual/libsdl"
 PACKAGECONFIG[sdl2] = "-Dsdl2=enabled,-Dsdl2=disabled,virtual/libsdl2"
Signature · 1 line
2.31.1
#8 lore raw

Re: [oe] [PATCH 8/9] gegl: Disable pango on native build to fix gimp build segfaults

Quoted 41 lines · Andreas Müller

Achieve by adding a PACKAGECONFIG for pango and keep that out of native.

* pango support is not required for gimp build
* pango support caused random segmentation faults building gimp. To work around vector support was disabled for many arches.
Am not sure but segfaults might be caused by missing font configuration on native:
| Fontconfig error: Cannot load default config file
Now with upcoming pango 1.48.7 build of gimp build is broken completely: All calls of gegl caused segfaults.

---
  meta-gnome/recipes-gimp/gegl/gegl_0.4.30.bb | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
meta-gnome/recipes-gimp/gegl/gegl_0.4.30.bb +1 -2
index bb0cd1f8a..1fc883225 100644
@@ -6,7 +6,6 @@ DEPENDS = " \
      intltool-native \
      babl \
      glib-2.0 \
-    pango \
      cairo \
      expat \
      zlib \
@@ -28,7 +27,7 @@ SRC_URI = " \
  "
  SRC_URI[sha256sum] = "c112782cf4096969e23217ccdfabe42284e35d5435ff0c43d40e4c70faeca8dd"
 
-PACKAGECONFIG ??= "gexiv2 jpeg libpng libraw librsvg poppler sdl2"
+PACKAGECONFIG ??= "gexiv2 jpeg libpng libraw librsvg pango poppler sdl2"
  PACKAGECONFIG_class-native = "libpng librsvg"
 
  PACKAGECONFIG[jasper] = "-Djasper=enabled,-Djasper=disabled,jasper"

meta-gnome/recipes-gimp/gegl/gegl_0.4.30.bb PACKAGECONFIG[libav] = "-Dlibav=enabled,-Dlibav=disabled,libav" · line 45

Quoted 7 lines
meta-gnome/recipes-gimp/gegl/gegl_0.4.30.bb +1 -0
@@ -40,6 +39,7 @@ PACKAGECONFIG[libav] = "-Dlibav=enabled,-Dlibav=disabled,libav"
  PACKAGECONFIG[libpng] = "-Dlibpng=enabled,-Dlibpng=disabled,libpng"
  PACKAGECONFIG[libraw] = "-Dlibraw=enabled,-Dlibraw=disabled,libraw"
  PACKAGECONFIG[librsvg] = "-Dlibrsvg=enabled,-Dlibrsvg=disabled,librsvg"
+PACKAGECONFIG[pango] = "-Dpango=enabled -Dpangocairo=enabled,-Dpango=disabled -Dpangocairo=disabled,pango"
  PACKAGECONFIG[poppler] = "-Dpoppler=enabled,-Dpoppler=disabled,poppler"
  PACKAGECONFIG[sdl] = "-Dsdl1=enabled,-Dsdl1=disabled,virtual/libsdl"
  PACKAGECONFIG[sdl2] = "-Dsdl2=enabled,-Dsdl2=disabled,virtual/libsdl2"

thanks for doing this, it was causing quite few failures on CI builds due to this race.

Quoted 2 lines
#9 lore raw

PATCH 9/9 gimp: remove --disable-vector-icons

In reply to Andreas Müller

These were workarounds for broken gegl-native

---
 meta-gnome/recipes-gimp/gimp/gimp_2.10.24.bb | 5 -----
 1 file changed, 5 deletions(-)
meta-gnome/recipes-gimp/gimp/gimp_2.10.24.bb +0 -5
index e729d9deb..be05354da 100644
@@ -51,11 +51,6 @@ EXTRA_OECONF = "--disable-python \
                 --disable-check-update \
                 --without-wmf"
 
-EXTRA_OECONF_append_mipsarch = " --disable-vector-icons"
-EXTRA_OECONF_append_libc-musl_riscv32 = " --disable-vector-icons"
-EXTRA_OECONF_append_libc-musl_x86 = " --disable-vector-icons"
-EXTRA_OECONF_append_toolchain-clang_arm = " --disable-vector-icons"
-
 do_configure_append() {
     find ${B} -name Makefile | xargs sed -i s:'-I$(includedir)':'-I.':g
     find ${B} -name Makefile | xargs sed -i s:'-I/usr/include':'-I${STAGING_INCDIR}':g
Signature · 1 line
2.31.1