Skip to content

Commit

Permalink
Merge pull request #1 from akaday/akaday-patch-1
Browse files Browse the repository at this point in the history
Add files via upload
  • Loading branch information
akaday authored Oct 24, 2024
2 parents ade0d5b + 618102e commit c9b189c
Show file tree
Hide file tree
Showing 14 changed files with 848 additions and 0 deletions.
Binary file added SpacedeskSetupCustomAction64.exe
Binary file not shown.
243 changes: 243 additions & 0 deletions ThirdPartyNotices.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,243 @@

Third-Party Software for Spacedesk, v2.0.x.xxx

The following 3rd-party software packages may be used by or distributed with Spacedesk driver. Any information relevant to third-party vendors listed below are collected using common, reasonable means.

Date generated: 2023-1-23
Revision ID: 085d0f9ca0bd98aa9e79071c7a9a30d7dd5a4aca
--------------------------------------------------------------------------------
libjpeg-turbo (2.1.0)
--------------------------------------------------------------------------------

* Declared Licenses *
BSD-Style, IJG and Zlib

libjpeg-turbo Licenses
======================

libjpeg-turbo is covered by three compatible BSD-style open source licenses:

- The IJG (Independent JPEG Group) License, which is listed in
[README.ijg](README.ijg)

This license applies to the libjpeg API library and associated programs
(any code inherited from libjpeg, and any modifications to that code.)

- The Modified (3-clause) BSD License, which is listed below

This license covers the TurboJPEG API library and associated programs, as
well as the build system.

- The [zlib License](https://opensource.org/licenses/Zlib)

This license is a subset of the other two, and it covers the libjpeg-turbo
SIMD extensions.


Complying with the libjpeg-turbo Licenses
=========================================

This section provides a roll-up of the libjpeg-turbo licensing terms, to the
best of our understanding.

1. If you are distributing a modified version of the libjpeg-turbo source,
then:

1. You cannot alter or remove any existing copyright or license notices
from the source.

**Origin**
- Clause 1 of the IJG License
- Clause 1 of the Modified BSD License
- Clauses 1 and 3 of the zlib License

2. You must add your own copyright notice to the header of each source
file you modified, so others can tell that you modified that file (if
there is not an existing copyright header in that file, then you can
simply add a notice stating that you modified the file.)

**Origin**
- Clause 1 of the IJG License
- Clause 2 of the zlib License

3. You must include the IJG README file, and you must not alter any of the
copyright or license text in that file.

**Origin**
- Clause 1 of the IJG License

2. If you are distributing only libjpeg-turbo binaries without the source, or
if you are distributing an application that statically links with
libjpeg-turbo, then:

1. Your product documentation must include a message stating:

This software is based in part on the work of the Independent JPEG
Group.

**Origin**
- Clause 2 of the IJG license

2. If your binary distribution includes or uses the TurboJPEG API, then
your product documentation must include the text of the Modified BSD
License (see below.)

**Origin**
- Clause 2 of the Modified BSD License

3. You cannot use the name of the IJG or The libjpeg-turbo Project or the
contributors thereof in advertising, publicity, etc.

**Origin**
- IJG License
- Clause 3 of the Modified BSD License

4. The IJG and The libjpeg-turbo Project do not warrant libjpeg-turbo to be
free of defects, nor do we accept any liability for undesirable
consequences resulting from your use of the software.

**Origin**
- IJG License
- Modified BSD License
- zlib License


The Modified (3-clause) BSD License
===================================

Copyright (C)2009-2021 D. R. Commander. All Rights Reserved.<br>
Copyright (C)2015 Viktor Szathmáry. All Rights Reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

- Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
- Neither the name of the libjpeg-turbo Project nor the names of its
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS",
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

README.ijg:
===================================

LEGAL ISSUES
============

In plain English:

1. We don't promise that this software works. (But if you find any bugs,
please let us know!)
2. You can use this software for whatever you want. You don't have to pay us.
3. You may not pretend that you wrote this software. If you use it in a
program, you must acknowledge somewhere in your documentation that
you've used the IJG code.

In legalese:

The authors make NO WARRANTY or representation, either express or implied,
with respect to this software, its quality, accuracy, merchantability, or
fitness for a particular purpose. This software is provided "AS IS", and you,
its user, assume the entire risk as to its quality and accuracy.

This software is copyright (C) 1991-2020, Thomas G. Lane, Guido Vollbeding.
All Rights Reserved except as specified below.

