Skip to content

Commit

Permalink
experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxython committed Jan 4, 2024
1 parent 980ef1e commit 2395a24
Show file tree
Hide file tree
Showing 12 changed files with 3,246 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gpkg/gobject-introspection/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,12 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
"

termux_step_pre_configure() {
TERMUX_PKG_VERSION=. termux_setup_gir
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" -Dgi_cross_binary_wrapper=$GI_CROSS_LAUNCHER"
unset GI_CROSS_LAUNCHER
if [ "$TERMUX_ON_DEVICE_BUILD" = "false" ]; then
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" -Dgi_cross_use_prebuilt_gi=true"
fi

CPPFLAGS+="-I$TERMUX_PREFIX/include/python${TERMUX_PYTHON_VERSION} -I$TERMUX_PREFIX/include/python${TERMUX_PYTHON_VERSION}/cpython"
}
8 changes: 8 additions & 0 deletions gpkg/gobject-introspection/gir/1.78.1/GIRepository-2.0.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<dump>
<boxed name="GIBaseInfo" get-type="g_base_info_gtype_get_type"/>
<class name="GIRepository" get-type="g_irepository_get_type" parents="GObject">
</class>
<error-quark function="g_invoke_error_quark" domain="g-invoke-error-quark"/>
<error-quark function="g_irepository_error_quark" domain="g-irepository-error-quark"/>
</dump>
59 changes: 59 additions & 0 deletions gpkg/gobject-introspection/gir/1.78.1/GLib-2.0.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<?xml version="1.0"?>
<dump>
<boxed name="GDate" get-type="g_date_get_type"/>
<boxed name="GStrv" get-type="g_strv_get_type"/>
<boxed name="GString" get-type="g_gstring_get_type"/>
<boxed name="GHashTable" get-type="g_hash_table_get_type"/>
<boxed name="GArray" get-type="g_array_get_type"/>
<boxed name="GByteArray" get-type="g_byte_array_get_type"/>
<boxed name="GPtrArray" get-type="g_ptr_array_get_type"/>
<boxed name="GBytes" get-type="g_bytes_get_type"/>
<boxed name="GVariantType" get-type="g_variant_type_get_gtype"/>
<boxed name="GRegex" get-type="g_regex_get_type"/>
<boxed name="GMatchInfo" get-type="g_match_info_get_type"/>
<boxed name="GError" get-type="g_error_get_type"/>
<boxed name="GDateTime" get-type="g_date_time_get_type"/>
<boxed name="GTimeZone" get-type="g_time_zone_get_type"/>
<boxed name="GIOChannel" get-type="g_io_channel_get_type"/>
<flags name="GIOCondition" get-type="g_io_condition_get_type">
<member name="G_IO_IN" nick="in" value="1"/>
<member name="G_IO_OUT" nick="out" value="4"/>
<member name="G_IO_PRI" nick="pri" value="2"/>
<member name="G_IO_ERR" nick="err" value="8"/>
<member name="G_IO_HUP" nick="hup" value="16"/>
<member name="G_IO_NVAL" nick="nval" value="32"/>
</flags>
<boxed name="GVariantBuilder" get-type="g_variant_builder_get_type"/>
<boxed name="GVariantDict" get-type="g_variant_dict_get_type"/>
<boxed name="GKeyFile" get-type="g_key_file_get_type"/>
<boxed name="GMainLoop" get-type="g_main_loop_get_type"/>
<boxed name="GMainContext" get-type="g_main_context_get_type"/>
<boxed name="GSource" get-type="g_source_get_type"/>
<boxed name="GPollFD" get-type="g_pollfd_get_type"/>
<boxed name="GThread" get-type="g_thread_get_type"/>
<boxed name="GChecksum" get-type="g_checksum_get_type"/>
<boxed name="GMarkupParseContext" get-type="g_markup_parse_context_get_type"/>
<boxed name="GMappedFile" get-type="g_mapped_file_get_type"/>
<boxed name="GOptionGroup" get-type="g_option_group_get_type"/>
<boxed name="GUri" get-type="g_uri_get_type"/>
<boxed name="GTree" get-type="g_tree_get_type"/>
<boxed name="GPatternSpec" get-type="g_pattern_spec_get_type"/>
<boxed name="GBookmarkFile" get-type="g_bookmark_file_get_type"/>
<error-quark function="g_thread_error_quark" domain="g_thread_error"/>
<error-quark function="g_bookmark_file_error_quark" domain="g-bookmark-file-error-quark"/>
<error-quark function="g_convert_error_quark" domain="g_convert_error"/>
<error-quark function="g_file_error_quark" domain="g-file-error-quark"/>
<error-quark function="g_number_parser_error_quark" domain="g-number-parser-error-quark"/>
<error-quark function="g_io_channel_error_quark" domain="g-io-channel-error-quark"/>
<error-quark function="g_key_file_error_quark" domain="g-key-file-error-quark"/>
<error-quark function="g_markup_error_quark" domain="g-markup-error-quark"/>
<error-quark function="g_variant_parser_get_error_quark" domain="g-variant-parse-error-quark"/>
<error-quark function="g_variant_parse_error_quark" domain="g-variant-parse-error-quark"/>
<error-quark function="g_option_error_quark" domain="g-option-context-error-quark"/>
<error-quark function="g_regex_error_quark" domain="g-regex-error-quark"/>
<error-quark function="g_shell_error_quark" domain="g-shell-error-quark"/>
<error-quark function="g_spawn_error_quark" domain="g-exec-error-quark"/>
<error-quark function="g_spawn_exit_error_quark" domain="g-spawn-exit-error-quark"/>
<error-quark function="g_uri_error_quark" domain="g-uri-quark"/>
<error-quark function="g_unix_error_quark" domain="g-unix-error-quark"/>
</dump>
4 changes: 4 additions & 0 deletions gpkg/gobject-introspection/gir/1.78.1/GModule-2.0.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0"?>
<dump>
<error-quark function="g_module_error_quark" domain="g-module-error-quark"/>
</dump>
43 changes: 43 additions & 0 deletions gpkg/gobject-introspection/gir/1.78.1/GObject-2.0.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?xml version="1.0"?>
<dump>
<boxed name="GClosure" get-type="g_closure_get_type"/>
<boxed name="GValue" get-type="g_value_get_type"/>
<class name="GInitiallyUnowned" get-type="g_initially_unowned_get_type" parents="GObject">
</class>
<class name="GObject" get-type="g_object_get_type">
<signal name="notify" return="void" when="first" no-recurse="1" detailed="1" action="1" no-hooks="1">
<param type="GParam"/>
</signal>
</class>
<flags name="GBindingFlags" get-type="g_binding_flags_get_type">
<member name="G_BINDING_DEFAULT" nick="default" value="0"/>
<member name="G_BINDING_BIDIRECTIONAL" nick="bidirectional" value="1"/>
<member name="G_BINDING_SYNC_CREATE" nick="sync-create" value="2"/>
<member name="G_BINDING_INVERT_BOOLEAN" nick="invert-boolean" value="4"/>
</flags>
<class name="GBinding" get-type="g_binding_get_type" parents="GObject">
<property name="source" type="GObject" flags="235"/>
<property name="target" type="GObject" flags="235"/>
<property name="source-property" type="gchararray" flags="235" default-value="NULL"/>
<property name="target-property" type="gchararray" flags="235" default-value="NULL"/>
<property name="flags" type="GBindingFlags" flags="235" default-value="G_BINDING_DEFAULT"/>
</class>
<class name="GBindingGroup" get-type="g_binding_group_get_type" parents="GObject">
<property name="source" type="GObject" flags="1073742051"/>
</class>
<class name="GSignalGroup" get-type="g_signal_group_get_type" parents="GObject">
<property name="target" type="GObject" flags="1073742051"/>
<property name="target-type" type="GType" flags="235"/>
<signal name="bind" return="void" when="last">
<param type="GObject"/>
</signal>
<signal name="unbind" return="void" when="last">
</signal>
</class>
<class name="GTypeModule" get-type="g_type_module_get_type" parents="GObject" abstract="1">
<implements name="GTypePlugin"/>
</class>
<interface name="GTypePlugin" get-type="g_type_plugin_get_type">
</interface>
<boxed name="GValueArray" get-type="g_value_array_get_type"/>
</dump>
Loading

0 comments on commit 2395a24

Please sign in to comment.