diff --git a/xournal-c99-1.patch b/xournal-c99-1.patch new file mode 100644 index 0000000..f6996bc --- /dev/null +++ b/xournal-c99-1.patch @@ -0,0 +1,78 @@ +commit 430d9502547856943df531b700bb5843fcc8bd1f +Author: Denis Auroux +Date: Sun Jan 24 15:48:16 2021 -0500 + + Fix implicit function declarations by including config.h in ttsubset/*.c + +diff --git a/src/ttsubset/list.c b/src/ttsubset/list.c +index 0cf958e43468c5ee..6b764ae7dabbe0ef 100644 +--- a/src/ttsubset/list.c ++++ b/src/ttsubset/list.c +@@ -33,7 +33,7 @@ + * + */ + +-/* $Id$ */ ++/* $Id: list.c,v 1.4 2004/09/10 18:59:06 jody Exp $ */ + /* @(#)list.c 1.7 03/02/06 SMI */ + + /* +@@ -44,6 +44,10 @@ + * + */ + ++#ifdef HAVE_CONFIG_H ++# include ++#endif ++ + #include + #include + #ifdef MALLOC_TRACE +diff --git a/src/ttsubset/sft.c b/src/ttsubset/sft.c +index 249fbdf03b074575..678359eb580f9b56 100644 +--- a/src/ttsubset/sft.c ++++ b/src/ttsubset/sft.c +@@ -33,7 +33,7 @@ + * + */ + +-/* $Id$ */ ++/* $Id: sft.c,v 1.9 2005/01/04 20:10:46 jody Exp $ */ + /* @(#)sft.c 1.17 03/01/08 SMI */ + + /* +@@ -43,6 +43,10 @@ + * @version 1.0 + */ + ++#ifdef HAVE_CONFIG_H ++# include ++#endif ++ + #include + #include + #include +diff --git a/src/ttsubset/ttcr.c b/src/ttsubset/ttcr.c +index eecfcade1a5f1b5d..38962def32de00c3 100644 +--- a/src/ttsubset/ttcr.c ++++ b/src/ttsubset/ttcr.c +@@ -33,7 +33,7 @@ + * + */ + +-/* $Id$ */ ++/* $Id: ttcr.c,v 1.7 2005/01/04 20:10:46 jody Exp $ */ + /* @(#)ttcr.c 1.7 03/01/08 SMI */ + + /* +@@ -44,6 +44,10 @@ + * + */ + ++#ifdef HAVE_CONFIG_H ++# include ++#endif ++ + #include + #ifdef HAVE_UNISTD_H + #include diff --git a/xournal-c99-2.patch b/xournal-c99-2.patch new file mode 100644 index 0000000..f5169ca --- /dev/null +++ b/xournal-c99-2.patch @@ -0,0 +1,17 @@ +Add missing include directives for make_dashed, set_cursor_busy. + +Submitted upstream: + +diff --git a/src/xo-image.c b/src/xo-image.c +index c16f8f40897e064e..5624a46c3a35d287 100644 +--- a/src/xo-image.c ++++ b/src/xo-image.c +@@ -25,6 +25,8 @@ + #include "xo-support.h" + #include "xo-image.h" + #include "xo-misc.h" ++#include "xo-selection.h" ++#include "xo-paint.h" + + // create pixbuf from buffer, or return NULL on failure + GdkPixbuf *pixbuf_from_buffer(const gchar *buf, gsize buflen) diff --git a/xournal.spec b/xournal.spec index 266c84b..53bb8b7 100644 --- a/xournal.spec +++ b/xournal.spec @@ -1,11 +1,14 @@ Name: xournal Version: 0.4.8.2016 -Release: 9%{?dist} +Release: 21%{?dist} Summary: Notetaking, sketching, PDF annotation and general journal -License: GPLv2 +# Automatically converted from old format: GPLv2 - review is highly recommended. +License: GPL-2.0-only URL: http://xournal.sourceforge.net/ Source0: http://downloads.sourceforge.net/xournal/%{name}-%{version}.tar.gz +Patch0: xournal-c99-1.patch +Patch1: xournal-c99-2.patch BuildRequires: make BuildRequires: gcc @@ -31,7 +34,7 @@ annotating PDFs. Xournal aims to provide superior graphical quality (subpixel resolution) and overall functionality. %prep -%setup -q +%autosetup -p1 NOCONFIGURE=1 ./autogen.sh @@ -85,6 +88,42 @@ desktop-file-install \ %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 0.4.8.2016-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + +* Sat Jan 17 2026 Fedora Release Engineering - 0.4.8.2016-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Fri Jul 25 2025 Fedora Release Engineering - 0.4.8.2016-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Sun Jan 19 2025 Fedora Release Engineering - 0.4.8.2016-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Mon Jul 29 2024 Miroslav Suchý - 0.4.8.2016-17 +- convert license to SPDX + +* Sat Jul 20 2024 Fedora Release Engineering - 0.4.8.2016-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jan 27 2024 Fedora Release Engineering - 0.4.8.2016-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Jul 22 2023 Fedora Release Engineering - 0.4.8.2016-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jan 21 2023 Fedora Release Engineering - 0.4.8.2016-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Dec 6 2022 Florian Weimer - 0.4.8.2016-12 +- Port to C99 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.4.8.2016-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Jan 22 2022 Fedora Release Engineering - 0.4.8.2016-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 0.4.8.2016-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild @@ -235,7 +274,7 @@ desktop-file-install \ - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Sep 21 2008 Ville Skyttä - 0.4.2.1-2 -- Fix Patch0:/%%patch mismatch (#463069) +- Fix Patch0:/patch mismatch (#463069) * Mon Apr 7 2008 Jeremy Katz - 0.4.2.1-1 - Update to 0.4.2.1 to fix problems with newer xorg