GNU bug report logs -
#51480
lib(png|gif|jpeg)-version not defined
Previous Next
Reported by: Stefan Kangas <stefan <at> marxist.se>
Date: Fri, 29 Oct 2021 13:56:02 UTC
Severity: minor
Tags: notabug
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 51480 in the body.
You can then email your comments to 51480 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#51480
; Package
emacs
.
(Fri, 29 Oct 2021 13:56:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefan Kangas <stefan <at> marxist.se>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 29 Oct 2021 13:56:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Severity: minor
I'm not sure if this is a bug, or just me who is missing something
obvious.
In image.c, I see the following:
DEFSYM (Qlibpng_version, "libpng-version");
Fset (Qlibpng_version,
#if HAVE_PNG
make_fixnum (PNG_LIBPNG_VER)
#else
make_fixnum (-1)
#endif
);
DEFSYM (Qlibgif_version, "libgif-version");
Fset (Qlibgif_version,
#ifdef HAVE_GIF
make_fixnum (GIFLIB_MAJOR * 10000
+ GIFLIB_MINOR * 100
+ GIFLIB_RELEASE)
#else
make_fixnum (-1)
#endif
);
DEFSYM (Qlibjpeg_version, "libjpeg-version");
Fset (Qlibjpeg_version,
#if HAVE_JPEG
make_fixnum (JPEG_LIB_VERSION)
#else
make_fixnum (-1)
#endif
);
#endif
But AFAICT, this doesn't really do anything? I can't find those
variables, the only one I have is `libgnutls-version'. So should those
definitions be DEFVAR's, or am I missing something?
In GNU Emacs 29.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version
3.24.24, cairo version 1.16.0)
of 2021-10-29 built on joffe
Repository revision: 0aa9f478e962e3e2d146871fa37267709404c52e
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS
WEBP X11 XDBE XIM XPM GTK3 ZLIB
Important settings:
value of $LC_COLLATE: C
value of $LC_CTYPE: sv_SE.UTF-8
value of $LC_TIME: C
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#51480
; Package
emacs
.
(Fri, 29 Oct 2021 14:13:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 51480 <at> debbugs.gnu.org (full text, mbox):
> From: Stefan Kangas <stefan <at> marxist.se>
> Date: Fri, 29 Oct 2021 06:54:59 -0700
>
> In image.c, I see the following:
>
> DEFSYM (Qlibpng_version, "libpng-version");
> Fset (Qlibpng_version,
> #if HAVE_PNG
> make_fixnum (PNG_LIBPNG_VER)
> #else
> make_fixnum (-1)
> #endif
> );
> DEFSYM (Qlibgif_version, "libgif-version");
> Fset (Qlibgif_version,
> #ifdef HAVE_GIF
> make_fixnum (GIFLIB_MAJOR * 10000
> + GIFLIB_MINOR * 100
> + GIFLIB_RELEASE)
> #else
> make_fixnum (-1)
> #endif
> );
> DEFSYM (Qlibjpeg_version, "libjpeg-version");
> Fset (Qlibjpeg_version,
> #if HAVE_JPEG
> make_fixnum (JPEG_LIB_VERSION)
> #else
> make_fixnum (-1)
> #endif
> );
> #endif
>
> But AFAICT, this doesn't really do anything? I can't find those
> variables, the only one I have is `libgnutls-version'. So should those
> definitions be DEFVAR's, or am I missing something?
They are only defined on MS-Windows, because they are needed for
loading the correct DLL. See w32-win.el.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#51480
; Package
emacs
.
(Fri, 29 Oct 2021 14:34:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 51480 <at> debbugs.gnu.org (full text, mbox):
tags 51480
close 51480
thanks
Eli Zaretskii <eliz <at> gnu.org> writes:
> They are only defined on MS-Windows, because they are needed for
> loading the correct DLL. See w32-win.el.
Ugh, I'm blind.
Sorry for the noise, closing.
bug closed, send any further explanations to
51480 <at> debbugs.gnu.org and Stefan Kangas <stefan <at> marxist.se>
Request was from
Stefan Kangas <stefan <at> marxist.se>
to
control <at> debbugs.gnu.org
.
(Fri, 29 Oct 2021 14:34:02 GMT)
Full text and
rfc822 format available.
Added tag(s) notabug.
Request was from
Stefan Kangas <stefan <at> marxist.se>
to
control <at> debbugs.gnu.org
.
(Fri, 29 Oct 2021 14:45:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 27 Nov 2021 12:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 297 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.