From d3c50b99dd01d637ab15651c6707b0abcb778df6 Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Wed, 31 Jul 2024 13:44:38 +0200 Subject: [PATCH] initial package creation Signed-off-by: Toshaan Bharvani --- SOURCES/dia-0.97.3-const-ft_vector.patch | 83 +++ SOURCES/dia-0.97.3-cve-2019-19451.patch | 27 + .../dia-0.97.3-g_test_add_data_func_1.patch | 31 + .../dia-0.97.3-g_test_add_data_func_2.patch | 48 ++ SOURCES/dia-0.97.3-get_data_size.patch | 128 ++++ SOURCES/dia-configure-c99.patch | 33 + SPECS/dia.spec | 597 ++++++++++++++++++ 7 files changed, 947 insertions(+) create mode 100644 SOURCES/dia-0.97.3-const-ft_vector.patch create mode 100644 SOURCES/dia-0.97.3-cve-2019-19451.patch create mode 100644 SOURCES/dia-0.97.3-g_test_add_data_func_1.patch create mode 100644 SOURCES/dia-0.97.3-g_test_add_data_func_2.patch create mode 100644 SOURCES/dia-0.97.3-get_data_size.patch create mode 100644 SOURCES/dia-configure-c99.patch create mode 100644 SPECS/dia.spec diff --git a/SOURCES/dia-0.97.3-const-ft_vector.patch b/SOURCES/dia-0.97.3-const-ft_vector.patch new file mode 100644 index 0000000..bb91422 --- /dev/null +++ b/SOURCES/dia-0.97.3-const-ft_vector.patch @@ -0,0 +1,83 @@ +From e5557aa1d396bc3ca80240f7b5c0a1831a5cf209 Mon Sep 17 00:00:00 2001 +From: Hans Breuer +Date: Sat, 4 May 2013 15:20:15 +0200 +Subject: [PATCH] [warningectomy] initialization from incompatible pointer type + +FT_Outline_Funcs take const FT_Vector* nowadays. +--- + plug-ins/postscript/diapsft2renderer.c | 28 +++++++++++++------------- + 1 file changed, 14 insertions(+), 14 deletions(-) + +diff --git a/plug-ins/postscript/diapsft2renderer.c b/plug-ins/postscript/diapsft2renderer.c +index 63aac74b5..ed4182e5e 100644 +--- a/plug-ins/postscript/diapsft2renderer.c ++++ b/plug-ins/postscript/diapsft2renderer.c +@@ -61,16 +61,16 @@ void draw_bezier_outline(DiaPsRenderer *renderer, + double pos_y + ); + /* Countour traveling functions */ +-static int paps_move_to( FT_Vector* to, ++static int paps_move_to( const FT_Vector* to, + void *user_data); +-static int paps_line_to( FT_Vector* to, ++static int paps_line_to( const FT_Vector* to, + void *user_data); +-static int paps_conic_to( FT_Vector* control, +- FT_Vector* to, ++static int paps_conic_to( const FT_Vector* control, ++ const FT_Vector* to, + void *user_data); +-static int paps_cubic_to( FT_Vector* control1, +- FT_Vector* control2, +- FT_Vector* to, ++static int paps_cubic_to( const FT_Vector* control1, ++ const FT_Vector* control2, ++ const FT_Vector* to, + void *user_data); + + static void dia_ps_ft2_renderer_class_init (DiaPsFt2RendererClass *klass); +@@ -111,7 +111,7 @@ set_font(DiaRenderer *self, DiaFont *font, real height) + /*====================================================================== + outline traversing functions. + ----------------------------------------------------------------------*/ +-static int paps_move_to( FT_Vector* to, ++static int paps_move_to( const FT_Vector* to, + void *user_data) + { + OutlineInfo *outline_info = (OutlineInfo*)user_data; +@@ -121,7 +121,7 @@ static int paps_move_to( FT_Vector* to, + return 0; + } + +-static int paps_line_to( FT_Vector* to, ++static int paps_line_to( const FT_Vector* to, + void *user_data) + { + OutlineInfo *outline_info = (OutlineInfo*)user_data; +@@ -131,8 +131,8 @@ static int paps_line_to( FT_Vector* to, + return 0; + } + +-static int paps_conic_to( FT_Vector* control, +- FT_Vector* to, ++static int paps_conic_to( const FT_Vector* control, ++ const FT_Vector* to, + void *user_data) + { + OutlineInfo *outline_info = (OutlineInfo*)user_data; +@@ -144,9 +144,9 @@ static int paps_conic_to( FT_Vector* control, + return 0; + } + +-static int paps_cubic_to( FT_Vector* control1, +- FT_Vector* control2, +- FT_Vector* to, ++static int paps_cubic_to( const FT_Vector* control1, ++ const FT_Vector* control2, ++ const FT_Vector* to, + void *user_data) + { + OutlineInfo *outline_info = (OutlineInfo*)user_data; +-- +GitLab + diff --git a/SOURCES/dia-0.97.3-cve-2019-19451.patch b/SOURCES/dia-0.97.3-cve-2019-19451.patch new file mode 100644 index 0000000..28c0107 --- /dev/null +++ b/SOURCES/dia-0.97.3-cve-2019-19451.patch @@ -0,0 +1,27 @@ +From baa2df853f9fb770eedcf3d94c7f5becebc90bb9 Mon Sep 17 00:00:00 2001 +From: Nils Steinger +Date: Thu, 7 Nov 2019 15:12:18 +0100 +Subject: [PATCH] Fix endless loop on filenames with invalid encoding + +See also: + - https://bugzilla.redhat.com/show_bug.cgi?id=1778767 + - https://gitlab.gnome.org/GNOME/dia/-/issues/428 +--- + app/app_procs.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/app/app_procs.c b/app/app_procs.c +index 434a092f6..53f8b8c38 100644 +--- a/app/app_procs.c ++++ b/app/app_procs.c +@@ -675,6 +675,7 @@ app_init (int argc, char **argv) + + if (!filename) { + g_print (_("Filename conversion failed: %s\n"), filenames[i]); ++ ++i; + continue; + } + +-- +GitLab + diff --git a/SOURCES/dia-0.97.3-g_test_add_data_func_1.patch b/SOURCES/dia-0.97.3-g_test_add_data_func_1.patch new file mode 100644 index 0000000..3e1d456 --- /dev/null +++ b/SOURCES/dia-0.97.3-g_test_add_data_func_1.patch @@ -0,0 +1,31 @@ +From caddfcab250fe677ecf294fad835b71e6b10cf26 Mon Sep 17 00:00:00 2001 +From: Hans Breuer +Date: Fri, 3 Oct 2014 22:26:36 +0200 +Subject: [PATCH] [warningectomy] incompatible pointer types passing ... + +test-boundingbox.c:152:58: warning: incompatible pointer types passing 'void (const struct _TestBeziers *)' to parameter of type 'GTestDataFunc' (aka 'void (*)(gconstpointer)') [-Wincompatible-pointer-types] + g_test_add_data_func (testpath, &_test_beziers[i], _check_one_bezier); + ^~~~~~~~~~~~~~~~~ +test-svg.c:117:55: warning: incompatible pointer types passing 'void (const PathData *)' to parameter of type 'GTestDataFunc' (aka 'void (*)(gconstpointer)') [-Wincompatible-pointer-types] + g_test_add_data_func (testpath, &_test_path[i], _check_one_path); + ^~~~~~~~~~~~~~~ +--- + tests/test-boundingbox.c | 3 ++- + tests/test-svg.c | 3 ++- + 2 files changed, 4 insertions(+), 2 deletions(-) + +diff --git a/tests/test-boundingbox.c b/tests/test-boundingbox.c +index f5b57250e..f542e590d 100644 +--- a/tests/test-boundingbox.c ++++ b/tests/test-boundingbox.c +@@ -132,8 +132,9 @@ static struct _TestBeziers { + #undef BEZ + + static void +-_check_one_bezier (const struct _TestBeziers *test) ++_check_one_bezier (gconstpointer p) + { ++ const struct _TestBeziers *test = p; + Rectangle rect; + PolyBBExtras extra = {0, T*.7, T*.7, T*.7, 0 }; + diff --git a/SOURCES/dia-0.97.3-g_test_add_data_func_2.patch b/SOURCES/dia-0.97.3-g_test_add_data_func_2.patch new file mode 100644 index 0000000..0bc6e36 --- /dev/null +++ b/SOURCES/dia-0.97.3-g_test_add_data_func_2.patch @@ -0,0 +1,48 @@ +Backport from https://gitlab.gnome.org/GNOME/dia/-/commit/9c481f649414190bf8d6741cbca1777e9766756b + +--- dia-0.97.3/tests/test-objects.c 2014-08-24 17:46:02.000000000 +0200 ++++ dia-0.97.3/tests/test-objects.c.g_test_add_data_func_2 2024-03-03 01:01:53.832977690 +0100 +@@ -39,8 +39,9 @@ + int num_objects = 0; + + static void +-_test_creation (const DiaObjectType *type) ++_test_creation (gconstpointer user_data) + { ++ const DiaObjectType *type = (const DiaObjectType *)user_data; + int i; + Handle *h1 = NULL, *h2 = NULL; + Point point = {0, 0}; +@@ -112,8 +113,9 @@ + } + + static void +-_test_copy (const DiaObjectType *type) ++_test_copy (gconstpointer user_data) + { ++ const DiaObjectType *type = (const DiaObjectType *)user_data; + Handle *h1 = NULL, *h2 = NULL; + Point from = {0, 0}; + DiaObject *oc, *o = type->ops->create (&from, type->default_user_data, &h1, &h2); +@@ -172,8 +174,9 @@ + } + + static void +-_test_movement (const DiaObjectType *type) ++_test_movement (gconstpointer user_data) + { ++ const DiaObjectType *type = (const DiaObjectType *)user_data; + Handle *h1 = NULL, *h2 = NULL; + Point from = {0, 0}; + DiaObject *o = type->ops->create (&from, type->default_user_data, &h1, &h2); +@@ -215,8 +218,9 @@ + } + + static void +-_test_change (const DiaObjectType *type) ++_test_change (gconstpointer user_data) + { ++ const DiaObjectType *type = (const DiaObjectType *)user_data; + Handle *h1 = NULL, *h2 = NULL; + Point from = {0, 0}; + DiaObject *o = type->ops->create (&from, type->default_user_data, &h1, &h2); diff --git a/SOURCES/dia-0.97.3-get_data_size.patch b/SOURCES/dia-0.97.3-get_data_size.patch new file mode 100644 index 0000000..1e30e56 --- /dev/null +++ b/SOURCES/dia-0.97.3-get_data_size.patch @@ -0,0 +1,128 @@ +Backport from https://gitlab.gnome.org/GNOME/dia/-/commit/f57ea2685034ddbafc19f35d9b525a12283d7c24 + +--- dia-0.97.3/lib/prop_geomtypes.c 2014-08-24 17:46:01.000000000 +0200 ++++ dia-0.97.3/lib/prop_geomtypes.c.get_data_size 2024-03-02 22:11:06.700789662 +0100 +@@ -129,9 +129,10 @@ + } + + static int +-realprop_get_data_size(RealProperty *prop) ++realprop_get_data_size(void) + { +- return sizeof (prop->real_data); ++ RealProperty prop; ++ return sizeof (prop.real_data); + } + + static const PropertyOps realprop_ops = { +@@ -242,9 +243,10 @@ + } + + static int +-lengthprop_get_data_size(LengthProperty *prop) ++lengthprop_get_data_size(void) + { +- return sizeof (prop->length_data); ++ LengthProperty prop; ++ return sizeof (prop.length_data); + } + + static const PropertyOps lengthprop_ops = { +@@ -358,9 +360,10 @@ + } + + static int +-fontsizeprop_get_data_size(FontsizeProperty *prop) ++fontsizeprop_get_data_size(void) + { +- return sizeof (prop->fontsize_data); ++ FontsizeProperty prop; ++ return sizeof (prop.fontsize_data); + } + + static const PropertyOps fontsizeprop_ops = { +--- dia-0.97.3/lib/prop_inttypes.c 2014-08-24 17:46:01.000000000 +0200 ++++ dia-0.97.3/lib/prop_inttypes.c.get_data_size 2024-03-02 22:12:01.683149664 +0100 +@@ -122,9 +122,10 @@ + } + + static int +-charprop_get_data_size(CharProperty *prop) ++charprop_get_data_size(void) + { +- return sizeof (prop->char_data); ++ CharProperty prop; ++ return sizeof (prop.char_data); + } + + +@@ -229,9 +230,10 @@ + } + + static int +-boolprop_get_data_size(BoolProperty *prop) ++boolprop_get_data_size(void) + { +- return sizeof (prop->bool_data); ++ BoolProperty prop; ++ return sizeof (prop.bool_data); + } + + +@@ -339,9 +341,10 @@ + } + + static int +-intprop_get_data_size(IntProperty *prop) ++intprop_get_data_size(void) + { +- return sizeof (prop->int_data); ++ IntProperty prop; ++ return sizeof (prop.int_data); + } + + static const PropertyOps intprop_ops = { +--- dia-0.97.3/lib/prop_text.c 2014-08-24 17:46:01.000000000 +0200 ++++ dia-0.97.3/lib/prop_text.c.get_data_size 2024-03-02 22:12:46.741444615 +0100 +@@ -208,9 +208,10 @@ + } + + static int +-stringprop_get_data_size(StringProperty *prop) ++stringprop_get_data_size(void) + { +- return sizeof (prop->string_data); /* only the pointer */ ++ StringProperty prop; ++ return sizeof (prop.string_data); /* only the pointer */ + } + + static StringListProperty * +--- dia-0.97.3/lib/properties.h 2014-08-24 17:46:01.000000000 +0200 ++++ dia-0.97.3/lib/properties.h.get_data_size 2024-03-02 22:13:08.051584089 +0100 +@@ -116,7 +116,7 @@ + void *base, guint offset, guint offset2); + typedef void (*PropertyType_SetFromOffset)(Property *prop, + void *base, guint offset, guint offset2); +-typedef int (*PropertyType_GetDataSize)(Property *prop); ++typedef int (*PropertyType_GetDataSize)(void); + + + struct _PropertyOps { +--- dia-0.97.3/objects/custom/custom_object.c 2014-08-24 17:46:01.000000000 +0200 ++++ dia-0.97.3/objects/custom/custom_object.c.get_data_size 2024-03-02 22:13:29.153722188 +0100 +@@ -372,14 +372,7 @@ + info->prop_offsets[i].name = info->props[i].name; + info->prop_offsets[i].type = info->props[i].type; + info->prop_offsets[i].offset = offs; +- /* FIXME: +- custom_object.c:328: warning: passing arg 1 of pointer to function +- from incompatible pointer type +- We don't have a Property* here so there is not much we can do about. +- Maybe it even works cause the sizeof() in *_get_data_size can be +- calculated at compile time. Anyway, a mess ;) --hb +- */ +- size = info->props[i].ops->get_data_size (&info->props[i]); ++ size = info->props[i].ops->get_data_size (); + info->ext_attr_size += size; + offs += size; + } diff --git a/SOURCES/dia-configure-c99.patch b/SOURCES/dia-configure-c99.patch new file mode 100644 index 0000000..fff7f66 --- /dev/null +++ b/SOURCES/dia-configure-c99.patch @@ -0,0 +1,33 @@ +C99 removes support for implicit ints, so declare the return type +of main explicitly. Future compilers are likely to require explicit +type declarations. + +Upstream has switched to Meson, and it does not seem to use this +particular check anymore. + +diff --git a/configure b/configure +index 14cdc757c3ee0f15..504ae93d8e3a4f48 100755 +--- a/configure ++++ b/configure +@@ -17571,7 +17571,7 @@ $as_echo_n "checking for png_structp in png.h... " >&6; } + png_structp pp; + png_infop info; + png_colorp cmap; +- main() { void*foo = png_create_read_struct; } ++ int main(void) { void*foo = png_create_read_struct; } + _ACEOF + if ac_fn_c_try_link "$LINENO"; then : + png_ok=yes +diff --git a/configure.in b/configure.in +index c5edeeddf766d5fb..f90ed4ef953af139 100644 +--- a/configure.in ++++ b/configure.in +@@ -197,7 +197,7 @@ if test "$png_ok" = yes; then + png_structp pp; + png_infop info; + png_colorp cmap; +- main() { void*foo = png_create_read_struct; }], ++ int main(void) { void*foo = png_create_read_struct; }], + png_ok=yes, + png_ok=no) + LDFLAGS="${old_LDFLAGS}" diff --git a/SPECS/dia.spec b/SPECS/dia.spec new file mode 100644 index 0000000..ec11e76 --- /dev/null +++ b/SPECS/dia.spec @@ -0,0 +1,597 @@ +Name: dia +Version: 0.97.3 +Release: 28%{?dist} +Epoch: 1 +Summary: Diagram drawing program +License: GPL-2.0-or-later +URL: https://wiki.gnome.org/Apps/Dia +Source0: https://download.gnome.org/sources/dia/0.97/%{name}-%{version}.tar.xz +# Upstream from https://gitlab.gnome.org/GNOME/dia/-/commit/baa2df853f9fb770eedcf3d94c7f5becebc90bb9 +Patch0: https://gitlab.gnome.org/GNOME/dia/-/commit/baa2df853f9fb770eedcf3d94c7f5becebc90bb9.patch#/dia-0.97.3-cve-2019-19451.patch +# Downstream patch +Patch1: dia-configure-c99.patch +# Backport from https://gitlab.gnome.org/GNOME/dia/-/commit/f57ea2685034ddbafc19f35d9b525a12283d7c24 +Patch2: dia-0.97.3-get_data_size.patch +# Upstream from https://gitlab.gnome.org/GNOME/dia/-/commit/e5557aa1d396bc3ca80240f7b5c0a1831a5cf209 +Patch3: https://gitlab.gnome.org/GNOME/dia/-/commit/e5557aa1d396bc3ca80240f7b5c0a1831a5cf209.patch#/dia-0.97.3-const-ft_vector.patch +# Backport from https://gitlab.gnome.org/GNOME/dia/-/commit/caddfcab250fe677ecf294fad835b71e6b10cf26 +Patch4: dia-0.97.3-g_test_add_data_func_1.patch +# Backport from https://gitlab.gnome.org/GNOME/dia/-/commit/9c481f649414190bf8d6741cbca1777e9766756b +Patch5: dia-0.97.3-g_test_add_data_func_2.patch + +BuildRequires: gcc-c++ +BuildRequires: make +BuildRequires: pkgconfig(gtk+-2.0) +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(libart-2.0) +BuildRequires: pkgconfig(cairo) +BuildRequires: pkgconfig(libxslt) +BuildRequires: freetype-devel +BuildRequires: intltool +BuildRequires: docbook-utils +BuildRequires: docbook-style-dsssl +BuildRequires: docbook-style-xsl +BuildRequires: gettext +BuildRequires: desktop-file-utils +Requires: hicolor-icon-theme + +%description +The Dia drawing program can be used to draw different types of diagrams, +and includes support for UML static structure diagrams (class diagrams), +entity relationship modeling, and network diagrams. Dia can load and +save diagrams to a custom XML format and export diagrams to formats like +EPS, SVG, XFIG, PDF, PNG and others. + + +%prep +%autosetup -p1 + +sed -i 's|libdia_la_LDFLAGS = -avoid-version|libdia_la_LDFLAGS = -avoid-version $(shell pkg-config --libs gtk+-2.0 libxml-2.0 libart-2.0)|' \ + lib/Makefile.* +chmod -x `find objects/AADL -type f` +iconv -f WINDOWS-1252 -t UTF8 doc/en/usage-layers.xml > usage-layers.xml.UTF-8 +mv usage-layers.xml.UTF-8 doc/en/usage-layers.xml + +# run in single window mode (--integrated) by default (#910275) +sed -i 's|Exec=dia|Exec=dia --integrated|' dia.desktop.in.in + +%build +%configure --enable-db2html --disable-silent-rules +%make_build + + +%install +%make_install +%find_lang %{name} --with-man + +# below is the desktop file and icon stuff. +desktop-file-install --delete-original \ + --dir $RPM_BUILD_ROOT%{_datadir}/applications \ + --remove-category Application \ + $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop + +rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la +rm -rf $RPM_BUILD_ROOT%{_datadir}/doc +rm -f samples/Makefile* + +# Register as an application to be visible in the software center +# +# NOTE: It would be *awesome* if this file was maintained by the upstream +# project, translated and installed into the right place during `make install`. +# +# See http://www.freedesktop.org/software/appstream/docs/ for more details. +# +mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata +cat > $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml < + + + + dia.desktop + CC0-1.0 + Dia is a GTK+ based diagram creation program + +

+ Dia is roughly inspired by the commercial Windows program 'Visio,' though + more geared towards informal diagrams for casual use. + It can be used to draw many different kinds of diagrams. + It currently has special objects to help draw entity relationship diagrams, + UML diagrams, flowcharts, network diagrams, and many other diagrams. + It is also possible to add support for new shapes by writing simple XML files, + using a subset of SVG to draw the shape. +

+

+ It can load and save diagrams to a custom XML format (gzipped by default, + to save space), can export diagrams to a number of formats, including EPS, + SVG, XFIG, WMF and PNG, and can print diagrams (including ones that span + multiple pages). +

+
+ https://wiki.gnome.org/Apps/Dia + + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/dia/a.png + + dia-list@gnome.org +
+EOF + +%if 0%{?rhel} && 0%{?rhel} <= 7 +%post +touch --no-create %{_datadir}/icons/hicolor || : +if [ -x %{_bindir}/gtk-update-icon-cache ]; then + %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +fi + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +if [ -x %{_bindir}/gtk-update-icon-cache ]; then + %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +fi +%endif + + +%files -f %{name}.lang +%license COPYING +%doc AUTHORS ChangeLog KNOWN_BUGS NEWS README THANKS +%doc doc/custom-shapes doc/diagram.dtd doc/shape.dtd doc/sheet.dtd samples/ +%{_bindir}/%{name} +%dir %{_libdir}/%{name}/ +%{_libdir}/%{name}/*.so +%{_mandir}/man1/%{name}.1.* +%{_datadir}/%{name}/ +%{_datadir}/appdata/%{name}.appdata.xml +%{_datadir}/applications/%{name}.desktop +%{_datadir}/mime-info/%{name}.* +%{_datadir}/icons/hicolor/*/apps/%{name}.* + +%changelog +* Wed Jul 17 2024 Fedora Release Engineering - 1:0.97.3-28 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sun Mar 03 2024 Robert Scheck - 1:0.97.3-27 +- Added upstream patches for -Wincompatible-pointer-types (#2261060) + +* Wed Jan 24 2024 Fedora Release Engineering - 1:0.97.3-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 1:0.97.3-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Jul 19 2023 Fedora Release Engineering - 1:0.97.3-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jan 19 2023 Fedora Release Engineering - 1:0.97.3-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Dec 2 2022 Florian Weimer - 1:0.97.3-22 +- Port configure script to C99 + +* Thu Jul 21 2022 Fedora Release Engineering - 1:0.97.3-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jan 20 2022 Fedora Release Engineering - 1:0.97.3-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Mon Dec 27 2021 Robert Scheck - 1:0.97.3-19 +- Enabled cairo plugin/support (#2017863, thanks to Matteo Brancaleoni) + +* Wed Jul 21 2021 Fedora Release Engineering - 1:0.97.3-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 1:0.97.3-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Dec 31 2020 Robert Scheck - 1:0.97.3-16 +- Added upstream patch to avoid infinite loop on filenames with invalid + encoding (CVE-2019-19451, #1778767) + +* Mon Jul 27 2020 Fedora Release Engineering - 1:0.97.3-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jul 14 2020 Tom Stellard - 1:0.97.3-14 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + +* Tue Jan 28 2020 Fedora Release Engineering - 1:0.97.3-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Jul 24 2019 Fedora Release Engineering - 1:0.97.3-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jan 31 2019 Fedora Release Engineering - 1:0.97.3-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Jul 12 2018 Fedora Release Engineering - 1:0.97.3-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 1:0.97.3-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Aug 02 2017 Fedora Release Engineering - 1:0.97.3-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1:0.97.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1:0.97.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Feb 03 2016 Fedora Release Engineering - 1:0.97.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jul 08 2015 Jiri Popelka - 1:0.97.3-4 +- no need for autoreconf as configure is now generated by Autoconf 2.69 + +* Wed Jun 17 2015 Fedora Release Engineering - 1:0.97.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu Mar 26 2015 Richard Hughes - 1:0.97.3-2 +- Add an AppData file for the software center + +* Mon Sep 08 2014 Jiri Popelka - 1:0.97.3-1 +- 0.97.3 + +* Sat Aug 16 2014 Fedora Release Engineering - 1:0.97.2-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1:0.97.2-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Mon Mar 10 2014 Jiri Popelka - 1:0.97.2-11 +- BuildRequires: pkgconfig(foo) instead of foo-devel + +* Tue Feb 11 2014 Jiri Popelka - 1:0.97.2-10 +- make it build with freetype >= 2.5.1 + +* Tue Feb 11 2014 Jiri Popelka - 1:0.97.2-9 +- desktop file runs dia in single window mode (--integrated) (#910275) +- update URL + +* Thu Jan 16 2014 Jaromír Končický - 1:0.97.2-8 +- Serbian translation in latin script moved from sr@Latn to sr@latin (#1053543) + +* Thu Aug 15 2013 Jiri Popelka - 1:0.97.2-7 +- Build without GNOME (2) support (#996759) + +* Sat Aug 03 2013 Fedora Release Engineering - 1:0.97.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu May 02 2013 Jiri Popelka - 1:0.97.2-5 +- GLib drop support for adding interfaces after class_init (Gnome #694025) + +* Mon Mar 25 2013 Jiri Popelka - 1:0.97.2-4 +- Run autoreconf prior to running configure (#925250) + +* Sun Feb 17 2013 Christoph Wickert - 1:0.97.2-3 +- De-vendorize desktop file on F19+ (https://fedorahosted.org/fesco/ticket/1077) + +* Wed Feb 13 2013 Fedora Release Engineering - 1:0.97.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Sep 18 2012 Jiri Popelka - 1:0.97.2-1 +- 0.97.2 +- unregister vdx, xfig import filter during plugin unloading (#854368) +- do not own directories owned by filesystem package (#569446) + +* Fri Jul 27 2012 Fedora Release Engineering - 1:0.97.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Feb 25 2012 Bruno Wolff III - 1:0.97.1-3 +- A couple of the test programs used glib with the more loose API +- Use the newer libpng 1.5 API + +* Fri Jan 13 2012 Fedora Release Engineering - 1:0.97.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Thu Dec 8 2011 Peter Robinson - 1:0.97.1-1 +- 0.97.1 + +* Tue Dec 06 2011 Adam Jackson - 1:0.97-7 +- Rebuild for new libpng + +* Wed Oct 26 2011 Fedora Release Engineering - 1:0.97-6 +- Rebuilt for glibc bug#747377 + +* Tue Feb 08 2011 Fedora Release Engineering - 1:0.97-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jan 15 2010 Huzaifa Sidhpurwala - 1:0.97-4 +- Add BR rarian-compat to fix FTBS for F13 branch + +* Mon Nov 30 2009 Huzaifa Sidhpurwala - 1:0.97-3 +- Fix crash in bz #541319 + +* Wed Aug 05 2009 Huzaifa Sidhpurwala - 1:0.97-2 +- Disable --with-python + +* Fri Jul 24 2009 Huzaifa Sidhpurwala - 1:0.97-1 +- update to 0.97 +- drop old patches + +* Tue Mar 31 2009 Huzaifa Sidhpurwala - 1:0.96.1-17 +- Resolves: rhbz#486726 +- Version bump + +* Tue Feb 24 2009 Fedora Release Engineering - 1:0.96.1-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Feb 02 2009 Huzaifa Sidhpurwala 1:0.96.1-13 +- Resolves: rhbz#483312 + +* Fri Jan 30 2009 Hans de Goede 1:0.96.1-12 +- Update description for new trademark guidelines + +* Mon Jan 26 2009 Caolán McNamara 1:0.96.1-11 +- Resolves: rhbz#481551 python modules search path + +* Sat Jan 03 2009 Huzaifa Sidhpurwala 1:0.96.1-10 +- Patch so that plugins dont look for .la files + +* Sun Nov 30 2008 Ignacio Vazquez-Abrams - 1:0.96.1-9 +- Rebuild for Python 2.6 + +* Fri Oct 31 2008 Caolán McNamara 1:0.96.1-8 +- kill the ".la"s + +* Wed Oct 22 2008 Caolán McNamara 1:0.96.1-7 +- Resolves: rhbz#464982 FTBFS, defuzz patches + +* Fri Feb 1 2008 Hans de Goede 1:0.96.1-6 +- Fix svg export (bug 431184) + +* Sun Dec 2 2007 Hans de Goede 1:0.96.1-5 +- Do not put dia in both the Office and the Graphics application menus + (bz 408041) + +* Tue Nov 27 2007 Hans de Goede 1:0.96.1-4 +- Fix help not showing due to an encoding error (bz 401291) + +* Mon Aug 6 2007 Hans de Goede 1:0.96.1-3 +- Update License tag for new Licensing Guidelines compliance + +* Sun Jun 10 2007 Hans de Goede 1:0.96.1-2 +- Remove yelp Requires again (bz 243330) + +* Sat Jun 9 2007 Hans de Goede 1:0.96.1-1 +- New upstream release 0.96.1 +- Add yelp Requires so that the help will always work (bz 243330) + +* Thu Mar 29 2007 Hans de Goede 1:0.96-1 +- New upstream release 0.96 +- Drop upstreamed python-25 and sigpipe patches + +* Tue Feb 20 2007 Hans de Goede 1:0.95-8 +- Upgrade to upstream bugfix release 0.95-1 +- Drop upstreamed ungroup and formatstring patches +- Add a patch for python-2.5 support +- Fix exit due to sigpipe when entering an invalid print command (bz 229101) + +* Mon Aug 28 2006 Hans de Goede 1:0.95-7 +- FE6 Rebuild + +* Sun Aug 13 2006 Hans de Goede 1:0.95-6 +- Fix weaksymbols in libdia.so (BZ 202330) + +* Sat Jun 10 2006 Hans de Goede 1:0.95-5 +- Add BuildRequires: gettext to fix building with new stripped mock config. + +* Tue Jun 6 2006 Hans de Goede 1:0.95-4 +- Add a patch from upstream which fixes a crash when ungrouping + multiple selected groups at once (bz 194149): + http://bugzilla.gnome.org/show_bug.cgi?id=334771 + +* Tue May 23 2006 Hans de Goede 1:0.95-3 +- Fix CVE-2006-2453. + +* Sat May 20 2006 Hans de Goede 1:0.95-2 +- Fix CVE-2006-2480 (bz 192535, 192538). + +* Tue Apr 25 2006 Hans de Goede 1:0.95-1 +- New upstream version 0.95 (final) +- Cleanup spec even more, correctly install the desktop file and icons, + drop unneeded scrollkeeper-update in scripts (bz 189756) + +* Fri Mar 31 2006 Hans de Goede 1:0.95-0.pre7.1 +- Taking over as FE maintainer (bz 185886) +- Cleanup spec to match FE packaging guidelines +- Bump to upstream 0.95-pre7 (bz 184548) +- Enable python plugin + +* Tue Jan 03 2006 Caolan McNamara 1:0.94-19 +- make buildable + +* Tue Jan 03 2006 Caolan McNamara 1:0.94-18 +- rh#176504# add BuildRequires + +* Mon Dec 19 2005 Caolan McNamara 1:0.94-17 +- rh#176003# rejig Pre/Post + +* Thu Oct 20 2005 Caolan McNamara 1:0.94-16 + +* Mon Oct 17 2005 Caolan McNamara +- move to extras + +* Sat Apr 16 2005 Caolan McNamara +- rebuild for new cairo soname + +* Fri Apr 8 2005 Caolan McNamara +- rh#165337# crash on >= 1000% xoom + +* Thu Apr 7 2005 Caolan McNamara +- rh#154087# non existing links + +* Fri Mar 25 2005 Florian La Roche +- add PreReq: for scrollkeeper-update + +* Wed Mar 16 2005 Caolan McNamara +- rh#151207# add Requires + +* Mon Mar 14 2005 Caolan McNamara +- rh#150942# add BuildRequires + +* Wed Mar 9 2005 Caolan McNamara +- rh#150305# add dia-0.94-fallbacktoxpmicons.patch + +* Wed Mar 2 2005 Caolan McNamara +- rebuild with gcc4 +- gnome#169019# gcc4 patch + +* Fri Sep 03 2004 Matthias Clasen +- Fix a problem with the help patch + +* Fri Sep 03 2004 Matthias Clasen +- Update to final 0.94 tarball +- Make the help button work (#131622) + +* Wed Aug 18 2004 Dan Williams +- Update to 0.94-pre6 +- Fix RH #110738 + +* Thu Jul 22 2004 Dan Williams +- Update to 0.94-pre1 +- Add BuildRequires: libpng-devel (RH #125287) + +* Fri Jun 25 2004 Dan Williams +- Update to 0.93 + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Tue Mar 02 2004 Elliot Lee +- rebuilt + +* Tue Feb 24 2004 Alexander Larsson 1:0.92.2-3 +- fix freetype issue + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Tue Dec 9 2003 Alexander Larsson 1:0.92.2-1 +- update to 0.92.2 + +* Mon Oct 13 2003 Alexander Larsson 1:0.91-2 +- Fix font size (backport from cvs). Fixes bug #106045 +- Fix libxslt issue (bug #106863) + +* Wed Jun 04 2003 Elliot Lee +- rebuilt + +* Wed May 28 2003 Alexander Larsson 1:0.91-1 +- Update to 0.91 +- Remove printing patch, it doesn't nearly apply yet, and might + not be needed since dia is all utf8:y now. + +* Wed Jan 22 2003 Tim Powers +- rebuilt + +* Fri Jan 10 2003 Alexander Larsson 0.90-9 +- Remove duplicate desktop files + +* Fri Dec 6 2002 Havoc Pennington +- rebuild + +* Tue Sep 03 2002 Akira TAGOH 0.90-8 +- dia-0.90-printing.patch: applied to support CJK printing. (#67733) + +* Thu Aug 29 2002 Owen Taylor +- Fix problems with the manual DTD + +* Wed Aug 28 2002 Owen Taylor +- Pass --enable-db2html to configure so we get docs + +* Fri Aug 23 2002 Alexander Larsson 0.90-6 +- Made desktopfile symlink absolute, fixes #71991 + +* Tue Aug 13 2002 Havoc Pennington +- remove libpng10 patches, now using libpng12, #71416 + +* Mon Jul 29 2002 Havoc Pennington +- put pristine upstream tarball back +- fix up desktop files + +* Tue Jul 23 2002 Karsten Hopp +- fix menu entry (#69564) + +* Fri Jun 21 2002 Tim Powers +- automated rebuild + +* Tue Jun 11 2002 root 0.90-1 +- Updated to 0.90 from upstream. Removed outdated patches, updated png10 patch. + +* Thu May 23 2002 Tim Powers +- automated rebuild + +* Wed Jan 30 2002 Bill Nottingham +- rebuild against png10 + +* Thu Jan 24 2002 Havoc Pennington +- rebuild in rawhide + +* Thu Jul 19 2001 Havoc Penningtoon +- Add some more build requires, #44732 + +* Tue Jul 10 2001 Alexander Larsson +- Disable doc generation, since it breaks. + +* Mon Jul 9 2001 Alexander Larsson +- Updated from upstream (0.88.1) +- Removed source1 (ja.po) since it was in upstream +- Disabled patch1 since it breaks 8bit non-multibyte locales. +- Updated patch 3 + +* Fri Jun 15 2001 Havoc Penningtoon +- add some BuildRequires + +* Fri Feb 23 2001 Trond Eivind Glomsrød +- langify +- use %%{_tmppath} + +* Fri Feb 09 2001 Akira TAGOH +- -2 +- Fixed install po. +- Updated Japanese translation. + Note: Please remove Source1: when release the next upstream version. +- Added Japanese patch. +- -3 +- Fixed text render bug. + +* Mon Jan 29 2001 Preston Brown +- upgraded to fix i18n issues (#24875) + +* Fri Aug 11 2000 Jonathan Blandford +- Up Epoch and release + +* Fri Aug 04 2000 Havoc Pennington +- Whatever, 15321 was already fixed (it's under plain Applications), + change the group back + +* Fri Aug 04 2000 Havoc Pennington +- Put it in Applications/Graphics bug 15321 + +* Wed Jul 12 2000 Prospector +- automatic rebuild + +* Tue Jun 6 2000 Tim Powers +- fixed manpage location +- use %%makinstall + +* Mon May 1 2000 Matt Wilson +- updates to 0.84, added alpha back in + +* Mon Nov 8 1999 Tim Powers +- updated to 0.81 + +* Mon Aug 30 1999 Tim Powers +- changed group + +* Tue Aug 17 1999 Tim Powers +- exludearch alpha dumps core when you do anything + +* Mon Jul 12 1999 Tim Powers +- rebuilt for 6.1 + +* Wed Apr 28 1999 Preston Brown +- initial build for Powertools 6.0