summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-10-14 22:30:14 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2014-10-14 23:49:53 (GMT)
commit81fe520aa27f1a7c236ade2c5b076577455d6bae (patch)
treecc3e56b2c8da3b80cab90b662ccfa97fdc933edf
parent6a8ec6a478a2132c6c853b8dc0f910aa2cdcfaf2 (diff)
downloadmxe-81fe520aa27f1a7c236ade2c5b076577455d6bae.zip
mxe-81fe520aa27f1a7c236ade2c5b076577455d6bae.tar.gz
mxe-81fe520aa27f1a7c236ade2c5b076577455d6bae.tar.bz2
glib, glibmm: Update to 2.42.0
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
-rw-r--r--src/glib.mk5
-rw-r--r--src/glibmm-1-fixes.patch67
-rw-r--r--src/glibmm.mk5
3 files changed, 6 insertions, 71 deletions
diff --git a/src/glib.mk b/src/glib.mk
index 81bc1c2..c9a3342 100644
--- a/src/glib.mk
+++ b/src/glib.mk
@@ -3,8 +3,8 @@
PKG := glib
$(PKG)_IGNORE :=
-$(PKG)_VERSION := 2.41.2
-$(PKG)_CHECKSUM := 07368426ac8da898e38bc15a97e125c8e66e8bd7
+$(PKG)_VERSION := 2.42.0
+$(PKG)_CHECKSUM := f5168a7adffad3620ff3f1b3d6ff6d0ad3f0752e
$(PKG)_SUBDIR := glib-$($(PKG)_VERSION)
$(PKG)_FILE := glib-$($(PKG)_VERSION).tar.xz
$(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/glib/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
@@ -13,6 +13,7 @@ $(PKG)_DEPS := gcc gettext pcre libiconv zlib libffi dbus
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://git.gnome.org/browse/glib/refs/tags' | \
$(SED) -n "s,.*tag/?id=\([0-9]\+\.[0-9]*[02468]\.[^']*\).*,\1,p" | \
+ $(SORT) -Vr | \
head -1
endef
diff --git a/src/glibmm-1-fixes.patch b/src/glibmm-1-fixes.patch
deleted file mode 100644
index 6197b0b..0000000
--- a/src/glibmm-1-fixes.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-This file is part of MXE.
-See index.html for further information.
-
-Taken from https://git.gnome.org/browse/glibmm/commit/?id=fb0bf14a29b80a0843e1e5dd1b5c5345d3839c93
-
-From a53dd20596df824423088d70aa2c3ca262346cd5 Mon Sep 17 00:00:00 2001
-From: Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
-Date: Tue, 2 Sep 2014 20:12:21 -0700
-Subject: [PATCH] Gio::DBus: Don't use parameter name 'interface'
-
-* gio/src/dbusmessage.hg:
-* gio/src/dbusobject.hg: Change parameter name 'interface' to 'iface',
-to avoid compilation errors with MinGW. Bug #735137.
-
-Signed-off-by: Timothy Gu <timothygu99@gmail.com>
-
-diff --git a/gio/src/dbusmessage.hg b/gio/src/dbusmessage.hg
-index 3ca2511..926e7fb 100644
---- a/gio/src/dbusmessage.hg
-+++ b/gio/src/dbusmessage.hg
-@@ -1,5 +1,3 @@
--// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*-
--
- /* Copyright (C) 2010 The giomm Development Team
- *
- * This library is free software; you can redistribute it and/or
-@@ -67,8 +65,11 @@ public:
- // They are generally UTF-8 that can only contain the ASCII subset,
- // so ustring still seems preferrable to std::string, which generally implies an unknown endoding for us.
-
-- _WRAP_METHOD(static Glib::RefPtr<Message> create_signal(const Glib::ustring& path, const Glib::ustring& interface, const Glib::ustring& signal), g_dbus_message_new_signal)
-- _WRAP_METHOD(static Glib::RefPtr<Message> create_method_call(const Glib::ustring& name, const Glib::ustring& path, const Glib::ustring& interface, const Glib::ustring& method), g_dbus_message_new_method_call)
-+ // The parameter name 'interface' can cause compilation errors with MinGW.
-+ // See https://bugzilla.gnome.org/show_bug.cgi?id=735137
-+ // The parameter name in glib is 'interface_'.
-+ _WRAP_METHOD(static Glib::RefPtr<Message> create_signal(const Glib::ustring& path, const Glib::ustring& iface, const Glib::ustring& signal), g_dbus_message_new_signal)
-+ _WRAP_METHOD(static Glib::RefPtr<Message> create_method_call(const Glib::ustring& name, const Glib::ustring& path, const Glib::ustring& iface, const Glib::ustring& method), g_dbus_message_new_method_call)
- _WRAP_METHOD(static Glib::RefPtr<Message> create_method_reply(const Glib::RefPtr<Message>& method_call_message), g_dbus_message_new_method_reply)
- _WRAP_METHOD(static Glib::RefPtr<Message> create_method_error_literal(const Glib::RefPtr<const Message>& method_call_message, const Glib::ustring& error_name, const Glib::ustring& error_message), g_dbus_message_new_method_error_literal)
-
-diff --git a/gio/src/dbusobject.hg b/gio/src/dbusobject.hg
-index a1e47d6..5431004 100644
---- a/gio/src/dbusobject.hg
-+++ b/gio/src/dbusobject.hg
-@@ -1,5 +1,3 @@
--// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*-
--
- /* Copyright (C) 2012 The giomm Development Team
- *
- * This library is free software; you can redistribute it and/or
-@@ -62,8 +60,11 @@ public:
-
- #m4 _CONVERSION(`GDBusInterface*',`const Glib::RefPtr<Gio::DBus::Interface>&',`Glib::wrap($3, true)')
-
-- _WRAP_SIGNAL(void interface_added(const Glib::RefPtr<Gio::DBus::Interface>& interface), "interface_added")
-- _WRAP_SIGNAL(void interface_removed(const Glib::RefPtr<Gio::DBus::Interface>& interface), "interface_removed")
-+ // The parameter name 'interface' can cause compilation errors with MinGW.
-+ // See https://bugzilla.gnome.org/show_bug.cgi?id=735137
-+ // The parameter name in glib is 'interface_'.
-+ _WRAP_SIGNAL(void interface_added(const Glib::RefPtr<Gio::DBus::Interface>& iface), "interface_added")
-+ _WRAP_SIGNAL(void interface_removed(const Glib::RefPtr<Gio::DBus::Interface>& iface), "interface_removed")
-
- #m4 _CONVERSION(`Glib::ustring',`const gchar*',`g_strdup($3.c_str())')
- _WRAP_VFUNC(Glib::ustring get_object_path() const, "get_object_path")
---
-1.8.3.2
-
diff --git a/src/glibmm.mk b/src/glibmm.mk
index 17210fb..7538d82 100644
--- a/src/glibmm.mk
+++ b/src/glibmm.mk
@@ -3,8 +3,8 @@
PKG := glibmm
$(PKG)_IGNORE :=
-$(PKG)_VERSION := 2.41.2
-$(PKG)_CHECKSUM := b241477d08d2a295d8fa334f25b239685824099f
+$(PKG)_VERSION := 2.42.0
+$(PKG)_CHECKSUM := 8f316a4dfdaf49366028087085f04c0ba29cb5c2
$(PKG)_SUBDIR := glibmm-$($(PKG)_VERSION)
$(PKG)_FILE := glibmm-$($(PKG)_VERSION).tar.xz
$(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/glibmm/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
@@ -14,6 +14,7 @@ define $(PKG)_UPDATE
$(WGET) -q -O- 'http://git.gnome.org/browse/glibmm/refs/tags' | \
grep '<a href=' | \
$(SED) -n 's,.*<a[^>]*>\([0-9]*\.[0-9]*[02468]\.[^<]*\)<.*,\1,p' | \
+ $(SORT) -Vr | \
head -1
endef