1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Update to 0.6.2

This commit is contained in:
Emanuel Haupt 2020-09-01 16:24:58 +00:00
parent 3bd77fee34
commit 722eeda876
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547281
4 changed files with 60 additions and 20 deletions

View File

@ -6,7 +6,7 @@
# Support of GTK+ is checked at compile time and themes directories too.
PORTNAME= xfce4-notifyd
PORTVERSION= 0.6.1
PORTVERSION= 0.6.2
CATEGORIES= deskutils xfce
MASTER_SITES= XFCE/apps
DIST_SUBDIR= xfce4

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1588843924
SHA256 (xfce4/xfce4-notifyd-0.6.1.tar.bz2) = 9b5274999c89bf296a7de03b375e8233eef37940b7444502130b92dfb6a089b4
SIZE (xfce4/xfce4-notifyd-0.6.1.tar.bz2) = 539209
TIMESTAMP = 1598958913
SHA256 (xfce4/xfce4-notifyd-0.6.2.tar.bz2) = 19ab84c6665c7819998f2269322d53f462c30963ce26042df23ae525e7d16545
SIZE (xfce4/xfce4-notifyd-0.6.2.tar.bz2) = 548415

View File

@ -0,0 +1,41 @@
--- common/xfce-notify-log.c.orig 2020-08-17 22:20:52 UTC
+++ common/xfce-notify-log.c
@@ -37,6 +37,38 @@
#include "xfce-notify-log.h"
+// import g_date_time_format_iso8601
+// from: https://git.sailfishos.org/mirror/glib/commit/dbabd2b8a745bfed4890f2d6cbd7d7848bc4f034
+gchar *
+g_date_time_format_iso8601 (GDateTime *datetime)
+{
+ GString *outstr = NULL;
+ gchar *main_date = NULL;
+ gint64 offset;
+
+ /* Main date and time. */
+ main_date = g_date_time_format (datetime, "%Y-%m-%dT%H:%M:%S");
+ outstr = g_string_new (main_date);
+ g_free (main_date);
+
+ /* Timezone. Format it as `%:::z` unless the offset is zero, in which case
+ * we can simply use `Z`. */
+ offset = g_date_time_get_utc_offset (datetime);
+
+ if (offset == 0)
+ {
+ g_string_append_c (outstr, 'Z');
+ }
+ else
+ {
+ gchar *time_zone = g_date_time_format (datetime, "%:::z");
+ g_string_append (outstr, time_zone);
+ g_free (time_zone);
+ }
+
+ return g_string_free (outstr, FALSE);
+}
+
GdkPixbuf *
notify_pixbuf_from_image_data (GVariant *image_data)
{

View File

@ -1,19 +1,3 @@
bin/xfce4-notifyd-config
lib/systemd/user/xfce4-notifyd.service
lib/xfce4/notifyd/xfce4-notifyd
lib/xfce4/panel/plugins/libnotification-plugin.so
man/man1/xfce4-notifyd-config.1.gz
share/applications/xfce4-notifyd-config.desktop
share/dbus-1/services/org.xfce.xfce4-notifyd.Notifications.service
share/icons/hicolor/16x16/apps/xfce4-notifyd.png
share/icons/hicolor/24x24/apps/xfce4-notifyd.png
share/icons/hicolor/32x32/apps/xfce4-notifyd.png
share/icons/hicolor/48x48/apps/xfce4-notifyd.png
share/icons/hicolor/scalable/apps/xfce4-notifyd.svg
share/icons/hicolor/scalable/status/notification-disabled-new-symbolic.svg
share/icons/hicolor/scalable/status/notification-disabled-symbolic.svg
share/icons/hicolor/scalable/status/notification-new-symbolic.svg
share/icons/hicolor/scalable/status/notification-symbolic.svg
%%NLS%%share/locale/ar/LC_MESSAGES/xfce4-notifyd.mo
%%NLS%%share/locale/ast/LC_MESSAGES/xfce4-notifyd.mo
%%NLS%%share/locale/be/LC_MESSAGES/xfce4-notifyd.mo
@ -26,6 +10,7 @@ share/icons/hicolor/scalable/status/notification-symbolic.svg
%%NLS%%share/locale/en_AU/LC_MESSAGES/xfce4-notifyd.mo
%%NLS%%share/locale/en_GB/LC_MESSAGES/xfce4-notifyd.mo
%%NLS%%share/locale/es/LC_MESSAGES/xfce4-notifyd.mo
%%NLS%%share/locale/et/LC_MESSAGES/xfce4-notifyd.mo
%%NLS%%share/locale/eu/LC_MESSAGES/xfce4-notifyd.mo
%%NLS%%share/locale/fi/LC_MESSAGES/xfce4-notifyd.mo
%%NLS%%share/locale/fr/LC_MESSAGES/xfce4-notifyd.mo
@ -34,6 +19,7 @@ share/icons/hicolor/scalable/status/notification-symbolic.svg
%%NLS%%share/locale/hr/LC_MESSAGES/xfce4-notifyd.mo
%%NLS%%share/locale/hu/LC_MESSAGES/xfce4-notifyd.mo
%%NLS%%share/locale/hy_AM/LC_MESSAGES/xfce4-notifyd.mo
%%NLS%%share/locale/hye/LC_MESSAGES/xfce4-notifyd.mo
%%NLS%%share/locale/id/LC_MESSAGES/xfce4-notifyd.mo
%%NLS%%share/locale/ie/LC_MESSAGES/xfce4-notifyd.mo
%%NLS%%share/locale/is/LC_MESSAGES/xfce4-notifyd.mo
@ -67,6 +53,19 @@ share/icons/hicolor/scalable/status/notification-symbolic.svg
%%NLS%%share/locale/vi/LC_MESSAGES/xfce4-notifyd.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/xfce4-notifyd.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/xfce4-notifyd.mo
bin/xfce4-notifyd-config
etc/xdg/autostart/xfce4-notifyd.desktop
lib/xfce4/notifyd/xfce4-notifyd
lib/xfce4/panel/plugins/libnotification-plugin.so
man/man1/xfce4-notifyd-config.1.gz
share/applications/xfce4-notifyd-config.desktop
share/icons/hicolor/16x16/apps/org.xfce.notification.png
share/icons/hicolor/48x48/apps/org.xfce.notification.png
share/icons/hicolor/scalable/apps/org.xfce.notification.svg
share/icons/hicolor/scalable/status/notification-disabled-new-symbolic.svg
share/icons/hicolor/scalable/status/notification-disabled-symbolic.svg
share/icons/hicolor/scalable/status/notification-new-symbolic.svg
share/icons/hicolor/scalable/status/notification-symbolic.svg
share/themes/Bright/xfce-notify-4.0/gtk.css
share/themes/Default/xfce-notify-4.0/gtk.css
share/themes/Retro/xfce-notify-4.0/gtk.css