Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package picotool for openSUSE:Factory 
checked in at 2026-11-04 19:44:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/picotool (Old)
 and      /work/SRC/openSUSE:Factory/.picotool.new.3759290 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "picotool"

Wed Nov  4 19:44:58 2026 rev:13 rq:1394795 version:2.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/picotool/picotool.changes        2025-03-11 
20:46:39.969572263 +0100
+++ /work/SRC/openSUSE:Factory/.picotool.new.3759290/picotool.changes   
2026-11-04 19:45:21.463154708 +0100
@@ -1,0 +2,27 @@
+Fri Oct 23 17:06:59 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to version 2.3.1
+  * New bdev command for reading and writing embedded block
+    devices (FatFS and LittleFS): ls, cp, cat, rm, mkdir, format
+  * New uf2 combine command to merge multiple UF2 files
+  * encrypt: support self-decrypting binaries; now requires an IV
+    salt file in addition to the AES key file
+  * otp dump can write BIN files and convert OTP JSON to BIN
+  * seal on ELF squashes sparse no_flash binaries (--no-squash
+    disables it); seal and encrypt can pin XIP SRAM
+  * reboot and forced commands support the BOOTSEL activity LED
+  * otp get prints the 16-bit ECC value by default (--raw for the
+    full 24-bit raw value)
+  * -h/--help anywhere on the command line shows help text
+  * Bug fixes: info on non-partition-capable devices, seal ELF
+    squashing, uf2 convert model guessing, pin function display
+    and otp permissions handling on RP2350
+  * Many more fixes and improvements; see upstream's release notes
+    for the full list
+  * Refresh pico-sdk bundle to 2.3.1
+  * install-firmware-to-libdir.patch: install device firmware ELF
+    blobs to libdir instead of datadir (arch-dependent files do not
+    belong in usr-share); the tool searches that dir at runtime
+- Drop obsolete Group tag
+
+-------------------------------------------------------------------

Old:
----
  pico-sdk-2.1.1.tar.gz
  picotool-2.1.1.tar.gz

New:
----
  install-firmware-to-libdir.patch
  pico-sdk-2.3.1.tar.gz
  picotool-2.3.1.tar.gz

----------(New B)----------
  New:  * Refresh pico-sdk bundle to 2.3.1
  * install-firmware-to-libdir.patch: install device firmware ELF
    blobs to libdir instead of datadir (arch-dependent files do not
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ picotool.spec ++++++
--- /var/tmp/diff_new_pack.XXVutO/_old  2026-11-04 19:45:24.111265555 +0100
+++ /var/tmp/diff_new_pack.XXVutO/_new  2026-11-04 19:45:24.114265680 +0100
@@ -16,18 +16,23 @@
 #
 
 
-%define sdk_version 2.1.1
+%define sdk_version 2.3.1
 Name:           picotool
-Version:        2.1.1
+Version:        2.3.1
 Release:        0
 Summary:        Tool to inspect RP2040 binaries
 License:        BSD-3-Clause
-Group:          Development/Tools/Other
 URL:            https://github.com/raspberrypi/picotool
 Source0:        
https://github.com/raspberrypi/picotool/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:        
https://github.com/raspberrypi/pico-sdk/archive/%{sdk_version}.tar.gz#/pico-sdk-%{sdk_version}.tar.gz
+# PATCH-FIX-OPENSUSE install-firmware-to-libdir.patch -- install device
+# firmware ELF blobs to libdir instead of datadir (arch-dependent files
+# do not belong in usr-share) and search that dir at runtime
+Patch0:         install-firmware-to-libdir.patch
 BuildRequires:  cmake >= 3.12
 BuildRequires:  gcc-c++
+# Keep the plain -devel name here: the pkgconfig form adds an
+# extra pkgconfig provider dep for no benefit
 BuildRequires:  libusb-1_0-devel
 
 %description
@@ -50,5 +55,6 @@
 %license LICENSE.TXT
 %{_bindir}/picotool
 %{_libdir}/cmake/picotool
+%{_libdir}/picotool
 %{_datadir}/picotool
 

++++++ install-firmware-to-libdir.patch ++++++
From: Martin Pluskal <[email protected]>
Subject: Install device firmware ELF blobs to libdir instead of datadir

The enc_bootloader.elf and xip_ram_perms.elf files are firmware for the
attached RP2040/RP2350 device, not host binaries. Installing them to
/usr/share trips arch-dependent-file-in-usr-share and aborts the build.
Install them to %{_libdir}/picotool instead and add that directory to
the compiled-in data file search path (DATA_LOCS), so the tool still
finds them at runtime. The arch-independent OTP JSON stays in datadir.

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,7 +41,7 @@
 endif()
 
 # todo better install paths for this
-set(DATA_LOCS "./" "${CMAKE_INSTALL_PREFIX}/${INSTALL_DATADIR}/")
+set(DATA_LOCS "./" "${CMAKE_INSTALL_PREFIX}/${INSTALL_DATADIR}/" 
"${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/picotool/")
 string(REGEX REPLACE ";" "\",\"" DATA_LOCS_VEC "${DATA_LOCS}")
 configure_file(data_locs.template.cpp 
${CMAKE_CURRENT_BINARY_DIR}/data_locs.cpp)
 
@@ -396,14 +396,14 @@
 #Install enc_bootloader.elf
 install(FILES
     ${ENC_BOOTLOADER_ELF}
-    DESTINATION ${INSTALL_DATADIR}
+    DESTINATION ${CMAKE_INSTALL_LIBDIR}/picotool
 )
 
 if (TARGET mbedtls)
     #Install enc_bootloader_mbedtls.elf
     install(FILES
         ${ENC_BOOTLOADER_MBEDTLS_ELF}
-        DESTINATION ${INSTALL_DATADIR}
+        DESTINATION ${CMAKE_INSTALL_LIBDIR}/picotool
         RENAME enc_bootloader_mbedtls.elf
     )
 endif()
@@ -420,6 +420,6 @@
     #Install xip_ram_perms.elf
     install(FILES
         ${XIP_RAM_PERMS_ELF}
-        DESTINATION ${INSTALL_DATADIR}
+        DESTINATION ${CMAKE_INSTALL_LIBDIR}/picotool
     )
 endif()

++++++ pico-sdk-2.1.1.tar.gz -> pico-sdk-2.3.1.tar.gz ++++++
++++ 312390 lines of diff (skipped)

++++++ picotool-2.1.1.tar.gz -> picotool-2.3.1.tar.gz ++++++
++++ 55952 lines of diff (skipped)

Reply via email to