Hello community,
here is the log from the commit of package totem-pl-parser for openSUSE:Factory
checked in at 2019-03-13 09:05:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/totem-pl-parser (Old)
and /work/SRC/openSUSE:Factory/.totem-pl-parser.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "totem-pl-parser"
Wed Mar 13 09:05:25 2019 rev:80 rq:681758 version:3.26.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/totem-pl-parser/totem-pl-parser.changes
2019-01-26 22:16:44.183131947 +0100
+++
/work/SRC/openSUSE:Factory/.totem-pl-parser.new.28833/totem-pl-parser.changes
2019-03-13 09:05:30.967446898 +0100
@@ -1,0 +2,6 @@
+Tue Mar 5 13:16:41 UTC 2019 - Bjørn Lie <[email protected]>
+
+- Update to version 3.26.3:
+ + Atom parsing bug fixes.
+
+-------------------------------------------------------------------
Old:
----
totem-pl-parser-3.26.2.tar.xz
New:
----
totem-pl-parser-3.26.3.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ totem-pl-parser.spec ++++++
--- /var/tmp/diff_new_pack.SsNyIl/_old 2019-03-13 09:05:33.087446679 +0100
+++ /var/tmp/diff_new_pack.SsNyIl/_new 2019-03-13 09:05:33.127446675 +0100
@@ -18,7 +18,7 @@
%define sover 18
Name: totem-pl-parser
-Version: 3.26.2
+Version: 3.26.3
Release: 0
Summary: A GObject-based library to parse playlist formats
License: LGPL-2.0-or-later AND GPL-2.0-or-later
++++++ _service ++++++
--- /var/tmp/diff_new_pack.SsNyIl/_old 2019-03-13 09:05:33.475446639 +0100
+++ /var/tmp/diff_new_pack.SsNyIl/_new 2019-03-13 09:05:33.499446637 +0100
@@ -2,8 +2,8 @@
<service mode="disabled" name="tar_scm">
<param
name="url">https://gitlab.gnome.org/GNOME/totem-pl-parser.git</param>
<param name="scm">git</param>
- <param name="revision">refs/tags/V_3_26_2</param>
- <param name="versionformat">3.26.2</param>
+ <param name="revision">refs/tags/V_3_26_3</param>
+ <param name="versionformat">3.26.3</param>
<param name="changesgenerate">enable</param>
</service>
<service mode="disabled" name="recompress">
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.SsNyIl/_old 2019-03-13 09:05:33.647446621 +0100
+++ /var/tmp/diff_new_pack.SsNyIl/_new 2019-03-13 09:05:33.663446619 +0100
@@ -3,4 +3,4 @@
<param
name="url">https://git.gnome.org/browse/totem-pl-parser</param>
<param
name="changesrevision">0091a562f2299fc61943bf5b44ecd7c472288693</param></service><service
name="tar_scm">
<param
name="url">https://gitlab.gnome.org/GNOME/totem-pl-parser.git</param>
- <param
name="changesrevision">ef7b2548f87af6206623fa82e958c62e5aa51e7a</param></service></servicedata>
\ No newline at end of file
+ <param
name="changesrevision">9cb2d6e2c8eaf17d77e19493c6f1fac34893232b</param></service></servicedata>
\ No newline at end of file
++++++ totem-pl-parser-3.26.2.tar.xz -> totem-pl-parser-3.26.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/totem-pl-parser-3.26.2/.gitlab-ci.yml
new/totem-pl-parser-3.26.3/.gitlab-ci.yml
--- old/totem-pl-parser-3.26.2/.gitlab-ci.yml 2019-01-16 12:47:53.000000000
+0100
+++ new/totem-pl-parser-3.26.3/.gitlab-ci.yml 2019-03-05 13:51:28.000000000
+0100
@@ -1,8 +1,14 @@
+variables:
+ DEPENDENCIES: redhat-rpm-config meson git gettext gtk-doc intltool meson
glib2-devel libxml2-devel gobject-introspection-devel libgcrypt-devel
libarchive-devel libquvi-devel
+ TEST_DEPS: gvfs dbus-daemon
+
build-fedora:
image: fedora:latest
before_script:
- - dnf install -y redhat-rpm-config meson git gettext gtk-doc intltool
meson glib2-devel libxml2-devel gobject-introspection-devel libgcrypt-devel
libarchive-devel libsoup-devel libquvi-devel
+ # Update
+ - dnf -y update && dnf install -y $DEPENDENCIES
script:
- meson _build
- - ninja -C _build test
+ - dnf install -y $TEST_DEPS
+ - GIO_USE_VOLUME_MONITOR=unix dbus-run-session ninja -C _build test
- ninja -C _build install
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/totem-pl-parser-3.26.2/NEWS
new/totem-pl-parser-3.26.3/NEWS
--- old/totem-pl-parser-3.26.2/NEWS 2019-01-16 12:47:53.000000000 +0100
+++ new/totem-pl-parser-3.26.3/NEWS 2019-03-05 13:51:28.000000000 +0100
@@ -1,5 +1,8 @@
New features and significant updates in version...
+3.26.3:
+- Atom parsing bug fixes
+
3.26.2:
- Remove gmime dependency
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/totem-pl-parser-3.26.2/meson.build
new/totem-pl-parser-3.26.3/meson.build
--- old/totem-pl-parser-3.26.2/meson.build 2019-01-16 12:47:53.000000000
+0100
+++ new/totem-pl-parser-3.26.3/meson.build 2019-03-05 13:51:28.000000000
+0100
@@ -1,5 +1,5 @@
project('totem-pl-parser', 'c',
- version: '3.26.2', # Don't forget to also change plparser_lt_version!
+ version: '3.26.3', # Don't forget to also change plparser_lt_version!
default_options: [
'buildtype=debugoptimized',
'warning_level=1',
@@ -14,7 +14,7 @@
# - If binary compatibility has been broken (eg removed or changed interfaces)
# change to C+1:0:0
# - If the interface is the same as the previous version, change to C:R+1:A
-plparser_lt_version='19:3:1'
+plparser_lt_version='19:4:1'
plparse_version = meson.project_version()
plparse_major_version = plparse_version.split('.')[0].to_int()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/totem-pl-parser-3.26.2/meson_options.txt
new/totem-pl-parser-3.26.3/meson_options.txt
--- old/totem-pl-parser-3.26.2/meson_options.txt 2019-01-16
12:47:53.000000000 +0100
+++ new/totem-pl-parser-3.26.3/meson_options.txt 2019-03-05
13:51:28.000000000 +0100
@@ -6,3 +6,5 @@
description : 'Enable libgcrypt support.')
option('enable-gtk-doc', type: 'boolean', value: 'false',
description : 'Generate the API reference (depends on GTK-Doc)')
+option('introspection', type: 'boolean', value: 'true',
+ description : 'Generate GObject Introspection bindings')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/totem-pl-parser-3.26.2/plparse/meson.build
new/totem-pl-parser-3.26.3/plparse/meson.build
--- old/totem-pl-parser-3.26.2/plparse/meson.build 2019-01-16
12:47:53.000000000 +0100
+++ new/totem-pl-parser-3.26.3/plparse/meson.build 2019-03-05
13:51:28.000000000 +0100
@@ -121,7 +121,7 @@
endif
# Introspection
-if not meson.is_cross_build()
+if get_option('introspection')
gnome.generate_gir(plparser_lib,
sources: plparser_public_headers + plparser_sources + [
totem_pl_parser_marshalers[1],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/totem-pl-parser-3.26.2/plparse/tests/parser.c
new/totem-pl-parser-3.26.3/plparse/tests/parser.c
--- old/totem-pl-parser-3.26.2/plparse/tests/parser.c 2019-01-16
12:47:53.000000000 +0100
+++ new/totem-pl-parser-3.26.3/plparse/tests/parser.c 2019-03-05
13:51:28.000000000 +0100
@@ -525,6 +525,27 @@
}
static void
+test_youtube_starttime (void)
+{
+/* Those do not work with quvi */
+#if 0
+ const char *uri;
+
+ /* old type of direct link */
+ uri = "http://www.youtube.com/watch?v=Fk2bUvrv-Uc#t=2m30s";
+ g_assert_cmpstr (parser_test_get_entry_field (uri,
TOTEM_PL_PARSER_FIELD_STARTTIME), ==, "150");
+
+ /* new type of embed */
+ uri = "http://www.youtube.com/embed/Nc9xq-TVyHI?start=110";
+ g_assert_cmpstr (parser_test_get_entry_field (uri,
TOTEM_PL_PARSER_FIELD_STARTTIME), ==, "110");
+
+ /* new type of direct link */
+ uri = "http://www.youtube.com/watch?v=Fk2bUvrv-Uc&t=2m30s";
+ g_assert_cmpstr (parser_test_get_entry_field (uri,
TOTEM_PL_PARSER_FIELD_STARTTIME), ==, "150");
+#endif
+}
+
+static void
test_itms_parsing (void)
{
if (http_supported == FALSE) {
@@ -1316,6 +1337,7 @@
g_test_add_func ("/parser/videosite", test_videosite);
g_test_add_func ("/parser/parsing/rss_id", test_parsing_rss_id);
g_test_add_func ("/parser/parsing/rss_link",
test_parsing_rss_link);
+ g_test_add_func ("/parser/parsing/youtube_starttime",
test_youtube_starttime);
#endif /* HAVE_QUVI */
g_test_add_func ("/parser/parsing/not_asx_playlist",
test_parsing_not_asx_playlist);
g_test_add_func ("/parser/parsing/not_really_php",
test_parsing_not_really_php);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/totem-pl-parser-3.26.2/plparse/totem-pl-parser-podcast.c
new/totem-pl-parser-3.26.3/plparse/totem-pl-parser-podcast.c
--- old/totem-pl-parser-3.26.2/plparse/totem-pl-parser-podcast.c
2019-01-16 12:47:53.000000000 +0100
+++ new/totem-pl-parser-3.26.3/plparse/totem-pl-parser-podcast.c
2019-03-05 13:51:28.000000000 +0100
@@ -406,11 +406,11 @@
parse_atom_entry (TotemPlParser *parser, xml_node_t *parent)
{
const char *title, *author, *uri, *filesize;
- const char *copyright, *pub_date, *description;
+ const char *copyright, *pub_date, *description, *img;
xml_node_t *node;
title = author = uri = filesize = NULL;
- copyright = pub_date = description = NULL;
+ copyright = pub_date = description = img = NULL;
for (node = parent->child; node != NULL; node = node->next) {
if (node->name == NULL)
@@ -419,7 +419,17 @@
if (g_ascii_strcasecmp (node->name, "title") == 0) {
title = node->data;
} else if (g_ascii_strcasecmp (node->name, "author") == 0) {
- //FIXME
+ xml_node_t *child;
+
+ for (child = node->child; child != NULL; child =
child->next) {
+ if (child->name == NULL)
+ continue;
+
+ if (g_ascii_strcasecmp (child->name, "name") ==
0) {
+ author = child->data;
+ break;
+ }
+ }
} else if (g_ascii_strcasecmp (node->name, "link") == 0) {
const char *rel;
@@ -434,7 +444,7 @@
continue;
uri = href;
filesize = xml_parser_get_property (node,
"length");
- } else if (g_ascii_strcasecmp (node->name, "license")
== 0) {
+ } else if (g_ascii_strcasecmp (rel, "license") == 0) {
const char *href;
href = xml_parser_get_property (node, "href");
@@ -442,6 +452,15 @@
continue;
/* This isn't really a copyright, but what the
hey */
copyright = href;
+ } else if (g_ascii_strcasecmp (rel, "alternate") == 0) {
+ const char *href;
+
+ href = xml_parser_get_property (node, "href");
+ if (href == NULL)
+ continue;
+ if (!totem_pl_parser_is_videosite (href, FALSE))
+ continue;
+ uri = href;
}
} else if (g_ascii_strcasecmp (node->name, "updated") == 0
|| (g_ascii_strcasecmp (node->name, "modified") == 0
&& pub_date == NULL)) {
@@ -453,6 +472,33 @@
type = xml_parser_get_property (node, "content");
if (type != NULL && g_ascii_strcasecmp (type,
"text/plain") == 0)
description = node->data;
+ } else if (g_ascii_strcasecmp (node->name, "media:group") == 0)
{
+ xml_node_t *child;
+
+ for (child = node->child; child != NULL; child =
child->next) {
+ if (child->name == NULL)
+ continue;
+
+ if (g_ascii_strcasecmp (child->name,
"media:title") == 0 &&
+ title == NULL) {
+ title = child->data;
+ } else if (g_ascii_strcasecmp (child->name,
"media:description") == 0 &&
+ description == NULL) {
+ description = child->data;
+ } else if (g_ascii_strcasecmp (child->name,
"media:content") == 0 &&
+ uri == NULL) {
+ const char *prop;
+
+ prop = xml_parser_get_property (child,
"url");
+ if (prop == NULL)
+ continue;
+ if (!totem_pl_parser_is_videosite
(prop, FALSE))
+ continue;
+ uri = prop;
+ } else if (g_ascii_strcasecmp (child->name,
"media:thumbnail") == 0) {
+ img = xml_parser_get_property (child,
"url");
+ }
+ }
}
//FIXME handle category
}
@@ -466,6 +512,7 @@
TOTEM_PL_PARSER_FIELD_COPYRIGHT,
copyright,
TOTEM_PL_PARSER_FIELD_PUB_DATE,
pub_date,
TOTEM_PL_PARSER_FIELD_DESCRIPTION,
description,
+ TOTEM_PL_PARSER_FIELD_IMAGE_URI, img,
NULL);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/totem-pl-parser-3.26.2/po/eo.po
new/totem-pl-parser-3.26.3/po/eo.po
--- old/totem-pl-parser-3.26.2/po/eo.po 2019-01-16 12:47:53.000000000 +0100
+++ new/totem-pl-parser-3.26.3/po/eo.po 2019-03-05 13:51:28.000000000 +0100
@@ -1,53 +1,55 @@
# Esperanto translation for totem-pl-parser
-# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
+# Copyright (C) 2010 Free Software Foundation, Inc.
# This file is distributed under the same license as the totem-pl-parser
package.
# Donald ROGERS, <[email protected]>, 2010.
-# Kristjan SCHMIDT <[email protected]>, 2010.
-#
+# Kristjan SCHMIDT <[email protected]>, 2010, 2019.
msgid ""
msgstr ""
"Project-Id-Version: totem-pl-parser\n"
-"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?"
-"product=totem&component=playlist parser\n"
-"POT-Creation-Date: 2010-06-27 22:31+0000\n"
-"PO-Revision-Date: 2010-07-02 20:25+0200\n"
+"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/totem-pl-parser/issues\n"
+"POT-Creation-Date: 2018-06-10 18:50+0000\n"
+"PO-Revision-Date: 2019-02-23 11:05+0200\n"
"Last-Translator: Kristjan SCHMIDT <[email protected]>\n"
-"Language-Team: Esperanto <[email protected]>\n"
+"Language-Team: Esperanto <[email protected]>\n"
"Language: eo\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-07-02 18:24+0000\n"
-"X-Generator: Launchpad (build Unknown)\n"
-"Plural-Forms: nplurals=2; plural=(n != 1)\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Virtaal 0.7.1\n"
-#: ../plparse/totem-disc.c:359 ../plparse/totem-disc.c:503
+#: plparse/totem-disc.c:276 plparse/totem-disc.c:289 plparse/totem-disc.c:533
#, c-format
msgid "Failed to mount %s."
msgstr "Malsukcesis surmeto de %s."
-#: ../plparse/totem-disc.c:392
+#: plparse/totem-disc.c:418
#, c-format
-msgid "No media in drive for device '%s'."
-msgstr "Mankas datumportilo en ingo de aparato '%s'."
+#| msgid "No media in drive for device '%s'."
+msgid "No media in drive for device “%s”."
+msgstr "Mankas datumportilo en ingo de aparato “%s”."
-#: ../plparse/totem-disc.c:446
+#: plparse/totem-disc.c:476
#, c-format
msgid "Please check that a disc is present in the drive."
msgstr "Bonvolu kontroli ke disko estas en la aparato."
-#: ../plparse/totem-disc.c:889
+#: plparse/totem-disc.c:947
msgid "Audio CD"
msgstr "Son-KD"
-#: ../plparse/totem-disc.c:891
+#: plparse/totem-disc.c:949
msgid "Video CD"
msgstr "Video-KD"
-#: ../plparse/totem-disc.c:893
+#: plparse/totem-disc.c:951
msgid "DVD"
msgstr "DVD"
-#: ../plparse/totem-disc.c:895
+#: plparse/totem-disc.c:953
msgid "Digital Television"
msgstr "Cifereca Televido"
+
+#: plparse/totem-disc.c:955
+msgid "Blu-ray"
+msgstr "Blu-radio"