Debian Bug report logs -
#665521
dia: Including individual glib headers no longer supported
Reported by: biebl@debian.org
Date: Sat, 24 Mar 2012 19:00:49 UTC
Severity: important
Found in version dia/0.97.2-6
Fixed in version dia/0.97.2-7
Done: Roland Stigge <stigge@antcom.de>
Bug is archived. No further changes may be made.
Toggle useless messages
Information forwarded
to Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>:
Bug#665521; Package src:dia.
(Sat, 24 Mar 2012 19:00:52 GMT) (full text, mbox, link).
Acknowledgement sent
to biebl@debian.org:
Extra info received and forwarded to maintainer. Copy sent to Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>.
(Sat, 24 Mar 2012 19:00:52 GMT) (full text, mbox, link).
Message #5 received at maintonly@bugs.debian.org (full text, mbox, reply):
Source: dia
Version: 0.97.2-6
Severity: important
User: pkg-gnome-maintainers@lists.alioth.debian.org
Usertags: glib-single-include
Hi,
including invidiual glib headers has been deprecated for several years.
Starting with glib 2.32 it is now mandatory to include glib.h instead
of individual headers [1], or the compiler will generate an error.
With the notable exception of:
glib/gi18n.h
glib/gi18n-lib.h
glib/gprintf.h
glib/gstdio.h
Those header files are still meant to be included separately.
Development releases of 2.32 (2.31.x) are available in experimental.
During a test-rebuild dia failed to build with the new glib [2].
Please update dia at your earliest convenience, so once we move
the glib version from experimental to unstable, your package will remain
buildable.
Usually, simply replacing #include <glib/foo.h> with #include <glib.h>
is all that is needed (while keeping the above list of exceptions in
mind)
You can use the glib version from experimental to test if your package
builds correctly.
A simple shell script [3] has been written, that can help you
generate a patch which should fix the includes in most cases.
It's most likely not bug free and very limited, so please check the
resulting patch carefully.
Thanks!
Michael,
on behalf of the Debian GNOME team.
[1] http://git.gnome.org/browse/glib/commit/?id=7455dd370eb37ce3b0b409ff6120501f37b50569
[2] http://people.debian.org/~biebl/glib-single-include/dia_0.97.2-6.log
[3] http://people.debian.org/~biebl/fix-glib-includes.sh
Reply sent
to Roland Stigge <stigge@antcom.de>:
You have taken responsibility.
(Sat, 24 Mar 2012 23:06:10 GMT) (full text, mbox, link).
Notification sent
to biebl@debian.org:
Bug acknowledged by developer.
(Sat, 24 Mar 2012 23:06:10 GMT) (full text, mbox, link).
Message #10 received at 665521-close@bugs.debian.org (full text, mbox, reply):
Source: dia
Source-Version: 0.97.2-7
We believe that the bug you reported is fixed in the latest version of
dia, which is due to be installed in the Debian FTP archive:
dia-common_0.97.2-7_all.deb
to main/d/dia/dia-common_0.97.2-7_all.deb
dia-gnome_0.97.2-7_i386.deb
to main/d/dia/dia-gnome_0.97.2-7_i386.deb
dia-libs_0.97.2-7_i386.deb
to main/d/dia/dia-libs_0.97.2-7_i386.deb
dia_0.97.2-7.debian.tar.gz
to main/d/dia/dia_0.97.2-7.debian.tar.gz
dia_0.97.2-7.dsc
to main/d/dia/dia_0.97.2-7.dsc
dia_0.97.2-7_i386.deb
to main/d/dia/dia_0.97.2-7_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 665521@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Roland Stigge <stigge@antcom.de> (supplier of updated dia package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sat, 24 Mar 2012 22:12:03 +0100
Source: dia
Binary: dia-common dia-libs dia dia-gnome
Architecture: source all i386
Version: 0.97.2-7
Distribution: unstable
Urgency: low
Maintainer: Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>
Changed-By: Roland Stigge <stigge@antcom.de>
Description:
dia - Diagram editor
dia-common - Diagram editor (common files)
dia-gnome - Diagram editor (GNOME version)
dia-libs - Diagram editor (library files)
Closes: 665521
Changes:
dia (0.97.2-7) unstable; urgency=low
.
* Added patch to fix FTBFS with new glib 2.32 in shape_typeinfo.c
(Closes: #665521)
Checksums-Sha1:
457c825f56ace460780c276441f70c6b51d709d3 1604 dia_0.97.2-7.dsc
526def4555c3b52c9eb0b268c1d5fa244ce2f8ab 38216 dia_0.97.2-7.debian.tar.gz
ceac92aa36d72777c98ddbcde7f4fb9abace1019 6325722 dia-common_0.97.2-7_all.deb
11e3fb2ec42bd28d80eee48e84c2cab6a62f98b2 913262 dia-libs_0.97.2-7_i386.deb
9d1f2915deddafa436db1ac870226dca72ea0b17 227036 dia_0.97.2-7_i386.deb
d9276b2b817b6dc93cab0fbc9c9c079a9b1a611b 228010 dia-gnome_0.97.2-7_i386.deb
Checksums-Sha256:
431a01e482a18887df8506d4c0b46ef3fa23c5a12feb853961bf665db9ab57e5 1604 dia_0.97.2-7.dsc
557405284217b41efecdd1cd95e5595613c5120c4a47fec4e027106db700eddd 38216 dia_0.97.2-7.debian.tar.gz
e08cafb1bf67eef623e3b78d0dfa39b6cead075eb3e1bb5e501d98fe6dcbe6aa 6325722 dia-common_0.97.2-7_all.deb
fb69dc621e3e06cb679dddd99f7260251dae4324d2c2019770df2fb651114f01 913262 dia-libs_0.97.2-7_i386.deb
b7b6d59c3d27233a79c3a4efab3f181c9b156a7b6859a6f874bd358b4f1d0fe1 227036 dia_0.97.2-7_i386.deb
26dc6d278ed64c78cbdd1625663824321e521007ea1ea0a2f79d7a8093ed7c44 228010 dia-gnome_0.97.2-7_i386.deb
Files:
6252f89f144bb4d3476d9c8c73fd14ae 1604 graphics optional dia_0.97.2-7.dsc
4dc33eeacd0fda6f4811ce8421ccb2ea 38216 graphics optional dia_0.97.2-7.debian.tar.gz
b3f8b85a4df701857b3e8b4db3605dae 6325722 graphics optional dia-common_0.97.2-7_all.deb
9af389d18f126daa9431b66eb0e9addd 913262 graphics optional dia-libs_0.97.2-7_i386.deb
72112c1f7e1c6628a62f6efb737bb016 227036 graphics optional dia_0.97.2-7_i386.deb
47aed10f95dec6f97c4962460b65cfa1 228010 gnome optional dia-gnome_0.97.2-7_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iD8DBQFPbk/ncaH/YBv43g8RAkG0AKC/dKrGyl2TgnrK9iOJSy8TLwFkjgCfVEel
eL1+qJISRa6zD4v17Hh+Zs4=
=mGpf
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 22 May 2012 07:33:58 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 07:30:06 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.