From bd1320b54fe49a802676bb288ed28884eb18a21a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 12 Sep 2014 11:56:47 +0800 Subject: [PATCH] Attribute changed Makefile Makefile Attribute changed GitMonitor.vala GitMonitor.vala --- GitMonitor.vala | 8 ++++---- Makefile | 30 ++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 4 deletions(-) create mode 100644 Makefile diff --git a/GitMonitor.vala b/GitMonitor.vala index 6a672884..d8ca8eb5 100644 --- a/GitMonitor.vala +++ b/GitMonitor.vala @@ -124,17 +124,17 @@ public class GitMonitorQueue : MonitorNamePathDir { } - public static bool GitMonitorQueue.queueHas(Array list , GitMonitorQueue cmd_s, string action)) { + public static bool queueHas(Array list , GitMonitorQueue cmd_s, string action) { for(var i =0; i < list.length; i++) { var test = list.index(i); if (list.index(i).gitpath != cmd_s.gitpath) { - continue + continue; } if (list.index(i).vname != cmd_s.vname) { - continue + continue; } if (list.index(i).action != action) { - continue + continue; } return true; } diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..350407f1 --- /dev/null +++ b/Makefile @@ -0,0 +1,30 @@ + +PKGS= --pkg gio-2.0 \ + --pkg posix \ + --pkg gtk+-3.0 \ + --pkg libnotify \ + --pkg libwnck-3.0 + +FLAGS= -g --vapidir=. --Xcc=-lXss --Xcc=-DWNCK_I_KNOW_THIS_IS_UNSTABLE + +CORESRC= JsRender/*.vala \ + Project/*.vala \ + Palete/*.vala \ + Builder4/Application.vala + +SRC= Gitlive.vala \ + Monitor.vala \ + GitMonitor.vala \ + Spawn.vala \ + StatusIcon.vala \ + GitRepo.vala \ + xorg_idletime.c \ + WindowLog.vala + + +all: gitlive + +gitlive: + valac $(FLAGS) $(PKGS) $(SRC) \ + -o /usr/bin/Gitlive + -- 2.39.2