gnome-calendar:new package

This commit is contained in:
2021-06-09 00:26:13 +03:00
parent 521d9ecb25
commit cf467dd14e
8 changed files with 253 additions and 6 deletions
@@ -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>
+107 -4
View File
@@ -10359,6 +10359,8 @@ components such as the Settings and gnome-shell.</Description>
<Icon>gnome-books</Icon>
<Archive type="tarxz" sha1sum="d412b056075950e5e8fbfb5553700cf97f7831a7" name="gnome-books-40.0.tar.xz">mirrors://gnome/gnome-books/40/gnome-books-40.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>appstream-glib-devel</Dependency>
<Dependency>desktop-file-utils</Dependency>
<Dependency>docbook-xsl</Dependency>
<Dependency>librsvg-devel</Dependency>
<Dependency>gjs-devel</Dependency>
@@ -10368,6 +10370,7 @@ components such as the Settings and gnome-shell.</Description>
<Dependency>gnome-desktop-devel</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>libxslt-devel</Dependency>
<Dependency>libgepub-devel</Dependency>
<Dependency>libseccomp-devel</Dependency>
<Dependency>meson</Dependency>
@@ -11174,6 +11177,86 @@ components such as the Settings and gnome-shell.</Description>
</Update>
</History>
</SpecFile>
<SpecFile>
<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>
<IsA>app:gui</IsA>
<PartOf>desktop.gnome.apps</PartOf>
<Summary xml:lang="en">Simple and beautiful calendar application designed to fit GNOME 3</Summary>
<Summary xml:lang="tr">GNOME 3 için tasarlanmış basit ve güzel bir takvim uygulaması</Summary>
<Description xml:lang="en">Simple and beautiful calendar application designed to fit GNOME 3</Description>
<Description xml:lang="tr">GNOME 3 için tasarlanmış basit ve güzel bir takvim uygulaması</Description>
<Icon>gnome-calendar</Icon>
<Archive type="tarxz" sha1sum="92d0a3f9bdfeaff265cb805b75b8601ae7b4dd5f" name="gnome-calendar-40.1.tar.xz">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>
<SourceURI>desktop/gnome/apps/gnome-calendar/pspec.xml</SourceURI>
</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>
</SpecFile>
<SpecFile>
<Source>
<Name>gnome-notes</Name>
@@ -11275,24 +11358,26 @@ components such as the Settings and gnome-shell.</Description>
<Archive type="tarxz" sha1sum="8c3363bb2e27de4a5479f82665b8ff1420ef6bd6" name="gitg-3.32.1.tar.xz">mirrors://gnome/gitg/3.32/gitg-3.32.1.tar.xz</Archive>
<BuildDependencies>
<Dependency>gettext-devel</Dependency>
<Dependency>libgee-devel</Dependency>
<Dependency>python-pygobject3-devel</Dependency>
<Dependency>python3-pygobject3-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
<Dependency>gsettings-desktop-schemas-devel</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>gtksourceview3-devel</Dependency>
<Dependency>gtksourceview-devel</Dependency>
<Dependency>gtkspell3-devel</Dependency>
<Dependency>json-glib-devel</Dependency>
<Dependency>meson</Dependency>
<Dependency>libdazzle-devel</Dependency>
<Dependency>libgee-devel</Dependency>
<Dependency>libgit2-devel</Dependency>
<Dependency>libgit2-glib-devel</Dependency>
<Dependency>libpeas-devel</Dependency>
<Dependency>libsecret-devel</Dependency>
<Dependency>libsoup-devel</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>vala-devel</Dependency>
<Dependency>webkit2gtk-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>vala.patch</Patch>
@@ -24244,6 +24329,7 @@ components such as the Settings and gnome-shell.</Description>
</BuildDependencies>
<Patches>
<Patch level="1">desktop.patch</Patch>
<Patch level="1">gnome.patch</Patch>
</Patches>
<SourceURI>desktop/pisilinux/pisilinux-desktop-services/pspec.xml</SourceURI>
</Source>
@@ -24258,6 +24344,13 @@ components such as the Settings and gnome-shell.</Description>
</Files>
</Package>
<History>
<Update release="10">
<Date>2021-06-08</Date>
<Version>2.1.1</Version>
<Comment>Rebuild Gonme</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="9">
<Date>2021-05-21</Date>
<Version>2.1.1</Version>
@@ -190649,9 +190742,10 @@ provide integrated access to the cloud providers services.</Description>
<Dependency>webkit2gtk</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/libgepub.*</Path>
<Path fileType="library">/usr/lib/libgepub*</Path>
<Path fileType="library">/usr/lib/girepository-1.0</Path>
<Path fileType="data">/usr/share/gir</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
@@ -237432,12 +237526,13 @@ to create header files and sources from protocol files.</Description>
<Summary xml:lang="tr">Yönetici haklarıyla komut çalıştırma uygulaması</Summary>
<Description xml:lang="en">sudo allows certain users/groups to run commands with root user privileges.</Description>
<Description xml:lang="tr">sudo, belirli kullanıcıların ya da kullanıcı gruplarının komut ve uygulamaları yönetici kullanıcı (root) haklarıyla çalıştırmasına izin veren bir konsol uygulamasıdır.</Description>
<Archive type="targz" sha1sum="08bde247a1e08bc881eec43e09733f7ca06408f5" name="sudo-1.9.5p2.tar.gz">https://www.sudo.ws/sudo/dist/sudo-1.9.5p2.tar.gz</Archive>
<Archive type="targz" sha1sum="e439530f86550c495a8d066a140a0230cbba1874" name="sudo-1.9.7.tar.gz">https://www.sudo.ws/sudo/dist/sudo-1.9.7.tar.gz</Archive>
<BuildDependencies>
<Dependency>nss-devel</Dependency>
<Dependency>pam-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>audit-devel</Dependency>
<Dependency>openssl-devel</Dependency>
<Dependency versionFrom="2.1.26">cyrus-sasl-devel</Dependency>
<Dependency versionFrom="2.4.41">openldap-client</Dependency>
</BuildDependencies>
@@ -237451,6 +237546,7 @@ to create header files and sources from protocol files.</Description>
<Dependency>pam</Dependency>
<Dependency>zlib</Dependency>
<Dependency>audit</Dependency>
<Dependency>openssl</Dependency>
<Dependency versionFrom="2.1.26">cyrus-sasl</Dependency>
<Dependency versionFrom="2.4.41">openldap-client</Dependency>
</RuntimeDependencies>
@@ -237478,6 +237574,13 @@ to create header files and sources from protocol files.</Description>
</AdditionalFiles>
</Package>
<History>
<Update release="13">
<Date>2021-06-08</Date>
<Version>1.9.7</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="12">
<Date>2021-06-05</Date>
<Version>1.9.5</Version>
+1 -1
View File
@@ -1 +1 @@
619c3882f8713b01f826610fb340f35d49aed39a
139dfd809bc74f87007756c29c6fcc5d90a7ef7a
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
77bdd7fa62bbaa200c08a410a6d2051edda5b76b
3fad1ede1698095ff944caab5587ebf5ab70079c