From nobody Thu Mar 21 20:14:13 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V0xWB4F1tz5FQ61; Thu, 21 Mar 2024 20:14:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V0xWB19Wdz4QZQ; Thu, 21 Mar 2024 20:14:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711052054; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8FuEqb19DbWoERiVQiq2+n2BjZh6ziK7VV410C3UiU4=; b=KPqGftE2EKAudaS9OGbsbZm/rA6OlAIWNhKSm5nqXz1iUWVMlBUB9PLgitDLEQTo38ZqkF 1KmKSynTP0ctIY7atrot/0VfZkJazSrBlrtTsr+UB4aavoizChNMFYZbsV4EwO2Gr5OOhO rbXxbWTgcTwd/RhAHcMaQD7Hit5y/L1oYDo4uj1vtRHMvKxSEhNFGuEhyeY7bFT16GAdlF 8fMAdhhb0VzRftWHd2aBEhE9mFZ49aiZQBcWp7YZBrcuEs2/xvAPyprdfXbRMSFQjTVxFX VpJ7UUcC6nFe/mu71WvdWcbH2DGEijFCiX/lHEQsRtgQPr8BrUtSJsiBgIepVQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711052054; a=rsa-sha256; cv=none; b=CHoVpyg2FmH1dqT04H/rz7HImATMhHs9BtkVZWlwLx+ckI0GSdtEZjOH+X+LV82PRo1igm MAjrio64upnq0o8D04kWRA9gb1QFh8Jv2IPMUCykk/UwwYSQWxgyTj12ZQzBXr19qKiFTT yNjOwSlKVpOy5SNPovBunltPxaucsRjc3oUt9qbmFFdYnX2TL1Iwf5IpOp4CXsAcm4skY8 ScinDoFzunbQee35MFSxDHgEcKPlEWJ9XdyPZe2S4ezK+XXIdFxp3mQNZ0sZVa4EfytOxT +zXLc+oR99shhueQKkjOjwMwd5Tw4INkWuligGejywLLjtmfWtAeQYOg8bD5GA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711052054; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8FuEqb19DbWoERiVQiq2+n2BjZh6ziK7VV410C3UiU4=; b=hpIZAxA6VOEyUZ9kzk64jMeTiM9lr8Vyw7VljScoqsmswZn+rhN98p9HoaRYPNVgayu9xQ 8XbJruAKJMfs/G5BOaWAv0Sl6Ztp2F1WSIS2yLotHrj8ghPKK35xDRuNwNPxgGa+7iABDl IFHdBDgIOT0ZKi3OTD7yqOnU7c3NFfZ/ry9HaNbz+DB9Bso6Jloz2zd9gGfcqi61yizkbG 3tXgzvZqDyoNAV4FfBhUlToj8+wt1cQk9IIsoE32+8dMFGTToTTWZ3YspPvbkewOokRcJ+ v6hih81vAP4QQ85XhSzkyXHUud8aJJRG2dDBWpMImrqJyJZZXmHP+SRqxUugZw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4V0xWB0fyFzqR5; Thu, 21 Mar 2024 20:14:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42LKEDal046186; Thu, 21 Mar 2024 20:14:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42LKEDcR046183; Thu, 21 Mar 2024 20:14:13 GMT (envelope-from git) Date: Thu, 21 Mar 2024 20:14:13 GMT Message-Id: <202403212014.42LKEDcR046183@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 731e65e8e0c0 - main - devel/blueprint-compiler: update to 0.12.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 731e65e8e0c03d92376ef985bbef2a83c2dda329 Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=731e65e8e0c03d92376ef985bbef2a83c2dda329 commit 731e65e8e0c03d92376ef985bbef2a83c2dda329 Author: Jan Beich AuthorDate: 2024-03-21 19:37:27 +0000 Commit: Jan Beich CommitDate: 2024-03-21 20:14:02 +0000 devel/blueprint-compiler: update to 0.12.0 Changes: https://gitlab.gnome.org/jwestman/blueprint-compiler/-/releases/v0.12.0 Reported by: GitLab (notify releases) --- devel/blueprint-compiler/Makefile | 3 +- devel/blueprint-compiler/distinfo | 6 ++-- .../files/patch-blueprintcompiler_gir.py | 13 -------- .../files/patch-blueprintcompiler_typelib.py | 38 ---------------------- devel/blueprint-compiler/pkg-plist | 4 ++- 5 files changed, 7 insertions(+), 57 deletions(-) diff --git a/devel/blueprint-compiler/Makefile b/devel/blueprint-compiler/Makefile index 7084d92106e3..78f0d770d682 100644 --- a/devel/blueprint-compiler/Makefile +++ b/devel/blueprint-compiler/Makefile @@ -1,7 +1,6 @@ PORTNAME= blueprint-compiler DISTVERSIONPREFIX= v -DISTVERSION= 0.10.0 -PORTREVISION= 1 +DISTVERSION= 0.12.0 CATEGORIES= devel MAINTAINER= jbeich@FreeBSD.org diff --git a/devel/blueprint-compiler/distinfo b/devel/blueprint-compiler/distinfo index da9d94d66197..68b97ff96612 100644 --- a/devel/blueprint-compiler/distinfo +++ b/devel/blueprint-compiler/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1689969978 -SHA256 (blueprint-compiler-v0.10.0.tar.bz2) = 9c3c6eecef9eb54ad43b9ef786697a9f99b21e35240e9ddc8541a2cbd9ea79ba -SIZE (blueprint-compiler-v0.10.0.tar.bz2) = 81856 +TIMESTAMP = 1711049847 +SHA256 (blueprint-compiler-v0.12.0.tar.bz2) = 0f762e8a0dfef9aa46b4bddf8ed4bbc09b5d2fa2baff5dec109ccc513c6e9e00 +SIZE (blueprint-compiler-v0.12.0.tar.bz2) = 90521 diff --git a/devel/blueprint-compiler/files/patch-blueprintcompiler_gir.py b/devel/blueprint-compiler/files/patch-blueprintcompiler_gir.py deleted file mode 100644 index 48471f4d9a05..000000000000 --- a/devel/blueprint-compiler/files/patch-blueprintcompiler_gir.py +++ /dev/null @@ -1,13 +0,0 @@ ---- blueprintcompiler/gir.py.orig 2023-09-26 21:07:04 UTC -+++ blueprintcompiler/gir.py -@@ -888,8 +888,8 @@ class Repository(GirNode): - return self.lookup_namespace(ns).get_type(dir_entry.DIR_ENTRY_NAME) - - def _resolve_type_id(self, type_id: int) -> GirType: -- if type_id & 0xFFFFFF == 0: -- type_id = (type_id >> 27) & 0x1F -+ if type_id & (0xFFFFFF if sys.byteorder == "little" else 0xFFFFFF00) == 0: -+ type_id = ((type_id >> 27) if sys.byteorder == "little" else type_id) & 0x1F - # simple type - if type_id == typelib.TYPE_BOOLEAN: - return BoolType() diff --git a/devel/blueprint-compiler/files/patch-blueprintcompiler_typelib.py b/devel/blueprint-compiler/files/patch-blueprintcompiler_typelib.py deleted file mode 100644 index 4953a57016ef..000000000000 --- a/devel/blueprint-compiler/files/patch-blueprintcompiler_typelib.py +++ /dev/null @@ -1,38 +0,0 @@ ---- blueprintcompiler/typelib.py.orig 2023-07-21 20:06:18 UTC -+++ blueprintcompiler/typelib.py -@@ -61,7 +61,14 @@ class Field: - def __init__(self, offset: int, type: str, shift=0, mask=None): - self._offset = offset - self._type = type -- self._shift = shift -+ if not mask or sys.byteorder == "little": -+ self._shift = shift -+ elif self._type == "u8" or self._type == "i8": -+ self._shift = 8 - (shift + mask) -+ elif self._type == "u16" or self._type == "i16": -+ self._shift = 16 - (shift + mask) -+ else: -+ self._shift = 32 - (shift + mask) - self._mask = (1 << mask) - 1 if mask else None - self._name = f"{offset}__{type}__{shift}__{mask}" - -@@ -170,7 +177,7 @@ class Typelib: - OBJ_FINAL = Field(0x02, "u16", 3, 1) - OBJ_GTYPE_NAME = Field(0x08, "string") - OBJ_PARENT = Field(0x10, "dir_entry") -- OBJ_GTYPE_STRUCT = Field(0x14, "string") -+ OBJ_GTYPE_STRUCT = Field(0x12, "string") - OBJ_N_INTERFACES = Field(0x14, "u16") - OBJ_N_FIELDS = Field(0x16, "u16") - OBJ_N_PROPERTIES = Field(0x18, "u16") -@@ -255,7 +262,9 @@ class Typelib: - - def _int(self, size, signed) -> int: - return int.from_bytes( -- self._typelib_file[self._offset : self._offset + size], sys.byteorder -+ self._typelib_file[self._offset : self._offset + size], -+ sys.byteorder, -+ signed=signed, - ) - - diff --git a/devel/blueprint-compiler/pkg-plist b/devel/blueprint-compiler/pkg-plist index 8b651fd0e429..d4d4c3d5d279 100644 --- a/devel/blueprint-compiler/pkg-plist +++ b/devel/blueprint-compiler/pkg-plist @@ -5,11 +5,12 @@ bin/blueprint-compiler %%PYTHON_SITELIBDIR%%/blueprintcompiler/completions_utils.py %%PYTHON_SITELIBDIR%%/blueprintcompiler/decompiler.py %%PYTHON_SITELIBDIR%%/blueprintcompiler/errors.py +%%PYTHON_SITELIBDIR%%/blueprintcompiler/formatter.py %%PYTHON_SITELIBDIR%%/blueprintcompiler/gir.py %%PYTHON_SITELIBDIR%%/blueprintcompiler/interactive_port.py %%PYTHON_SITELIBDIR%%/blueprintcompiler/language/__init__.py %%PYTHON_SITELIBDIR%%/blueprintcompiler/language/adw_breakpoint.py -%%PYTHON_SITELIBDIR%%/blueprintcompiler/language/adw_message_dialog.py +%%PYTHON_SITELIBDIR%%/blueprintcompiler/language/adw_response_dialog.py %%PYTHON_SITELIBDIR%%/blueprintcompiler/language/attributes.py %%PYTHON_SITELIBDIR%%/blueprintcompiler/language/binding.py %%PYTHON_SITELIBDIR%%/blueprintcompiler/language/common.py @@ -32,6 +33,7 @@ bin/blueprint-compiler %%PYTHON_SITELIBDIR%%/blueprintcompiler/language/gtkbuilder_template.py %%PYTHON_SITELIBDIR%%/blueprintcompiler/language/imports.py %%PYTHON_SITELIBDIR%%/blueprintcompiler/language/response_id.py +%%PYTHON_SITELIBDIR%%/blueprintcompiler/language/translation_domain.py %%PYTHON_SITELIBDIR%%/blueprintcompiler/language/types.py %%PYTHON_SITELIBDIR%%/blueprintcompiler/language/ui.py %%PYTHON_SITELIBDIR%%/blueprintcompiler/language/values.py