Skip to content

Commit

Permalink
[gmime] Fixed missing exports. (#6256)
Browse files Browse the repository at this point in the history
  • Loading branch information
lazyhamster authored and vicroms committed Apr 29, 2019
1 parent 221baaf commit 5936262
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ports/gmime/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: gmime
Version: 3.2.3
Version: 3.2.3-1
Build-Depends: zlib, glib, libiconv, libidn2
Description: GMime is a C/C++ library which may be used for the creation and parsing of messages using the Multipurpose Internet Mail Extension (MIME).
17 changes: 17 additions & 0 deletions ports/gmime/gmime.def
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ g_mime_certificate_get_digest_algo
g_mime_certificate_get_email
g_mime_certificate_get_expires
g_mime_certificate_get_fingerprint
g_mime_certificate_get_id_validity
g_mime_certificate_get_issuer_name
g_mime_certificate_get_issuer_serial
g_mime_certificate_get_key_id
g_mime_certificate_get_name
g_mime_certificate_get_pubkey_algo
g_mime_certificate_get_trust
g_mime_certificate_get_type
g_mime_certificate_get_user_id
g_mime_certificate_list_add
g_mime_certificate_list_clear
g_mime_certificate_list_contains
Expand All @@ -37,12 +39,14 @@ g_mime_certificate_set_digest_algo
g_mime_certificate_set_email
g_mime_certificate_set_expires
g_mime_certificate_set_fingerprint
g_mime_certificate_set_id_validity
g_mime_certificate_set_issuer_name
g_mime_certificate_set_issuer_serial
g_mime_certificate_set_key_id
g_mime_certificate_set_name
g_mime_certificate_set_pubkey_algo
g_mime_certificate_set_trust
g_mime_certificate_set_user_id
g_mime_charset_best
g_mime_charset_best_name
g_mime_charset_can_encode
Expand Down Expand Up @@ -144,6 +148,7 @@ g_mime_filter_best_new
g_mime_filter_charset_get_type
g_mime_filter_charset_new
g_mime_filter_checksum_get_digest
g_mime_filter_checksum_get_string
g_mime_filter_checksum_get_type
g_mime_filter_checksum_new
g_mime_filter_complete
Expand All @@ -156,8 +161,12 @@ g_mime_filter_filter
g_mime_filter_from_get_type
g_mime_filter_from_new
g_mime_filter_get_type
g_mime_filter_gzip_get_comment
g_mime_filter_gzip_get_filename
g_mime_filter_gzip_get_type
g_mime_filter_gzip_new
g_mime_filter_gzip_set_comment
g_mime_filter_gzip_set_filename
g_mime_filter_html_get_type
g_mime_filter_html_new
g_mime_filter_openpgp_new
Expand Down Expand Up @@ -245,6 +254,9 @@ g_mime_message_add_mailbox
g_mime_message_foreach
g_mime_message_get_addresses
g_mime_message_get_all_recipients
g_mime_message_get_autocrypt_gossip_headers
g_mime_message_get_autocrypt_gossip_headers_from_inner_part
g_mime_message_get_autocrypt_header
g_mime_message_get_bcc
g_mime_message_get_body
g_mime_message_get_cc
Expand Down Expand Up @@ -373,12 +385,14 @@ g_mime_parser_options_get_fallback_charsets
g_mime_parser_options_get_parameter_compliance_mode
g_mime_parser_options_get_rfc2047_compliance_mode
g_mime_parser_options_get_type
g_mime_parser_options_get_warning_callback
g_mime_parser_options_new
g_mime_parser_options_set_address_compliance_mode
g_mime_parser_options_set_allow_addresses_without_domain
g_mime_parser_options_set_fallback_charsets
g_mime_parser_options_set_parameter_compliance_mode
g_mime_parser_options_set_rfc2047_compliance_mode
g_mime_parser_options_set_warning_callback
g_mime_parser_set_format
g_mime_parser_set_header_regex
g_mime_parser_set_persist_stream
Expand Down Expand Up @@ -504,9 +518,11 @@ g_mime_stream_mem_new_with_buffer
g_mime_stream_mem_new_with_byte_array
g_mime_stream_mem_set_byte_array
g_mime_stream_mem_set_owner
g_mime_stream_mmap_get_owner
g_mime_stream_mmap_get_type
g_mime_stream_mmap_new
g_mime_stream_mmap_new_with_bounds
g_mime_stream_mmap_set_owner
g_mime_stream_null_set_count_newlines
g_mime_stream_null_get_count_newlines
g_mime_stream_null_get_type
Expand Down Expand Up @@ -544,6 +560,7 @@ g_mime_utils_header_encode_phrase
g_mime_utils_header_encode_text
g_mime_utils_header_format_date
g_mime_utils_header_printf
g_mime_utils_header_unfold
g_mime_utils_quote_string
g_mime_utils_structured_header_fold
g_mime_utils_text_is_8bit
Expand Down
8 changes: 6 additions & 2 deletions ports/gmime/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@ set(LIB_NAME gmime)
set(LIB_VERSION 3.2.3)

set(LIB_FILENAME ${LIB_NAME}-${LIB_VERSION}.tar.xz)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/${LIB_NAME}-${LIB_VERSION})

vcpkg_download_distfile(ARCHIVE
URLS "https://download.gnome.org/sources/gmime/3.2/${LIB_FILENAME}"
FILENAME "${LIB_FILENAME}"
SHA512 abaf9059baf0c045d5b62757953ee2fa0779462eb32142bb41be40c376fc7ac2b3e4a56fd66177fbbe1dca35c6168a251542b14a844125c2cfcc9a99888179b4
)
vcpkg_extract_source_archive(${ARCHIVE})

vcpkg_extract_source_archive_ex(
OUT_SOURCE_PATH SOURCE_PATH
ARCHIVE ${ARCHIVE}
REF ${LIB_VERSION}
)

file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})

Expand Down

0 comments on commit 5936262

Please sign in to comment.