Permission is hereby granted to use, copy, modify, and distribute this
software (or portions thereof) for any purpose, without fee, subject to these
conditions:
(1) If any part of the source code for this software is distributed, then this
README file must be included, with this copyright and no-warranty notice
unaltered; and any additions, deletions, or changes to the original files
must be clearly indicated in accompanying documentation.
(2) If only executable code is distributed, then the accompanying
documentation must state that "this software is based in part on the work of
the Independent JPEG Group".
(3) Permission for use of this software is granted only if the user accepts
full responsibility for any undesirable consequences; the authors accept
NO LIABILITY for damages of any kind.

These conditions apply to any software derived from or based on the IJG code,
not just to the unmodified library. If you use our work, you ought to
acknowledge us.

Permission is NOT granted for the use of any IJG author's name or company name
in advertising or publicity relating to this software or products derived from
it. This software may be referred to only as "the Independent JPEG Group's
software".

We specifically permit and encourage the use of this software as the basis of
commercial products, provided that all warranty or liability claims are
assumed by the product vendor.

Zlib license:
===================================

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.

2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.

3. This notice may not be removed or altered from any source distribution.


* Package Info *

Authors: Independent JPEG Group

Package URL: https://github.com/libjpeg-turbo/libjpeg-turbo


--------------------------------------------------------------------------------
pugixml (1.12.0)
--------------------------------------------------------------------------------

* Declared Licenses *
MIT

Copyright (c) 2006-2022 by Arseny Kapoulkine ([email protected])

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


* Package Info *

Authors: Arseny Kapoulkine

Package Manager: Nuget

Project URL: https://pugixml.org/

Binary file added lenovodisplay.cat
Binary file not shown.
155 changes: 155 additions & 0 deletions lenovodisplay.inf
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
; lenovoDisplay.inf
; Copyright � 2021 Lenovo Inc;
; All rights reserved

[Version]
;PnpLockdown=1
Signature="$Windows NT$"
Class=Display
ClassGuid={4d36e968-e325-11ce-bfc1-08002be10318}
ClassVer=2.0
Provider=%ManufacturerName%
CatalogFile=lenovoDisplay.cat
DriverVer = 11/29/2022,2.0.000.132

[ControlFlags]
ExcludeFromSelect =*

[DestinationDirs]
lenovo.DisplayUmd = 12,UMDF ; drivers\UMDF
lenovo.DisplayUmd.1.2 = 12,UMDF ; drivers\UMDF

[Manufacturer]
%ManufacturerName%=Standard,NTx86,ntamd64,NTx86.10.0...16299,ntamd64.10.0...16299

[Standard.NTx86]
%DeviceName%= v3DDKIndirect_Install, {63384FBF-F398-46AB-86C9-5CCDF1EC4917}\VID_LENOVO_INC_PID_LENOVO_VIRTUAL_DISPLAY_0003
%DeviceName%= v3DDKIndirect_Install, VID_LENOVO_INC_PID_LENOVO_VIRTUAL_DISPLAY_0003 ; Used by SwDeviceCreate
[Standard.NtAMD64]
%DeviceName%= v3DDKIndirect_Install, {63384FBF-F398-46AB-86C9-5CCDF1EC4917}\VID_LENOVO_INC_PID_LENOVO_VIRTUAL_DISPLAY_0003
%DeviceName%= v3DDKIndirect_Install, VID_LENOVO_INC_PID_LENOVO_VIRTUAL_DISPLAY_0003 ; Used by SwDeviceCreate
[Standard.NTx86.10.0...16299]
%DeviceName%= v3DDKIndirect_1.2_Install, {63384FBF-F398-46AB-86C9-5CCDF1EC4917}\VID_LENOVO_INC_PID_LENOVO_VIRTUAL_DISPLAY_0003
%DeviceName%= v3DDKIndirect_1.2_Install, VID_LENOVO_INC_PID_LENOVO_VIRTUAL_DISPLAY_0003 ; Used by SwDeviceCreate
[Standard.ntamd64.10.0...16299]
%DeviceName%= v3DDKIndirect_1.2_Install, {63384FBF-F398-46AB-86C9-5CCDF1EC4917}\VID_LENOVO_INC_PID_LENOVO_VIRTUAL_DISPLAY_0003
%DeviceName%= v3DDKIndirect_1.2_Install, VID_LENOVO_INC_PID_LENOVO_VIRTUAL_DISPLAY_0003 ; Used by SwDeviceCreate

;
; ================================== UMDF Device ==================================
;

