Hello community,
here is the log from the commit of package mate-applet-softupd for openSUSE:Factory checked in at 2017-01-25 23:29:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mate-applet-softupd (Old)
and /work/SRC/openSUSE:Factory/.mate-applet-softupd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mate-applet-softupd"
Changes:
--------
--- /work/SRC/openSUSE:Factory/mate-applet-softupd/mate-applet-softupd.changes 2015-11-10 10:01:52.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.mate-applet-softupd.new/mate-applet-softupd.changes 2017-01-25 23:29:05.298738455 +0100
@@ -1,0 +2,8 @@
+Thu Jan 19 00:16:12 UTC 2017 - sor.alexei@meowr.ru
+
+- Update to version 0.4.5 (changes since 0.4.3):
+ * Fix counting in the DNF back end.
+ * Fix some updates not being spotted.
+ * Fixes and updates in autoconf.
+
+-------------------------------------------------------------------
Old:
----
mate-applet-softupd-0.4.3.tar.gz
New:
----
mate-applet-softupd-0.4.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mate-applet-softupd.spec ++++++
--- /var/tmp/diff_new_pack.7OoBs8/_old 2017-01-25 23:29:05.618690227 +0100
+++ /var/tmp/diff_new_pack.7OoBs8/_new 2017-01-25 23:29:05.622689625 +0100
@@ -1,7 +1,7 @@
#
# spec file for package mate-applet-softupd
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,19 +16,21 @@
#
+%define _ver_date 2016/12
Name: mate-applet-softupd
-Version: 0.4.3
+Version: 0.4.5
Release: 0
Summary: MATE panel applet for software update notifications
License: GPL-2.0+
Group: System/GUI/Other
Url: http://zavedil.com/mate-software-updates-applet
-Source: http://zavedil.com/wp-content/uploads/2015/10/mate-applet-softupd-%{version}.tar.gz
+Source: http://zavedil.com/wp-content/uploads/%{_ver_date}/mate-applet-softupd-%{version}.tar.gz
BuildRequires: PackageKit-devel
BuildRequires: gettext-devel
BuildRequires: gnome-packagekit
BuildRequires: hicolor-icon-theme
BuildRequires: mate-panel-devel
+BuildRequires: pkgconfig
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(libnotify)
Requires: PackageKit
@@ -55,7 +57,7 @@
--enable-gtk=2 \
--enable-backend=package-kit \
--enable-installer=gpk-update-viewer
-make %{?_smp_mflags}
+make %{?_smp_mflags} V=1
%install
%make_install
++++++ mate-applet-softupd-0.4.3.tar.gz -> mate-applet-softupd-0.4.5.tar.gz ++++++
++++ 1605 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mate-applet-softupd-0.4.3/ChangeLog new/mate-applet-softupd-0.4.5/ChangeLog
--- old/mate-applet-softupd-0.4.3/ChangeLog 2015-10-16 20:50:40.000000000 +0200
+++ new/mate-applet-softupd-0.4.5/ChangeLog 2016-12-19 23:48:15.000000000 +0100
@@ -1,3 +1,12 @@
+Dec 20, 2016 - Version 0.4.5
+============================
+* Fix count in DNF backed.
+* Fix some updates not being spotted.
+
+Nov 19, 2016 - Version 0.4.4
+============================
+* Fixes & updates in autoconf
+
Oct 16, 2015 - Version 0.4.3
============================
* Adding pt_BR and pt_PT translations by Ronan Arraes Jardim Chagas
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mate-applet-softupd-0.4.3/configure.ac new/mate-applet-softupd-0.4.5/configure.ac
--- old/mate-applet-softupd-0.4.3/configure.ac 2015-10-16 20:50:40.000000000 +0200
+++ new/mate-applet-softupd-0.4.5/configure.ac 2016-12-19 23:48:15.000000000 +0100
@@ -1,5 +1,5 @@
AC_PREREQ([2.66])
-AC_INIT([mate-applet-softupd], [0.4.3], [assen.totin@gmail.com])
+AC_INIT([mate-applet-softupd], [0.4.5], [assen.totin@gmail.com])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([-Wall])
@@ -207,7 +207,7 @@
ADDITIONAL_PACKAGES="dbus-1 dbus-glib-1"
fi
elif test $FORCE_BACKEND = "dnf" ; then
- if test $CHECK_YUM = "no" ; then
+ if test $CHECK_DNF = "no" ; then
EXIT_NOW="yes"
EXIT_MSG="Forced backend $FORCE_BACKEND not found. Cannot continue."
else
@@ -313,6 +313,7 @@
fi
# Select which software installer to use
+SELECTED_INSTALLER="none"
if test $FORCE_INSTALLER = "yumex" ; then
if test $CHECK_YUMEXVIEWER = "yes" ; then
SELECTED_INSTALLER="yumex"
@@ -352,8 +353,6 @@
SELECTED_INSTALLER="gpk-update-viewer"
elif test $CHECK_UPDATEMANAGER = "yes" ; then
SELECTED_INSTALLER="update-manager"
- else
- SELECTED_INSTALLER="none"
fi
fi
@@ -437,7 +436,9 @@
# Check for packages
PKG_CHECK_MODULES([GLIB], [glib-2.0])
-PKG_CHECK_MODULES([PKGKIT_BLIB], [packagekit-glib2])
+if test $SELECTED_BACKEND = "package-kit" ; then
+ PKG_CHECK_MODULES([PKGKIT_BLIB], [packagekit-glib2])
+fi
APPLET_FLAGS=`$PKG_CONFIG --cflags-only-I glib-2.0 $SELECTED_NOTIFY $LIBMATEPANELAPPLET $ADDITIONAL_PACKAGES`
APPLET_LIBS=`$PKG_CONFIG --libs glib-2.0 $SELECTED_NOTIFY $LIBMATEPANELAPPLET $ADDITIONAL_PACKAGES`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mate-applet-softupd-0.4.3/m4/gtk-2.0.m4 new/mate-applet-softupd-0.4.5/m4/gtk-2.0.m4
--- old/mate-applet-softupd-0.4.3/m4/gtk-2.0.m4 1970-01-01 01:00:00.000000000 +0100
+++ new/mate-applet-softupd-0.4.5/m4/gtk-2.0.m4 2016-12-19 23:49:08.000000000 +0100
@@ -0,0 +1,197 @@
+# Configure paths for GTK+
+# Owen Taylor 1997-2001
+
+dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
+dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES,
+dnl pass to pkg-config
+dnl
+AC_DEFUN([AM_PATH_GTK_2_0],
+[dnl
+dnl Get the cflags and libraries from pkg-config
+dnl
+AC_ARG_ENABLE(gtktest, [ --disable-gtktest do not try to compile and run a test GTK+ program],
+ , enable_gtktest=yes)
+
+ pkg_config_args=gtk+-2.0
+ for module in . $4
+ do
+ case "$module" in
+ gthread)
+ pkg_config_args="$pkg_config_args gthread-2.0"
+ ;;
+ esac
+ done
+
+ no_gtk=""
+
+ AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
+
+ if test x$PKG_CONFIG != xno ; then
+ if pkg-config --atleast-pkgconfig-version 0.7 ; then
+ :
+ else
+ echo "*** pkg-config too old; version 0.7 or better required."
+ no_gtk=yes
+ PKG_CONFIG=no
+ fi
+ else
+ no_gtk=yes
+ fi
+
+ min_gtk_version=ifelse([$1], ,2.0.0,$1)
+ AC_MSG_CHECKING(for GTK+ - version >= $min_gtk_version)
+
+ if test x$PKG_CONFIG != xno ; then
+ ## don't try to run the test against uninstalled libtool libs
+ if $PKG_CONFIG --uninstalled $pkg_config_args; then
+ echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
+ enable_gtktest=no
+ fi
+
+ if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
+ :
+ else
+ no_gtk=yes
+ fi
+ fi
+
+ if test x"$no_gtk" = x ; then
+ GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
+ GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
+ gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
+ gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
+ gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
+ if test "x$enable_gtktest" = "xyes" ; then
+ ac_save_CFLAGS="$CFLAGS"
+ ac_save_LIBS="$LIBS"
+ CFLAGS="$CFLAGS $GTK_CFLAGS"
+ LIBS="$GTK_LIBS $LIBS"
+dnl
+dnl Now check if the installed GTK+ is sufficiently new. (Also sanity
+dnl checks the results of pkg-config to some extent)
+dnl
+ rm -f conf.gtktest
+ AC_TRY_RUN([
+#include
+#include
+#include
+
+int
+main ()
+{
+ int major, minor, micro;
+ char *tmp_version;
+
+ fclose (fopen ("conf.gtktest", "w"));
+
+ /* HP/UX 9 (%@#!) writes to sscanf strings */
+ tmp_version = g_strdup("$min_gtk_version");
+ if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
+ printf("%s, bad version string\n", "$min_gtk_version");
+ exit(1);
+ }
+
+ if ((gtk_major_version != $gtk_config_major_version) ||
+ (gtk_minor_version != $gtk_config_minor_version) ||
+ (gtk_micro_version != $gtk_config_micro_version))
+ {
+ printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
+ $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
+ gtk_major_version, gtk_minor_version, gtk_micro_version);
+ printf ("*** was found! If pkg-config was correct, then it is best\n");
+ printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
+ printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
+ printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
+ printf("*** required on your system.\n");
+ printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
+ printf("*** to point to the correct configuration files\n");
+ }
+ else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
+ (gtk_minor_version != GTK_MINOR_VERSION) ||
+ (gtk_micro_version != GTK_MICRO_VERSION))
+ {
+ printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
+ GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
+ printf("*** library (version %d.%d.%d)\n",
+ gtk_major_version, gtk_minor_version, gtk_micro_version);
+ }
+ else
+ {
+ if ((gtk_major_version > major) ||
+ ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
+ ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
+ {
+ return 0;
+ }
+ else
+ {
+ printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
+ gtk_major_version, gtk_minor_version, gtk_micro_version);
+ printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
+ major, minor, micro);
+ printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
+ printf("***\n");
+ printf("*** If you have already installed a sufficiently new version, this error\n");
+ printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
+ printf("*** being found. The easiest way to fix this is to remove the old version\n");
+ printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
+ printf("*** correct copy of pkg-config. (In this case, you will have to\n");
+ printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
+ printf("*** so that the correct libraries are found at run-time))\n");
+ }
+ }
+ return 1;
+}
+],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
+ CFLAGS="$ac_save_CFLAGS"
+ LIBS="$ac_save_LIBS"
+ fi
+ fi
+ if test "x$no_gtk" = x ; then
+ AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version))
+ ifelse([$2], , :, [$2])
+ else
+ AC_MSG_RESULT(no)
+ if test "$PKG_CONFIG" = "no" ; then
+ echo "*** A new enough version of pkg-config was not found."
+ echo "*** See http://pkgconfig.sourceforge.net"
+ else
+ if test -f conf.gtktest ; then
+ :
+ else
+ echo "*** Could not run GTK+ test program, checking why..."
+ ac_save_CFLAGS="$CFLAGS"
+ ac_save_LIBS="$LIBS"
+ CFLAGS="$CFLAGS $GTK_CFLAGS"
+ LIBS="$LIBS $GTK_LIBS"
+ AC_TRY_LINK([
+#include
+#include
+], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
+ [ echo "*** The test program compiled, but did not run. This usually means"
+ echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
+ echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
+ echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
+ echo "*** to the installed location Also, make sure you have run ldconfig if that"
+ echo "*** is required on your system"
+ echo "***"
+ echo "*** If you have an old version installed, it is best to remove it, although"
+ echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
+ [ echo "*** The test program failed to compile or link. See the file config.log for the"
+ echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."])
+ CFLAGS="$ac_save_CFLAGS"
+ LIBS="$ac_save_LIBS"
+ fi
+ fi
+ GTK_CFLAGS=""
+ GTK_LIBS=""
+ ifelse([$3], , :, [$3])
+ fi
+ AC_SUBST(GTK_CFLAGS)
+ AC_SUBST(GTK_LIBS)
+ rm -f conf.gtktest
+])
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mate-applet-softupd-0.4.3/m4/iconv.m4 new/mate-applet-softupd-0.4.5/m4/iconv.m4
--- old/mate-applet-softupd-0.4.3/m4/iconv.m4 2015-10-16 20:50:50.000000000 +0200
+++ new/mate-applet-softupd-0.4.5/m4/iconv.m4 2016-12-19 23:49:08.000000000 +0100
@@ -1,4 +1,4 @@
-# iconv.m4 serial 11 (gettext-0.18.1)
+# iconv.m4 serial 9 (gettext-0.18)
dnl Copyright (C) 2000-2002, 2007-2010 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -170,22 +170,7 @@
AC_SUBST([LTLIBICONV])
])
-dnl Define AM_ICONV using AC_DEFUN_ONCE for Autoconf >= 2.64, in order to
-dnl avoid warnings like
-dnl "warning: AC_REQUIRE: `AM_ICONV' was expanded before it was required".
-dnl This is tricky because of the way 'aclocal' is implemented:
-dnl - It requires defining an auxiliary macro whose name ends in AC_DEFUN.
-dnl Otherwise aclocal's initial scan pass would miss the macro definition.
-dnl - It requires a line break inside the AC_DEFUN_ONCE and AC_DEFUN expansions.
-dnl Otherwise aclocal would emit many "Use of uninitialized value $1"
-dnl warnings.
-m4_define([gl_iconv_AC_DEFUN],
- m4_version_prereq([2.64],
- [[AC_DEFUN_ONCE(
- [$1], [$2])]],
- [[AC_DEFUN(
- [$1], [$2])]]))
-gl_iconv_AC_DEFUN([AM_ICONV],
+AC_DEFUN([AM_ICONV],
[
AM_ICONV_LINK
if test "$am_cv_func_iconv" = yes; then
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mate-applet-softupd-0.4.3/mate-applet-softupd.spec new/mate-applet-softupd-0.4.5/mate-applet-softupd.spec
--- old/mate-applet-softupd-0.4.3/mate-applet-softupd.spec 2015-10-16 20:51:32.000000000 +0200
+++ new/mate-applet-softupd-0.4.5/mate-applet-softupd.spec 2016-12-19 23:50:13.000000000 +0100
@@ -3,21 +3,21 @@
%global localedir %{_datadir}/locale
Name: mate-applet-softupd
-Version: 0.4.3
+Version: 0.4.5
Release: 1%{?dist}
Summary: MATE Software Update Applet
Group: Applications/System
License: GPLv2
URL: http://www.zavedil.com/mate-software-updates-applet/
-Source: http://www.zavedil.com/wp-content/uploads/2015/07/mate-applet-softupd-0.4.3....
+Source: http://www.zavedil.com/wp-content/uploads/2015/07/mate-applet-softupd-0.4.5....
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: mate-panel-devel >= 1.3.0
BuildRequires: gettext-devel
BuildRequires: automake
BuildRequires: autoconf
# Requires: and BuildRequires: for GTK
-Requires: gtk2 >= 2.24.0
-Requires: gtk2-devel >= 2.24.0
+Requires: gtk3 >= 3.14.0
+Requires: gtk3 >= 3.14.0
# Requires: and BuildRequires: for chosen backend
Requires: dnf
@@ -71,6 +71,12 @@
%{_datadir}/dbus-1/services/org.mate.panel.applet.SoftupdApplet.service
%changelog
+* Tue Dec 20 2016 Assen Totin
+- Release 0.4.5
+
+* Sat Nov 19 2016 Assen Totin
+- Release 0.4.4
+
* Fri Oct 16 2015 Assen Totin
- Release 0.4.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mate-applet-softupd-0.4.3/mate-applet-softupd.spec.in new/mate-applet-softupd-0.4.5/mate-applet-softupd.spec.in
--- old/mate-applet-softupd-0.4.3/mate-applet-softupd.spec.in 2015-10-16 20:50:40.000000000 +0200
+++ new/mate-applet-softupd-0.4.5/mate-applet-softupd.spec.in 2016-12-19 23:48:15.000000000 +0100
@@ -71,6 +71,12 @@
%{_datadir}/dbus-1/services/org.mate.panel.applet.SoftupdApplet.service
%changelog
+* Tue Dec 20 2016 Assen Totin
+- Release 0.4.5
+
+* Sat Nov 19 2016 Assen Totin
+- Release 0.4.4
+
* Fri Oct 16 2015 Assen Totin
- Release 0.4.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mate-applet-softupd-0.4.3/po/POTFILES.in new/mate-applet-softupd-0.4.5/po/POTFILES.in
--- old/mate-applet-softupd-0.4.3/po/POTFILES.in 2015-10-16 20:50:47.000000000 +0200
+++ new/mate-applet-softupd-0.4.5/po/POTFILES.in 2016-12-19 23:49:42.000000000 +0100
@@ -1,6 +1,6 @@
-src/backend-yumupdatesd.c
+src/backend-aptcheck.c
src/backend-yum.c
-src/backend-packagekit.c
+src/backend-yumupdatesd.c
src/backend-dnf.c
-src/backend-aptcheck.c
src/main.c
+src/backend-packagekit.c
Binary files old/mate-applet-softupd-0.4.3/po/bg_BG.gmo and new/mate-applet-softupd-0.4.5/po/bg_BG.gmo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mate-applet-softupd-0.4.3/po/bg_BG.po new/mate-applet-softupd-0.4.5/po/bg_BG.po
--- old/mate-applet-softupd-0.4.3/po/bg_BG.po 2015-10-16 20:51:35.000000000 +0200
+++ new/mate-applet-softupd-0.4.5/po/bg_BG.po 2016-12-19 23:50:16.000000000 +0100
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: 1\n"
"Report-Msgid-Bugs-To: assen.totin@gmail.com\n"
-"POT-Creation-Date: 2015-10-16 21:51+0300\n"
+"POT-Creation-Date: 2016-12-20 00:50+0200\n"
"PO-Revision-Date: 2012-06-27 21:04+0300\n"
"Last-Translator: root \n"
"Language-Team: Bulgarian\n"
@@ -54,7 +54,7 @@
msgid "Cancel"
msgstr "Отказ"
-#: src/main.c:212 src/main.c:361
+#: src/main.c:212 src/main.c:351
msgid "Your system is up to date."
msgstr "Нямате чакащи пакети."
Binary files old/mate-applet-softupd-0.4.3/po/en_GB.gmo and new/mate-applet-softupd-0.4.5/po/en_GB.gmo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mate-applet-softupd-0.4.3/po/en_GB.po new/mate-applet-softupd-0.4.5/po/en_GB.po
--- old/mate-applet-softupd-0.4.3/po/en_GB.po 2015-10-16 20:51:35.000000000 +0200
+++ new/mate-applet-softupd-0.4.5/po/en_GB.po 2016-12-19 23:50:16.000000000 +0100
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: 1\n"
"Report-Msgid-Bugs-To: assen.totin@gmail.com\n"
-"POT-Creation-Date: 2015-10-16 21:51+0300\n"
+"POT-Creation-Date: 2016-12-20 00:50+0200\n"
"PO-Revision-Date: 2012-06-27 21:04+0300\n"
"Last-Translator: root \n"
"Language-Team: English\n"
@@ -54,7 +54,7 @@
msgid "Cancel"
msgstr "Cancel"
-#: src/main.c:212 src/main.c:361
+#: src/main.c:212 src/main.c:351
msgid "Your system is up to date."
msgstr "Your system is up to date."
Binary files old/mate-applet-softupd-0.4.3/po/en_US.gmo and new/mate-applet-softupd-0.4.5/po/en_US.gmo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mate-applet-softupd-0.4.3/po/en_US.po new/mate-applet-softupd-0.4.5/po/en_US.po
--- old/mate-applet-softupd-0.4.3/po/en_US.po 2015-10-16 20:51:35.000000000 +0200
+++ new/mate-applet-softupd-0.4.5/po/en_US.po 2016-12-19 23:50:17.000000000 +0100
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: 1\n"
"Report-Msgid-Bugs-To: assen.totin@gmail.com\n"
-"POT-Creation-Date: 2015-10-16 21:51+0300\n"
+"POT-Creation-Date: 2016-12-20 00:50+0200\n"
"PO-Revision-Date: 2012-06-27 21:04+0300\n"
"Last-Translator: root \n"
"Language-Team: English\n"
@@ -54,7 +54,7 @@
msgid "Cancel"
msgstr "Cancel"
-#: src/main.c:212 src/main.c:361
+#: src/main.c:212 src/main.c:351
msgid "Your system is up to date."
msgstr "Your system is up to date."
Binary files old/mate-applet-softupd-0.4.3/po/fr_FR.gmo and new/mate-applet-softupd-0.4.5/po/fr_FR.gmo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mate-applet-softupd-0.4.3/po/fr_FR.po new/mate-applet-softupd-0.4.5/po/fr_FR.po
--- old/mate-applet-softupd-0.4.3/po/fr_FR.po 2015-10-16 20:51:35.000000000 +0200
+++ new/mate-applet-softupd-0.4.5/po/fr_FR.po 2016-12-19 23:50:17.000000000 +0100
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: 1\n"
"Report-Msgid-Bugs-To: assen.totin@gmail.com\n"
-"POT-Creation-Date: 2015-10-16 21:51+0300\n"
+"POT-Creation-Date: 2016-12-20 00:50+0200\n"
"PO-Revision-Date: 2013-03-05 18:08+0100\n"
"Last-Translator: Patrick Monnerat \n"
"Language-Team: French\n"
@@ -53,7 +53,7 @@
msgid "Cancel"
msgstr "Annuler"
-#: src/main.c:212 src/main.c:361
+#: src/main.c:212 src/main.c:351
msgid "Your system is up to date."
msgstr "Votre système est à jour."
Binary files old/mate-applet-softupd-0.4.3/po/pt_BR.gmo and new/mate-applet-softupd-0.4.5/po/pt_BR.gmo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mate-applet-softupd-0.4.3/po/pt_BR.po new/mate-applet-softupd-0.4.5/po/pt_BR.po
--- old/mate-applet-softupd-0.4.3/po/pt_BR.po 2015-10-16 20:51:35.000000000 +0200
+++ new/mate-applet-softupd-0.4.5/po/pt_BR.po 2016-12-19 23:50:17.000000000 +0100
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: assen.totin@gmail.com\n"
-"POT-Creation-Date: 2015-10-16 21:51+0300\n"
+"POT-Creation-Date: 2016-12-20 00:50+0200\n"
"PO-Revision-Date: 2015-10-14 16:05-0300\n"
"Last-Translator: Ronan Arraes Jardim Chagas \n"
"Language-Team: Brazilian Portuguese\n"
@@ -51,7 +51,7 @@
msgid "Cancel"
msgstr "Cancelar"
-#: src/main.c:212 src/main.c:361
+#: src/main.c:212 src/main.c:351
msgid "Your system is up to date."
msgstr "O seu sistema está atualizado."
Binary files old/mate-applet-softupd-0.4.3/po/pt_PT.gmo and new/mate-applet-softupd-0.4.5/po/pt_PT.gmo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mate-applet-softupd-0.4.3/po/pt_PT.po new/mate-applet-softupd-0.4.5/po/pt_PT.po
--- old/mate-applet-softupd-0.4.3/po/pt_PT.po 2015-10-16 20:51:36.000000000 +0200
+++ new/mate-applet-softupd-0.4.5/po/pt_PT.po 2016-12-19 23:50:17.000000000 +0100
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: assen.totin@gmail.com\n"
-"POT-Creation-Date: 2015-10-16 21:51+0300\n"
+"POT-Creation-Date: 2016-12-20 00:50+0200\n"
"PO-Revision-Date: 2015-10-14 16:05-0300\n"
"Last-Translator: Ronan Arraes Jardim Chagas \n"
"Language-Team: Brazilian Portuguese\n"
@@ -51,7 +51,7 @@
msgid "Cancel"
msgstr "Cancelar"
-#: src/main.c:212 src/main.c:361
+#: src/main.c:212 src/main.c:351
msgid "Your system is up to date."
msgstr "O seu sistema está atualizado."
Binary files old/mate-applet-softupd-0.4.3/po/ru_RU.gmo and new/mate-applet-softupd-0.4.5/po/ru_RU.gmo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mate-applet-softupd-0.4.3/po/ru_RU.po new/mate-applet-softupd-0.4.5/po/ru_RU.po
--- old/mate-applet-softupd-0.4.3/po/ru_RU.po 2015-10-16 20:51:36.000000000 +0200
+++ new/mate-applet-softupd-0.4.5/po/ru_RU.po 2016-12-19 23:50:17.000000000 +0100
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: 1\n"
"Report-Msgid-Bugs-To: assen.totin@gmail.com\n"
-"POT-Creation-Date: 2015-10-16 21:51+0300\n"
+"POT-Creation-Date: 2016-12-20 00:50+0200\n"
"PO-Revision-Date: 2012-06-29 17:39+0300\n"
"Last-Translator: root \n"
"Language-Team: Russian\n"
@@ -55,7 +55,7 @@
msgid "Cancel"
msgstr "Отмена"
-#: src/main.c:212 src/main.c:361
+#: src/main.c:212 src/main.c:351
msgid "Your system is up to date."
msgstr "Новых пакетов нет."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mate-applet-softupd-0.4.3/src/applet.h new/mate-applet-softupd-0.4.5/src/applet.h
--- old/mate-applet-softupd-0.4.3/src/applet.h 2015-10-16 20:50:40.000000000 +0200
+++ new/mate-applet-softupd-0.4.5/src/applet.h 2016-12-19 23:48:15.000000000 +0100
@@ -56,9 +56,8 @@
} softupd_applet;
// Prototypes
-gboolean packagekit_main();
-int yumupdatesd_main();
-void yum_main();
-void aptcheck_main();
-void aptget_main();
-void dnf_main();
+gboolean packagekit_main(softupd_applet *);
+gboolean yumupdatesd_main(softupd_applet *);
+gboolean yum_main(softupd_applet *);
+gboolean aptcheck_main(softupd_applet *);
+gboolean dnf_main(softupd_applet *);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mate-applet-softupd-0.4.3/src/backend-aptcheck.c new/mate-applet-softupd-0.4.5/src/backend-aptcheck.c
--- old/mate-applet-softupd-0.4.3/src/backend-aptcheck.c 2015-10-16 20:50:40.000000000 +0200
+++ new/mate-applet-softupd-0.4.5/src/backend-aptcheck.c 2016-12-19 23:48:15.000000000 +0100
@@ -26,7 +26,7 @@
#include "../config.h"
#include "applet.h"
-void aptcheck_main (softupd_applet *applet) {
+gboolean aptcheck_main (softupd_applet *applet) {
int pipefd[2];
pipe(pipefd);
@@ -68,5 +68,6 @@
applet->flip_icon = 1;
}
+ return TRUE;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mate-applet-softupd-0.4.3/src/backend-dnf.c new/mate-applet-softupd-0.4.5/src/backend-dnf.c
--- old/mate-applet-softupd-0.4.3/src/backend-dnf.c 2015-10-16 20:50:40.000000000 +0200
+++ new/mate-applet-softupd-0.4.5/src/backend-dnf.c 2016-12-19 23:48:15.000000000 +0100
@@ -25,7 +25,34 @@
#include "../config.h"
#include "applet.h"
-void dnf_main (softupd_applet *applet) {
+static int is_update_package(const char *line) {
+ int state = 0;
+
+ // Check if line is a package to update.
+ // Such lines have the form '^\S+\.\S+[ \t]'.
+
+ for (;;) {
+ switch (*line++) {
+ case ' ':
+ case '\t':
+ return state == 03;
+ case '\0':
+ case '\r':
+ case '\n':
+ return 0;
+ case '.':
+ if (!(state & 01))
+ return 0;
+ state = 02;
+ break;
+ default:
+ state |= 01;
+ break;
+ }
+ }
+}
+
+gboolean dnf_main (softupd_applet *applet) {
int pipefd[2];
pipe(pipefd);
@@ -33,7 +60,7 @@
// CHILD
if (pid == 0) {
- // If there are aupdates, dnf will return with exit code 100
+ // If there are updates, dnf will return with exit code 100
// and print the updates on stdout, one per line.
// We need to count them.
close(pipefd[0]);
@@ -48,13 +75,14 @@
else {
int status;
char line[1024];
- // Count the lines, skipping the first which dnf always prints.
- int line_cnt = -1;
+ // Count the lines matching an update package.
+ int line_cnt = 0;
close(pipefd[1]);
FILE *fp = fdopen(pipefd[0], "r");
while (fgets(&line[0], 1024, fp)) {
- line_cnt++;
+ if (is_update_package(line))
+ line_cnt++;
}
waitpid(pid, &status, 0);
@@ -79,5 +107,6 @@
applet->flip_icon = 1;
}
+ return TRUE;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mate-applet-softupd-0.4.3/src/backend-yum.c new/mate-applet-softupd-0.4.5/src/backend-yum.c
--- old/mate-applet-softupd-0.4.3/src/backend-yum.c 2015-10-16 20:50:40.000000000 +0200
+++ new/mate-applet-softupd-0.4.5/src/backend-yum.c 2016-12-19 23:48:15.000000000 +0100
@@ -25,7 +25,7 @@
#include "../config.h"
#include "applet.h"
-void yum_main (softupd_applet *applet) {
+gboolean yum_main (softupd_applet *applet) {
int pipefd[2];
pipe(pipefd);
@@ -79,5 +79,6 @@
applet->flip_icon = 1;
}
+ return TRUE;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mate-applet-softupd-0.4.3/src/backend-yumupdatesd.c new/mate-applet-softupd-0.4.5/src/backend-yumupdatesd.c
--- old/mate-applet-softupd-0.4.3/src/backend-yumupdatesd.c 2015-10-16 20:50:40.000000000 +0200
+++ new/mate-applet-softupd-0.4.5/src/backend-yumupdatesd.c 2016-12-19 23:48:15.000000000 +0100
@@ -59,7 +59,7 @@
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
}
-int yumupdatesd_main (softupd_applet *applet){
+gboolean yumupdatesd_main (softupd_applet *applet){
DBusConnection *bus;
DBusError error;
@@ -81,6 +81,6 @@
g_main_loop_run(applet->loop);
- return 1;
+ return TRUE;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mate-applet-softupd-0.4.3/src/main.c new/mate-applet-softupd-0.4.5/src/main.c
--- old/mate-applet-softupd-0.4.3/src/main.c 2015-10-16 20:50:40.000000000 +0200
+++ new/mate-applet-softupd-0.4.5/src/main.c 2016-12-19 23:48:15.000000000 +0100
@@ -280,16 +280,6 @@
return TRUE;
#endif
- #ifdef HAVE_APTGET
- #ifdef HAVE_GTK2
- g_timeout_add(REFRESH_TIME, (GtkFunction) aptget_main, (gpointer)applet);
- #elif HAVE_GTK3
- g_timeout_add(REFRESH_TIME, (GSourceFunc) aptget_main, (gpointer)applet);
- #endif
- applet->loop = g_main_loop_new (NULL, FALSE);
- g_main_loop_run (applet->loop);
- return TRUE;
- #endif
}