Update to osmo-0.4.4

ok rsadowski@
This commit is contained in:
solene 2021-10-05 09:40:39 +00:00
parent 8f8d276d3b
commit 14244f036f
4 changed files with 115 additions and 70 deletions

View File

@ -1,34 +1,38 @@
# $OpenBSD: Makefile,v 1.36 2019/07/12 20:48:59 sthen Exp $
# $OpenBSD: Makefile,v 1.37 2021/10/05 09:40:39 solene Exp $
COMMENT= handy personal organizer
DISTNAME= osmo-0.2.10
DISTNAME= osmo-0.4.4
CATEGORIES= productivity
REVISION= 6
HOMEPAGE= http://clayo.org/osmo/
HOMEPAGE= https://clayo.org/osmo/
MAINTAINER= Pierre-Emmanuel Andre <pea@openbsd.org>
# GPLv2
PERMIT_PACKAGE= Yes
WANTLIB = X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama Xrandr
WANTLIB += Xrender atk-1.0 c cairo fontconfig freetype gdk-x11-2.0
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 gringotts
WANTLIB += gthread-2.0 gtk-x11-2.0 gtkspell ical icalss icalvcal iconv
WANTLIB += icui18n icuuc intl lzma m notify pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pthread tar xml2 z
WANTLIB += atk-1.0 c cairo gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0
WANTLIB += gringotts gthread-2.0 ical icalss icalvcal iconv intl
WANTLIB += lzma m notify pango-1.0 pangocairo-1.0 pthread
WANTLIB += archive enchant-2 gdk-3 gspell-1 gtk-3 z
WANTLIB += javascriptcoregtk-4.0 soup-2.4 webkit2gtk-4.0 xml2
WANTLIB += cairo-gobject harfbuzz
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=osmo-pim/}
BUILD_DEPENDS= devel/gettext,-tools
LIB_DEPENDS= security/libgringotts \
LIB_DEPENDS= archivers/libarchive \
devel/atk \
devel/harfbuzz \
devel/libnotify \
devel/pango \
security/libgringotts \
textproc/gspell \
textproc/libical \
textproc/gtkspell \
archivers/libtar
x11/gtk+3,-main \
www/webkitgtk4
RUN_DEPENDS= devel/desktop-file-utils \
x11/gtk+3,-guic

View File

@ -1,2 +1,2 @@
SHA256 (osmo-0.2.10.tar.gz) = TpEcUqxkoIj4qBKzVAhOet7dG1TLBDWZWizcHRlNCEU=
SIZE (osmo-0.2.10.tar.gz) = 851833
SHA256 (osmo-0.4.4.tar.gz) = HosRvRuqD2dWMmtY+H65WlaziiXXM2/ftlwt/KRtA6Y=
SIZE (osmo-0.4.4.tar.gz) = 1312483

View File

