Skip to content

Commit

Permalink
Replace the vala files that use DBus with their generated c files.
Browse files Browse the repository at this point in the history
With vala >= 0.14 these files generate GDbus code instead of the deprecated
dbus-glib code. AWN and libdesktop-agnostic  needs to be ported to GDbus but
it's faster to just replace the two files for now.
.
Included changes:
 - awnterm needed Vala 0.12 due to GDbus.
 - related needed Vala 0.12 due to GDbus.
 - notification-area uses GLib.Timeout.
  • Loading branch information
micove committed Oct 18, 2015
1 parent 8531778 commit f04f87d
Show file tree
Hide file tree
Showing 6 changed files with 5,015 additions and 10 deletions.
2 changes: 0 additions & 2 deletions Makefile.am
Expand Up @@ -28,8 +28,6 @@ DISTCLEANFILES = \
intltool-update \
$(NULL)

VALAC = valac-0.12

ACLOCAL_AMFLAGS = -I m4

DISTCHECK_CONFIGURE_FLAGS = --disable-pymod-checks
Expand Down
5 changes: 2 additions & 3 deletions applets/maintained/awnterm/Makefile.am
@@ -1,8 +1,6 @@
APPLET_NAME = awnterm
APPLET_CFLAGS = $(VTE_CFLAGS)
VALAC = valac-0.12
VALA_FILES = \
awn-terminal.vala \
$(NULL)
AM_VALAFLAGS = \
--pkg=libintl \
Expand All @@ -11,12 +9,13 @@ AM_VALAFLAGS = \
$(srcdir)/keybinder.vapi \
$(NULL)

include $(top_srcdir)/Makefile.vala-applet
include $(top_srcdir)/Makefile.c-applet
include $(top_srcdir)/Makefile.schemas

applet_LTLIBRARIES = awnterm.la
awnterm_la_SOURCES = \
$(VALA_C_FILES) \
awn-terminal.c \
eggaccelerators.c \
eggaccelerators.h \
keybinder.c \
Expand Down

0 comments on commit f04f87d

Please sign in to comment.