Skip to content

Commit 8284aae

Browse files
committed
[libraries] Bumping to latest libimobiledevice
1 parent 25b2b7f commit 8284aae

File tree

8 files changed

+226
-26
lines changed

8 files changed

+226
-26
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@
1515
[submodule "libraries/ideviceinstaller"]
1616
path = libraries/ideviceinstaller
1717
url = https://github.com/libimobiledevice/ideviceinstaller
18+
[submodule "libraries/libimobiledevice-glue"]
19+
path = libraries/libimobiledevice-glue
20+
url = https://github.com/libimobiledevice/libimobiledevice-glue

libraries/libimobiledevice

Submodule libimobiledevice updated 132 files

libraries/libimobiledevice-glue

Submodule libimobiledevice-glue added at 00131b5

libraries/libplist

Submodule libplist updated 53 files
Lines changed: 171 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,195 @@
1+
// config for Alpine 3.15
2+
3+
/* Define to 1 if you have the `asprintf' function. */
14
#define HAVE_ASPRINTF 1
5+
6+
/* Define if the C compiler supports constructor/destructor attributes */
7+
#define HAVE_ATTRIBUTE_CONSTRUCTOR 1
8+
9+
/* define if struct dirent has member d_type */
210
#define HAVE_DIRENT_D_TYPE 1
11+
12+
/* Define to 1 if you have the <dlfcn.h> header file. */
313
#define HAVE_DLFCN_H 1
14+
15+
/* Define if compiled with -fvisibility=hidden */
416
#define HAVE_FVISIBILITY 1
5-
#define HAVE_GCRYPT_H 1
17+
18+
/* Define if you have libgcrypt support */
19+
/* #undef HAVE_GCRYPT */
20+
21+
/* Define to 1 if you have the <gcrypt.h> header file. */
22+
/* #undef HAVE_GCRYPT_H */
23+
24+
/* Define to 1 if you have the `getifaddrs' function. */
625
#define HAVE_GETIFADDRS 1
7-
#define HAVE_GMTIME_R 1
26+
27+
/* Define if you have GnuTLS support */
28+
/* #undef HAVE_GNUTLS */
29+
30+
/* Define to 1 if you have the <inttypes.h> header file. */
831
#define HAVE_INTTYPES_H 1
9-
#define HAVE_LOCALTIME_R 1
10-
#define HAVE_MALLOC 1
11-
#define HAVE_MEMMEM 1
12-
#define HAVE_MEMORY_H 1
32+
33+
/* Define to 1 if you have the `pthread' library (-lpthread). */
34+
#define HAVE_LIBPTHREAD 1
35+
36+
/* Define if you have MbedTLS support */
37+
/* #undef HAVE_MBEDTLS */
38+
39+
/* Define if you have OpenSSL support */
1340
#define HAVE_OPENSSL 1
14-
#define HAVE_PTHREAD 1
15-
#define HAVE_PTHREAD_CANCEL 1
16-
#define HAVE_PTHREAD_PRIO_INHERIT 1
17-
#define HAVE_REALLOC 1
18-
#define HAVE_SLEEP 1
41+
42+
/* Define if libplist has JSON support */
43+
#define HAVE_PLIST_JSON 1
44+
45+
/* If available, contains the Python version number currently in use. */
46+
/* #undef HAVE_PYTHON */
47+
48+
/* Define to 1 if you have the <stdint.h> header file. */
1949
#define HAVE_STDINT_H 1
50+
51+
/* Define to 1 if you have the <stdio.h> header file. */
52+
#define HAVE_STDIO_H 1
53+
54+
/* Define to 1 if you have the <stdlib.h> header file. */
2055
#define HAVE_STDLIB_H 1
56+
57+
/* Define to 1 if you have the `stpcpy' function. */
2158
#define HAVE_STPCPY 1
59+
60+
/* Define to 1 if you have the `stpncpy' function. */
2261
#define HAVE_STPNCPY 1
62+
63+
/* Define to 1 if you have the `strcasecmp' function. */
2364
#define HAVE_STRCASECMP 1
65+
66+
/* Define to 1 if you have the `strdup' function. */
2467
#define HAVE_STRDUP 1
68+
69+
/* Define to 1 if you have the `strerror' function. */
2570
#define HAVE_STRERROR 1
71+
72+
/* Define to 1 if you have the <strings.h> header file. */
2673
#define HAVE_STRINGS_H 1
74+
75+
/* Define to 1 if you have the <string.h> header file. */
2776
#define HAVE_STRING_H 1
77+
78+
/* Define to 1 if you have the `strndup' function. */
2879
#define HAVE_STRNDUP 1
29-
#define HAVE_STRPTIME 1
80+
81+
82+
83+
/* Define to 1 if you have the <sys/stat.h> header file. */
3084
#define HAVE_SYS_STAT_H 1
85+
86+
/* Define to 1 if you have the <sys/time.h> header file. */
87+
#define HAVE_SYS_TIME_H 1
88+
89+
/* Define to 1 if you have the <sys/types.h> header file. */
3190
#define HAVE_SYS_TYPES_H 1
91+
92+
/* Define to 1 if you have the <unistd.h> header file. */
93+
#define HAVE_UNISTD_H 1
94+
95+
/* Define to 1 if you have the `vasprintf' function. */
96+
#define HAVE_VASPRINTF 1
97+
98+
/* Define if building with wireless pairing support */
99+
#undef HAVE_WIRELESS_PAIRING
100+
101+
/* Define to 1 if all of the C90 standard headers exist (not just the ones
102+
required in a freestanding environment). This macro is provided for
103+
backward compatibility; new code need not use it. */
104+
#define STDC_HEADERS 1
105+
106+
/* Define if debug message output code should not be built. */
107+
#undef STRIP_DEBUG_CODE
108+
109+
/* Define if you have POSIX threads libraries and header files. */
110+
#define HAVE_PTHREAD 1
111+
112+
/* Define to 1 if you have the `pthread_cancel' function. */
113+
#define HAVE_PTHREAD_CANCEL 1
114+
115+
/* Define to 1 if you have the `pthread_once' function. */
116+
#define HAVE_PTHREAD_ONCE 1
117+
118+
/* Have PTHREAD_PRIO_INHERIT. */
119+
#define HAVE_PTHREAD_PRIO_INHERIT 1
120+
121+
/* Define to 1 if you have the `gmtime_r' function. */
122+
#define HAVE_GMTIME_R 1
123+
124+
/* Define to 1 if you have the `localtime_r' function. */
125+
#define HAVE_LOCALTIME_R 1
126+
127+
/* Define to 1 if you have the `memmem' function. */
128+
#define HAVE_MEMMEM 1
129+
130+
/* If available, contains the Python version number currently in use. */
131+
/* #undef HAVE_PYTHON */
132+
133+
/* Define to 1 if you have the `strptime' function. */
134+
#define HAVE_STRPTIME 1
135+
136+
/* Define to 1 if you have the `timegm' function. */
32137
#define HAVE_TIMEGM 1
138+
139+
/* Define if struct tm has a tm_gmtoff member */
33140
#define HAVE_TM_TM_GMTOFF 1
141+
142+
/* Define if struct tm has a tm_zone member */
34143
#define HAVE_TM_TM_ZONE 1
35-
#define HAVE_UNISTD_H 1
36-
#define HAVE_VASPRINTF 1
37-
#define PACKAGE_STRING "jitterbug 1.0"
38-
#define __BIG_ENDIAN 4321
39-
#define __LITTLE_ENDIAN 1234
40144

