Added wrapped libayatana-appindicator3.so.1 (backported from box64)

This commit is contained in:
ptitSeb 2023-12-09 10:47:47 +01:00
parent e35d6d22a4
commit 0883cdc9ac
9 changed files with 102 additions and 0 deletions

View File

@ -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"

View File

@ -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") \

View File

@ -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)

View File

@ -2429,6 +2429,7 @@ wrappedappindicator3:
wrappedatk:
wrappedatkbridge:
wrappedatomic:
wrappedayatanaappindicator3:
wrappedbz2:
- iFp:
- BZ2_bzCompressEnd

View File

@ -0,0 +1,8 @@
/*******************************************************************
* File automatically generated by rebuild_wrappers.py (v2.0.0.11) *
*******************************************************************/
#ifndef __wrappedayatanaappindicator3DEFS_H_
#define __wrappedayatanaappindicator3DEFS_H_
#endif // __wrappedayatanaappindicator3DEFS_H_

View File

@ -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_

View File

@ -0,0 +1,8 @@
/*******************************************************************
* File automatically generated by rebuild_wrappers.py (v2.0.0.11) *
*******************************************************************/
#ifndef __wrappedayatanaappindicator3UNDEFS_H_
#define __wrappedayatanaappindicator3UNDEFS_H_
#endif // __wrappedayatanaappindicator3UNDEFS_H_

View File

@ -0,0 +1,19 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define _GNU_SOURCE /* See feature_test_macros(7) */
#include <dlfcn.h>
#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"

View File

@ -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,