From 62f270aec4ad6dfc34f63d26e3fac071b973efdc Mon Sep 17 00:00:00 2001 From: Mike Massonnet Date: Sun, 2 Oct 2016 18:33:22 +0200 Subject: [PATCH] Update all packages - Include packages for both versions GTK+2 and GTK+3: - exo-1, exo-2 - libxfcepanel-1.0, libxfcepanel-2.0 - libxfce4ui-1, libxfce4ui-2 - Update all packages with vala-gi 0.26 --- Makefile.am | 76 +- configure.ac.in | 24 +- packages/exo-1/exo-1.gi | 13 +- packages/exo-2/exo-2-custom.vala | 30 + packages/exo-2/exo-2.defines | 1 + packages/exo-2/exo-2.deps | 8 + packages/exo-2/exo-2.excludes | 6 + packages/exo-2/exo-2.files | 2 + packages/exo-2/exo-2.gi | 136 +++ packages/exo-2/exo-2.metadata | 7 + packages/exo-2/exo-2.namespace | 1 + packages/garcon-1/garcon-1.gi | 15 +- packages/garcon-2/garcon-2.defines | 1 + packages/garcon-2/garcon-2.deps | 2 + packages/garcon-2/garcon-2.files | 2 + packages/garcon-2/garcon-2.gi | 225 +++++ packages/garcon-2/garcon-2.metadata | 4 + packages/garcon-2/garcon-2.namespace | 1 + .../libxfce4panel-1.0/libxfce4panel-1.0.gi | 4 +- .../libxfce4panel-2.0.defines | 1 + .../libxfce4panel-2.0/libxfce4panel-2.0.deps | 8 + .../libxfce4panel-2.0.excludes | 1 + .../libxfce4panel-2.0/libxfce4panel-2.0.files | 2 + .../libxfce4panel-2.0/libxfce4panel-2.0.gi | 799 ++++++++++++++++++ .../libxfce4panel-2.0.metadata | 2 + .../libxfce4panel-2.0.namespace | 1 + packages/libxfce4ui-1/libxfce4ui-1.gi | 19 +- packages/libxfce4ui-2/libxfce4ui-2.defines | 1 + packages/libxfce4ui-2/libxfce4ui-2.deps | 8 + packages/libxfce4ui-2/libxfce4ui-2.excludes | 0 packages/libxfce4ui-2/libxfce4ui-2.files | 2 + packages/libxfce4ui-2/libxfce4ui-2.gi | 426 ++++++++++ packages/libxfce4ui-2/libxfce4ui-2.metadata | 3 + packages/libxfce4ui-2/libxfce4ui-2.namespace | 1 + packages/libxfce4util-1.0/libxfce4util-1.0.gi | 32 +- vapi/exo-1.vapi | 11 +- vapi/exo-2.deps | 8 + vapi/exo-2.vapi | 77 ++ vapi/garcon-1.vapi | 7 +- vapi/libxfce4panel-1.0.vapi | 2 +- vapi/libxfce4panel-2.0.deps | 8 + vapi/libxfce4panel-2.0.vapi | 217 +++++ vapi/libxfce4ui-1.vapi | 10 +- vapi/libxfce4ui-2.deps | 8 + vapi/libxfce4ui-2.vapi | 130 +++ vapi/libxfce4util-1.0.vapi | 10 +- vapi/libxfconf-0.vapi | 2 +- 47 files changed, 2255 insertions(+), 99 deletions(-) create mode 100644 packages/exo-2/exo-2-custom.vala create mode 100644 packages/exo-2/exo-2.defines create mode 100644 packages/exo-2/exo-2.deps create mode 100644 packages/exo-2/exo-2.excludes create mode 100644 packages/exo-2/exo-2.files create mode 100644 packages/exo-2/exo-2.gi create mode 100644 packages/exo-2/exo-2.metadata create mode 100644 packages/exo-2/exo-2.namespace create mode 100644 packages/garcon-2/garcon-2.defines create mode 100644 packages/garcon-2/garcon-2.deps create mode 100644 packages/garcon-2/garcon-2.files create mode 100644 packages/garcon-2/garcon-2.gi create mode 100644 packages/garcon-2/garcon-2.metadata create mode 100644 packages/garcon-2/garcon-2.namespace create mode 100644 packages/libxfce4panel-2.0/libxfce4panel-2.0.defines create mode 100644 packages/libxfce4panel-2.0/libxfce4panel-2.0.deps create mode 100644 packages/libxfce4panel-2.0/libxfce4panel-2.0.excludes create mode 100644 packages/libxfce4panel-2.0/libxfce4panel-2.0.files create mode 100644 packages/libxfce4panel-2.0/libxfce4panel-2.0.gi create mode 100644 packages/libxfce4panel-2.0/libxfce4panel-2.0.metadata create mode 100644 packages/libxfce4panel-2.0/libxfce4panel-2.0.namespace create mode 100644 packages/libxfce4ui-2/libxfce4ui-2.defines create mode 100644 packages/libxfce4ui-2/libxfce4ui-2.deps create mode 100644 packages/libxfce4ui-2/libxfce4ui-2.excludes create mode 100644 packages/libxfce4ui-2/libxfce4ui-2.files create mode 100644 packages/libxfce4ui-2/libxfce4ui-2.gi create mode 100644 packages/libxfce4ui-2/libxfce4ui-2.metadata create mode 100644 packages/libxfce4ui-2/libxfce4ui-2.namespace create mode 100644 vapi/exo-2.deps create mode 100644 vapi/exo-2.vapi create mode 100644 vapi/libxfce4panel-2.0.deps create mode 100644 vapi/libxfce4panel-2.0.vapi create mode 100644 vapi/libxfce4ui-2.deps create mode 100644 vapi/libxfce4ui-2.vapi diff --git a/Makefile.am b/Makefile.am index 7d931e5..bd02bba 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,30 +3,50 @@ NULL = if MAINTAINER_MODE update-gi: $(VALAGI) $(LIBXFCE4UTIL) packages/$(LIBXFCE4UTIL) - $(VALAGI) $(GARCON) packages/$(GARCON) + $(VALAGI) $(LIBXFCE4UI1) packages/$(LIBXFCE4UI1) + $(VALAGI) $(LIBXFCE4UI2) packages/$(LIBXFCE4UI2) + $(VALAGI) $(LIBXFCE4PANEL1) packages/$(LIBXFCE4PANEL1) + $(VALAGI) $(LIBXFCE4PANEL2) packages/$(LIBXFCE4PANEL2) + $(VALAGI) $(EXO1) packages/$(EXO1) + $(VALAGI) $(EXO2) packages/$(EXO2) $(VALAGI) $(XFCONF) packages/$(XFCONF) - $(VALAGI) $(LIBXFCE4UI) packages/$(LIBXFCE4UI) - $(VALAGI) $(LIBXFCE4PANEL) packages/$(LIBXFCE4PANEL) - $(VALAGI) $(EXO) packages/$(EXO) + $(VALAGI) $(GARCON1) packages/$(GARCON1) +# $(VALAGI) $(GARCON2) packages/$(GARCON2) +# $(VALAGI) $(GARCONGTK21) packages/$(GARCONGTK21) +# $(VALAGI) $(GARCONGTK31) packages/$(GARCONGTK31) update-vapi: (cd vapi;\ $(VAPIGEN) --vapidir=. --library $(LIBXFCE4UTIL)\ ../packages/$(LIBXFCE4UTIL)/$(LIBXFCE4UTIL).gi\ ../packages/$(LIBXFCE4UTIL)/$(LIBXFCE4UTIL)-custom.vala;\ - $(VAPIGEN) --vapidir=. --library $(GARCON)\ - ../packages/$(GARCON)/$(GARCON).gi;\ + $(VAPIGEN) --vapidir=. --library $(LIBXFCE4UI1)\ + ../packages/$(LIBXFCE4UI1)/$(LIBXFCE4UI1).gi;\ + $(VAPIGEN) --vapidir=. --library $(LIBXFCE4UI2)\ + ../packages/$(LIBXFCE4UI2)/$(LIBXFCE4UI2).gi;\ + $(VAPIGEN) --vapidir=. --library $(LIBXFCE4PANEL1)\ + ../packages/$(LIBXFCE4PANEL1)/$(LIBXFCE4PANEL1).gi;\ + $(VAPIGEN) --vapidir=. --library $(LIBXFCE4PANEL2)\ + ../packages/$(LIBXFCE4PANEL2)/$(LIBXFCE4PANEL2).gi;\ + $(VAPIGEN) --vapidir=. --library $(EXO1)\ + ../packages/$(EXO1)/$(EXO1).gi\ + ../packages/$(EXO1)/$(EXO1)-custom.vala;\ + $(VAPIGEN) --vapidir=. --library $(EXO2)\ + ../packages/$(EXO2)/$(EXO2).gi\ + ../packages/$(EXO2)/$(EXO2)-custom.vala;\ $(VAPIGEN) --vapidir=. --library $(XFCONF)\ ../packages/$(XFCONF)/$(XFCONF).gi\ ../packages/$(XFCONF)/$(XFCONF)-custom.vala;\ - $(VAPIGEN) --vapidir=. --library $(LIBXFCE4UI)\ - ../packages/$(LIBXFCE4UI)/$(LIBXFCE4UI).gi;\ - $(VAPIGEN) --vapidir=. --library $(LIBXFCE4PANEL)\ - ../packages/$(LIBXFCE4PANEL)/$(LIBXFCE4PANEL).gi;\ - $(VAPIGEN) --vapidir=. --library $(EXO)\ - ../packages/$(EXO)/$(EXO).gi\ - ../packages/$(EXO)/$(EXO)-custom.vala;\ + $(VAPIGEN) --vapidir=. --library $(GARCON1)\ + ../packages/$(GARCON1)/$(GARCON1).gi;\ ) +# $(VAPIGEN) --vapidir=. --library $(GARCON2)\ +# ../packages/$(GARCON2)/$(GARCON2).gi;\ +# $(VAPIGEN) --vapidir=. --library $(GARCONGTK1)\ +# ../packages/$(GARCONGTK1)/$(GARCONGTK1).gi;\ +# $(VAPIGEN) --vapidir=. --library $(GARCONGTK2)\ +# ../packages/$(GARCONGTK2)/$(GARCONGTK2).gi;\ +# ) for i in packages/*/*.deps; do cp $$i vapi; done endif @@ -34,23 +54,29 @@ tests: tests.stamp tests.stamp: (cd tests;\ $(VALAC) --pkg=posix --pkg=$(LIBXFCE4UTIL) --vapidir=../vapi $(LIBXFCE4UTIL).vala;\ - $(VALAC) --pkg=gtk+-2.0 --pkg=$(GARCON) --vapidir=../vapi $(GARCON).vala;\ + $(VALAC) --pkg=gtk+-2.0 --pkg=$(GARCON1) --vapidir=../vapi $(GARCON1).vala;\ $(VALAC) --pkg=$(XFCONF) --vapidir=../vapi $(XFCONF).vala;\ - $(VALAC) --pkg=$(EXO) --vapidir=../vapi $(EXO).vala;\ + $(VALAC) --pkg=$(EXO1) --vapidir=../vapi $(EXO1).vala;\ ) touch $@ vapi_DATA = \ vapi/$(LIBXFCE4UTIL).vapi \ - vapi/$(GARCON).vapi \ - vapi/$(GARCON).deps \ + vapi/$(LIBXFCE4UI1).vapi \ + vapi/$(LIBXFCE4UI1).deps \ + vapi/$(LIBXFCE4UI2).vapi \ + vapi/$(LIBXFCE4UI2).deps \ + vapi/$(LIBXFCE4PANEL1).vapi \ + vapi/$(LIBXFCE4PANEL1).deps \ + vapi/$(LIBXFCE4PANEL2).vapi \ + vapi/$(LIBXFCE4PANEL2).deps \ + vapi/$(EXO1).vapi \ + vapi/$(EXO1).deps \ + vapi/$(EXO2).vapi \ + vapi/$(EXO2).deps \ vapi/$(XFCONF).vapi \ - vapi/$(LIBXFCE4UI).vapi \ - vapi/$(LIBXFCE4UI).deps \ - vapi/$(LIBXFCE4PANEL).vapi \ - vapi/$(LIBXFCE4PANEL).deps \ - vapi/$(EXO).vapi \ - vapi/$(EXO).deps \ + vapi/$(GARCON1).vapi \ + vapi/$(GARCON1).deps \ $(NULL) pkgconfigdir = $(datadir)/pkgconfig @@ -68,7 +94,7 @@ EXTRA_DIST = \ vapi \ tests/$(LIBXFCE4UTIL).vala \ tests/$(XFCONF).vala \ - tests/$(EXO).vala \ + tests/$(EXO1).vala \ $(NULL) CLEANFILES = \ @@ -76,7 +102,7 @@ CLEANFILES = \ tests/$(LIBXFCE4UTIL) \ tests/rcfile.rc \ tests/$(XFCONF) \ - tests/$(EXO) \ + tests/$(EXO1) \ $(NULL) distclean-local: diff --git a/configure.ac.in b/configure.ac.in index c29cde0..200760f 100644 --- a/configure.ac.in +++ b/configure.ac @@ -21,19 +21,25 @@ dnl Check for basic programs AC_PROG_INSTALL() dnl Check for required packages -M8T_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.10.0]) -M8T_CHECK_PACKAGE([GARCON], [garcon-1], [0.2.0]) -M8T_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.10.0]) -M8T_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-1], [4.10.0]) -M8T_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.10.0]) -M8T_CHECK_PACKAGE([EXO], [exo-1], [0.8.0]) +M8T_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.12.0]) +M8T_CHECK_PACKAGE([LIBXFCE4UI1], [libxfce4ui-1], [4.12.0]) +M8T_CHECK_PACKAGE([LIBXFCE4UI2], [libxfce4ui-2], [4.12.0]) +M8T_CHECK_PACKAGE([LIBXFCE4PANEL1], [libxfce4panel-1.0], [4.12.0]) +M8T_CHECK_PACKAGE([LIBXFCE4PANEL2], [libxfce4panel-2.0], [4.12.0]) +M8T_CHECK_PACKAGE([EXO1], [exo-1], [0.10.0]) +M8T_CHECK_PACKAGE([EXO2], [exo-2], [0.10.0]) +M8T_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.12.0]) +M8T_CHECK_PACKAGE([GARCON1], [garcon-1], [0.4.0]) +M8T_CHECK_PACKAGE([GARCON2], [garcon-2], [0.4.0]) +#M8T_CHECK_PACKAGE([GARCONGTK21], [garcon-gtk2-1], [0.4.0]) +#M8T_CHECK_PACKAGE([GARCONGTK31], [garcon-gtk3-1], [0.4.0]) dnl Check for Vala AC_ARG_WITH([vala-api], AC_HELP_STRING([--with-vala-api=VERSION], [Use Vala API version VERSION]), [vala_api=$withval], - [vala_api='0.16']) + [vala_api='0.26']) M8T_CHECK_VALA([$vala_api]) AC_ARG_WITH([default-vapidir], AC_HELP_STRING([--with-default-vapidir], diff --git a/packages/exo-1/exo-1.gi b/packages/exo-1/exo-1.gi index 0a715be..0f1106b 100644 --- a/packages/exo-1/exo-1.gi +++ b/packages/exo-1/exo-1.gi @@ -130,7 +130,7 @@ - + @@ -138,15 +138,15 @@ - + - + - + @@ -804,6 +804,7 @@ + @@ -1644,8 +1645,8 @@ - - + + diff --git a/packages/exo-2/exo-2-custom.vala b/packages/exo-2/exo-2-custom.vala new file mode 100644 index 0000000..e8bb49e --- /dev/null +++ b/packages/exo-2/exo-2-custom.vala @@ -0,0 +1,30 @@ +namespace Exo { + + /* exo-gdk-pixbuf-extensions.h */ + [Compact] + public class Extensions { + public static Gdk.Pixbuf gdk_pixbuf_colorize (Gdk.Pixbuf src, Gdk.Color color); + public static Gdk.Pixbuf gdk_pixbuf_frame (Gdk.Pixbuf src, Gdk.Pixbuf frame, int left_offset, int top_offset, int right_offset, int bottom_offset); + public static Gdk.Pixbuf gdk_pixbuf_lucent (Gdk.Pixbuf src, uint percent); + public static Gdk.Pixbuf gdk_pixbuf_new_from_file_at_max_size (string filename, int max_width, int max_height, bool preserve_aspect_ratio) throws GLib.Error; + public static Gdk.Pixbuf gdk_pixbuf_scale_down (Gdk.Pixbuf source, bool preserve_aspect_ratio, int dest_width, int dest_height); + public static Gdk.Pixbuf gdk_pixbuf_scale_ratio (Gdk.Pixbuf source, int dest_size); + public static Gdk.Pixbuf gdk_pixbuf_spotlight (Gdk.Pixbuf src); + } + + /* exo-string.h */ + [Compact] + public class String { + [CCode (cname = "exo_str_elide_underscores")] + public static string elide_underscores (string text); + [CCode (cname = "exo_str_is_equal")] + public static bool is_equal (string? a, string? b); + [CCode (cname = "exo_str_replace")] + public static string replace (string str, string pattern, string replacement); + [CCode (cname = "exo_strdup_strftime")] + public static string dup_strftime (string format, void* tm); + [CCode (cname = "exo_strndupv")] + public static string[] ndupv (string[] strv, int num); + } + +} diff --git a/packages/exo-2/exo-2.defines b/packages/exo-2/exo-2.defines new file mode 100644 index 0000000..3446cbe --- /dev/null +++ b/packages/exo-2/exo-2.defines @@ -0,0 +1 @@ +-DEXO_COMPILATION diff --git a/packages/exo-2/exo-2.deps b/packages/exo-2/exo-2.deps new file mode 100644 index 0000000..367d44b --- /dev/null +++ b/packages/exo-2/exo-2.deps @@ -0,0 +1,8 @@ +atk +gio-2.0 +cairo +pango +gdk-pixbuf-2.0 +gdk-3.0 +gtk+-3.0 +libxfce4util-1.0 diff --git a/packages/exo-2/exo-2.excludes b/packages/exo-2/exo-2.excludes new file mode 100644 index 0000000..eb0e0c5 --- /dev/null +++ b/packages/exo-2/exo-2.excludes @@ -0,0 +1,6 @@ +#exo-config.h +exo-gdk-pixbuf-extensions.h +#exo-job.h +#exo-simple-job.h +exo-string.h +exo-utils.h diff --git a/packages/exo-2/exo-2.files b/packages/exo-2/exo-2.files new file mode 100644 index 0000000..79c930e --- /dev/null +++ b/packages/exo-2/exo-2.files @@ -0,0 +1,2 @@ +include/exo-2/exo +lib/libexo-2.so diff --git a/packages/exo-2/exo-2.gi b/packages/exo-2/exo-2.gi new file mode 100644 index 0000000..9990a7f --- /dev/null +++ b/packages/exo-2/exo-2.gi @@ -0,0 +1,136 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/exo-2/exo-2.metadata b/packages/exo-2/exo-2.metadata new file mode 100644 index 0000000..f45fcbf --- /dev/null +++ b/packages/exo-2/exo-2.metadata @@ -0,0 +1,7 @@ +Exo cheader_filename="exo/exo.h" + +exo_*_reserved* hidden="1" + +# Rename signal names duplicated with method names +ExoJob::info_message name="info_message_received" +ExoJob::percent name="percent_progress" diff --git a/packages/exo-2/exo-2.namespace b/packages/exo-2/exo-2.namespace new file mode 100644 index 0000000..808f403 --- /dev/null +++ b/packages/exo-2/exo-2.namespace @@ -0,0 +1 @@ +Exo diff --git a/packages/garcon-1/garcon-1.gi b/packages/garcon-1/garcon-1.gi index 1247f33..ddb4537 100644 --- a/packages/garcon-1/garcon-1.gi +++ b/packages/garcon-1/garcon-1.gi @@ -41,6 +41,12 @@ + + + + + + @@ -98,12 +104,6 @@ - - - - - - @@ -1010,9 +1010,10 @@ + - + diff --git a/packages/garcon-2/garcon-2.defines b/packages/garcon-2/garcon-2.defines new file mode 100644 index 0000000..5d60363 --- /dev/null +++ b/packages/garcon-2/garcon-2.defines @@ -0,0 +1 @@ +-DGARCON_COMPILATION diff --git a/packages/garcon-2/garcon-2.deps b/packages/garcon-2/garcon-2.deps new file mode 100644 index 0000000..d4db059 --- /dev/null +++ b/packages/garcon-2/garcon-2.deps @@ -0,0 +1,2 @@ +gobject-2.0 +gio-2.0 diff --git a/packages/garcon-2/garcon-2.files b/packages/garcon-2/garcon-2.files new file mode 100644 index 0000000..be53c7a --- /dev/null +++ b/packages/garcon-2/garcon-2.files @@ -0,0 +1,2 @@ +include/garcon-2/garcon +lib/libgarcon-2.so diff --git a/packages/garcon-2/garcon-2.gi b/packages/garcon-2/garcon-2.gi new file mode 100644 index 0000000..06112f8 --- /dev/null +++ b/packages/garcon-2/garcon-2.gi @@ -0,0 +1,225 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/garcon-2/garcon-2.metadata b/packages/garcon-2/garcon-2.metadata new file mode 100644 index 0000000..4158c28 --- /dev/null +++ b/packages/garcon-2/garcon-2.metadata @@ -0,0 +1,4 @@ +Garcon cheader_filename="garcon/garcon.h" +garcon_menu_item_requires_terminal hidden="1" +garcon_menu_item_supports_startup_notification hidden="1" +garcon_menu_load.cancellable nullable="1" diff --git a/packages/garcon-2/garcon-2.namespace b/packages/garcon-2/garcon-2.namespace new file mode 100644 index 0000000..4c193be --- /dev/null +++ b/packages/garcon-2/garcon-2.namespace @@ -0,0 +1 @@ +Garcon diff --git a/packages/libxfce4panel-1.0/libxfce4panel-1.0.gi b/packages/libxfce4panel-1.0/libxfce4panel-1.0.gi index a6f1020..75a3d05 100644 --- a/packages/libxfce4panel-1.0/libxfce4panel-1.0.gi +++ b/packages/libxfce4panel-1.0/libxfce4panel-1.0.gi @@ -821,7 +821,7 @@ - - + + diff --git a/packages/libxfce4panel-2.0/libxfce4panel-2.0.defines b/packages/libxfce4panel-2.0/libxfce4panel-2.0.defines new file mode 100644 index 0000000..12f281a --- /dev/null +++ b/packages/libxfce4panel-2.0/libxfce4panel-2.0.defines @@ -0,0 +1 @@ +-DLIBXFCE4PANEL_COMPILATION diff --git a/packages/libxfce4panel-2.0/libxfce4panel-2.0.deps b/packages/libxfce4panel-2.0/libxfce4panel-2.0.deps new file mode 100644 index 0000000..367d44b --- /dev/null +++ b/packages/libxfce4panel-2.0/libxfce4panel-2.0.deps @@ -0,0 +1,8 @@ +atk +gio-2.0 +cairo +pango +gdk-pixbuf-2.0 +gdk-3.0 +gtk+-3.0 +libxfce4util-1.0 diff --git a/packages/libxfce4panel-2.0/libxfce4panel-2.0.excludes b/packages/libxfce4panel-2.0/libxfce4panel-2.0.excludes new file mode 100644 index 0000000..83bd2c9 --- /dev/null +++ b/packages/libxfce4panel-2.0/libxfce4panel-2.0.excludes @@ -0,0 +1 @@ +include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h diff --git a/packages/libxfce4panel-2.0/libxfce4panel-2.0.files b/packages/libxfce4panel-2.0/libxfce4panel-2.0.files new file mode 100644 index 0000000..127cdc5 --- /dev/null +++ b/packages/libxfce4panel-2.0/libxfce4panel-2.0.files @@ -0,0 +1,2 @@ +include/xfce4/libxfce4panel-2.0/libxfce4panel +lib/libxfce4panel-2.0.so diff --git a/packages/libxfce4panel-2.0/libxfce4panel-2.0.gi b/packages/libxfce4panel-2.0/libxfce4panel-2.0.gi new file mode 100644 index 0000000..74c2c82 --- /dev/null +++ b/packages/libxfce4panel-2.0/libxfce4panel-2.0.gi @@ -0,0 +1,799 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/libxfce4panel-2.0/libxfce4panel-2.0.metadata b/packages/libxfce4panel-2.0/libxfce4panel-2.0.metadata new file mode 100644 index 0000000..857be91 --- /dev/null +++ b/packages/libxfce4panel-2.0/libxfce4panel-2.0.metadata @@ -0,0 +1,2 @@ +Xfce cheader_filename="libxfce4panel/libxfce4panel.h" +*reserved* hidden="1" diff --git a/packages/libxfce4panel-2.0/libxfce4panel-2.0.namespace b/packages/libxfce4panel-2.0/libxfce4panel-2.0.namespace new file mode 100644 index 0000000..296456d --- /dev/null +++ b/packages/libxfce4panel-2.0/libxfce4panel-2.0.namespace @@ -0,0 +1 @@ +Xfce diff --git a/packages/libxfce4ui-1/libxfce4ui-1.gi b/packages/libxfce4ui-1/libxfce4ui-1.gi index d1e888c..a7345d0 100644 --- a/packages/libxfce4ui-1/libxfce4ui-1.gi +++ b/packages/libxfce4ui-1/libxfce4ui-1.gi @@ -28,6 +28,16 @@ + + + + + + + + + + @@ -176,6 +186,10 @@ + + + + @@ -190,6 +204,9 @@ + + + @@ -402,7 +419,7 @@ - + diff --git a/packages/libxfce4ui-2/libxfce4ui-2.defines b/packages/libxfce4ui-2/libxfce4ui-2.defines new file mode 100644 index 0000000..c2e1547 --- /dev/null +++ b/packages/libxfce4ui-2/libxfce4ui-2.defines @@ -0,0 +1 @@ +-DLIBXFCE4UI_COMPILATION diff --git a/packages/libxfce4ui-2/libxfce4ui-2.deps b/packages/libxfce4ui-2/libxfce4ui-2.deps new file mode 100644 index 0000000..4264788 --- /dev/null +++ b/packages/libxfce4ui-2/libxfce4ui-2.deps @@ -0,0 +1,8 @@ +libxfce4util-1.0 +atk +gio-2.0 +cairo +pango +gdk-pixbuf-2.0 +gdk-3.0 +gtk+-3.0 diff --git a/packages/libxfce4ui-2/libxfce4ui-2.excludes b/packages/libxfce4ui-2/libxfce4ui-2.excludes new file mode 100644 index 0000000..e69de29 diff --git a/packages/libxfce4ui-2/libxfce4ui-2.files b/packages/libxfce4ui-2/libxfce4ui-2.files new file mode 100644 index 0000000..6a2de47 --- /dev/null +++ b/packages/libxfce4ui-2/libxfce4ui-2.files @@ -0,0 +1,2 @@ +include/xfce4/libxfce4ui-2/libxfce4ui +lib/libxfce4ui-2.so diff --git a/packages/libxfce4ui-2/libxfce4ui-2.gi b/packages/libxfce4ui-2/libxfce4ui-2.gi new file mode 100644 index 0000000..a7345d0 --- /dev/null +++ b/packages/libxfce4ui-2/libxfce4ui-2.gi @@ -0,0 +1,426 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/libxfce4ui-2/libxfce4ui-2.metadata b/packages/libxfce4ui-2/libxfce4ui-2.metadata new file mode 100644 index 0000000..806207b --- /dev/null +++ b/packages/libxfce4ui-2/libxfce4ui-2.metadata @@ -0,0 +1,3 @@ +Xfce cheader_filename="libxfce4ui/libxfce4ui.h" + +xfce_titled_dialog_reserved* hidden="1" diff --git a/packages/libxfce4ui-2/libxfce4ui-2.namespace b/packages/libxfce4ui-2/libxfce4ui-2.namespace new file mode 100644 index 0000000..296456d --- /dev/null +++ b/packages/libxfce4ui-2/libxfce4ui-2.namespace @@ -0,0 +1 @@ +Xfce diff --git a/packages/libxfce4util-1.0/libxfce4util-1.0.gi b/packages/libxfce4util-1.0/libxfce4util-1.0.gi index e8dc738..8b75580 100644 --- a/packages/libxfce4util-1.0/libxfce4util-1.0.gi +++ b/packages/libxfce4util-1.0/libxfce4util-1.0.gi @@ -39,34 +39,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -278,7 +250,7 @@ - - + + diff --git a/vapi/exo-1.vapi b/vapi/exo-1.vapi index 159a824..237932c 100644 --- a/vapi/exo-1.vapi +++ b/vapi/exo-1.vapi @@ -1,4 +1,4 @@ -/* exo-1.vapi generated by vapigen-0.16, do not modify. */ +/* exo-1.vapi generated by vapigen-0.26, do not modify. */ namespace Exo { [CCode (cheader_filename = "exo/exo.h", free_function = "")] @@ -159,6 +159,8 @@ namespace Exo { public int column_spacing { get; set; } public int columns { get; set; } public bool enable_search { get; set; } + [NoAccessorMethod] + public int icon_column { get; set; } public int item_width { get; set; } public Exo.IconViewLayoutMode layout_mode { get; set; } public int margin { get; set; } @@ -359,7 +361,7 @@ namespace Exo { public string[] restart_command { get; set; } public virtual signal void save_yourself (); } - [CCode (cheader_filename = "exo/exo.h", cprefix = "EXO_ICON_VIEW_")] + [CCode (cheader_filename = "exo/exo.h", cprefix = "EXO_ICON_VIEW_", has_type_id = false)] public enum IconViewDropPosition { NO_DROP, DROP_INTO, @@ -368,13 +370,12 @@ namespace Exo { DROP_ABOVE, DROP_BELOW } - [CCode (cheader_filename = "exo/exo.h", cprefix = "EXO_ICON_VIEW_LAYOUT_")] + [CCode (cheader_filename = "exo/exo.h", cprefix = "EXO_ICON_VIEW_LAYOUT_", has_type_id = false)] public enum IconViewLayoutMode { ROWS, COLS } - [CCode (cheader_filename = "exo/exo.h", cprefix = "EXO_TOOLBARS_MODEL_")] - [Flags] + [CCode (cheader_filename = "exo/exo.h", cprefix = "EXO_TOOLBARS_MODEL_", has_type_id = false)] public enum ToolbarsModelFlags { NOT_REMOVABLE, ACCEPT_ITEMS_ONLY, diff --git a/vapi/exo-2.deps b/vapi/exo-2.deps new file mode 100644 index 0000000..367d44b --- /dev/null +++ b/vapi/exo-2.deps @@ -0,0 +1,8 @@ +atk +gio-2.0 +cairo +pango +gdk-pixbuf-2.0 +gdk-3.0 +gtk+-3.0 +libxfce4util-1.0 diff --git a/vapi/exo-2.vapi b/vapi/exo-2.vapi new file mode 100644 index 0000000..2248c8a --- /dev/null +++ b/vapi/exo-2.vapi @@ -0,0 +1,77 @@ +/* exo-2.vapi generated by vapigen-0.26, do not modify. */ + +namespace Exo { + [CCode (cheader_filename = "exo/exo.h")] + [Compact] + public class Extensions { + public static Gdk.Pixbuf gdk_pixbuf_colorize (Gdk.Pixbuf src, Gdk.Color color); + public static Gdk.Pixbuf gdk_pixbuf_frame (Gdk.Pixbuf src, Gdk.Pixbuf frame, int left_offset, int top_offset, int right_offset, int bottom_offset); + public static Gdk.Pixbuf gdk_pixbuf_lucent (Gdk.Pixbuf src, uint percent); + public static Gdk.Pixbuf gdk_pixbuf_new_from_file_at_max_size (string filename, int max_width, int max_height, bool preserve_aspect_ratio) throws GLib.Error; + public static Gdk.Pixbuf gdk_pixbuf_scale_down (Gdk.Pixbuf source, bool preserve_aspect_ratio, int dest_width, int dest_height); + public static Gdk.Pixbuf gdk_pixbuf_scale_ratio (Gdk.Pixbuf source, int dest_size); + public static Gdk.Pixbuf gdk_pixbuf_spotlight (Gdk.Pixbuf src); + } + [CCode (cheader_filename = "exo/exo.h")] + public class Job : GLib.Object { + [CCode (has_construct_function = false)] + protected Job (); + public void cancel (); + public void emit (uint signal_id, GLib.Quark signal_detail); + [NoWrapper] + public virtual bool execute () throws GLib.Error; + public unowned GLib.Cancellable get_cancellable (); + public void info_message (string format); + public bool is_cancelled (); + public unowned Exo.Job launch (); + public void percent (double percent); + public bool send_to_mainloop (GLib.SourceFunc func, GLib.DestroyNotify destroy_notify); + public bool set_error_if_cancelled () throws GLib.Error; + public virtual signal void error (void* error); + public virtual signal void finished (); + [CCode (cname = "info_message")] + public virtual signal void info_message_received (string message); + [CCode (cname = "percent")] + public virtual signal void percent_progress (double percent); + } + [CCode (cheader_filename = "exo/exo.h")] + public class SimpleJob : Exo.Job { + [CCode (has_construct_function = false)] + protected SimpleJob (); + public static unowned Exo.Job launch (Exo.SimpleJobFunc func, uint n_param_values); + } + [CCode (cheader_filename = "exo/exo.h")] + [Compact] + public class SimpleJobClass { + } + [CCode (cheader_filename = "exo/exo.h")] + [Compact] + public class String { + [CCode (cname = "exo_strdup_strftime")] + public static string dup_strftime (string format, void* tm); + [CCode (cname = "exo_str_elide_underscores")] + public static string elide_underscores (string text); + [CCode (cname = "exo_str_is_equal")] + public static bool is_equal (string? a, string? b); + [CCode (cname = "exo_strndupv")] + public static string[] ndupv (string[] strv, int num); + [CCode (cname = "exo_str_replace")] + public static string replace (string str, string pattern, string replacement); + } + [CCode (cheader_filename = "exo/exo.h", has_target = false)] + public delegate bool SimpleJobFunc (Exo.Job job, GLib.ValueArray param_values) throws GLib.Error; + [CCode (cheader_filename = "exo/exo.h")] + public const int MAJOR_VERSION; + [CCode (cheader_filename = "exo/exo.h")] + public const int MICRO_VERSION; + [CCode (cheader_filename = "exo/exo.h")] + public const int MINOR_VERSION; + [CCode (cheader_filename = "exo/exo.h")] + public const int PARAM_READABLE; + [CCode (cheader_filename = "exo/exo.h")] + public const int PARAM_READWRITE; + [CCode (cheader_filename = "exo/exo.h")] + public const int PARAM_WRITABLE; + [CCode (cheader_filename = "exo/exo.h")] + public static unowned string check_version (uint required_major, uint required_minor, uint required_micro); +} diff --git a/vapi/garcon-1.vapi b/vapi/garcon-1.vapi index 1ea4814..9db7662 100644 --- a/vapi/garcon-1.vapi +++ b/vapi/garcon-1.vapi @@ -1,4 +1,4 @@ -/* garcon-1.vapi generated by vapigen-0.16, do not modify. */ +/* garcon-1.vapi generated by vapigen-0.26, do not modify. */ namespace Garcon { [CCode (cheader_filename = "garcon/garcon.h")] @@ -10,7 +10,6 @@ namespace Garcon { public Menu.applications (); [CCode (has_construct_function = false)] public Menu.for_path (string filename); - public unowned Garcon.MenuDirectory get_directory (); public unowned GLib.List get_elements (); public unowned GLib.File get_file (); public unowned Garcon.MenuItemPool get_item_pool (); @@ -254,6 +253,8 @@ namespace Garcon { DEFAULT_MERGE_DIRS } [CCode (cheader_filename = "garcon/garcon.h")] + public const string ENVIRONMENT_XFCE; + [CCode (cheader_filename = "garcon/garcon.h")] public const int MAJOR_VERSION; [CCode (cheader_filename = "garcon/garcon.h")] public const int MICRO_VERSION; @@ -271,4 +272,6 @@ namespace Garcon { public static void marshal_VOID__OBJECT_OBJECT (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data); [CCode (cheader_filename = "garcon/garcon.h")] public static void set_environment (string env); + [CCode (cheader_filename = "garcon/garcon.h")] + public static void set_environment_xdg (string fallback_env); } diff --git a/vapi/libxfce4panel-1.0.vapi b/vapi/libxfce4panel-1.0.vapi index 9260c69..7fa263d 100644 --- a/vapi/libxfce4panel-1.0.vapi +++ b/vapi/libxfce4panel-1.0.vapi @@ -1,4 +1,4 @@ -/* libxfce4panel-1.0.vapi generated by vapigen-0.16, do not modify. */ +/* libxfce4panel-1.0.vapi generated by vapigen-0.26, do not modify. */ namespace Xfce { [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")] diff --git a/vapi/libxfce4panel-2.0.deps b/vapi/libxfce4panel-2.0.deps new file mode 100644 index 0000000..367d44b --- /dev/null +++ b/vapi/libxfce4panel-2.0.deps @@ -0,0 +1,8 @@ +atk +gio-2.0 +cairo +pango +gdk-pixbuf-2.0 +gdk-3.0 +gtk+-3.0 +libxfce4util-1.0 diff --git a/vapi/libxfce4panel-2.0.vapi b/vapi/libxfce4panel-2.0.vapi new file mode 100644 index 0000000..e9f0765 --- /dev/null +++ b/vapi/libxfce4panel-2.0.vapi @@ -0,0 +1,217 @@ +/* libxfce4panel-2.0.vapi generated by vapigen-0.26, do not modify. */ + +namespace Xfce { + [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")] + public class ArrowButton : Gtk.ToggleButton, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable { + [CCode (has_construct_function = false, type = "GtkWidget*")] + public ArrowButton (Gtk.ArrowType arrow_type); + public Gtk.ArrowType get_arrow_type (); + public bool get_blinking (); + public void set_arrow_type (Gtk.ArrowType arrow_type); + public void set_blinking (bool blinking); + public Gtk.ArrowType arrow_type { get; set; } + public virtual signal void arrow_type_changed (Gtk.ArrowType type); + } + [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")] + public class PanelImage : Gtk.Widget, Atk.Implementor, Gtk.Buildable { + [CCode (has_construct_function = false, type = "GtkWidget*")] + public PanelImage (); + public void clear (); + [CCode (has_construct_function = false, type = "GtkWidget*")] + public PanelImage.from_pixbuf (Gdk.Pixbuf pixbuf); + [CCode (has_construct_function = false, type = "GtkWidget*")] + public PanelImage.from_source (string source); + public int get_size (); + public void set_from_pixbuf (Gdk.Pixbuf pixbuf); + public void set_from_source (string source); + public void set_size (int size); + [NoAccessorMethod] + public Gdk.Pixbuf pixbuf { owned get; set; } + public int size { get; set; } + [NoAccessorMethod] + public string source { owned get; set; } + } + [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")] + public class PanelPlugin : Gtk.EventBox, Atk.Implementor, Gtk.Buildable, Xfce.PanelPluginProvider { + [CCode (has_construct_function = false)] + protected PanelPlugin (); + public void add_action_widget (Gtk.Widget widget); + public Gtk.ArrowType arrow_type (); + public void block_autohide (bool blocked); + public void block_menu (); + [NoWrapper] + public virtual void @construct (); + public void focus_widget (Gtk.Widget widget); + public unowned string get_arguments (); + public unowned string get_comment (); + public unowned string get_display_name (); + public bool get_expand (); + public bool get_locked (); + public Xfce.PanelPluginMode get_mode (); + public uint get_nrows (); + public Gtk.Orientation get_orientation (); + public unowned string get_property_base (); + public Xfce.ScreenPosition get_screen_position (); + public bool get_shrink (); + public int get_size (); + public bool get_small (); + public unowned string lookup_rc_file (); + public void menu_insert_item (Gtk.MenuItem item); + public void menu_show_about (); + public void menu_show_configure (); + public static void position_menu (Gtk.Menu menu, int x, int y, bool push_in, void* panel_plugin); + public void position_widget (Gtk.Widget menu_widget, Gtk.Widget attach_widget, int x, int y); + public void register_menu (Gtk.Menu menu); + public void remove (); + public unowned string save_location (bool create); + public void set_expand (bool expand); + public void set_shrink (bool shrink); + public void set_small (bool small); + public void take_window (Gtk.Window window); + public void unblock_menu (); + [CCode (array_length = false, array_null_terminated = true)] + public string[] arguments { get; construct; } + public string comment { get; construct; } + public string display_name { get; construct; } + public bool expand { get; set; } + public Xfce.PanelPluginMode mode { get; } + public string name { get; construct; } + public uint nrows { get; } + public Gtk.Orientation orientation { get; } + public Xfce.ScreenPosition screen_position { get; } + public bool shrink { get; set; } + public int size { get; } + public bool small { get; set; } + public int unique_id { get; construct; } + public virtual signal void about (); + public virtual signal void configure_plugin (); + public virtual signal void free_data (); + public virtual signal void mode_changed (Xfce.PanelPluginMode mode); + public virtual signal void nrows_changed (uint rows); + public virtual signal void orientation_changed (Gtk.Orientation orientation); + public virtual signal bool remote_event (string name, GLib.Value value); + public virtual signal void removed (); + public virtual signal void save (); + public virtual signal void screen_position_changed (Xfce.ScreenPosition position); + public virtual signal bool size_changed (int size); + } + [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")] + [Compact] + public class PanelTypeModule { + } + [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")] + public interface PanelPluginProvider { + public abstract void ask_remove (); + public void emit_signal (Xfce.PanelPluginProviderSignal provider_signal); + public abstract unowned string get_name (); + public abstract bool get_show_about (); + public abstract bool get_show_configure (); + public abstract int get_unique_id (); + public abstract bool remote_event (string name, GLib.Value value, uint handle); + public abstract void removed (); + public abstract void save (); + public abstract void set_locked (bool locked); + public abstract void set_mode (Xfce.PanelPluginMode mode); + public abstract void set_nrows (uint rows); + public abstract void set_screen_position (Xfce.ScreenPosition screen_position); + public abstract void set_size (int size); + public abstract void show_about (); + public abstract void show_configure (); + public signal void provider_signal (uint p0); + } + [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h", cprefix = "XFCE_PANEL_PLUGIN_MODE_")] + public enum PanelPluginMode { + HORIZONTAL, + VERTICAL, + DESKBAR + } + [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h", cprefix = "PROVIDER_PROP_TYPE_", has_type_id = false)] + public enum PanelPluginProviderPropType { + SET_SIZE, + SET_MODE, + SET_SCREEN_POSITION, + SET_BACKGROUND_ALPHA, + SET_NROWS, + SET_LOCKED, + SET_SENSITIVE, + SET_BACKGROUND_COLOR, + SET_BACKGROUND_IMAGE, + ACTION_REMOVED, + ACTION_SAVE, + ACTION_QUIT, + ACTION_QUIT_FOR_RESTART, + ACTION_BACKGROUND_UNSET, + ACTION_SHOW_CONFIGURE, + ACTION_SHOW_ABOUT, + ACTION_ASK_REMOVE + } + [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h", cprefix = "PROVIDER_SIGNAL_", has_type_id = false)] + public enum PanelPluginProviderSignal { + MOVE_PLUGIN, + EXPAND_PLUGIN, + COLLAPSE_PLUGIN, + SMALL_PLUGIN, + UNSMALL_PLUGIN, + LOCK_PANEL, + UNLOCK_PANEL, + REMOVE_PLUGIN, + ADD_NEW_ITEMS, + PANEL_PREFERENCES, + PANEL_LOGOUT, + PANEL_ABOUT, + PANEL_HELP, + SHOW_CONFIGURE, + SHOW_ABOUT, + FOCUS_PLUGIN, + SHRINK_PLUGIN, + UNSHRINK_PLUGIN + } + [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h", cprefix = "XFCE_SCREEN_POSITION_")] + public enum ScreenPosition { + NONE, + NW_H, + N, + NE_H, + NW_V, + W, + SW_V, + NE_V, + E, + SE_V, + SW_H, + S, + SE_H, + FLOATING_H, + FLOATING_V + } + [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h", has_target = false)] + public delegate bool PanelPluginCheck (Gdk.Screen screen); + [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h", has_target = false)] + public delegate void PanelPluginFunc (Xfce.PanelPlugin plugin); + [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h", has_target = false)] + public delegate bool PanelPluginPreInit (int argc, string argv); + [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h", has_target = false)] + public delegate unowned Gtk.Widget PluginConstructFunc (string name, int unique_id, string display_name, string comment, string arguments, Gdk.Screen screen); + [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h", has_target = false)] + public delegate GLib.Type PluginInitFunc (GLib.TypeModule module, bool make_resident); + [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")] + public const int LIBXFCE4PANEL_MAJOR_VERSION; + [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")] + public const int LIBXFCE4PANEL_MICRO_VERSION; + [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")] + public const int LIBXFCE4PANEL_MINOR_VERSION; + [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")] + public const string LIBXFCE4PANEL_VERSION; + [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h", cname = "libxfce4panel_check_version")] + public static unowned string libxfce4panel_check_version (uint required_major, uint required_minor, uint required_micro); + [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")] + public static unowned Gtk.Widget panel_create_button (); + [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")] + public static unowned Gtk.Widget panel_create_toggle_button (); + [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")] + public static unowned string panel_get_channel_name (); + [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")] + public static unowned Gdk.Pixbuf panel_pixbuf_from_source (string source, Gtk.IconTheme icon_theme, int size); + [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")] + public static unowned Gdk.Pixbuf panel_pixbuf_from_source_at_size (string source, Gtk.IconTheme icon_theme, int dest_width, int dest_height); +} diff --git a/vapi/libxfce4ui-1.vapi b/vapi/libxfce4ui-1.vapi index 266f8ce..1cef205 100644 --- a/vapi/libxfce4ui-1.vapi +++ b/vapi/libxfce4ui-1.vapi @@ -1,4 +1,4 @@ -/* libxfce4ui-1.vapi generated by vapigen-0.16, do not modify. */ +/* libxfce4ui-1.vapi generated by vapigen-0.26, do not modify. */ namespace Xfce { [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] @@ -7,6 +7,7 @@ namespace Xfce { protected SMClient (); public bool connect () throws GLib.Error; public void disconnect (); + public static GLib.Quark error_quark (); public static unowned Xfce.SMClient @get (); public unowned string get_client_id (); public unowned string get_current_directory (); @@ -75,6 +76,11 @@ namespace Xfce { HALT, REBOOT } + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h", cprefix = "XFCE_SM_CLIENT_ERROR_")] + public enum SmCLientErrorEnum { + FAILED, + INVALID_CLIENT + } [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] public const string BUTTON_TYPE_MIXED; [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] @@ -92,6 +98,8 @@ namespace Xfce { [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] public static void dialog_show_help (Gtk.Window parent, string application, string page, string offset); [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] + public static void dialog_show_help_with_version (Gtk.Window parent, string application, string page, string offset, string version); + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] public static void dialog_show_info (Gtk.Window parent, string secondary_text, string primary_format); [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] public static void dialog_show_warning (Gtk.Window parent, string secondary_text, string primary_format); diff --git a/vapi/libxfce4ui-2.deps b/vapi/libxfce4ui-2.deps new file mode 100644 index 0000000..4264788 --- /dev/null +++ b/vapi/libxfce4ui-2.deps @@ -0,0 +1,8 @@ +libxfce4util-1.0 +atk +gio-2.0 +cairo +pango +gdk-pixbuf-2.0 +gdk-3.0 +gtk+-3.0 diff --git a/vapi/libxfce4ui-2.vapi b/vapi/libxfce4ui-2.vapi new file mode 100644 index 0000000..0adcfdc --- /dev/null +++ b/vapi/libxfce4ui-2.vapi @@ -0,0 +1,130 @@ +/* libxfce4ui-2.vapi generated by vapigen-0.26, do not modify. */ + +namespace Xfce { + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] + public class SMClient : GLib.Object { + [CCode (has_construct_function = false)] + protected SMClient (); + public bool connect () throws GLib.Error; + public void disconnect (); + public static GLib.Quark error_quark (); + public static unowned Xfce.SMClient @get (); + public unowned string get_client_id (); + public unowned string get_current_directory (); + public static unowned Xfce.SMClient get_full (Xfce.SMClientRestartStyle restart_style, uchar priority, string resumed_client_id, string current_directory, string restart_command, string desktop_file); + public static unowned GLib.OptionGroup get_option_group (int argc, string argv); + public uchar get_priority (); + public unowned string get_restart_command (); + public Xfce.SMClientRestartStyle get_restart_style (); + public unowned string get_state_file (); + public static unowned Xfce.SMClient get_with_argv (int argc, string argv, Xfce.SMClientRestartStyle restart_style, uchar priority); + public bool is_connected (); + public bool is_resumed (); + public void request_shutdown (Xfce.SMClientShutdownHint shutdown_hint); + public void set_current_directory (string current_directory); + public void set_desktop_file (string desktop_file); + public void set_priority (uchar priority); + public void set_restart_command (string restart_command); + public void set_restart_style (Xfce.SMClientRestartStyle restart_style); + public int argc { construct; } + [CCode (array_length = false, array_null_terminated = true)] + public string[] argv { construct; } + public string client_id { get; construct; } + public string current_directory { get; set; } + [NoAccessorMethod] + public string desktop_file { owned get; set; } + public uchar priority { get; set construct; } + [CCode (array_length = false, array_null_terminated = true)] + public string[] restart_command { get; set; } + public Xfce.SMClientRestartStyle restart_style { get; set construct; } + [NoAccessorMethod] + public bool resumed { get; } + public virtual signal void quit (); + public virtual signal void quit_cancelled (); + public virtual signal bool quit_requested (); + public virtual signal void save_state (); + public virtual signal void save_state_extended (); + } + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] + public class TitledDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable { + [CCode (has_construct_function = false, type = "GtkWidget*")] + public TitledDialog (); + public unowned string get_subtitle (); + public void set_subtitle (string subtitle); + [CCode (has_construct_function = false, type = "GtkWidget*")] + public TitledDialog.with_buttons (string title, Gtk.Window parent, Gtk.DialogFlags flags, ...); + public string subtitle { get; set; } + } + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h", cprefix = "XFCE_SM_CLIENT_PRIORITY_", has_type_id = false)] + public enum SMClientPriority { + HIGHEST, + WM, + CORE, + DESKTOP, + DEFAULT, + LOWEST + } + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h", cprefix = "XFCE_SM_CLIENT_RESTART_")] + public enum SMClientRestartStyle { + NORMAL, + IMMEDIATELY + } + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h", cprefix = "XFCE_SM_CLIENT_SHUTDOWN_HINT_")] + public enum SMClientShutdownHint { + ASK, + LOGOUT, + HALT, + REBOOT + } + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h", cprefix = "XFCE_SM_CLIENT_ERROR_")] + public enum SmCLientErrorEnum { + FAILED, + INVALID_CLIENT + } + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] + public const string BUTTON_TYPE_MIXED; + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] + public const string BUTTON_TYPE_PIXBUF; + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] + public const int LIBXFCE4UI_MAJOR_VERSION; + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] + public const int LIBXFCE4UI_MICRO_VERSION; + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] + public const int LIBXFCE4UI_MINOR_VERSION; + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] + public static bool dialog_confirm (Gtk.Window parent, string stock_id, string confirm_label, string secondary_text, string primary_format); + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] + public static void dialog_show_error (Gtk.Window parent, GLib.Error error, string primary_format); + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] + public static void dialog_show_help (Gtk.Window parent, string application, string page, string offset); + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] + public static void dialog_show_help_with_version (Gtk.Window parent, string application, string page, string offset, string version); + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] + public static void dialog_show_info (Gtk.Window parent, string secondary_text, string primary_format); + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] + public static void dialog_show_warning (Gtk.Window parent, string secondary_text, string primary_format); + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] + public static unowned Gdk.Screen gdk_screen_get_active (int monitor_return); + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] + public static unowned Gtk.Widget gtk_button_new_mixed (string stock_id, string label); + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] + public static unowned Gtk.Widget gtk_frame_box_new (string label, out unowned Gtk.Widget container_return); + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] + public static unowned Gtk.Widget gtk_frame_box_new_with_content (string label, Gtk.Widget content); + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] + public static void gtk_window_center_on_active_screen (Gtk.Window window); + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h", cname = "libxfce4ui_check_version")] + public static unowned string libxfce4ui_check_version (uint required_major, uint required_minor, uint required_micro); + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] + public static int message_dialog (Gtk.Window parent, string title, string stock_id, string primary_text, string secondary_text, ...); + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] + public static unowned Gtk.Widget message_dialog_new (Gtk.Window parent, string title, string stock_id, string primary_text, string secondary_text, ...); + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] + public static unowned Gtk.Widget message_dialog_new_valist (Gtk.Window parent, string title, string icon_stock_id, string primary_text, string secondary_text, string first_button_text, void* args); + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] + public static bool spawn_command_line_on_screen (Gdk.Screen screen, string command_line, bool in_terminal, bool startup_notify) throws GLib.Error; + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] + public static bool spawn_on_screen (Gdk.Screen screen, string working_directory, string argv, string envp, GLib.SpawnFlags flags, bool startup_notify, uint32 startup_timestamp, string startup_icon_name) throws GLib.Error; + [CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")] + public static bool spawn_on_screen_with_child_watch (Gdk.Screen screen, string working_directory, string argv, string envp, GLib.SpawnFlags flags, bool startup_notify, uint32 startup_timestamp, string startup_icon_name, GLib.Closure child_watch_closure) throws GLib.Error; +} diff --git a/vapi/libxfce4util-1.0.vapi b/vapi/libxfce4util-1.0.vapi index e56873e..e69391d 100644 --- a/vapi/libxfce4util-1.0.vapi +++ b/vapi/libxfce4util-1.0.vapi @@ -1,4 +1,4 @@ -/* libxfce4util-1.0.vapi generated by vapigen-0.16, do not modify. */ +/* libxfce4util-1.0.vapi generated by vapigen-0.26, do not modify. */ namespace Xfce { [CCode (cheader_filename = "libxfce4util/libxfce4util.h")] @@ -90,16 +90,8 @@ namespace Xfce { [CCode (cheader_filename = "libxfce4util/libxfce4util.h")] public static unowned string gethostname (); [CCode (cheader_filename = "libxfce4util/libxfce4util.h")] - public static int putenv (string str); - [CCode (cheader_filename = "libxfce4util/libxfce4util.h")] - public static int setenv (string name, string value, bool overwrite); - [CCode (cheader_filename = "libxfce4util/libxfce4util.h")] - public static unowned string strjoin (string separator, string strings, int count); - [CCode (cheader_filename = "libxfce4util/libxfce4util.h")] public static void textdomain (string package, string localedir, string? encoding = null); [CCode (cheader_filename = "libxfce4util/libxfce4util.h")] - public static void unsetenv (string name); - [CCode (cheader_filename = "libxfce4util/libxfce4util.h")] public static unowned string utf8_remove_controls (string str, ssize_t max_len, string end); [CCode (cheader_filename = "libxfce4util/libxfce4util.h")] public static unowned string utf8_strndup (string src, ssize_t max_len); diff --git a/vapi/libxfconf-0.vapi b/vapi/libxfconf-0.vapi index c8163af..d1846ab 100644 --- a/vapi/libxfconf-0.vapi +++ b/vapi/libxfconf-0.vapi @@ -1,4 +1,4 @@ -/* libxfconf-0.vapi generated by vapigen-0.16, do not modify. */ +/* libxfconf-0.vapi generated by vapigen-0.26, do not modify. */ namespace Xfconf { [CCode (cheader_filename = "xfconf/xfconf.h")]