Hello community,

here is the log from the commit of package xplayer-plparser for 
openSUSE:Factory checked in at 2020-10-02 17:37:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xplayer-plparser (Old)
 and      /work/SRC/openSUSE:Factory/.xplayer-plparser.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xplayer-plparser"

Fri Oct  2 17:37:06 2020 rev:3 rq:838972 version:1.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/xplayer-plparser/xplayer-plparser.changes        
2016-04-28 17:02:44.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.xplayer-plparser.new.4249/xplayer-plparser.changes  
    2020-10-02 17:37:21.382740518 +0200
@@ -1,0 +2,5 @@
+Thu Oct  1 03:50:57 UTC 2020 - Marguerite Su <[email protected]>
+
+- add xplayer-plparser-gmime-3.0.patch (boo#1171808)
+
+-------------------------------------------------------------------

New:
----
  xplayer-plparser-gmime-3.0.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xplayer-plparser.spec ++++++
--- /var/tmp/diff_new_pack.6qDaY9/_old  2020-10-02 17:37:22.562741222 +0200
+++ /var/tmp/diff_new_pack.6qDaY9/_new  2020-10-02 17:37:22.566741224 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package xplayer-plparser
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -22,16 +22,18 @@
 Version:        1.0.2
 Release:        0
 Summary:        Simple GObject-based library to parse playlist formats
-License:        LGPL-2.0+
+License:        LGPL-2.0-or-later
 Group:          Productivity/Multimedia/Video/Players
-Url:            https://github.com/linuxmint/xplayer-plparser
+URL:            https://github.com/linuxmint/xplayer-plparser
 Source:         
https://github.com/linuxmint/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:        baselibs.conf
+#PATCH-FIX-UPSTREAM port to gmime-3.0
+Patch:          %{name}-gmime-3.0.patch
 BuildRequires:  gnome-common
 BuildRequires:  libgcrypt-devel
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(glib-2.0) >= 2.31.0
-BuildRequires:  pkgconfig(gmime-2.6)
+BuildRequires:  pkgconfig(gmime-3.0)
 BuildRequires:  pkgconfig(gobject-introspection-1.0)
 BuildRequires:  pkgconfig(libarchive) >= 3.0
 BuildRequires:  pkgconfig(libquvi-0.9) >= 0.9.1
@@ -48,8 +50,8 @@
 
 %package -n lib%{name}%{_sover}
 Summary:        A simple GObject-based library to parse playlist formats
-Group:          System/Libraries
 # Main package contains libexec files needed for full functionality.
+Group:          System/Libraries
 Requires:       %{name} >= %{version}
 
 %description -n lib%{name}%{_sover}
@@ -58,8 +60,8 @@
 
 %package -n typelib-1_0-XplayerPlParser-1_0
 Summary:        Simple GObject-based library to parse playlist formats -- 
Introspection Bindings
-Group:          System/Libraries
 # Main package contains libexec files needed for full functionality.
+Group:          System/Libraries
 Requires:       %{name} >= %{version}
 
 %description -n typelib-1_0-XplayerPlParser-1_0
@@ -71,8 +73,8 @@
 
 %package -n lib%{name}-mini%{_sover}
 Summary:        Simple GObject-based library to parse playlist formats -- Mini 
Version
-Group:          System/Libraries
 # Main package contains libexec files needed for full functionality.
+Group:          System/Libraries
 Requires:       %{name} >= %{version}
 
 %description -n lib%{name}-mini%{_sover}
@@ -92,6 +94,7 @@
 
 %prep
 %setup -q
+%patch -p1
 
 %build
 NOCONFIGURE=1 gnome-autogen.sh

++++++ xplayer-plparser-gmime-3.0.patch ++++++
Index: xplayer-plparser-1.0.2/configure.ac
===================================================================
--- xplayer-plparser-1.0.2.orig/configure.ac
+++ xplayer-plparser-1.0.2/configure.ac
@@ -81,8 +81,8 @@ AC_ARG_ENABLE(gmime-i-know-what-im-doing
 
 if test "x$enable_gmime" = "xyes" ; then
    PKG_CHECK_MODULES(GMIME,  
-                      gmime-2.6,
-                      [have_gmime=yes GMIME=gmime-2.6], 
+                      gmime-3.0,
+                      [have_gmime=yes GMIME=gmime-3.0], 
                       [have_gmime=no])
 
    if test "x$have_gmime" = "xyes" ; then
Index: xplayer-plparser-1.0.2/plparse/xplayer-pl-parser.c
===================================================================
--- xplayer-plparser-1.0.2.orig/plparse/xplayer-pl-parser.c
+++ xplayer-plparser-1.0.2/plparse/xplayer-pl-parser.c
@@ -2337,7 +2337,7 @@ xplayer_pl_parser_parse_date (const char
        }
        D(g_message ("Failed to parse duration '%s' using the ISO8601 parser", 
date_str));
        /* Fall back to RFC 2822 date parsing */
-       return g_mime_utils_header_decode_date (date_str, NULL);
+       return g_mime_utils_header_decode_date (date_str);
 #else
        WARN_NO_GMIME;
 #endif /* HAVE_GMIME */

Reply via email to