Debian Patches

Status for dia/0.98+git20250126-1

Patch Description Author Forwarded Bugs Origin Last update
fix-python-interpreter.patch Use Python3 as Python interpreter Philippe SWARTVAGHER <phil.swart@gmx.fr> not-needed 2022-05-26
fix-helpdir.patch Use Debian help path This patch fixes Dia to use Debian's help directory for documentation Philippe SWARTVAGHER <phil.swart@gmx.fr> not-needed 2022-05-26
use-local-dbman.patch Use local XSL file Do not let xsltproc to make network requests Philippe SWARTVAGHER <phil.swart@gmx.fr> not-needed 2024-06-28
fix-libdia-install-dir.patch Install libdia.so in the correct folder Philippe SWARTVAGHER <phil.swart@gmx.fr> not-needed 2022-05-26
revert_xpm_loader_replacement.patch Revert switch from gdk_pixbuf_new_from_xpm_data to xpm_pixbuf_load
This patch reverts upstream commit 1ba72d126055130474b4ce589b1f3002972ba490
"general: use xpm-pixbuf to load xpms". As mentioned in the upstream commit
message, GdkPixbuf decided to disable weak-maintained loaders. The
corresponding MR for GdkPixbuf is
https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/merge_requests/163 and its revert
is discussed in this MR
https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/merge_requests/169. From a Debian
perspective, the affected loaders are still included (see
https://salsa.debian.org/gnome-team/gdk-pixbuf/-/commit/fa031d415056ba80ffa35afcd6e1263692849970).

To address this problem, upstream maintainer of Dia decided to maintain
xpm-pixbuf (https://gitlab.gnome.org/ZanderBrown/xpm-pixbuf), "a fork of the
old GdkPixbuf XPM code the acts as a drop-in replacement". However, using
xpm-pixbuf in Dia in Debian would require to package xpm-pixbuf as a standalone
Debian package. Given that:
- so far xpm-pixbuf seems to be used only in Dia,
- xpm is still supported by Debian's GdkPixbuf,
- there are ongoing upstream discussions about this change in GdkPixbuf,
- and finally other projects providing the set of disabled loaders start to
emerge,
do not include the commit switching from gdk_pixbuf_new_from_xpm_data() to
xpm_pixbuf_load().

diff --git a/app/dia-colour-area.c b/app/dia-colour-area.c
index 0b65c98f3..9fb1f40d8 100644
Philippe SWARTVAGHER <phil.swart@gmx.fr> not-needed 2024-06-29
use-gtkfontbutton.patch Use GtkFontButton, fix UML tab-order black hole, and fix possible sheet XML crash
This patch changes the custom font-selector window by a GtkFontButton widget.
This solves bugs #1094927 and #1077628, where the custom font-selector window
was very long to load.


diff --git a/lib/dia-font-selector.c b/lib/dia-font-selector.c
deleted file mode 100644
index fb59d6c98f7fa52fbeb00bed4fda40b369afd1ae..0000000000000000000000000000000000000000
Duncan McIntosh <duncan82013@live.ca> yes upstream https://gitlab.gnome.org/GNOME/dia/-/merge_requests/114 2025-02-03

All known versions for source package 'dia'

Links