Hello community, here is the log from the commit of package modem-manager-gui for openSUSE:Factory checked in at 2014-07-28 16:12:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/modem-manager-gui (Old) and /work/SRC/openSUSE:Factory/.modem-manager-gui.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "modem-manager-gui" Changes: -------- New Changes file: --- /dev/null 2014-07-24 01:57:42.080040256 +0200 +++ /work/SRC/openSUSE:Factory/.modem-manager-gui.new/modem-manager-gui.changes 2014-07-28 16:12:10.000000000 +0200 @@ -0,0 +1,10 @@ +------------------------------------------------------------------- +Fri Jul 25 19:33:05 UTC 2014 - [email protected] + +- Patch to change .desktop exec no needed in Factory + +------------------------------------------------------------------- +Sun Sep 8 17:13:43 UTC 2013 - [email protected] + +- Initial build. + New: ---- modem-manager-gui-0.0.16-fix-gcc-warnings.patch modem-manager-gui-0.0.16-notifications-icon.patch modem-manager-gui-0.0.16.tar.gz modem-manager-gui.changes modem-manager-gui.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ modem-manager-gui.spec ++++++ # # spec file for package modem-manager-gui # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: modem-manager-gui Version: 0.0.16 Release: 0 License: GPL-3.0+ Summary: Modem Manager GUI Url: http://linuxonly.ru/cms/page.php?7 Group: Hardware/Mobile Source: http://download.tuxfamily.org/gsf/source/modem-manager-gui-%{version}.tar.gz BuildRequires: fdupes BuildRequires: gdbm-devel BuildRequires: update-desktop-files BuildRequires: pkgconfig(glib-2.0) >= 2.32.1 BuildRequires: pkgconfig(gtk+-3.0) >= 3.4.0 Requires: ModemManager >= 0.5.0.0 Recommends: %{name}-lang Suggests: evolution-data-server >= 3.4.1 Suggests: libcanberra0 >= 0.28 Suggests: libnotify-tools >= 0.7.5 # PATCH-UPSTREAM from Mageia package. Patch1: modem-manager-gui-0.0.16-notifications-icon.patch # PATCH-FIX-UPSTREAM to prevent gcc warnings. Patch2: modem-manager-gui-0.0.16-fix-gcc-warnings.patch %description This program is simple graphical interface for Modem Manager daemon dbus interface. Current features: - View device information: Operator name, Mode, IMEI, IMSI, Signal level. - Send and receive SMS messages with long massages concatenation and store messages in database. - Send USSD requests and read answers in GSM7 and UCS2 formats converted to system UTF8 charset. - Scan available mobile networks. %lang_package %prep %setup -q %patch1 -p1 %patch2 -p1 %build %configure make %{?_smp_mflags} %install make install INSTALLPREFIX=%{buildroot} %find_lang %{name} %suse_update_desktop_file -r %{name} 'Internet;Monitor;' %fdupes -s %{buildroot}%{_datadir} %files %defattr(-,root,root,-) %doc LICENSE %doc AUTHORS %doc Changelog %{_bindir}/%{name} %{_libdir}/%{name} %{_datadir}/pixmaps/%{name}.png %{_datadir}/%{name} %{_datadir}/applications/%{name}.desktop %{_mandir}/man1/%{name}.1.* %files lang -f %{name}.lang %changelog ++++++ modem-manager-gui-0.0.16-fix-gcc-warnings.patch ++++++ ++++ 1463 lines (skipped) ++++++ modem-manager-gui-0.0.16-notifications-icon.patch ++++++ diff -crB modem-manager-gui-0.0.16/src/notifications.c modem-manager-gui-0.0.16.new/src/notifications.c *** modem-manager-gui-0.0.16/src/notifications.c 2013-06-23 22:07:00.000000000 +0400 --- modem-manager-gui-0.0.16.new/src/notifications.c 2013-07-28 16:54:42.000000000 +0400 *************** *** 30,35 **** --- 30,36 ---- mmgui_notifications_t mmgui_notifications_new(mmgui_libpaths_cache_t libcache) { mmgui_notifications_t notifications; + GError *error; gboolean libopened; GtkSettings *gtksettings; gchar *gtksoundtheme; *************** *** 68,73 **** --- 69,81 ---- } else { //Initialize libnotify (notifications->notify_init)("Modem Manager GUI"); + /*Load icon for notifications*/ + error = NULL; + notifications->notifyicon = gdk_pixbuf_new_from_file(RESOURCE_MAINWINDOW_ICON, &error); + if ((notifications->notifyicon == NULL) && (error != NULL)) { + g_debug("Error loadig application icon: %s\n", error->message); + g_error_free(error); + } } } *************** *** 130,135 **** --- 138,144 ---- notification = (notifications->notify_notification_new)(caption, text, NULL); if (notification != NULL) { (notifications->notify_notification_set_timeout)(notification, 3000); + (notifications->notify_notification_set_image_from_pixbuf)(notification, notifications->notifyicon); (notifications->notify_notification_show)(notification, NULL); } } *************** *** 171,176 **** --- 180,189 ---- //Then unload module g_module_close(notifications->notifymodule); notifications->notifymodule = NULL; + /*And free icon*/ + if (notifications->notifyicon != NULL) { + g_object_unref(notifications->notifyicon); + } } if (notifications->canberramodule != NULL) { diff -crB modem-manager-gui-0.0.16/src/notifications.h modem-manager-gui-0.0.16.new/src/notifications.h *** modem-manager-gui-0.0.16/src/notifications.h 2013-06-23 21:49:52.000000000 +0400 --- modem-manager-gui-0.0.16.new/src/notifications.h 2013-07-28 16:50:08.000000000 +0400 *************** *** 80,85 **** --- 80,87 ---- notify_notification_set_category_func notify_notification_set_category; notify_notification_set_urgency_func notify_notification_set_urgency; notify_notification_show_func notify_notification_show; + /*notifications icon*/ + GdkPixbuf *notifyicon; //libcanberra functions ca_context_create_func ca_context_create; ca_context_destroy_func ca_context_destroy; -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
