this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add cups library

And some symbols it needed

+401
+3
.gitmodules
··· 310 310 [submodule "src/external/rsync"] 311 311 path = src/external/rsync 312 312 url = ../darling-rsync.git 313 + [submodule "src/external/cups"] 314 + path = src/external/cups 315 + url = ../darling-cups.git
+1
cmake/use_ld64.cmake
··· 30 30 -Wl,-dylib_file,/usr/lib/system/libsystem_platform.dylib:${CMAKE_BINARY_DIR}/src/external/libplatform/libplatform_firstpass.dylib \ 31 31 -Wl,-dylib_file,/usr/lib/system/libsystem_trace.dylib:${CMAKE_BINARY_DIR}/src/external/libtrace/libsystem_trace_firstpass.dylib \ 32 32 -Wl,-dylib_file,/usr/lib/system/libcorecrypto.dylib:${CMAKE_BINARY_DIR}/src/external/corecrypto/libcorecrypto_firstpass.dylib \ 33 + -Wl,-dylib_file,/usr/lib/system/libsystem_dnssd.dylib:${CMAKE_BINARY_DIR}/src/lib/system/dnssd/libsystem_dnssd.dylib \ 33 34 -Wl,-dylib_file,/usr/lib/system/libsystem_coretls.dylib:${CMAKE_BINARY_DIR}/src/external/coretls/libsystem_coretls.dylib \ 34 35 -Wl,-dylib_file,/usr/lib/system/libcommonCrypto.dylib:${CMAKE_BINARY_DIR}/src/external/commoncrypto/libcommonCrypto.dylib \ 35 36 -Wl,-dylib_file,/usr/lib/system/libsystem_asl.dylib:${CMAKE_BINARY_DIR}/src/external/syslog/libsystem_asl.tproj/libsystem_asl_firstpass.dylib \
+3
src/CMakeLists.txt
··· 205 205 add_subdirectory(libc) 206 206 add_subdirectory(vchroot) 207 207 208 + add_subdirectory(lib) 209 + 208 210 add_definitions(-D_LIBC_NO_FEATURE_VERIFICATION) 209 211 add_subdirectory(external/darling-dmg) 210 212 add_subdirectory(libm) ··· 360 362 add_subdirectory(OpenDirectory) 361 363 add_subdirectory(opendirectory) 362 364 add_subdirectory(MetalKit) 365 + add_subdirectory(external/cups) 363 366 364 367 add_subdirectory(clt) 365 368
+2
src/SystemConfiguration/SCDynamicStoreCopySpecific.cpp
··· 10 10 11 11 #define MAX_PASSENTRY_LENGTH 4096 12 12 13 + 14 + 13 15 CFStringRef SCDynamicStoreCopyComputerName (SCDynamicStoreRef store, CFStringEncoding *nameEncoding){ 14 16 //LOG << "fixme: SCDynamicStoreCopyComputerName() - stub" << std::endl; 15 17 return NULL;
+12
src/SystemConfiguration/stubs.c
··· 4 4 5 5 #define STUB() printf("STUB %s\n", __func__) 6 6 7 + const CFStringRef kSCDynamicStoreDomainState = CFSTR("State:"); 8 + const CFStringRef kSCEntNetIPv4 = CFSTR("IPv4"); 9 + const CFStringRef kSCEntNetIPv6 = CFSTR("IPv6"); 10 + const CFStringRef kSCPropNetIPv4Router = CFSTR("Router"); 11 + const CFStringRef kSCPropNetIPv6Router = CFSTR("Router"); /* Yes, they are the same */ 12 + 13 + CFStringRef SCDynamicStoreKeyCreateNetworkGlobalEntity(CFAllocatorRef allocator, CFStringRef domain, CFStringRef entity) 14 + { 15 + STUB(); 16 + return NULL; 17 + } 18 + 7 19 CFPropertyListRef SCDynamicStoreCopyValue(SCDynamicStoreRef store, CFStringRef key) 8 20 { 9 21 STUB();
+1
src/lib/CMakeLists.txt
··· 1 + add_subdirectory(system)
+1
src/lib/system/CMakeLists.txt
··· 1 + add_subdirectory(dnssd)
+13
src/lib/system/dnssd/CMakeLists.txt
··· 1 + project(system_dnssd) 2 + 3 + set(DYLIB_INSTALL_NAME "/usr/lib/system/libsystem_dnssd.dylib") 4 + set(DYLIB_COMPAT_VERSION "1.0.0") 5 + set(DYLIB_CURRENT_VERSION "1096.60.2") 6 + 7 + include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include) 8 + 9 + add_darling_library(system_dnssd src/system_dnssd.c) 10 + make_fat(system_dnssd) 11 + target_link_libraries(system_dnssd PRIVATE system_c system_dyld) 12 + 13 + install(TARGETS system_dnssd DESTINATION libexec/darling/usr/lib/system)
+40
src/lib/system/dnssd/constants.txt
··· 1 + 00000000000053f4 T _DNSServiceAddRecord 2 + 0000000000003753 T _DNSServiceBrowse 3 + 000000000000444c T _DNSServiceBrowserCreate 4 + 0000000000003a8c T _DNSServiceConstructFullName 5 + 000000000000174c T _DNSServiceCreateConnection 6 + 0000000000003261 T _DNSServiceCreateDelegateConnection 7 + 00000000000044a3 T _DNSServiceDiscoveryDeallocate 8 + 0000000000004485 T _DNSServiceDiscoveryMachPort 9 + 0000000000004474 T _DNSServiceDiscovery_handleReply 10 + 000000000000521f T _DNSServiceEnumerateDomains 11 + 0000000000002586 T _DNSServiceGetAddrInfo 12 + 000000000000487b T _DNSServiceGetPID 13 + 0000000000004704 T _DNSServiceGetProperty 14 + 0000000000005c06 T _DNSServiceNATPortMappingCreate 15 + 000000000000289d T _DNSServiceProcessResult 16 + 0000000000003d07 T _DNSServiceQueryRecord 17 + 00000000000058c7 T _DNSServiceReconfirmRecord 18 + 000000000000300c T _DNSServiceRefDeallocate 19 + 000000000000281c T _DNSServiceRefSockFD 20 + 0000000000004db2 T _DNSServiceRegister 21 + 000000000000343b T _DNSServiceRegisterRecord 22 + 000000000000577a T _DNSServiceRemoveRecord 23 + 0000000000004963 T _DNSServiceResolve 24 + 0000000000004460 T _DNSServiceResolverResolve 25 + 0000000000004cb9 T _DNSServiceSetDefaultDomainForUser 26 + 00000000000026ee T _DNSServiceSetDispatchQueue 27 + 0000000000005e3d T _DNSServiceSleepKeepalive 28 + 0000000000005618 T _DNSServiceUpdateRecord 29 + 0000000000005a9a T _PeerConnectionRelease 30 + 00000000000042c0 T _TXTRecordContainsKey 31 + 0000000000004024 T _TXTRecordCreate 32 + 000000000000403c T _TXTRecordDeallocate 33 + 00000000000042b7 T _TXTRecordGetBytesPtr 34 + 0000000000004324 T _TXTRecordGetCount 35 + 0000000000004350 T _TXTRecordGetItemAtIndex 36 + 00000000000042ad T _TXTRecordGetLength 37 + 00000000000042e1 T _TXTRecordGetValuePtr 38 + 00000000000041cd T _TXTRecordRemoveValue 39 + 0000000000004052 T _TXTRecordSetValue 40 +
+64
src/lib/system/dnssd/include/system_dnssd/system_dnssd.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + 21 + #ifndef _system_dnssd_H_ 22 + #define _system_dnssd_H_ 23 + 24 + void* DNSServiceAddRecord(void); 25 + void* DNSServiceBrowse(void); 26 + void* DNSServiceBrowserCreate(void); 27 + void* DNSServiceConstructFullName(void); 28 + void* DNSServiceCreateConnection(void); 29 + void* DNSServiceCreateDelegateConnection(void); 30 + void* DNSServiceDiscoveryDeallocate(void); 31 + void* DNSServiceDiscoveryMachPort(void); 32 + void* DNSServiceDiscovery_handleReply(void); 33 + void* DNSServiceEnumerateDomains(void); 34 + void* DNSServiceGetAddrInfo(void); 35 + void* DNSServiceGetPID(void); 36 + void* DNSServiceGetProperty(void); 37 + void* DNSServiceNATPortMappingCreate(void); 38 + void* DNSServiceProcessResult(void); 39 + void* DNSServiceQueryRecord(void); 40 + void* DNSServiceReconfirmRecord(void); 41 + void* DNSServiceRefDeallocate(void); 42 + void* DNSServiceRefSockFD(void); 43 + void* DNSServiceRegister(void); 44 + void* DNSServiceRegisterRecord(void); 45 + void* DNSServiceRemoveRecord(void); 46 + void* DNSServiceResolve(void); 47 + void* DNSServiceResolverResolve(void); 48 + void* DNSServiceSetDefaultDomainForUser(void); 49 + void* DNSServiceSetDispatchQueue(void); 50 + void* DNSServiceSleepKeepalive(void); 51 + void* DNSServiceUpdateRecord(void); 52 + void* PeerConnectionRelease(void); 53 + void* TXTRecordContainsKey(void); 54 + void* TXTRecordCreate(void); 55 + void* TXTRecordDeallocate(void); 56 + void* TXTRecordGetBytesPtr(void); 57 + void* TXTRecordGetCount(void); 58 + void* TXTRecordGetItemAtIndex(void); 59 + void* TXTRecordGetLength(void); 60 + void* TXTRecordGetValuePtr(void); 61 + void* TXTRecordRemoveValue(void); 62 + void* TXTRecordSetValue(void); 63 + 64 + #endif
+259
src/lib/system/dnssd/src/system_dnssd.c
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + 21 + #include <system_dnssd/system_dnssd.h> 22 + #include <stdlib.h> 23 + #include <stdio.h> 24 + 25 + static int verbose = 1; 26 + 27 + void* DNSServiceAddRecord(void) 28 + { 29 + if (verbose) puts("STUB: DNSServiceAddRecord called"); 30 + return NULL; 31 + } 32 + 33 + void* DNSServiceBrowse(void) 34 + { 35 + if (verbose) puts("STUB: DNSServiceBrowse called"); 36 + return NULL; 37 + } 38 + 39 + void* DNSServiceBrowserCreate(void) 40 + { 41 + if (verbose) puts("STUB: DNSServiceBrowserCreate called"); 42 + return NULL; 43 + } 44 + 45 + void* DNSServiceConstructFullName(void) 46 + { 47 + if (verbose) puts("STUB: DNSServiceConstructFullName called"); 48 + return NULL; 49 + } 50 + 51 + void* DNSServiceCreateConnection(void) 52 + { 53 + if (verbose) puts("STUB: DNSServiceCreateConnection called"); 54 + return NULL; 55 + } 56 + 57 + void* DNSServiceCreateDelegateConnection(void) 58 + { 59 + if (verbose) puts("STUB: DNSServiceCreateDelegateConnection called"); 60 + return NULL; 61 + } 62 + 63 + void* DNSServiceDiscoveryDeallocate(void) 64 + { 65 + if (verbose) puts("STUB: DNSServiceDiscoveryDeallocate called"); 66 + return NULL; 67 + } 68 + 69 + void* DNSServiceDiscoveryMachPort(void) 70 + { 71 + if (verbose) puts("STUB: DNSServiceDiscoveryMachPort called"); 72 + return NULL; 73 + } 74 + 75 + void* DNSServiceDiscovery_handleReply(void) 76 + { 77 + if (verbose) puts("STUB: DNSServiceDiscovery_handleReply called"); 78 + return NULL; 79 + } 80 + 81 + void* DNSServiceEnumerateDomains(void) 82 + { 83 + if (verbose) puts("STUB: DNSServiceEnumerateDomains called"); 84 + return NULL; 85 + } 86 + 87 + void* DNSServiceGetAddrInfo(void) 88 + { 89 + if (verbose) puts("STUB: DNSServiceGetAddrInfo called"); 90 + return NULL; 91 + } 92 + 93 + void* DNSServiceGetPID(void) 94 + { 95 + if (verbose) puts("STUB: DNSServiceGetPID called"); 96 + return NULL; 97 + } 98 + 99 + void* DNSServiceGetProperty(void) 100 + { 101 + if (verbose) puts("STUB: DNSServiceGetProperty called"); 102 + return NULL; 103 + } 104 + 105 + void* DNSServiceNATPortMappingCreate(void) 106 + { 107 + if (verbose) puts("STUB: DNSServiceNATPortMappingCreate called"); 108 + return NULL; 109 + } 110 + 111 + void* DNSServiceProcessResult(void) 112 + { 113 + if (verbose) puts("STUB: DNSServiceProcessResult called"); 114 + return NULL; 115 + } 116 + 117 + void* DNSServiceQueryRecord(void) 118 + { 119 + if (verbose) puts("STUB: DNSServiceQueryRecord called"); 120 + return NULL; 121 + } 122 + 123 + void* DNSServiceReconfirmRecord(void) 124 + { 125 + if (verbose) puts("STUB: DNSServiceReconfirmRecord called"); 126 + return NULL; 127 + } 128 + 129 + void* DNSServiceRefDeallocate(void) 130 + { 131 + if (verbose) puts("STUB: DNSServiceRefDeallocate called"); 132 + return NULL; 133 + } 134 + 135 + void* DNSServiceRefSockFD(void) 136 + { 137 + if (verbose) puts("STUB: DNSServiceRefSockFD called"); 138 + return NULL; 139 + } 140 + 141 + void* DNSServiceRegister(void) 142 + { 143 + if (verbose) puts("STUB: DNSServiceRegister called"); 144 + return NULL; 145 + } 146 + 147 + void* DNSServiceRegisterRecord(void) 148 + { 149 + if (verbose) puts("STUB: DNSServiceRegisterRecord called"); 150 + return NULL; 151 + } 152 + 153 + void* DNSServiceRemoveRecord(void) 154 + { 155 + if (verbose) puts("STUB: DNSServiceRemoveRecord called"); 156 + return NULL; 157 + } 158 + 159 + void* DNSServiceResolve(void) 160 + { 161 + if (verbose) puts("STUB: DNSServiceResolve called"); 162 + return NULL; 163 + } 164 + 165 + void* DNSServiceResolverResolve(void) 166 + { 167 + if (verbose) puts("STUB: DNSServiceResolverResolve called"); 168 + return NULL; 169 + } 170 + 171 + void* DNSServiceSetDefaultDomainForUser(void) 172 + { 173 + if (verbose) puts("STUB: DNSServiceSetDefaultDomainForUser called"); 174 + return NULL; 175 + } 176 + 177 + void* DNSServiceSetDispatchQueue(void) 178 + { 179 + if (verbose) puts("STUB: DNSServiceSetDispatchQueue called"); 180 + return NULL; 181 + } 182 + 183 + void* DNSServiceSleepKeepalive(void) 184 + { 185 + if (verbose) puts("STUB: DNSServiceSleepKeepalive called"); 186 + return NULL; 187 + } 188 + 189 + void* DNSServiceUpdateRecord(void) 190 + { 191 + if (verbose) puts("STUB: DNSServiceUpdateRecord called"); 192 + return NULL; 193 + } 194 + 195 + void* PeerConnectionRelease(void) 196 + { 197 + if (verbose) puts("STUB: PeerConnectionRelease called"); 198 + return NULL; 199 + } 200 + 201 + void* TXTRecordContainsKey(void) 202 + { 203 + if (verbose) puts("STUB: TXTRecordContainsKey called"); 204 + return NULL; 205 + } 206 + 207 + void* TXTRecordCreate(void) 208 + { 209 + if (verbose) puts("STUB: TXTRecordCreate called"); 210 + return NULL; 211 + } 212 + 213 + void* TXTRecordDeallocate(void) 214 + { 215 + if (verbose) puts("STUB: TXTRecordDeallocate called"); 216 + return NULL; 217 + } 218 + 219 + void* TXTRecordGetBytesPtr(void) 220 + { 221 + if (verbose) puts("STUB: TXTRecordGetBytesPtr called"); 222 + return NULL; 223 + } 224 + 225 + void* TXTRecordGetCount(void) 226 + { 227 + if (verbose) puts("STUB: TXTRecordGetCount called"); 228 + return NULL; 229 + } 230 + 231 + void* TXTRecordGetItemAtIndex(void) 232 + { 233 + if (verbose) puts("STUB: TXTRecordGetItemAtIndex called"); 234 + return NULL; 235 + } 236 + 237 + void* TXTRecordGetLength(void) 238 + { 239 + if (verbose) puts("STUB: TXTRecordGetLength called"); 240 + return NULL; 241 + } 242 + 243 + void* TXTRecordGetValuePtr(void) 244 + { 245 + if (verbose) puts("STUB: TXTRecordGetValuePtr called"); 246 + return NULL; 247 + } 248 + 249 + void* TXTRecordRemoveValue(void) 250 + { 251 + if (verbose) puts("STUB: TXTRecordRemoveValue called"); 252 + return NULL; 253 + } 254 + 255 + void* TXTRecordSetValue(void) 256 + { 257 + if (verbose) puts("STUB: TXTRecordSetValue called"); 258 + return NULL; 259 + }
+2
src/libsystem/CMakeLists.txt
··· 74 74 xpc 75 75 corecrypto 76 76 commonCrypto 77 + system_dnssd 77 78 ) 78 79 79 80 set_target_properties(system PROPERTIES OUTPUT_NAME "System.B") ··· 106 107 -sub_library libsystem_asl \ 107 108 -sub_library libxpc \ 108 109 -sub_library libcorecrypto \ 110 + -sub_library libsystem_dnssd \ 109 111 -Wl,-compatibility_version,1.0.0 \ 110 112 -Wl,-current_version,1238.0.0") 111 113