Skip to content

Commit

Permalink
Merge pull request #1 from KjellSchubert/master
Browse files Browse the repository at this point in the history
updated to latest from main
  • Loading branch information
um68 committed Feb 11, 2015
2 parents cfa5687 + e40e232 commit 2d685d1
Show file tree
Hide file tree
Showing 16 changed files with 554 additions and 9 deletions.
10 changes: 10 additions & 0 deletions library/boost-logic/1.57.0.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"homepage": "http://www.boost.org/",
"url": "https://github.com/boostorg/logic/archive/boost-1.57.0.tar.gz",
"module": "boost-logic",
"version": "1.57.0",
"dependencies": {
"boost-config": "1.57.0",
"boost-core": "1.57.0"
}
}
20 changes: 20 additions & 0 deletions library/boost-logic/1.57.0.gyp
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"targets": [
{
"target_name": "boost-logic",
"type": "none",
"include_dirs": [
"1.57.0/logic-boost-1.57.0/include"
],
"all_dependent_settings": {
"include_dirs": [
"1.57.0/logic-boost-1.57.0/include"
]
},
"dependencies": [
"../boost-config/boost-config.gyp:*",
"../boost-core/boost-core.gyp:*"
]
}
]
}
18 changes: 18 additions & 0 deletions library/cpp-netlib/0.10.1.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"homepage": "https://github.com/cpp-netlib/cpp-netlib",
"url": "https://github.com/cpp-netlib/cpp-netlib/archive/cpp-netlib-0.10.1.tar.gz",
"module": "cpp-netlib",
"version": "0.10.1",
"dependencies": {
"boost-asio": "1.57.0",
"boost-assign": "1.57.0",
"boost-logic": "1.57.0",
"boost-fusion": "1.57.0",
"boost-spirit": "1.57.0",
"boost-smart_ptr": "1.57.0",
"boost-algorithm": "1.57.0",
"openssl": "1.0.1j"
# for http_client sample only:
#"boost-program_options": "1.57.0"
}
}
51 changes: 51 additions & 0 deletions library/cpp-netlib/0.10.1.gyp
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"targets": [
{
"target_name": "cpp-netlib",
"type": "static_library", # unlike boost-asio which is header-only
"include_dirs": [
"0.10.1/cpp-netlib-cpp-netlib-0.10.1"
],
"defines": [
"BOOST_NETWORK_ENABLE_HTTPS" # otherwise getting "HTTPS not supported"
],
"sources": [
"0.10.1/cpp-netlib-cpp-netlib-0.10.1/libs/network/src/*.cpp",
"0.10.1/cpp-netlib-cpp-netlib-0.10.1/libs/network/src/*/*.cpp"
],
"direct_dependent_settings": {
"defines": [
"BOOST_NETWORK_ENABLE_HTTPS"
],
"include_dirs": [
"0.10.1/cpp-netlib-cpp-netlib-0.10.1"
]
},
"dependencies": [
"../boost-asio/boost-asio.gyp:boost-asio",
"../boost-assign/boost-assign.gyp:boost-assign",
"../boost-logic/boost-logic.gyp:boost-logic"
],
"export_dependent_settings": [
"../boost-asio/boost-asio.gyp:boost-asio",
"../boost-assign/boost-assign.gyp:boost-assign",
"../boost-logic/boost-logic.gyp:boost-logic"
]
},

{
"target_name": "cpp-netlib_simple_wget",
"type" : "executable",
"test": {
"args": []
},
"sources" : [
"0.10.1/cpp-netlib-cpp-netlib-0.10.1/libs/network/example/simple_wget.cpp"
],
"dependencies" : [
"cpp-netlib",
"../openssl/openssl.gyp:*" # only needed for https GETs
]
}
]
}
19 changes: 19 additions & 0 deletions library/cpp-netlib/0.11.1-final.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"homepage": "https://github.com/cpp-netlib/cpp-netlib",
"url": "https://github.com/cpp-netlib/cpp-netlib/archive/cpp-netlib-0.11.1-final.tar.gz",
"module": "cpp-netlib",
"version": "0.11.1-final",
"dependencies": {
"boost-asio": "1.57.0",
"boost-assign": "1.57.0",
"boost-logic": "1.57.0",
"boost-fusion": "1.57.0",
"boost-spirit": "1.57.0",
"boost-smart_ptr": "1.57.0",
"boost-algorithm": "1.57.0",
"openssl": "1.0.1j"
# for http_client sample only:
#"boost-program_options": "1.57.0"
}
}

