Accepting request 945575 from home:alarrosa:branches:hardware
- Update to version 1.21: * Bump version to 1.21 * Clarify TCP/IP mode in README * Always synchronize clipboard on explicit COPY/CUT * Expose sync mode for injecting events * Move acknowledgment handling * Fix set_clipboard message log * Upgrade gradle build tools to 7.0.3 * Add --raw-key-events * Use enum for key injection mode * Use static maps to convert input events * Fix code style in keyboard_inject * Improve HID keyboard documentation * Document --tcpip in README * Add --tcpip feature * Extract interruptible sleep for server * Add function to read an adb property * Add function to switch device to TCP/IP mode * Add function to find the device IP address * Add util function to remove trailing '\r' * Add util function to locate a column in a string * Workaround "adb connect" error detection * Add adb connect and disconnect * Add adb flag to disable execution error logs * Use flags for adb commands * Expose flags for process execution * Remove obsolete precision in README * Simplify Windows process inheritance configuration * Remove intermediate static functions from adb.c * Set CLOEXEC flag on sockets OBS-URL: https://build.opensuse.org/request/show/945575 OBS-URL: https://build.opensuse.org/package/show/hardware/scrcpy?expand=0&rev=74
This commit is contained in:
parent
5c72b5493f
commit
63ef138d08
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -22,4 +22,4 @@
|
|||||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||||
## Specific LFS patterns
|
## Specific LFS patterns
|
||||||
scrcpy-server-v1.19 filter=lfs diff=lfs merge=lfs -text
|
scrcpy-server-v1.21 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
2
_service
2
_service
@ -5,7 +5,7 @@
|
|||||||
<param name="versionformat">@PARENT_TAG@</param>
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
<param name="versionrewrite-pattern">v(.*)</param>
|
<param name="versionrewrite-pattern">v(.*)</param>
|
||||||
<param name="changesgenerate">enable</param>
|
<param name="changesgenerate">enable</param>
|
||||||
<param name="revision">v1.19</param>
|
<param name="revision">v1.21</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="recompress" mode="disabled">
|
<service name="recompress" mode="disabled">
|
||||||
<param name="file">*.tar</param>
|
<param name="file">*.tar</param>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<servicedata>
|
<servicedata>
|
||||||
<service name="tar_scm">
|
<service name="tar_scm">
|
||||||
<param name="url">https://github.com/Genymobile/scrcpy.git</param>
|
<param name="url">https://github.com/Genymobile/scrcpy.git</param>
|
||||||
<param name="changesrevision">228e2c15f44849032e9006dce1e0c47ae6e108ee</param></service></servicedata>
|
<param name="changesrevision">003e7381064f2c0e8ce1095d1a65522fab4e118b</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4fda585e9855fc20d694e68128630ca638fa48a0d7aefc18e1afea6bbac85769
|
|
||||||
size 269768
|
|
3
scrcpy-1.21.tar.xz
Normal file
3
scrcpy-1.21.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c41dbc69a6711665f501f613fe815939915f10108c45dd9c7d549c6b96e2f0fd
|
||||||
|
size 305636
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:876f9322182e6aac6a58db1334f4225855ef3a17eaebc80aab6601d9d1ecb867
|
|
||||||
size 37330
|
|
3
scrcpy-server-v1.21
Normal file
3
scrcpy-server-v1.21
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:dbcccab523ee26796e55ea33652649e4b7af498edae9aa75e4d4d7869c0ab848
|
||||||
|
size 40067
|
213
scrcpy.changes
213
scrcpy.changes
@ -1,3 +1,216 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 11 11:12:11 UTC 2022 - alarrosa@suse.com
|
||||||
|
|
||||||
|
- Update to version 1.21:
|
||||||
|
* Bump version to 1.21
|
||||||
|
* Clarify TCP/IP mode in README
|
||||||
|
* Always synchronize clipboard on explicit COPY/CUT
|
||||||
|
* Expose sync mode for injecting events
|
||||||
|
* Move acknowledgment handling
|
||||||
|
* Fix set_clipboard message log
|
||||||
|
* Upgrade gradle build tools to 7.0.3
|
||||||
|
* Add --raw-key-events
|
||||||
|
* Use enum for key injection mode
|
||||||
|
* Use static maps to convert input events
|
||||||
|
* Fix code style in keyboard_inject
|
||||||
|
* Improve HID keyboard documentation
|
||||||
|
* Document --tcpip in README
|
||||||
|
* Add --tcpip feature
|
||||||
|
* Extract interruptible sleep for server
|
||||||
|
* Add function to read an adb property
|
||||||
|
* Add function to switch device to TCP/IP mode
|
||||||
|
* Add function to find the device IP address
|
||||||
|
* Add util function to remove trailing '\r'
|
||||||
|
* Add util function to locate a column in a string
|
||||||
|
* Workaround "adb connect" error detection
|
||||||
|
* Add adb connect and disconnect
|
||||||
|
* Add adb flag to disable execution error logs
|
||||||
|
* Use flags for adb commands
|
||||||
|
* Expose flags for process execution
|
||||||
|
* Remove obsolete precision in README
|
||||||
|
* Simplify Windows process inheritance configuration
|
||||||
|
* Remove intermediate static functions from adb.c
|
||||||
|
* Set CLOEXEC flag on sockets
|
||||||
|
* Check process success locally for adb commands
|
||||||
|
* Extract command argv building
|
||||||
|
* Use unsigned for connection attempts count
|
||||||
|
* Reorder cli sanity checks
|
||||||
|
* Fix adb get-serialno error handling
|
||||||
|
* Add OutOfMemory log helper
|
||||||
|
* Remove unreachable return statements
|
||||||
|
* Add missing return on file_handler failure
|
||||||
|
* Add missing includes
|
||||||
|
* Make lockVideoOrientation option name uniform
|
||||||
|
* Do not pass default values to the server
|
||||||
|
* Pass server parameters as key=value pairs
|
||||||
|
* Allocate and format server command args
|
||||||
|
* Parse codec options early
|
||||||
|
* Remove local "serial" variable
|
||||||
|
* Add (v)asprintf compatibility functions
|
||||||
|
* Move check_functions in meson script
|
||||||
|
* Add missing includes in compat implementation
|
||||||
|
* Define common feature test macros for all systems
|
||||||
|
* Add option to disable clipboard autosync
|
||||||
|
* Wait SET_CLIPBOARD ack before Ctrl+v via HID
|
||||||
|
* Move PRIu64 Windows workaround to compat.h
|
||||||
|
* Make the device acknowledge device clipboard
|
||||||
|
* Add device clipboard set acknowledgement
|
||||||
|
* Add sequence number to set_clipboard request
|
||||||
|
* Add acksync helper to wait for acks
|
||||||
|
* Explicitly indicate when device clipboard is set
|
||||||
|
* Do not inject Ctrl+v if clipboard sync failed
|
||||||
|
* Synchronize computer-to-device empty clipboard
|
||||||
|
* Use UINT64_C macro for uint64_t constant in tests
|
||||||
|
* Document remote ADB server in README
|
||||||
|
* Force adb forward if tunnel host/port is provided
|
||||||
|
* Add options to configure tunnel host and port
|
||||||
|
* Add function to parse IPv4 addresses
|
||||||
|
* Configure feature test macros in meson
|
||||||
|
* Add missing include config.h
|
||||||
|
* Improve SSH tunnel documentation in README
|
||||||
|
* Print scrcpy header first
|
||||||
|
* Print help to stdout
|
||||||
|
* Assert that long options are correctly set
|
||||||
|
* Simplify adb_tunnel
|
||||||
|
* Privatize low-level adb functions
|
||||||
|
* Use new user-friendly adb API
|
||||||
|
* Expose new user-friendly adb functions
|
||||||
|
* Rename adb functions to adb_exec_*
|
||||||
|
* Use sc_intr in file_handler
|
||||||
|
* Simplify file_handler
|
||||||
|
* Improve file_handler readability
|
||||||
|
* Simplify adb_execute_p()
|
||||||
|
* Make "adb get-serialno" interruptible
|
||||||
|
* Add interruptible function to read from pipe
|
||||||
|
* Simplify sc_str_truncate()
|
||||||
|
* Generalize string trunctation util function
|
||||||
|
* Expose util function to truncate first line
|
||||||
|
* Assume non-NULL serial in file_handler
|
||||||
|
* Always retrieve device serial
|
||||||
|
* Add missing error handling
|
||||||
|
* Close process on check success
|
||||||
|
* Configure init and cleanup asynchronously
|
||||||
|
* Do not quit on cleanup configuration failure
|
||||||
|
* Move init and cleanup to a separate method
|
||||||
|
* Read/write settings via command on Android >= 12
|
||||||
|
* Add throwable parameter to Log.w()
|
||||||
|
* Report settings errors via Exceptions
|
||||||
|
* Wrap settings management into a Settings class
|
||||||
|
* Update Simplified Chinese README to 1.20
|
||||||
|
* Fix wrong package to install for Ubuntu/Debian
|
||||||
|
* Inherit only specific handles on Windows
|
||||||
|
* Factorize resource release after CreateProcess()
|
||||||
|
* Remove useless assignments on error
|
||||||
|
* Fix Windows sc_pipe function names
|
||||||
|
* Stop connection attempts if interrupted
|
||||||
|
* Fix compilation errors with old SDL versions
|
||||||
|
* Update links to v1.20
|
||||||
|
* Bump version to 1.20
|
||||||
|
* Update script to build without gradle to SDK 31
|
||||||
|
* Extract ANDROID_JAR path in build script
|
||||||
|
* Fix word order in README
|
||||||
|
* Mention crash on Android 12 on old scrcpy in FAQ
|
||||||
|
* Adapt icon in README
|
||||||
|
* Replace "connected on" to "connected via"
|
||||||
|
* Improve scrcpy presentation in README
|
||||||
|
* Increase delay to inject HID on Ctrl+v
|
||||||
|
* Use sc_ prefix for server
|
||||||
|
* Move str_util to str
|
||||||
|
* Improve string util API
|
||||||
|
* Rename SC_INVALID_SOCKET to SC_SOCKET_NONE
|
||||||
|
* Extract adb tunnel to a separate component
|
||||||
|
* Move IPV4_LOCALHOST to net.h
|
||||||
|
* Interrupt on process terminated
|
||||||
|
* Make server interruptible
|
||||||
|
* Add interruptor utilities
|
||||||
|
* Introduce interruptor tool
|
||||||
|
* Run the server from a dedicated thread
|
||||||
|
* Wait using a condition variable in server
|
||||||
|
* Reorder server functions
|
||||||
|
* Copy server params
|
||||||
|
* Reorder server and server_params
|
||||||
|
* Split socket creation and connect/listen
|
||||||
|
* Set video and control sockets only on success
|
||||||
|
* Initialize tunnel_enabled flag internally
|
||||||
|
* Introduce process observer
|
||||||
|
* Improve process API
|
||||||
|
* Factorize common impl of process_execute()
|
||||||
|
* Remove duplicate function declaration
|
||||||
|
* Improve file API
|
||||||
|
* Move functions from process to file
|
||||||
|
* Make screen_render() static
|
||||||
|
* Upgrade junit to 4.13.1
|
||||||
|
* Adapt help to terminal size
|
||||||
|
* Add util function to get terminal size
|
||||||
|
* Generate getopt params from option structures
|
||||||
|
* Structure shortcuts help
|
||||||
|
* Structure command line options help
|
||||||
|
* Add line wrapper
|
||||||
|
* Add string buffer util
|
||||||
|
* Remove deprecated -T option
|
||||||
|
* Remove deprecated -c option
|
||||||
|
* Document --power-off-on-close
|
||||||
|
* Mention drag & drop for non-APK files in help
|
||||||
|
* Mention drag & drop APK in README
|
||||||
|
* Remove extra space in README
|
||||||
|
* Fix typos in help
|
||||||
|
* Add missing include "common.h"
|
||||||
|
* Wrap device name and size in a struct
|
||||||
|
* Update README.jp.md to v1.19
|
||||||
|
* Remove unnecessary variable
|
||||||
|
* Disable synthetic mouse events from touch events
|
||||||
|
* Split SDL initialization
|
||||||
|
* Move SDL initialization
|
||||||
|
* Set SDL hints before initialization
|
||||||
|
* Extract SDL hints
|
||||||
|
* Factorize SDL event push
|
||||||
|
* Handle SDL_PushEvent() errors
|
||||||
|
* Use sc_ prefix for size, position and point
|
||||||
|
* Upgrade gradle build tools to 7.0.2
|
||||||
|
* Upgrade Android checkstyle to 9.0.1
|
||||||
|
* Upgrade Android SDK to 31
|
||||||
|
* Fix typo in clock comments
|
||||||
|
* Define v4l2 option field only if HAVE_V4L2
|
||||||
|
* Define default options as const struct
|
||||||
|
* Move scrcpy option structs to options.h
|
||||||
|
* Expose socket interruption
|
||||||
|
* Add socket wrapper
|
||||||
|
* Use net_send() from net_send_all()
|
||||||
|
* Use sc_ prefix for sockets
|
||||||
|
* Move net_init() and net_cleanup() upwards
|
||||||
|
* Update FAQ to mention HID keyboard
|
||||||
|
* Delay HID events on Ctrl+v
|
||||||
|
* Synchronize HID keyboard state on first event
|
||||||
|
* Retrieve device serial for AOA
|
||||||
|
* Expose function to get the device serial
|
||||||
|
* Add read_pipe_all()
|
||||||
|
* Expose adb execution with redirection
|
||||||
|
* Add command execution with redirection
|
||||||
|
* Add support for USB HID keyboard over AOAv2
|
||||||
|
* Extract mouse processor trait
|
||||||
|
* Extract keyboard processor trait
|
||||||
|
* Fix trait header guards
|
||||||
|
* Remove unused markdown link in README
|
||||||
|
* Mention SCRCPY_ICON_PATH envvar in README
|
||||||
|
* Add scrcpy icon to README
|
||||||
|
* Remove legacy scrcpy icon
|
||||||
|
* Add icon source in SVG format
|
||||||
|
* Use a new scrcpy icon
|
||||||
|
* Add support for palette icon formats
|
||||||
|
* Add icon loader
|
||||||
|
* Move common instruction out of ifdef
|
||||||
|
* Extract util function to build a local file path
|
||||||
|
* Fix code style
|
||||||
|
* Fix "Could not find v4l2 muxer"
|
||||||
|
* Simplify net_send_all()
|
||||||
|
* Update Readme.pt-br.md to v1.19
|
||||||
|
* Update italian translation to v1.19
|
||||||
|
* Fix workarounds for Meizu
|
||||||
|
* Add missing includes
|
||||||
|
* Fix link in README
|
||||||
|
* Add support for expandNotificationsPanel() variant
|
||||||
|
* Update links to v1.19
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 06 02:46:57 UTC 2021 - jonathan@jontech.app
|
Wed Oct 06 02:46:57 UTC 2021 - jonathan@jontech.app
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: scrcpy
|
Name: scrcpy
|
||||||
Version: 1.19
|
Version: 1.21
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Display and control your Android device
|
Summary: Display and control your Android device
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@ -26,11 +26,13 @@ URL: https://github.com/Genymobile/scrcpy
|
|||||||
Source0: %{name}-%{version}.tar.xz
|
Source0: %{name}-%{version}.tar.xz
|
||||||
Source1: https://github.com/Genymobile/scrcpy/releases/download/v%{version}/scrcpy-server-v%{version}
|
Source1: https://github.com/Genymobile/scrcpy/releases/download/v%{version}/scrcpy-server-v%{version}
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
|
BuildRequires: hicolor-icon-theme
|
||||||
BuildRequires: meson >= 0.48
|
BuildRequires: meson >= 0.48
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(libavcodec)
|
BuildRequires: pkgconfig(libavcodec)
|
||||||
BuildRequires: pkgconfig(libavdevice)
|
BuildRequires: pkgconfig(libavdevice)
|
||||||
BuildRequires: pkgconfig(libavformat)
|
BuildRequires: pkgconfig(libavformat)
|
||||||
|
BuildRequires: pkgconfig(libusb-1.0)
|
||||||
BuildRequires: pkgconfig(sdl2)
|
BuildRequires: pkgconfig(sdl2)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -55,5 +57,6 @@ This application provides display and control of Android devices connected on US
|
|||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_datadir}/%{name}
|
%{_datadir}/%{name}
|
||||||
%{_mandir}/man1/%{name}.1%{?ext_man}
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/scrcpy.png
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user