qulogic/pidgin3-deps

Remove wrap files for Talkatu

6 months ago, Elliott Sales de Andrade
6da32e3760eb
Parents 8be72180511c
Children e7f2ad94ff35
Remove wrap files for Talkatu
--- a/subprojects/cmark-gfm.wrap Tue Nov 07 06:01:12 2023 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-[wrap-file]
-directory = cmark-gfm-0.29.0.gfm.13
-source_url = https://github.com/github/cmark-gfm/archive/refs/tags/0.29.0.gfm.13.tar.gz
-source_filename = cmark-gfm-0.29.0.gfm.13.tar.gz
-source_hash = 5abc61798ebd9de5660bc076443c07abad2b8d15dbc11094a3a79644b8ad243a
-patch_filename = cmark-gfm_0.29.0.gfm.13-1_patch.zip
-patch_url = https://wrapdb.mesonbuild.com/v2/cmark-gfm_0.29.0.gfm.13-1/get_patch
-patch_hash = e64e633e43c20e3b7da624891633d1c51a28ebed17555b2e632c7f5d6c0a2b6f
-source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/cmark-gfm_0.29.0.gfm.13-1/cmark-gfm-0.29.0.gfm.13.tar.gz
-wrapdb_version = 0.29.0.gfm.13-1
-
-[provide]
-libcmark-gfm = cmark_gfm_dep
-libcmark = cmark_gfm_dep
\ No newline at end of file
--- a/subprojects/gumbo.wrap Tue Nov 07 06:01:12 2023 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-[wrap-file]
-directory = gumbo-parser-0.10.1
-source_url = https://github.com/google/gumbo-parser/archive/v0.10.1/gumbo-parser-0.10.1.tar.gz
-source_filename = gumbo-parser-0.10.1.tar.gz
-source_hash = 28463053d44a5dfbc4b77bcf49c8cee119338ffa636cc17fc3378421d714efad
-patch_directory = gumbo-parser
-diff_files = gumbo-parser-429.patch, gumbo-parser-avoid-internals.patch, gumbo-parser-add-data-dllimport.patch
\ No newline at end of file
--- a/subprojects/packagefiles/gumbo-parser-429.patch Tue Nov 07 06:01:12 2023 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,125 +0,0 @@
-From 9ea57ba822c615d414715ecf3e9951d46c128b0a Mon Sep 17 00:00:00 2001
-From: cuongkjm <manhcuong5993@gmail.com>
-Date: Fri, 25 Feb 2022 18:49:22 +0700
-Subject: [PATCH] fix compile error "<strings.h> does not exist" on Windows
-
----
- src/attribute.c | 2 +-
- src/parser.c | 2 +-
- src/string_buffer.c | 2 +-
- src/string_piece.c | 2 +-
- src/string_util.h | 11 +++++++++++
- src/utf8.c | 2 +-
- src/util.c | 2 +-
- src/vector.c | 2 +-
- 8 files changed, 18 insertions(+), 7 deletions(-)
- create mode 100644 src/string_util.h
-
-diff --git a/src/attribute.c b/src/attribute.c
-index 234927a5..501e842a 100644
---- a/src/attribute.c
-+++ b/src/attribute.c
-@@ -19,7 +19,7 @@
- #include <assert.h>
- #include <stdlib.h>
- #include <string.h>
--#include <strings.h>
-+#include "string_util.h"
-
- #include "util.h"
-
-diff --git a/src/parser.c b/src/parser.c
-index dc692b3e..d3a119d3 100644
---- a/src/parser.c
-+++ b/src/parser.c
-@@ -19,7 +19,7 @@
- #include <stdarg.h>
- #include <stdlib.h>
- #include <string.h>
--#include <strings.h>
-+#include "string_util.h"
-
- #include "attribute.h"
- #include "error.h"
-diff --git a/src/string_buffer.c b/src/string_buffer.c
-index d9be2f6b..06365d40 100644
---- a/src/string_buffer.c
-+++ b/src/string_buffer.c
-@@ -19,7 +19,7 @@
- #include <assert.h>
- #include <stdlib.h>
- #include <string.h>
--#include <strings.h>
-+#include "string_util.h"
-
- #include "string_piece.h"
- #include "util.h"
-diff --git a/src/string_piece.c b/src/string_piece.c
-index 8ad5b846..236674c2 100644
---- a/src/string_piece.c
-+++ b/src/string_piece.c
-@@ -19,7 +19,7 @@
- #include <assert.h>
- #include <stdlib.h>
- #include <string.h>
--#include <strings.h>
-+#include "string_util.h"
-
- #include "util.h"
-
-diff --git a/src/string_util.h b/src/string_util.h
-new file mode 100644
-index 00000000..5655138b
---- /dev/null
-+++ b/src/string_util.h
-@@ -0,0 +1,11 @@
-+#ifndef STRING_UTIL_H
-+#define STRING_UTIL_H
-+
-+#if defined(_WIN32) || defined(_WIN64)
-+# define strcasecmp _stricmp
-+# define strncasecmp _strnicmp
-+#else
-+#include <strings.h>
-+#endif
-+
-+#endif // STRING_UTIL_H
-diff --git a/src/utf8.c b/src/utf8.c
-index fdd6f837..f6e3a598 100644
---- a/src/utf8.c
-+++ b/src/utf8.c
-@@ -19,7 +19,7 @@
- #include <assert.h>
- #include <stdint.h>
- #include <string.h>
--#include <strings.h> // For strncasecmp.
-+#include "string_util.h" // For strncasecmp.
-
- #include "error.h"
- #include "gumbo.h"
-diff --git a/src/util.c b/src/util.c
-index 5a24c115..c4c11911 100644
---- a/src/util.c
-+++ b/src/util.c
-@@ -19,7 +19,7 @@
- #include <assert.h>
- #include <stdlib.h>
- #include <string.h>
--#include <strings.h>
-+#include "string_util.h"
- #include <stdarg.h>
- #include <stdio.h>
-
-diff --git a/src/vector.c b/src/vector.c
-index 51758dfe..97a152d3 100644
---- a/src/vector.c
-+++ b/src/vector.c
-@@ -19,7 +19,7 @@
- #include <assert.h>
- #include <stdlib.h>
- #include <string.h>
--#include <strings.h>
-+#include "string_util.h"
-
- #include "util.h"
-
--- a/subprojects/packagefiles/gumbo-parser-add-data-dllimport.patch Tue Nov 07 06:01:12 2023 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,102 +0,0 @@
-diff -uPNr gumbo-parser-0.10.1.orig/meson.build gumbo-parser-0.10.1/meson.build
---- gumbo-parser-0.10.1.orig/meson.build 2023-10-10 02:57:46.230115200 -0400
-+++ gumbo-parser-0.10.1/meson.build 2023-10-10 03:53:27.052032900 -0400
-@@ -48,6 +48,7 @@
- 'src/vector.h',
- 'src/gumbo.h',
- 'src/tag_enum.h',
-+ c_args: ['-DGUMBO_EXPORTS'],
- soversion: '1.0.0',
- vs_module_defs: 'gumbo.def',
- install: true,
-diff -uPNr gumbo-parser-0.10.1.orig/src/char_ref.h gumbo-parser-0.10.1/src/char_ref.h
---- gumbo-parser-0.10.1.orig/src/char_ref.h 2015-04-30 23:12:49.000000000 -0400
-+++ gumbo-parser-0.10.1/src/char_ref.h 2023-10-10 03:54:35.795033800 -0400
-@@ -21,6 +21,8 @@
- #ifndef GUMBO_CHAR_REF_H_
- #define GUMBO_CHAR_REF_H_
-
-+#include "gumbo.h"
-+
- #include <stdbool.h>
-
- #ifdef __cplusplus
-@@ -31,7 +33,7 @@
- struct GumboInternalUtf8Iterator;
-
- // Value that indicates no character was produced.
--extern const int kGumboNoChar;
-+GUMBO_API extern const int kGumboNoChar;
-
- // Certain named character references generate two codepoints, not one, and so
- // the consume_char_ref subroutine needs to return this instead of an int. The
-diff -uPNr gumbo-parser-0.10.1.orig/src/gumbo.h gumbo-parser-0.10.1/src/gumbo.h
---- gumbo-parser-0.10.1.orig/src/gumbo.h 2015-04-30 23:12:49.000000000 -0400
-+++ gumbo-parser-0.10.1/src/gumbo.h 2023-10-10 03:53:30.781837300 -0400
-@@ -54,6 +54,18 @@
- extern "C" {
- #endif
-
-+#ifdef _WIN32
-+#ifdef GUMBO_EXPORTS
-+/* If accessing the data from inside the DLL. */
-+#define GUMBO_API __declspec(dllexport)
-+#else
-+/* If accessing the data from outside the DLL. */
-+#define GUMBO_API __declspec(dllimport)
-+#endif
-+#else
-+#define GUMBO_API
-+#endif
-+
- /**
- * A struct representing a character position within the original text buffer.
- * Line and column numbers are 1-based and offsets are 0-based, which matches
-@@ -74,7 +86,7 @@
- * A SourcePosition used for elements that have no source position, i.e.
- * parser-inserted elements.
- */
--extern const GumboSourcePosition kGumboEmptySourcePosition;
-+GUMBO_API extern const GumboSourcePosition kGumboEmptySourcePosition;
-
- /**
- * A struct representing a string or part of a string. Strings within the
-@@ -94,7 +106,7 @@
- } GumboStringPiece;
-
- /** A constant to represent a 0-length null string. */
--extern const GumboStringPiece kGumboEmptyString;
-+GUMBO_API extern const GumboStringPiece kGumboEmptyString;
-
- /**
- * Compares two GumboStringPieces, and returns true if they're equal or false
-@@ -133,7 +145,7 @@
- } GumboVector;
-
- /** An empty (0-length, 0-capacity) GumboVector. */
--extern const GumboVector kGumboEmptyVector;
-+GUMBO_API extern const GumboVector kGumboEmptyVector;
-
- /**
- * Returns the first index at which an element appears in this vector (testing
-@@ -619,7 +631,7 @@
- } GumboOptions;
-
- /** Default options struct; use this with gumbo_parse_with_options. */
--extern const GumboOptions kGumboDefaultOptions;
-+GUMBO_API extern const GumboOptions kGumboDefaultOptions;
-
- /** The output struct containing the results of the parse. */
- typedef struct GumboInternalOutput {
-diff -uPNr gumbo-parser-0.10.1.orig/src/utf8.h gumbo-parser-0.10.1/src/utf8.h
---- gumbo-parser-0.10.1.orig/src/utf8.h 2015-04-30 23:12:49.000000000 -0400
-+++ gumbo-parser-0.10.1/src/utf8.h 2023-10-10 03:55:37.304902900 -0400
-@@ -45,7 +45,7 @@
- struct GumboInternalParser;
-
- // Unicode replacement char.
--extern const int kUtf8ReplacementChar;
-+GUMBO_API extern const int kUtf8ReplacementChar;
-
- typedef struct GumboInternalUtf8Iterator {
- // Points at the start of the code point most recently read into 'current'.
--- a/subprojects/packagefiles/gumbo-parser-avoid-internals.patch Tue Nov 07 06:01:12 2023 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-diff -uPNr gumbo-parser-0.10.1.orig/tests/tokenizer.cc gumbo-parser-0.10.1/tests/tokenizer.cc
---- gumbo-parser-0.10.1.orig/tests/tokenizer.cc 2015-04-30 23:12:49.000000000 -0400
-+++ gumbo-parser-0.10.1/tests/tokenizer.cc 2023-10-10 03:09:39.933421900 -0400
-@@ -21,8 +21,6 @@
- #include "gtest/gtest.h"
- #include "test_utils.h"
-
--extern const char* kGumboTagNames[];
--
- namespace {
-
- // Tests for tokenizer.c
-@@ -53,7 +51,7 @@
-
- TEST(GumboTagEnumTest, TagEnumIncludesAllTags) {
- EXPECT_EQ(150, GUMBO_TAG_UNKNOWN);
-- EXPECT_STREQ("", kGumboTagNames[GUMBO_TAG_UNKNOWN]);
-+ EXPECT_STREQ("", gumbo_normalized_tagname(GUMBO_TAG_UNKNOWN));
- }
-
- TEST_F(GumboTokenizerTest, PartialTag) {
--- a/subprojects/packagefiles/gumbo-parser/gumbo.def Tue Nov 07 06:01:12 2023 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-EXPORTS
- kGumboDefaultOptions @1 DATA
- kGumboEmptySourcePosition @2 DATA
- kGumboEmptyString @3 DATA
- kGumboEmptyVector @4 DATA
-
-EXPORTS
- gumbo_destroy_output @5
- gumbo_get_attribute @6
- gumbo_normalized_tagname @7
- gumbo_normalize_svg_tagname @8
- gumbo_parse @9
- gumbo_parse_with_options @10
- gumbo_string_equals @11
- gumbo_string_equals_ignore_case @12
- gumbo_tag_enum @13
- gumbo_tag_from_original_text @14
- gumbo_tagn_enum @15
- gumbo_vector_index_of @16
-
-; All following items are not in headers, but _might_ be used in tests, so we don't export the name.
-EXPORTS
- kGumboNoChar @18 NONAME DATA
- kUtf8ReplacementChar @41 NONAME DATA
-
-EXPORTS
- gumbo_destroy_attribute @17 NONAME
-
- consume_char_ref @19 NONAME
-
- gumbo_add_error @20 NONAME
- gumbo_init_errors @21 NONAME
- gumbo_destroy_errors @22 NONAME
- gumbo_error_destroy @23 NONAME
- gumbo_error_to_string @24 NONAME
- gumbo_caret_diagnostic_to_string @25 NONAME
- gumbo_print_caret_diagnostic @26 NONAME
-
- gumbo_string_buffer_init @27 NONAME
- gumbo_string_buffer_reserve @28 NONAME
- gumbo_string_buffer_append_codepoint @29 NONAME
- gumbo_string_buffer_append_string @30 NONAME
- gumbo_string_buffer_to_string @31 NONAME
- gumbo_string_buffer_clear @32 NONAME
- gumbo_string_buffer_destroy @33 NONAME
-
- gumbo_string_copy @34 NONAME
-
- gumbo_tokenizer_state_init @35 NONAME
- gumbo_tokenizer_state_destroy @36 NONAME
- gumbo_tokenizer_set_state @37 NONAME
- gumbo_tokenizer_set_is_current_node_foreign @38 NONAME
- gumbo_lex @39 NONAME
- gumbo_token_destroy @40 NONAME
-
- utf8_is_invalid_code_point @42 NONAME
- utf8iterator_init @43 NONAME
- utf8iterator_next @44 NONAME
- utf8iterator_current @45 NONAME
- utf8iterator_get_position @46 NONAME
- utf8iterator_get_char_pointer @47 NONAME
- utf8iterator_get_end_pointer @48 NONAME
- utf8iterator_maybe_consume_match @49 NONAME
- utf8iterator_mark @50 NONAME
- utf8iterator_reset @51 NONAME
- utf8iterator_fill_error_at_mark @52 NONAME
-
- gumbo_copy_stringz @53 NONAME
- gumbo_parser_allocate @54 NONAME
- gumbo_parser_deallocate @55 NONAME
- gumbo_debug @56 NONAME
-
- gumbo_vector_init @57 NONAME
- gumbo_vector_destroy @58 NONAME
- gumbo_vector_add @59 NONAME
- gumbo_vector_pop @60 NONAME
- gumbo_vector_insert_at @61 NONAME
- gumbo_vector_remove @62 NONAME
- gumbo_vector_remove_at @63 NONAME
--- a/subprojects/packagefiles/gumbo-parser/meson.build Tue Nov 07 06:01:12 2023 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,88 +0,0 @@
-project('gumbo-parser', 'c', 'cpp',
- meson_version: '>=0.64.0',
- version: '0.10.1',
- default_options: [
- 'c_std=c99',
- ],
-)
-
-cc = meson.get_compiler('c')
-
-# Checks for header files.
-foreach header: ['stddef.h', 'stdlib.h', 'string.h', 'strings.h']
- cc.check_header(header)
-endforeach
-
-# Checks for test functions.
-gtest_dep = dependency('gtest', main : true, fallback: ['gtest', 'gtest_main_dep'])
-
-# Create gumbo library.
-libgumbo = library('gumbo',
- 'src/attribute.c',
- 'src/attribute.h',
- 'src/char_ref.c',
- 'src/char_ref.h',
- 'src/error.c',
- 'src/error.h',
- 'src/insertion_mode.h',
- 'src/parser.c',
- 'src/parser.h',
- 'src/string_buffer.c',
- 'src/string_buffer.h',
- 'src/string_piece.c',
- 'src/string_piece.h',
- 'src/tag.c',
- 'src/tag_enum.h',
- 'src/tag_gperf.h',
- 'src/tag_strings.h',
- 'src/tag_sizes.h',
- 'src/token_type.h',
- 'src/tokenizer.c',
- 'src/tokenizer.h',
- 'src/tokenizer_states.h',
- 'src/utf8.c',
- 'src/utf8.h',
- 'src/util.c',
- 'src/util.h',
- 'src/vector.c',
- 'src/vector.h',
- 'src/gumbo.h',
- 'src/tag_enum.h',
- c_args: ['-DGUMBO_EXPORTS'],
- soversion: '1.0.0',
- vs_module_defs: 'gumbo.def',
- install: true,
-)
-
-pkgconfig = import('pkgconfig')
-pkgconfig.generate(libgumbo,
- name: 'Gumbo',
- description: 'A fully-compliant HTML5 parser.',
- filebase: 'gumbo',
-)
-
-# Create test program.
-gumbo_test = executable('gumbo_test',
- 'tests/attribute.cc',
- 'tests/char_ref.cc',
- 'tests/parser.cc',
- 'tests/string_buffer.cc',
- 'tests/string_piece.cc',
- 'tests/tokenizer.cc',
- 'tests/test_utils.cc',
- 'tests/utf8.cc',
- 'tests/vector.cc',
- include_directories: include_directories('src'),
- link_with: libgumbo,
- dependencies: gtest_dep,
-)
-test('gumbo', gumbo_test)
-
-# Create separate gumbo header for subproject usage.
-subdir('include')
-
-gumbo_dep = declare_dependency(
- include_directories: gumbo_inc,
- link_with: libgumbo,
-)
-meson.override_dependency('gumbo', gumbo_dep)