Compare commits
12 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1576df05db | ||
|
|
bfa3946eb6 | ||
|
|
9c70552ffd | ||
|
|
271922aded | ||
|
|
9248df5601 | ||
|
|
d1480f8400 | ||
|
|
17eca32f2c | ||
|
|
710601581d | ||
|
|
6e5fcb03cb | ||
|
|
dacd5bf30e | ||
|
|
b1d8e58d15 | ||
|
|
f6a2cef411 |
3 changed files with 138 additions and 4 deletions
78
xournal-c99-1.patch
Normal file
78
xournal-c99-1.patch
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
commit 430d9502547856943df531b700bb5843fcc8bd1f
|
||||
Author: Denis Auroux <auroux@users.sourceforge.net>
|
||||
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 <config.h>
|
||||
+#endif
|
||||
+
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
#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 <config.h>
|
||||
+#endif
|
||||
+
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
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 <config.h>
|
||||
+#endif
|
||||
+
|
||||
#include <sys/types.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
17
xournal-c99-2.patch
Normal file
17
xournal-c99-2.patch
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
Add missing include directives for make_dashed, set_cursor_busy.
|
||||
|
||||
Submitted upstream: <https://sourceforge.net/p/xournal/patches/93/>
|
||||
|
||||
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)
|
||||
47
xournal.spec
47
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 <releng@fedoraproject.org> - 0.4.8.2016-21
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8.2016-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8.2016-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8.2016-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Mon Jul 29 2024 Miroslav Suchý <msuchy@redhat.com> - 0.4.8.2016-17
|
||||
- convert license to SPDX
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8.2016-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8.2016-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8.2016-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8.2016-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Tue Dec 6 2022 Florian Weimer <fweimer@redhat.com> - 0.4.8.2016-12
|
||||
- Port to C99
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8.2016-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8.2016-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 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ä <ville.skytta at iki.fi> - 0.4.2.1-2
|
||||
- Fix Patch0:/%%patch mismatch (#463069)
|
||||
- Fix Patch0:/patch mismatch (#463069)
|
||||
|
||||
* Mon Apr 7 2008 Jeremy Katz <katzj@redhat.com> - 0.4.2.1-1
|
||||
- Update to 0.4.2.1 to fix problems with newer xorg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue