io.elementary.photos: update to 2.7.5.
This commit is contained in:
parent
14ac169861
commit
4c98e8b879
2 changed files with 3 additions and 54 deletions
|
@ -1,51 +0,0 @@
|
||||||
From 6594f1323726fb0d38519a7bdafe16f9170353cb Mon Sep 17 00:00:00 2001
|
|
||||||
From: Bobby Rong <rjl931189261@126.com>
|
|
||||||
Date: Mon, 14 Mar 2022 19:50:16 +0800
|
|
||||||
Subject: [PATCH] Fix build with vala 0.56 (#711)
|
|
||||||
|
|
||||||
---
|
|
||||||
src/main.vala | 2 +-
|
|
||||||
vapi/config.vapi | 14 +++++++-------
|
|
||||||
2 files changed, 8 insertions(+), 8 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/main.vala b/src/main.vala
|
|
||||||
index 875d35ec7..57c88cf9c 100644
|
|
||||||
--- a/src/main.vala
|
|
||||||
+++ b/src/main.vala
|
|
||||||
@@ -273,7 +273,7 @@ namespace CommandlineOptions {
|
|
||||||
bool show_version = false;
|
|
||||||
bool debug_enabled = false;
|
|
||||||
|
|
||||||
- public const OptionEntry[] APP_OPTIONS = {
|
|
||||||
+ const OptionEntry[] APP_OPTIONS = {
|
|
||||||
{ "datadir", 'd', 0, OptionArg.FILENAME, out data_dir, N_("Path to Photos' private data"), N_("DIRECTORY")},
|
|
||||||
{ "no-runtime-monitoring", 0, 0, OptionArg.NONE, out no_runtime_monitoring, N_("Do not monitor library directory at runtime for changes"), null},
|
|
||||||
{ "no-startup-progress", 0, 0, OptionArg.NONE, out no_startup_progress, N_("Don't display startup progress meter"), null},
|
|
||||||
diff --git a/vapi/config.vapi b/vapi/config.vapi
|
|
||||||
index 15c8d8b12..36f0acb78 100644
|
|
||||||
--- a/vapi/config.vapi
|
|
||||||
+++ b/vapi/config.vapi
|
|
||||||
@@ -5,16 +5,16 @@
|
|
||||||
*/
|
|
||||||
|
|
||||||
[CCode (cheader_filename="config.h")]
|
|
||||||
-extern const string _PREFIX;
|
|
||||||
+public const string _PREFIX;
|
|
||||||
[CCode (cheader_filename="config.h")]
|
|
||||||
-extern const string _VERSION;
|
|
||||||
+public const string _VERSION;
|
|
||||||
[CCode (cheader_filename="config.h")]
|
|
||||||
-extern const string GETTEXT_PACKAGE;
|
|
||||||
+public const string GETTEXT_PACKAGE;
|
|
||||||
[CCode (cheader_filename="config.h")]
|
|
||||||
-extern const string LOCALEDIR;
|
|
||||||
+public const string LOCALEDIR;
|
|
||||||
[CCode (cheader_filename="config.h")]
|
|
||||||
-extern const string _LIB;
|
|
||||||
+public const string _LIB;
|
|
||||||
[CCode (cheader_filename="config.h")]
|
|
||||||
-extern const string _LIBEXECDIR;
|
|
||||||
+public const string _LIBEXECDIR;
|
|
||||||
[CCode (cheader_filename="config.h")]
|
|
||||||
-extern const string PROJECT_NAME;
|
|
||||||
+public const string PROJECT_NAME;
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'io.elementary.photos'
|
# Template file for 'io.elementary.photos'
|
||||||
pkgname=io.elementary.photos
|
pkgname=io.elementary.photos
|
||||||
version=2.7.4
|
version=2.7.5
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="photos-${version}"
|
wrksrc="photos-${version}"
|
||||||
build_style=meson
|
build_style=meson
|
||||||
|
@ -11,11 +11,11 @@ makedepends="libaccounts-glib-devel libexif-devel libgee08-devel
|
||||||
gst-plugins-base1-devel gstreamer1-devel gtk+3-devel libgudev-devel
|
gst-plugins-base1-devel gstreamer1-devel gtk+3-devel libgudev-devel
|
||||||
json-glib-devel libraw-devel rest-devel libsoup-devel sqlite-devel
|
json-glib-devel libraw-devel rest-devel libsoup-devel sqlite-devel
|
||||||
webkit2gtk-devel libwebp-devel libxml2-devel granite-devel libnotify-devel
|
webkit2gtk-devel libwebp-devel libxml2-devel granite-devel libnotify-devel
|
||||||
vte3-devel libhandy1-devel"
|
vte3-devel libhandy1-devel libgomp-devel"
|
||||||
depends="desktop-file-utils gsettings-desktop-schemas"
|
depends="desktop-file-utils gsettings-desktop-schemas"
|
||||||
short_desc="Photo viewer and organizer designed for elementary OS"
|
short_desc="Photo viewer and organizer designed for elementary OS"
|
||||||
maintainer="Cameron Nemo <cnemo@tutanota.com>"
|
maintainer="Cameron Nemo <cnemo@tutanota.com>"
|
||||||
license="LGPL-2.1-or-later"
|
license="LGPL-2.1-or-later"
|
||||||
homepage="https://github.com/elementary/photos"
|
homepage="https://github.com/elementary/photos"
|
||||||
distfiles="https://github.com/elementary/photos/archive/${version}.tar.gz"
|
distfiles="https://github.com/elementary/photos/archive/${version}.tar.gz"
|
||||||
checksum=3227f498e483b150f0a1407f4cf244d69f1c7453fc9bcba164fe3ab944283315
|
checksum=dbf1161fa88635fff7b890605ed5d753e581a7efd691b3c9c4ad33d424e06974
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue