gnome-calendar:new package
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 2.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt.
|
||||
|
||||
from pisi.actionsapi import mesontools, pisitools
|
||||
|
||||
def setup():
|
||||
mesontools.configure()
|
||||
|
||||
def build():
|
||||
mesontools.build()
|
||||
|
||||
def install():
|
||||
mesontools.install()
|
||||
|
||||
pisitools.dodoc("COPYING", "README*", "NEWS")
|
||||
@@ -0,0 +1,34 @@
|
||||
From 25ee070ad16e21b32b637744ad4905dd942a8aff Mon Sep 17 00:00:00 2001
|
||||
From: Michael Catanzaro <mcatanzaro@igalia.com>
|
||||
Date: Wed, 3 Jul 2019 18:50:49 -0500
|
||||
Subject: [PATCH] Avoid crashing when year view's weather icon is NULL
|
||||
|
||||
This is not a proper solution, because I don't see how it could possibly
|
||||
ever be NULL here. But a huge number of users are reporting this crash,
|
||||
so we have to try something.
|
||||
|
||||
This fixes #299, but I'm not happy with it.
|
||||
---
|
||||
src/gui/views/gcal-year-view.c | 6 +++++-
|
||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/gui/views/gcal-year-view.c b/src/gui/views/gcal-year-view.c
|
||||
index ac32a8f9..532425c1 100644
|
||||
--- a/src/gui/views/gcal-year-view.c
|
||||
+++ b/src/gui/views/gcal-year-view.c
|
||||
@@ -2158,7 +2158,11 @@ update_weather (GcalYearView *self)
|
||||
if (!updated)
|
||||
{
|
||||
gtk_label_set_text (self->temp_label, "");
|
||||
- gtk_image_clear (self->weather_icon);
|
||||
+ /* FIXME: This should never be NULL, but it somehow is.
|
||||
+ * https://gitlab.gnome.org/GNOME/gnome-calendar/issues/299
|
||||
+ */
|
||||
+ if (self->weather_icon != NULL)
|
||||
+ gtk_image_clear (self->weather_icon);
|
||||
}
|
||||
}
|
||||
|
||||
--
|
||||
2.29.2
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org.tr/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gnome-calendar</Name>
|
||||
<Homepage>https://wiki.gnome.org/Apps/Calendar</Homepage>
|
||||
<Packager>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<Icon>gnome-calendar</Icon>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>Simple and beautiful calendar application designed to fit GNOME 3</Summary>
|
||||
<Description>Simple and beautiful calendar application designed to fit GNOME 3</Description>
|
||||
<Archive sha1sum="92d0a3f9bdfeaff265cb805b75b8601ae7b4dd5f" type="tarxz">mirrors://gnome/gnome-calendar/40/gnome-calendar-40.1.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>appstream-devel</Dependency>
|
||||
<Dependency>desktop-file-utils</Dependency>
|
||||
<Dependency>evolution-data-server-devel</Dependency>
|
||||
<Dependency>geoclue-devel</Dependency>
|
||||
<Dependency>geocode-glib-devel</Dependency>
|
||||
<Dependency>gettext-devel</Dependency>
|
||||
<Dependency>gnome-online-accounts-devel</Dependency>
|
||||
<Dependency>gsettings-desktop-schemas-devel</Dependency>
|
||||
<Dependency>geocode-glib-devel</Dependency>
|
||||
<Dependency>gtk-doc</Dependency>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
<Dependency>libgweather-devel</Dependency>
|
||||
<Dependency>libdazzle-devel</Dependency>
|
||||
<Dependency>libhandy-devel</Dependency>
|
||||
<Dependency>libical-devel</Dependency>
|
||||
<Dependency>libsoup-devel</Dependency>
|
||||
<Dependency>meson</Dependency>
|
||||
<Dependency>python-pygobject3-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch>84.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>gnome-calendar</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>cairo</Dependency>
|
||||
<Dependency>evolution-data-server</Dependency>
|
||||
<Dependency>gnome-online-accounts</Dependency>
|
||||
<Dependency>geoclue</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>gtk3</Dependency>
|
||||
<Dependency>libical</Dependency>
|
||||
<Dependency>libsoup</Dependency>
|
||||
<Dependency>libhandy</Dependency>
|
||||
<Dependency>libdazzle</Dependency>
|
||||
<Dependency>libgweather</Dependency>
|
||||
<Dependency>pango</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="data">/usr/share/applications</Path>
|
||||
<Path fileType="data">/usr/share/dbus-1</Path>
|
||||
<Path fileType="data">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/glib-2.0</Path>
|
||||
<Path fileType="data">/usr/share/gnome-shell</Path>
|
||||
<Path fileType="data">/usr/share/icons</Path>
|
||||
<Path fileType="localdata">/usr/share/locale</Path>
|
||||
<Path fileType="data">/usr/share/metainfo</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2021-06-08</Date>
|
||||
<Version>40.1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gnome-calendar</Name>
|
||||
<Summary xml:lang="tr">GNOME 3 için tasarlanmış basit ve güzel bir takvim uygulaması</Summary>
|
||||
<Description xml:lang="tr">GNOME 3 için tasarlanmış basit ve güzel bir takvim uygulaması</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>gnome-calendar-devel</Name>
|
||||
<Summary xml:lang="tr">gnome-calendar için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user