diff --git a/CMakeLists.txt b/CMakeLists.txt index 4ee87986..6b58d2c1 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -494,6 +494,7 @@ set(WRAPPEDS "${BOX86_ROOT}/src/wrapped/wrappeddbusmenuglib.c" "${BOX86_ROOT}/src/wrapped/wrappedappindicator.c" "${BOX86_ROOT}/src/wrapped/wrappedappindicator3.c" + "${BOX86_ROOT}/src/wrapped/wrappedayatanaappindicator3.c" "${BOX86_ROOT}/src/wrapped/wrappedatk.c" "${BOX86_ROOT}/src/wrapped/wrappedatkbridge.c" "${BOX86_ROOT}/src/wrapped/wrappedpangoft2.c" diff --git a/rebuild_wrappers.py b/rebuild_wrappers.py index 7f5a6328..719cd4c5 100755 --- a/rebuild_wrappers.py +++ b/rebuild_wrappers.py @@ -751,6 +751,8 @@ def readFiles(files: Iterable[str]) -> Tuple[JumbledFunctions, JumbledFunctions, or match("gstinterfaces010","gstaudio")\ or match("gstreamer010","gstreamer") \ or match("appindicator","appindicator3")\ + or match("appindicator","ayatanaappindicator3")\ + or match("appindicator3","ayatanaappindicator3")\ \ or match("libc", "tcmallocminimal") \ or match("libc", "ldlinux") \ diff --git a/src/library_list.h b/src/library_list.h index 4c39bd20..bf38d5c8 100755 --- a/src/library_list.h +++ b/src/library_list.h @@ -109,6 +109,7 @@ GO("libdbus-glib-1.so.2", dbusglib1) GO("libgudev-1.0.so.0", gudev1) GO("libappindicator.so.1", appindicator) GO("libappindicator3.so.1", appindicator3) +GO("libayatana-appindicator3.so.1", ayatanaappindicator3) GO("libatk-1.0.so.0", atk) GO("libatk-bridge-2.0.so.0", atkbridge) GO("libpangoft2-1.0.so", pangoft2) diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index 96cf93b9..8e66ed95 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -2429,6 +2429,7 @@ wrappedappindicator3: wrappedatk: wrappedatkbridge: wrappedatomic: +wrappedayatanaappindicator3: wrappedbz2: - iFp: - BZ2_bzCompressEnd diff --git a/src/wrapped/generated/wrappedayatanaappindicator3defs.h b/src/wrapped/generated/wrappedayatanaappindicator3defs.h new file mode 100644 index 00000000..e4ca4339 --- /dev/null +++ b/src/wrapped/generated/wrappedayatanaappindicator3defs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.0.0.11) * + *******************************************************************/ +#ifndef __wrappedayatanaappindicator3DEFS_H_ +#define __wrappedayatanaappindicator3DEFS_H_ + + +#endif // __wrappedayatanaappindicator3DEFS_H_ diff --git a/src/wrapped/generated/wrappedayatanaappindicator3types.h b/src/wrapped/generated/wrappedayatanaappindicator3types.h new file mode 100644 index 00000000..5fc8b253 --- /dev/null +++ b/src/wrapped/generated/wrappedayatanaappindicator3types.h @@ -0,0 +1,17 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.0.0.11) * + *******************************************************************/ +#ifndef __wrappedayatanaappindicator3TYPES_H_ +#define __wrappedayatanaappindicator3TYPES_H_ + +#ifndef LIBNAME +#error You should only #include this file inside a wrapped*.c file +#endif +#ifndef ADDED_FUNCTIONS +#define ADDED_FUNCTIONS() +#endif + + +#define SUPER() ADDED_FUNCTIONS() + +#endif // __wrappedayatanaappindicator3TYPES_H_ diff --git a/src/wrapped/generated/wrappedayatanaappindicator3undefs.h b/src/wrapped/generated/wrappedayatanaappindicator3undefs.h new file mode 100644 index 00000000..a93241fd --- /dev/null +++ b/src/wrapped/generated/wrappedayatanaappindicator3undefs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.0.0.11) * + *******************************************************************/ +#ifndef __wrappedayatanaappindicator3UNDEFS_H_ +#define __wrappedayatanaappindicator3UNDEFS_H_ + + +#endif // __wrappedayatanaappindicator3UNDEFS_H_ diff --git a/src/wrapped/wrappedayatanaappindicator3.c b/src/wrapped/wrappedayatanaappindicator3.c new file mode 100644 index 00000000..f528b7da --- /dev/null +++ b/src/wrapped/wrappedayatanaappindicator3.c @@ -0,0 +1,19 @@ +#include +#include +#include +#define _GNU_SOURCE /* See feature_test_macros(7) */ +#include + +#include "wrappedlibs.h" + +#include "debug.h" +#include "wrapper.h" +#include "bridge.h" +#include "librarian/library_private.h" +#include "x86emu.h" + +const char* ayatanaappindicator3Name = "libayatana-appindicator3.so.1"; + +#define LIBNAME ayatanaappindicator3 + +#include "wrappedlib_init.h" diff --git a/src/wrapped/wrappedayatanaappindicator3_private.h b/src/wrapped/wrappedayatanaappindicator3_private.h new file mode 100644 index 00000000..8c76408b --- /dev/null +++ b/src/wrapped/wrappedayatanaappindicator3_private.h @@ -0,0 +1,45 @@ +#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA)) +#error Meh.... +#endif + +GO(app_indicator_build_menu_from_desktop, vFppp) +GO(app_indicator_category_get_type, pFv) +GO(app_indicator_get_attention_icon, pFp) +GO(app_indicator_get_attention_icon_desc, pFp) +GO(app_indicator_get_category, iFp) +GO(app_indicator_get_icon, pFp) +GO(app_indicator_get_icon_desc, pFp) +GO(app_indicator_get_icon_theme_path, pFp) +GO(app_indicator_get_id, pFp) +GO(app_indicator_get_label, pFp) +GO(app_indicator_get_label_guide, pFp) +GO(app_indicator_get_menu, pFp) +GO(app_indicator_get_ordering_index, uFp) +GO(app_indicator_get_secondary_activate_target, pFp) +GO(app_indicator_get_status, iFp) +GO(app_indicator_get_title, pFp) +GO(app_indicator_get_type, iFv) +GO(app_indicator_new, pFppi) +GO(app_indicator_new_with_path, pFppip) +GO(app_indicator_set_attention_icon, vFpp) +GO(app_indicator_set_attention_icon_full, vFppp) +GO(app_indicator_set_icon, vFpp) +GO(app_indicator_set_icon_full, vFppp) +GO(app_indicator_set_icon_theme_path, vFpp) +GO(app_indicator_set_label, vFppp) +GO(app_indicator_set_menu, vFpp) +GO(app_indicator_set_ordering_index, vFpu) +GO(app_indicator_set_secondary_activate_target, vFpp) +GO(app_indicator_set_status, vFpi) +GO(app_indicator_set_title, vFpp) +GO(app_indicator_status_get_type, iFv) +//GO(_application_service_marshal_VOID__BOOLEAN_STRING_OBJECT, +//GO(_application_service_marshal_VOID__INT_INT, +//GO(_application_service_marshal_VOID__INT_STRING, +//GO(_application_service_marshal_VOID__INT_STRING_STRING, +//GO(_application_service_marshal_VOID__INT_UINT, +//GO(_application_service_marshal_VOID__STRING_INT_STRING_STRING_STRING_STRING_STRING, +//GO(_application_service_marshal_VOID__STRING_STRING, +//GO(_generate_id, +//DATA(_notification_item, +//DATA(_notification_watcher,