Update to totem-pl-parser-3.26.1.

This commit is contained in:
ajacoutot 2018-06-14 14:04:18 +00:00
parent 9f8612a655
commit 7e313b6f3b
5 changed files with 11 additions and 48 deletions

View File

@ -1,13 +1,12 @@
# $OpenBSD: Makefile,v 1.79 2017/10/30 10:15:46 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.80 2018/06/14 14:04:18 ajacoutot Exp $
COMMENT= GObject-based parsing library
GNOME_PROJECT= totem-pl-parser
GNOME_VERSION= 3.26.0
REVISION= 1
GNOME_VERSION= 3.26.1
SHARED_LIBS += totem-plparser 19.0 # 18.1.1
SHARED_LIBS += totem-plparser-mini 18.0 # 18.1.1
SHARED_LIBS += totem-plparser 19.0 # 18.1.2
SHARED_LIBS += totem-plparser-mini 18.0 # 18.1.2
CATEGORIES= multimedia net textproc

View File

@ -1,2 +1,2 @@
SHA256 (gnome/totem-pl-parser-3.26.0.tar.xz) = 8VOlM5HptC/tXLbOYjIqWOMj/ebsSlTYuk03bPTB+8s=
SIZE (gnome/totem-pl-parser-3.26.0.tar.xz) = 1319348
SHA256 (gnome/totem-pl-parser-3.26.1.tar.xz) = auLEuKyvBSryG42yVrYxQ4XeAxunIaLb2zYekNS0t0w=
SIZE (gnome/totem-pl-parser-3.26.1.tar.xz) = 1312628

View File

@ -1,18 +0,0 @@
$OpenBSD: patch-plparse_totem-pl-parser-videosite_c,v 1.1 2017/10/29 06:59:08 ajacoutot Exp $
From 0e17f4935d06749d089591dc33e0e2c1efb8cec7 Mon Sep 17 00:00:00 2001
From: Christophe Fergeau <cfergeau@redhat.com>
Date: Mon, 18 Sep 2017 11:12:29 +0200
Subject: videosite: Fix leak in totem_pl_parser_add_videosite
Index: plparse/totem-pl-parser-videosite.c
--- plparse/totem-pl-parser-videosite.c.orig
+++ plparse/totem-pl-parser-videosite.c
@@ -225,6 +225,7 @@ totem_pl_parser_add_videosite (TotemPlParser *parser,
g_strfreev (lines);
totem_pl_parser_add_hash_table (parser, ht, new_uri, FALSE);
+ g_hash_table_unref (ht);
g_free (new_uri);
ret = TOTEM_PL_PARSER_RESULT_SUCCESS;

View File

@ -1,22 +0,0 @@
$OpenBSD: patch-plparse_totem-pl-parser_c,v 1.4 2017/10/29 06:59:08 ajacoutot Exp $
From 9d744ac95e113d3b19b7ede813afec60f9d66e1a Mon Sep 17 00:00:00 2001
From: Christophe Fergeau <cfergeau@redhat.com>
Date: Mon, 18 Sep 2017 11:11:31 +0200
Subject: plparse: Fix small leak in totem_pl_parser_parse_internal()
Index: plparse/totem-pl-parser.c
--- plparse/totem-pl-parser.c.orig
+++ plparse/totem-pl-parser.c
@@ -1828,8 +1828,10 @@ totem_pl_parser_parse_internal (TotemPlParser *parser,
url = g_file_get_uri (file);
if (url != NULL && totem_pl_parser_is_videosite (url, parser->priv->debug) != FALSE) {
ret = totem_pl_parser_add_videosite (parser, file, base_file, parse_data, NULL);
- if (ret == TOTEM_PL_PARSER_RESULT_SUCCESS)
+ if (ret == TOTEM_PL_PARSER_RESULT_SUCCESS) {
+ g_free (url);
return ret;
+ }
}
g_free (url);
}

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.26 2017/10/28 08:39:25 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.27 2018/06/14 14:04:18 ajacoutot Exp $
include/totem-pl-parser/
include/totem-pl-parser/1/
include/totem-pl-parser/1/plparser/
@ -64,6 +64,8 @@ share/locale/it/LC_MESSAGES/totem-pl-parser.mo
share/locale/ja/LC_MESSAGES/totem-pl-parser.mo
share/locale/ka/LC_MESSAGES/totem-pl-parser.mo
share/locale/kk/LC_MESSAGES/totem-pl-parser.mo
share/locale/km/
share/locale/km/LC_MESSAGES/
share/locale/km/LC_MESSAGES/totem-pl-parser.mo
share/locale/kn/LC_MESSAGES/totem-pl-parser.mo
share/locale/ko/LC_MESSAGES/totem-pl-parser.mo
@ -106,6 +108,8 @@ share/locale/th/LC_MESSAGES/totem-pl-parser.mo
share/locale/tr/LC_MESSAGES/totem-pl-parser.mo
share/locale/ug/LC_MESSAGES/totem-pl-parser.mo
share/locale/uk/LC_MESSAGES/totem-pl-parser.mo
share/locale/uz@cyrillic/
share/locale/uz@cyrillic/LC_MESSAGES/
share/locale/uz@cyrillic/LC_MESSAGES/totem-pl-parser.mo
share/locale/vi/LC_MESSAGES/totem-pl-parser.mo
share/locale/wa/LC_MESSAGES/totem-pl-parser.mo