@ -1,50 +0,0 @@
$OpenBSD: patch-src_check_events_c,v 1.1 2011/04/21 07:06:07 ajacoutot Exp $
Fix with libnotify>=0.7
(notify_notification_new has lost its widget argument)
(notify_notification_attach_to_status_icon is gone)
--- src/check_events.c.orig Tue Apr 19 14:36:56 2011
+++ src/check_events.c Tue Apr 19 14:37:50 2011
@@ -454,9 +454,9 @@ gboolean sound_flag = TRUE;
a->date = 0;
if (textdesc != NULL)
- a->notify = notify_notification_new (item->summary, textdesc, GTK_STOCK_DIALOG_WARNING, NULL);
+ a->notify = notify_notification_new (item->summary, textdesc, GTK_STOCK_DIALOG_WARNING);
else
- a->notify = notify_notification_new (item->summary, text, GTK_STOCK_DIALOG_WARNING, NULL);
+ a->notify = notify_notification_new (item->summary, text, GTK_STOCK_DIALOG_WARNING);
g_free (textdesc);
g_free (text);
@@ -484,7 +484,7 @@ gboolean sound_flag = TRUE;
if (gtk_status_icon_get_visible (appGUI->osmo_trayicon)) {
#ifdef HAVE_LIBNOTIFY
- notify_notification_attach_to_status_icon (a->notify, appGUI->osmo_trayicon);
+// notify_notification_attach_to_status_icon (a->notify, appGUI->osmo_trayicon);
#endif /* HAVE_LIBNOTIFY */
gtk_status_icon_set_from_stock (appGUI->osmo_trayicon, OSMO_STOCK_SYSTRAY_TASK);
@@ -532,9 +532,9 @@ gboolean sound_flag = TRUE;
a->time = -1;
a->date = 0;
if (textdesc != NULL)
- a->notify = notify_notification_new (_("Alarm warning!"), textdesc, GTK_STOCK_DIALOG_INFO, NULL);
+ a->notify = notify_notification_new (_("Alarm warning!"), textdesc, GTK_STOCK_DIALOG_INFO);
else
- a->notify = notify_notification_new (_("Alarm warning!"), text, GTK_STOCK_DIALOG_INFO, NULL);
+ a->notify = notify_notification_new (_("Alarm warning!"), text, GTK_STOCK_DIALOG_INFO);
notify_notification_set_timeout (a->notify, NOTIFY_EXPIRES_NEVER);
notify_notification_set_urgency (a->notify, NOTIFY_URGENCY_NORMAL);
@@ -546,7 +546,7 @@ gboolean sound_flag = TRUE;
if (gtk_status_icon_get_visible (appGUI->osmo_trayicon)) {
#ifdef HAVE_LIBNOTIFY
- notify_notification_attach_to_status_icon (a->notify, appGUI->osmo_trayicon);
+// notify_notification_attach_to_status_icon (a->notify, appGUI->osmo_trayicon);
#endif /* HAVE_LIBNOTIFY */
gtk_status_icon_set_from_stock (appGUI->osmo_trayicon, OSMO_STOCK_SYSTRAY_TASK);

View File

@ -1,11 +1,84 @@
@comment $OpenBSD: PLIST,v 1.11 2018/06/29 22:16:20 espie Exp $
@comment $OpenBSD: PLIST,v 1.12 2021/10/05 09:40:40 solene Exp $
@bin bin/osmo
@man man/man1/osmo.1
share/applications/osmo.desktop
share/icons/hicolor/16x16/actions/osmo-button-insert_timeline.png
share/icons/hicolor/16x16/actions/osmo-button-select_color.png
share/icons/hicolor/16x16/actions/osmo-button-select_date.png
share/icons/hicolor/16x16/actions/osmo-editor-bold-s.png
share/icons/hicolor/16x16/actions/osmo-editor-highlight-s.png
share/icons/hicolor/16x16/actions/osmo-editor-italic-s.png
share/icons/hicolor/16x16/actions/osmo-editor-strikethrough-s.png
share/icons/hicolor/16x16/actions/osmo-editor-underline-s.png
share/icons/hicolor/16x16/actions/osmo-list-invalid.png
share/icons/hicolor/16x16/actions/osmo-list-valid.png
share/icons/hicolor/16x16/actions/osmo-systray-menu-calendar.png
share/icons/hicolor/16x16/actions/osmo-systray-menu-contacts.png
share/icons/hicolor/16x16/actions/osmo-systray-menu-notes.png
share/icons/hicolor/16x16/actions/osmo-systray-menu-tasks.png
share/icons/hicolor/16x16/actions/osmo-type-encrypted.png
share/icons/hicolor/16x16/actions/osmo-type-normal.png
share/icons/hicolor/16x16/actions/osmo-type-recurrent.png
share/icons/hicolor/16x16/apps/osmo.png
share/icons/hicolor/22x22/apps/osmo.png
share/icons/hicolor/24x24/actions/osmo-about.png
share/icons/hicolor/24x24/actions/osmo-backup.png
share/icons/hicolor/24x24/actions/osmo-calculator.png
share/icons/hicolor/24x24/actions/osmo-calendar.png
share/icons/hicolor/24x24/actions/osmo-close.png
share/icons/hicolor/24x24/actions/osmo-contacts-add.png
share/icons/hicolor/24x24/actions/osmo-contacts-birthdays.png
share/icons/hicolor/24x24/actions/osmo-contacts-edit.png
share/icons/hicolor/24x24/actions/osmo-contacts-export.png
share/icons/hicolor/24x24/actions/osmo-contacts-import.png
share/icons/hicolor/24x24/actions/osmo-contacts-remove.png
share/icons/hicolor/24x24/actions/osmo-contacts.png
share/icons/hicolor/24x24/actions/osmo-edit_note.png
share/icons/hicolor/24x24/actions/osmo-editor-bold.png
share/icons/hicolor/24x24/actions/osmo-editor-clear.png
share/icons/hicolor/24x24/actions/osmo-editor-find.png
share/icons/hicolor/24x24/actions/osmo-editor-highlight.png
share/icons/hicolor/24x24/actions/osmo-editor-info.png
share/icons/hicolor/24x24/actions/osmo-editor-insert_date_time.png
share/icons/hicolor/24x24/actions/osmo-editor-insert_separator.png
share/icons/hicolor/24x24/actions/osmo-editor-italic.png
share/icons/hicolor/24x24/actions/osmo-editor-save.png
share/icons/hicolor/24x24/actions/osmo-editor-spell_checker.png
share/icons/hicolor/24x24/actions/osmo-editor-strikethrough.png
share/icons/hicolor/24x24/actions/osmo-editor-underline.png
share/icons/hicolor/24x24/actions/osmo-fullyear.png
share/icons/hicolor/24x24/actions/osmo-help.png
share/icons/hicolor/24x24/actions/osmo-jumpto.png
share/icons/hicolor/24x24/actions/osmo-license.png
share/icons/hicolor/24x24/actions/osmo-next-day.png
share/icons/hicolor/24x24/actions/osmo-next-month.png
share/icons/hicolor/24x24/actions/osmo-next-year.png
share/icons/hicolor/24x24/actions/osmo-notes-add.png
share/icons/hicolor/24x24/actions/osmo-notes-edit.png
share/icons/hicolor/24x24/actions/osmo-notes-remove.png
share/icons/hicolor/24x24/actions/osmo-notes.png
share/icons/hicolor/24x24/actions/osmo-open-url.png
share/icons/hicolor/24x24/actions/osmo-preferences.png
share/icons/hicolor/24x24/actions/osmo-prev-day.png
share/icons/hicolor/24x24/actions/osmo-prev-month.png
share/icons/hicolor/24x24/actions/osmo-prev-year.png
share/icons/hicolor/24x24/actions/osmo-print.png
share/icons/hicolor/24x24/actions/osmo-restore.png
share/icons/hicolor/24x24/actions/osmo-tasks-add.png
share/icons/hicolor/24x24/actions/osmo-tasks-edit.png
share/icons/hicolor/24x24/actions/osmo-tasks-export.png
share/icons/hicolor/24x24/actions/osmo-tasks-import.png
share/icons/hicolor/24x24/actions/osmo-tasks-next-date.png
share/icons/hicolor/24x24/actions/osmo-tasks-prev-date.png
share/icons/hicolor/24x24/actions/osmo-tasks-remove.png
share/icons/hicolor/24x24/actions/osmo-tasks.png
share/icons/hicolor/24x24/actions/osmo-today.png
share/icons/hicolor/24x24/apps/osmo.png
share/icons/hicolor/32x32/apps/osmo.png
share/icons/hicolor/48x48/actions/osmo-systray-birthday.png
share/icons/hicolor/48x48/actions/osmo-systray-normal.png
share/icons/hicolor/48x48/actions/osmo-systray-note.png
share/icons/hicolor/48x48/actions/osmo-systray-task.png
share/icons/hicolor/48x48/apps/osmo.png
share/icons/hicolor/scalable/apps/osmo.svg
share/locale/bg/LC_MESSAGES/osmo.mo
@ -14,28 +87,46 @@ share/locale/cs/LC_MESSAGES/osmo.mo
share/locale/da/LC_MESSAGES/osmo.mo
share/locale/de/LC_MESSAGES/osmo.mo
share/locale/el/LC_MESSAGES/osmo.mo
share/locale/en_GB/
share/locale/en_GB/LC_MESSAGES/
share/locale/en_GB/LC_MESSAGES/osmo.mo
share/locale/es/LC_MESSAGES/osmo.mo
share/locale/fi/LC_MESSAGES/osmo.mo
share/locale/fr/LC_MESSAGES/osmo.mo
share/locale/gl/LC_MESSAGES/osmo.mo
share/locale/gl_ES/
share/locale/gl_ES/LC_MESSAGES/
share/locale/gl_ES/LC_MESSAGES/osmo.mo
share/locale/he/LC_MESSAGES/osmo.mo
share/locale/hu/LC_MESSAGES/osmo.mo
share/locale/it/LC_MESSAGES/osmo.mo
share/locale/ja/LC_MESSAGES/osmo.mo
share/locale/lt/
share/locale/lt/LC_MESSAGES/
share/locale/lt/LC_MESSAGES/osmo.mo
share/locale/nl/LC_MESSAGES/osmo.mo
share/locale/pl/LC_MESSAGES/osmo.mo
share/locale/pt/LC_MESSAGES/osmo.mo
share/locale/pt_BR/LC_MESSAGES/osmo.mo
share/locale/ro/LC_MESSAGES/osmo.mo
share/locale/ru/LC_MESSAGES/osmo.mo
share/locale/sr/LC_MESSAGES/osmo.mo
share/locale/sv/LC_MESSAGES/osmo.mo
share/locale/te/LC_MESSAGES/osmo.mo
share/locale/tr/LC_MESSAGES/osmo.mo
share/locale/uk/LC_MESSAGES/osmo.mo
share/locale/ur/LC_MESSAGES/osmo.mo
share/locale/ur_PK/
share/locale/ur_PK/LC_MESSAGES/
share/locale/ur_PK/LC_MESSAGES/osmo.mo
share/locale/zh_CN/LC_MESSAGES/osmo.mo
share/pixmaps/
share/pixmaps/moonphase_0_data.png
share/pixmaps/moonphase_1_data.png
share/pixmaps/moonphase_2_data.png
share/pixmaps/moonphase_3_data.png
share/pixmaps/moonphase_4_data.png
share/pixmaps/moonphase_5_data.png
share/pixmaps/moonphase_6_data.png
share/pixmaps/moonphase_7_data.png
share/pixmaps/osmo.png
share/pixmaps/osmo_logo.png
share/sounds/
share/sounds/osmo/
share/sounds/osmo/alarm.wav