61 changes: 61 additions & 0 deletions library/cpp-netlib/0.11.1-final.gyp
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"targets": [
{
"target_name": "cpp-netlib",
"type": "static_library", # unlike boost-asio which is header-only
"include_dirs": [
"0.11.1-final/cpp-netlib-cpp-netlib-0.11.1-final"
],
"defines": [
"BOOST_NETWORK_ENABLE_HTTPS" # otherwise getting "HTTPS not supported"
],
"sources": [
"0.11.1-final/cpp-netlib-cpp-netlib-0.11.1-final/libs/network/src/*.cpp",
"0.11.1-final/cpp-netlib-cpp-netlib-0.11.1-final/libs/network/src/*/*.cpp"
],
"sources!": [
# I'm getting internal compiler errors with clang 3.5 and gcc 4.8.2
# on uri.cpp after compiling for minutes. This uri.cpp uses
# boost-spirit, which is a bit of an ICE-magnet :(
# See also https://github.com/cpp-netlib/cpp-netlib/issues/133
# and http://stackoverflow.com/questions/2616011/easy-way-to-parse-a-url-in-c-cross-platform
# Anyway, cannot exlude it from build, yields linker errors.
#"0.11.1-final/cpp-netlib-cpp-netlib-0.11.1-final/libs/network/src/uri/uri.cpp"
],
"direct_dependent_settings": {
"defines": [
"BOOST_NETWORK_ENABLE_HTTPS"
],
"include_dirs": [
"0.11.1-final/cpp-netlib-cpp-netlib-0.11.1-final"
]
},
"dependencies": [
"../boost-asio/boost-asio.gyp:boost-asio",
"../boost-assign/boost-assign.gyp:boost-assign",
"../boost-logic/boost-logic.gyp:boost-logic"
],
"export_dependent_settings": [
"../boost-asio/boost-asio.gyp:boost-asio",
"../boost-assign/boost-assign.gyp:boost-assign",
"../boost-logic/boost-logic.gyp:boost-logic"
]
},

{
"target_name": "cpp-netlib_simple_wget",
"type" : "executable",
"test": {
"args": []
},
"sources" : [
"0.11.1-final/cpp-netlib-cpp-netlib-0.11.1-final/libs/network/example/simple_wget.cpp"
],
"dependencies" : [
"cpp-netlib",
"../openssl/openssl.gyp:*" # only needed for https GETs
]
}
]
}