41-
#ifdef __BYTE_ORDER
42-
#undef __BYTE_ORDER
43-
#endif
44-
#define __BYTE_ORDER 1234
145+
/* little endian */
146+
#define __LITTLE_ENDIAN__ 1
147+
148+
/* Define if you have inotify support (linux only) */
149+
#define HAVE_INOTIFY 1
150+
151+
152+
/* Define if you have program_invocation_short_name */
153+
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
154+
155+
/* Define if program_invocation_short_name is declared in errno.h */
156+
/* #undef HAVE_PROGRAM_INVOCATION_SHORT_NAME_ERRNO_H */
157+
158+
/* Define to 1 if you have the `pselect' function. */
159+
#define HAVE_PSELECT 1
160+
161+
/* Define to 1 if you have the `realloc' function. */
162+
#define HAVE_REALLOC 1
163+
164+
/* Define to 1 if you have the `sleep' function. */
165+
#define HAVE_SLEEP 1
166+
167+
/* Define to 1 if you have the <sys/inotify.h> header file. */
168+
#define HAVE_SYS_INOTIFY_H 1
169+
170+
/* Define if lstat syscall is supported */
171+
#define HAVE_LSTAT 1
172+
173+
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
174+
to 0 otherwise. */
175+
#define HAVE_MALLOC 1
176+
177+
178+
179+
/* Name of package */
180+
//#define PACKAGE "AltServer-Linux"
181+
182+
/* Define to the full name of this package. */
183+
#define PACKAGE_NAME "AltServer-Linux"
184+
185+
/* Define to the full name and version of this package. */
186+
#define PACKAGE_STRING "AltServer-Linux "
187+
188+
/* Define to the one symbol short name of this package. */
189+
#define PACKAGE_TARNAME "AltServer-Linux"
190+
191+
/* Define to the home page for this package. */
192+
#define PACKAGE_URL "https://github.com/NyaMisty/AltServer-Linux"
45193

