From d359a4b344c2b2daa496647b57a3623a45d35d06 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 11 Jun 2021 15:40:01 +0200 Subject: Mono bindings: Change namespace from ayatana-appindicator-sharp3 to ayatana-appindicator3-sharp (and similar). --- bindings/mono/ApplicationIndicatorCustom.cs | 6 +- bindings/mono/CMakeLists.txt | 100 ++++++++++----------- bindings/mono/app-indicator.sources.xml.in | 4 +- .../mono/ayatana-appindicator-sharp.dll.config | 7 -- bindings/mono/ayatana-appindicator-sharp.snk | Bin 596 -> 0 bytes .../mono/ayatana-appindicator-sharp3-0.1.pc.in | 12 --- .../mono/ayatana-appindicator3-sharp-0.1.pc.in | 12 +++ .../mono/ayatana-appindicator3-sharp.dll.config | 7 ++ bindings/mono/ayatana-appindicator3-sharp.snk | Bin 0 -> 596 bytes bindings/mono/examples/CMakeLists.txt | 2 +- bindings/mono/libayatana-appindicator-api.metadata | 66 -------------- .../mono/libayatana-appindicator3-api.metadata | 66 ++++++++++++++ ...policy.0.0.ayatana-appindicator-sharp.config.in | 10 --- ...olicy.0.0.ayatana-appindicator3-sharp.config.in | 10 +++ ...policy.0.1.ayatana-appindicator-sharp.config.in | 10 --- ...olicy.0.1.ayatana-appindicator3-sharp.config.in | 10 +++ 16 files changed, 161 insertions(+), 161 deletions(-) delete mode 100644 bindings/mono/ayatana-appindicator-sharp.dll.config delete mode 100644 bindings/mono/ayatana-appindicator-sharp.snk delete mode 100644 bindings/mono/ayatana-appindicator-sharp3-0.1.pc.in create mode 100644 bindings/mono/ayatana-appindicator3-sharp-0.1.pc.in create mode 100644 bindings/mono/ayatana-appindicator3-sharp.dll.config create mode 100644 bindings/mono/ayatana-appindicator3-sharp.snk delete mode 100644 bindings/mono/libayatana-appindicator-api.metadata create mode 100644 bindings/mono/libayatana-appindicator3-api.metadata delete mode 100644 bindings/mono/policy.0.0.ayatana-appindicator-sharp.config.in create mode 100644 bindings/mono/policy.0.0.ayatana-appindicator3-sharp.config.in delete mode 100644 bindings/mono/policy.0.1.ayatana-appindicator-sharp.config.in create mode 100644 bindings/mono/policy.0.1.ayatana-appindicator3-sharp.config.in diff --git a/bindings/mono/ApplicationIndicatorCustom.cs b/bindings/mono/ApplicationIndicatorCustom.cs index 372b1c1..7e4b24c 100644 --- a/bindings/mono/ApplicationIndicatorCustom.cs +++ b/bindings/mono/ApplicationIndicatorCustom.cs @@ -5,13 +5,13 @@ namespace AyatanaAppIndicator { public partial class ApplicationIndicator : GLib.Object { - [DllImport ("ayatana-appindicator.dll")] + [DllImport ("ayatana-appindicator3.dll")] static extern int app_indicator_get_status (IntPtr i); - [DllImport ("ayatana-appindicator.dll")] + [DllImport ("ayatana-appindicator3.dll")] static extern int app_indicator_get_category (IntPtr i); - [DllImport ("ayatana-appindicator.dll")] + [DllImport ("ayatana-appindicator3.dll")] static extern void app_indicator_set_status (IntPtr i, int s); [GLib.Property ("status")] diff --git a/bindings/mono/CMakeLists.txt b/bindings/mono/CMakeLists.txt index 2a9d990..762aa0b 100644 --- a/bindings/mono/CMakeLists.txt +++ b/bindings/mono/CMakeLists.txt @@ -1,12 +1,12 @@ -# ayatana-appindicator-sharp3-0.1.pc +# ayatana-appindicator3-sharp-0.1.pc -configure_file("${CMAKE_CURRENT_SOURCE_DIR}/ayatana-appindicator-sharp3-0.1.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/ayatana-appindicator-sharp3-0.1.pc" @ONLY) -install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ayatana-appindicator-sharp3-0.1.pc" DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/pkgconfig") +configure_file("${CMAKE_CURRENT_SOURCE_DIR}/ayatana-appindicator3-sharp-0.1.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/ayatana-appindicator3-sharp-0.1.pc" @ONLY) +install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ayatana-appindicator3-sharp-0.1.pc" DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/pkgconfig") -# ayatana-appindicator-sharp.dll.config +# ayatana-appindicator3-sharp.dll.config -file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/ayatana-appindicator-sharp.dll.config" DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) -install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/ayatana-appindicator-sharp.dll.config" DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/cli/ayatana-appindicator-sharp3-0.1") +file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/ayatana-appindicator3-sharp.dll.config" DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) +install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/ayatana-appindicator3-sharp.dll.config" DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/cli/ayatana-appindicator3-sharp-0.1") # app-indicator.sources.xml @@ -14,12 +14,12 @@ file(RELATIVE_PATH REL_BIN ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_BINARY_DIR}) file(RELATIVE_PATH REL_SRC ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_SOURCE_DIR}) configure_file("${CMAKE_CURRENT_SOURCE_DIR}/app-indicator.sources.xml.in" "${CMAKE_CURRENT_BINARY_DIR}/app-indicator.sources.xml" @ONLY) -# libayatana-appindicator-api.raw +# libayatana-appindicator3-api.raw find_program(GAPI3_PARSER gapi3-parser) add_custom_command( - OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/libayatana-appindicator-api.raw" + OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/libayatana-appindicator3-api.raw" DEPENDS "src" "${CMAKE_CURRENT_BINARY_DIR}/app-indicator.sources.xml" WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND @@ -27,30 +27,30 @@ add_custom_command( "${CMAKE_CURRENT_BINARY_DIR}/app-indicator.sources.xml" ) -# libayatana-appindicator-api.middle +# libayatana-appindicator3-api.middle find_program(GAPI3_FIXUP gapi3-fixup) add_custom_command( - OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/libayatana-appindicator-api.middle" - DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/libayatana-appindicator-api.raw" + OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/libayatana-appindicator3-api.middle" + DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/libayatana-appindicator3-api.raw" WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${CMAKE_COMMAND} -E copy - "${CMAKE_CURRENT_BINARY_DIR}/libayatana-appindicator-api.raw" - "${CMAKE_CURRENT_BINARY_DIR}/libayatana-appindicator-api.middle" + "${CMAKE_CURRENT_BINARY_DIR}/libayatana-appindicator3-api.raw" + "${CMAKE_CURRENT_BINARY_DIR}/libayatana-appindicator3-api.middle" COMMAND ${GAPI3_FIXUP} - --api=libayatana-appindicator-api.middle - --metadata="${CMAKE_CURRENT_SOURCE_DIR}/libayatana-appindicator-api.metadata" + --api=libayatana-appindicator3-api.middle + --metadata="${CMAKE_CURRENT_SOURCE_DIR}/libayatana-appindicator3-api.metadata" ) -# libayatana-appindicator-api.xml +# libayatana-appindicator3-api.xml add_custom_command( - OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/libayatana-appindicator-api.xml" - DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/libayatana-appindicator-api.middle" + OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/libayatana-appindicator3-api.xml" + DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/libayatana-appindicator3-api.middle" WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} VERBATIM COMMAND @@ -77,7 +77,7 @@ add_custom_command( -e "s|PROP_DBUS_MENU_SERVER_S|dbus-menu-server|" -e "s|PROP_TITLE_S|Title|" -e "s|PROP_TITLE_S|title|" - "${CMAKE_CURRENT_BINARY_DIR}/libayatana-appindicator-api.middle" > "${CMAKE_CURRENT_BINARY_DIR}/libayatana-appindicator-api.xml" + "${CMAKE_CURRENT_BINARY_DIR}/libayatana-appindicator3-api.middle" > "${CMAKE_CURRENT_BINARY_DIR}/libayatana-appindicator3-api.xml" ) # AppIndicatorCategory.cs @@ -108,23 +108,23 @@ add_custom_command( OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/AyatanaAppIndicator/ScrollEventHandler.cs" OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/AyatanaAppIndicator/ConnectionChangedHandler.cs" OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/AyatanaAppIndicator/NewLabelHandler.cs" - DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/libayatana-appindicator-api.xml" + DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/libayatana-appindicator3-api.xml" WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${GAPI3_CODEGEN} - --generate libayatana-appindicator-api.xml + --generate libayatana-appindicator3-api.xml --outdir=${CMAKE_CURRENT_BINARY_DIR} - --assembly-name=ayatana-appindicator-sharp + --assembly-name=ayatana-appindicator3-sharp ${GTK_SHARP_3_0_INCLUDE_DIRS} ) -# ayatana-appindicator-sharp.dll +# ayatana-appindicator3-sharp.dll pkg_check_modules(MONO REQUIRED mono>=5.18) find_program(MCS mcs) add_custom_command( - OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/ayatana-appindicator-sharp.dll" + OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/ayatana-appindicator3-sharp.dll" DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/GtkSharp/ObjectManager.cs" DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/AyatanaAppIndicator/AppIndicatorCategory.cs" DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/AyatanaAppIndicator/NewAttentionIconHandler.cs" @@ -139,64 +139,64 @@ add_custom_command( WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${MCS} - -keyfile:"${CMAKE_CURRENT_SOURCE_DIR}/ayatana-appindicator-sharp.snk" + -keyfile:"${CMAKE_CURRENT_SOURCE_DIR}/ayatana-appindicator3-sharp.snk" -nowarn:0169,0612,0618 -unsafe - -out:"${CMAKE_CURRENT_BINARY_DIR}/ayatana-appindicator-sharp.dll" + -out:"${CMAKE_CURRENT_BINARY_DIR}/ayatana-appindicator3-sharp.dll" -target:library ${GTK_SHARP_3_0_LDFLAGS} "${CMAKE_CURRENT_BINARY_DIR}/AyatanaAppIndicator/*.cs" "${CMAKE_CURRENT_BINARY_DIR}/GtkSharp/ObjectManager.cs" "${CMAKE_CURRENT_SOURCE_DIR}/AssemblyInfo.cs" "${CMAKE_CURRENT_SOURCE_DIR}/ApplicationIndicatorCustom.cs" ) find_program(GACUTIL gacutil) -install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ayatana-appindicator-sharp.dll" DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/cli/ayatana-appindicator-sharp3-0.1") -install(CODE "execute_process(WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${GACUTIL} -i ${CMAKE_CURRENT_BINARY_DIR}/ayatana-appindicator-sharp.dll -package ayatana-appindicator-sharp -root ${CMAKE_INSTALL_FULL_LIBDIR})") +install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ayatana-appindicator3-sharp.dll" DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/cli/ayatana-appindicator3-sharp-0.1") +install(CODE "execute_process(WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${GACUTIL} -i ${CMAKE_CURRENT_BINARY_DIR}/ayatana-appindicator3-sharp.dll -package ayatana-appindicator3-sharp -root ${CMAKE_INSTALL_FULL_LIBDIR})") -# policy.0.0.ayatana-appindicator-sharp.config +# policy.0.0.ayatana-appindicator3-sharp.config -configure_file("${CMAKE_CURRENT_SOURCE_DIR}/policy.0.0.ayatana-appindicator-sharp.config.in" "${CMAKE_CURRENT_BINARY_DIR}/policy.0.0.ayatana-appindicator-sharp.config" @ONLY) -install(FILES "${CMAKE_CURRENT_BINARY_DIR}/policy.0.0.ayatana-appindicator-sharp.config" DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/cli/ayatana-appindicator-sharp3-0.1") +configure_file("${CMAKE_CURRENT_SOURCE_DIR}/policy.0.0.ayatana-appindicator3-sharp.config.in" "${CMAKE_CURRENT_BINARY_DIR}/policy.0.0.ayatana-appindicator3-sharp.config" @ONLY) +install(FILES "${CMAKE_CURRENT_BINARY_DIR}/policy.0.0.ayatana-appindicator3-sharp.config" DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/cli/ayatana-appindicator3-sharp-0.1") -# policy.0.0.ayatana-appindicator-sharp.dll +# policy.0.0.ayatana-appindicator3-sharp.dll find_program(AL al) add_custom_command( - OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/policy.0.0.ayatana-appindicator-sharp.dll" - DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/ayatana-appindicator-sharp.dll" + OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/policy.0.0.ayatana-appindicator3-sharp.dll" + DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/ayatana-appindicator3-sharp.dll" WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${AL} - -link:"${CMAKE_CURRENT_BINARY_DIR}/policy.0.0.ayatana-appindicator-sharp.config" - -out:"${CMAKE_CURRENT_BINARY_DIR}/policy.0.0.ayatana-appindicator-sharp.dll" - -keyfile:"${CMAKE_CURRENT_SOURCE_DIR}/ayatana-appindicator-sharp.snk" + -link:"${CMAKE_CURRENT_BINARY_DIR}/policy.0.0.ayatana-appindicator3-sharp.config" + -out:"${CMAKE_CURRENT_BINARY_DIR}/policy.0.0.ayatana-appindicator3-sharp.dll" + -keyfile:"${CMAKE_CURRENT_SOURCE_DIR}/ayatana-appindicator3-sharp.snk" ) -install(FILES "${CMAKE_CURRENT_BINARY_DIR}/policy.0.0.ayatana-appindicator-sharp.dll" DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/cli/ayatana-appindicator-sharp3-0.1") -install(CODE "execute_process(WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${GACUTIL} -i ${CMAKE_CURRENT_BINARY_DIR}/policy.0.0.ayatana-appindicator-sharp.dll -package ayatana-appindicator-sharp -root ${CMAKE_INSTALL_FULL_LIBDIR})") +install(FILES "${CMAKE_CURRENT_BINARY_DIR}/policy.0.0.ayatana-appindicator3-sharp.dll" DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/cli/ayatana-appindicator3-sharp-0.1") +install(CODE "execute_process(WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${GACUTIL} -i ${CMAKE_CURRENT_BINARY_DIR}/policy.0.0.ayatana-appindicator3-sharp.dll -package ayatana-appindicator3-sharp -root ${CMAKE_INSTALL_FULL_LIBDIR})") -# policy.0.1.ayatana-appindicator-sharp.config +# policy.0.1.ayatana-appindicator3-sharp.config -configure_file("${CMAKE_CURRENT_SOURCE_DIR}/policy.0.1.ayatana-appindicator-sharp.config.in" "${CMAKE_CURRENT_BINARY_DIR}/policy.0.1.ayatana-appindicator-sharp.config" @ONLY) -install(FILES "${CMAKE_CURRENT_BINARY_DIR}/policy.0.1.ayatana-appindicator-sharp.config" DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/cli/ayatana-appindicator-sharp3-0.1") +configure_file("${CMAKE_CURRENT_SOURCE_DIR}/policy.0.1.ayatana-appindicator3-sharp.config.in" "${CMAKE_CURRENT_BINARY_DIR}/policy.0.1.ayatana-appindicator3-sharp.config" @ONLY) +install(FILES "${CMAKE_CURRENT_BINARY_DIR}/policy.0.1.ayatana-appindicator3-sharp.config" DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/cli/ayatana-appindicator3-sharp-0.1") -# policy.0.1.ayatana-appindicator-sharp.dll +# policy.0.1.ayatana-appindicator3-sharp.dll find_program(AL al) add_custom_command( - OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/policy.0.1.ayatana-appindicator-sharp.dll" - DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/policy.0.0.ayatana-appindicator-sharp.dll" + OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/policy.0.1.ayatana-appindicator3-sharp.dll" + DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/policy.0.0.ayatana-appindicator3-sharp.dll" WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${AL} - -link:"${CMAKE_CURRENT_BINARY_DIR}/policy.0.1.ayatana-appindicator-sharp.config" - -out:"${CMAKE_CURRENT_BINARY_DIR}/policy.0.1.ayatana-appindicator-sharp.dll" - -keyfile:"${CMAKE_CURRENT_SOURCE_DIR}/ayatana-appindicator-sharp.snk" + -link:"${CMAKE_CURRENT_BINARY_DIR}/policy.0.1.ayatana-appindicator3-sharp.config" + -out:"${CMAKE_CURRENT_BINARY_DIR}/policy.0.1.ayatana-appindicator3-sharp.dll" + -keyfile:"${CMAKE_CURRENT_SOURCE_DIR}/ayatana-appindicator3-sharp.snk" ) -install(FILES "${CMAKE_CURRENT_BINARY_DIR}/policy.0.1.ayatana-appindicator-sharp.dll" DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/cli/ayatana-appindicator-sharp3-0.1") +install(FILES "${CMAKE_CURRENT_BINARY_DIR}/policy.0.1.ayatana-appindicator3-sharp.dll" DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/cli/ayatana-appindicator3-sharp-0.1") -add_custom_target("bindings-mono" ALL DEPENDS "policy.0.1.ayatana-appindicator-sharp.dll") +add_custom_target("bindings-mono" ALL DEPENDS "policy.0.1.ayatana-appindicator3-sharp.dll") if (ENABLE_TESTS) add_subdirectory(examples) diff --git a/bindings/mono/app-indicator.sources.xml.in b/bindings/mono/app-indicator.sources.xml.in index 4746179..c8b7d52 100644 --- a/bindings/mono/app-indicator.sources.xml.in +++ b/bindings/mono/app-indicator.sources.xml.in @@ -1,6 +1,6 @@ - - + + @REL_SRC@src/app-indicator.c @REL_BIN@src/app-indicator-enum-types.c diff --git a/bindings/mono/ayatana-appindicator-sharp.dll.config b/bindings/mono/ayatana-appindicator-sharp.dll.config deleted file mode 100644 index c8f653f..0000000 --- a/bindings/mono/ayatana-appindicator-sharp.dll.config +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/bindings/mono/ayatana-appindicator-sharp.snk b/bindings/mono/ayatana-appindicator-sharp.snk deleted file mode 100644 index efb62d0..0000000 Binary files a/bindings/mono/ayatana-appindicator-sharp.snk and /dev/null differ diff --git a/bindings/mono/ayatana-appindicator-sharp3-0.1.pc.in b/bindings/mono/ayatana-appindicator-sharp3-0.1.pc.in deleted file mode 100644 index 955e6ba..0000000 --- a/bindings/mono/ayatana-appindicator-sharp3-0.1.pc.in +++ /dev/null @@ -1,12 +0,0 @@ -prefix=@CMAKE_INSTALL_PREFIX@ -exec_prefix=${prefix} -libdir=@CMAKE_INSTALL_FULL_LIBDIR@ -assemblies_dir=@CMAKE_INSTALL_FULL_LIBDIR@/cli/ayatana-appindicator-sharp3-0.1 - -Name: ayatana-appindicator-sharp -Description: application indicators for .NET -Version: @PROJECT_VERSION@ -Libraries: ${assemblies_dir}/ayatana-appindicator-sharp.dll ${assemblies_dir}/ayatana-appindicator-sharp.dll.config -Requires: gtk-sharp-3.0 -Cflags: -Libs: -r:${assemblies_dir}/ayatana-appindicator-sharp.dll diff --git a/bindings/mono/ayatana-appindicator3-sharp-0.1.pc.in b/bindings/mono/ayatana-appindicator3-sharp-0.1.pc.in new file mode 100644 index 0000000..0fdde34 --- /dev/null +++ b/bindings/mono/ayatana-appindicator3-sharp-0.1.pc.in @@ -0,0 +1,12 @@ +prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=${prefix} +libdir=@CMAKE_INSTALL_FULL_LIBDIR@ +assemblies_dir=@CMAKE_INSTALL_FULL_LIBDIR@/cli/ayatana-appindicator3-sharp-0.1 + +Name: ayatana-appindicator3-sharp +Description: application indicators for .NET (GTK-3+ variant) +Version: @PROJECT_VERSION@ +Libraries: ${assemblies_dir}/ayatana-appindicator3-sharp.dll ${assemblies_dir}/ayatana-appindicator3-sharp.dll.config +Requires: gtk-sharp-3.0 +Cflags: +Libs: -r:${assemblies_dir}/ayatana-appindicator3-sharp.dll diff --git a/bindings/mono/ayatana-appindicator3-sharp.dll.config b/bindings/mono/ayatana-appindicator3-sharp.dll.config new file mode 100644 index 0000000..3f4351f --- /dev/null +++ b/bindings/mono/ayatana-appindicator3-sharp.dll.config @@ -0,0 +1,7 @@ + + + + + + + diff --git a/bindings/mono/ayatana-appindicator3-sharp.snk b/bindings/mono/ayatana-appindicator3-sharp.snk new file mode 100644 index 0000000..efb62d0 Binary files /dev/null and b/bindings/mono/ayatana-appindicator3-sharp.snk differ diff --git a/bindings/mono/examples/CMakeLists.txt b/bindings/mono/examples/CMakeLists.txt index 431a654..dd9e630 100644 --- a/bindings/mono/examples/CMakeLists.txt +++ b/bindings/mono/examples/CMakeLists.txt @@ -14,7 +14,7 @@ add_custom_command( ${MCS} -out:"${CMAKE_CURRENT_BINARY_DIR}/AyatanaIndicatorExample.exe" -target:exe - ${GTK_SHARP_3_0_LDFLAGS} "-r:${CMAKE_BINARY_DIR}/bindings/mono/ayatana-appindicator-sharp.dll" "${CMAKE_CURRENT_SOURCE_DIR}/AyatanaIndicatorExample.cs" + ${GTK_SHARP_3_0_LDFLAGS} "-r:${CMAKE_BINARY_DIR}/bindings/mono/ayatana-appindicator3-sharp.dll" "${CMAKE_CURRENT_SOURCE_DIR}/AyatanaIndicatorExample.cs" ) add_custom_target("bindings-mono-examples" ALL DEPENDS "AyatanaIndicatorExample.exe") diff --git a/bindings/mono/libayatana-appindicator-api.metadata b/bindings/mono/libayatana-appindicator-api.metadata deleted file mode 100644 index e610c88..0000000 --- a/bindings/mono/libayatana-appindicator-api.metadata +++ /dev/null @@ -1,66 +0,0 @@ - - - ApplicationIndicator - NewAttentionIcon - new-attention-icon - NewStatus - new-status - NewLabel - new-label - NewAccessibleDesc - new-accessible-desc - ConnectionChanged - connection-changed - ScrollEvent - scroll-event - NewIcon - new-icon - NewIconThemePath - new-icon-theme-path - ID - true - true - IconName - AttentionIconName - IconThemePath - Menu - GtkMenu* - Connected - Label - LabelGuide - AccessibleDesc - OrderingIndex - SetMenu - - id - icon-name - category - id - icon-name - category - icon-theme-path - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bindings/mono/libayatana-appindicator3-api.metadata b/bindings/mono/libayatana-appindicator3-api.metadata new file mode 100644 index 0000000..e610c88 --- /dev/null +++ b/bindings/mono/libayatana-appindicator3-api.metadata @@ -0,0 +1,66 @@ + + + ApplicationIndicator + NewAttentionIcon + new-attention-icon + NewStatus + new-status + NewLabel + new-label + NewAccessibleDesc + new-accessible-desc + ConnectionChanged + connection-changed + ScrollEvent + scroll-event + NewIcon + new-icon + NewIconThemePath + new-icon-theme-path + ID + true + true + IconName + AttentionIconName + IconThemePath + Menu + GtkMenu* + Connected + Label + LabelGuide + AccessibleDesc + OrderingIndex + SetMenu + + id + icon-name + category + id + icon-name + category + icon-theme-path + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bindings/mono/policy.0.0.ayatana-appindicator-sharp.config.in b/bindings/mono/policy.0.0.ayatana-appindicator-sharp.config.in deleted file mode 100644 index 0801da0..0000000 --- a/bindings/mono/policy.0.0.ayatana-appindicator-sharp.config.in +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/bindings/mono/policy.0.0.ayatana-appindicator3-sharp.config.in b/bindings/mono/policy.0.0.ayatana-appindicator3-sharp.config.in new file mode 100644 index 0000000..02559a1 --- /dev/null +++ b/bindings/mono/policy.0.0.ayatana-appindicator3-sharp.config.in @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/bindings/mono/policy.0.1.ayatana-appindicator-sharp.config.in b/bindings/mono/policy.0.1.ayatana-appindicator-sharp.config.in deleted file mode 100644 index f5a082d..0000000 --- a/bindings/mono/policy.0.1.ayatana-appindicator-sharp.config.in +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/bindings/mono/policy.0.1.ayatana-appindicator3-sharp.config.in b/bindings/mono/policy.0.1.ayatana-appindicator3-sharp.config.in new file mode 100644 index 0000000..badda34 --- /dev/null +++ b/bindings/mono/policy.0.1.ayatana-appindicator3-sharp.config.in @@ -0,0 +1,10 @@ + + + + + + + + + + -- cgit v1.2.3