Hello community,
here is the log from the commit of package gnome-directory-thumbnailer for
openSUSE:Factory checked in at 2017-06-01 16:31:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-directory-thumbnailer (Old)
and /work/SRC/openSUSE:Factory/.gnome-directory-thumbnailer.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-directory-thumbnailer"
Thu Jun 1 16:31:30 2017 rev:11 rq:494251 version:0.1.9
Changes:
--------
---
/work/SRC/openSUSE:Factory/gnome-directory-thumbnailer/gnome-directory-thumbnailer.changes
2016-09-23 11:38:34.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.gnome-directory-thumbnailer.new/gnome-directory-thumbnailer.changes
2017-06-01 16:31:31.777317085 +0200
@@ -1,0 +2,7 @@
+Sat May 6 20:39:48 UTC 2017 - [email protected]
+
+- Update to version 0.1.9:
+ + Improve scaling behaviour for very-non-square images.
+ + Updated translations.
+
+-------------------------------------------------------------------
Old:
----
gnome-directory-thumbnailer-0.1.8.tar.xz
New:
----
gnome-directory-thumbnailer-0.1.9.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gnome-directory-thumbnailer.spec ++++++
--- /var/tmp/diff_new_pack.LkbRVu/_old 2017-06-01 16:31:32.361234753 +0200
+++ /var/tmp/diff_new_pack.LkbRVu/_new 2017-06-01 16:31:32.365234189 +0200
@@ -1,7 +1,7 @@
#
# spec file for package gnome-directory-thumbnailer
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2013 Dominique Leuenberger, Amsterdam, The Netherlands
#
# All modifications and additions to the file contributed by third parties
@@ -18,7 +18,7 @@
Name: gnome-directory-thumbnailer
-Version: 0.1.8
+Version: 0.1.9
Release: 0
Summary: Directory Thumbnailer
License: LGPL-2.1+
@@ -27,7 +27,7 @@
Source:
http://download.gnome.org/sources/gnome-directory-thumbnailer/0.1/%{name}-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: intltool >= 0.40.0
-BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.6.0
+BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.36.5
BuildRequires: pkgconfig(gio-2.0) >= 2.22.0
BuildRequires: pkgconfig(glib-2.0) >= 2.35.0
BuildRequires: pkgconfig(gnome-desktop-3.0) >= 2.2.0
++++++ gnome-directory-thumbnailer-0.1.8.tar.xz ->
gnome-directory-thumbnailer-0.1.9.tar.xz ++++++
++++ 1766 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/gnome-directory-thumbnailer-0.1.8/ChangeLog
new/gnome-directory-thumbnailer-0.1.9/ChangeLog
--- old/gnome-directory-thumbnailer-0.1.8/ChangeLog 2016-09-20
19:04:56.000000000 +0200
+++ new/gnome-directory-thumbnailer-0.1.9/ChangeLog 2017-04-30
11:22:47.000000000 +0200
@@ -1,6 +1,65 @@
+commit 095f4563fcc0718c62ee2b69fb481a232d149647
+Author: Philip Withnall <[email protected]>
+Date: Sun Apr 30 10:18:45 2017 +0100
+
+ core: Optionally drop gnome-desktop thumbnail API with new gdk-pixbuf
+
+ If gdk-pixbuf >= 2.36.5 is available, its scaling API can do what we
+ want, so we don’t need to use the deprecated gnome-desktop one.
+
+ This doesn’t add any mandatory dependency bumps. It also doesn’t
+ drop
+ our gnome-desktop dependency, as we still use it for its thumbnail
+ factory API.
+
+ Signed-off-by: Philip Withnall <[email protected]>
+
+M configure.ac
+M src/main.c
+
+commit d121aea4a0c014e26b8758697adcb2e9f5bc0178
+Author: Philip Withnall <[email protected]>
+Date: Sun Apr 30 10:12:27 2017 +0100
+
+ core: Bail early if scaled pixbuf dimensions are zero
+
+ This is possible if the input image is huge in one dimension and
+ tiny in
+ the other, leading to a very small scale factor.
+
+ Signed-off-by: Philip Withnall <[email protected]>
+
+M src/main.c
+
+commit 5e7118e69904856c23becb63fc14b65aea57a78b
+Author: Fabio Tomat <[email protected]>
+Date: Sun Mar 5 20:33:24 2017 +0000
+
+ Add Friulian translation
+
+M po/LINGUAS
+A po/fur.po
+
+commit 1b0095ac5b8904c0e89610ab458c25896a783ca6
+Author: Philip Withnall <[email protected]>
+Date: Tue Sep 20 10:07:19 2016 -0700
+
+ Post-release version bump
+
+M NEWS
+M configure.ac
+
+commit 43e0462bb861e2275f4df2cc370cf00bf56c55b8
+Author: Philip Withnall <[email protected]>
+Date: Tue Sep 20 10:05:35 2016 -0700
+
+ Release version 0.1.8
+
+M NEWS
+
commit 88a5f3cd1cebea8943e103718e8c058188716c3f
Author: Piotr Drąg <[email protected]>
-Date: Sat Aug 20 15:59:50 2016 +0200
+Date: Sat Aug 20 15:59:50 2016 +0200
Updated Polish translation
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/gnome-directory-thumbnailer-0.1.8/NEWS
new/gnome-directory-thumbnailer-0.1.9/NEWS
--- old/gnome-directory-thumbnailer-0.1.8/NEWS 2016-09-20 19:01:44.000000000
+0200
+++ new/gnome-directory-thumbnailer-0.1.9/NEWS 2017-04-30 11:22:21.000000000
+0200
@@ -1,3 +1,13 @@
+Overview of changes from gnome-directory-thumbnailer 0.1.8 to 0.1.9
+===================================================================
+
+Major changes:
+ • Improve scaling behaviour for very-non-square images
+
+Updated translations:
+ • fur (Fabio Tomat)
+
+
Overview of changes from gnome-directory-thumbnailer 0.1.7 to 0.1.8
===================================================================
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/gnome-directory-thumbnailer-0.1.8/config.h.in
new/gnome-directory-thumbnailer-0.1.9/config.h.in
--- old/gnome-directory-thumbnailer-0.1.8/config.h.in 2016-09-20
19:04:25.000000000 +0200
+++ new/gnome-directory-thumbnailer-0.1.9/config.h.in 2017-04-30
11:22:06.000000000 +0200
@@ -6,6 +6,9 @@
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
+/* Define if gdk-pixbuf >= 2.36.5 is available */
+#undef HAVE_GDK_PIXBUF_2_36_5
+
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
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/gnome-directory-thumbnailer-0.1.8/configure.ac
new/gnome-directory-thumbnailer-0.1.9/configure.ac
--- old/gnome-directory-thumbnailer-0.1.8/configure.ac 2016-02-05
21:20:30.000000000 +0100
+++ new/gnome-directory-thumbnailer-0.1.9/configure.ac 2017-04-30
11:16:29.000000000 +0200
@@ -3,7 +3,7 @@
# gnome-directory-thumbnailer release version
m4_define(gdt_version_major, 0)
m4_define(gdt_version_minor, 1)
-m4_define(gdt_version_micro, 8)
+m4_define(gdt_version_micro, 9)
AC_INIT([gnome-directory-thumbnailer],[gdt_version_major.gdt_version_minor.gdt_version_micro],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-directory-thumbnailer],[gnome-directory-thumbnailer],[https://wiki.gnome.org/Projects/GnomeDirectoryThumbnailer])
AX_IS_RELEASE([git-directory])
@@ -42,6 +42,14 @@
# gnome-directory-thumbnailer dependencies
PKG_CHECK_MODULES(GDT, [gobject-2.0 glib-2.0 >= $GLIB_REQS gio-2.0 >=
$GIO_REQS gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQS gtk+-3.0 >= $GTK_REQS
gnome-desktop-3.0 >= $GNOME_DESKTOP_REQS])
+# Optional higher gdk-pixbuf dependency
+PKG_CHECK_MODULES([GDK_PIXBUF], [gdk-pixbuf-2.0 >= 2.36.5],
+ [have_gdk_pixbuf_2_36_5=yes], [have_gdk_pixbuf_2_36_5=no])
+AS_IF([test "$have_gdk_pixbuf_2_36_5" = "yes"], [
+ AC_DEFINE([HAVE_GDK_PIXBUF_2_36_5], [1],
+ [Define if gdk-pixbuf >= 2.36.5 is available])
+])
+
AC_CHECK_LIBM
AC_SUBST([LIBM])
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/gnome-directory-thumbnailer-0.1.8/m4/ax_append_compile_flags.m4
new/gnome-directory-thumbnailer-0.1.9/m4/ax_append_compile_flags.m4
--- old/gnome-directory-thumbnailer-0.1.8/m4/ax_append_compile_flags.m4
2016-09-20 19:03:07.000000000 +0200
+++ new/gnome-directory-thumbnailer-0.1.9/m4/ax_append_compile_flags.m4
2017-04-29 23:32:24.000000000 +0200
@@ -1,6 +1,6 @@
-# ===========================================================================
-# http://www.gnu.org/software/autoconf-archive/ax_append_compile_flags.html
-# ===========================================================================
+# ============================================================================
+# https://www.gnu.org/software/autoconf-archive/ax_append_compile_flags.html
+# ============================================================================
#
# SYNOPSIS
#
@@ -41,7 +41,7 @@
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
-# with this program. If not, see <http://www.gnu.org/licenses/>.
+# with this program. If not, see <https://www.gnu.org/licenses/>.
#
# As a special exception, the respective Autoconf Macro's copyright owner
# gives unlimited permission to copy, distribute and modify the configure
@@ -56,7 +56,7 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
-#serial 5
+#serial 6
AC_DEFUN([AX_APPEND_COMPILE_FLAGS],
[AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG])
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/gnome-directory-thumbnailer-0.1.8/m4/ax_append_flag.m4
new/gnome-directory-thumbnailer-0.1.9/m4/ax_append_flag.m4
--- old/gnome-directory-thumbnailer-0.1.8/m4/ax_append_flag.m4 2016-09-20
19:03:07.000000000 +0200
+++ new/gnome-directory-thumbnailer-0.1.9/m4/ax_append_flag.m4 2017-04-29
23:32:24.000000000 +0200
@@ -1,5 +1,5 @@
# ===========================================================================
-# http://www.gnu.org/software/autoconf-archive/ax_append_flag.html
+# https://www.gnu.org/software/autoconf-archive/ax_append_flag.html
# ===========================================================================
#
# SYNOPSIS
@@ -34,7 +34,7 @@
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
-# with this program. If not, see <http://www.gnu.org/licenses/>.
+# with this program. If not, see <https://www.gnu.org/licenses/>.
#
# As a special exception, the respective Autoconf Macro's copyright owner
# gives unlimited permission to copy, distribute and modify the configure
@@ -49,7 +49,7 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
-#serial 6
+#serial 7
AC_DEFUN([AX_APPEND_FLAG],
[dnl
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/gnome-directory-thumbnailer-0.1.8/m4/ax_append_link_flags.m4
new/gnome-directory-thumbnailer-0.1.9/m4/ax_append_link_flags.m4
--- old/gnome-directory-thumbnailer-0.1.8/m4/ax_append_link_flags.m4
2016-09-20 19:03:07.000000000 +0200
+++ new/gnome-directory-thumbnailer-0.1.9/m4/ax_append_link_flags.m4
2017-04-29 23:32:24.000000000 +0200
@@ -1,5 +1,5 @@
# ===========================================================================
-# http://www.gnu.org/software/autoconf-archive/ax_append_link_flags.html
+# https://www.gnu.org/software/autoconf-archive/ax_append_link_flags.html
# ===========================================================================
#
# SYNOPSIS
@@ -39,7 +39,7 @@
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
-# with this program. If not, see <http://www.gnu.org/licenses/>.
+# with this program. If not, see <https://www.gnu.org/licenses/>.
#
# As a special exception, the respective Autoconf Macro's copyright owner
# gives unlimited permission to copy, distribute and modify the configure
@@ -54,7 +54,7 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
-#serial 5
+#serial 6
AC_DEFUN([AX_APPEND_LINK_FLAGS],
[AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG])
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/gnome-directory-thumbnailer-0.1.8/m4/ax_check_compile_flag.m4
new/gnome-directory-thumbnailer-0.1.9/m4/ax_check_compile_flag.m4
--- old/gnome-directory-thumbnailer-0.1.8/m4/ax_check_compile_flag.m4
2016-09-20 19:03:07.000000000 +0200
+++ new/gnome-directory-thumbnailer-0.1.9/m4/ax_check_compile_flag.m4
2017-04-29 23:32:24.000000000 +0200
@@ -1,5 +1,5 @@
# ===========================================================================
-# http://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html
+# https://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html
# ===========================================================================
#
# SYNOPSIS
@@ -40,7 +40,7 @@
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
-# with this program. If not, see <http://www.gnu.org/licenses/>.
+# with this program. If not, see <https://www.gnu.org/licenses/>.
#
# As a special exception, the respective Autoconf Macro's copyright owner
# gives unlimited permission to copy, distribute and modify the configure
@@ -55,7 +55,7 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
-#serial 4
+#serial 5
AC_DEFUN([AX_CHECK_COMPILE_FLAG],
[AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_IF
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/gnome-directory-thumbnailer-0.1.8/m4/ax_check_enable_debug.m4
new/gnome-directory-thumbnailer-0.1.9/m4/ax_check_enable_debug.m4
--- old/gnome-directory-thumbnailer-0.1.8/m4/ax_check_enable_debug.m4
2016-09-20 19:03:07.000000000 +0200
+++ new/gnome-directory-thumbnailer-0.1.9/m4/ax_check_enable_debug.m4
2017-04-29 23:32:24.000000000 +0200
@@ -1,5 +1,5 @@
# ===========================================================================
-# http://www.gnu.org/software/autoconf-archive/ax_check_enable_debug.html
+# https://www.gnu.org/software/autoconf-archive/ax_check_enable_debug.html
# ===========================================================================
#
# SYNOPSIS
@@ -42,7 +42,7 @@
# permitted in any medium without royalty provided the copyright notice
# and this notice are preserved.
-#serial 5
+#serial 8
AC_DEFUN([AX_CHECK_ENABLE_DEBUG],[
AC_BEFORE([$0],[AC_PROG_CC])dnl
@@ -65,8 +65,8 @@
m4_define(ax_disable_debug_vars,[m4_normalize(ifelse([$3],,[NDEBUG],[$3]))])
AC_ARG_ENABLE(debug,
- [AS_HELP_STRING([--enable-debug=]@<:@yes/info/profile/no@:>@,[compile
with debugging])],
- [],enable_debug=$ax_enable_debug_default)
+ [AS_HELP_STRING([--enable-debug=]@<:@yes/info/profile/no@:>@,[compile
with debugging])],
+ [],enable_debug=$ax_enable_debug_default)
# empty mean debug yes
AS_IF([test "x$enable_debug" = "x"],
@@ -75,44 +75,44 @@
# case of debug
AS_CASE([$enable_debug],
[yes],[
- AC_MSG_RESULT(yes)
- CFLAGS="${CFLAGS} -g -O0"
- CXXFLAGS="${CXXFLAGS} -g -O0"
- FFLAGS="${FFLAGS} -g -O0"
- FCFLAGS="${FCFLAGS} -g -O0"
- OBJCFLAGS="${OBJCFLAGS} -g -O0"
+ AC_MSG_RESULT(yes)
+ CFLAGS="${CFLAGS} -g -O0"
+ CXXFLAGS="${CXXFLAGS} -g -O0"
+ FFLAGS="${FFLAGS} -g -O0"
+ FCFLAGS="${FCFLAGS} -g -O0"
+ OBJCFLAGS="${OBJCFLAGS} -g -O0"
],
[info],[
- AC_MSG_RESULT(info)
- CFLAGS="${CFLAGS} -g"
- CXXFLAGS="${CXXFLAGS} -g"
- FFLAGS="${FFLAGS} -g"
- FCFLAGS="${FCFLAGS} -g"
- OBJCFLAGS="${OBJCFLAGS} -g"
+ AC_MSG_RESULT(info)
+ CFLAGS="${CFLAGS} -g"
+ CXXFLAGS="${CXXFLAGS} -g"
+ FFLAGS="${FFLAGS} -g"
+ FCFLAGS="${FCFLAGS} -g"
+ OBJCFLAGS="${OBJCFLAGS} -g"
],
[profile],[
- AC_MSG_RESULT(profile)
- CFLAGS="${CFLAGS} -g -pg"
- CXXFLAGS="${CXXFLAGS} -g -pg"
- FFLAGS="${FFLAGS} -g -pg"
- FCFLAGS="${FCFLAGS} -g -pg"
- OBJCFLAGS="${OBJCFLAGS} -g -pg"
- LDFLAGS="${LDFLAGS} -pg"
+ AC_MSG_RESULT(profile)
+ CFLAGS="${CFLAGS} -g -pg"
+ CXXFLAGS="${CXXFLAGS} -g -pg"
+ FFLAGS="${FFLAGS} -g -pg"
+ FCFLAGS="${FCFLAGS} -g -pg"
+ OBJCFLAGS="${OBJCFLAGS} -g -pg"
+ LDFLAGS="${LDFLAGS} -pg"
],
[
- AC_MSG_RESULT(no)
- dnl Ensure AC_PROG_CC/CXX/F77/FC/OBJC will not enable debug flags
- dnl by setting any unset environment flag variables
- AS_IF([test "x${CFLAGS+set}" != "xset"],
- [CFLAGS=""])
- AS_IF([test "x${CXXFLAGS+set}" != "xset"],
- [CXXFLAGS=""])
- AS_IF([test "x${FFLAGS+set}" != "xset"],
- [FFLAGS=""])
- AS_IF([test "x${FCFLAGS+set}" != "xset"],
- [FCFLAGS=""])
- AS_IF([test "x${OBJCFLAGS+set}" != "xset"],
- [OBJCFLAGS=""])
+ AC_MSG_RESULT(no)
+ dnl Ensure AC_PROG_CC/CXX/F77/FC/OBJC will not enable debug flags
+ dnl by setting any unset environment flag variables
+ AS_IF([test "x${CFLAGS+set}" != "xset"],
+ [CFLAGS=""])
+ AS_IF([test "x${CXXFLAGS+set}" != "xset"],
+ [CXXFLAGS=""])
+ AS_IF([test "x${FFLAGS+set}" != "xset"],
+ [FFLAGS=""])
+ AS_IF([test "x${FCFLAGS+set}" != "xset"],
+ [FCFLAGS=""])
+ AS_IF([test "x${OBJCFLAGS+set}" != "xset"],
+ [OBJCFLAGS=""])
])
dnl Define various variables if debugging is disabled.
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/gnome-directory-thumbnailer-0.1.8/m4/ax_check_link_flag.m4
new/gnome-directory-thumbnailer-0.1.9/m4/ax_check_link_flag.m4
--- old/gnome-directory-thumbnailer-0.1.8/m4/ax_check_link_flag.m4
2016-09-20 19:03:07.000000000 +0200
+++ new/gnome-directory-thumbnailer-0.1.9/m4/ax_check_link_flag.m4
2017-04-29 23:32:24.000000000 +0200
@@ -1,5 +1,5 @@
# ===========================================================================
-# http://www.gnu.org/software/autoconf-archive/ax_check_link_flag.html
+# https://www.gnu.org/software/autoconf-archive/ax_check_link_flag.html
# ===========================================================================
#
# SYNOPSIS
@@ -40,7 +40,7 @@
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
-# with this program. If not, see <http://www.gnu.org/licenses/>.
+# with this program. If not, see <https://www.gnu.org/licenses/>.
#
# As a special exception, the respective Autoconf Macro's copyright owner
# gives unlimited permission to copy, distribute and modify the configure
@@ -55,7 +55,7 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
-#serial 4
+#serial 5
AC_DEFUN([AX_CHECK_LINK_FLAG],
[AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_IF
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/gnome-directory-thumbnailer-0.1.8/m4/ax_compiler_flags.m4
new/gnome-directory-thumbnailer-0.1.9/m4/ax_compiler_flags.m4
--- old/gnome-directory-thumbnailer-0.1.8/m4/ax_compiler_flags.m4
2016-09-20 19:03:07.000000000 +0200
+++ new/gnome-directory-thumbnailer-0.1.9/m4/ax_compiler_flags.m4
2017-04-29 23:32:24.000000000 +0200
@@ -1,5 +1,5 @@
# ===========================================================================
-# http://www.gnu.org/software/autoconf-archive/ax_compiler_flags.html
+# https://www.gnu.org/software/autoconf-archive/ax_compiler_flags.html
# ===========================================================================
#
# SYNOPSIS
@@ -101,7 +101,7 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.
-#serial 13
+#serial 14
# _AX_COMPILER_FLAGS_LANG([LANGNAME])
m4_defun([_AX_COMPILER_FLAGS_LANG],
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/gnome-directory-thumbnailer-0.1.8/m4/ax_compiler_flags_cflags.m4
new/gnome-directory-thumbnailer-0.1.9/m4/ax_compiler_flags_cflags.m4
--- old/gnome-directory-thumbnailer-0.1.8/m4/ax_compiler_flags_cflags.m4
2016-09-20 19:03:07.000000000 +0200
+++ new/gnome-directory-thumbnailer-0.1.9/m4/ax_compiler_flags_cflags.m4
2017-04-29 23:32:24.000000000 +0200
@@ -1,6 +1,6 @@
-# ============================================================================
-# http://www.gnu.org/software/autoconf-archive/ax_compiler_flags_cflags.html
-# ============================================================================
+# =============================================================================
+# https://www.gnu.org/software/autoconf-archive/ax_compiler_flags_cflags.html
+# =============================================================================
#
# SYNOPSIS
#
@@ -25,7 +25,7 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.
-#serial 11
+#serial 14
AC_DEFUN([AX_COMPILER_FLAGS_CFLAGS],[
AC_REQUIRE([AC_PROG_SED])
@@ -34,7 +34,7 @@
AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG])
# Variable names
- m4_define(ax_warn_cflags_variable,
+ m4_define([ax_warn_cflags_variable],
[m4_normalize(ifelse([$1],,[WARN_CFLAGS],[$1]))])
AC_LANG_PUSH([C])
@@ -50,6 +50,13 @@
ax_compiler_flags_test=""
])
+ # Check that -Wno-suggest-attribute=format is supported
+ AX_CHECK_COMPILE_FLAG([-Wno-suggest-attribute=format],[
+ ax_compiler_no_suggest_attribute_flags="-Wno-suggest-attribute=format"
+ ],[
+ ax_compiler_no_suggest_attribute_flags=""
+ ])
+
# Base flags
AX_APPEND_COMPILE_FLAGS([ dnl
-fno-strict-aliasing dnl
@@ -108,7 +115,7 @@
AX_APPEND_FLAG([-Werror],ax_warn_cflags_variable)
AX_APPEND_COMPILE_FLAGS([ dnl
- -Wno-suggest-attribute=format dnl
+ [$ax_compiler_no_suggest_attribute_flags] dnl
],ax_warn_cflags_variable,[$ax_compiler_flags_test])
])
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/gnome-directory-thumbnailer-0.1.8/m4/ax_compiler_flags_cxxflags.m4
new/gnome-directory-thumbnailer-0.1.9/m4/ax_compiler_flags_cxxflags.m4
--- old/gnome-directory-thumbnailer-0.1.8/m4/ax_compiler_flags_cxxflags.m4
2016-09-20 19:03:07.000000000 +0200
+++ new/gnome-directory-thumbnailer-0.1.9/m4/ax_compiler_flags_cxxflags.m4
2017-04-29 23:32:24.000000000 +0200
@@ -1,6 +1,6 @@
-#
==============================================================================
-# http://www.gnu.org/software/autoconf-archive/ax_compiler_flags_cxxflags.html
-#
==============================================================================
+#
===============================================================================
+#
https://www.gnu.org/software/autoconf-archive/ax_compiler_flags_cxxflags.html
+#
===============================================================================
#
# SYNOPSIS
#
@@ -26,7 +26,7 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.
-#serial 7
+#serial 10
AC_DEFUN([AX_COMPILER_FLAGS_CXXFLAGS],[
AC_REQUIRE([AC_PROG_SED])
@@ -35,7 +35,7 @@
AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG])
# Variable names
- m4_define(ax_warn_cxxflags_variable,
+ m4_define([ax_warn_cxxflags_variable],
[m4_normalize(ifelse([$1],,[WARN_CXXFLAGS],[$1]))])
AC_LANG_PUSH([C++])
@@ -51,6 +51,13 @@
ax_compiler_flags_test=""
])
+ # Check that -Wno-suggest-attribute=format is supported
+ AX_CHECK_COMPILE_FLAG([-Wno-suggest-attribute=format],[
+ ax_compiler_no_suggest_attribute_flags="-Wno-suggest-attribute=format"
+ ],[
+ ax_compiler_no_suggest_attribute_flags=""
+ ])
+
# Base flags
AX_APPEND_COMPILE_FLAGS([ dnl
-fno-strict-aliasing dnl
@@ -104,7 +111,7 @@
AX_APPEND_FLAG([-Werror],ax_warn_cxxflags_variable)
AX_APPEND_COMPILE_FLAGS([ dnl
- -Wno-suggest-attribute=format dnl
+ [$ax_compiler_no_suggest_attribute_flags] dnl
],ax_warn_cxxflags_variable,[$ax_compiler_flags_test])
])
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/gnome-directory-thumbnailer-0.1.8/m4/ax_compiler_flags_gir.m4
new/gnome-directory-thumbnailer-0.1.9/m4/ax_compiler_flags_gir.m4
--- old/gnome-directory-thumbnailer-0.1.8/m4/ax_compiler_flags_gir.m4
2016-09-20 19:03:07.000000000 +0200
+++ new/gnome-directory-thumbnailer-0.1.9/m4/ax_compiler_flags_gir.m4
2017-04-29 23:32:24.000000000 +0200
@@ -1,5 +1,5 @@
# ===========================================================================
-# http://www.gnu.org/software/autoconf-archive/ax_compiler_flags_gir.html
+# https://www.gnu.org/software/autoconf-archive/ax_compiler_flags_gir.html
# ===========================================================================
#
# SYNOPSIS
@@ -26,13 +26,13 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.
-#serial 4
+#serial 6
AC_DEFUN([AX_COMPILER_FLAGS_GIR],[
AX_REQUIRE_DEFINED([AX_APPEND_FLAG])
# Variable names
- m4_define(ax_warn_scannerflags_variable,
+ m4_define([ax_warn_scannerflags_variable],
[m4_normalize(ifelse([$1],,[WARN_SCANNERFLAGS],[$1]))])
# Base flags
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/gnome-directory-thumbnailer-0.1.8/m4/ax_compiler_flags_ldflags.m4
new/gnome-directory-thumbnailer-0.1.9/m4/ax_compiler_flags_ldflags.m4
--- old/gnome-directory-thumbnailer-0.1.8/m4/ax_compiler_flags_ldflags.m4
2016-09-20 19:03:07.000000000 +0200
+++ new/gnome-directory-thumbnailer-0.1.9/m4/ax_compiler_flags_ldflags.m4
2017-04-29 23:32:24.000000000 +0200
@@ -1,6 +1,6 @@
-# =============================================================================
-# http://www.gnu.org/software/autoconf-archive/ax_compiler_flags_ldflags.html
-# =============================================================================
+#
==============================================================================
+# https://www.gnu.org/software/autoconf-archive/ax_compiler_flags_ldflags.html
+#
==============================================================================
#
# SYNOPSIS
#
@@ -25,15 +25,16 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.
-#serial 5
+#serial 8
AC_DEFUN([AX_COMPILER_FLAGS_LDFLAGS],[
AX_REQUIRE_DEFINED([AX_APPEND_LINK_FLAGS])
AX_REQUIRE_DEFINED([AX_APPEND_FLAG])
AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG])
+ AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG])
# Variable names
- m4_define(ax_warn_ldflags_variable,
+ m4_define([ax_warn_ldflags_variable],
[m4_normalize(ifelse([$1],,[WARN_LDFLAGS],[$1]))])
# Always pass -Werror=unknown-warning-option to get Clang to fail on bad
@@ -47,9 +48,25 @@
ax_compiler_flags_test=""
])
+ # macOS linker does not have --as-needed
+ AX_CHECK_LINK_FLAG([-Wl,--no-as-needed], [
+ ax_compiler_flags_as_needed_option="-Wl,--no-as-needed"
+ ], [
+ ax_compiler_flags_as_needed_option=""
+ ])
+
+ # macOS linker speaks with a different accent
+ ax_compiler_flags_fatal_warnings_option=""
+ AX_CHECK_LINK_FLAG([-Wl,--fatal-warnings], [
+ ax_compiler_flags_fatal_warnings_option="-Wl,--fatal-warnings"
+ ])
+ AX_CHECK_LINK_FLAG([-Wl,-fatal_warnings], [
+ ax_compiler_flags_fatal_warnings_option="-Wl,-fatal_warnings"
+ ])
+
# Base flags
AX_APPEND_LINK_FLAGS([ dnl
- -Wl,--no-as-needed dnl
+ $ax_compiler_flags_as_needed_option dnl
$3 dnl
],ax_warn_ldflags_variable,[$ax_compiler_flags_test])
@@ -66,7 +83,7 @@
# suggest-attribute=format is disabled because it gives too many false
# positives
AX_APPEND_LINK_FLAGS([ dnl
- -Wl,--fatal-warnings dnl
+ $ax_compiler_flags_fatal_warnings_option dnl
],ax_warn_ldflags_variable,[$ax_compiler_flags_test])
])
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/gnome-directory-thumbnailer-0.1.8/m4/ax_generate_changelog.m4
new/gnome-directory-thumbnailer-0.1.9/m4/ax_generate_changelog.m4
--- old/gnome-directory-thumbnailer-0.1.8/m4/ax_generate_changelog.m4
2016-09-20 19:03:07.000000000 +0200
+++ new/gnome-directory-thumbnailer-0.1.9/m4/ax_generate_changelog.m4
2017-04-29 23:32:24.000000000 +0200
@@ -1,5 +1,5 @@
# ===========================================================================
-# http://www.gnu.org/software/autoconf-archive/ax_generate_changelog.html
+# https://www.gnu.org/software/autoconf-archive/ax_generate_changelog.html
# ===========================================================================
#
# SYNOPSIS
@@ -52,7 +52,7 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.
-#serial 1
+#serial 3
AC_DEFUN([AX_GENERATE_CHANGELOG],[
# Find git, defaulting to the 'missing' script so the user gets a nice
@@ -73,7 +73,7 @@
# - CHANGELOG_GIT_DIR: .git directory to use. (Default: $(top_srcdir)/.git)
# git-specific
-CHANGELOG_GIT_FLAGS ?= --stat -M -C --name-status --no-color
+CHANGELOG_GIT_FLAGS ?= --stat -M -C --name-status --no-color --no-decorate
CHANGELOG_GIT_DIR ?= $(top_srcdir)/.git
ifeq ($(CHANGELOG_START),)
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/gnome-directory-thumbnailer-0.1.8/m4/ax_is_release.m4
new/gnome-directory-thumbnailer-0.1.9/m4/ax_is_release.m4
--- old/gnome-directory-thumbnailer-0.1.8/m4/ax_is_release.m4 2016-09-20
19:03:07.000000000 +0200
+++ new/gnome-directory-thumbnailer-0.1.9/m4/ax_is_release.m4 2017-04-29
23:32:24.000000000 +0200
@@ -1,5 +1,5 @@
# ===========================================================================
-# http://www.gnu.org/software/autoconf-archive/ax_is_release.html
+# https://www.gnu.org/software/autoconf-archive/ax_is_release.html
# ===========================================================================
#
# SYNOPSIS
@@ -26,6 +26,10 @@
# * micro-version: ax_is_release will be 'no' if the micro version number
# in $PACKAGE_VERSION is odd; this assumes
# $PACKAGE_VERSION follows the 'major.minor.micro' scheme
+# * dash-version: ax_is_release will be 'no' if there is a dash '-'
+# in $PACKAGE_VERSION, for example 1.2-pre3, 1.2.42-a8b9
+# or 2.0-dirty (in particular this is suitable for use
+# with git-version-gen)
# * always: ax_is_release will always be 'yes'
# * never: ax_is_release will always be 'no'
#
@@ -34,12 +38,13 @@
# LICENSE
#
# Copyright (c) 2015 Philip Withnall <[email protected]>
+# Copyright (c) 2016 Collabora Ltd.
#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice
# and this notice are preserved.
-#serial 3
+#serial 7
AC_DEFUN([AX_IS_RELEASE],[
AC_BEFORE([AC_INIT],[$0])
@@ -47,7 +52,7 @@
m4_case([$1],
[git-directory],[
# $is_release = (.git directory does not exist)
- AS_IF([test -d .git],[ax_is_release=no],[ax_is_release=yes])
+ AS_IF([test -d ${srcdir}/.git],[ax_is_release=no],[ax_is_release=yes])
],
[minor-version],[
# $is_release = ($minor_version is even)
@@ -61,9 +66,15 @@
AS_IF([test "$(( $micro_version % 2 ))" -ne 0],
[ax_is_release=no],[ax_is_release=yes])
],
+ [dash-version],[
+ # $is_release = ($PACKAGE_VERSION has a dash)
+ AS_CASE([$PACKAGE_VERSION],
+ [*-*], [ax_is_release=no],
+ [*], [ax_is_release=yes])
+ ],
[always],[ax_is_release=yes],
[never],[ax_is_release=no],
[
- AC_MSG_ERROR([Invalid policy. Valid policies: git-directory,
minor-version.])
+ AC_MSG_ERROR([Invalid policy. Valid policies: git-directory,
minor-version, micro-version, dash-version, always, never.])
])
])
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/gnome-directory-thumbnailer-0.1.8/m4/ax_require_defined.m4
new/gnome-directory-thumbnailer-0.1.9/m4/ax_require_defined.m4
--- old/gnome-directory-thumbnailer-0.1.8/m4/ax_require_defined.m4
2016-09-20 19:03:07.000000000 +0200
+++ new/gnome-directory-thumbnailer-0.1.9/m4/ax_require_defined.m4
2017-04-29 23:32:24.000000000 +0200
@@ -1,5 +1,5 @@
# ===========================================================================
-# http://www.gnu.org/software/autoconf-archive/ax_require_defined.html
+# https://www.gnu.org/software/autoconf-archive/ax_require_defined.html
# ===========================================================================
#
# SYNOPSIS
@@ -30,7 +30,7 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.
-#serial 1
+#serial 2
AC_DEFUN([AX_REQUIRE_DEFINED], [dnl
m4_ifndef([$1], [m4_fatal([macro ]$1[ is not defined; is a m4 file
missing?])])
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/gnome-directory-thumbnailer-0.1.8/m4/nls.m4
new/gnome-directory-thumbnailer-0.1.9/m4/nls.m4
--- old/gnome-directory-thumbnailer-0.1.8/m4/nls.m4 2016-09-20
19:03:07.000000000 +0200
+++ new/gnome-directory-thumbnailer-0.1.9/m4/nls.m4 2015-10-02
19:04:55.000000000 +0200
@@ -1,17 +1,17 @@
# nls.m4 serial 5 (gettext-0.18)
-dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014, 2016 Free Software
-dnl Foundation, Inc.
+dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014 Free Software Foundation,
+dnl Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl
-dnl This file can be used in projects which are not available under
+dnl This file can can be used in projects which are not available under
dnl the GNU General Public License or the GNU Library General Public
dnl License but which still want to provide support for the GNU gettext
dnl functionality.
dnl Please note that the actual code of the GNU gettext library is covered
dnl by the GNU Library General Public License, and the rest of the GNU
-dnl gettext package is covered by the GNU General Public License.
+dnl gettext package package is covered by the GNU General Public License.
dnl They are *not* in the public domain.
dnl Authors:
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/gnome-directory-thumbnailer-0.1.8/m4/pkg.m4
new/gnome-directory-thumbnailer-0.1.9/m4/pkg.m4
--- old/gnome-directory-thumbnailer-0.1.8/m4/pkg.m4 2016-09-20
19:03:07.000000000 +0200
+++ new/gnome-directory-thumbnailer-0.1.9/m4/pkg.m4 2015-10-02
19:04:55.000000000 +0200
@@ -1,60 +1,29 @@
-dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
-dnl serial 11 (pkg-config-0.29)
-dnl
-dnl Copyright © 2004 Scott James Remnant <[email protected]>.
-dnl Copyright © 2012-2015 Dan Nicholson <[email protected]>
-dnl
-dnl This program is free software; you can redistribute it and/or modify
-dnl it under the terms of the GNU General Public License as published by
-dnl the Free Software Foundation; either version 2 of the License, or
-dnl (at your option) any later version.
-dnl
-dnl This program is distributed in the hope that it will be useful, but
-dnl WITHOUT ANY WARRANTY; without even the implied warranty of
-dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-dnl General Public License for more details.
-dnl
-dnl You should have received a copy of the GNU General Public License
-dnl along with this program; if not, write to the Free Software
-dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-dnl 02111-1307, USA.
-dnl
-dnl As a special exception to the GNU General Public License, if you
-dnl distribute this file as part of a program that contains a
-dnl configuration script generated by Autoconf, you may include it under
-dnl the same distribution terms that you use for the rest of that
-dnl program.
-
-dnl PKG_PREREQ(MIN-VERSION)
-dnl -----------------------
-dnl Since: 0.29
-dnl
-dnl Verify that the version of the pkg-config macros are at least
-dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's
-dnl installed version of pkg-config, this checks the developer's version
-dnl of pkg.m4 when generating configure.
-dnl
-dnl To ensure that this macro is defined, also add:
-dnl m4_ifndef([PKG_PREREQ],
-dnl [m4_fatal([must install pkg-config 0.29 or later before running
autoconf/autogen])])
-dnl
-dnl See the "Since" comment for each macro you use to see what version
-dnl of the macros you require.
-m4_defun([PKG_PREREQ],
-[m4_define([PKG_MACROS_VERSION], [0.29])
-m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1,
- [m4_fatal([pkg.m4 version $1 or higher is required but
]PKG_MACROS_VERSION[ found])])
-])dnl PKG_PREREQ
-
-dnl PKG_PROG_PKG_CONFIG([MIN-VERSION])
-dnl ----------------------------------
-dnl Since: 0.16
-dnl
-dnl Search for the pkg-config tool and set the PKG_CONFIG variable to
-dnl first found in the path. Checks that the version of pkg-config found
-dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is
-dnl used since that's the first version where most current features of
-dnl pkg-config existed.
+# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
+# serial 1 (pkg-config-0.24)
+#
+# Copyright © 2004 Scott James Remnant <[email protected]>.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# PKG_PROG_PKG_CONFIG([MIN-VERSION])
+# ----------------------------------
AC_DEFUN([PKG_PROG_PKG_CONFIG],
[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
@@ -76,19 +45,18 @@
PKG_CONFIG=""
fi
fi[]dnl
-])dnl PKG_PROG_PKG_CONFIG
+])# PKG_PROG_PKG_CONFIG
-dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
-dnl -------------------------------------------------------------------
-dnl Since: 0.18
-dnl
-dnl Check to see whether a particular set of modules exists. Similar to
-dnl PKG_CHECK_MODULES(), but does not set variables or print errors.
-dnl
-dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
-dnl only at the first occurence in configure.ac, so if the first place
-dnl it's called might be skipped (such as if it is within an "if", you
-dnl have to call PKG_CHECK_EXISTS manually
+# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+#
+# Check to see whether a particular set of modules exists. Similar
+# to PKG_CHECK_MODULES(), but does not set variables or print errors.
+#
+# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
+# only at the first occurence in configure.ac, so if the first place
+# it's called might be skipped (such as if it is within an "if", you
+# have to call PKG_CHECK_EXISTS manually
+# --------------------------------------------------------------
AC_DEFUN([PKG_CHECK_EXISTS],
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
if test -n "$PKG_CONFIG" && \
@@ -98,10 +66,8 @@
$3])dnl
fi])
-dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
-dnl ---------------------------------------------
-dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting
-dnl pkg_failed based on the result.
+# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
+# ---------------------------------------------
m4_define([_PKG_CONFIG],
[if test -n "$$1"; then
pkg_cv_[]$1="$$1"
@@ -113,11 +79,10 @@
else
pkg_failed=untried
fi[]dnl
-])dnl _PKG_CONFIG
+])# _PKG_CONFIG
-dnl _PKG_SHORT_ERRORS_SUPPORTED
-dnl ---------------------------
-dnl Internal check to see if pkg-config supports short errors.
+# _PKG_SHORT_ERRORS_SUPPORTED
+# -----------------------------
AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
@@ -125,17 +90,19 @@
else
_pkg_short_errors_supported=no
fi[]dnl
-])dnl _PKG_SHORT_ERRORS_SUPPORTED
+])# _PKG_SHORT_ERRORS_SUPPORTED
-dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
-dnl [ACTION-IF-NOT-FOUND])
-dnl --------------------------------------------------------------
-dnl Since: 0.4.0
-dnl
-dnl Note that if there is a possibility the first call to
-dnl PKG_CHECK_MODULES might not happen, you should be sure to include an
-dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
+# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
+# [ACTION-IF-NOT-FOUND])
+#
+#
+# Note that if there is a possibility the first call to
+# PKG_CHECK_MODULES might not happen, you should be sure to include an
+# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
+#
+#
+# --------------------------------------------------------------
AC_DEFUN([PKG_CHECK_MODULES],
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
@@ -189,40 +156,16 @@
AC_MSG_RESULT([yes])
$3
fi[]dnl
-])dnl PKG_CHECK_MODULES
+])# PKG_CHECK_MODULES
-dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
-dnl [ACTION-IF-NOT-FOUND])
-dnl ---------------------------------------------------------------------
-dnl Since: 0.29
-dnl
-dnl Checks for existence of MODULES and gathers its build flags with
-dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags
-dnl and VARIABLE-PREFIX_LIBS from --libs.
-dnl
-dnl Note that if there is a possibility the first call to
-dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to
-dnl include an explicit call to PKG_PROG_PKG_CONFIG in your
-dnl configure.ac.
-AC_DEFUN([PKG_CHECK_MODULES_STATIC],
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
-_save_PKG_CONFIG=$PKG_CONFIG
-PKG_CONFIG="$PKG_CONFIG --static"
-PKG_CHECK_MODULES($@)
-PKG_CONFIG=$_save_PKG_CONFIG[]dnl
-])dnl PKG_CHECK_MODULES_STATIC
-
-
-dnl PKG_INSTALLDIR([DIRECTORY])
-dnl -------------------------
-dnl Since: 0.27
-dnl
-dnl Substitutes the variable pkgconfigdir as the location where a module
-dnl should install pkg-config .pc files. By default the directory is
-dnl $libdir/pkgconfig, but the default can be changed by passing
-dnl DIRECTORY. The user can override through the --with-pkgconfigdir
-dnl parameter.
+# PKG_INSTALLDIR(DIRECTORY)
+# -------------------------
+# Substitutes the variable pkgconfigdir as the location where a module
+# should install pkg-config .pc files. By default the directory is
+# $libdir/pkgconfig, but the default can be changed by passing
+# DIRECTORY. The user can override through the --with-pkgconfigdir
+# parameter.
AC_DEFUN([PKG_INSTALLDIR],
[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
m4_pushdef([pkg_description],
@@ -233,18 +176,16 @@
AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
m4_popdef([pkg_default])
m4_popdef([pkg_description])
-])dnl PKG_INSTALLDIR
+]) dnl PKG_INSTALLDIR
-dnl PKG_NOARCH_INSTALLDIR([DIRECTORY])
-dnl --------------------------------
-dnl Since: 0.27
-dnl
-dnl Substitutes the variable noarch_pkgconfigdir as the location where a
-dnl module should install arch-independent pkg-config .pc files. By
-dnl default the directory is $datadir/pkgconfig, but the default can be
-dnl changed by passing DIRECTORY. The user can override through the
-dnl --with-noarch-pkgconfigdir parameter.
+# PKG_NOARCH_INSTALLDIR(DIRECTORY)
+# -------------------------
+# Substitutes the variable noarch_pkgconfigdir as the location where a
+# module should install arch-independent pkg-config .pc files. By
+# default the directory is $datadir/pkgconfig, but the default can be
+# changed by passing DIRECTORY. The user can override through the
+# --with-noarch-pkgconfigdir parameter.
AC_DEFUN([PKG_NOARCH_INSTALLDIR],
[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
m4_pushdef([pkg_description],
@@ -255,15 +196,13 @@
AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
m4_popdef([pkg_default])
m4_popdef([pkg_description])
-])dnl PKG_NOARCH_INSTALLDIR
+]) dnl PKG_NOARCH_INSTALLDIR
-dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
-dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
-dnl -------------------------------------------
-dnl Since: 0.28
-dnl
-dnl Retrieves the value of the pkg-config variable for the given module.
+# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
+# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+# -------------------------------------------
+# Retrieves the value of the pkg-config variable for the given module.
AC_DEFUN([PKG_CHECK_VAR],
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
@@ -272,4 +211,4 @@
AS_VAR_COPY([$1], [pkg_cv_][$1])
AS_VAR_IF([$1], [""], [$5], [$4])dnl
-])dnl PKG_CHECK_VAR
+])# PKG_CHECK_VAR
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/gnome-directory-thumbnailer-0.1.8/po/LINGUAS
new/gnome-directory-thumbnailer-0.1.9/po/LINGUAS
--- old/gnome-directory-thumbnailer-0.1.8/po/LINGUAS 2016-02-05
21:13:46.000000000 +0100
+++ new/gnome-directory-thumbnailer-0.1.9/po/LINGUAS 2017-04-29
23:30:35.000000000 +0200
@@ -5,6 +5,7 @@
el
es
fr
+fur
hu
id
it
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/gnome-directory-thumbnailer-0.1.8/po/fur.po
new/gnome-directory-thumbnailer-0.1.9/po/fur.po
--- old/gnome-directory-thumbnailer-0.1.8/po/fur.po 1970-01-01
01:00:00.000000000 +0100
+++ new/gnome-directory-thumbnailer-0.1.9/po/fur.po 2017-04-29
23:30:35.000000000 +0200
@@ -0,0 +1,85 @@
+# Friulian translation for gnome-directory-thumbnailer.
+# Copyright (C) 2017 gnome-directory-thumbnailer's COPYRIGHT HOLDER
+# This file is distributed under the same license as the
gnome-directory-thumbnailer package.
+# Fabio Tomat <[email protected]>, 2017.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gnome-directory-thumbnailer master\n"
+"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
+"directory-thumbnailer&keywords=I18N+L10N&component=General\n"
+"POT-Creation-Date: 2016-09-21 17:14+0000\n"
+"PO-Revision-Date: 2017-03-05 21:32+0100\n"
+"Language-Team: Friulian <[email protected]>\n"
+"Language: fur\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Last-Translator: Fabio Tomat <[email protected]>\n"
+"X-Generator: Poedit 1.8.12\n"
+
+#: ../src/main.c:364
+#, c-format
+msgid "Error generating thumbnail for file ‘%s’."
+msgstr "Erôr tal gjenerâ la miniature pal file '%s'."
+
+#: ../src/main.c:368
+#, c-format
+msgid "Error generating thumbnail for file ‘%s’: recursion limit reached."
+msgstr ""
+"Erôr tal gjenerâ la miniature pal file '%s': limit tal tornâ a presentâsi "
+"tocjât."
+
+#: ../src/main.c:373
+#, c-format
+msgid ""
+"Error generating thumbnail for file ‘%s’: MIME type ‘%s’ is unsupported."
+msgstr ""
+"Erôr tal gjenerâ la miniature pal file '%s': il gjenar MIME '%s' nol è "
+"supuartât."
+
+#. No error, but the directory was empty.
+#: ../src/main.c:416
+#, c-format
+msgid "Directory is empty."
+msgstr "La catele e je vueide."
+
+#: ../src/main.c:464
+msgid "Maximum size of the thumbnail in pixels (maximum width or height)"
+msgstr "Dimension massime de miniature in pixel (massime largjece o altece)"
+
+#: ../src/main.c:465
+msgid "Show the normal folder icon as an overlay on the thumbnail"
+msgstr ""
+"Mostre la icone de cartele normâl come une cuvierzidure su la miniature"
+
+#: ../src/main.c:466
+msgid "[INPUT FILE] [OUTPUT FILE]"
+msgstr "[FILE INPUT] [FILE OUTPUT]"
+
+#. Handle the command line options.
+#. Translators: This is the command line description of what the application
does. Please keep the em-dash (or an equivalent).
+#: ../src/main.c:502
+msgid "— Generate thumbnails for directories"
+msgstr "— Gjenere lis miniaturis pes cartelis"
+
+#: ../src/main.c:507
+#, c-format
+msgid "Couldn’t parse command line options: %s\n"
+msgstr "Impussibil analizâ lis opzions de rie di comant: %s\n"
+
+#: ../src/main.c:544
+#, c-format
+msgid "Couldn’t generate thumbnail for directory ‘%s’: %s\n"
+msgstr "Impussibil gjenerâ la miniature pe cartele '%s': %s\n"
+
+#. Failed to load the icon. Shame.
+#: ../src/main.c:632
+#, c-format
+msgid "Couldn’t load folder overlay icon: %s\n"
+msgstr "Impussibil cjariâ la icone di cuvierzidure de cartele: %s\n"
+
+#: ../src/main.c:655
+#, c-format
+msgid "Couldn’t save thumbnail to ‘%s’: %s\n"
+msgstr "Impussibil salvâ la miniature su '%s': %s\n"
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/gnome-directory-thumbnailer-0.1.8/src/main.c
new/gnome-directory-thumbnailer-0.1.9/src/main.c
--- old/gnome-directory-thumbnailer-0.1.8/src/main.c 2015-06-09
13:33:18.000000000 +0200
+++ new/gnome-directory-thumbnailer-0.1.9/src/main.c 2017-04-30
11:14:49.000000000 +0200
@@ -571,7 +571,17 @@
g_debug ("Scaling thumbnail from %u×%u to %u×%u with
for output size %i with scaling factor %f.",
original_width, original_height, scaled_width,
scaled_height, output_size, scale);
+ if (scaled_width == 0 || scaled_height == 0) {
+ status = STATUS_ERROR_GENERATING_THUMBNAIL;
+ goto done;
+ }
+
+#if HAVE_GDK_PIXBUF_2_36_5
+ scaled_pixbuf = gdk_pixbuf_scale_simple (pixbuf,
scaled_width, scaled_height, GDK_INTERP_HYPER);
+#else
scaled_pixbuf =
gnome_desktop_thumbnail_scale_down_pixbuf (pixbuf, scaled_width, scaled_height);
+#endif
+
g_object_unref (pixbuf);
pixbuf = scaled_pixbuf; /* transfer ownership */
scaled_pixbuf = NULL;
@@ -586,7 +596,7 @@
gint scaled_overlay_size, scaled_overlay_x, scaled_overlay_y;
gdouble scale;
- /* Re-query the dimensions since we don’t know which dimensions
gnome_desktop_thumbnail_scale_down_pixbuf() chose. */
+ /* Re-query the dimensions since we don’t know which dimensions
gdk_pixbuf_scale_simple() chose. */
scaled_width = gdk_pixbuf_get_width (pixbuf);
scaled_height = gdk_pixbuf_get_height (pixbuf);