Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
1f4d959c87
!6 fix build error due to vala upgrade
From: @cherry530 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-12-22 00:55:57 +00:00
cherry530
c24dd2a68c fix build error
Signed-off-by: cherry530 <707078654@qq.com>
2023-12-20 14:24:10 +08:00
openeuler-ci-bot
e029abf2b4
!5 Upgrade pdfpc to 4.6.0
From: @chen-jan 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-04-13 07:04:17 +00:00
chen-jan
67d677659f Upgrade pdfpc to 4.6.0 2023-04-12 17:33:54 +08:00
openeuler-ci-bot
63db6e1d43
!4 Upgrade pdfpc to 4.5.0
Merge pull request !4 from starlet_dx/master
2022-01-12 06:02:50 +00:00
starlet-dx
5f7c48b755 Upgrade pdfpc to 4.5.0 2022-01-04 16:06:17 +08:00
openeuler-ci-bot
0a77a5d8cb !2 pdfpc delete -S git from %autosetup, and delete BuildRequires git-core
From: @chenyanpanHW
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-08-21 02:44:11 +00:00
chenyanpanHW
a9da4fef7f
delete -S git from %autosetup, and delete BuildRequires git-core 2021-07-30 23:13:49 +08:00
openeuler-ci-bot
0e89f96cdb !1 package init
From: @wang_yue111
Reviewed-by: @zhanghua1831,@small_leek
Signed-off-by: @small_leek
2020-11-18 15:47:26 +08:00
wang_yue111
9a3eedf5c2 package init 2020-11-18 15:24:47 +08:00
4 changed files with 111 additions and 0 deletions

View File

@ -0,0 +1,33 @@
From 18beaecbbcc066e0d4c889b3aa3ecaa7351f7768 Mon Sep 17 00:00:00 2001
From: Evgeny Stambulchik <fnevgeny@gmail.com>
Date: Tue, 25 Apr 2023 16:11:25 +0300
Subject: [PATCH] Create Lists of nullable types
---
src/classes/drawings/drawing_commands.vala | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/classes/drawings/drawing_commands.vala b/src/classes/drawings/drawing_commands.vala
index 77e56e6d..c305a8c5 100644
--- a/src/classes/drawings/drawing_commands.vala
+++ b/src/classes/drawings/drawing_commands.vala
@@ -54,8 +54,8 @@ namespace pdfpc {
}
public void clear() {
- this.drawing_commands = new List<DrawingCommand>();
- this.redo_commands = new List<DrawingCommand>();
+ this.drawing_commands = new List<DrawingCommand?>();
+ this.redo_commands = new List<DrawingCommand?>();
}
public void add_line(bool is_eraser,
@@ -70,7 +70,7 @@ namespace pdfpc {
// After adding a new line you can no longer redo the old
// path.
- this.redo_commands = new List<DrawingCommand>(); // clear
+ this.redo_commands = new List<DrawingCommand?>(); // clear
bool new_path = true;
double epsilon = 1e-4; // Less than 0.1 pixel for a 1000x1000 img

73
pdfpc.spec Normal file
View File

@ -0,0 +1,73 @@
Name: pdfpc
Version: 4.6.0
Release: 2
Summary: A GTK based presentation viewer application for GNU/Linux
License: GPL-3.0-or-later
URL: https://%{name}.github.io/
Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz
Patch0001: create-lists-of-nullable-types.patch
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: gtk3-devel
BuildRequires: gstreamer1-devel
BuildRequires: gstreamer1-plugins-base-devel
BuildRequires: json-glib-devel
BuildRequires: libmarkdown-devel
BuildRequires: librsvg2-devel
BuildRequires: libgee-devel
BuildRequires: pango-devel
BuildRequires: poppler-glib-devel
BuildRequires: webkit2gtk3-devel
BuildRequires: vala vala-devel
BuildRequires: qrencode-devel
%description
pdfpc is a GTK based presentation viewer application for GNU/Linux which uses
Keynote like multi-monitor output to provide meta information to the speaker
during the presentation. It is able to show a normal presentation window on one
screen, while showing a more sophisticated overview on the other one providing
information like a picture of the next slide, as well as the left over time
till the end of the presentation. The input files processed by pdfpc are PDF
documents, which can be created using nearly any of today's presentation
software.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%cmake -DSYSCONFDIR=/etc .
%make_build
%install
%make_install
%files
%doc README.rst CHANGELOG.rst
%{_bindir}/%{name}
%license LICENSE.txt
%config(noreplace) %{_sysconfdir}/%{name}rc
%{_mandir}/man1/%{name}*
%{_mandir}/man5/%{name}*
%{_datadir}/%{name}
%changelog
* Wed Sep 20 2023 xu_ping <707078654@qq.com> - 4.6.0-2
- fix build error due to vala upgrade.
* Wed Apr 12 2023 chenchen <chen_aka_jan@163.com> - 4.6.0-1
- Upgrade pdfpc to 4.6.0
* Tue Jan 04 2022 yaoxin <yaoxin30@huawei.com> - 4.5.0-1
- Upgrade pdfpc to 4.5.0
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 4.3.4-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git-core
* Tue Nov 17 2020 wangyue <wangyue92@huawei.com> - 4.3.4-1
- package init

5
pdfpc.yaml Normal file
View File

@ -0,0 +1,5 @@
git_url: https://github.com/pdfpc/pdfpc
version_control: github
src_repo: pdfpc/pdfpc
tag_prefix: "^v"
seperator: "."

BIN
v4.6.0.tar.gz Normal file

Binary file not shown.