mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
pdfpc: update to 4.4.0.
This commit is contained in:
parent
5b2e8dd6ad
commit
7563ae2206
2 changed files with 2 additions and 81 deletions
|
@ -1,79 +0,0 @@
|
||||||
From bbc16b97ecbdcdd22c2dc827a5c0e8b569073312 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Evgeny Stambulchik <fnevgeny@gmail.com>
|
|
||||||
Date: Sun, 4 Aug 2019 13:13:48 +0300
|
|
||||||
Subject: [PATCH] Make constructors of abstract classes protected
|
|
||||||
|
|
||||||
This should fix #445.
|
|
||||||
---
|
|
||||||
src/classes/action/action_mapping.vala | 2 +-
|
|
||||||
src/classes/drawings/storage.vala | 2 +-
|
|
||||||
src/classes/renderer/cache/base.vala | 2 +-
|
|
||||||
src/classes/timer_label.vala | 2 +-
|
|
||||||
src/classes/view/behaviour/base.vala | 2 +-
|
|
||||||
5 files changed, 5 insertions(+), 5 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/classes/action/action_mapping.vala b/src/classes/action/action_mapping.vala
|
|
||||||
index 780f80a..0abc307 100644
|
|
||||||
--- src/classes/action/action_mapping.vala
|
|
||||||
+++ src/classes/action/action_mapping.vala
|
|
||||||
@@ -48,7 +48,7 @@ namespace pdfpc {
|
|
||||||
* methods, and we need blank objects to call them. Thus, this blank
|
|
||||||
* constructor.
|
|
||||||
*/
|
|
||||||
- public ActionMapping() {
|
|
||||||
+ protected ActionMapping() {
|
|
||||||
base();
|
|
||||||
}
|
|
||||||
|
|
||||||
diff --git a/src/classes/drawings/storage.vala b/src/classes/drawings/storage.vala
|
|
||||||
index 93f85a9..373279e 100644
|
|
||||||
--- src/classes/drawings/storage.vala
|
|
||||||
+++ src/classes/drawings/storage.vala
|
|
||||||
@@ -35,7 +35,7 @@ namespace pdfpc.Drawings.Storage {
|
|
||||||
*/
|
|
||||||
protected Metadata.Pdf metadata;
|
|
||||||
|
|
||||||
- public Base(Metadata.Pdf metadata) {
|
|
||||||
+ protected Base(Metadata.Pdf metadata) {
|
|
||||||
this.metadata = metadata;
|
|
||||||
}
|
|
||||||
|
|
||||||
diff --git a/src/classes/renderer/cache/base.vala b/src/classes/renderer/cache/base.vala
|
|
||||||
index 3c4aea0..043a60f 100644
|
|
||||||
--- src/classes/renderer/cache/base.vala
|
|
||||||
+++ src/classes/renderer/cache/base.vala
|
|
||||||
@@ -37,7 +37,7 @@ namespace pdfpc.Renderer.Cache {
|
|
||||||
/**
|
|
||||||
* Initialize the cache store
|
|
||||||
*/
|
|
||||||
- public Base(Metadata.Pdf metadata) {
|
|
||||||
+ protected Base(Metadata.Pdf metadata) {
|
|
||||||
this.metadata = metadata;
|
|
||||||
}
|
|
||||||
|
|
||||||
diff --git a/src/classes/timer_label.vala b/src/classes/timer_label.vala
|
|
||||||
index 8b55acc..8d689e1 100644
|
|
||||||
--- src/classes/timer_label.vala
|
|
||||||
+++ src/classes/timer_label.vala
|
|
||||||
@@ -95,7 +95,7 @@ namespace pdfpc {
|
|
||||||
* Default constructor taking the initial time as argument, as well as
|
|
||||||
* the time to countdown until the talk actually starts.
|
|
||||||
*/
|
|
||||||
- public TimerLabel(PresentationController controller, time_t start_time = 0) {
|
|
||||||
+ protected TimerLabel(PresentationController controller, time_t start_time = 0) {
|
|
||||||
this.controller = controller;
|
|
||||||
this.start_time = start_time;
|
|
||||||
}
|
|
||||||
diff --git a/src/classes/view/behaviour/base.vala b/src/classes/view/behaviour/base.vala
|
|
||||||
index 4382ba6..46c8808 100644
|
|
||||||
--- src/classes/view/behaviour/base.vala
|
|
||||||
+++ src/classes/view/behaviour/base.vala
|
|
||||||
@@ -41,7 +41,7 @@ namespace pdfpc.View {
|
|
||||||
/**
|
|
||||||
* Base constructor not taking any arguments
|
|
||||||
*/
|
|
||||||
- public Base() {
|
|
||||||
+ protected Base() {
|
|
||||||
// Nothing to do here
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'pdfpc'
|
# Template file for 'pdfpc'
|
||||||
pkgname=pdfpc
|
pkgname=pdfpc
|
||||||
version=4.3.4
|
version=4.4.0
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="pdfpc-${version}"
|
wrksrc="pdfpc-${version}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
|
@ -13,7 +13,7 @@ license="GPL-2.0-or-later"
|
||||||
homepage="https://pdfpc.github.io/"
|
homepage="https://pdfpc.github.io/"
|
||||||
changelog="https://raw.githubusercontent.com/pdfpc/pdfpc/master/CHANGELOG.txt"
|
changelog="https://raw.githubusercontent.com/pdfpc/pdfpc/master/CHANGELOG.txt"
|
||||||
distfiles="https://github.com/pdfpc/pdfpc/archive/v${version}.tar.gz"
|
distfiles="https://github.com/pdfpc/pdfpc/archive/v${version}.tar.gz"
|
||||||
checksum=cc3ccd7a23990b76dd6083e774d28f63d726a86db3a7f180b1c90596b735d5ed
|
checksum=5fc457b081cdf02708436bb708940fd6b689e03fc336d3faab652f0b85592c00
|
||||||
|
|
||||||
if [ $CROSS_BUILD ]; then
|
if [ $CROSS_BUILD ]; then
|
||||||
hostmakedepends+=" libgee08-devel"
|
hostmakedepends+=" libgee08-devel"
|
||||||
|
|
Loading…
Add table
Reference in a new issue