;
; === IddCx 1.2 - Windows 10 1709 and above ===
;
[v3DDKIndirect_1.2_Install.NT]
CopyFiles=lenovo.DisplayUmd.1.2
CopyINF=lenovoDisplay.inf

[v3DDKIndirect_1.2_Install.NT.hw]
AddReg=HardwareKey_AddReg

[v3DDKIndirect_1.2_Install.NT.Wdf]
;UmdfDispatcher=NativeUSB
UmdfService=lenovoDisplayUmode,v3DDKIndirect_1.2_Install
UmdfServiceOrder=lenovoDisplayUmode
UmdfKernelModeClientPolicy = AllowKernelModeClients
UmdfMethodNeitherAction = Copy
UmdfFileObjectPolicy = AllowNullAndUnknownFileObjects
UmdfHostProcessSharing = ProcessSharingDisabled

[v3DDKIndirect_1.2_Install]
UmdfLibraryVersion=2.15.0
ServiceBinary=%12%\UMDF\lenovoDisplayUmode1_2.dll
ServiceBinary="%12%\UMDF\Lenovo.AssemblyValidation.Native.dll"
UmdfExtensions=IddCx0102

[v3DDKIndirect_1.2_Install.NT.services]
AddService = WUDFRd,0x000001fa,WUDFRD_ServiceInstall

;
; === IddCx 1.0 - Windows 10 1607 to 1703 ===
;
[v3DDKIndirect_Install.NT]
CopyFiles=lenovo.DisplayUmd
CopyINF=lenovoDisplay.inf

[v3DDKIndirect_Install.NT.hw]
AddReg=HardwareKey_AddReg

[v3DDKIndirect_Install.NT.Wdf]
;UmdfDispatcher=NativeUSB
UmdfService=lenovoDisplayUmode,v3DDKIndirect_Install
UmdfServiceOrder=lenovoDisplayUmode
UmdfKernelModeClientPolicy = AllowKernelModeClients
UmdfMethodNeitherAction = Copy
UmdfFileObjectPolicy = AllowNullAndUnknownFileObjects
UmdfHostProcessSharing = ProcessSharingDisabled

[v3DDKIndirect_Install]
UmdfLibraryVersion=2.15.0
ServiceBinary=%12%\UMDF\lenovoDisplayUmode1_0.dll
ServiceBinary="%12%\UMDF\Lenovo.AssemblyValidation.Native.dll"
UmdfExtensions=IddCx0102

[v3DDKIndirect_Install.NT.services]
AddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall

;
; === Install sections for all platforms ===
;
[HardwareKey_AddReg]
HKR,,FriendlyName,,%DeviceName%
HKR,,"UpperFilters", %REG_MULTI_SZ%, "IndirectKmd"
HKR,"WUDF","DeviceGroupId",0x00000000,"v3DDKIndirectGroup"
HKR,,DeviceCharacteristics,0x10001,0x100
;HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GA;;;BA)"
HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GA;;;BA)(A;;GA;;;WD)(A;;GA;;;RC)" ;for lower security
HKLM, Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\lenovoDisplayUmode, StaticDesktopReEncodeFrameCount, 0x00010001, 1


[WUDFRD_ServiceInstall]
DisplayName = %WudfRdDisplayName%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WUDFRd.sys

;
; Device Cleanup
;
[DefaultUninstall]
DelFiles= lenovo.DisplayUmd, lenovo.DisplayUmd.1.2

;
; file section
;
[lenovo.DisplayUmd]
lenovoDisplayUmode1_0.dll
Lenovo.AssemblyValidation.Native.dll
[lenovo.DisplayUmd.1.2]
lenovoDisplayUmode1_2.dll
Lenovo.AssemblyValidation.Native.dll

[SourceDisksNames.x86]
1 = %DISKID1%,,,\x86

[SourceDisksNames.amd64]
1 = %DISKID1%,,, \amd64

[SourceDisksFiles]
lenovoDisplayUmode1_0.dll = 1
Lenovo.AssemblyValidation.Native.dll = 1
lenovoDisplayUmode1_2.dll = 1

;
; ================================== Generic ==================================
;
[Strings]
ManufacturerName="Lenovo Inc"
DISKID1 = "Lenovo virtual Graphics Adapter Driver Setup Disk"
WudfRdDisplayName="Windows Driver Foundation - User-mode Driver Framework Reflector"
DeviceName="Lenovo Graphics Adapter"

REG_MULTI_SZ = 0x00010000

Binary file added lenovodriveraudio.cat
Binary file not shown.
Loading

0 comments on commit c9b189c

Please sign in to comment.