Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Commit

Permalink
update to valac-0.26 and gee-0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Enrico Tassi committed May 22, 2015
1 parent d016cf4 commit dfb7167
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
22/05/2015 - update vala code to 0.26 - version 1.2.6.1
* smd-applet:
- compile with valac 0.26
- use libgee ABI 2 (gee-0.8.pc)

14/03/2014 - feature improvement and gui redesign - version 1.2.6
* mddiff, smd-client, DESIGN:
- Emit MOVE command when appropriate. This optimization and its
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# should care about them

PROJECTNAME=syncmaildir
VERSION=1.2.6
VERSION=1.2.6.1
COPYRIGHT=© 2008-2013 Enrico Tassi <[email protected]>
BINARIES=mddiff smd-applet
MANPAGES1=mddiff.1 smd-server.1 smd-client.1 \
Expand All @@ -25,11 +25,11 @@ BENCH_MAILBOX=misc/Mail.BENCH.tgz
BENCH_SUITES=benchmarks
PKG_GTK=gtk+-3.0
SMD_APPLET_C=smd-applet.c
PKGS_VALA=glib-2.0 $(PKG_GTK) libnotify gconf-2.0 gee-1.0 gio-2.0
PKGS_VALA=glib-2.0 $(PKG_GTK) libnotify gconf-2.0 gee-0.8 gio-2.0
TARGET_GLIB=2.32
PKGCONFIG_CHECK_GLIB_VERSION=--atleast-version=$(TARGET_GLIB) glib-2.0
PKGCONFIG_GLIB_VERSION=--modversion glib-2.0
VALAC=valac-0.22
VALAC=valac-0.26
H=@

# ----------------------------------------------------------------------------
Expand Down Expand Up @@ -221,7 +221,7 @@ dist $(PROJECTNAME)-$(VERSION).tar.gz: smd-applet.c
-r smd-applet.c \
--owner root --group root \
-f $(PROJECTNAME)-$(VERSION).tar
gzip -9 -f $(PROJECTNAME)-$(VERSION).tar
gzip -9 -n -f $(PROJECTNAME)-$(VERSION).tar

$(HTML): check-w-markdown
cat misc/head.html > index.html
Expand Down
8 changes: 5 additions & 3 deletions smd-applet.vala
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ class smdApplet : Gtk.Application {
});

// notification system
unowned List<string> l = Notify.get_server_caps();
List<string> l = Notify.get_server_caps();
notification_server_has_persistence = (0 <= l.index("persistence"));

// error mode data
Expand Down Expand Up @@ -419,7 +419,8 @@ class smdApplet : Gtk.Application {
string permissions = null;
string mail_name = null;
string mail_body = null;
var commands = new Gee.ArrayList<string>(str_equal);
var commands = new Gee.ArrayList<string>(
Gee.Functions.get_equal_func_for(typeof(string)));

if (has_actions) {
string acts = i_act.fetch(1);
Expand Down Expand Up @@ -832,7 +833,8 @@ class smdApplet : Gtk.Application {
try {
Dir d = GLib.Dir.open(SMD_LOGS_DIR);
string file;
var new_lognames = new Gee.ArrayList<string>(str_equal);
var new_lognames = new Gee.ArrayList<string>(
Gee.Functions.get_equal_func_for(typeof(string)));

while ( (file = d.read_name()) != null ){
new_lognames.add(file);
Expand Down

0 comments on commit dfb7167

Please sign in to comment.