From nobody Sat Sep 23 04:46:14 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RsxRV4vLTz4v1jJ for ; Sat, 23 Sep 2023 04:46:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RsxRV2J1gz3d9g for ; Sat, 23 Sep 2023 04:46:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695444374; a=rsa-sha256; cv=none; b=iGGZtsfYuqHHGd2KWV2fGWbs4P5T6+QxWc9FeMqHbWKjuy1ZuLW2QsXop/KBJ6u2SRjV6D shsn4cmUCKBJBrT5p9YzJgi56ldo4tT5OdOF6954yvkT3KAhJpq61lt5thqeVhkP6PpFwc MdHgh3hBXjzxKdrKDB7ZEsIbgL0YIBCQrAxTOp4Hu//kdM+CgbCDy1X78PAKkR4LRrS+gs YADNS65jrnG7CPXi6tbHQzHm4VrqYMfmP98u9PL9QbyOUcC9cLQw5Q2WRhRFw0wFs406tD KxZapLmU3ZNzi1QAN9lWSSIx0NjKWZaYH5NG6xcd51MgJath8B9pdGvoyxnUoA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695444374; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Dih9ISm9lxqD6gVAbqH00WOZ26fxCfcvk56/dCriwlc=; b=D7lGlm2rCbTuqwtRWxSZkOkldHWSAO/xoly/Wu+JAF2sNM0AkP9ZhEItpSCWiDVEN3Ii+/ X15DzYgLG06X3ZNVekDMKhnx6PXVhz56v11HxBO4xJseMZw1ptg2PeV6lD/8j+dpTYWXPJ +YnszI/ixVDEH/HvPROdJduLdXwcHAdlAf4J54HIYbIeXd/3SP1nFd9XtlAdGCHMdka3nx gDZrbRGc34h8ZwGR+DHLEc5QQld+DQVIJz4kmNAyGaPBDjwhB+1O7qafgwpdSgs2FG3A7H a/kN13tJD4YbmLYjD//GCUWi4CQtOtbwEzZYFVWKqPMSFrvtmZEVSdAoYPVjDg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RsxRV1CwXzqv9 for ; Sat, 23 Sep 2023 04:46:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 38N4kEEr066272 for ; Sat, 23 Sep 2023 04:46:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38N4kEbe066271 for ports-bugs@FreeBSD.org; Sat, 23 Sep 2023 04:46:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 274026] games/moonlight-embedded update to 2.6.0 Date: Sat, 23 Sep 2023 04:46:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lisp_25689@163.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274026 --- Comment #4 from Armin Zhu --- (In reply to Robert Clausecker from comment #1) Excited to hear from you, this is my first time submitting my own code.=20 I added patch files to make it easier for future contributors to identify changes that need to be made specifically for the FreeBSD system. I have not paid attention to the issue information of the moonlight-embedde= d in the upstream, these patchs are all to solve the problems I have encountered when using it myself.It is not committed upstream at the moment. 1. The relevant code for REINPLACE_CMD in MAKEFLE has been put into patch files.=20 2. Explanation of PATCHS: * patch-libgamestream_client.c : This is the patch of the previous contributor, not modified. *patch-libgamestream_http.c : This is to fix the issue of slow h= ost response times.=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 Before modifying, the app attempts to restore the previous connection, and after a few minutes of attempts,=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 returns an error and reinitiates a new connection. The simplest attempt was made to fix this issue. *patch-src_platform.c : Here are some of the same that previous contributors commit.The modifications I made were for 2 things.=20 1 for re-enable = x11* platform. The upstream code forces the sdl platform and disables the x11 platform, which is strang= e, I reverted this and tried it out without issue. 2 for add oss so= und support. FreeBSD nati= vely only supports OSS sounds, so I added this and made it the sound playback me= thod for the x11* platform by default. *patch-src_input_evdev.c : Here are some of the same that previo= us contributors commit.The modifications I made were for 3 things. 1 for More stric= tly limit the way the keyboard is judged.Because acpi button such as shutown/sl= eep will also be recognized as=20 a keyboard by libevdev.And when libevdev tries grab the device, the keyboard becomes unresponsive. 2 for use sdl to drive gamepad. When I tried= to drive the gamepad with libevdev, the gamepad did not respond, but with the = SDL platform to drive the gamepad=20 that some gamepads were available, so I changed to use the SDL drive gamepad by defau= lt, but someone can also use the libevdev. 3 for add grab/ungrab keyboard shortcut for x11* platform.This is purely for the convenience of using other FreeBSD apps when streaming. *patch-src_main.c : The modifications I made were for 3 things. 1 for add -nosdl option for switching sdl and libevdev to drive gamepad when use x11* platf= orm. 2 for fix the is= sue of fixed PIN code generated by the openssl random() function.use rand() and srand() instead. 3 for comment out the related code for HDR support.Because FreeBSD does not have HDR support = now. --=20 You are receiving this mail because: You are the assignee for the bug.=