Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package android-tools for openSUSE:Factory checked in at 2026-02-11 18:47:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/android-tools (Old) and /work/SRC/openSUSE:Factory/.android-tools.new.1670 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "android-tools" Wed Feb 11 18:47:51 2026 rev:27 rq:1332321 version:35.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/android-tools/android-tools.changes 2025-07-23 16:34:27.234224715 +0200 +++ /work/SRC/openSUSE:Factory/.android-tools.new.1670/android-tools.changes 2026-02-11 18:48:33.196635976 +0100 @@ -1,0 +2,17 @@ +Tue Feb 3 20:43:56 UTC 2026 - [email protected] + +- Use system libusb library (>= 1.0.28 with SuperSpeedPlus + support) for Leap 16 + +------------------------------------------------------------------- +Tue Feb 3 10:45:10 UTC 2026 - [email protected] + +- Add fix-legacy-USB-driver-default.patch + * Make legacy USB driver default on Linux (gh#nmeum/android-tools#190) +- Add fix-missing-cstdint-includes-for-gcc16.patch + * Include missing cstdint header (gh#nmeum/android-tools#191) +- Remove 'go' as a build requirement (only needed eg. for the + boringssl test suite) +- Fix build on SLFO_Main (use system fmt) + +------------------------------------------------------------------- New: ---- fix-legacy-USB-driver-default.patch fix-missing-cstdint-includes-for-gcc16.patch ----------(New B)---------- New: - Add fix-legacy-USB-driver-default.patch * Make legacy USB driver default on Linux (gh#nmeum/android-tools#190) New: * Make legacy USB driver default on Linux (gh#nmeum/android-tools#190) - Add fix-missing-cstdint-includes-for-gcc16.patch * Include missing cstdint header (gh#nmeum/android-tools#191) ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ android-tools.spec ++++++ --- /var/tmp/diff_new_pack.fkDVjY/_old 2026-02-11 18:48:33.924666550 +0100 +++ /var/tmp/diff_new_pack.fkDVjY/_new 2026-02-11 18:48:33.928666718 +0100 @@ -1,7 +1,7 @@ # # spec file for package android-tools # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,7 @@ # -%if 0%{?suse_version} <= 1600 +%if 0%{?suse_version} < 1600 %bcond_without bundled_libfmt %bcond_without bundled_libusb %else @@ -37,8 +37,11 @@ Patch1: fix-protobuf-30-compat.patch # PATCH-FIX-UPSTREAM fix-libusb-enumeration.patch gh#nmeum/android-tools#153 Patch2: fix-libusb-enumeration.patch +# PATCH-FIX-UPSTREAM fix-legacy-USB-driver-default.patch gh#nmeum/android-tools#190 +Patch3: fix-legacy-USB-driver-default.patch +# PATCH-FIX-UPSTREAM fix-missing-cstdint-includes-for-gcc16.patch gh#nmeum/android-tools#191 +Patch4: fix-missing-cstdint-includes-for-gcc16.patch BuildRequires: cmake >= 3.12 -BuildRequires: go BuildRequires: llvm-gold BuildRequires: ninja BuildRequires: pkgconfig @@ -51,8 +54,8 @@ BuildRequires: pkgconfig(libzstd) BuildRequires: pkgconfig(protobuf) >= 21 BuildRequires: pkgconfig(zlib) -Suggests: %{name}-mkbootimg = %{version} -Suggests: %{name}-partition = %{version} +Suggests: %{name}-mkbootimg +Suggests: %{name}-partition Suggests: android-udev-rules Provides: %{name}-python3 = %{version}-%{release} Obsoletes: %{name}-python3 < %{version}-%{release} @@ -112,7 +115,6 @@ %build %define __builder ninja -export GOFLAGS="-buildmode=pie -trimpath -ldflags=-buildid=" %cmake \ %if 0%{?suse_version} < 1600 ++++++ fix-legacy-USB-driver-default.patch ++++++ >From 55d30a3098c29431bcbeb2d2a5f1a0c40844c311 Mon Sep 17 00:00:00 2001 From: Fabien Sanglard <[email protected]> Date: Mon, 23 Jun 2025 11:21:16 -0700 Subject: [PATCH] Make legacy USB driver default on Linux Bug: 366314975 Bug: 398328647 Test: Manual Flag: EXEMPT (adb.exe) Change-Id: Id49df58587d3f479d263a5b2da1679a1e675feb5 --- client/transport_usb.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vendor/adb/client/transport_usb.cpp b/vendor/adb/client/transport_usb.cpp index 3b0b4906..d3b4929c 100644 --- a/vendor/adb/client/transport_usb.cpp +++ b/vendor/adb/client/transport_usb.cpp @@ -177,9 +177,9 @@ bool is_adb_interface(int usb_class, int usb_subclass, int usb_protocol) { } bool is_libusb_enabled() { - bool enable = true; -#if defined(_WIN32) - enable = false; + bool enable = false; +#if defined(__APPLE__) + enable = true; #endif char* env = getenv("ADB_LIBUSB"); if (env) { -- 2.52.0 ++++++ fix-missing-cstdint-includes-for-gcc16.patch ++++++ >From 5b417e7577075ebef7c80bfdb75f89a4be4cd8de Mon Sep 17 00:00:00 2001 From: meator <[email protected]> Date: Wed, 14 Jan 2026 11:57:22 +0100 Subject: [PATCH 1/2] Include missing cstdint header This code relied on the fact that some system headers pulled <cstdint>, so it did not bother to include it itself. However, this behavior is not specified, so compiler updates can break the code by no longer including this header. --- vendor/libbase/hex.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vendor/libbase/hex.cpp b/vendor/libbase/hex.cpp index a4b7715..c46f42d 100644 --- a/vendor/libbase/hex.cpp +++ b/vendor/libbase/hex.cpp @@ -18,6 +18,8 @@ #include "android-base/logging.h" +#include <cstdint> + namespace android { namespace base { -- 2.52.0 >From f97ee86871920bdf4c7bd3278c1ad0234cd81251 Mon Sep 17 00:00:00 2001 From: meator <[email protected]> Date: Wed, 14 Jan 2026 12:13:37 +0100 Subject: [PATCH 2/2] Include missing cstdint header This code relied on the fact that some system headers pulled <cstdint>, so it did not bother to include it itself. However, this behavior is not specified, so compiler updates can break the code by no longer including this header. --- vendor/libziparchive/include/ziparchive/zip_writer.h | 1 + 1 file changed, 1 insertion(+) diff --git a/vendor/libziparchive/include/ziparchive/zip_writer.h b/vendor/libziparchive/include/ziparchive/zip_writer.h index 268e8b6..c85be2a 100644 --- a/vendor/libziparchive/include/ziparchive/zip_writer.h +++ b/vendor/libziparchive/include/ziparchive/zip_writer.h @@ -18,6 +18,7 @@ #include <cstdio> #include <ctime> +#include <cstdint> #include <gtest/gtest_prod.h> #include <memory> -- 2.52.0
