1
0
forked from pool/android-tools

74 Commits

Author SHA256 Message Date
732e13ca44 Accepting request 1223843 from hardware
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1223843
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/android-tools?expand=0&rev=22
2024-11-13 14:29:14 +00:00
d29eee870d - Exclude ppc ppc64 and ppc64le: Bundled boringssl doesn't support
the big endian architectures and dropped ppc64le support
- Simplify python3 requirements
- Simplify fix-install-completion.patch

OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=74
2024-11-09 05:18:46 +00:00
11c94a6378 Accepting request 1217137 from hardware
- Fix build for Leap 16.0
- Add 'Provides: bundled(...)' where appropriate
- Clean up spec file
- remove adb from bash-completion package for SLE15 because it is
  still part of bash-completion itself
- Use specific python versions for all SLE15 variants
- Require protobuf >= 21 until earlier variants are supported again

OBS-URL: https://build.opensuse.org/request/show/1217137
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/android-tools?expand=0&rev=21
2024-10-23 19:10:34 +00:00
298f81b8ad - Fix build for Leap 16.0
- Add 'Provides: bundled(...)' where appropriate
- Clean up spec file

OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=72
2024-10-22 12:55:54 +00:00
0e0ba04989 - remove adb from bash-completion package for SLE15 because it is
still part of bash-completion itself
- Use specific python versions for all SLE15 variants
- Require protobuf >= 21 until earlier variants are supported again

OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=71
2024-09-25 05:17:08 +00:00
51c1eee38f Accepting request 1199071 from hardware
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1199071
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/android-tools?expand=0&rev=20
2024-09-06 15:18:36 +00:00
18a0604855 Accepting request 1195836 from hardware
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1195836
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/android-tools?expand=0&rev=19
2024-08-25 10:10:41 +00:00
33dbfc5303 - Fix for Factory/TW: Add 'BuildRequires: pkgconfig(zlib)'
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=66
2024-08-17 12:33:41 +00:00
8ab2c99292 Accepting request 1185936 from hardware
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1185936
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/android-tools?expand=0&rev=18
2024-07-08 17:07:53 +00:00
d5c9783ebc - Use clang15 to fix build in SLE15
(SLE15 maps clang to clang7, Leap15 maps clang to clang15)

OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=64
2024-07-04 12:37:30 +00:00
a2bc86cd73 Accepting request 1170563 from hardware
OBS-URL: https://build.opensuse.org/request/show/1170563
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/android-tools?expand=0&rev=17
2024-04-28 19:51:11 +00:00
c618e29f8d Accepting request 1170562 from home:munix9
- Update to version 35.0.1
  * adb
    - Switch to libusb as the default on Linux issue #270205252.
    - Fix adb startup on hosts without USB.
    - Fix adb hangs caused by USB devices incorrectly reporting
      zero-length descriptors issue #302212871.
    - Fix return code of adb shell when device disconnects
      issue #321787891.

  * fastboot
    - Limit the maximum size of the incoming packet queue.
    - Remove bottlenecks that previously limited download speeds
      to around 120MB/s. Now fastboot can saturate a SuperSpeed+
      bus and achieve speeds up to 980MB/s, depending on the device.

OBS-URL: https://build.opensuse.org/request/show/1170562
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=62
2024-04-28 08:45:19 +00:00
4d1a6d9a1d Accepting request 1160544 from hardware
OBS-URL: https://build.opensuse.org/request/show/1160544
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/android-tools?expand=0&rev=16
2024-03-22 14:21:27 +00:00
3549ddab3f Accepting request 1160543 from home:munix9
- Update to version 34.0.5
  * adb
    - Previously, adb responded with a successful code when wireless
      pairing fails. Resolved this by returning a failure code (1) and
      user-facing error (error: protocol fault (couldn't read status
      message...)). echo $? now reports 1.
    - adb wait-for-disconnect is now operational for non-USB
      (wireless debugging).
    - Added new DbC interface for future support of ChromeOS over adb.

  * fastboot
    - Fixed flashall on Pixel 3 devices.

