Accepting request 962359 from home:munix9
- Update to version 1.23: * Bump version to 1.23 * Add missing include for vector * Add contact links to the README * Add Bash completion script * Add ZSH completion script * Move "Device unauthorized" in FAQ * Update FAQ to match the latest version * Remove spurious empty line * Mention adb wireless option for Android 11+ * Make step more explicit in wireless section * Add troubleshooting in wireless section * Improve phrasing in wireless section * Renumber steps in wireless section * Add an explicit first step in wireless section * Update HID/OTG features in README * Reorder --tcpip option in cli * Also retry on IllegalArgumentException * Increase `adb devices -l` max output size * Use vector for listing ADB devices * Use vector for listing USB devices * Add sc_vector * Move data/ to app/ * Disable USB features for win32 * Forbid HID input without OTG on Windows * Kill adb daemon in OTG mode on Windows * Make intr optional for adb commands * Remove obsolete text in error message * Build for Windows with libusb support * Fix libusb callback for Windows * Avoid PRIx16 printf format on Windows * Remove USB hotplug callback error log * Report USB device disconnection when detected * Work around mouse capture SDL bug on macOS * Pass screen instance to mouse capture functions * Remove "linux-only" mentions for HID/OTG features * Build on macOS with libusb support * Fix typo * Remove useless '\n' in log * Remove fprintf() in tests * Add --print-fps to enable FPS counter on start * Move FPS counter start/stop logs * Update FAQ about Windows scaling behavior * Use sc_prefix for fps counter * Fix links in German README * Enforce deadline reached on timeout * Fix fps_counter tick type * Add German translation of README.md * Add --no-cleanup option * Fix order of options * Add compilation flag for USB features * Add compilation flag for V4L2 feature * Fix double adb tunnel closing * Rename buffer util functions with sc_ prefix * Rename HEADER_SIZE to SC_PACKET_HEADER_SIZE * Remove unused BUFSIZE * Remove sc_demuxer_parse() * Pass key frame flag from the device * Store packet flags in PTS most significant bits * Indent ifdef for clarity * Improve error message for unsupported usb hotplug * Do not duplicate relative mouse mode state * Fix USB device leak on connection error * Move prebuilt-deps/ to app/ * Reorder release.mk recipes * Pass --buildtype=release as a single meson arg * Print libusb version on --version * Print both compiled and linked versions of libs * Move version handling to a separate file * Log device opening errors during listing * Mention --select-usb and --select-tcpip in README * Add option to select USB or TCP/IP devices * Introduce adb device selector * Execute adb start-server * Remove sc_adb_get_serialno() * Allow selecting a device from IP without port * Expose simple API to select a single adb device * Expose function to test if a serial is TCP/IP * Add adb devices parser * Refactor device configuration * List and select USB devices separately * Expose simple API to select a single USB device * Add move-function for sc_usb_device * Move SC_PRIsizet to compat.h * Rename function to destroy a list of USB devices * Add generic LOG() macro with level parameter * Remove LOGC() * Improve USB device open log * Inline USB device opening * Remove log_libusb_error() * Remove confusing sc_str_truncate() * Fix adb connect parsing * Fix adb get-serialno parsing * Fix adb getprop parsing * Fix adb device ip parsing * Store actual serial in sc_server * Simplify switch to TCPIP function * Build adb argv statically * Expose adb executable path publicly * Rename adb_command to adb_executable * Assert non-NULL serial * Assert "adb disconnect" is called with an argument * Remove useless undef * Remove screensaver log * Remove platform-tools installation suggestion * Use sc_ prefix for adb * Move ADB code to adb/ * Simplify demuxer * Rename stream to sc_demuxer * Use sc_ prefix for recorder * Use sc_ prefix for decoder * Add missing spaces in help * Downscale and retry also on early MediaCodec error * Fix include for standard library header * Add warning in function documentation * Fix sc_str_truncate() documentation * Fix comment typo * Update FAQ.zh-Hans.md to v1.22 * Update README.zh-Hans.md to v1.22 * Update links to v1.22 OBS-URL: https://build.opensuse.org/request/show/962359 OBS-URL: https://build.opensuse.org/package/show/hardware/scrcpy?expand=0&rev=75
This commit is contained in:
parent
63ef138d08
commit
9b6f96f665
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -22,4 +22,4 @@
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
## Specific LFS patterns
|
||||
scrcpy-server-v1.21 filter=lfs diff=lfs merge=lfs -text
|
||||
scrcpy-server-v1.23 filter=lfs diff=lfs merge=lfs -text
|
||||
|
2
_service
2
_service
@ -5,7 +5,7 @@
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="revision">v1.21</param>
|
||||
<param name="revision">v1.23</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/Genymobile/scrcpy.git</param>
|
||||
<param name="changesrevision">003e7381064f2c0e8ce1095d1a65522fab4e118b</param></service></servicedata>
|
||||
<param name="changesrevision">7deccef1c2f609870fae00a3a1eb11d0eb2a28a5</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c41dbc69a6711665f501f613fe815939915f10108c45dd9c7d549c6b96e2f0fd
|
||||
size 305636
|
3
scrcpy-1.23.tar.xz
Normal file
3
scrcpy-1.23.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:65b498206fcaa0a4b3d49934b982298b3020a0e3f0f211b5974142ef6b15ed0e
|
||||
size 348228
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dbcccab523ee26796e55ea33652649e4b7af498edae9aa75e4d4d7869c0ab848
|
||||
size 40067
|
3
scrcpy-server-v1.23
Normal file
3
scrcpy-server-v1.23
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2a913fd47478c0b306fca507cb0beb625e49a19ff9fc7ab904e36ef5b9fe7e68
|
||||
size 41123
|
124
scrcpy.changes
124
scrcpy.changes
@ -1,3 +1,127 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 17 08:59:49 UTC 2022 - munix9@googlemail.com
|
||||
|
||||
- Update to version 1.23:
|
||||
* Bump version to 1.23
|
||||
* Add missing include for vector
|
||||
* Add contact links to the README
|
||||
* Add Bash completion script
|
||||
* Add ZSH completion script
|
||||
* Move "Device unauthorized" in FAQ
|
||||
* Update FAQ to match the latest version
|
||||
* Remove spurious empty line
|
||||
* Mention adb wireless option for Android 11+
|
||||
* Make step more explicit in wireless section
|
||||
* Add troubleshooting in wireless section
|
||||
* Improve phrasing in wireless section
|
||||
* Renumber steps in wireless section
|
||||
* Add an explicit first step in wireless section
|
||||
* Update HID/OTG features in README
|
||||
* Reorder --tcpip option in cli
|
||||
* Also retry on IllegalArgumentException
|
||||
* Increase `adb devices -l` max output size
|
||||
* Use vector for listing ADB devices
|
||||
* Use vector for listing USB devices
|
||||
* Add sc_vector
|
||||
* Move data/ to app/
|
||||
* Disable USB features for win32
|
||||
* Forbid HID input without OTG on Windows
|
||||
* Kill adb daemon in OTG mode on Windows
|
||||
* Make intr optional for adb commands
|
||||
* Remove obsolete text in error message
|
||||
* Build for Windows with libusb support
|
||||
* Fix libusb callback for Windows
|
||||
* Avoid PRIx16 printf format on Windows
|
||||
* Remove USB hotplug callback error log
|
||||
* Report USB device disconnection when detected
|
||||
* Work around mouse capture SDL bug on macOS
|
||||
* Pass screen instance to mouse capture functions
|
||||
* Remove "linux-only" mentions for HID/OTG features
|
||||
* Build on macOS with libusb support
|
||||
* Fix typo
|
||||
* Remove useless '\n' in log
|
||||
* Remove fprintf() in tests
|
||||
* Add --print-fps to enable FPS counter on start
|
||||
* Move FPS counter start/stop logs
|
||||
* Update FAQ about Windows scaling behavior
|
||||
* Use sc_prefix for fps counter
|
||||
* Fix links in German README
|
||||
* Enforce deadline reached on timeout
|
||||
* Fix fps_counter tick type
|
||||
* Add German translation of README.md
|
||||
* Add --no-cleanup option
|
||||
* Fix order of options
|
||||
* Add compilation flag for USB features
|
||||
* Add compilation flag for V4L2 feature
|
||||
* Fix double adb tunnel closing
|
||||
* Rename buffer util functions with sc_ prefix
|
||||
* Rename HEADER_SIZE to SC_PACKET_HEADER_SIZE
|
||||
* Remove unused BUFSIZE
|
||||
* Remove sc_demuxer_parse()
|
||||
* Pass key frame flag from the device
|
||||
* Store packet flags in PTS most significant bits
|
||||
* Indent ifdef for clarity
|
||||
* Improve error message for unsupported usb hotplug
|
||||
* Do not duplicate relative mouse mode state
|
||||
* Fix USB device leak on connection error
|
||||
* Move prebuilt-deps/ to app/
|
||||
* Reorder release.mk recipes
|
||||
* Pass --buildtype=release as a single meson arg
|
||||
* Print libusb version on --version
|
||||
* Print both compiled and linked versions of libs
|
||||
* Move version handling to a separate file
|
||||
* Log device opening errors during listing
|
||||
* Mention --select-usb and --select-tcpip in README
|
||||
* Add option to select USB or TCP/IP devices
|
||||
* Introduce adb device selector
|
||||
* Execute adb start-server
|
||||
* Remove sc_adb_get_serialno()
|
||||
* Allow selecting a device from IP without port
|
||||
* Expose simple API to select a single adb device
|
||||
* Expose function to test if a serial is TCP/IP
|
||||
* Add adb devices parser
|
||||
* Refactor device configuration
|
||||
* List and select USB devices separately
|
||||
* Expose simple API to select a single USB device
|
||||
* Add move-function for sc_usb_device
|
||||
* Move SC_PRIsizet to compat.h
|
||||
* Rename function to destroy a list of USB devices
|
||||
* Add generic LOG() macro with level parameter
|
||||
* Remove LOGC()
|
||||
* Improve USB device open log
|
||||
* Inline USB device opening
|
||||
* Remove log_libusb_error()
|
||||
* Remove confusing sc_str_truncate()
|
||||
* Fix adb connect parsing
|
||||
* Fix adb get-serialno parsing
|
||||
* Fix adb getprop parsing
|
||||
* Fix adb device ip parsing
|
||||
* Store actual serial in sc_server
|
||||
* Simplify switch to TCPIP function
|
||||
* Build adb argv statically
|
||||
* Expose adb executable path publicly
|
||||
* Rename adb_command to adb_executable
|
||||
* Assert non-NULL serial
|
||||
* Assert "adb disconnect" is called with an argument
|
||||
* Remove useless undef
|
||||
* Remove screensaver log
|
||||
* Remove platform-tools installation suggestion
|
||||
* Use sc_ prefix for adb
|
||||
* Move ADB code to adb/
|
||||
* Simplify demuxer
|
||||
* Rename stream to sc_demuxer
|
||||
* Use sc_ prefix for recorder
|
||||
* Use sc_ prefix for decoder
|
||||
* Add missing spaces in help
|
||||
* Downscale and retry also on early MediaCodec error
|
||||
* Fix include for standard library header
|
||||
* Add warning in function documentation
|
||||
* Fix sc_str_truncate() documentation
|
||||
* Fix comment typo
|
||||
* Update FAQ.zh-Hans.md to v1.22
|
||||
* Update README.zh-Hans.md to v1.22
|
||||
* Update links to v1.22
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 11 11:12:11 UTC 2022 - alarrosa@suse.com
|
||||
|
||||
|
32
scrcpy.spec
32
scrcpy.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package scrcpy
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: scrcpy
|
||||
Version: 1.21
|
||||
Version: 1.23
|
||||
Release: 0
|
||||
Summary: Display and control your Android device
|
||||
License: Apache-2.0
|
||||
@ -35,6 +35,28 @@ BuildRequires: pkgconfig(libavformat)
|
||||
BuildRequires: pkgconfig(libusb-1.0)
|
||||
BuildRequires: pkgconfig(sdl2)
|
||||
|
||||
%package bash-completion
|
||||
Summary: Scrcpy Bash completion
|
||||
BuildRequires: bash-completion
|
||||
Requires: %{name} = %{version}
|
||||
Requires: bash-completion
|
||||
Supplements: (%{name} and bash-completion)
|
||||
BuildArch: noarch
|
||||
|
||||
%description bash-completion
|
||||
Optional dependency offering bash completion for scrcpy.
|
||||
|
||||
%package zsh-completion
|
||||
Summary: Scrcpy zsh completion
|
||||
BuildRequires: zsh
|
||||
Requires: %{name} = %{version}
|
||||
Requires: zsh
|
||||
Supplements: (%{name} and zsh)
|
||||
BuildArch: noarch
|
||||
|
||||
%description zsh-completion
|
||||
Optional dependency offering zsh completion for scrcpy.
|
||||
|
||||
%description
|
||||
This application provides display and control of Android devices connected on USB. It does not require any root access
|
||||
|
||||
@ -59,4 +81,10 @@ This application provides display and control of Android devices connected on US
|
||||
%{_mandir}/man1/%{name}.1%{?ext_man}
|
||||
%{_datadir}/icons/hicolor/*/apps/scrcpy.png
|
||||
|
||||
%files bash-completion
|
||||
%{_datadir}/bash-completion/completions/scrcpy
|
||||
|
||||
%files zsh-completion
|
||||
%{_datadir}/zsh/site-functions/_scrcpy
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user