Hello community,

here is the log from the commit of package nepomuk-core for openSUSE:Factory 
checked in at 2013-02-25 20:39:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nepomuk-core (Old)
 and      /work/SRC/openSUSE:Factory/.nepomuk-core.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nepomuk-core", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/nepomuk-core/nepomuk-core.changes        
2013-02-15 18:48:21.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.nepomuk-core.new/nepomuk-core.changes   
2013-02-25 20:39:10.000000000 +0100
@@ -1,0 +2,6 @@
+Sat Feb 23 12:17:57 UTC 2013 - hrvoje.sen...@gmail.com
+
+- Added Check-DateTime-for-negative-years.patch, fixes kde#315678,
+  indexing of audio files that had incorrect year in tag set
+
+-------------------------------------------------------------------

New:
----
  Check-DateTime-for-negative-years.patch

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

Other differences:
------------------
++++++ nepomuk-core.spec ++++++
--- /var/tmp/diff_new_pack.MCcNh8/_old  2013-02-25 20:39:11.000000000 +0100
+++ /var/tmp/diff_new_pack.MCcNh8/_new  2013-02-25 20:39:11.000000000 +0100
@@ -54,6 +54,8 @@
 Patch6:         initialize-the-m_indexhidden-variable.patch
 # PATCH-FIX-UPSTREAM initialize-m_state-to-its-correct-value.patch
 Patch7:         initialize-m_state-to-its-correct-value.patch
+# PATCH-FIX-UPSTREAM Check-DateTime-for-negative-years.patch
+Patch8:         Check-DateTime-for-negative-years.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Requires:       kdelibs4 >= %version
 Requires:       soprano-backend-redland
@@ -82,6 +84,7 @@
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 
 %build
   %cmake_kde4 -d build -- -DKDE4_ENABLE_FPIE=1

++++++ Check-DateTime-for-negative-years.patch ++++++
--- a/services/fileindexer/indexer/taglibextractor.cpp
+++ b/services/fileindexer/indexer/taglibextractor.cpp
@@ -119,6 +119,8 @@
             QDateTime dt = QDateTime::currentDateTime();
             QDate date = dt.date();
             date.setDate( tags->year(), date.month(), date.day() );
+            if( date.year() < 0 )
+                date.setDate( 1, date.month(), date.day() );
             dt.setDate( date );
             fileRes.setProperty( NIE::contentCreated(), dt );
         }



-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to