- Remove fix-add-make_f2fs-tool-for-fastboot.patch and
  fix-add-sload_f2fs-tool.patch (merged upstream)

OBS-URL: https://build.opensuse.org/request/show/1160543
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=60
2024-03-22 06:56:33 +00:00
35be86fc37 Accepting request 1158477 from hardware
- Use custom %python3_fix_shebang_path macro for Leap
- Add upstream patch fix-add-sload_f2fs-tool.patch
  (gh#nmeum/android-tools#127) for the missing tool sload_f2fs
- Rework python3 dependencies (use %python3_fix_shebang for
  Factory)

OBS-URL: https://build.opensuse.org/request/show/1158477
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/android-tools?expand=0&rev=15
2024-03-17 21:14:52 +00:00
110f4f71d0 Accepting request 1158474 from home:munix9
- Use custom %python3_fix_shebang_path macro for Leap

OBS-URL: https://build.opensuse.org/request/show/1158474
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=58
2024-03-16 13:05:24 +00:00
9bb0a81504 Accepting request 1158451 from home:munix9
- Add upstream patch fix-add-sload_f2fs-tool.patch
  (gh#nmeum/android-tools#127) for the missing tool sload_f2fs
- Rework python3 dependencies (use %python3_fix_shebang for
  Factory)

OBS-URL: https://build.opensuse.org/request/show/1158451
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=57
2024-03-16 10:48:36 +00:00
7463448d80 Accepting request 1114525 from hardware
OBS-URL: https://build.opensuse.org/request/show/1114525
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/android-tools?expand=0&rev=14
2023-10-02 18:06:07 +00:00
8cf18ac2c1 Accepting request 1114524 from home:munix9
- Add upstream patch fix-add-make_f2fs-tool-for-fastboot.patch
  (gh#nmeum/android-tools#109)
- Remove the requirement for f2fs-tools

OBS-URL: https://build.opensuse.org/request/show/1114524
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=55
2023-09-30 09:33:16 +00:00
ffa871257e Accepting request 1109144 from hardware
OBS-URL: https://build.opensuse.org/request/show/1109144
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/android-tools?expand=0&rev=13
2023-09-06 16:58:21 +00:00
879c3cdfc2 Accepting request 1109143 from home:munix9
- Update to version 34.0.4
  * adb
    - Propagate -a (gListenAll) when adb forks an adb host server
      (previously, the flag only worked for adb -a server nodaemon)
    - Faster root and unroot
    - Reland Flag(env) guarding clear endpoint (device) feature
      for OSX usb start. (issue #270205252).

  * fastboot
    - Mac: remove retries on invalid IO iterator (flashing failure
      with LIBUSB_TRANSFER_CANCELLED)
    - Windows: fix "Sparse file is too large or invalid" when using
      "flashall"
    - All platforms: fix "ANDROID_PRODUCT_OUT not set" when using
      "update"

- Remove the files vendor.tar.gz and _service and strip
  "-mod=vendor" from GOFLAGS env var (currently superfluous)
- Remove protobuf version requirement

OBS-URL: https://build.opensuse.org/request/show/1109143
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=53
2023-09-05 20:20:52 +00:00
8f9110209b Accepting request 1100932 from home:olh:branches:hardware
- Use specific python versions for 15.4 and 15.5,
  otherwise stick with plain python3
- Remove Requires for a specific python version, the interpreter
  already creates a matching Requires

OBS-URL: https://build.opensuse.org/request/show/1100932
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=52
2023-09-05 20:07:20 +00:00
664b05962d Accepting request 1096825 from hardware
OBS-URL: https://build.opensuse.org/request/show/1096825
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/android-tools?expand=0&rev=12
2023-07-05 13:30:56 +00:00
01f3b8af2d Accepting request 1096824 from home:munix9
- Fix for Factory/TW: Use protobuf < 22.5
- Add f2fs-tools as a requirement: Required for 'fastboot format:f2fs ...'
  (link /usr/bin/make_f2fs to /usr/sbin/mkfs.f2fs)

OBS-URL: https://build.opensuse.org/request/show/1096824
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=50
2023-07-04 14:02:37 +00:00
ccb5a22569 Accepting request 1088115 from hardware
OBS-URL: https://build.opensuse.org/request/show/1088115
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/android-tools?expand=0&rev=11
2023-05-21 17:08:58 +00:00
e7868b7af2 Accepting request 1088114 from home:munix9
- Update to version 34.0.1
  * Upgrade to platform-tools-34.0.1 (see #111)

OBS-URL: https://build.opensuse.org/request/show/1088114
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=48
2023-05-21 07:59:42 +00:00
36831dbef1 Accepting request 1069449 from hardware
OBS-URL: https://build.opensuse.org/request/show/1069449
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/android-tools?expand=0&rev=10
2023-03-05 19:08:10 +00:00
c770c78507 Accepting request 1069446 from home:munix9
- Update to version 34.0.0
  * Upgrade to platform-tools-34.0.0 (see #106)

  * adb
    - Fixed zero length packet sends for macOS
      (issuetracker: 208675141).
    - Addressed unstable connectivity (MacBook high speed cable):
      frequent adb disconnects.
    - Improved error message for adb push with insufficient number
      of arguments.

  * fastboot
    - Improved flashing: flashall will now skip reboots to
      userspace if it can.
    - Fixed zero length packet sends for macOS
      (issuetracker: 208675141).
    - Fixed flashing recovery.img resulting in wrong AVB footer.

OBS-URL: https://build.opensuse.org/request/show/1069446
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=46
2023-03-05 08:52:23 +00:00
92a5e75c15 Accepting request 1043917 from hardware
OBS-URL: https://build.opensuse.org/request/show/1043917
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/android-tools?expand=0&rev=9
2022-12-20 19:21:12 +00:00
431a4f11a2 Accepting request 1042767 from home:munix9
- Update to version 33.0.3p2
  * Actually update submodules to 33.0.3 (see #100)
  * Initial support for MacOS (see #95 and #97)

OBS-URL: https://build.opensuse.org/request/show/1042767
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=44
2022-12-20 13:23:49 +00:00
11f75e79bc Accepting request 1034389 from hardware
OBS-URL: https://build.opensuse.org/request/show/1034389
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/android-tools?expand=0&rev=8
2022-11-08 09:54:59 +00:00
Petr Vorel
d7c0c56b65 Accepting request 1034382 from home:munix9
- Update to version 33.0.3p1
* Fixed mkbootimg (see #78)
* Added avbtool (see #79)
* Fix for compatibility with Linux >= 6.0 (see #74)
* Removal of several obsolete patches

- Remove fix-mkbootimg-gki-path.patch (fixed upstream)
- Remove fix-lpmake-help-segfault.patch (fixed upstream)

OBS-URL: https://build.opensuse.org/request/show/1034382
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=42
2022-11-07 22:55:13 +00:00
a9e9e1f0d9 Accepting request 1011274 from hardware
OBS-URL: https://build.opensuse.org/request/show/1011274
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/android-tools?expand=0&rev=7
2022-10-17 12:57:53 +00:00
Petr Vorel
52a260bd78 Accepting request 1011250 from home:AndreasSchwab:f
- Use python3.10 for 15.4

OBS-URL: https://build.opensuse.org/request/show/1011250
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=40
2022-10-16 19:25:16 +00:00
31f252140a Accepting request 1010605 from hardware
OBS-URL: https://build.opensuse.org/request/show/1010605
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/android-tools?expand=0&rev=6
2022-10-14 13:42:39 +00:00
Petr Vorel
50b297fc9d Accepting request 1010568 from home:munix9
- Switch to clang/llvm because of build errors with gcc12 and the
  new 6.0 kernel headers (recent gcc env for Leap still required)

OBS-URL: https://build.opensuse.org/request/show/1010568
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=38
2022-10-14 07:22:01 +00:00
e3029433ae Accepting request 1006123 from hardware
OBS-URL: https://build.opensuse.org/request/show/1006123
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/android-tools?expand=0&rev=5
2022-09-26 16:48:42 +00:00
Markus S
4f02015321 Accepting request 1005819 from home:munix9
- Update to version 33.0.3
  * Upgrade to platform-tools-33.0.3 (see #65).

- Update to version 31.0.3p2
  * Added e2fsdroid and ext2simg (#36)
  * Fixed build with GCC 12 (#60 and #61)
  * Bumped minimum required CMake version to 3.12 (#67)

- Add man-pages.tar.gz
- Add fix-mkbootimg-gki-path.patch
- Add fix-lpmake-help-segfault.patch
- Remove fix-add-e2fsprogs-contrib.patch (added upstream)
- Remove fix-add-functional-include.patch (fixed upstream)

OBS-URL: https://build.opensuse.org/request/show/1005819
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=36
2022-09-26 14:10:26 +00:00
77b1bb9bbf Accepting request 985222 from hardware
OBS-URL: https://build.opensuse.org/request/show/985222
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/android-tools?expand=0&rev=4
2022-06-27 09:25:45 +00:00
Lars Vogdt
241bdb3c0a Accepting request 985129 from home:azouhr:branches:hardware
Package can not build on s390x

OBS-URL: https://build.opensuse.org/request/show/985129
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=34
2022-06-27 06:15:52 +00:00
a952619898 Accepting request 982013 from hardware
OBS-URL: https://build.opensuse.org/request/show/982013
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/android-tools?expand=0&rev=3
2022-06-10 13:57:46 +00:00
Petr Vorel
c78fd178fe Accepting request 981971 from home:munix9:branches:hardware
- Add fix-add-functional-include.patch (fix gcc 12 build)
- Remove fix-pie-build.patch (obsolete)

OBS-URL: https://build.opensuse.org/request/show/981971
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=32
2022-06-10 08:32:24 +00:00
Petr Vorel
108e30feae Accepting request 944054 from home:munix9
- Update to version 31.0.3p1
  * Fixes boringssl build failure with GCC 11.2.1 (e86eabe)
  * Add boot.img manipulation tools (#52)
  * Add Dynamic Partition Tools (#51)

- Split parts of the main package into 'mkbootimg' and 'partition'
- Remove sub-package 'python3' (avbtool is now part of the main
  package, mkbootimg part of the sub-package 'mkbootimg')
- Remove fix-install-python-tools.patch

OBS-URL: https://build.opensuse.org/request/show/944054
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=31
2022-01-05 20:48:16 +00:00
ce1e3a8ff9 Accepting request 927600 from hardware
OBS-URL: https://build.opensuse.org/request/show/927600
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/android-tools?expand=0&rev=2
2021-10-27 20:21:05 +00:00
Markus S
f9c04d4b73 Accepting request 927224 from home:munix9
- Update to version 31.0.3
  * fastboot
    - Support flashing vbmeta_vendor.img for fastboot flashall / update.

  * aftltool removed upstream

OBS-URL: https://build.opensuse.org/request/show/927224
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=30
2021-10-26 20:47:38 +00:00
29ee0397c3 Accepting request 910119 from hardware
We finally agreed on the name and use of this git repository with @namtrac and @dimstar.

OBS-URL: https://build.opensuse.org/request/show/910119
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/android-tools?expand=0&rev=1
2021-08-04 20:28:57 +00:00
Petr Vorel
5928de6c54 Accepting request 910118 from home:pevik:branches:hardware
- Fix Supplements: supplement against bash-completion, not bash. otherwise
  bash-completion is now pulled in for everybody. Reported by dimstar.

OBS-URL: https://build.opensuse.org/request/show/910118
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=28
2021-08-04 11:03:18 +00:00
Petr Vorel
d712c87064 Accepting request 910113 from hardware
Revert rename

OBS-URL: https://build.opensuse.org/request/show/910113
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=27
2021-08-04 10:34:59 +00:00
Markus S
0b0d3d1e08 OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=26 2021-07-26 20:24:30 +00:00
Markus S
75f11c602e OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=25 2021-07-26 20:24:23 +00:00
Markus S
22d6d3931c OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=24 2021-07-26 20:23:11 +00:00
Markus S
ebcbd3554a OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=23 2021-07-26 20:21:57 +00:00
Markus S
04bbb3cbc5 OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=22 2021-07-26 20:20:43 +00:00
Markus S
abcdca5aaa OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=21 2021-07-26 20:01:27 +00:00
Markus S
d3497cd431 Accepting request 908441 from home:Yav:branches:hardware
Rename "android-tools" to "android-platform-tools" as per https://build.opensuse.org/request/show/908079

OBS-URL: https://build.opensuse.org/request/show/908441
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=20
2021-07-26 19:59:42 +00:00
Markus S
a23e1cc281 Accepting request 907310 from home:munix9
- Update to version 31.0.2 [boo#1185883]
  * adb
    - Support forwarding to vsock on linux.
    - Fix bug in adb track-devices where devices over wireless
      debugging wouldn't immediately receive updates.
    - Implement preliminary support for mDNS device discovery
      without a separately installed mDNS service. This is
      currently disabled by default, and can be enabled by
      setting the environment variable ADB_MDNS_OPENSCREEN to 1
      when starting the adb server.
  * fastboot
    - Don't fail when unable to get boot partition size.
    - Derive device locked state from property instead of parsing
      the kernel command line.
- Switch source to https://github.com/nmeum/android-tools
- Add fix-add-e2fsprogs-contrib.patch
- Add fix-install-completion.patch
- Add fix-install-python-tools.patch
- Add fix-pie-build.patch
- Add vendor.tar.gz ("go_modules" service)
- Remove adb.bash and fastboot.bash (now included in archive)
- Remove fix_build_core.patch
- Remove fix_build_e2fsprogs.patch
- Remove fix-include-limits.patch
- Remove generate_build.rb
- Clean up/rework spec file

OBS-URL: https://build.opensuse.org/request/show/907310
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=19
2021-07-20 16:00:40 +00:00
Markus S
f85bf3dafb Accepting request 896751 from home:munix9
- Update to android-security-9.0.0_r68
- Add fix-include-limits.patch

OBS-URL: https://build.opensuse.org/request/show/896751
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=18
2021-06-03 20:21:04 +00:00
Markus S
3a930c7ceb Accepting request 888488 from home:munix9:branches:hardware
- Fix build for Leap (use pcre2-devel instead of
  pkgconfig(libpcre))

OBS-URL: https://build.opensuse.org/request/show/888488
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=17
2021-04-26 17:15:39 +00:00
Petr Vorel
0633443250 Accepting request 888317 from home:munix9
- Update to android-security-9.0.0_r67
- Add man pages (via help2man) and bash completion for
  adb and fastboot
- Clean up spec file

OBS-URL: https://build.opensuse.org/request/show/888317
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=16
2021-04-26 12:11:34 +00:00
Petr Vorel
47b79ba5d5 Accepting request 876409 from home:munix9
- Update to android-security-9.0.0_r66

OBS-URL: https://build.opensuse.org/request/show/876409
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=15
2021-03-03 21:23:41 +00:00
Markus S
0c0a952d6e Accepting request 869622 from home:munix9
- Update to android-security-9.0.0_r65
- Update to android-security-9.0.0_r64
- Update to android-security-9.0.0_r63

OBS-URL: https://build.opensuse.org/request/show/869622
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=14
2021-02-05 17:11:24 +00:00
Markus S
63f766f926 Accepting request 851066 from home:munix9
- Update to android-security-9.0.0_r62
- Update to android-9.0.0_r61
- Update to android-9.0.0_r60

OBS-URL: https://build.opensuse.org/request/show/851066
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=13
2020-11-26 20:02:46 +00:00
db381ccf4e Accepting request 823477 from home:munix9
- Update to android-9.0.0_r58

OBS-URL: https://build.opensuse.org/request/show/823477
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=12
2020-07-31 04:47:55 +00:00
Markus S
bccd081a0a Accepting request 765549 from home:KAMiKAZOW
- Update to android-9.0.0_r52

OBS-URL: https://build.opensuse.org/request/show/765549
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=11
2020-01-19 09:18:03 +00:00
Markus S
d73664eacc Accepting request 750504 from home:KAMiKAZOW
Update to 9.0.0_r50

OBS-URL: https://build.opensuse.org/request/show/750504
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=10
2019-11-24 10:24:42 +00:00
2e53e8a198 Accepting request 746771 from home:munix9
- moved udev-rules into new package 'android-udev-rules'
- some spec clean up
- depends on https://build.opensuse.org/request/show/746770

OBS-URL: https://build.opensuse.org/request/show/746771
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=9
2019-11-14 15:43:10 +00:00
Markus S
cd6ee4e580 Accepting request 742978 from home:KAMiKAZOW
Update to android-9.0.0_r49

OBS-URL: https://build.opensuse.org/request/show/742978
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=8
2019-10-25 16:48:52 +00:00
Markus S
597b2ab572 Accepting request 737624 from home:munix9
hack: fix for glibc >= 2.30
should now also build on leap (tested on 15.1 with boringssl from security:tls)
(but currently it remains a hack)

OBS-URL: https://build.opensuse.org/request/show/737624
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=7
2019-10-13 12:39:05 +00:00
Markus S
264e8dee41 Accepting request 734686 from home:KAMiKAZOW
- Update to android-9.0.0_r48
- added hack: fix for glibc >= 2.30 [by Paolo Panto (munix9)]

OBS-URL: https://build.opensuse.org/request/show/734686
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=6
2019-10-02 23:14:54 +00:00
Markus S
fb011312d0 OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=5 2019-08-25 01:24:26 +00:00
Markus S
ef6e769fd7 Accepting request 725872 from home:KAMiKAZOW
Update to 9.0.0_r47

OBS-URL: https://build.opensuse.org/request/show/725872
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=4
2019-08-25 01:23:40 +00:00
Markus S
d99a85f822 Accepting request 715546 from home:KAMiKAZOW
- Update to android-9.0.0_r45
- Fix build failure

OBS-URL: https://build.opensuse.org/request/show/715546
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=3
2019-07-15 21:56:15 +00:00
Markus S
eafd86effb Accepting request 711384 from home:KAMiKAZOW
- Update to android-9.0.0_r42
- Put udev rules in _service as well

OBS-URL: https://build.opensuse.org/request/show/711384
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=2
2019-06-21 19:09:44 +00:00
3d7905e20c Accepting request 706519 from home:KAMiKAZOW
Resubmission of android-tools

- Latest release (9.0.0_r39)
- Builds under TW
- Use Python3 for avbtool and mkbootimg.

OBS-URL: https://build.opensuse.org/request/show/706519
OBS-URL: https://build.opensuse.org/package/show/hardware/android-tools?expand=0&rev=1
2019-06-18 22:36:59 +00:00
5 changed files with 74 additions and 108 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:654030c7f96d25d7224cd6861fac14a043cf1d3980f40288cdfbe219f94ffaf9
size 21460424

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Tue Nov 5 05:16:45 UTC 2024 - munix9@googlemail.com
- Exclude ppc ppc64 and ppc64le: Bundled boringssl doesn't support
the big endian architectures and dropped ppc64le support
- Simplify python3 requirements
- Simplify fix-install-completion.patch
-------------------------------------------------------------------
Sun Oct 20 11:48:59 UTC 2024 - munix9@googlemail.com
- Fix build for Leap 16.0
- Add 'Provides: bundled(...)' where appropriate
- Clean up spec file
-------------------------------------------------------------------
Sun Sep 22 22:22:22 UTC 2024 - olaf@aepfle.de
- remove adb from bash-completion package for SLE15 because it is
still part of bash-completion itself
- Use specific python versions for all SLE15 variants
- Require protobuf >= 21 until earlier variants are supported again
-------------------------------------------------------------------
Thu Aug 29 19:00:08 UTC 2024 - munix9@googlemail.com

View File

@@ -16,20 +16,14 @@
#
%define _pyver 3
%if 0%{?sle_version} == 150500 || 0%{?sle_version} == 150600
%define _pyver 311
%if 0%{?suse_version} <= 1600
%bcond_without bundled_libfmt
%else
%bcond_with bundled_libfmt
%endif
%if 0%{?sle_version} == 150400
%define _pyver 310
%endif
%if 0%{?suse_version} < 1600
%define use_bundled_libfmt 1
%endif
# currently libusb with support for SuperSpeed+ is required,
# currently libusb with support for SuperSpeedPlus is required,
# which is not yet released, so the one bundled is used.
%define use_bundled_libusb 1
%bcond_without bundled_libusb
Name: android-tools
Version: 35.0.2
@@ -45,34 +39,39 @@ BuildRequires: go
BuildRequires: llvm-gold
BuildRequires: ninja
BuildRequires: pkgconfig
BuildRequires: python%{_pyver}
BuildRequires: pkgconfig(gtest)
BuildRequires: pkgconfig(libbrotlicommon)
BuildRequires: pkgconfig(liblz4)
BuildRequires: pkgconfig(libpcre2-8)
BuildRequires: pkgconfig(libunwind-generic)
BuildRequires: pkgconfig(libzstd)
BuildRequires: pkgconfig(protobuf)
BuildRequires: pkgconfig(protobuf) >= 21
BuildRequires: pkgconfig(zlib)
Requires: android-udev-rules
Suggests: %{name}-mkbootimg = %{version}
Suggests: %{name}-partition = %{version}
Provides: %{name}-python3 = %{version}-%{release}
Obsoletes: %{name}-python3 < %{version}-%{release}
ExcludeArch: s390x
Provides: bundled(boringssl)
ExcludeArch: ppc ppc64 ppc64le s390x
%if 0%{?suse_version} < 1600
BuildRequires: clang15
BuildRequires: gcc11-c++
BuildRequires: python311
%else
BuildRequires: clang
BuildRequires: python3
%endif
%if %{undefined use_bundled_libfmt}
%if %{with bundled_libfmt}
Provides: bundled(fmt) = 10.2.0
%else
BuildRequires: pkgconfig(fmt) >= 10.2.0
%endif
%if %{undefined use_bundled_libusb}
BuildRequires: pkgconfig(libusb-1.0)
%else
%if %{with bundled_libusb}
BuildRequires: pkgconfig(libudev)
Provides: bundled(libusb-1_0)
%else
BuildRequires: pkgconfig(libusb-1.0)
%endif
%description
@@ -111,26 +110,23 @@ Bash command line completion support for android-tools.
%define __builder ninja
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-buildid="
%if 0%{?suse_version} < 1600
CMAKE_C_COMPILER=clang-15
CMAKE_CXX_COMPILER=clang++-15
%else
CMAKE_C_COMPILER=clang
CMAKE_CXX_COMPILER=clang++
%endif
%cmake \
-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} \
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} \
%if %{defined use_bundled_libfmt}
-DANDROID_TOOLS_USE_BUNDLED_FMT=ON \
%endif
%if %{defined use_bundled_libusb}
-DANDROID_TOOLS_USE_BUNDLED_LIBUSB=ON \
-DANDROID_TOOLS_LIBUSB_ENABLE_UDEV=ON \
%if 0%{?suse_version} < 1600
-DCMAKE_C_COMPILER=clang-15 \
-DCMAKE_CXX_COMPILER=clang++-15 \
%else
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER=clang++ \
%endif
%ifarch %{ix86}
-DOPENSSL_NO_ASM=ON \
%endif
%if %{with bundled_libfmt}
-DANDROID_TOOLS_USE_BUNDLED_FMT=ON \
%endif
%if %{with bundled_libusb}
-DANDROID_TOOLS_USE_BUNDLED_LIBUSB=ON \
-DANDROID_TOOLS_LIBUSB_ENABLE_UDEV=ON \
%endif
-DBUILD_SHARED_LIBS=OFF
@@ -145,12 +141,12 @@ ln -sf %{_datadir}/%{name}/mkbootimg/mkbootimg.py %{buildroot}%{_bindir}/mkbooti
# fix non-executable-script
chmod 0755 %{buildroot}%{_datadir}/%{name}/mkbootimg/gki/generate_gki_certificate.py
# fix env-script-interpreter (Leap requires special handling)
# fix env-script-interpreter (Leap < 16.0 requires special handling)
%if 0%{?suse_version} < 1600
%define python3_fix_shebang_path(+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-=) \
myargs="%{**}" \
for f in ${myargs}; do \
[ -f $f ] && sed -i "1s@#\\!.*python.*@#\\!$(realpath %{expand:%{__python%{_pyver}}})@" $f \
[ -f $f ] && sed -i "1s@#\\!.*python.*@#\\!$(realpath %{__python311})@" $f \
done
%endif
%python3_fix_shebang_path %{buildroot}%{_bindir}/*
@@ -195,7 +191,11 @@ mkbootimg --help
%{_bindir}/lp{add,dump,flash,make,unpack}
%files bash-completion
%if 0%{?suse_version} < 1600
%exclude %{_datadir}/bash-completion/completions/adb
%else
%{_datadir}/bash-completion/completions/adb
%endif
%{_datadir}/bash-completion/completions/fastboot
%changelog

View File

@@ -14,79 +14,28 @@ diff -ruN a/CMakeLists.txt b/CMakeLists.txt
diff -ruN a/vendor/adb/adb.bash b/vendor/adb/adb.bash
--- a/vendor/adb/adb.bash
+++ b/vendor/adb/adb.bash
@@ -16,11 +16,11 @@
@@ -15,6 +15,10 @@
# limitations under the License.
#
+check_type() {
+ type -t "$1"
+}
+
_adb() {
- if ! check_type "$1" >/dev/null; then
+ if ! type -t "$1" >/dev/null; then
if ! check_type "$1" >/dev/null; then
return
fi
- if check_type _init_completion >/dev/null; then
+ if type -t _init_completion >/dev/null; then
_init_completion || return
fi
@@ -455,7 +455,7 @@
fi
# Since we're probably doing file completion here, don't add a space after.
- if [[ $(check_type compopt) == "builtin" ]]; then
+ if [[ $(type -t compopt) == "builtin" ]]; then
compopt -o nospace
fi
@@ -471,7 +471,7 @@
xspec=$2
# Since we're probably doing file completion here, don't add a space after.
- if [[ $(check_type compopt) == "builtin" ]]; then
+ if [[ $(type -t compopt) == "builtin" ]]; then
compopt -o plusdirs
if [[ "${xspec}" == "" ]]; then
COMPREPLY=( ${COMPREPLY[@]:-} $(compgen -f -- "${cur}") )
@@ -512,7 +512,7 @@
}
-if [[ $(check_type compopt) == "builtin" ]]; then
+if [[ $(type -t compopt) == "builtin" ]]; then
complete -F _adb adb
else
complete -o nospace -F _adb adb
diff -ruN a/vendor/core/fastboot/fastboot.bash b/vendor/core/fastboot/fastboot.bash
--- a/vendor/core/fastboot/fastboot.bash
+++ b/vendor/core/fastboot/fastboot.bash
@@ -16,11 +16,11 @@
@@ -15,6 +15,10 @@
# limitations under the License.
#
+check_type() {
+ type -t "$1"
+}
+
_fastboot() {
- if ! check_type "$1" >/dev/null; then
+ if ! type -t "$1" >/dev/null; then
if ! check_type "$1" >/dev/null; then
return
fi
- if check_type _init_completion >/dev/null; then
+ if type -t _init_completion >/dev/null; then
_init_completion || return
fi
@@ -135,7 +135,7 @@
xspec=$2
# Since we're probably doing file completion here, don't add a space after.
- if [[ $(check_type compopt) == "builtin" ]]; then
+ if [[ $(type -t compopt) == "builtin" ]]; then
compopt -o plusdirs
if [[ "${xspec}" == "" ]]; then
COMPREPLY=( ${COMPREPLY[@]:-} $(compgen -f -- "${cur}") )
@@ -175,7 +175,7 @@
fi
}
-if [[ $(check_type compopt) == "builtin" ]]; then
+if [[ $(type -t compopt) == "builtin" ]]; then
complete -F _fastboot fastboot
else
complete -o nospace -F _fastboot fastboot

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:517b280b86a375e1abac49200ca1b2aa1d4b3ec76534fa5be54173a3d347fc69
size 9533