14 changes: 14 additions & 0 deletions library/curl/7.40.0.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"homepage": "http://curl.haxx.se",
"url": "http://curl.haxx.se/download/curl-7.40.0.tar.gz",
"module": "curl",
"version": "7.40.0",
"make_command": {
"Linux": "cd curl-7.40.0 && ./configure --without-libssh2 --without-zlib --without-librtmp --without-libidn --disable-ldap --disable-gopher",
"Windows": ""
},
"dependencies": {
"openssl": "1.0.1j"
# not adding libssl2, only needed for sftp support?
}
}
183 changes: 183 additions & 0 deletions library/curl/7.40.0.gyp
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
{
"targets": [
{
"target_name": "curl",
"type": "static_library",
"include_dirs": [
"7.40.0/curl-7.40.0/include",
"7.40.0/curl-7.40.0/lib"
],
"defines": [
# from vcproj
"BUILDING_LIBCURL",
"CURL_STATICLIB",

"CURL_DISABLE_LDAP", # unless we'd care about querying ldap://
# Should we disabled other rarely used features? See
# http://stackoverflow.com/questions/24102240/minimal-curl-cross-compile-for-windows

# SSL is needed for HTTPS requests, instead of openssl curl
# optionally could use native windows libs?
"USE_SSLEAY",
"USE_OPENSSL"

# not: "USE_LIBSSH2"
# What would libssh2 provide? Only sftp support I think.
],
"conditions": [
["OS=='linux'", {
"defines": [
"HAVE_CONFIG_H"
]
}]
],
# sources list generated for Windows build via
# ~\bru\vcproj2gyp.py 7.40.0/curl-7.40.0/projects/Windows/VC11/lib/libcurl.vcxproj "LIB Release - LIB OpenSSL" Win32
# TODO: only was verified to work on Windows, make it work on Linux also.
"sources": [
"7.40.0/curl-7.40.0/lib/amigaos.c",
"7.40.0/curl-7.40.0/lib/asyn-ares.c",
"7.40.0/curl-7.40.0/lib/asyn-thread.c",
"7.40.0/curl-7.40.0/lib/base64.c",
"7.40.0/curl-7.40.0/lib/bundles.c",
"7.40.0/curl-7.40.0/lib/conncache.c",
"7.40.0/curl-7.40.0/lib/connect.c",
"7.40.0/curl-7.40.0/lib/content_encoding.c",
"7.40.0/curl-7.40.0/lib/cookie.c",
"7.40.0/curl-7.40.0/lib/curl_addrinfo.c",
"7.40.0/curl-7.40.0/lib/curl_endian.c",
"7.40.0/curl-7.40.0/lib/curl_fnmatch.c",
"7.40.0/curl-7.40.0/lib/curl_gethostname.c",
"7.40.0/curl-7.40.0/lib/curl_gssapi.c",
"7.40.0/curl-7.40.0/lib/curl_memrchr.c",
"7.40.0/curl-7.40.0/lib/curl_multibyte.c",
"7.40.0/curl-7.40.0/lib/curl_ntlm.c",
"7.40.0/curl-7.40.0/lib/curl_ntlm_core.c",
"7.40.0/curl-7.40.0/lib/curl_ntlm_msgs.c",
"7.40.0/curl-7.40.0/lib/curl_ntlm_wb.c",
"7.40.0/curl-7.40.0/lib/curl_rtmp.c",
"7.40.0/curl-7.40.0/lib/curl_sasl.c",
"7.40.0/curl-7.40.0/lib/curl_sasl_gssapi.c",
"7.40.0/curl-7.40.0/lib/curl_sasl_sspi.c",
"7.40.0/curl-7.40.0/lib/curl_sspi.c",
"7.40.0/curl-7.40.0/lib/curl_threads.c",
"7.40.0/curl-7.40.0/lib/dict.c",
"7.40.0/curl-7.40.0/lib/dotdot.c",
"7.40.0/curl-7.40.0/lib/easy.c",
"7.40.0/curl-7.40.0/lib/escape.c",
"7.40.0/curl-7.40.0/lib/file.c",
"7.40.0/curl-7.40.0/lib/fileinfo.c",
"7.40.0/curl-7.40.0/lib/formdata.c",
"7.40.0/curl-7.40.0/lib/ftp.c",
"7.40.0/curl-7.40.0/lib/ftplistparser.c",
"7.40.0/curl-7.40.0/lib/getenv.c",
"7.40.0/curl-7.40.0/lib/getinfo.c",
"7.40.0/curl-7.40.0/lib/gopher.c",
"7.40.0/curl-7.40.0/lib/hash.c",
"7.40.0/curl-7.40.0/lib/hmac.c",
"7.40.0/curl-7.40.0/lib/hostasyn.c",
"7.40.0/curl-7.40.0/lib/hostcheck.c",
"7.40.0/curl-7.40.0/lib/hostip.c",
"7.40.0/curl-7.40.0/lib/hostip4.c",
"7.40.0/curl-7.40.0/lib/hostip6.c",
"7.40.0/curl-7.40.0/lib/hostsyn.c",
"7.40.0/curl-7.40.0/lib/http.c",
"7.40.0/curl-7.40.0/lib/http2.c",
"7.40.0/curl-7.40.0/lib/http_chunks.c",
"7.40.0/curl-7.40.0/lib/http_digest.c",
"7.40.0/curl-7.40.0/lib/http_negotiate.c",
"7.40.0/curl-7.40.0/lib/http_negotiate_sspi.c",
"7.40.0/curl-7.40.0/lib/http_proxy.c",
"7.40.0/curl-7.40.0/lib/idn_win32.c",
"7.40.0/curl-7.40.0/lib/if2ip.c",
"7.40.0/curl-7.40.0/lib/imap.c",
"7.40.0/curl-7.40.0/lib/inet_ntop.c",
"7.40.0/curl-7.40.0/lib/inet_pton.c",
"7.40.0/curl-7.40.0/lib/krb5.c",
"7.40.0/curl-7.40.0/lib/ldap.c",
"7.40.0/curl-7.40.0/lib/llist.c",
"7.40.0/curl-7.40.0/lib/md4.c",
"7.40.0/curl-7.40.0/lib/md5.c",
"7.40.0/curl-7.40.0/lib/memdebug.c",
"7.40.0/curl-7.40.0/lib/mprintf.c",
"7.40.0/curl-7.40.0/lib/multi.c",
"7.40.0/curl-7.40.0/lib/netrc.c",
"7.40.0/curl-7.40.0/lib/non-ascii.c",
"7.40.0/curl-7.40.0/lib/nonblock.c",
"7.40.0/curl-7.40.0/lib/openldap.c",
"7.40.0/curl-7.40.0/lib/parsedate.c",
"7.40.0/curl-7.40.0/lib/pingpong.c",
"7.40.0/curl-7.40.0/lib/pipeline.c",
"7.40.0/curl-7.40.0/lib/pop3.c",
"7.40.0/curl-7.40.0/lib/progress.c",
"7.40.0/curl-7.40.0/lib/rawstr.c",
"7.40.0/curl-7.40.0/lib/rtsp.c",
"7.40.0/curl-7.40.0/lib/security.c",
"7.40.0/curl-7.40.0/lib/select.c",
"7.40.0/curl-7.40.0/lib/sendf.c",
"7.40.0/curl-7.40.0/lib/share.c",
"7.40.0/curl-7.40.0/lib/slist.c",
"7.40.0/curl-7.40.0/lib/smb.c",
"7.40.0/curl-7.40.0/lib/smtp.c",
"7.40.0/curl-7.40.0/lib/socks.c",
"7.40.0/curl-7.40.0/lib/socks_gssapi.c",
"7.40.0/curl-7.40.0/lib/socks_sspi.c",
"7.40.0/curl-7.40.0/lib/speedcheck.c",
"7.40.0/curl-7.40.0/lib/splay.c",
"7.40.0/curl-7.40.0/lib/ssh.c",
"7.40.0/curl-7.40.0/lib/strdup.c",
"7.40.0/curl-7.40.0/lib/strequal.c",
"7.40.0/curl-7.40.0/lib/strerror.c",
"7.40.0/curl-7.40.0/lib/strtok.c",
"7.40.0/curl-7.40.0/lib/strtoofft.c",
"7.40.0/curl-7.40.0/lib/telnet.c",
"7.40.0/curl-7.40.0/lib/tftp.c",
"7.40.0/curl-7.40.0/lib/timeval.c",
"7.40.0/curl-7.40.0/lib/transfer.c",
"7.40.0/curl-7.40.0/lib/url.c",
"7.40.0/curl-7.40.0/lib/version.c",
"7.40.0/curl-7.40.0/lib/vtls/axtls.c",
"7.40.0/curl-7.40.0/lib/vtls/curl_darwinssl.c",
"7.40.0/curl-7.40.0/lib/vtls/curl_schannel.c",
"7.40.0/curl-7.40.0/lib/vtls/cyassl.c",
"7.40.0/curl-7.40.0/lib/vtls/gskit.c",
"7.40.0/curl-7.40.0/lib/vtls/gtls.c",
"7.40.0/curl-7.40.0/lib/vtls/nss.c",
"7.40.0/curl-7.40.0/lib/vtls/openssl.c",
"7.40.0/curl-7.40.0/lib/vtls/polarssl.c",
"7.40.0/curl-7.40.0/lib/vtls/polarssl_threadlock.c",
"7.40.0/curl-7.40.0/lib/vtls/vtls.c",
"7.40.0/curl-7.40.0/lib/warnless.c",
"7.40.0/curl-7.40.0/lib/wildcard.c",
"7.40.0/curl-7.40.0/lib/x509asn1.c"
],
"direct_dependent_settings": {
"defines": [
"CURL_STATICLIB" # otherwise declspec import link err on windows
],
"include_dirs": [
"7.40.0/curl-7.40.0/include"
]
},
"dependencies": [
"../openssl/openssl.gyp:*" # only needed for https GETs
]
},

{
"target_name": "curl_example_https",
"type" : "executable",
"defines": [
# otherwise cert verify will fail
"SKIP_PEER_VERIFICATION"
],
"test": {},
"sources" : [
"7.40.0/curl-7.40.0/docs/examples/https.c"
],
"dependencies" : [
"curl"
]
}
]
}
9 changes: 8 additions & 1 deletion library/double-conversion/1.1.5.bru
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,12 @@
"homepage": "https://github.com/floitsch/double-conversion",
"url": "https://github.com/floitsch/double-conversion/archive/v1.1.5.tar.gz",
"module": "double-conversion",
"version": "1.1.5"
"version": "1.1.5",
# folly includes double_conversion/double_conversion.h, even though
# double-conversion's own tests include "double_conversion.h". Also
# the rpm uses the parent dir. So let's copy the #includes to create
# the same dir structure.
"make_command": {
"Linux": "cd double-conversion-1.1.5 && mkdir -p include/double-conversion && cp src/*.h include/double-conversion/"
}
}
Loading

0 comments on commit 2d685d1

Please sign in to comment.