194+
/* Define to the version of this package. */
195+
#define PACKAGE_VERSION "1.0"
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
#define HAVE_ASPRINTF 1
2+
#define HAVE_DIRENT_D_TYPE 1
3+
#define HAVE_DLFCN_H 1
4+
#define HAVE_FVISIBILITY 1
5+
#define HAVE_GCRYPT_H 1
6+
#define HAVE_GETIFADDRS 1
7+
#define HAVE_GMTIME_R 1
8+
#define HAVE_INTTYPES_H 1
9+
#define HAVE_LOCALTIME_R 1
10+
#define HAVE_MALLOC 1
11+
#define HAVE_MEMMEM 1
12+
#define HAVE_MEMORY_H 1
13+
#define HAVE_OPENSSL 1
14+
#define HAVE_PTHREAD 1
15+
#define HAVE_PTHREAD_CANCEL 1
16+
#define HAVE_PTHREAD_PRIO_INHERIT 1
17+
#define HAVE_REALLOC 1
18+
#define HAVE_SLEEP 1
19+
#define HAVE_STDINT_H 1
20+
#define HAVE_STDLIB_H 1
21+
#define HAVE_STPCPY 1
22+
#define HAVE_STPNCPY 1
23+
#define HAVE_STRCASECMP 1
24+
#define HAVE_STRDUP 1
25+
#define HAVE_STRERROR 1
26+
#define HAVE_STRINGS_H 1
27+
#define HAVE_STRING_H 1
28+
#define HAVE_STRNDUP 1
29+
#define HAVE_STRPTIME 1
30+
#define HAVE_SYS_STAT_H 1
31+
#define HAVE_SYS_TYPES_H 1
32+
#define HAVE_TIMEGM 1
33+
#define HAVE_TM_TM_GMTOFF 1
34+
#define HAVE_TM_TM_ZONE 1
35+
#define HAVE_UNISTD_H 1
36+
#define HAVE_VASPRINTF 1
37+
#define PACKAGE_STRING "jitterbug 1.0"
38+
#define __BIG_ENDIAN 4321
39+
#define __LITTLE_ENDIAN 1234
40+
41+
#ifdef __BYTE_ORDER
42+
#undef __BYTE_ORDER
43+
#endif
44+
#define __BYTE_ORDER 1234
45+
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
libimobiledevice_src := $(wildcard $(LIB_DIR)/libimobiledevice/src/*.c) $(wildcard $(LIB_DIR)/libimobiledevice/common/*.c)
1+
libimobiledevice_src += $(wildcard $(LIB_DIR)/libimobiledevice/src/*.c) $(wildcard $(LIB_DIR)/libimobiledevice/common/*.c)
2+
libimobiledevice_src += $(wildcard $(LIB_DIR)/libimobiledevice-glue/src/*.c)
23
libimobiledevice_src += $(wildcard $(LIB_DIR)/libusbmuxd/src/*.c)
34
libimobiledevice_src += $(wildcard $(LIB_DIR)/libusbmuxd/common/*.c)
4-
libimobiledevice_include := -I$(LIB_DIR)/libimobiledevice/include -I$(LIB_DIR)/libimobiledevice -I$(LIB_DIR)/libusbmuxd/include
5+
libimobiledevice_include := -I$(LIB_DIR)/libimobiledevice/include -I$(LIB_DIR)/libimobiledevice-glue/include -I$(LIB_DIR)/libimobiledevice -I$(LIB_DIR)/libusbmuxd/include
56

67
libplist_include := -I$(LIB_DIR)/libplist/include
78
libplist_src := $(wildcard $(LIB_DIR)/libplist/src/*.c) $(LIB_DIR)/libplist/libcnary/node.c $(LIB_DIR)/libplist/libcnary/node_list.c

0 commit comments

Comments
 (0)