From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74606: 31.0.50; Another rsvg API change Date: Sat, 30 Nov 2024 13:06:39 +0200 Message-ID: <86zflh6kw0.fsf@gnu.org> References: <877c8m9el0.fsf@ledu-giraud.fr> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32707"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74606@debbugs.gnu.org To: Manuel Giraud Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 30 12:07:06 2024 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 1tHLJZ-0008KH-9b for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Nov 2024 12:07:05 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHLJX-0005It-HY; Sat, 30 Nov 2024 06:07:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tHLJW-0005Ij-By for bug-gnu-emacs@gnu.org; Sat, 30 Nov 2024 06:07:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tHLJW-0005p2-43 for bug-gnu-emacs@gnu.org; Sat, 30 Nov 2024 06:07:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=U0PMyjWl6dubgkw5IEXpPK738pjji53nb3H9OYSHnuU=; b=XSIYZRj34fWOqxOd8q/5Z9rI3EVbVFOYbETdeLkf+pTJ+PN30f9wkhKXw5JPm9aQw0hT9HCffbZhVEnCi3YfEPxIzpF/8hZoNoSsHo7t1yRoBFd4nPCI4UMacsPFUyY+jicJZFiW/jiMOhmTmwm0/f1CsIHBFFAB0UoHYp5jWUaXvFc8P2fmSrYfZTktcq4NLtt/B1YnWlY9zys44cJEE1k115UJX/UVOqD0nTxq7qOPyVe7cVXB3w9njxDJqLLSSPlV5ilpxAmiXYEHsgyvxjQO4fyggIC60RDkdibwF0QCN+PQJ3ME8FOcHqu7jXI3kpvRk5JzjQFWZlMYK+0/+w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tHLJV-0002GZ-Ur for bug-gnu-emacs@gnu.org; Sat, 30 Nov 2024 06:07:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Nov 2024 11:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74606 X-GNU-PR-Package: emacs Original-Received: via spool by 74606-submit@debbugs.gnu.org id=B74606.17329648108686 (code B ref 74606); Sat, 30 Nov 2024 11:07:01 +0000 Original-Received: (at 74606) by debbugs.gnu.org; 30 Nov 2024 11:06:50 +0000 Original-Received: from localhost ([127.0.0.1]:45698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHLJJ-0002G0-GT for submit@debbugs.gnu.org; Sat, 30 Nov 2024 06:06:49 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHLJH-0002Fc-I5 for 74606@debbugs.gnu.org; Sat, 30 Nov 2024 06:06:48 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tHLJC-0005jm-5b; Sat, 30 Nov 2024 06:06:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=U0PMyjWl6dubgkw5IEXpPK738pjji53nb3H9OYSHnuU=; b=pP+qBgM250F3 lODmkLeObKifyXlvfm+6kdmkVhhKCyUo8tqvFg3YzeM620EmH2cArh6t+gT6+xIDdotLCp2iTeUEw j74/yZm3L0U1izNIc9NvJI5Kc1bzJJlIbKLZtM7BoRV2FbAlrwjJ5iZqe4U7ISwhofHdBGWI+9C8g xk+UF1yMvJfZk2XHHd99MW7e0f33o0oHCTn2qCsn/BYgK6OjrFFydvSY2D675VSRyfSJmYa6iueNe k10LyISb+p8kwdfYOes3JcU7HTxD/MENXpwnOYnOsa6Qoi3ngLdjZDdQuaF2Ag+UQCEZR1D6f3OnL XoiKKBIsBkgAefV6iRqUyQ==; In-Reply-To: <877c8m9el0.fsf@ledu-giraud.fr> (bug-gnu-emacs@gnu.org) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:296156 Archived-At: > Date: Fri, 29 Nov 2024 17:42:19 +0100 > From: Manuel Giraud via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > This is not a bug (yet) per se but here is a new warning I get from > compiling Emacs with librsvg version 2.59.2: > > CC image.o > image.c: In function 'svg_load_image': > image.c:12360:3: warning: 'rsvg_handle_get_pixbuf' is deprecated: Use 'rsvg_handle_get_pixbuf_and_error' instead [-Wdeprecated-declarations] > 12360 | pixbuf = rsvg_handle_get_pixbuf (rsvg_handle); > | ^~~~~~ > In file included from /usr/local/include/librsvg-2.0/librsvg/rsvg.h:1332, > from image.c:11652: > /usr/local/include/librsvg-2.0/librsvg/rsvg-pixbuf.h:55:12: note: declared here > 55 | GdkPixbuf *rsvg_handle_get_pixbuf (RsvgHandle *handle); > | ^~~~~~~~~~~~~~~~~~~~~~ The way to fix this is to add code conditioned on librsvg version that uses rsvg_handle_get_pixbuf_and_error when available. Thanks.