SHA256
1
0
forked from pool/xournalpp

Accepting request 1083132 from X11:Utilities

OBS-URL: https://build.opensuse.org/request/show/1083132
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xournalpp?expand=0&rev=19
This commit is contained in:
Dominique Leuenberger 2023-04-27 18:01:07 +00:00 committed by Git OBS Bridge
commit 0d7e0cdc28
3 changed files with 21 additions and 2 deletions

12
xournalpp-include.patch Normal file
View File

@ -0,0 +1,12 @@
Index: xournalpp-1.1.3/src/view/background/BackgroundConfig.h
===================================================================
--- xournalpp-1.1.3.orig/src/view/background/BackgroundConfig.h
+++ xournalpp-1.1.3/src/view/background/BackgroundConfig.h
@@ -11,6 +11,7 @@
#pragma once
+#include <cinttypes>
#include <map>
#include <string>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 26 13:24:19 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Add xournalpp-include.patch: Add missing include exposed by
gcc-13.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 6 15:28:01 UTC 2022 - Dirk Müller <dmueller@suse.com> Tue Dec 6 15:28:01 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package xournalpp # spec file for package xournalpp
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -24,6 +24,8 @@ License: GPL-2.0-or-later
Group: Productivity/Office/Other Group: Productivity/Office/Other
URL: https://github.com/xournalpp/xournalpp URL: https://github.com/xournalpp/xournalpp
Source0: https://github.com/xournalpp/xournalpp/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: https://github.com/xournalpp/xournalpp/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM xournalpp-include.patch -- Add missing include
Patch0: xournalpp-include.patch
BuildRequires: cmake BuildRequires: cmake
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: hicolor-icon-theme BuildRequires: hicolor-icon-theme
@ -70,7 +72,6 @@ It supports pen input, e.g. Wacom tablets.
%install %install
%cmake_install %cmake_install
%find_lang xournalpp %{no_lang_C} %find_lang xournalpp %{no_lang_C}
%fdupes %{buildroot}%{_datadir} %fdupes %{buildroot}%{_datadir}
%files %files