From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Howard Melman Newsgroups: gmane.emacs.bugs Subject: bug#55322: 28.1; :base-uri not working for svg images on mac Date: Mon, 9 May 2022 10:26:23 -0400 Message-ID: References: <87tu9z2xfy.fsf@yahoo.com> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13827"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55322@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 09 16:43:04 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1no4bC-0003De-6u for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 May 2022 16:43:03 +0200 Original-Received: from localhost ([::1]:34392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1no4bB-0006uH-2N for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 May 2022 10:42:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41176) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1no4Ls-0004t8-S7 for bug-gnu-emacs@gnu.org; Mon, 09 May 2022 10:27:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36907) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1no4Lm-0002Zv-HH for bug-gnu-emacs@gnu.org; Mon, 09 May 2022 10:27:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1no4Lm-000676-E6 for bug-gnu-emacs@gnu.org; Mon, 09 May 2022 10:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Howard Melman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 May 2022 14:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55322 X-GNU-PR-Package: emacs Original-Received: via spool by 55322-submit@debbugs.gnu.org id=B55322.165210639323452 (code B ref 55322); Mon, 09 May 2022 14:27:02 +0000 Original-Received: (at 55322) by debbugs.gnu.org; 9 May 2022 14:26:33 +0000 Original-Received: from localhost ([127.0.0.1]:59037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1no4LI-00066C-Ma for submit@debbugs.gnu.org; Mon, 09 May 2022 10:26:32 -0400 Original-Received: from mail-qv1-f49.google.com ([209.85.219.49]:37548) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1no4LH-00065t-3N for 55322@debbugs.gnu.org; Mon, 09 May 2022 10:26:31 -0400 Original-Received: by mail-qv1-f49.google.com with SMTP id eq14so10534252qvb.4 for <55322@debbugs.gnu.org>; Mon, 09 May 2022 07:26:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=C0NOY9R9SUHDTCVEgkA0eN3awiRzViR+u+V6ts+Tvc4=; b=nj3a8u4wGla84kQTEbR7u6XkndWqGP/fglt2arsTRrz0O+lEbQRP+JvXLPg01JNCef eJwmm8FJNDLp6+5mNGYqaQ4MRXyKwKXkzOadRjSR6xWR2iDSNNsfPYZKYMZBeu4Ks5j8 JC83oLJin3BgTab5GO2CITr19q/C0DI16133tIC4UjB3/+md4LdcVLIzSNVRiVgJCrWj vsJdxnJDW6mGaXcpg4nUQTj9gukONQ2lSkFlUCbnkgM9njPlXz06UEyt4l31dwXOExVi atE2j4ENvBgh7q1kZh90ZQABxL/1wLYGE9a7dBT8iKoTIsESwfoTtm5z7/qLs2IEQJYQ 0xAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=C0NOY9R9SUHDTCVEgkA0eN3awiRzViR+u+V6ts+Tvc4=; b=McBV7LAJSE1zV8lIYAkmChmvgVLx/7mfSXCxMb9O/orurIHt0PXtMZNHU5QS9LmgF8 qWuhmWH0Zjmn1J/ivYCYspvwj8j0h+bYXH5K/DqoHgk6bpEF+cQKYjVkV7qF4pUzzA8K 9UYHSRmVWmp0w53HtrKjpqNK2uqMkcYcJnUqr/rvsrXP9yhA59QPGI4Cc8jwzGU3cRk2 Lo/j9e/ZOEEA3yt3YM9b+8M6nshHgel5LVzTT8cmAXATK9ksk4q0K+ojcSAok4JnRHLI GDS0JhLlc+d1okdkOB6bJO9plCLP7Jr1U1FFtmiNRdqK6D8hUJCGEOS/5QsP9B/KqveD uycQ== X-Gm-Message-State: AOAM531YpodNxyOG20icLmgTTaljsjAs8Que/XdIwkaVuBF4vtxe4iRr B68puyl2V441aNchUtsffUqkeAMUKgE= X-Google-Smtp-Source: ABdhPJwrCctJGmfpt2A90ucP8VplSIxHIF8SpBnodcgb4Oaz6HWp1tyK/f6Xa++KRIc7ArttkFyslw== X-Received: by 2002:a0c:8001:0:b0:45a:a28a:99ef with SMTP id 1-20020a0c8001000000b0045aa28a99efmr13356480qva.99.1652106385317; Mon, 09 May 2022 07:26:25 -0700 (PDT) Original-Received: from smtpclient.apple (pool-108-26-204-101.bstnma.fios.verizon.net. [108.26.204.101]) by smtp.gmail.com with ESMTPSA id l14-20020ac84a8e000000b002f39b99f68dsm7594528qtq.39.2022.05.09.07.26.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 May 2022 07:26:24 -0700 (PDT) In-Reply-To: <87tu9z2xfy.fsf@yahoo.com> X-Mailer: Apple Mail (2.3654.120.0.1.13) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:231752 Archived-At: > On May 8, 2022, at 11:32 PM, Po Lu wrote: >=20 > What happens if you set a breakpoint in GDB on this piece of code in > image.c? >=20 > /* Set base_uri for properly handling referenced images (via 'href'). > Can be explicitly specified using `:base_uri' image property. > See rsvg bug 596114 - "image refs are relative to curdir, not .svg = file" > . */ > if (filename) > rsvg_handle_set_base_uri (rsvg_handle, filename); >=20 > Is it triggered? And if so, what is the value of `filename'? I'm hoping someone else can try this. It's been a long time since I've=20= used gdb, I don't have it installed now, and don't have emacs c source=20= installed as I don't build my own emacs. > It's not useful to compare the code in Carbon Emacs with the code in > Emacs.app. They use completely different code paths to handle the > `base-uri' attribute. I understand. I'm a macport user, first saw the issue there, and then recreated it on Emacs.app. I know the paths are different, they both fail here, I didn't know why and reported them as distinctly as I could. That did turn out to be useful because @mituharu reported that=20 compiling the macport w/ librsvg works. https://github.com/minad/osm/issues/23#issuecomment-1121032499 Howard=