From nobody Tue Aug 02 07:05:24 2022 X-Original-To: gnome@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 4LxmGX3KMxz4YNLG for ; Tue, 2 Aug 2022 07:05:24 +0000 (UTC) (envelope-from bugzilla-noreply@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 4LxmGX1Nzxz3x1T for ; Tue, 2 Aug 2022 07:05:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4LxmGX0QvGz13hC for ; Tue, 2 Aug 2022 07:05:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 27275NNu066556 for ; Tue, 2 Aug 2022 07:05:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 27275Nw2066555 for gnome@FreeBSD.org; Tue, 2 Aug 2022 07:05:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 265559] x11-toolkits/gtksourceview4: Options for docs and the glade catalog Date: Tue, 02 Aug 2022 07:05:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lab+bsd@thinkum.space X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: GNOME for FreeBSD -- porting and maintaining List-Archive: https://lists.freebsd.org/archives/freebsd-gnome List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-gnome@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659423924; 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: in-reply-to:in-reply-to:references:references; bh=MtOc3/imMMy9DSwnaedWHT7Yk64zLZrQIRylc5jwKjo=; b=T3m+lU+5/p7TPPKy5JQDMXgLsmDVccxtD3KpOHMWSnqjznhBs22E/nARoYJRg21Yp4difB D7svasrwqPNosVcpUEJ6xTByZh4xM/nTrDDdYxbQ7KqBnKKDwtS8SFbGLGtVfA4x2Tvxwp nBhA0ghzMjyHakQN7aPEvPSxmRBxNamW1yyHmRw4dmfFwbC6shOMi7q7pS8WIWQBpUItJB xv3kLWvlG9/SrEFXwZ0EWo5hTMz+QubbEtnilzSzomzZeyWBj2NjX1eyvrXnckMqq/5XWj 42lKRxomVox4pyCsBJ7d42U/HdCCtFKaGqjCpqULcZgfmvAdRAOwHGG/bU4a8Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659423924; a=rsa-sha256; cv=none; b=qGA5yvX16wTvyzsResz6V8RHWTfH2nPuXdWQ9oI0FGaI5vdegR3KlDR38tH930q1S4cRpj GryDcydVVP2J79bvtE1n5H3J4u68MG/YBmOXeaSAHCfJiIwciqJeooDdMFs+/DG9rr84Yy Y8JRWAd8fY+aju5ZzIQJTS2JwycO2Tmtx0wY3fdCkO1Nlo+UyyaFBqf7LQHSBlg4o537oR Ghiqu9Cyl5BKtW6b7oDyIbVPmBF/Lr5AuI8xUk/338VsC8ScxtoIw/Ce0qD7duGeAkTCOr NfVCouKnkEU5FvgQCZ6SeeI6mU9fWRV9X9YSC3PFEa7T1I9ru6dlR4DM9hmYUA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265559 --- Comment #6 from Sean Champ --- The Glade catalog files already have a 'book' attribute value, in each. Perhaps the Glade/Devhelp "Read Documentation" quirk might be difficult to = work around with a simple patch. Glade might be using each widget/group name, independent of the containing scope? If two widgets with a same name though installed from separate catalogs are being resolved to one devehelp book, it might not be very well useful to patch any widget names in either catalog. Maybe a notice could be added to the pkg-message for either or both of gtksourceview3 and gtksourceview4 with the added glade option, if the issue itself is not too complex to explain succinctly?=20 With the patches and a catalog file rename during stage in the gtksourcevie= w3 port, the catalog files don't conflict at a file level.=20 With both catalog files patched and installed, there is at least this quirk with regards to how the documentation is resolved from Glade. There are some slight differences between the gtksourceview3 and gtksourcev= iew4 catalog files. I'm not certain how it could be reflected in the widget API environment, if both are installed and then used from any source code.=20 I can try testing this in Ruby. Assuming that Gtk::Builder would use the sa= me catalog resolution algorithm as presented in Glade, perhaps it would break = the code too when both catalogs are installed. I wonder Gtk::Builder might simp= ly use the first catalog it finds, for some named widget? Perhaps it may be advisable to simply warn the user to not install both catalogs? --=20 You are receiving this mail because: You are the assignee for the bug.=