head 1.3; access; symbols pkgsrc-2019Q4:1.2.0.54 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.50 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.48 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.46 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.44 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.42 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.40 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.38 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.36 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.34 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.30 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.28 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.26 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.24 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.22 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.20 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.18 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.16 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.14 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.12 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.10 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.8 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.6 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.4 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.2 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.1.0.2 pkgsrc-2013Q3-base:1.1; locks; strict; comment @// @; 1.3 date 2020.01.16.14.03.51; author nia; state dead; branches; next 1.2; commitid 5nZfYLMzVNfebVSB; 1.2 date 2013.10.15.14.46.07; author joerg; state Exp; branches; next 1.1; commitid H2dWbLYEjJhdPo9x; 1.1 date 2013.08.16.05.53.02; author obache; state Exp; branches; next ; commitid 6EtUToyjtyTaOD1x; desc @@ 1.3 log @*: Remove Ekiga and related packages. No OpenSSL 1.1 support and upstream development is effectively stalled. Also various other dead dependencies: gstreamer0.10, sdl12, esound, GNOME 2 libgnomeui... @ text @$NetBSD: patch-lib_engine_components_libnotify_libnotify-main.cpp,v 1.2 2013/10/15 14:46:07 joerg Exp $ * for linbotify-0.7 API change --- lib/engine/components/libnotify/libnotify-main.cpp.orig 2009-09-22 14:27:35.000000000 +0000 +++ lib/engine/components/libnotify/libnotify-main.cpp @@@@ -36,7 +36,13 @@@@ */ #include +#if __cplusplus >= 201103L || defined(_LIBCPP_VERSION) +#include +using std::shared_ptr; +#else #include +using std::tr1::shared_ptr; +#endif #include @@@@ -67,7 +73,7 @@@@ private: void on_notification_added (gmref_ptr notif); void on_notification_removed (gmref_ptr notif); - typedef std::map, std::pair > > container_type; + typedef std::map, std::pair > > container_type; container_type live; }; @@@@ -158,13 +164,13 @@@@ LibNotify::on_notification_added (gmref_ notif = notify_notification_new (notification->get_title ().c_str (), notification->get_body ().c_str (), - urgency, NULL); + urgency); g_signal_connect (notif, "closed", G_CALLBACK (on_notif_closed), notification.get ()); sigc::connection conn = notification->removed.connect (sigc::bind (sigc::mem_fun (this, &LibNotify::on_notification_removed), notification)); - live[notification] = std::pair > (conn, std::tr1::shared_ptr (notif, g_object_unref)); + live[notification] = std::pair > (conn, shared_ptr (notif, g_object_unref)); (void)notify_notification_show (notif, NULL); } @ 1.2 log @Don't use tr1/memory for libc++ or any C++11 compiler. @ text @d1 1 a1 1 $NetBSD: patch-lib_engine_components_libnotify_libnotify-main.cpp,v 1.1 2013/08/16 05:53:02 obache Exp $ @ 1.1 log @Switch to use libnotify07. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ d7 24 a30 1 @@@@ -158,7 +158,7 @@@@ LibNotify::on_notification_added (gmref_ d39 7 @