-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #70 from wtsnz/feature/device-name
Show device names
- Loading branch information
Showing
185 changed files
with
41,122 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,2 @@ | ||
if not exist %DepsBasePath% ( | ||
curl -o %DepsBasePath%.zip -kLO https://obsproject.com/downloads/dependencies2017.zip -f --retry 5 -C - | ||
7z x %DepsBasePath%.zip -o%DepsBasePath% | ||
) else ( | ||
echo "OBS dependencies are already there. Download skipped." | ||
) | ||
curl -o %DepsBasePath%.zip -kLO https://cdn-fastly.obsproject.com/downloads/dependencies2019.zip -f --retry 5 -C - | ||
7z x %DepsBasePath%.zip -o%DepsBasePath% -aoa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
cd c:\vcpkg | ||
vcpkg integrate install | ||
|
||
vcpkg install dirent:x86-windows-static | ||
vcpkg install dirent:x64-windows-static | ||
vcpkg install openssl:x86-windows-static | ||
vcpkg install openssl:x64-windows-static |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
.vs/ | ||
Win32/ | ||
x64/ | ||
Debug/ | ||
*.user | ||
# git-ls-files --others --exclude-from=.git/info/exclude | ||
# Lines that start with '#' are comments. | ||
# For a project mostly in C, the following would be a good set of | ||
# exclude patterns (uncomment them if you want to use them): | ||
*.[oa] | ||
*~ | ||
*.po | ||
*.lo | ||
*.la | ||
autom4te.cache/* | ||
*.in | ||
*/.deps/* | ||
m4/* | ||
swig/* | ||
*.swp | ||
*.patch | ||
aclocal.m4 | ||
config.h | ||
config.log | ||
config.sub | ||
config.guess | ||
config.status | ||
configure | ||
depcomp | ||
install-sh | ||
compile | ||
main | ||
ltmain.sh | ||
missing | ||
mkinstalldirs | ||
libtool | ||
*Makefile | ||
py-compile | ||
stamp-h1 | ||
src/.libs | ||
docs/html | ||
libimobiledevice-1.0.pc | ||
tools/.libs/* | ||
tools/idevice* | ||
!tools/idevice*.[ch] | ||
cython/.libs/* | ||
cython/*.c | ||
doxygen.cfg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Bastien Nocera | ||
Bryan Forbes | ||
Christophe Fergeau | ||
Geoff Paul | ||
Ingmar Vanhassel | ||
John Maguire | ||
Jonathan Beck | ||
Joshua Hill | ||
Julien Lavergne | ||
Martin Aumueller | ||
Martin Szulecki | ||
Marty Rosenberg | ||
Matt Colyer | ||
Nikias Bassen | ||
Patrick Walton | ||
Paul Sladen | ||
Peter Hoepfner | ||
Petr Uzel | ||
Todd Zullinger | ||
Zach C | ||
Zoltan Balaton |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,139 @@ | ||
project(libimobiledevice) | ||
cmake_minimum_required(VERSION 3.2) | ||
|
||
set(OPENSSL_USE_STATIC_LIBS TRUE) | ||
find_package(OpenSSL REQUIRED) | ||
set(OPENSSL_USE_STATIC_LIBS TRUE) | ||
|
||
message("OpenSSL include dir: ${OPENSSL_INCLUDE_DIR}") | ||
message("OpenSSL libraries: ${OPENSSL_LIBRARIES}") | ||
|
||
message("other: ${OPENSSL_SSL_LIBRARIES} ${OPENSSL_CRYPTO_LIBRARIES}") | ||
|
||
set(libimobiledevice_HEADERS | ||
#common/debug.h | ||
#common/socket.h | ||
#common/thread.h | ||
#common/userpref.h | ||
#common/utils.h | ||
|
||
src/afc.h | ||
src/companion_proxy.h | ||
src/debugserver.h | ||
src/device_link_service.h | ||
src/diagnostics_relay.h | ||
src/file_relay.h | ||
src/heartbeat.h | ||
src/house_arrest.h | ||
src/idevice.h | ||
src/installation_proxy.h | ||
src/lockdown.h | ||
src/misagent.h | ||
src/mobile_image_mounter.h | ||
src/mobileactivation.h | ||
src/mobilebackup.h | ||
src/mobilebackup2.h | ||
src/mobilesync.h | ||
src/notification_proxy.h | ||
src/preboard.h | ||
src/property_list_service.h | ||
src/restore.h | ||
src/sbservices.h | ||
src/screenshotr.h | ||
src/service.h | ||
src/syslog_relay.h | ||
src/webinspector.h | ||
) | ||
|
||
set(libimobiledevice_SOURCES | ||
common/debug.c | ||
common/socket.c | ||
common/thread.c | ||
common/userpref.c | ||
common/utils.c | ||
|
||
src/afc.c | ||
src/companion_proxy.c | ||
src/debugserver.c | ||
src/device_link_service.c | ||
src/diagnostics_relay.c | ||
src/file_relay.c | ||
src/heartbeat.c | ||
src/house_arrest.c | ||
src/idevice.c | ||
src/installation_proxy.c | ||
src/lockdown.c | ||
src/misagent.c | ||
src/mobile_image_mounter.c | ||
src/mobileactivation.c | ||
src/mobilebackup.c | ||
src/mobilebackup2.c | ||
src/mobilesync.c | ||
src/notification_proxy.c | ||
src/pinvoke.c | ||
src/preboard.c | ||
src/property_list_service.c | ||
src/restore.c | ||
src/sbservices.c | ||
src/screenshotr.c | ||
src/service.c | ||
src/syslog_relay.c | ||
src/webinspector.c | ||
) | ||
|
||
include_directories(libimobiledevice | ||
include/ | ||
${OPENSSL_INCLUDE_DIR} | ||
) | ||
|
||
add_library(libimobiledevice STATIC | ||
${libimobiledevice_SOURCES} | ||
${libimobiledevice_HEADERS} | ||
) | ||
|
||
target_include_directories(libimobiledevice | ||
PUBLIC include | ||
) | ||
|
||
# if(WIN32) | ||
# find_path(DIRENT_INCLUDE_DIRS "dirent.h") | ||
# target_include_directories(libimobiledevice PRIVATE ${DIRENT_INCLUDE_DIRS}) | ||
# endif() | ||
|
||
target_link_libraries(libimobiledevice | ||
PRIVATE | ||
libplist | ||
libusbmuxd | ||
) | ||
|
||
target_link_libraries(libimobiledevice PRIVATE | ||
OpenSSL::SSL | ||
OpenSSL::Crypto | ||
) | ||
|
||
# https://gitlab.kitware.com/cmake/cmake/-/issues/19263 | ||
if(WIN32) | ||
target_link_libraries(libimobiledevice PRIVATE Crypt32 ws2_32) | ||
endif() | ||
|
||
check_function_exists(stpcpy HAVE_STPCPY) | ||
if(${HAVE_STPCPY}) | ||
add_compile_definitions(libimobiledevice HAVE_STPCPY) | ||
endif() | ||
|
||
check_function_exists(stpncpy HAVE_STPNCPY) | ||
if(${HAVE_STPNCPY}) | ||
add_compile_definitions(libimobiledevice HAVE_STPNCPY) | ||
endif() | ||
|
||
check_function_exists(asprintf HAVE_ASPRINTF) | ||
if(${HAVE_ASPRINTF}) | ||
add_compile_definitions(libimobiledevice HAVE_ASPRINTF) | ||
endif() | ||
|
||
check_function_exists(vasprintf HAVE_VASPRINTF) | ||
if(${HAVE_VASPRINTF}) | ||
add_compile_definitions(libimobiledevice HAVE_VASPRINTF) | ||
endif() | ||
|
||
add_compile_definitions(libimobiledevice HAVE_OPENSSL) |
Oops, something went wrong.