Date: Sun, 4 Feb 2024 22:52:32 GMT From: Charlie Li <vishwin@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: e505cd6bec22 - main - net-im/telepathy-idle: update to 0.2.2 Message-ID: <202402042252.414MqWuL084721@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by vishwin: URL: https://cgit.FreeBSD.org/ports/commit/?id=e505cd6bec229b32b629aa33100800ba02c87135 commit e505cd6bec229b32b629aa33100800ba02c87135 Author: Charlie Li <vishwin@FreeBSD.org> AuthorDate: 2024-02-04 22:50:56 +0000 Commit: Charlie Li <vishwin@FreeBSD.org> CommitDate: 2024-02-04 22:52:27 +0000 net-im/telepathy-idle: update to 0.2.2 Changelog: https://gitlab.freedesktop.org/telepathy/telepathy-idle/-/blob/telepathy-idle-0.2.2/NEWS (tarball does not actually include meson) --- net-im/telepathy-idle/Makefile | 3 +- net-im/telepathy-idle/distinfo | 5 +- .../files/patch-tools_glib-ginterface-gen.py | 56 ---------------------- .../files/patch-tools_libglibcodegen.py | 17 ------- 4 files changed, 4 insertions(+), 77 deletions(-) diff --git a/net-im/telepathy-idle/Makefile b/net-im/telepathy-idle/Makefile index 0659c4f8acf2..d0ee74633535 100644 --- a/net-im/telepathy-idle/Makefile +++ b/net-im/telepathy-idle/Makefile @@ -1,6 +1,5 @@ PORTNAME= telepathy-idle -PORTVERSION= 0.2.0 -PORTREVISION= 3 +PORTVERSION= 0.2.2 CATEGORIES= net-im MASTER_SITES= http://telepathy.freedesktop.org/releases/${PORTNAME}/ diff --git a/net-im/telepathy-idle/distinfo b/net-im/telepathy-idle/distinfo index b9d7a21c26a4..51142c496ae7 100644 --- a/net-im/telepathy-idle/distinfo +++ b/net-im/telepathy-idle/distinfo @@ -1,2 +1,3 @@ -SHA256 (telepathy-idle-0.2.0.tar.gz) = 3013ad4b38d14ee630b8cc8ada5e95ccaa849b9a6fe15d2eaf6d0717d76f2fab -SIZE (telepathy-idle-0.2.0.tar.gz) = 566492 +TIMESTAMP = 1707086661 +SHA256 (telepathy-idle-0.2.2.tar.gz) = 8387e25e5fb0b4cbe701e5dc092d666d6510b833fd3e7e462e9170d36ec3c15f +SIZE (telepathy-idle-0.2.2.tar.gz) = 606406 diff --git a/net-im/telepathy-idle/files/patch-tools_glib-ginterface-gen.py b/net-im/telepathy-idle/files/patch-tools_glib-ginterface-gen.py deleted file mode 100644 index 39816830d2a4..000000000000 --- a/net-im/telepathy-idle/files/patch-tools_glib-ginterface-gen.py +++ /dev/null @@ -1,56 +0,0 @@ ---- tools/glib-ginterface-gen.py.orig 2020-09-28 19:59:50 UTC -+++ tools/glib-ginterface-gen.py -@@ -22,6 +22,7 @@ - # License along with this library; if not, write to the Free Software - # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -+import functools - import sys - import os.path - import xml.dom.minidom -@@ -85,18 +86,12 @@ class Generator(object): - self.allow_havoc = allow_havoc - - def h(self, s): -- if isinstance(s, unicode): -- s = s.encode('utf-8') - self.__header.append(s) - - def b(self, s): -- if isinstance(s, unicode): -- s = s.encode('utf-8') - self.__body.append(s) - - def d(self, s): -- if isinstance(s, unicode): -- s = s.encode('utf-8') - self.__docs.append(s) - - def do_node(self, node): -@@ -733,7 +728,7 @@ class Generator(object): - - def __call__(self): - nodes = self.dom.getElementsByTagName('node') -- nodes.sort(cmp_by_name) -+ nodes.sort(key=functools.cmp_to_key(cmp_by_name)) - - self.h('#include <glib-object.h>') - self.h('#include <dbus/dbus-glib.h>') -@@ -768,7 +763,7 @@ class Generator(object): - file_set_contents(self.basename + '-gtk-doc.h', '\n'.join(self.__docs)) - - def cmdline_error(): -- print """\ -+ print ("""\ - usage: - gen-ginterface [OPTIONS] xmlfile Prefix_ - options: -@@ -788,7 +783,7 @@ options: - void symbol (DBusGMethodInvocation *context) - and return some sort of "not implemented" error via - dbus_g_method_return_error (context, ...) --""" -+""") - sys.exit(1) - - diff --git a/net-im/telepathy-idle/files/patch-tools_libglibcodegen.py b/net-im/telepathy-idle/files/patch-tools_libglibcodegen.py deleted file mode 100644 index 2765534f85db..000000000000 --- a/net-im/telepathy-idle/files/patch-tools_libglibcodegen.py +++ /dev/null @@ -1,17 +0,0 @@ ---- tools/libglibcodegen.py.orig 2013-09-19 15:01:59 UTC -+++ tools/libglibcodegen.py -@@ -154,7 +154,7 @@ def type_to_gtype(s): - return ("GHashTable *", "DBUS_TYPE_G_STRING_STRING_HASHTABLE", "BOXED", False) - elif s[:2] == 'a{': #some arbitrary hash tables - if s[2] not in ('y', 'b', 'n', 'q', 'i', 'u', 's', 'o', 'g'): -- raise Exception, "can't index a hashtable off non-basic type " + s -+ raise Exception("can't index a hashtable off non-basic type " + s) - first = type_to_gtype(s[2]) - second = type_to_gtype(s[3:-1]) - return ("GHashTable *", "(dbus_g_type_get_map (\"GHashTable\", " + first[1] + ", " + second[1] + "))", "BOXED", False) -@@ -169,4 +169,4 @@ def type_to_gtype(s): - return ("GValueArray *", gtype, "BOXED", True) - - # we just don't know .. -- raise Exception, "don't know the GType for " + s -+ raise(Exception, "don't know the GType for " + s)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402042252.414MqWuL084721>